/* ==========================================================================
   UNIVERSAL TRADERS — MODERN E-COMMERCE MARKETPLACE DESIGN SYSTEM
   Inspired by Amazon & Flipkart's UX Hierarchy, Information Architecture & Usability
   Tailored for Universal Traders with Vibrant Design & Full Responsive Support
   ========================================================================== */

:root {
    --ut-primary: #0a4455;
    --ut-primary-dark: #062b36;
    --ut-primary-light: #e6f1f4;
    --ut-primary-rgb: 10, 68, 85;
    --ut-accent: #f97316;
    --ut-accent-light: #fff7ed;
    --ut-ink: #0f172a;
    --ut-ink-2: #334155;
    --ut-muted: #64748b;
    --ut-border: #e2e8f0;
    --ut-border-light: #f1f5f9;
    --ut-bg: #f8fafc;
    --ut-surface: #ffffff;
    --ut-success: #16a34a;
    --ut-danger: #dc2626;
    --ut-rating: #eab308;
    --ut-radius-sm: 8px;
    --ut-radius: 12px;
    --ut-radius-lg: 16px;
    --ut-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --ut-shadow: 0 4px 14px -2px rgba(10, 68, 85, 0.08);
    --ut-shadow-hover: 0 12px 28px -4px rgba(10, 68, 85, 0.16);
    --ut-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Ensure no accidental page horizontal overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    background-color: #f1f5f9;
    color: var(--ut-ink);
    font-family: var(--ut-font);
}

/* ==========================================================================
   1. MARKETPLACE HEADER (AMAZON / FLIPKART STYLE)
   ========================================================================== */
.ut-marketplace-header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--ut-border);
    position: sticky !important;
    top: 0 !important;
    z-index: 100050 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    padding: 10px 0 !important;
}

/* Ensure the navigation bar (menu div) stays below header popups and does not collide with header */
.navbar {
    position: relative !important;
    z-index: 1000 !important;
}

/* Ensure appendable header dropdowns float above menu div and everything else */
.profile-dropdown-wrapper {
    position: relative !important;
    z-index: 1000010 !important;
}

.profile-dropdown-menu,
.live-search-dropdown,
.cart-dropdown {
    z-index: 1000020 !important;
}

.ut-header-row-1 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
}

.ut-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

/* Mobile Menu Button — strictly hidden on desktop screens (>= 992px) */
.mobile-menu-btn {
    display: none !important;
}

@media (max-width: 991.98px) {
    .mobile-menu-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #ffffff 0%, #f4fbfb 100%) !important;
        border: 1.5px solid #d0e7eb !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        box-shadow: 0 2px 6px rgba(15, 93, 113, 0.08) !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        padding: 0 !important;
        position: relative !important;
    }

    .ut-hamburger-box {
        width: 20px;
        height: 14px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        pointer-events: none;
    }

    .ut-hamburger-line {
        display: block;
        height: 2.2px;
        background: var(--ut-primary, #0f5d71);
        border-radius: 99px;
        transition: width 0.22s ease, transform 0.22s ease, background 0.22s ease;
    }

    .ut-line-1 {
        width: 20px;
    }

    .ut-line-2 {
        width: 13.5px;
    }

    .ut-line-3 {
        width: 17.5px;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:active {
        background: #e6f4f6 !important;
        border-color: var(--ut-primary) !important;
        box-shadow: 0 3px 10px rgba(15, 93, 113, 0.16) !important;
        transform: scale(0.95) !important;
    }

    .mobile-menu-btn:hover .ut-line-2,
    .mobile-menu-btn:active .ut-line-2,
    .mobile-menu-btn:hover .ut-line-3,
    .mobile-menu-btn:active .ut-line-3 {
        width: 20px;
    }
}

.ut-brand-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.ut-brand-logo img {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Desktop Search Bar (High utility Flipkart/Amazon style) */
.ut-desktop-search {
    flex: 1 !important;
    max-width: 650px !important;
    margin: 0 20px !important;
}

.ut-search-box-inner {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 44px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.ut-search-box-inner:focus-within {
    background: #ffffff !important;
    border-color: var(--ut-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--ut-primary-rgb), 0.12) !important;
}

.ut-search-icon {
    font-size: 16px !important;
    color: var(--ut-muted) !important;
    margin: 0 14px !important;
    flex-shrink: 0 !important;
}

.ut-search-box-inner input {
    flex: 1 !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: var(--ut-ink) !important;
    padding: 0 !important;
}

.ut-search-box-inner input::placeholder {
    color: #94a3b8 !important;
}

.ut-search-box-inner button {
    height: 100% !important;
    padding: 0 20px !important;
    background: var(--ut-primary) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.18s !important;
}

.ut-search-box-inner button:hover {
    background: var(--ut-primary-dark) !important;
}

/* Header Actions */
.ut-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.ut-action-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ut-ink) !important;
    font-size: 18px !important;
    position: relative !important;
    text-decoration: none !important;
    transition: all 0.18s !important;
}

