/* ==========================================================================
   Custom Home Products Grid - Optimized & Responsive
   ========================================================================== */

.unf-custom-grid-wrapper {
    width: 100%;
    margin: 30px 0;
    font-family: var(--wd-text-font), Arial, sans-serif;
}

/* Polylang Font Integrations */
.unf-custom-grid-wrapper.unf-lang-hy {
    font-family: "Noto Sans Armenian", "Arial Unicode MS", sans-serif !important;
}
.unf-custom-grid-wrapper.unf-lang-ru {
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
}
.unf-custom-grid-wrapper.unf-lang-en {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important;
}

/* Header (Title & Button) */
.unf-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.unf-grid-title {
    font-size: 24px;
    font-weight: 600;
    color: #2b2b2d;
    margin: 0;
}
.unf-grid-view-all {
    display: inline-flex;
    align-items: center;
    background-color: #233e2a;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(35, 62, 42, 0.2);
}
.unf-grid-view-all:hover {
    background-color: #1a2f1f;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(35, 62, 42, 0.3);
}

/* Suppress Woodmart Native Icons on Custom Grid */
.unf-grid-item .wd-buttons,
.unf-grid-item .woodmart-buttons {
    display: none !important;
}

.unf-action-buttons a::before,
.unf-action-buttons a::after {
    content: none !important;
    display: none !important;
}

.unf-item-image a.product-image-link::before,
.unf-item-image a.product-image-link::after {
    content: none !important;
    display: none !important;
}

.unf-custom-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Product Card */
.unf-grid-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
}

.unf-grid-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.05);
}

/* ImageWrapper */
.unf-item-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f9f9f9;
}
.unf-item-image > a.product-image-link {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.unf-item-image img.unf-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Hover Action Buttons (Right Side) */
.unf-action-buttons {
    position: absolute;
    top: 15px;
    right: -60px; /* Hidden initially */
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    padding: 12px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
}
.unf-grid-item:hover .unf-action-buttons {
    right: 15px;
    opacity: 1;
}
.unf-action-buttons a {
    color: #444;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}
.unf-action-buttons a:hover {
    color: #2b6a4b;
    transform: scale(1.1);
}

/* Hover Gallery Dots (Bottom) */
.unf-hover-gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.unf-grid-item:hover .unf-hover-gallery-dots {
    opacity: 1;
}
.unf-hover-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}
.unf-hover-dot.active {
    background: #2b4535;
    transform: scale(1.2);
}
.unf-hover-dot:hover {
    background: #2b6a4b;
}

/* Content */
.unf-item-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.unf-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 5px 0;
    color: #2b2b2d;
}
.unf-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.unf-item-title a:hover {
    color: #2b6a4b;
}

