/* ============================================
   FLOATING SHIPMENT NOTIFICATION BADGE
   (Top-right corner like notification bell)
   ============================================ */

.floating-shipment-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
    animation: floatNotification 0.5s ease-out;
}

@keyframes floatNotification {
    from {
        transform: translateX(100px) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.notification-badge {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid white;
    z-index: 2;
}

.notification-badge:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.6);
}

.notification-badge:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

.notification-badge .badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    animation: countBounce 2s infinite;
}

@keyframes countBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.notification-badge i {
    font-size: 32px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Pulsing animation effect */
.notification-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

/* Tooltip styling for the notification */
.floating-shipment-notification + .tooltip .tooltip-inner {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    max-width: 300px;
    border: 2px solid white;
}

.floating-shipment-notification + .tooltip .tooltip-arrow::before {
    border-left-color: #4CAF50;
    border-width: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-shipment-notification {
        top: 80px;
        right: 20px;
    }
    
    .notification-badge {
        width: 60px;
        height: 60px;
    }
    
    .notification-badge i {
        font-size: 26px;
    }
    
    .notification-badge .badge-count {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .notification-pulse {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 576px) {
    .floating-shipment-notification {
        top: 70px;
        right: 15px;
    }
    
    .notification-badge {
        width: 55px;
        height: 55px;
    }
    
    .notification-badge i {
        font-size: 24px;
    }
    
    .notification-badge .badge-count {
        width: 26px;
        height: 26px;
        font-size: 13px;
        top: -6px;
        right: -6px;
    }
    
    .notification-pulse {
        width: 65px;
        height: 65px;
    }
}

/* For very large screens */
@media (min-width: 1200px) {
    .floating-shipment-notification {
        right: 50px;
    }
}

/* Animation for new notification */
.floating-shipment-notification.new-notification {
    animation: newNotification 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes newNotification {
    0% {
        transform: translateX(100px) rotate(180deg);
        opacity: 0;
    }
    60% {
        transform: translateX(-20px) rotate(-10deg);
    }
    80% {
        transform: translateX(10px) rotate(5deg);
    }
    100% {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }
}

/* ============================================
   SHIPMENT MODAL STYLES
   ============================================ */

.shipment-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.shipment-modal .modal-header {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.shipment-modal .modal-header .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.shipment-modal .modal-header .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.shipment-modal .modal-header .btn-close:hover {
    opacity: 1;
}

.shipment-modal .modal-body {
    padding: 3rem 2rem;
    text-align: center;
    background: white;
}

.shipment-icon-large {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
    animation: iconFloat 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(76, 175, 80, 0.2);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.shipment-number-display {
    font-size: 4.5rem;
    font-weight: 800;
    color: #4CAF50;
    margin: 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: numberGlow 2s ease-in-out infinite alternate;
}

@keyframes numberGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.3));
    }
    to {
        filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.5));
    }
}