.ut-action-icon:hover {
    background: var(--ut-primary-light) !important;
    color: var(--ut-primary) !important;
    transform: translateY(-2px) !important;
}

.ut-action-icon .badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background: var(--ut-accent) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    padding: 0 !important;
}

/* Mobile Search Row (Row 2 on Mobile) */
.ut-mobile-search-row {
    margin-top: 10px !important;
    width: 100% !important;
}

.ut-mobile-search-row .ut-search-box-inner {
    height: 42px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
}

.ut-mobile-search-row .ut-search-box-inner button {
    width: 42px !important;
    padding: 0 !important;
    border-radius: 0 8px 8px 0 !important;
}

/* ==========================================================================
   2. CATEGORY SECTION — FLIPKART / AMAZON HORIZONTAL RAIL
   ========================================================================== */
.ut-cat-section {
    padding: 14px 0 6px;
}

.ut-cat-container-card {
    background: #ffffff;
    border: 1px solid var(--ut-border);
    border-radius: var(--ut-radius-lg);
    padding: 16px 20px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ut-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.ut-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ut-section-accent-bar {
    width: 4px;
    height: 24px;
    border-radius: 2px;
    background: var(--ut-primary);
    flex-shrink: 0;
}

.ut-section-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--ut-ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.ut-section-subtitle {
    display: block;
    font-size: 12.5px;
    color: var(--ut-muted);
    font-weight: 500;
    margin-top: 2px;
}

.ut-view-all-pill {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ut-primary);
    background: var(--ut-primary-light);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.ut-view-all-pill:hover {
    background: var(--ut-primary);
    color: #ffffff;
    transform: translateX(2px);
}

/* Category Horizontal Rail */
.ut-cat-rail {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 4px 2px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.ut-cat-rail::-webkit-scrollbar {
    display: none;
}

.ut-cat-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease;
}

.ut-cat-chip:hover {
    transform: translateY(-3px);
}

.ut-cat-chip__iconwrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1.5px solid var(--ut-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    overflow: hidden;
}

.ut-cat-chip:hover .ut-cat-chip__iconwrap {
    border-color: var(--ut-primary);
    background: var(--ut-primary-light);
    box-shadow: 0 6px 16px rgba(var(--ut-primary-rgb), 0.14);
}

.ut-cat-chip__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.ut-cat-chip:hover .ut-cat-chip__img {
    transform: scale(1.1);
}

.ut-cat-chip__label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ut-ink-2);
    text-align: center;
    line-height: 1.25;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 30px;
}

.ut-cat-chip:hover .ut-cat-chip__label {
    color: var(--ut-primary);
}