.unf-item-cats {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.unf-item-cats a {
    color: inherit;
}

.unf-item-stock {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.unf-item-stock.in-stock {
    color: #1e1e1e;
}
.unf-item-stock.out-of-stock {
    color: #e02b27;
}

.unf-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #2b2b2d;
    margin-bottom: 15px;
}
.unf-item-price del {
    color: #999;
    font-size: 13px;
    font-weight: 400;
    margin-right: 5px;
}
.unf-item-price ins {
    text-decoration: none;
    color: #e02b27;
}

.unf-item-swatches {
    margin-bottom: 15px;
    min-height: 30px;
}

/* Buttons */
.unf-item-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.unf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.unf-btn-primary {
    background-color: #2b4535;
    color: #fff;
    border: 1px solid #2b4535;
}
.unf-btn-primary:hover {
    background-color: #1e3025;
    color: #fff;
}

.unf-btn-secondary {
    background-color: #fff;
    color: #555;
    border: 1px solid #28462F;
    white-space: normal;
    line-height: 1.3;
}
.unf-btn-secondary:hover {
    border-color: #28462F;
    background-color: #fafafa;
    color: #333;
}
.unf-btn-secondary svg {
    margin-right: 6px;
}

.unf-item-sku {
    font-size: 11px;
    color: #999;
    margin-top: 15px;
}

/* Fallback clearfix */
.unf-grid-clear {
    clear: both;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1199px) {
    .unf-custom-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .unf-custom-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
}
@media (max-width: 767px) {
    .unf-grid-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .unf-custom-grid { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .unf-item-content { padding: 10px; }
    .unf-item-title { font-size: 13px; }
    .unf-item-price { font-size: 15px; }
    .unf-btn { padding: 8px 4px; font-size: 11px; }

    /* Reveal actions on mobile */
    .unf-action-buttons { right: 5px; top: 5px; opacity: 1; background: rgba(255,255,255,0.8); }
    .unf-hover-gallery-dots { opacity: 1; }
}

/* ==========================================================================
   Quick View Popup Beautiful Scroll Override
   ========================================================================== */
.product-quick-view .summary.entry-summary,
.wd-popup.wd-quick-view .summary.entry-summary,
.mfp-wrap .summary.entry-summary {
    max-height: calc(85vh - 60px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 15px !important;
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}

.product-quick-view .summary-inner.wd-scroll-content,
.wd-popup.wd-quick-view .summary-inner.wd-scroll-content,
.mfp-wrap .summary-inner.wd-scroll-content {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
}

/* Ensure the popup itself isn't tiny */
.wd-popup.wd-quick-view {
    max-height: 90vh !important;
    overflow: hidden !important;
}

/* Beautiful Elegant Scrollbar */
.product-quick-view .summary.entry-summary::-webkit-scrollbar,
.wd-popup.wd-quick-view .summary.entry-summary::-webkit-scrollbar,
.mfp-wrap .summary.entry-summary::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.product-quick-view .summary.entry-summary::-webkit-scrollbar-track,
.wd-popup.wd-quick-view .summary.entry-summary::-webkit-scrollbar-track,
.mfp-wrap .summary.entry-summary::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-quick-view .summary.entry-summary::-webkit-scrollbar-thumb,
.wd-popup.wd-quick-view .summary.entry-summary::-webkit-scrollbar-thumb,
.mfp-wrap .summary.entry-summary::-webkit-scrollbar-thumb {
    background: #233e2a;
    border-radius: 10px;
    opacity: 0.8;
}

.product-quick-view .summary.entry-summary::-webkit-scrollbar-thumb:hover,
.wd-popup.wd-quick-view .summary.entry-summary::-webkit-scrollbar-thumb:hover,
.mfp-wrap .summary.entry-summary::-webkit-scrollbar-thumb:hover {
    background: #1a2f1f;
}

/* ==========================================================================
   Banner Grid Layout (Left Banner + Right Products)
   ========================================================================== */
.unf-banner-block {
    margin-bottom: 50px;
}

.unf-banner-grid-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* 25% Width Banner on Desktop */
.unf-promo-banner {
    flex: 0 0 25%;
    max-width: 320px; /* Sensible max width */
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Dark overlay to make white text pop */
.unf-promo-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.unf-promo-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.unf-promo-subtitle {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0.9;
    color: #fff;
}

.unf-promo-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #fff;
}

.unf-promo-btn {
    background-color: #233e2a; /* Main theme green */
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.unf-promo-btn:hover {
    background-color: #1a2f1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* The products grid next to the banner */
.unf-banner-products {
    flex: 1;
    /* Force 4 columns on desktop instead of 5, because banner takes space */
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Responsive adjustments for Banner Grid */
@media (max-width: 1199px) {
    .unf-banner-products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .unf-banner-grid-layout {
        flex-direction: column;
    }
    .unf-promo-banner {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        min-height: 200px; /* Taller on tablet/mobile */
        justify-content: center;
        padding: 40px 20px;
    }
    .unf-promo-content {
        justify-content: center;
    }
    .unf-banner-products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .unf-banner-products {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        padding-bottom: 10px !important;
    }
    .unf-banner-products::-webkit-scrollbar {
        display: none !important;
    }
    .unf-banner-products .unf-grid-item {
        flex: 0 0 calc(65% - 10px) !important;
        scroll-snap-align: start !important;
    }
}

/* ==========================================================================
   Hero Banner with Countdown + Product Cards Below
   ========================================================================== */

/* Armenian Font for hero banners */
.unf-lang-hy .unf-hero-title,
.unf-lang-hy .unf-hero-subtitle,
.unf-lang-hy .unf-hero-card-title,
.unf-lang-def .unf-hero-title,
.unf-lang-def .unf-hero-subtitle,
.unf-lang-def .unf-hero-card-title {
    font-family: "Noto Sans Armenian", "Armenian", Arial, sans-serif;
}
.unf-lang-ru .unf-hero-title,
.unf-lang-ru .unf-hero-subtitle {
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.unf-lang-en .unf-hero-title,
.unf-lang-en .unf-hero-subtitle {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* Hero Section */
.unf-hero-banner {
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    padding: 60px 4%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    
    /* Breakout of container to be full width */
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.unf-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left: image */
.unf-hero-image {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align closer to text */
}
.unf-hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    animation: unf-hero-float 4s ease-in-out infinite;
}
@keyframes unf-hero-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* Right: text */
.unf-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align */
    gap: 16px;
    max-width: 500px;
}

.unf-hero-title {
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.unf-hero-subtitle {
    color: #4a5568;
    font-weight: 500;
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
}

/* Countdown */
.unf-countdown {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

.unf-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
}

.unf-cd-num {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

.unf-cd-label {
    font-size: 11px;
    color: #4a5568;
    text-transform: capitalize;
    margin-top: 4px;
    font-weight: 500;
}

.unf-cd-sep {
    display: none; /* Hide colons */
}

/* Hero CTA Button */
.unf-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #233e2a;
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 6px 20px rgba(35,62,42,0.3);
    letter-spacing: 0.3px;
}
.unf-hero-btn:hover {
    background-color: #1a2f1f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(35,62,42,0.4);
    color: #fff !important;
}
.unf-hero-btn svg {
    transition: transform 0.3s ease;
}
.unf-hero-btn:hover svg {
    transform: translateX(4px);
}

/* Products wrapper below hero */
.unf-hero-products-wrapper {
    margin: -60px 0 40px;
    position: relative;
    z-index: 10;
    padding: 0 4%;
}

/* Products row (horizontal scroll on mobile) */
.unf-hero-products {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Hero Product Card */
.unf-hero-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.unf-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.06);
}

/* Card image area */
.unf-hero-card-link {
    display: block;
    position: relative;
    padding-top: 90%;
    overflow: hidden;
    background: #f9f9f9;
    text-decoration: none;
}
.unf-hero-card-link img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.unf-hero-card:hover .unf-hero-card-link img {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Quick View Overlay */
.unf-hero-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.unf-hero-card:hover .unf-hero-card-overlay {
    background: rgba(0,0,0,0.08);
    opacity: 1;
}

.unf-hero-qv-btn {
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    color: #333;
    transform: translateY(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.unf-hero-card:hover .unf-hero-qv-btn {
    transform: translateY(0);
}
.unf-hero-qv-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #233e2a;
}

/* Card body */
.unf-hero-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.unf-hero-card-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    color: #2b2b2d;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.unf-hero-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.unf-hero-card-title a:hover {
    color: #233e2a;
}

.unf-hero-card-swatches {
    min-height: 24px;
}

/* ==========================================================================
   Custom Product Swatches (rendered by unf_render_product_swatches)
   ========================================================================== */
.unf-swatches-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* ── Image thumbnail swatch (primary style) ── */
.unf-swatch-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
    padding: 2px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.unf-swatch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}
.unf-swatch-img:hover,
.unf-swatch-img.active {
    border-color: #233e2a;
    box-shadow: 0 0 0 1px #233e2a;
}

/* ── Color circle swatch (fallback) ── */
.unf-swatch-color {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.unf-swatch-color:hover,
.unf-swatch-color.active {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(35,62,42,0.4);
}

/* ── Text/label swatch (fallback) ── */
.unf-swatch-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 6px;
    border-radius: 3px;
    border: 1px solid #ddd;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}
.unf-swatch-label:hover {
    border-color: #233e2a;
    color: #233e2a;
    background: #f0f6f2;
}

/* ── "+N more" badge ── */
.unf-swatch-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    background: #f5f5f5;
    line-height: 1;
}

/* ==========================================================================
   Hero Banner Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .unf-hero-products {
        grid-template-columns: repeat(4, 1fr);
    }
    .unf-hero-banner {
        padding: 40px;
    }
}

@media (max-width: 991px) {
    .unf-hero-inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .unf-hero-image {
        flex: 0 0 auto;
        max-width: 400px;
        width: 100%;
    }
    .unf-hero-content {
        align-items: center;
    }
    .unf-hero-btn {
        align-self: center;
    }
    .unf-countdown {
        justify-content: center;
    }
    .unf-hero-products {
        grid-template-columns: repeat(3, 1fr);
    }
    .unf-hero-banner {
        padding: 40px 30px;
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .unf-hero-banner {
        border-radius: 12px;
        padding: 30px 20px;
        margin: 20px 0 0;
        min-height: auto;
    }
    .unf-hero-title {
        font-size: 26px !important;
    }
    .unf-hero-subtitle {
        font-size: 14px !important;
    }
    .unf-cd-num {
        font-size: 20px;
    }
    .unf-cd-unit {
        min-width: 50px;
        padding: 8px 10px;
    }
    .unf-hero-products {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 15px;
        padding-bottom: 20px;
    }
    .unf-hero-products::-webkit-scrollbar {
        display: none;
    }
    .unf-hero-products > .unf-hero-card {
        flex: 0 0 calc(65% - 10px);
        scroll-snap-align: start;
    }
    .unf-hero-products-wrapper {
        margin: 12px 0 30px;
    }
}

@media (max-width: 480px) {
    .unf-countdown {
        gap: 2px;
    }
    .unf-cd-sep {
        font-size: 16px;
    }
}