.foodtrader-logo {
    width: 140px;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.foodtrader-logo:hover {
    transform: scale(1.05);
}

.shipment-message {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1.5rem;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.shipment-message strong {
    color: #4CAF50;
    font-weight: 600;
}

.shipment-modal .badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(76, 175, 80, 0.2);
    background: rgba(76, 175, 80, 0.1) !important;
    transition: all 0.3s ease;
}

.shipment-modal .badge:hover {
    background: rgba(76, 175, 80, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.shipment-modal .badge i {
    font-size: 1.2rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.shipment-modal .modal-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 20px 20px;
}

.shipment-modal .modal-footer .btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.shipment-modal .modal-footer .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.shipment-modal .modal-footer .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* ============================================
   ANIMATED TRUCK ICON FOR SHIPMENT BADGE
   ============================================ */

/* Animated Truck Container */
.animated-truck {
    position: relative;
    width: 36px;
    height: 36px;
    animation: truckBounce 2s infinite ease-in-out;
}

/* Truck Body */
.truck-body {
    position: absolute;
    width: 28px;
    height: 14px;
    background: white;
    border-radius: 4px;
    top: 11px;
    left: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Truck Cabin */
.truck-cabin {
    position: absolute;
    width: 12px;
    height: 10px;
    background: white;
    border-radius: 3px;
    top: 7px;
    left: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Truck Window */
.truck-window {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #4CAF50;
    border-radius: 1px;
    top: 9px;
    left: 26px;
}

/* Truck Wheels - These will rotate! */
.truck-wheel {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    border: 2px solid #666;
    animation: wheelSpin 1s infinite linear;
}

.truck-wheel.front {
    top: 20px;
    left: 20px;
}

.truck-wheel.back {
    top: 20px;
    left: 8px;
}

/* Wheel hub */
.truck-wheel:before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #888;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Road Lines - Moving animation */
.road-lines {
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 4px;
    left: 0;
    overflow: hidden;
}

.road-line {
    position: absolute;
    width: 6px;
    height: 2px;
    background: white;
    animation: roadMove 0.8s infinite linear;
    opacity: 0.8;
}

.road-line:nth-child(1) {
    left: 8px;
    animation-delay: 0s;
}

.road-line:nth-child(2) {
    left: 20px;
    animation-delay: 0.2s;
}

.road-line:nth-child(3) {
    left: 32px;
    animation-delay: 0.4s;
}

.road-line:nth-child(4) {
    left: 44px;
    animation-delay: 0.6s;
}

/* Exhaust smoke animation */
.truck-exhaust {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    top: 12px;
    left: 0;
    animation: exhaust 1s infinite ease-out;
}

/* Animations */
@keyframes wheelSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes truckBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes roadMove {
    0% {
        transform: translateX(-15px);
    }
    100% {
        transform: translateX(60px);
    }
}

@keyframes exhaust {
    0% {
        transform: translateX(0) translateY(0) scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-8px) translateY(-4px) scale(1.2);
        opacity: 0;
    }
}

/* Responsive adjustments for animated truck */
@media (max-width: 768px) {
    .animated-truck {
        width: 32px;
        height: 32px;
    }
    
    .truck-body {
        width: 24px;
        height: 12px;
        top: 10px;
        left: 4px;
    }
    
    .truck-cabin {
        width: 10px;
        height: 8px;
        top: 6px;
        left: 20px;
    }
    
    .truck-wheel {
        width: 7px;
        height: 7px;
    }
    
    .truck-wheel.front {
        top: 18px;
        left: 18px;
    }
    
    .truck-wheel.back {
        top: 18px;
        left: 7px;
    }
    
    .road-line {
        width: 5px;
        height: 1.5px;
    }
}

@media (max-width: 576px) {
    .animated-truck {
        width: 28px;
        height: 28px;
    }
    
    .truck-body {
        width: 22px;
        height: 11px;
        top: 9px;
        left: 3px;
    }
    
    .truck-cabin {
        width: 9px;
        height: 7px;
        top: 5px;
        left: 18px;
    }
    
    .truck-wheel {
        width: 6px;
        height: 6px;
    }
    
    .truck-wheel.front {
        top: 16px;
        left: 16px;
    }
    
    .truck-wheel.back {
        top: 16px;
        left: 6px;
    }
    
    .road-line {
        width: 4px;
        height: 1px;
    }
}

/* ============================================
   ANIMATED TRUCK FOR MODAL
   ============================================ */

.animated-truck-modal {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    animation: truckBounce 2s infinite ease-in-out;
}

.animated-truck-modal .truck-body {
    position: absolute;
    width: 64px;
    height: 32px;
    background: #4CAF50;
    border-radius: 8px;
    top: 24px;
    left: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.animated-truck-modal .truck-cabin {
    position: absolute;
    width: 28px;
    height: 24px;
    background: #4CAF50;
    border-radius: 6px;
    top: 16px;
    left: 56px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.animated-truck-modal .truck-window {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 3px;
    top: 20px;
    left: 60px;
}

.animated-truck-modal .truck-wheel {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    border: 4px solid #666;
    animation: wheelSpin 1s infinite linear;
}

.animated-truck-modal .truck-wheel.front {
    top: 44px;
    left: 44px;
}

.animated-truck-modal .truck-wheel.back {
    top: 44px;
    left: 16px;
}

.animated-truck-modal .truck-wheel:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #888;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.animated-truck-modal .road-lines {
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: 10px;
    left: 0;
    overflow: hidden;
}

.animated-truck-modal .road-line {
    position: absolute;
    width: 16px;
    height: 4px;
    background: #4CAF50;
    animation: roadMove 0.8s infinite linear;
    opacity: 0.8;
}

.animated-truck-modal .road-line:nth-child(1) {
    left: 20px;
    animation-delay: 0s;
}

.animated-truck-modal .road-line:nth-child(2) {
    left: 50px;
    animation-delay: 0.2s;
}

.animated-truck-modal .road-line:nth-child(3) {
    left: 80px;
    animation-delay: 0.4s;
}

.animated-truck-modal .road-line:nth-child(4) {
    left: 110px;
    animation-delay: 0.6s;
}

.animated-truck-modal .truck-exhaust {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(76, 175, 80, 0.7);
    border-radius: 50%;
    top: 28px;
    left: 0;
    animation: exhaust 1s infinite ease-out;
}

/* Replace the icon in modal with animated truck */
.shipment-icon-large {
    font-size: 0; /* Hide the icon text */
}

.shipment-icon-large .animated-truck-modal {
    display: block;
}

/* Company Logo Styles */
.upm-isolation-wrapper .user-profile-container .company-logo-container {
    z-index: 20 !important;
}

.upm-isolation-wrapper .user-profile-container .company-logo {
    transition: transform 0.3s ease !important;
    width: 80px !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 4px !important;
}

.upm-isolation-wrapper .user-profile-container .company-logo:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Adjust banner upload overlay position to avoid logo overlap */
.upm-isolation-wrapper .user-profile-container .banner-upload-overlay {
    margin-top: 100px !important;
}

/* UPM Specific Styles - High specificity to override Elementor */
.upm-isolation-wrapper {
    /* Reset any Elementor inheritance */
    all: initial;
}

.upm-isolation-wrapper .user-profile-container {
    /* Restore normal styles */
    all: unset;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    line-height: 1.5 !important;
    color: #212529 !important;
}

.upm-isolation-wrapper .user-profile-container .container {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
}

.upm-isolation-wrapper .user-profile-container .container-fluid {
    width: 100% !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.upm-isolation-wrapper .user-profile-container .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -12px !important;
    margin-left: -12px !important;
}

.upm-isolation-wrapper .user-profile-container .col-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
}

.upm-isolation-wrapper .user-profile-container .col-md-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
}

.upm-isolation-wrapper .user-profile-container .col-md-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

.upm-isolation-wrapper .user-profile-container .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.upm-isolation-wrapper .user-profile-container .col-md-2 {
    flex: 0 0 16.666667% !important;
    max-width: 16.666667% !important;
}

.upm-isolation-wrapper .user-profile-container .col-md-1 {
    flex: 0 0 8.333333% !important;
    max-width: 8.333333% !important;
}

/* Bootstrap component overrides */
.upm-isolation-wrapper .user-profile-container .btn {
    display: inline-block !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    border-radius: 0.375rem !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.upm-isolation-wrapper .user-profile-container .btn-primary {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.upm-isolation-wrapper .user-profile-container .btn-outline-primary {
    color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.upm-isolation-wrapper .user-profile-container .btn-outline-primary:hover {
    color: #fff !important;
    background-color: #0d6efd !important;
}

.upm-isolation-wrapper .user-profile-container .btn-danger {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.upm-isolation-wrapper .user-profile-container .btn-light {
    color: #fff !important;
    background-color: #185915 !important;
    border-color: #f8f9fa !important;
}

.upm-isolation-wrapper .user-profile-container .btn-outline-light {
    color: #ffffff !important;
    border-color: #ffffff !important;
    background: #185915;
}

.upm-isolation-wrapper .user-profile-container .btn-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    border-radius: 0.25rem !important;
}

.upm-isolation-wrapper .user-profile-container .btn-lg {
    padding: 0.5rem 1rem !important;
    font-size: 1.25rem !important;
    border-radius: 0.5rem !important;
}

.upm-isolation-wrapper .user-profile-container .form-control {
    display: block !important;
    width: 100% !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.upm-isolation-wrapper .user-profile-container .form-control-lg {
    padding: 0.5rem 1rem !important;
    font-size: 1.25rem !important;
    border-radius: 0.5rem !important;
}

.upm-isolation-wrapper .user-profile-container .form-control-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    border-radius: 0.25rem !important;
}

.upm-isolation-wrapper .user-profile-container .form-label {
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

.upm-isolation-wrapper .user-profile-container .card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    background-color: #fff !important;
    background-clip: border-box !important;
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
    border-radius: 0.375rem !important;
}

.upm-isolation-wrapper .user-profile-container .card-body {
    flex: 1 1 auto !important;
    padding: 1rem 1rem !important;
}

.upm-isolation-wrapper .user-profile-container .card-header {
    padding: 0.5rem 1rem !important;
    margin-bottom: 0 !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
}

.upm-isolation-wrapper .user-profile-container .bg-light {
    background-color: #f8f9fa !important;
}

.upm-isolation-wrapper .user-profile-container .bg-transparent {
    background-color: transparent !important;
}

.upm-isolation-wrapper .user-profile-container .border-0 {
    border: 0 !important;
}

.upm-isolation-wrapper .user-profile-container .border-top {
    border-top: 1px solid #dee2e6 !important;
}

.upm-isolation-wrapper .user-profile-container .border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.upm-isolation-wrapper .user-profile-container .border-white {
    border-color: #fff !important;
}

.upm-isolation-wrapper .user-profile-container .border-4 {
    border-width: 4px !important;
}

.upm-isolation-wrapper .user-profile-container .rounded-circle {
    border-radius: 50% !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.upm-isolation-wrapper .user-profile-container .rounded-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}


.upm-isolation-wrapper .user-profile-container .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Ensure proper spacing */
.upm-isolation-wrapper .user-profile-container .mb-5 {
    margin-bottom: 3rem !important;
}

.upm-isolation-wrapper .user-profile-container .mt-3 {
    margin-top: 1rem !important;
}

.upm-isolation-wrapper .user-profile-container .mt-4 {
    margin-top: 1.5rem !important;
}

.upm-isolation-wrapper .user-profile-container .mt-5 {
    margin-top: 3rem !important;
}

.upm-isolation-wrapper .user-profile-container .mb-3 {
    margin-bottom: 1rem !important;
}

.upm-isolation-wrapper .user-profile-container .mb-2 {
    margin-bottom: 0.5rem !important;
}

.upm-isolation-wrapper .user-profile-container .mb-0 {
    margin-bottom: 0 !important;
}

.upm-isolation-wrapper .user-profile-container .me-2 {
    margin-right: 0.5rem !important;
}

.upm-isolation-wrapper .user-profile-container .me-1 {
    margin-right: 0.25rem !important;
}

.upm-isolation-wrapper .user-profile-container .ms-1 {
    margin-left: 0.25rem !important;
}

.upm-isolation-wrapper .user-profile-container .pt-4 {
    padding-top: 1.5rem !important;
}

.upm-isolation-wrapper .user-profile-container .px-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.upm-isolation-wrapper .user-profile-container .px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.upm-isolation-wrapper .user-profile-container .py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.upm-isolation-wrapper .user-profile-container .g-4 {
    gap: 0rem !important;
}

.upm-isolation-wrapper .user-profile-container .g-3 {
    gap: 1rem !important;
}

.upm-isolation-wrapper .user-profile-container .g-2 {
    gap: 0.5rem !important;
}

/* Text styles */
.upm-isolation-wrapper .user-profile-container .text-muted {
    color: #6c757d !important;
}

.upm-isolation-wrapper .user-profile-container .text-dark {
    color: #212529 !important;
}

.upm-isolation-wrapper .user-profile-container .text-primary {
    color: #036923 !important;
}

.upm-isolation-wrapper .user-profile-container .text-center {
    text-align: center !important;
}

.upm-isolation-wrapper .user-profile-container .text-end {
    text-align: right !important;
}

.upm-isolation-wrapper .user-profile-container .fw-semibold {
    font-weight: 600 !important;
}

.upm-isolation-wrapper .user-profile-container .fw-bold {
    font-weight: 700 !important;
}

.upm-isolation-wrapper .user-profile-container .small {
    font-size: 0.875rem !important;
}

.upm-isolation-wrapper .user-profile-container .lead {
    font-size: 1.25rem !important;
    font-weight: 300 !important;
}

.upm-isolation-wrapper .user-profile-container .h1, 
.upm-isolation-wrapper .user-profile-container .h2, 
.upm-isolation-wrapper .user-profile-container .h3, 
.upm-isolation-wrapper .user-profile-container .h4, 
.upm-isolation-wrapper .user-profile-container .h5, 
.upm-isolation-wrapper .user-profile-container .h6 {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.upm-isolation-wrapper .user-profile-container .h1 { font-size: 2.5rem !important; }
.upm-isolation-wrapper .user-profile-container .h2 { font-size: 2rem !important; }
.upm-isolation-wrapper .user-profile-container .h3 { font-size: 1.75rem !important; }
.upm-isolation-wrapper .user-profile-container .h4 { font-size: 1.5rem !important; }
.upm-isolation-wrapper .user-profile-container .h5 { font-size: 1.25rem !important; }
.upm-isolation-wrapper .user-profile-container .h6 { font-size: 1rem !important; }

/* Position utilities */
.upm-isolation-wrapper .user-profile-container .position-relative {
    position: relative !important;
}

.upm-isolation-wrapper .user-profile-container .position-absolute {
    position: absolute !important;
}

.upm-isolation-wrapper .user-profile-container .top-0 {
    top: 0 !important;
}

.upm-isolation-wrapper .user-profile-container .bottom-0 {
    bottom: 0 !important;
}

.upm-isolation-wrapper .user-profile-container .start-0 {
    left: 0 !important;
}

.upm-isolation-wrapper .user-profile-container .end-0 {
    right: 0 !important;
}

.upm-isolation-wrapper .user-profile-container .m-3 {
    margin: 1rem !important;
}

/* Display utilities */
.upm-isolation-wrapper .user-profile-container .d-none {
    display: none !important;
}

.upm-isolation-wrapper .user-profile-container .d-inline-block {
    display: inline-block !important;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 100% !important;
}

.upm-isolation-wrapper .user-profile-container .d-inline-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}


.upm-isolation-wrapper .user-profile-container .d-flex {
    display: flex !important;
}

.upm-isolation-wrapper .user-profile-container .justify-content-between {
    justify-content: space-between !important;
}

.upm-isolation-wrapper .user-profile-container .justify-content-center {
    justify-content: center !important;
}

.upm-isolation-wrapper .user-profile-container .align-items-center {
    align-items: center !important;
}

.upm-isolation-wrapper .user-profile-container .w-100 {
    width: 100% !important;
}

.upm-isolation-wrapper .user-profile-container .h-100 {
    height: 100% !important;
}

/* Table styles */
.upm-isolation-wrapper .user-profile-container .table {
    width: 100% !important;
    margin-bottom: 1rem !important;
    color: #212529 !important;
    border-collapse: collapse !important;
}

.upm-isolation-wrapper .user-profile-container .table-bordered {
    border: 1px solid #dee2e6 !important;
}

.upm-isolation-wrapper .user-profile-container .table-bordered th,
.upm-isolation-wrapper .user-profile-container .table-bordered td {
    border: 1px solid #dee2e6 !important;
}

.upm-isolation-wrapper .user-profile-container .table-hover tbody tr:hover {
    color: #212529 !important;
    background-color: rgba(0, 0, 0, 0.075) !important;
}

.upm-isolation-wrapper .user-profile-container .table-light {
    background-color: #f8f9fa !important;
}

.upm-isolation-wrapper .user-profile-container .table-responsive {
    overflow-x: auto !important;
}

/* Alert styles */
.upm-isolation-wrapper .user-profile-container .alert {
    position: relative !important;
    padding: 1rem 1rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid transparent !important;
    border-radius: 0.375rem !important;
}

.upm-isolation-wrapper .user-profile-container .alert-success {
    color: #0f5132 !important;
    background-color: #d1e7dd !important;
    border-color: #badbcc !important;
}

.upm-isolation-wrapper .user-profile-container .alert-danger {
    color: #842029 !important;
    background-color: #f8d7da !important;
    border-color: #f5c2c7 !important;
}

.upm-isolation-wrapper .user-profile-container .alert-warning {
    color: #664d03 !important;
    background-color: #fff3cd !important;
    border-color: #ffecb5 !important;
}

/* Text decoration */
.upm-isolation-wrapper .user-profile-container .text-decoration-none {
    text-decoration: none !important;
}

/* Button group */
.upm-isolation-wrapper .user-profile-container .btn-group {
    position: relative !important;
    display: inline-flex !important;
    vertical-align: middle !important;
}

.upm-isolation-wrapper .user-profile-container .btn-group .btn {
    position: relative !important;
    flex: 1 1 auto !important;
}

.upm-isolation-wrapper .user-profile-container .btn-group .btn:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.upm-isolation-wrapper .user-profile-container .btn-group .btn:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Form group */
.upm-isolation-wrapper .user-profile-container .form-group {
    margin-bottom: 1rem !important;
}

/* Close button */
.upm-isolation-wrapper .user-profile-container .btn-close {
    box-sizing: content-box !important;
    width: 1em !important;
    height: 1em !important;
    padding: 0.25em 0.25em !important;
    color: #000 !important;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
    border: 0 !important;
    border-radius: 0.375rem !important;
    opacity: 0.5 !important;
    cursor: pointer !important;
}

.upm-isolation-wrapper .user-profile-container .btn-close:hover {
    opacity: 0.75 !important;
}

/* Collapse animation */
.upm-isolation-wrapper .user-profile-container .collapse:not(.show) {
    display: none !important;
}

.upm-isolation-wrapper .user-profile-container .collapsing {
    height: 0 !important;
    overflow: hidden !important;
    transition: height 0.35s ease !important;
}

/* ============================================
   PROFESSIONAL PUBLIC PROFILE EXPERIENCE
   ============================================ */

.upm-isolation-wrapper .upm-professional-profile {
    --upm-ink: #172033;
    --upm-muted: #667085;
    --upm-line: #e5e7eb;
    --upm-panel: #ffffff;
    --upm-soft: #f6f8fb;
    --upm-brand: #227200;
    --upm-brand-dark: #185200;
    color: var(--upm-ink);
}

.upm-isolation-wrapper .upm-professional-profile .profile-header {
    margin-bottom: 2.25rem !important;
}

.upm-isolation-wrapper .upm-professional-profile .banner-container {
    min-height: 320px;
    overflow: hidden;
    background: #111827;
}

.upm-isolation-wrapper .upm-professional-profile .profile-banner {
    min-height: 320px;
    filter: saturate(1.04) contrast(1.02);
}

.upm-isolation-wrapper .upm-banner-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0.46));
}

.upm-isolation-wrapper .upm-professional-profile .company-logo-container {
    z-index: 5;
}

.upm-isolation-wrapper .upm-professional-profile .company-logo {
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
}

.upm-isolation-wrapper .upm-profile-card {
    max-width: 980px;
    margin: -86px auto 0;
    padding: 0 24px 26px;
    border: 1px solid rgba(229, 231, 235, 0.96);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
}

.upm-isolation-wrapper .upm-profile-card .profile-picture {
    width: 154px !important;
    height: 154px !important;
    margin-top: -54px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.upm-isolation-wrapper .upm-profile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    padding: 7px 10px;
    border: 1px solid #d8efce;
    border-radius: 999px;
    background: #f2fbef;
    color: var(--upm-brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.upm-isolation-wrapper .upm-professional-profile .profile-info h1 {
    color: var(--upm-ink) !important;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.upm-isolation-wrapper .upm-professional-profile .location-section p {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--upm-muted) !important;
    font-size: 1rem;
}

.upm-isolation-wrapper .upm-professional-profile .location-section .btn,
.upm-isolation-wrapper .upm-action-chip {
    min-height: 40px;
    border-radius: 8px;
    font-weight: 800;
}

.upm-isolation-wrapper .upm-action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 20px;
}

.upm-isolation-wrapper .upm-action-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--upm-line);
    background: #fff;
    color: var(--upm-ink);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.upm-isolation-wrapper .upm-action-chip:hover {
    border-color: rgba(34, 114, 0, 0.36);
    color: var(--upm-brand);
    transform: translateY(-1px);
}

.upm-isolation-wrapper .upm-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--upm-line);
    border-radius: 8px;
    background: var(--upm-line);
}

.upm-isolation-wrapper .upm-trust-strip div {
    display: grid;
    gap: 3px;
    padding: 15px 12px;
    background: var(--upm-soft);
}

.upm-isolation-wrapper .upm-trust-strip strong {
    color: var(--upm-brand-dark);
    font-size: 1.35rem;
    line-height: 1;
}

.upm-isolation-wrapper .upm-trust-strip span {
    color: var(--upm-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.upm-isolation-wrapper .upm-professional-profile .profile-content {
    padding-bottom: 2.5rem;
}

.upm-isolation-wrapper .upm-professional-profile .profile-content .card {
    border: 1px solid var(--upm-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}

.upm-isolation-wrapper .upm-professional-profile .profile-content .card-header {
    padding: 1.25rem 1.25rem 0;
}

.upm-isolation-wrapper .upm-professional-profile .profile-content .card-body {
    padding: 1.25rem;
}

.upm-isolation-wrapper .upm-professional-profile .profile-content h3 {
    color: var(--upm-brand-dark) !important;
    letter-spacing: 0;
}

.upm-isolation-wrapper .upm-professional-profile .card-text.lead {
    color: #344054;
    font-size: 1rem;
    line-height: 1.75;
}

.upm-isolation-wrapper .upm-professional-profile .table {
    margin-bottom: 0;
    border-color: var(--upm-line);
}

.upm-isolation-wrapper .upm-professional-profile .table thead th {
    background: var(--upm-soft);
    color: var(--upm-ink);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.upm-isolation-wrapper .floating-shipment-notification {
    right: 24px;
}

.upm-isolation-wrapper .notification-badge {
    background: #227200;
    box-shadow: 0 14px 34px rgba(34, 114, 0, 0.28);
}

.upm-isolation-wrapper .notification-badge:hover {
    box-shadow: 0 18px 44px rgba(34, 114, 0, 0.34);
}

@media (max-width: 768px) {
    .upm-isolation-wrapper .upm-professional-profile .banner-container,
    .upm-isolation-wrapper .upm-professional-profile .profile-banner {
        min-height: 250px;
    }

    .upm-isolation-wrapper .upm-profile-card {
        margin-top: -58px;
        padding: 0 16px 20px;
    }

    .upm-isolation-wrapper .upm-profile-card .profile-picture {
        width: 132px !important;
        height: 132px !important;
        margin-top: -46px;
    }

    .upm-isolation-wrapper .upm-trust-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .upm-isolation-wrapper .upm-action-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .upm-isolation-wrapper .upm-action-chip {
        width: 100%;
    }
}

/* ============================================
   PROFILE + DASHBOARD + PRODUCT LIST
   ============================================ */

.upm-isolation-wrapper .upm-dashboard-shell {
    padding: 18px;
    border: 1px solid var(--upm-line);
    border-radius: 8px;
    background: #f8faf9;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}

.upm-isolation-wrapper .upm-dashboard-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.upm-isolation-wrapper .upm-dashboard-eyebrow,
.upm-isolation-wrapper .upm-panel-heading span {
    display: block;
    color: var(--upm-brand);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.upm-isolation-wrapper .upm-dashboard-topline h2,
.upm-isolation-wrapper .upm-panel-heading h3 {
    margin: 2px 0 0;
    color: var(--upm-ink);
    font-weight: 900;
    letter-spacing: 0;
}

.upm-isolation-wrapper .upm-dashboard-topline h2 {
    font-size: 1.35rem;
}

.upm-isolation-wrapper .upm-dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #d8efce;
    border-radius: 999px;
    background: #f2fbef;
    color: var(--upm-brand-dark);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.upm-isolation-wrapper .upm-dashboard-status span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--upm-brand);
    box-shadow: 0 0 0 4px rgba(34, 114, 0, 0.12);
}

.upm-isolation-wrapper .upm-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.upm-isolation-wrapper .upm-metric-card {
    min-height: 126px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.upm-isolation-wrapper .upm-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #113b2f;
}

.upm-isolation-wrapper .upm-metric-card span {
    display: block;
    color: #4b5563;
    font-size: 0.84rem;
    font-weight: 800;
}

.upm-isolation-wrapper .upm-metric-card strong {
    display: block;
    margin-top: 5px;
    color: var(--upm-ink);
    font-size: 1.55rem;
    line-height: 1;
}

.upm-isolation-wrapper .upm-tone-green {
    background: #dff4d7;
}

.upm-isolation-wrapper .upm-tone-blue {
    background: #dceff2;
}

.upm-isolation-wrapper .upm-tone-rose {
    background: #f6deed;
}

.upm-isolation-wrapper .upm-tone-gold {
    background: #f6e6c8;
}

.upm-isolation-wrapper .upm-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 16px;
}

.upm-isolation-wrapper .upm-dashboard-panel {
    min-height: 300px;
    padding: 18px;
    border: 1px solid var(--upm-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.upm-isolation-wrapper .upm-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.upm-isolation-wrapper .upm-panel-heading h3 {
    font-size: 1.08rem;
}

.upm-isolation-wrapper .upm-panel-heading > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef8ea;
    color: var(--upm-brand);
}

.upm-isolation-wrapper .upm-bar-chart {
    display: grid;
    grid-template-columns: repeat(8, minmax(34px, 1fr));
    align-items: end;
    gap: 12px;
    min-height: 220px;
    padding: 12px 4px 0;
    background-image: linear-gradient(to top, rgba(102, 112, 133, 0.14) 1px, transparent 1px);
    background-size: 100% 44px;
}

.upm-isolation-wrapper .upm-bar-item {
    display: grid;
    align-items: end;
    gap: 8px;
    min-width: 0;
    height: 100%;
}

.upm-isolation-wrapper .upm-bar-track {
    display: flex;
    align-items: end;
    height: 180px;
    border-radius: 999px;
    background: #edf3f0;
    overflow: hidden;
}

.upm-isolation-wrapper .upm-bar-track span {
    display: block;
    width: 100%;
    min-height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #87c667 0%, #227200 100%);
}

.upm-isolation-wrapper .upm-bar-item small {
    min-height: 28px;
    color: var(--upm-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.upm-isolation-wrapper .upm-snapshot-list {
    display: grid;
    gap: 12px;
}

.upm-isolation-wrapper .upm-snapshot-list div {
    display: grid;
    gap: 4px;
    padding: 13px;
    border: 1px solid var(--upm-line);
    border-radius: 8px;
    background: var(--upm-soft);
}

.upm-isolation-wrapper .upm-snapshot-list span {
    color: var(--upm-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.upm-isolation-wrapper .upm-snapshot-list strong {
    color: var(--upm-ink);
    font-size: 0.98rem;
    line-height: 1.35;
    word-break: break-word;
}

.upm-isolation-wrapper .upm-products-dashboard .multisite-products-wrapper {
    margin-top: 6px;
}

.upm-isolation-wrapper .upm-products-dashboard .multisite-products-wrapper .cache-notice {
    display: none !important;
}

.upm-isolation-wrapper .upm-products-dashboard .multisite-products-wrapper .woocommerce-topbar {
    box-shadow: none !important;
}

@media (max-width: 992px) {
    .upm-isolation-wrapper .upm-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .upm-isolation-wrapper .upm-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .upm-isolation-wrapper .upm-dashboard-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .upm-isolation-wrapper .upm-dashboard-status {
        white-space: normal;
    }

    .upm-isolation-wrapper .upm-metric-grid {
        grid-template-columns: 1fr;
    }

    .upm-isolation-wrapper .upm-bar-chart {
        grid-template-columns: repeat(4, minmax(44px, 1fr));
        overflow-x: auto;
    }
}

/* ============================================
   FULL STOREFRONT DASHBOARD REDESIGN
   ============================================ */

.upm-isolation-wrapper .upm-storefront-dashboard,
.upm-isolation-wrapper .upm-storefront-dashboard * {
    box-sizing: border-box;
    font-family: var(--upm-public-font, "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif) !important;
}

.upm-isolation-wrapper .upm-storefront-dashboard {
    --ft-forest: #0f6938;
    --ft-forest-2: #0b5730;
    --ft-green: #0f6938;
    --ft-green-soft: #e8f6e2;
    --ft-mint: #dff4ec;
    --ft-blue: #dfeff3;
    --ft-rose: #f7e0ee;
    --ft-gold: #f5e3c3;
    --ft-ink: #142030;
    --ft-muted: #687386;
    --ft-line: #e5e9ef;
    --ft-bg: #eef4f1;
    display: grid !important;
    grid-template-columns: 252px minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 860px !important;
    padding: 18px !important;
    border-radius: 8px !important;
    background: var(--ft-bg) !important;
    color: var(--ft-ink) !important;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.upm-isolation-wrapper .upm-dash-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    min-height: calc(100vh - 150px) !important;
    padding: 22px 16px !important;
    border-radius: 8px 0 0 8px !important;
    background: linear-gradient(180deg, var(--ft-forest) 0%, #083f25 100%) !important;
    color: #fff !important;
}

.upm-isolation-wrapper .upm-dash-logo {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 8px 10px !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-dash-logo img {
    width: 132px !important;
    max-height: 42px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
}

.upm-isolation-wrapper .upm-dash-profile {
    display: grid !important;
    gap: 8px !important;
    padding: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.upm-isolation-wrapper .upm-dash-profile img {
    width: 72px !important;
    height: 72px !important;
    border: 3px solid rgba(255, 255, 255, 0.86) !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.upm-isolation-wrapper .upm-dash-profile span {
    width: max-content !important;
    max-width: 100% !important;
    padding: 5px 8px !important;
    border-radius: 999px !important;
    background: rgba(126, 203, 92, 0.2) !important;
    color: #d7f8c8 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-dash-profile strong {
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.18 !important;
}

.upm-isolation-wrapper .upm-dash-profile small {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.upm-isolation-wrapper .upm-dash-nav {
    display: grid !important;
    gap: 8px !important;
}

.upm-isolation-wrapper .upm-dash-nav a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-dash-nav a:hover,
.upm-isolation-wrapper .upm-dash-nav a.is-active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.upm-isolation-wrapper .upm-dash-sidebar-foot {
    display: grid !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding: 14px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.upm-isolation-wrapper .upm-dash-sidebar-foot span {
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-dash-sidebar-foot strong {
    color: #fff !important;
    font-size: 32px !important;
    line-height: 1 !important;
}

.upm-isolation-wrapper .upm-dash-sidebar-foot button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 38px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: var(--ft-forest) !important;
    font-weight: 900 !important;
}

.upm-isolation-wrapper .upm-dash-main {
    display: grid !important;
    gap: 18px !important;
    min-width: 0 !important;
    padding: 18px !important;
    border-radius: 0 8px 8px 0 !important;
    background: #f8fbf9 !important;
}

.upm-isolation-wrapper .upm-dash-hero {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 310px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: var(--ft-forest) !important;
}

.upm-isolation-wrapper .upm-dash-hero-media,
.upm-isolation-wrapper .upm-dash-hero-media a,
.upm-isolation-wrapper .upm-dash-hero-media .profile-banner {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.upm-isolation-wrapper .upm-dash-hero-media .profile-banner {
    object-fit: cover !important;
    filter: saturate(1.08) contrast(1.04) !important;
}

.upm-isolation-wrapper .upm-dash-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, rgba(5, 63, 53, 0.92) 0%, rgba(5, 63, 53, 0.62) 48%, rgba(5, 63, 53, 0.2) 100%) !important;
}

.upm-isolation-wrapper .upm-dash-hero-content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 26px !important;
    max-width: 760px !important;
    padding: 34px !important;
}

.upm-isolation-wrapper .upm-dash-title span,
.upm-isolation-wrapper .upm-dash-panel header span {
    display: block !important;
    color: var(--ft-green) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-dash-title span {
    color: #c8f4b8 !important;
}

.upm-isolation-wrapper .upm-dash-title h1 {
    margin: 8px 0 12px !important;
    color: #fff !important;
    font-size: clamp(34px, 5vw, 62px) !important;
    line-height: 0.96 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
}

.upm-isolation-wrapper .upm-dash-title p {
    max-width: 640px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.upm-isolation-wrapper .upm-dash-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.upm-isolation-wrapper .upm-dash-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-dash-actions a:hover {
    background: #fff !important;
    color: var(--ft-forest) !important;
}

.upm-isolation-wrapper .banner-video-controls {
    position: absolute !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 5 !important;
    display: flex !important;
    gap: 8px !important;
}

.upm-isolation-wrapper .banner-video-controls button {
    width: 38px !important;
    height: 38px !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.28) !important;
    color: #fff !important;
}

.upm-isolation-wrapper .upm-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.upm-isolation-wrapper .upm-kpi-card {
    display: grid !important;
    gap: 10px !important;
    min-height: 132px !important;
    padding: 18px !important;
    border: 1px solid rgba(20, 32, 48, 0.06) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(20, 32, 48, 0.06) !important;
}

.upm-isolation-wrapper .upm-kpi-card i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    color: var(--ft-forest) !important;
}

.upm-isolation-wrapper .upm-kpi-card span {
    color: #526071 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
}

.upm-isolation-wrapper .upm-kpi-card strong {
    color: var(--ft-ink) !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-dashboard-layout,
.upm-isolation-wrapper .upm-detail-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr) !important;
    gap: 18px !important;
}

.upm-isolation-wrapper .upm-dash-panel {
    min-width: 0 !important;
    padding: 20px !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(20, 32, 48, 0.06) !important;
}

.upm-isolation-wrapper .upm-dash-panel header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 18px !important;
}

.upm-isolation-wrapper .upm-dash-panel header h2 {
    margin: 3px 0 0 !important;
    color: var(--ft-ink) !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-dash-panel header > i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 8px !important;
    background: var(--ft-green-soft) !important;
    color: var(--ft-green) !important;
}

.upm-isolation-wrapper .upm-chart-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.upm-isolation-wrapper .upm-chart-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    padding: 5px !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #f8fbf9 !important;
}

.upm-isolation-wrapper .upm-chart-tabs button {
    min-height: 34px !important;
    padding: 7px 10px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: var(--ft-muted) !important;
    font-family: "Montserrat", system-ui, sans-serif !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.upm-isolation-wrapper .upm-chart-tabs button.is-active {
    background: #fff !important;
    color: var(--ft-forest) !important;
    box-shadow: 0 4px 12px rgba(20, 32, 48, 0.08) !important;
}

.upm-isolation-wrapper .upm-modern-bars {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(44px, 1fr)) !important;
    align-items: end !important;
    gap: 14px !important;
    min-height: 290px !important;
    padding-top: 20px !important;
    background-image: linear-gradient(to top, rgba(104, 115, 134, 0.13) 1px, transparent 1px) !important;
    background-size: 100% 58px !important;
}

.upm-isolation-wrapper .upm-modern-bars[hidden] {
    display: none !important;
}

.upm-isolation-wrapper .upm-modern-bar {
    display: grid !important;
    grid-template-rows: 24px 1fr 34px !important;
    align-items: end !important;
    gap: 8px !important;
    min-width: 0 !important;
    height: 100% !important;
}

.upm-isolation-wrapper .upm-modern-bar strong {
    color: var(--ft-ink) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-align: center !important;
}

.upm-isolation-wrapper .upm-modern-bar span {
    display: block !important;
    width: 100% !important;
    min-height: 14px !important;
    border-radius: 999px 999px 6px 6px !important;
    background: linear-gradient(180deg, #9bd777 0%, var(--ft-green) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

.upm-isolation-wrapper .upm-modern-bar small {
    color: var(--ft-muted) !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
}

.upm-isolation-wrapper .upm-pie-chart {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 22px !important;
    min-height: 290px !important;
}

.upm-isolation-wrapper .upm-pie-chart[hidden] {
    display: none !important;
}

.upm-isolation-wrapper .upm-pie-visual {
    width: 220px !important;
    height: 220px !important;
    border-radius: 50% !important;
    box-shadow: inset 0 0 0 28px #fff, 0 12px 28px rgba(20, 32, 48, 0.08) !important;
}

.upm-isolation-wrapper .upm-pie-legend {
    display: grid !important;
    gap: 9px !important;
}

.upm-isolation-wrapper .upm-pie-legend span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 34px !important;
    padding: 8px 10px !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #f8fbf9 !important;
    color: var(--ft-ink) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-pie-legend i {
    width: 10px !important;
    height: 10px !important;
    flex: 0 0 10px !important;
    border-radius: 50% !important;
}

.upm-isolation-wrapper .upm-pie-legend strong {
    margin-left: auto !important;
    color: var(--ft-forest) !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-snapshot-matrix,
.upm-isolation-wrapper .upm-info-list {
    display: grid !important;
    gap: 10px !important;
}

.upm-isolation-wrapper .upm-snapshot-matrix div,
.upm-isolation-wrapper .upm-info-list div {
    display: grid !important;
    gap: 4px !important;
    padding: 13px !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #f8fbf9 !important;
}

.upm-isolation-wrapper .upm-snapshot-matrix span,
.upm-isolation-wrapper .upm-info-list span {
    color: var(--ft-muted) !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-snapshot-matrix strong,
.upm-isolation-wrapper .upm-info-list strong,
.upm-isolation-wrapper .upm-info-list a {
    color: var(--ft-ink) !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
}

.upm-isolation-wrapper .upm-products-zone {
    overflow: hidden !important;
}

.upm-isolation-wrapper .upm-products-zone .multisite-products-wrapper {
    margin-top: 8px !important;
}

.upm-isolation-wrapper .upm-products-zone .multisite-products-wrapper .cache-notice {
    display: none !important;
}

.upm-isolation-wrapper .upm-products-zone .multisite-products-wrapper .woocommerce-topbar {
    box-shadow: none !important;
    background: #f8fbf9 !important;
}

.upm-isolation-wrapper .upm-empty-products {
    display: grid !important;
    justify-items: center !important;
    gap: 8px !important;
    padding: 42px 18px !important;
    border: 1px dashed var(--ft-line) !important;
    border-radius: 8px !important;
    background: #f8fbf9 !important;
    color: var(--ft-muted) !important;
    text-align: center !important;
}

.upm-isolation-wrapper .upm-empty-products i {
    color: var(--ft-green) !important;
    font-size: 34px !important;
}

.upm-isolation-wrapper .upm-empty-products strong {
    color: var(--ft-ink) !important;
    font-size: 18px !important;
}

.upm-isolation-wrapper .upm-product-debug {
    width: min(900px, 100%) !important;
    margin-top: 14px !important;
    text-align: left !important;
}

.upm-isolation-wrapper .upm-product-debug summary {
    cursor: pointer !important;
    color: var(--ft-forest) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

.upm-isolation-wrapper .upm-product-debug pre {
    max-height: 360px !important;
    overflow: auto !important;
    margin: 10px 0 0 !important;
    padding: 12px !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #101828 !important;
    color: #e5f6ea !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    white-space: pre-wrap !important;
}

.upm-isolation-wrapper .upm-merged-products {
    display: grid !important;
    gap: 16px !important;
    font-family: "Montserrat", system-ui, sans-serif !important;
}

.upm-isolation-wrapper .upm-merged-products-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 12px !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #f8fbf9 !important;
}

.upm-isolation-wrapper .upm-merged-products-toolbar span {
    display: block !important;
    color: var(--ft-green) !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-merged-products-toolbar strong {
    display: block !important;
    color: var(--ft-ink) !important;
    font-size: 17px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-merged-products-toolbar label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: min(320px, 100%) !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--ft-muted) !important;
}

.upm-isolation-wrapper .upm-merged-product-search {
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--ft-ink) !important;
    font-family: "Montserrat", system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.upm-isolation-wrapper .upm-merged-products-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--upm-product-columns), minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.upm-isolation-wrapper .upm-store-product-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 390px !important;
    overflow: hidden !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(20, 32, 48, 0.06) !important;
}

.upm-isolation-wrapper .upm-store-product-card.upm-product-is-hidden {
    display: none !important;
}

.upm-isolation-wrapper .upm-store-product-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 0.78 !important;
    min-height: 190px !important;
    overflow: hidden !important;
    background: #edf3f0 !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-store-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.22s ease !important;
}

.upm-isolation-wrapper .upm-store-product-card:hover .upm-store-product-image img {
    transform: scale(1.04) !important;
}

.upm-isolation-wrapper .upm-product-placeholder {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    color: var(--ft-green) !important;
    font-size: 32px !important;
}

.upm-isolation-wrapper .upm-product-badge {
    position: absolute !important;
    z-index: 2 !important;
    padding: 6px 9px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-product-badge.sale {
    top: 10px !important;
    left: 10px !important;
    background: #c2410c !important;
    color: #fff !important;
}

.upm-isolation-wrapper .upm-store-product-body {
    display: flex !important;
    flex: 1 !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 15px !important;
}

.upm-isolation-wrapper .upm-store-product-body h3 {
    margin: 0 !important;
    color: var(--ft-ink) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.28 !important;
}

.upm-isolation-wrapper .upm-store-product-body h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-store-product-body p {
    margin: 0 !important;
    color: var(--ft-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

.upm-isolation-wrapper .upm-store-product-footer {
    display: grid !important;
    gap: 10px !important;
    margin-top: auto !important;
}

.upm-isolation-wrapper .upm-store-product-price {
    color: var(--ft-green) !important;
    font-size: 18px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-store-product-price del {
    margin-right: 6px !important;
    color: #98a2b3 !important;
    font-size: 12px !important;
}

.upm-isolation-wrapper .upm-store-product-price ins {
    color: var(--ft-green) !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-store-product-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    border-radius: 8px !important;
    background: var(--ft-green) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-store-product-action:hover {
    background: var(--ft-forest) !important;
    color: #fff !important;
}

.upm-isolation-wrapper .upm-load-more-products {
    display: flex !important;
    justify-content: center !important;
    margin-top: 4px !important;
}

.upm-isolation-wrapper .upm-load-more-products[hidden] {
    display: none !important;
}

.upm-isolation-wrapper .upm-load-more-products button {
    min-height: 44px !important;
    padding: 11px 22px !important;
    border: 1px solid var(--ft-forest) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--ft-forest) !important;
    font-family: "Montserrat", system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    cursor: pointer !important;
}

.upm-isolation-wrapper .upm-load-more-products button:hover {
    background: var(--ft-forest) !important;
    color: #fff !important;
}

.upm-isolation-wrapper .upm-summary-copy {
    margin: 0 !important;
    color: #344054 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

.upm-isolation-wrapper .upm-map-panel > div[id^="locationMap-"] {
    height: 360px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.upm-isolation-wrapper .upm-admin-report table {
    margin: 0 !important;
}

.upm-isolation-wrapper .upm-admin-report th {
    min-width: 180px !important;
    color: var(--ft-ink) !important;
}

.upm-isolation-wrapper .upm-storefront-footer {
    display: grid !important;
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr) !important;
    align-items: center !important;
    gap: 22px !important;
    padding: 24px !important;
    border: 1px solid rgba(15, 105, 56, 0.18) !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f4faf6 100%) !important;
    box-shadow: 0 12px 28px rgba(20, 32, 48, 0.06) !important;
    font-family: "Montserrat", system-ui, sans-serif !important;
}

.upm-isolation-wrapper .upm-footer-brand {
    display: grid !important;
    gap: 10px !important;
    justify-items: start !important;
}

.upm-isolation-wrapper .upm-footer-brand img {
    width: auto !important;
    max-width: 210px !important;
    max-height: 74px !important;
    object-fit: contain !important;
}

.upm-isolation-wrapper .upm-footer-brand strong {
    color: var(--ft-forest) !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
}

.upm-isolation-wrapper .upm-footer-brand p {
    max-width: 420px !important;
    margin: 0 !important;
    color: var(--ft-muted) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.65 !important;
}

.upm-isolation-wrapper .upm-footer-contact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.upm-isolation-wrapper .upm-footer-contact a,
.upm-isolation-wrapper .upm-footer-contact span {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid var(--ft-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--ft-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
}

.upm-isolation-wrapper .upm-footer-contact i {
    color: var(--ft-forest) !important;
    flex: 0 0 auto !important;
    margin-top: 2px !important;
}

.upm-isolation-wrapper .upm-footer-contact a:hover {
    border-color: rgba(15, 105, 56, 0.34) !important;
    color: var(--ft-forest) !important;
}

@media (max-width: 1100px) {
    .upm-isolation-wrapper .upm-storefront-dashboard {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-dash-sidebar {
        min-height: 0 !important;
        border-radius: 8px 8px 0 0 !important;
    }

    .upm-isolation-wrapper .upm-dash-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .upm-isolation-wrapper .upm-dash-main {
        border-radius: 0 0 8px 8px !important;
    }
}

@media (max-width: 900px) {
    .upm-isolation-wrapper .upm-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .upm-isolation-wrapper .upm-dashboard-layout,
    .upm-isolation-wrapper .upm-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-merged-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .upm-isolation-wrapper .upm-chart-controls,
    .upm-isolation-wrapper .upm-pie-chart {
        align-items: stretch !important;
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }

    .upm-isolation-wrapper .upm-pie-visual {
        justify-self: center !important;
    }

    .upm-isolation-wrapper .upm-storefront-footer {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .upm-isolation-wrapper .upm-storefront-dashboard {
        padding: 10px !important;
    }

    .upm-isolation-wrapper .upm-dash-nav {
        grid-template-columns: 1fr 1fr !important;
    }

    .upm-isolation-wrapper .upm-dash-main,
    .upm-isolation-wrapper .upm-dash-hero-content {
        padding: 14px !important;
    }

    .upm-isolation-wrapper .upm-dash-hero {
        min-height: 380px !important;
    }

    .upm-isolation-wrapper .upm-kpi-grid {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-modern-bars {
        grid-template-columns: repeat(4, minmax(54px, 1fr)) !important;
        overflow-x: auto !important;
    }

    .upm-isolation-wrapper .upm-merged-products-toolbar {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .upm-isolation-wrapper .upm-merged-products-grid {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-footer-contact {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   ECOMMERCE STOREFRONT TEMPLATE
   ============================================ */

.upm-isolation-wrapper .upm-ecommerce-template,
.upm-isolation-wrapper .upm-ecommerce-template * {
    box-sizing: border-box;
    font-family: var(--upm-public-font, "Montserrat", system-ui, sans-serif) !important;
}

.upm-isolation-wrapper .upm-ecommerce-template {
    --shop-green: #0f6938;
    --shop-light: #eef8e9;
    --shop-soft: #f7fbf4;
    --shop-ink: #141f18;
    --shop-muted: #66736a;
    --shop-line: #dfeadd;
    display: grid !important;
    gap: 26px !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 18px !important;
    background: #ffffff !important;
    color: var(--shop-ink) !important;
}

.upm-isolation-wrapper .upm-shop-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 34px !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    background: var(--shop-light) !important;
    color: var(--shop-green) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-shop-topbar div {
    display: flex !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.upm-isolation-wrapper .upm-shop-topbar a {
    color: var(--shop-green) !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-shop-header {
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) auto auto !important;
    align-items: center !important;
    gap: 24px !important;
    min-height: 78px !important;
    padding: 0 2px !important;
}

.upm-isolation-wrapper .upm-shop-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: var(--shop-ink) !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-shop-brand img {
    width: auto !important;
    max-width: 130px !important;
    max-height: 52px !important;
    object-fit: contain !important;
}

.upm-isolation-wrapper .upm-shop-brand strong {
    font-size: 18px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
}

.upm-isolation-wrapper .upm-shop-header nav {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
}

.upm-isolation-wrapper .upm-shop-header nav a {
    color: var(--shop-muted) !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-shop-header nav a:hover {
    color: var(--shop-green) !important;
}

.upm-isolation-wrapper .upm-shop-icons {
    display: flex !important;
    gap: 8px !important;
}

.upm-isolation-wrapper .upm-shop-icons a {
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid var(--shop-line) !important;
    border-radius: 50% !important;
    color: var(--shop-green) !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-shop-hero {
    display: grid !important;
    grid-template-columns: minmax(320px, 0.86fr) minmax(340px, 1.14fr) !important;
    align-items: stretch !important;
    min-height: 390px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #eef9e9 0%, #e3f6dd 100%) !important;
}

.upm-isolation-wrapper .upm-shop-hero-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding: clamp(28px, 5vw, 58px) !important;
}

.upm-isolation-wrapper .upm-shop-hero-copy span,
.upm-isolation-wrapper .upm-shop-section-heading span {
    color: var(--shop-green) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-shop-hero-copy h1 {
    max-width: 470px !important;
    margin: 0 !important;
    color: var(--shop-ink) !important;
    font-size: 58px !important;
    line-height: 0.98 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
}

.upm-isolation-wrapper .upm-shop-hero-copy p {
    max-width: 460px !important;
    margin: 0 !important;
    color: var(--shop-muted) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
}

.upm-isolation-wrapper .upm-shop-hero-copy > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 140px !important;
    min-height: 46px !important;
    padding: 12px 22px !important;
    border-radius: 6px !important;
    background: var(--shop-green) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-shop-hero-media {
    position: relative !important;
    min-height: 320px !important;
}

.upm-isolation-wrapper .upm-shop-hero-media img,
.upm-isolation-wrapper .upm-shop-hero-media video {
    width: 100% !important;
    height: 100% !important;
    min-height: 390px !important;
    object-fit: cover !important;
}

.upm-isolation-wrapper .upm-shop-highlights {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.upm-isolation-wrapper .upm-shop-highlights div {
    display: grid !important;
    gap: 4px !important;
    padding: 16px !important;
    border: 1px solid var(--shop-line) !important;
    border-radius: 8px !important;
    background: var(--shop-soft) !important;
}

.upm-isolation-wrapper .upm-shop-highlights i {
    color: var(--shop-green) !important;
    font-size: 20px !important;
}

.upm-isolation-wrapper .upm-shop-highlights strong {
    color: var(--shop-green) !important;
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-shop-highlights span {
    color: var(--shop-muted) !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

.upm-isolation-wrapper .upm-shop-products-section {
    display: grid !important;
    gap: 18px !important;
}

.upm-isolation-wrapper .upm-shop-section-heading {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding-top: 12px !important;
}

.upm-isolation-wrapper .upm-shop-section-heading h2 {
    margin: 4px 0 0 !important;
    color: var(--shop-ink) !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-shop-section-heading > a {
    color: var(--shop-muted) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-merged-products-toolbar {
    justify-content: flex-end !important;
    border: 0 !important;
    border-bottom: 1px solid var(--shop-line) !important;
    border-radius: 0 !important;
    background: #fff !important;
    padding: 0 0 14px !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-merged-products-toolbar > div:first-child {
    display: none !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-merged-products-grid {
    gap: 28px 22px !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-store-product-card {
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-store-product-image {
    border-radius: 8px !important;
    background: var(--shop-soft) !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-store-product-body {
    padding: 12px 0 0 !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-store-product-body h3 {
    font-size: 14px !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-store-product-action {
    width: max-content !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--shop-green) !important;
    text-decoration: underline !important;
}

.upm-isolation-wrapper .upm-shop-footer {
    display: grid !important;
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr) !important;
    gap: 22px !important;
    padding: 26px !important;
    border-radius: 8px !important;
    background: var(--shop-green) !important;
    color: #fff !important;
}

.upm-isolation-wrapper .upm-shop-footer img {
    max-width: 190px !important;
    max-height: 70px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
}

.upm-isolation-wrapper .upm-shop-footer p {
    max-width: 520px !important;
    margin: 12px 0 0 !important;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

.upm-isolation-wrapper .upm-shop-footer > div:last-child {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.upm-isolation-wrapper .upm-shop-footer a,
.upm-isolation-wrapper .upm-shop-footer span {
    display: flex !important;
    gap: 8px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
}

@media (max-width: 900px) {
    .upm-isolation-wrapper .upm-shop-header,
    .upm-isolation-wrapper .upm-shop-hero,
    .upm-isolation-wrapper .upm-shop-footer {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-shop-header nav {
        flex-wrap: wrap !important;
    }

    .upm-isolation-wrapper .upm-shop-hero-copy h1 {
        font-size: 42px !important;
    }
}

@media (max-width: 640px) {
    .upm-isolation-wrapper .upm-ecommerce-template {
        padding: 10px !important;
    }

    .upm-isolation-wrapper .upm-shop-topbar,
    .upm-isolation-wrapper .upm-shop-section-heading {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .upm-isolation-wrapper .upm-shop-highlights,
    .upm-isolation-wrapper .upm-shop-footer > div:last-child {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-shop-hero-copy h1 {
        font-size: 34px !important;
    }
}

/* ============================================
   ADMIN EDITOR UX
   ============================================ */

.upm-isolation-wrapper .upm-admin-editor-form {
    font-family: "Montserrat", system-ui, sans-serif !important;
}

.upm-isolation-wrapper .upm-admin-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 16px !important;
}

.upm-isolation-wrapper .upm-admin-nav {
    position: sticky !important;
    top: 10px !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 10px !important;
    border: 1px solid #dfe9e3 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09) !important;
    backdrop-filter: blur(10px) !important;
}

.upm-isolation-wrapper .upm-admin-nav strong {
    margin: 0 8px 0 0 !important;
    color: #10251a !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
}

.upm-isolation-wrapper .upm-admin-nav a {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 36px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    color: #516056 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-admin-nav a:hover,
.upm-isolation-wrapper .upm-admin-nav a:focus {
    background: #eef8e9 !important;
    color: #0f6938 !important;
}

.upm-isolation-wrapper .upm-admin-main {
    min-width: 0 !important;
}

.upm-isolation-wrapper .upm-admin-card,
.upm-isolation-wrapper .upm-admin-editor-form .form-group {
    scroll-margin-top: 24px !important;
}

.upm-isolation-wrapper .upm-admin-card {
    border: 1px solid #dfe9e3 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.upm-isolation-wrapper .upm-admin-main > .row > .col-12 > .form-group {
    padding: 18px !important;
    border: 1px solid #dfe9e3 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
}

.upm-isolation-wrapper .upm-admin-card .card-header {
    padding: 18px 18px 10px !important;
    border-bottom: 1px solid #edf3ef !important;
}

.upm-isolation-wrapper .upm-admin-card .card-header h4 {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    color: #10251a !important;
    font-size: 18px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-admin-card .card-header p {
    max-width: 780px !important;
    color: #6b756e !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.upm-isolation-wrapper .upm-admin-card .card-body {
    padding: 18px !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .form-label {
    color: #1b2a21 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .form-control {
    min-height: 44px !important;
    border: 1px solid #cfdbd4 !important;
    border-radius: 8px !important;
    color: #18261f !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.upm-isolation-wrapper .upm-admin-editor-form textarea.form-control {
    min-height: 96px !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .form-control:focus {
    border-color: #0f6938 !important;
    box-shadow: 0 0 0 3px rgba(15, 105, 56, 0.12) !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .upm-color-input {
    width: 100% !important;
    padding: 6px !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .custom-field-item,
.upm-isolation-wrapper .upm-admin-editor-form .additional-info-row {
    padding: 12px !important;
    border: 1px solid #e3ece6 !important;
    border-radius: 8px !important;
    background: #f9fbfa !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .form-actions {
    position: sticky !important;
    bottom: 12px !important;
    z-index: 30 !important;
    display: flex !important;
    justify-content: flex-end !important;
    padding: 12px !important;
    border: 1px solid #dfe9e3 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
    backdrop-filter: blur(10px) !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .btn-primary {
    border-color: #0f6938 !important;
    background: #0f6938 !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .btn-outline-primary {
    border-color: #0f6938 !important;
    color: #0f6938 !important;
}

.upm-isolation-wrapper .upm-admin-editor-form .btn-outline-primary:hover {
    background: #0f6938 !important;
    color: #ffffff !important;
}

@media (max-width: 900px) {
    .upm-isolation-wrapper .upm-admin-shell {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-admin-nav {
        position: relative !important;
        top: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .upm-isolation-wrapper .upm-admin-nav strong {
        grid-column: 1 / -1 !important;
    }

    .upm-isolation-wrapper .upm-admin-editor-form .form-actions {
        position: relative !important;
        bottom: auto !important;
    }
}

/* ============================================
   EXTRA STOREFRONT TEMPLATE VARIANTS
   ============================================ */

.upm-isolation-wrapper .upm-shop-template-market {
    max-width: 1240px !important;
    background: #fbfcfb !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-hero {
    grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr) !important;
    background: #fff7df !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-hero-copy > a {
    background: var(--upm-primary, var(--shop-green)) !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-store-product-card {
    border: 1px solid #e8eee9 !important;
    border-radius: 8px !important;
    padding: 10px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-store-product-image {
    aspect-ratio: 1 / 0.74 !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-store-product-action {
    padding: 8px 11px !important;
    border-radius: 6px !important;
    background: var(--upm-primary, var(--shop-green)) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog {
    max-width: 1160px !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-topbar,
.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-highlights {
    display: none !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-hero {
    min-height: 300px !important;
    grid-template-columns: 1fr !important;
    background: #f5f7f6 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-hero-media {
    position: absolute !important;
    inset: 0 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-hero-media::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(255, 255, 255, 0.78) !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-hero-copy {
    position: relative !important;
    z-index: 2 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-store-product-card {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 12px !important;
    border: 1px solid #e4ebe6 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-store-product-image {
    min-height: 110px !important;
    aspect-ratio: 1 / 1 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-store-product-body {
    padding: 0 !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal {
    max-width: 1080px !important;
    gap: 34px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-topbar,
.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-icons,
.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-highlights {
    display: none !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-header {
    grid-template-columns: minmax(180px, 1fr) auto !important;
    border-bottom: 1px solid #ecf0ed !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero {
    min-height: 420px !important;
    background: #f7f6f2 !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero-copy h1 {
    font-size: 48px !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-store-product-card {
    border-bottom: 1px solid #e8ece9 !important;
    padding-bottom: 18px !important;
}

@media (max-width: 760px) {
    .upm-isolation-wrapper .upm-shop-template-catalog .upm-store-product-card {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero-copy h1 {
        font-size: 36px !important;
    }
}

/* Stronger visual separation between prebuilt storefront templates. */
.upm-isolation-wrapper .upm-shop-category-strip {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.upm-isolation-wrapper .upm-shop-category-strip span {
    display: grid !important;
    place-items: center !important;
    gap: 8px !important;
    min-height: 88px !important;
    border: 1px solid #e9eadc !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #253226 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.upm-isolation-wrapper .upm-shop-category-strip i {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: var(--upm-soft, #eef8e9) !important;
    color: var(--upm-primary, #0f6938) !important;
    font-size: 17px !important;
}

.upm-isolation-wrapper .upm-shop-catalog-summary {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 18px !important;
    border: 1px solid #dfe5e1 !important;
    border-radius: 8px !important;
    background: #f7f9f8 !important;
}

.upm-isolation-wrapper .upm-shop-catalog-summary strong {
    color: var(--upm-primary, #0f6938) !important;
    font-size: 36px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.upm-isolation-wrapper .upm-shop-catalog-summary span,
.upm-isolation-wrapper .upm-shop-catalog-summary a {
    color: #516056 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
}

.upm-isolation-wrapper .upm-shop-catalog-summary a {
    color: var(--upm-primary, #0f6938) !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-shop-template-market {
    max-width: 1280px !important;
    padding: 14px !important;
    background: #fffaf0 !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-topbar {
    border-radius: 0 !important;
    background: var(--upm-primary, #0f6938) !important;
    color: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-topbar a {
    color: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-header {
    min-height: 88px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(59, 44, 18, 0.08) !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-hero {
    min-height: 470px !important;
    grid-template-columns: minmax(340px, 0.78fr) minmax(420px, 1.22fr) !important;
    border: 1px solid #f3e7c7 !important;
    background: linear-gradient(135deg, #fff1c7 0%, var(--upm-soft, #eef8e9) 100%) !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-hero-copy h1 {
    max-width: 540px !important;
    font-size: 64px !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-hero-media img,
.upm-isolation-wrapper .upm-shop-template-market .upm-shop-hero-media video {
    object-fit: contain !important;
    padding: 28px !important;
    filter: drop-shadow(0 28px 30px rgba(42, 35, 16, 0.18)) !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-shop-highlights div {
    background: #ffffff !important;
    border-color: #f1e6c6 !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-merged-products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-store-product-card {
    min-height: 315px !important;
    border: 1px solid #efe8d4 !important;
    border-radius: 8px !important;
    padding: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(67, 52, 24, 0.06) !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-store-product-image {
    min-height: 138px !important;
    aspect-ratio: 1 / 0.82 !important;
    background: #fff7e7 !important;
}

.upm-isolation-wrapper .upm-shop-template-market .upm-store-product-image img {
    object-fit: contain !important;
    padding: 14px !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog {
    max-width: 1180px !important;
    gap: 18px !important;
    padding: 0 18px 18px !important;
    background: #f4f6f5 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-header {
    min-height: 72px !important;
    border-bottom: 1px solid #dfe5e1 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-hero {
    min-height: 240px !important;
    border-radius: 0 !important;
    border-left: 5px solid var(--upm-primary, #0f6938) !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-hero-copy {
    padding: 32px !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-hero-copy h1 {
    max-width: 680px !important;
    font-size: 42px !important;
    line-height: 1.08 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-hero-media {
    inset: auto 0 0 auto !important;
    width: 34% !important;
    height: 100% !important;
    opacity: 0.18 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-products-section {
    grid-template-columns: 270px minmax(0, 1fr) !important;
    align-items: start !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-section-heading {
    position: sticky !important;
    top: 18px !important;
    display: grid !important;
    align-items: start !important;
    min-height: 260px !important;
    padding: 22px !important;
    border: 1px solid #dfe5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-merged-products {
    min-width: 0 !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-merged-products-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-store-product-card {
    min-height: 0 !important;
    grid-template-columns: 132px minmax(0, 1fr) auto !important;
    padding: 12px 14px !important;
    box-shadow: none !important;
}

.upm-isolation-wrapper .upm-shop-template-catalog .upm-store-product-footer {
    min-width: 150px !important;
    align-self: stretch !important;
    justify-content: center !important;
    padding-left: 12px !important;
    border-left: 1px solid #e7ece8 !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal {
    max-width: 1120px !important;
    padding: 0 24px 24px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-header {
    min-height: 96px !important;
    border-bottom: 1px solid #e8ece9 !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-header nav {
    gap: 34px !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero {
    min-height: 620px !important;
    grid-template-columns: minmax(0, 0.68fr) minmax(360px, 1.32fr) !important;
    border-radius: 0 !important;
    background: #f6f4ef !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero-copy {
    padding: 52px 38px !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero-copy h1 {
    max-width: 420px !important;
    font-size: 54px !important;
    line-height: 1.02 !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero-media {
    min-height: 620px !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero-media img,
.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero-media video {
    min-height: 620px !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-products-section {
    gap: 28px !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-section-heading {
    justify-content: center !important;
    text-align: center !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-section-heading > a {
    display: none !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-merged-products-toolbar {
    justify-content: center !important;
    border: 0 !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-merged-products-grid {
    gap: 38px 28px !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-store-product-card {
    text-align: center !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-store-product-image {
    border-radius: 0 !important;
    background: #f7f5f0 !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-store-product-image img {
    object-fit: contain !important;
    padding: 18px !important;
}

.upm-isolation-wrapper .upm-shop-template-minimal .upm-store-product-action {
    margin: 0 auto !important;
}

@media (max-width: 980px) {
    .upm-isolation-wrapper .upm-shop-category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .upm-isolation-wrapper .upm-shop-template-market .upm-merged-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-products-section {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-shop-template-catalog .upm-shop-section-heading {
        position: relative !important;
        top: auto !important;
        min-height: 0 !important;
    }

    .upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero,
    .upm-isolation-wrapper .upm-shop-template-market .upm-shop-hero {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .upm-isolation-wrapper .upm-shop-category-strip,
    .upm-isolation-wrapper .upm-shop-template-market .upm-merged-products-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .upm-isolation-wrapper .upm-shop-template-catalog .upm-store-product-card {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-shop-template-catalog .upm-store-product-footer {
        border-left: 0 !important;
        border-top: 1px solid #e7ece8 !important;
        padding: 12px 0 0 !important;
    }

    .upm-isolation-wrapper .upm-shop-template-market .upm-shop-hero-copy h1,
    .upm-isolation-wrapper .upm-shop-template-minimal .upm-shop-hero-copy h1 {
        font-size: 36px !important;
    }
}

/* ============================================
   VISUAL STOREFRONT BUILDER
   ============================================ */

.upm-isolation-wrapper .upm-builder-workspace {
    display: grid !important;
    gap: 18px !important;
    padding: 18px !important;
    border: 1px solid #dce7e2 !important;
    border-radius: 8px !important;
    background: #f7faf8 !important;
}

.upm-isolation-wrapper .upm-template-starter {
    display: grid !important;
    gap: 14px !important;
    margin-top: 18px !important;
    padding: 16px !important;
    border: 1px solid #dce7e2 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-template-starter span {
    display: block !important;
    color: #10251a !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-template-starter strong {
    display: block !important;
    margin-top: 3px !important;
    color: #65736a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-template-buttons {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.upm-isolation-wrapper .upm-template-buttons button {
    display: grid !important;
    gap: 8px !important;
    justify-items: center !important;
    min-height: 86px !important;
    padding: 12px 8px !important;
    border: 1px solid #dce7e2 !important;
    border-radius: 8px !important;
    background: #f9fbfa !important;
    color: #1d3327 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.upm-isolation-wrapper .upm-template-buttons button:hover,
.upm-isolation-wrapper .upm-template-buttons button:focus {
    border-color: #9fc8b2 !important;
    background: #eef8e9 !important;
    color: #0f6938 !important;
}

.upm-isolation-wrapper .upm-template-buttons i {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0f6938 !important;
    font-size: 18px !important;
}

.upm-isolation-wrapper .upm-builder-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

.upm-isolation-wrapper .upm-builder-toolbar span,
.upm-isolation-wrapper .upm-builder-panel h5 {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    color: #10251a !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-builder-toolbar strong {
    display: block !important;
    margin-top: 3px !important;
    color: #65736a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-preview-switcher {
    display: inline-flex !important;
    padding: 4px !important;
    border: 1px solid #d6e2dc !important;
    border-radius: 8px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-preview-switcher button,
.upm-isolation-wrapper .upm-drag-handle {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #5b6a61 !important;
}

.upm-isolation-wrapper .upm-preview-switcher button.is-active {
    background: #123126 !important;
    color: #ffffff !important;
}

.upm-isolation-wrapper .upm-builder-grid,
.upm-isolation-wrapper .upm-builder-copy-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.upm-isolation-wrapper .upm-elementor-shell {
    display: grid !important;
    grid-template-columns: 188px minmax(360px, 1fr) minmax(320px, 0.78fr) !important;
    gap: 14px !important;
    align-items: start !important;
}

.upm-isolation-wrapper .upm-block-library,
.upm-isolation-wrapper .upm-builder-canvas-wrap,
.upm-isolation-wrapper .upm-builder-inspector {
    min-width: 0 !important;
    padding: 14px !important;
    border: 1px solid #dce7e2 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-block-library,
.upm-isolation-wrapper .upm-builder-inspector {
    position: sticky !important;
    top: 16px !important;
}

.upm-isolation-wrapper .upm-block-library {
    display: grid !important;
    gap: 9px !important;
}

.upm-isolation-wrapper .upm-block-library h5,
.upm-isolation-wrapper .upm-canvas-topbar h5,
.upm-isolation-wrapper .upm-builder-inspector h5 {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 8px !important;
    color: #10251a !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-block-group-label {
    margin-top: 8px !important;
    color: #6a766f !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-block-library button {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 46px !important;
    padding: 7px !important;
    border: 1px solid #dce7e2 !important;
    border-radius: 8px !important;
    background: #f9fbfa !important;
    color: #1d3327 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-align: left !important;
    cursor: grab !important;
}

.upm-isolation-wrapper .upm-block-library button:hover,
.upm-isolation-wrapper .upm-block-library button:focus {
    border-color: #9fc8b2 !important;
    background: #eef8e9 !important;
    color: #0f6938 !important;
}

.upm-isolation-wrapper .upm-block-library button i {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0f6938 !important;
}

.upm-isolation-wrapper .upm-builder-canvas-wrap {
    background: #eef3f0 !important;
}

.upm-isolation-wrapper .upm-canvas-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.upm-isolation-wrapper .upm-canvas-topbar span {
    color: #65736a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-builder-canvas {
    min-height: 480px !important;
    padding: 18px !important;
    border: 1px dashed #b8c9bf !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: inset 0 0 0 6px #f5f8f6 !important;
}

.upm-isolation-wrapper .upm-empty-canvas {
    display: grid !important;
    place-items: center !important;
    gap: 8px !important;
    min-height: 250px !important;
    padding: 24px !important;
    border: 1px dashed #b8c9bf !important;
    border-radius: 8px !important;
    background: #fbfdfc !important;
    color: #65736a !important;
    text-align: center !important;
}

.upm-isolation-wrapper .upm-empty-canvas[hidden] {
    display: none !important;
}

.upm-isolation-wrapper .upm-empty-canvas i {
    color: #0f6938 !important;
    font-size: 30px !important;
}

.upm-isolation-wrapper .upm-empty-canvas strong {
    color: #10251a !important;
    font-size: 18px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-empty-canvas span {
    max-width: 360px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-builder-copy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.upm-isolation-wrapper .upm-builder-wide {
    grid-column: 1 / -1 !important;
}

.upm-isolation-wrapper .upm-builder-panel {
    display: grid !important;
    gap: 14px !important;
    padding: 14px !important;
    border: 1px solid #dce7e2 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper [data-block-editor] {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
}

.upm-isolation-wrapper .upm-admin-editor-form [data-block-editor]:not(.is-inspector-mounted) {
    display: none !important;
}

.upm-isolation-wrapper .upm-builder-content-map {
    display: none !important;
}

.upm-isolation-wrapper [data-block-editor].is-active-editor {
    border-color: #8fc8a7 !important;
    background: #fbfffc !important;
    box-shadow: 0 0 0 4px rgba(15, 105, 56, 0.1) !important;
}

.upm-isolation-wrapper .upm-inspector-editor-slot {
    display: grid !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.upm-isolation-wrapper .upm-inspector-editor-empty {
    padding: 12px !important;
    border: 1px dashed #c9d7cf !important;
    border-radius: 8px !important;
    color: #65736a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-inspector-editor-empty[hidden] {
    display: none !important;
}

.upm-isolation-wrapper .is-inspector-mounted {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
}

.upm-isolation-wrapper .is-inspector-mounted.card,
.upm-isolation-wrapper .is-inspector-mounted .card {
    box-shadow: none !important;
}

.upm-isolation-wrapper .upm-panel-heading-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.upm-isolation-wrapper .upm-category-editor {
    margin-top: 16px !important;
}

.upm-isolation-wrapper .upm-category-rows,
.upm-isolation-wrapper .upm-highlight-rows {
    display: grid !important;
    gap: 10px !important;
}

.upm-isolation-wrapper .upm-category-row,
.upm-isolation-wrapper .upm-highlight-row {
    display: grid !important;
    grid-template-columns: minmax(160px, 1fr) 170px 40px !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px !important;
    border: 1px solid #e3ece6 !important;
    border-radius: 8px !important;
    background: #f9fbfa !important;
}

.upm-isolation-wrapper .upm-highlight-row {
    grid-template-columns: minmax(90px, 0.55fr) minmax(160px, 1fr) 160px 40px !important;
}

.upm-isolation-wrapper .upm-helper-note,
.upm-isolation-wrapper .upm-inspector-helper {
    color: #65736a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

.upm-isolation-wrapper .upm-inspector-helper {
    display: grid !important;
    gap: 5px !important;
    padding: 11px !important;
    border: 1px solid #dfe9e3 !important;
    border-radius: 8px !important;
    background: #f7faf8 !important;
}

.upm-isolation-wrapper .upm-inspector-helper strong {
    color: #0f6938 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-admin-store-connection {
    display: grid !important;
    gap: 6px !important;
    margin-bottom: 18px !important;
    padding: 14px !important;
    border: 1px solid #dfe9e3 !important;
    border-radius: 8px !important;
    background: #f7faf8 !important;
}

.upm-isolation-wrapper .upm-admin-store-connection input:disabled {
    background: #eef3f0 !important;
    color: #66756b !important;
}

.upm-isolation-wrapper .upm-section-builder-list {
    display: grid !important;
    gap: 8px !important;
}

.upm-isolation-wrapper .upm-builder-section {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    min-height: 104px !important;
    padding: 12px !important;
    border: 1px solid #d7e2dc !important;
    border-radius: 8px !important;
    background: #fbfdfc !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease !important;
}

.upm-isolation-wrapper .upm-builder-section:hover,
.upm-isolation-wrapper .upm-builder-section.is-dragging,
.upm-isolation-wrapper .upm-builder-section.is-selected {
    border-color: #9fc8b2 !important;
    box-shadow: 0 10px 24px rgba(22, 41, 30, 0.1) !important;
    transform: translateY(-1px) !important;
}

.upm-isolation-wrapper .upm-builder-section.is-selected {
    outline: 3px solid rgba(15, 105, 56, 0.18) !important;
}

.upm-isolation-wrapper .upm-builder-section:has(.upm-section-visible-toggle input:not(:checked)) {
    opacity: 0.56 !important;
}

.upm-isolation-wrapper .upm-builder-section-toolbar {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    display: inline-flex !important;
    gap: 4px !important;
    padding: 3px !important;
    border: 1px solid #dce7e2 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    opacity: 0 !important;
    transition: opacity 0.16s ease !important;
}

.upm-isolation-wrapper .upm-builder-section:hover .upm-builder-section-toolbar,
.upm-isolation-wrapper .upm-builder-section.is-selected .upm-builder-section-toolbar {
    opacity: 1 !important;
}

.upm-isolation-wrapper .upm-builder-section-toolbar button {
    display: grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #405348 !important;
}

.upm-isolation-wrapper .upm-builder-section-toolbar button:hover {
    background: #eef8e9 !important;
    color: #0f6938 !important;
}

.upm-isolation-wrapper .upm-builder-section-preview {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    padding-right: 78px !important;
}

.upm-isolation-wrapper .upm-builder-section-preview > i {
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #eef8e9, #ffffff) !important;
    color: #0f6938 !important;
    font-size: 21px !important;
}

.upm-isolation-wrapper .upm-builder-section-preview strong {
    display: block !important;
    color: #10251a !important;
    font-size: 17px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-builder-section-preview span {
    display: block !important;
    margin-top: 3px !important;
    color: #6a766f !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: capitalize !important;
}

.upm-isolation-wrapper .upm-builder-section[data-section-zone="Header"] {
    border-left: 4px solid #3b82f6 !important;
}

.upm-isolation-wrapper .upm-builder-section[data-section-zone="Body"] {
    border-left: 4px solid #0f6938 !important;
}

.upm-isolation-wrapper .upm-builder-section[data-section-zone="Sidebar / Extras"] {
    border-left: 4px solid #a855f7 !important;
}

.upm-isolation-wrapper .upm-builder-section[data-section-zone="Footer"] {
    border-left: 4px solid #f59e0b !important;
}

.upm-isolation-wrapper .upm-section-visible-toggle {
    align-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    color: #5d6d63 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.upm-isolation-wrapper .upm-builder-section > input.form-control {
    grid-column: 1 / -1 !important;
    min-height: 38px !important;
}

.upm-isolation-wrapper .upm-builder-inspector {
    display: grid !important;
    gap: 12px !important;
}

.upm-isolation-wrapper .upm-inspector-empty {
    padding: 16px !important;
    border: 1px dashed #c9d7cf !important;
    border-radius: 8px !important;
    color: #65736a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.upm-isolation-wrapper .upm-inspector-fields {
    display: grid !important;
    gap: 12px !important;
}

.upm-isolation-wrapper .upm-inspector-fields[hidden],
.upm-isolation-wrapper .upm-inspector-empty[hidden] {
    display: none !important;
}

.upm-isolation-wrapper .upm-inspector-check {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    color: #26382d !important;
    font-size: 13px !important;
    font-weight: 850 !important;
}

.upm-isolation-wrapper .upm-inspector-actions {
    display: flex !important;
    gap: 8px !important;
}

.upm-isolation-wrapper .upm-live-preview-shell {
    display: flex !important;
    justify-content: center !important;
    padding: 14px !important;
    border: 1px solid #dce7e2 !important;
    border-radius: 8px !important;
    background: repeating-linear-gradient(45deg, #f1f5f3, #f1f5f3 10px, #eef3f0 10px, #eef3f0 20px) !important;
}

.upm-isolation-wrapper .upm-live-preview-shell[data-device="tablet"] .upm-live-preview {
    max-width: 720px !important;
}

.upm-isolation-wrapper .upm-live-preview-shell[data-device="mobile"] .upm-live-preview {
    max-width: 360px !important;
}

.upm-isolation-wrapper .upm-live-preview {
    display: grid !important;
    gap: var(--preview-gap, 32px) !important;
    width: 100% !important;
    max-width: 980px !important;
    padding: 18px !important;
    border-radius: var(--preview-radius, 8px) !important;
    background: #ffffff !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
    transition: max-width 0.2s ease, gap 0.2s ease !important;
}

.upm-isolation-wrapper .upm-live-hero {
    display: grid !important;
    gap: 10px !important;
    min-height: 210px !important;
    align-content: center !important;
    padding: 28px !important;
    border-radius: var(--preview-radius, 8px) !important;
    background: linear-gradient(135deg, var(--preview-primary, #0f6938), #1d3b58) !important;
    color: #ffffff !important;
}

.upm-isolation-wrapper .upm-live-hero span {
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-live-hero h3 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
}

.upm-isolation-wrapper .upm-live-hero p {
    max-width: 620px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.86) !important;
}

.upm-isolation-wrapper .upm-live-hero button {
    justify-self: start !important;
    margin-top: 4px !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--preview-accent, #9bd777) !important;
    color: #10251a !important;
    font-weight: 900 !important;
}

.upm-isolation-wrapper .upm-live-preview[style*="center"] .upm-live-hero button {
    justify-self: center !important;
}

.upm-isolation-wrapper .upm-live-preview[style*="right"] .upm-live-hero button {
    justify-self: end !important;
}

.upm-isolation-wrapper .upm-live-products {
    display: grid !important;
    gap: 12px !important;
}

.upm-isolation-wrapper .upm-live-products span {
    min-height: 96px !important;
    border-radius: var(--preview-radius, 8px) !important;
    background: linear-gradient(180deg, #eef3f0 0%, #ffffff 100%) !important;
    border: 1px solid #e0e7e3 !important;
}

.upm-isolation-wrapper .upm-live-preview[data-layout="slider"] .upm-live-products {
    display: flex !important;
    overflow: hidden !important;
}

.upm-isolation-wrapper .upm-live-preview[data-layout="slider"] .upm-live-products span {
    flex: 0 0 180px !important;
}

.upm-isolation-wrapper .upm-live-preview[data-layout="featured"] .upm-live-products span:first-child {
    grid-column: span 2 !important;
    min-height: 150px !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--preview-accent, #9bd777) 100%) !important;
}

.upm-isolation-wrapper .upm-ecommerce-template {
    gap: var(--upm-builder-gap, 32px) !important;
}

.upm-isolation-wrapper .upm-ecommerce-template.upm-content-wide {
    max-width: 1360px !important;
}

.upm-isolation-wrapper .upm-ecommerce-template.upm-content-full {
    max-width: none !important;
    width: 100% !important;
}

.upm-isolation-wrapper .upm-builder-public-section {
    order: var(--upm-section-order, 10) !important;
}

.upm-isolation-wrapper .upm-ecommerce-template .upm-shop-hero,
.upm-isolation-wrapper .upm-ecommerce-template .upm-store-product-card,
.upm-isolation-wrapper .upm-ecommerce-template .upm-store-product-image,
.upm-isolation-wrapper .upm-store-promo,
.upm-isolation-wrapper .upm-shop-about,
.upm-isolation-wrapper .upm-shop-custom-page,
.upm-isolation-wrapper .upm-shop-services,
.upm-isolation-wrapper .upm-shop-testimonials {
    border-radius: var(--upm-builder-radius, 8px) !important;
}

.upm-isolation-wrapper .upm-hero-align-center .upm-shop-hero-copy,
.upm-isolation-wrapper .upm-hero-align-center .upm-shop-section-heading {
    text-align: center !important;
}

.upm-isolation-wrapper .upm-hero-align-center .upm-shop-hero-copy > a {
    justify-self: center !important;
}

.upm-isolation-wrapper .upm-hero-align-right .upm-shop-hero-copy,
.upm-isolation-wrapper .upm-hero-align-right .upm-shop-section-heading {
    text-align: right !important;
}

.upm-isolation-wrapper .upm-hero-align-right .upm-shop-hero-copy > a {
    justify-self: end !important;
}

.upm-isolation-wrapper .upm-store-promo,
.upm-isolation-wrapper .upm-shop-about,
.upm-isolation-wrapper .upm-shop-custom-page,
.upm-isolation-wrapper .upm-shop-services,
.upm-isolation-wrapper .upm-shop-testimonials {
    display: grid !important;
    gap: 10px !important;
    padding: 24px !important;
    border: 1px solid #dfe8e3 !important;
    background: #ffffff !important;
}

.upm-isolation-wrapper .upm-store-promo {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    background: linear-gradient(135deg, var(--upm-soft, #eef8e9), #ffffff) !important;
}

.upm-isolation-wrapper .upm-store-promo span,
.upm-isolation-wrapper .upm-shop-about span,
.upm-isolation-wrapper .upm-shop-custom-page span,
.upm-isolation-wrapper .upm-shop-services > span,
.upm-isolation-wrapper .upm-shop-testimonials > span {
    color: var(--upm-primary, #0f6938) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.upm-isolation-wrapper .upm-store-promo h2,
.upm-isolation-wrapper .upm-shop-about h2,
.upm-isolation-wrapper .upm-shop-custom-page h2,
.upm-isolation-wrapper .upm-shop-services h2,
.upm-isolation-wrapper .upm-shop-testimonials h2 {
    margin: 0 !important;
    color: #10251a !important;
    font-size: 28px !important;
    line-height: 1.12 !important;
}

.upm-isolation-wrapper .upm-store-promo p,
.upm-isolation-wrapper .upm-shop-about p,
.upm-isolation-wrapper .upm-shop-custom-page p,
.upm-isolation-wrapper .upm-shop-services p {
    margin: 0 !important;
    color: #516056 !important;
    line-height: 1.65 !important;
}

.upm-isolation-wrapper .upm-shop-services > div {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.upm-isolation-wrapper .upm-shop-services article {
    display: grid !important;
    gap: 8px !important;
    padding: 16px !important;
    border: 1px solid #e0e8e3 !important;
    border-radius: var(--upm-builder-radius, 8px) !important;
    background: #f9fbfa !important;
}

.upm-isolation-wrapper .upm-shop-services article i {
    color: var(--upm-primary, #0f6938) !important;
    font-size: 24px !important;
}

.upm-isolation-wrapper .upm-shop-services article strong {
    color: #10251a !important;
    font-size: 15px !important;
    font-weight: 950 !important;
}

.upm-isolation-wrapper .upm-shop-testimonials blockquote {
    margin: 0 !important;
    padding: 20px !important;
    border-left: 4px solid var(--upm-primary, #0f6938) !important;
    border-radius: var(--upm-builder-radius, 8px) !important;
    background: var(--upm-soft, #eef8e9) !important;
    color: #253226 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
}

.upm-isolation-wrapper .upm-store-promo a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    background: var(--upm-primary, #0f6938) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.upm-isolation-wrapper .upm-products-slider .upm-merged-products-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 10px !important;
}

.upm-isolation-wrapper .upm-products-slider .upm-store-product-card {
    flex: 0 0 min(280px, 82vw) !important;
    scroll-snap-align: start !important;
}

.upm-isolation-wrapper .upm-products-featured .upm-store-product-card:first-child {
    grid-column: span 2 !important;
}

.upm-isolation-wrapper .upm-products-featured .upm-store-product-card:first-child .upm-store-product-image {
    min-height: 240px !important;
}

@media (max-width: 980px) {
    .upm-isolation-wrapper .upm-elementor-shell {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-block-library,
    .upm-isolation-wrapper .upm-builder-inspector {
        position: relative !important;
        top: auto !important;
    }

    .upm-isolation-wrapper .upm-block-library {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .upm-isolation-wrapper .upm-block-library h5 {
        grid-column: 1 / -1 !important;
    }

    .upm-isolation-wrapper .upm-builder-grid,
    .upm-isolation-wrapper .upm-builder-copy-grid,
    .upm-isolation-wrapper .upm-store-promo,
    .upm-isolation-wrapper .upm-shop-services > div {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-template-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .upm-isolation-wrapper .upm-builder-toolbar {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .upm-isolation-wrapper .upm-block-library {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-template-buttons {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-builder-canvas {
        min-height: 320px !important;
        padding: 12px !important;
    }

    .upm-isolation-wrapper .upm-category-row,
    .upm-isolation-wrapper .upm-highlight-row {
        grid-template-columns: 1fr !important;
    }

    .upm-isolation-wrapper .upm-live-products,
    .upm-isolation-wrapper .upm-live-preview[data-layout="featured"] .upm-live-products span:first-child {
        grid-template-columns: 1fr !important;
        grid-column: auto !important;
    }

    .upm-isolation-wrapper .upm-products-featured .upm-store-product-card:first-child {
        grid-column: auto !important;
    }
}