/* Category Text-Only Card Chip (when no image exists — NO generic icons!) */
.ut-cat-chip__text-card {
    width: 86px;
    height: 62px;
    border-radius: var(--ut-radius);
    background: #f8fafc;
    border: 1.5px solid var(--ut-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.ut-cat-chip__text-card span {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ut-ink);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ut-cat-chip:hover .ut-cat-chip__text-card {
    border-color: var(--ut-primary);
    background: var(--ut-primary-light);
    color: var(--ut-primary);
    box-shadow: 0 6px 16px rgba(var(--ut-primary-rgb), 0.14);
}

.ut-cat-chip__text-card--all {
    background: var(--ut-primary-light);
    border-color: rgba(var(--ut-primary-rgb), 0.25);
    color: var(--ut-primary);
}

.ut-cat-chip__text-card--all span {
    color: var(--ut-primary);
    font-weight: 800;
}

/* Category Section: Visible ONLY on mobile/tablet (<992px), hidden on desktop */
@media (min-width: 992px) {
    .ut-cat-section {
        display: none !important;
    }
}

/* ==========================================================================
   3. HERO BANNER SLIDER
   ========================================================================== */
.ut-hero-section {
    padding: 10px 0 16px;
}

.ut-hero-row {
    display: flex;
    gap: 16px;
}

.ut-hero-sidebar {
    width: 260px;
    background: #ffffff;
    border: 1px solid var(--ut-border);
    border-radius: var(--ut-radius-lg);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    flex-shrink: 0;
}

.ut-sidebar-header {
    background: var(--ut-primary);
    color: #ffffff;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.ut-hero-slider {
    flex: 1;
    border-radius: var(--ut-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: relative;
    background: linear-gradient(135deg, #0a4455, #0284c7);
    min-height: 360px;
}

.ut-hero-slider .slide {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
}

.ut-hero-slider .slide.active {
    display: flex;
}

.ut-hero-slider .slide-content {
    max-width: 55%;
    z-index: 2;
    color: #ffffff;
}

.ut-slide-tag {
    display: inline-block;
    background: var(--ut-accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.ut-hero-slider .slide-content h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 10px;
}

.ut-hero-slider .slide-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.ut-hero-slider .slide-content button {
    background: #ffffff;
    color: var(--ut-primary);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.ut-hero-slider .slide-content button:hover {
    background: var(--ut-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.ut-hero-slider .slide img {
    max-width: 40%;
    max-height: 300px;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

@media (max-width: 991.98px) {
    .ut-hero-sidebar {
        display: none !important;
    }
    .ut-hero-slider {
        min-height: 240px;
    }
    .ut-hero-slider .slide {
        padding: 20px 24px;
    }
    .ut-hero-slider .slide-content h1 {
        font-size: 20px;
    }
    .ut-hero-slider .slide-content p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    .ut-hero-slider .slide-content button {
        padding: 6px 16px;
        font-size: 12px;
    }
    .ut-hero-slider .slide img {
        max-width: 45%;
        max-height: 160px;
    }
}

/* ==========================================================================
   4. FULL-WIDTH PRODUCT RAILS (FLIPKART / AMAZON CORE)
   ========================================================================== */
.ut-section-rail {
    padding: 12px 0 16px;
}

.ut-rail-card {
    background: #ffffff;
    border: 1px solid var(--ut-border);
    border-radius: var(--ut-radius-lg);
    padding: 20px 22px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ut-countdown-pill {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================================================
   5. UNIFIED PRODUCT CARD (.uni-card) — AMAZON / FLIPKART DESIGN SENSE
   ========================================================================== */
.uni-card {
    background: #ffffff !important;
    border: 1px solid var(--ut-border) !important;
    border-radius: var(--ut-radius) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    cursor: pointer !important;
    height: 100% !important;
    min-height: 270px !important;
    box-sizing: border-box !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s, border-color 0.22s !important;
}

.uni-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px -4px rgba(10, 68, 85, 0.14) !important;
    border-color: #cbd5e1 !important;
}

/* 1:1 Square Media Area */
.uni-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-card__imglink {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.uni-card__media img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

.uni-card:hover .uni-card__media img {
    transform: scale(1.06);
}

/* Discount Pill Badge */
.uni-badge-off {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
    letter-spacing: 0.02em;
}

/* Wishlist Floating Button */
.uni-wish-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ut-ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.15s ease;
}

.uni-wish-btn:hover {
    transform: scale(1.1);
    color: var(--ut-danger);
    background: #ffffff;
}

.uni-wish-btn i.fa-solid, .uni-wish-btn i.text-danger {
    color: var(--ut-danger) !important;
}

/* Out of Stock Tag */
.uni-oos-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 3;
}

/* Card Body */
.uni-card__body {
    padding: 10px 12px 14px;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
    justify-content: space-between;
}

.uni-card__meta {
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uni-card__title {
    margin: 0 0 6px 0;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 600;
    height: 37px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uni-card__title a {
    color: var(--ut-ink);
    text-decoration: none;
}

.uni-card__title a:hover {
    color: var(--ut-primary);
}

/* Flipkart/Amazon Rating Pill Badge */
.uni-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.uni-rating-badge {
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.uni-rating-badge i {
    font-size: 9px;
}

.uni-rating-count {
    font-size: 11.5px;
    color: var(--ut-muted);
    font-weight: 500;
}

/* Price Block */
.uni-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-bottom: 12px;
}

.uni-price__now {
    font-size: 17px;
    font-weight: 800;
    color: var(--ut-primary);
}

.uni-price__mrp {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.uni-price__save {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
}

.uni-price__tag {
    font-size: 9.5px;
    font-weight: 700;
    color: #7c3aed;
    background: #f3e8ff;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Actions Row (View + Add) */
.uni-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    width: 100%;
}

.uni-btn-view, .uni-btn-cart {
    height: 35px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border: none;
    padding: 0 10px;
    transition: all 0.15s ease;
}

.uni-btn-view {
    flex: 1;
    background: #f1f5f9;
    color: var(--ut-ink-2);
    border: 1px solid var(--ut-border);
}

.uni-btn-view:hover {
    background: #e2e8f0;
    color: var(--ut-ink);
}

.uni-btn-cart {
    flex: 1.6;
    background: var(--ut-primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(var(--ut-primary-rgb), 0.2);
}

.uni-btn-cart:hover:not(:disabled) {
    background: var(--ut-primary-dark);
}

.uni-btn-cart:disabled {
    background: #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.uni-lbl-in { display: none; }
.uni-btn-cart:has(i.text-success) {
    background: #ecfdf5 !important;
    border: 1px solid #86efac !important;
    color: var(--ut-success) !important;
    box-shadow: none !important;
}
.uni-btn-cart:has(i.text-success) .uni-lbl-add { display: none; }
.uni-btn-cart:has(i.text-success) .uni-lbl-in { display: inline; }

/* Desktop Product Card Compact Sizing */
@media (min-width: 992px) {
    .uni-card {
        min-height: auto !important;
    }
    .uni-card__imglink {
        padding: 10px !important;
    }
    .uni-card__body {
        padding: 8px 10px 10px !important;
    }
    .uni-card__title {
        font-size: 13px !important;
        line-height: 1.32 !important;
        height: 34px !important;
        margin-bottom: 4px !important;
    }
    .uni-card__rating {
        margin-bottom: 4px !important;
    }
    .uni-price__now {
        font-size: 15.5px !important;
    }
    .uni-price {
        margin-bottom: 8px !important;
    }
    .uni-btn-view, .uni-btn-cart {
        height: 32px !important;
        font-size: 11.5px !important;
        padding: 0 6px !important;
        gap: 4px !important;
    }
}

/* ==========================================================================
   6. PROMOTIONAL AD BANNER SLIDER (OWL CAROUSEL)
   ========================================================================== */
.ut-promo-section {
    padding: 12px 0 18px;
}

.ad-slider .ad-img {
    border-radius: var(--ut-radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.22s, box-shadow 0.22s;
    background: #ffffff;
    aspect-ratio: 16 / 7;
    border: 1px solid var(--ut-border);
}

.ad-slider .ad-img:hover {
    transform: translateY(-3px);
    box-shadow: var(--ut-shadow-hover);
}

.ad-slider .ad-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-slider .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.ad-slider .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    transition: all 0.2s ease;
}

.ad-slider .owl-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--ut-primary);
}

@media (max-width: 767.98px) {
    .ad-slider .ad-img {
        aspect-ratio: 16 / 8;
    }
}

/* ==========================================================================
   7. BRANDS RAIL
   ========================================================================== */
.ut-brand-rail {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ut-brand-rail::-webkit-scrollbar { display: none; }

.ut-brand-card {
    flex: 0 0 auto;
    width: 130px;
    height: 64px;
    border-radius: var(--ut-radius);
    background: #ffffff;
    border: 1px solid var(--ut-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: all 0.18s ease;
}

.ut-brand-card:hover {
    transform: translateY(-2px);
    border-color: var(--ut-primary);
    box-shadow: 0 4px 12px rgba(10, 68, 85, 0.1);
}

.ut-brand-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ut-brand-card span {
    font-size: 13px;
    font-weight: 700;
    color: var(--ut-ink-2);
}

/* ==========================================================================
   8. TRUST & BENEFITS SECTION (4-COLUMN / 2x2 ON MOBILE)
   ========================================================================== */
.ut-trust-section {
    padding: 12px 0 24px;
}

.ut-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--ut-border);
    border-radius: var(--ut-radius-lg);
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ut-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ut-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ut-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ut-trust-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ut-trust-text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--ut-ink);
}

.ut-trust-text p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--ut-muted);
}

@media (max-width: 991.98px) {
    .ut-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 575.98px) {
    .ut-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 14px 12px;
    }
    .ut-trust-icon {
        width: 40px;
        height: 40px;
    }
    .ut-trust-icon img {
        width: 20px;
        height: 20px;
    }
    .ut-trust-text h4 {
        font-size: 12.5px;
    }
    .ut-trust-text p {
        font-size: 11px;
    }
}
