* {
       margin: 0px;
    box-sizing: border-box;
}

body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #ddd;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    margin: auto;
    padding: 20px;
    color: green;
}

a {
    text-decoration: none;
    color: #4d0606;
    padding: 10px;
    margin: auto;
}
a:hover {
    color: green;
}



.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    align-items: start;
}

.catalog-layout.has-cart-sidebar {
    grid-template-columns: 200px minmax(0, 1fr);
}

.catalog-layout:not(.has-cart-sidebar) .cart-sidebar {
    display: none;
}

@keyframes slideInCart {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-sidebar {
    width: 200px;
    padding-top: 28px;
    min-width: 200px;
    align-self: start;
    position: sticky !important;
    top: 20px;
    height: fit-content;
}

.cart-sidebar.slide-in {
    animation: slideInCart 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-sidebar-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 18px 14px;
    position: static;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    min-height: 420px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.cart-sidebar-title {
    color: #111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 18px;
    padding: 0;
    text-align: left;
}

.cart-sidebar-summary {
    padding-bottom: 14px;
    border-bottom: 1px solid #ededed;
}

.cart-sidebar-label {
    color: #111;
    font-size: 14px;
    margin-bottom: 6px;
}

.cart-sidebar-total {
    color: #111;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.cart-sidebar-shipping {
    margin: 16px 0 18px;
    padding: 14px 12px;
    border-radius: 8px;
    background: #fff1df;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
    font-size: 13px;
    font-weight: 700;
}

.cart-sidebar-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f6df;
    color: #1d9c32;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.cart-sidebar-check.dark {
    background: #2f2f2f;
    color: #fff;
}

.cart-sidebar-empty {
    color: #666;
    font-size: 13px;
    margin-top: 12px;
}

.cart-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ededed;
}

.cart-sidebar-link {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #adadad;
    border-radius: 999px;
    color: #111;
    padding: 14px 8px;
    font-size: 15px;
    font-weight: 700;
    background: #fff;
}

.cart-sidebar-link.primary {
    background: #0a520f;
    border-color: #ff7a00;
    color: #fff;
}

.cart-sidebar-link:hover {
    color: #111;
}

.cart-sidebar-link.primary:hover {
    color: #fff;
}

.cart-sidebar-listing {
    padding-top: 18px;
}

.cart-sidebar-listing-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.cart-sidebar-product {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-sidebar-product-media {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f4f4;
}

.cart-sidebar-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.cart-sidebar-product-placeholder {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 12px;
}

.cart-sidebar-product-price {
    color: #111;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.cart-sidebar-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    padding: 10px 12px;
    color: #111;
    font-size: 13px;
}

.cart-sidebar-qty-label {
    color: #666;
}

.cart-sidebar-qty-value {
    font-weight: 700;
}

.ads-video-slot {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 15px;
}

.ads-video-shell {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.ads-video-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ads-video-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff3eb;
    color: #9f3600;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ads-video-title {
    margin: 0;
    color: #111;
    font-size: 1rem;
    font-weight: 700;
}

.ads-video-player-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: #0e0e0e;
}

.ads-video-player {
    width: 100%;
    max-height: 420px;
    display: block;
    background: #0e0e0e;
}

.ads-video-cta {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #066712;
    color: #fff;
    font-weight: 700;
}

.ads-video-cta:hover {
    color: #fff;
    background: #044d0e;
}

.products-section {
    min-width: 0;
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 6px 0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .catalog-layout.has-cart-sidebar {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .cart-sidebar {
        width: 180px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2px;
    }
}

@media (max-width: 900px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        padding-top: 20px;
        position: static;
        top: auto;
    }

    .cart-sidebar-card {
        position: static;
        border-radius: 12px;
        max-height: none;
        overflow: visible;
    }

    .cart-sidebar-listing {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
        white-space: nowrap;
    }

    .cart-sidebar-listing-header {
        display: flex;
        margin-bottom: 12px;
        white-space: normal;
    }

    .cart-sidebar-listing .cart-sidebar-product {
        display: inline-flex;
        vertical-align: top;
        width: 220px;
        min-width: 220px;
        margin-right: 12px;
        white-space: normal;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
    }
}

@media (max-width: 700px) {
    .catalog-layout.has-cart-sidebar {
        grid-template-columns: 1fr;
    }

    .catalog-layout.has-cart-sidebar .cart-sidebar {
        display: none;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        padding: 5px 0;
    }
}

@media (max-width: 420px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-image {
        height: 112px;
        margin-bottom: 5px;
        padding: 6px;
    }

    .product-title {
        font-size: 13px;
        margin: 0 0 4px;
    }

    .product-description,
    .product-brand {
        font-size: 11px;
    }

    .price-box {
        gap: 8px;
        flex-wrap: wrap;
    }

    .old-price,
    .current-price {
        font-size: 0.95em;
    }

    .add-to-cart-btn {
        padding: 7px;
        font-size: 12px;
    }
}


.product-card {
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    font-size: 13px;
    min-width: 0;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== PRODUCT IMAGE ===== */
.product-image {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fafafa;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 600px) {
    .product-image {
        background: #fff;
        border-radius: 12px;
        height: 118px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
        padding: 8px;
        overflow: hidden;
    }
    
    .product-image img {
        max-height: 102px;
        max-width: 100%;
        width: auto;
        object-fit: cover;
        border-radius: 2px;
        background: #fff;
        display: block;
        margin: 0 auto;
    }
    
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: #fff;
    position: relative;
    z-index: 2;
}

.product-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.product-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.product-card.has-video:hover .product-video {
    opacity: 1;
}

.product-card.has-video:hover .product-image img {
    opacity: 0;
    visibility: hidden;
}


.product-img {
    cursor: zoom-in;
}

.product-image-chooser {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 6px;
}

.product-image-choice {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #cfd4dc;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-image-choice img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image-choice.is-active {
    border-color: #066712;
    box-shadow: 0 0 0 2px rgba(6, 103, 18, 0.2);
}

.product-image-choice:focus-visible {
    outline: 2px solid #066712;
    outline-offset: 1px;
}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}



.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-video {
    margin-top: 10px;
}

/* ===== PRODUCT INFO ===== */
.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

/* Title */
.product-title {
    font-size: 14px;
    font-weight: 600;
    margin: -9px 0;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Description */
.product-description {
    color: #555;
    font-size: 12px;
    line-height: 1.3em;
    margin: 6px 0 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== PRICE + DISCOUNT ===== */
.price-box {
    gap: 6px;
    margin: 0;
    flex-wrap: wrap;
    align-items: baseline;
}


.old-price {
    color: #cc5500;
    text-decoration: line-through;
    font-size: 0.9em;
}

.current-price {
    color: #066712;
    font-weight: bold;
    font-size: 1.1em;
}



.discount-badge {
    background: #e62424;
    color: #fff;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 4px;
}


.stock-status {
    margin: 8px 0 10px;
    font-size: 12px;
    font-weight: 700;
}

.stock-status.in-stock {
    color: #066712;
}

.stock-status.out-stock {
    color: #a61b1b;
}


/* ===== ADD TO CART BUTTON ===== */
.add-to-cart-btn {
        width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid #111827;
    background: #088512;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:hover {
    background: #690148;
}


.add-to-cart-btn:disabled,
.add-to-cart-btn.is-out-of-stock {
    background: #9aa0a6;
    cursor: not-allowed;
    opacity: 0.9;
}

.add-to-cart-btn:disabled:hover,
.add-to-cart-btn.is-out-of-stock:hover {
    background: #9aa0a6;
}

.error {
    color: red;
    font-size: 12px;
    padding: 10px;
}

/* Top Info Bar */
.top-info-bar {
    background: #048704;
    color: #fff;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: fit-content;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-title {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

.info-subtitle {
    font-size: 10px;
    color: #ddd;
}

@media (max-width: 600px) {
    .top-info-bar {
        padding: 6px 10px;
        gap: 6px;
        font-size: 11px;
    }
    
    .info-item {
        gap: 4px;
    }
    
    .info-title {
        font-size: 10px;
    }
    
    .info-subtitle {
        font-size: 9px;
    }
}




.logo h1 {
    color: #6fe46f;
    text-align: left;
    margin: 0;
    padding: 0;
    font-size: 24px;
}
.search-bar {
    flex: 1;
    min-width: 150px;
    max-width: 500px;
    position: relative;
}

.search-form {
    position: relative;
}


input[type='text'], input[type='email'], input[type='password'], input[type='number'], input[type='tel'], input[type='search'], textarea, select {
    font-family: inherit;
    border: 1px solid var(--uw-border)
#d4dfd3
;
    border-radius: 11px;
    background: #ceebdc;
    color: var(--uw-text);
}

.search-bar input {

    padding: 8px 38px 8px 12px;
    
}

input, textarea {
    width: 100%;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid #d6d9de;
    background: #fbfbfc;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.search-bar button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px 8px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    position: relative;
    color: var(--uw-dark);
    background: #fff;
    border: 1px solid var(--uw-border);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
}

@media (max-width: 900px) {
    .nav-link {
        padding: 7px 10px;
        font-size: 11px;
    }
}

.nav-link:hover {
    color: #ffd700;
}

.recent-searches {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.recent-searches-label {
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.recent-searches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recent-search-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff3eb;
    color: #9f3600;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #f4cdb5;
}

.recent-search-chip:hover {
    color: #6b2500;
}

.search-results-summary {
    margin: 16px 0 6px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff3eb;
    color: #8f3a08;
    font-size: 14px;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .search-bar {
        min-width: 120px;
        max-width: 300px;
    }
    
    .search-bar input {
        font-size: 12px;
        padding: 6px 35px 6px 10px;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 11px;
    }

    .recent-searches {
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .logo h1 {
        font-size: 16px;
    }
    
    .search-bar {
        min-width: 100px;
        order: 3;
        flex-basis: 100%;
    }
    
    .search-bar input {
          width: calc(100% - 5px);
    }
    
    .nav-actions {
        gap: 5px;
        font-size: 10px;
    }

    .recent-searches {
        align-items: flex-start;
    }
}

/* Storefront motion and interaction polish */
body.megashop-interactive-storefront {
    scroll-behavior: smooth;
}

.storefront-promo {
    position: relative;
    margin: 20px 0 18px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 26px;
    color: #122014;
    background:
        radial-gradient(circle at 82% 12%, rgba(250, 189, 56, 0.24), transparent 27%),
        radial-gradient(circle at 70% 100%, rgba(12, 132, 75, 0.13), transparent 35%),
        linear-gradient(120deg, #f5fff5 0%, #fff9ed 100%);
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.09);
}

.storefront-promo-stage {
    min-height: 286px;
}

.storefront-promo-slide {
    display: none;
    min-height: 286px;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    align-items: center;
    gap: 20px;
    padding: 36px clamp(24px, 5vw, 58px) 66px;
}

.storefront-promo-slide.is-active {
    display: grid;
    animation: storefrontPromoEnter 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes storefrontPromoEnter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.storefront-promo-copy {
    position: relative;
    z-index: 1;
    max-width: 690px;
}

.storefront-promo-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    color: #14532d;
    background: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.storefront-promo-copy h2 {
    max-width: 650px;
    margin: 15px 0 10px;
    color: #14251a;
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.storefront-promo-copy p {
    max-width: 570px;
    margin: 0 0 20px;
    color: #526157;
    font-size: 1rem;
    line-height: 1.6;
}

.storefront-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 999px;
    color: #fff;
    background: #0d7b3f;
    box-shadow: 0 10px 22px rgba(13, 123, 63, 0.2);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.storefront-promo-cta:hover {
    transform: translateY(-2px);
    color: #fff;
    background: #096332;
    box-shadow: 0 13px 26px rgba(13, 123, 63, 0.25);
}

.storefront-promo-art {
    position: relative;
    justify-self: center;
    width: min(100%, 300px);
    height: 205px;
}

.promo-orbit {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    color: #0d713a;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.11);
}

.promo-orbit-one {
    top: 28px;
    left: 79px;
    width: 116px;
    height: 116px;
    color: #fff;
    background: linear-gradient(135deg, #12965a, #075f37);
    font-size: 42px;
    animation: storefrontFloat 4.6s ease-in-out infinite;
}

.promo-orbit-two {
    top: 12px;
    right: 18px;
    width: 58px;
    height: 58px;
    color: #a85e06;
    background: #fff1cf;
    font-size: 20px;
    animation: storefrontFloat 4s ease-in-out infinite 180ms;
}

.promo-orbit-three {
    bottom: 13px;
    left: 35px;
    width: 66px;
    height: 66px;
    color: #ad3750;
    background: #ffe5ea;
    font-size: 23px;
    animation: storefrontFloat 4.3s ease-in-out infinite 320ms;
}

.promo-art-caption {
    position: absolute;
    right: 1px;
    bottom: 20px;
    color: #496153;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

@keyframes storefrontFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.storefront-promo-controls {
    position: absolute;
    right: 22px;
    bottom: 17px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
}

.storefront-promo-controls > button,
.storefront-promo-dots button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(17, 24, 39, 0.12);
    color: #26382b;
    background: rgba(255, 255, 255, 0.83);
    cursor: pointer;
}

.storefront-promo-controls > button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: transform 160ms ease, background 160ms ease;
}

.storefront-promo-controls > button:hover {
    transform: scale(1.06);
    background: #fff;
}

.storefront-promo-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.storefront-promo-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 32, 20, 0.25);
    transition: width 180ms ease, background 180ms ease;
}

.storefront-promo-dots button.is-active {
    width: 23px;
    background: #0d7b3f;
}

.product-page .image-viewer {
    position: relative;
}

.product-image .product-wishlist,
.product-page .image-viewer .product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 50%;
    color: #253328;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 7px 17px rgba(17, 24, 39, 0.16);
    cursor: pointer;
    font-size: 17px;
    transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.product-image .product-wishlist:hover,
.product-page .image-viewer .product-wishlist:hover {
    transform: scale(1.08);
}

.product-image .product-wishlist.is-saved,
.product-page .image-viewer .product-wishlist.is-saved {
    color: #d92d55;
    background: #fff0f3;
    animation: wishlistPop 260ms ease-out;
}

@keyframes wishlistPop {
    50% { transform: scale(1.2); }
}

.product-image .product-wishlist:focus-visible,
.product-page .image-viewer .product-wishlist:focus-visible,
.storefront-promo button:focus-visible,
.storefront-promo-cta:focus-visible,
.storefront-back-to-top:focus-visible {
    outline: 3px solid #ffb833;
    outline-offset: 3px;
}

body.megashop-interactive-storefront.has-scroll-reveal [data-scroll-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 560ms ease var(--reveal-delay, 0ms), transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

body.megashop-interactive-storefront.has-scroll-reveal [data-scroll-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

body.megashop-interactive-storefront.has-scroll-reveal .product-card.is-revealed:hover {
    transform: translateY(-5px);
}

.storefront-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: calc(100vw - 28px);
    padding: 12px 15px 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: #fff;
    background: rgba(17, 24, 20, 0.96);
    box-shadow: 0 14px 34px rgba(17, 24, 20, 0.25);
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.storefront-toast.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.storefront-toast a {
    color: #ffdf8a;
    font-weight: 800;
    white-space: nowrap;
}

.storefront-back-to-top {
    --scroll-progress: 0deg;
    position: fixed;
    left: 26px;
    bottom: 28px;
    z-index: 1250;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #123322;
    background: conic-gradient(#f0a51d var(--scroll-progress), rgba(13, 123, 63, 0.18) var(--scroll-progress));
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.storefront-back-to-top::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: inherit;
    background: #fff;
}

.storefront-back-to-top span {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    font-size: 17px;
}

.storefront-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.storefront-back-to-top:hover span {
    color: #0d7b3f;
}

.cart-count.cart-count-pop {
    animation: cartCountPop 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cartCountPop {
    45% { transform: scale(1.35); }
}

.quick-cart-btn.is-added {
    border-color: #0d7b3f !important;
    color: #fff !important;
    background: #0d7b3f !important;
}

.quick-cart-btn.is-added i {
    font-size: 17px;
}

@media (max-width: 700px) {
    .storefront-promo {
        margin-top: 12px;
        border-radius: 21px;
    }

    .storefront-promo-stage,
    .storefront-promo-slide {
        min-height: 310px;
    }

    .storefront-promo-slide {
        grid-template-columns: 1fr;
        padding: 27px 22px 72px;
    }

    .storefront-promo-copy h2 {
        max-width: 500px;
        margin-top: 13px;
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }

    .storefront-promo-copy p {
        max-width: 460px;
        font-size: 0.93rem;
    }

    .storefront-promo-art {
        display: none;
    }

    .storefront-promo-controls {
        right: 17px;
        bottom: 15px;
    }

    .product-image .product-wishlist,
    .product-page .image-viewer .product-wishlist {
        top: 6px;
        right: 6px;
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .storefront-toast {
        bottom: 94px;
        font-size: 12px;
    }

    .storefront-back-to-top {
        left: 15px;
        bottom: 160px;
        width: 46px;
        height: 46px;
    }

    .storefront-back-to-top span {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.megashop-interactive-storefront {
        scroll-behavior: auto;
    }

    body.megashop-interactive-storefront.has-scroll-reveal [data-scroll-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .storefront-promo-slide.is-active,
    .promo-orbit,
    .product-image .product-wishlist.is-saved,
    .product-page .image-viewer .product-wishlist.is-saved,
    .cart-count.cart-count-pop,
    .quick-cart-btn.is-added {
        animation: none !important;
    }
}

/* Categories Navigation */
.categories-nav {
    background: #fff;
    padding: 10px 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.categories-nav a {
        text-decoration: none;
    white-space: nowrap;
}

.categories-nav a:hover {
    background: #f0f0f0;
    color: #cc4400;
}

.categories-scroll {
        position: relative;
    padding: 18px 0 12px;
    background: #dcf7e2ad;;
    border-bottom: none;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
}

.category-pill {
        margin: 0;
    padding: 13px 20px;
    border-radius: 999px;
    border: 1.5px solid rgba(17, 24, 39, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
    scroll-snap-align: start;
}

.category-pill:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #000;
}

.category-pill.active {
    background: #cfe9d6;
    border-color: #066712;
    box-shadow: 0 12px 24px rgba(6, 103, 18, 0.12);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.catalog-enhanced-page {
    background:
        radial-gradient(circle at top left, rgba(255, 166, 0, 0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(6, 103, 18, 0.08), transparent 28%),
        linear-gradient(180deg, #f6f4ef 0%, #eef2ef 36%, #f9f9f7 100%);
}

.catalog-enhanced-page .container {
    max-width: 1380px;
}

.catalog-enhanced-page .categories-scroll {
    position: relative;
    padding: 18px 0 12px;
    background: transparent;
    border-bottom: none;
    overflow: visible;
}

.catalog-enhanced-page .categories-nav {
    background: transparent;
    box-shadow: none;
    padding: 0 58px 6px 0;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
}

.catalog-enhanced-page .category-pill {
    margin: 0;
    padding: 13px 20px;
    border-radius: 999px;
    border: 1.5px solid rgba(17, 24, 39, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
    scroll-snap-align: start;
}

.catalog-enhanced-page .category-pill:hover {
    background: #fff;
    border-color: rgba(17, 24, 39, 0.35);
    color: #111827;
    transform: translateY(-1px);
}

.catalog-enhanced-page .category-pill.active {
    background: #ebfff0;
    border-color: #066712;
    color: #0a4a15;
    box-shadow: 0 12px 24px rgba(6, 103, 18, 0.12);
}

.catalog-nav-next {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.catalog-nav-next:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.catalog-nav-next.is-at-end {
    transform: translateY(-50%) rotate(180deg);
}

.catalog-enhanced-page .products-section {
    padding-top: 8px;
}

.catalog-hidden-title {
    display: none;
}

.catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: start;
    padding: 26px 28px;
    border-radius: 28px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 255, 248, 0.98)),
        linear-gradient(135deg, rgba(255, 166, 0, 0.08), rgba(6, 103, 18, 0.06));
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.catalog-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-hero-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff5df;
    color: #a54a00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.catalog-hero-title {
    margin: 0;
    color: #111827;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.02;
    text-align: left;
    padding: 0;
}

.catalog-hero-text {
    margin: 0;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 720px;
}

.catalog-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 24, 39, 0.09);
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}

.catalog-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.catalog-hero-stat {
    border-radius: 20px;
    padding: 16px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}

.catalog-hero-stat strong {
    display: block;
    color: #111827;
    font-size: 1.2rem;
    line-height: 1.1;
    margin-bottom: 6px;
}

.catalog-hero-stat span {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

.catalog-enhanced-page .products-grid {
    gap: 2px;
    padding: 12px 0 22px;
}

.catalog-enhanced-card {
    position: relative;
    border: none;
    border-radius: 18px;
    padding: 8px 8px 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
    overflow: visible;
}

.catalog-enhanced-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
}

.catalog-enhanced-card .product-image {
    height: auto;
    aspect-ratio: 1 / 0.98;
    margin-bottom: 9px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7f7f2 0%, #f0f0eb 100%);
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.03);
}

.catalog-enhanced-card .product-image img {
    border-radius: 14px;
    object-position: center top;
}

.catalog-enhanced-page .product-image-chooser {
    margin: 5px 0 2px;
    gap: 5px;
}

.catalog-enhanced-page .product-image-choice {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.catalog-enhanced-page .product-video {
    display: none;
}

.catalog-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
    z-index: 2;
}

.catalog-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.1);
}

.catalog-card-badge--sale {
    background: #7c3aed;
    color: #fff;
}

.catalog-card-badge--stock {
    background: #ebfff0;
    color: #07621b;
}

.catalog-card-badge--video {
    background: #111827;
    color: #fff;
}

.catalog-card-badge--brand {
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
}

.catalog-enhanced-page .product-info {
    gap: 4px;
}

.catalog-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.catalog-enhanced-page .product-title {
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.25;
    color: #1f2937;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.catalog-enhanced-page .product-description {
    margin: 0;
    color: #62656d;
    font-size: 11px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    min-height: 0;
}

.catalog-enhanced-page .product-brand {
    margin: 0;
    color: #44675b;
    font-size: 11px;
    font-weight: 700;
}

.catalog-enhanced-page .price-box {
    gap: 6px;
    margin: 0;
    flex-wrap: wrap;
    align-items: baseline;
}

.catalog-enhanced-page .old-price {
    color: #8b8f97;
    font-size: 11px;
}

.catalog-enhanced-page .current-price {
    color: #247220;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.catalog-enhanced-page .discount-badge {
    background: #fff2e8;
    color: #cf4f00;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.catalog-highlight-line {
    margin: 0;
    color: #ff7a00;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-proof-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-size: 11px;
}

.catalog-stars {
    color: #0a7703;
    letter-spacing: 0.6px;
    font-size: 10px;
    line-height: 1;
}

.catalog-proof-copy {
    color: #4b5563;
    font-weight: 600;
}

.catalog-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.catalog-seller-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #5b248f;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.catalog-delivery-note {
    margin: 0;
    color: #0c7a22;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    min-height: 34px;
}

.catalog-card-footer--compact {
    justify-content: flex-end;
}

.catalog-enhanced-page .stock-status {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
}

.catalog-enhanced-page .add-to-cart-form {
    margin: 0;
    flex-shrink: 0;
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid #111827;
    background: #088512;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
    position: relative;
    overflow: hidden;
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn img {
    width: 17px;
    height: 17px;
    margin: 0 !important;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn:hover {
    background: #111827;
    transform: translateY(-1px);
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn:hover img {
    filter: brightness(0) invert(1);
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn.is-loading {
    pointer-events: none;
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn.is-loading img,
.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn.is-loading .quick-cart-fallback,
.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn.is-out-of-stock img,
.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn.is-out-of-stock .quick-cart-fallback {
    opacity: 0.28;
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn.is-loading::after {
    content: '';
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    border: 2px solid rgba(17, 24, 39, 0.18);
    border-top-color: #111827;
    animation: catalogSpin 0.8s linear infinite;
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn.is-out-of-stock {
    border-color: #d0d5dd;
    background: #f3f4f6;
    box-shadow: none;
}

.catalog-enhanced-page .add-to-cart-btn.quick-cart-btn.is-out-of-stock:hover {
    background: #f3f4f6;
    transform: none;
}

.quick-cart-fallback {
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

@keyframes catalogSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Make scrollbar invisible but keep functionality */
.categories-scroll::-webkit-scrollbar {
    display: none;
}
.categories-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 600px) {
    .categories-nav {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .categories-nav a {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .category-pill {
        font-size: 11px;
        padding: 6px 12px;
        margin: 0 3px;
    }

    .catalog-enhanced-page .categories-scroll {
        padding: 14px 0 8px;
    }

    .catalog-enhanced-page .categories-nav {
        padding-right: 48px;
    }

    .catalog-enhanced-page .category-pill {
        font-size: 12px;
        padding: 10px 14px;
    }

    .catalog-nav-next {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .catalog-hero {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 22px;
    }

    .catalog-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-enhanced-page .products-grid {
        gap: 3px;
        padding: 10px 0 18px;
    }

    .catalog-enhanced-card {
        border-radius: 14px;
        padding: 6px 6px 8px;
    }

    .catalog-enhanced-card .product-image {
        height: auto;
        aspect-ratio: 1 / 1.18;
        border-radius: 12px;
        margin-bottom: 8px;
        padding: 0;
        background: #f6f3ed;
        box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.03);
    }

    .catalog-enhanced-card .product-image img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: center 18%;
        border-radius: 12px;
    }

    .catalog-enhanced-page .product-title {
        font-size: 12.5px;
    }

    .catalog-enhanced-page .product-description,
    .catalog-proof-row,
    .catalog-delivery-note,
    .catalog-highlight-line {
        font-size: 10.5px;
    }

    .catalog-enhanced-page .current-price {
        font-size: 1rem;
    }

    .catalog-enhanced-page .add-to-cart-btn.quick-cart-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 420px) {
    .catalog-enhanced-card .product-image {
        aspect-ratio: 1 / 1.22;
    }

    .catalog-enhanced-card .product-image img {
        object-position: center 16%;
    }
}

/* Footer Styles */
.footer {
    background:#0c1a06;
    color: #fff;
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 20px 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
}

.footer-column ul li a:hover {
    color: #fff;
}

.app-download {
    margin-top: 20px;
}

.app-download h3 {
    margin-bottom: 15px;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 14px;
}

.store-buttons {
    display: flex;
    gap: 10px;
}

.store-button {
    padding: 8px 15px;
    border: 1px solid #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    font-size: 20px;
}
.nav-link .cart-icon {
    width: 30px;
    border-radius: 9px;
}

.cart-icon {
    width: 42px;
    height: auto;
    vertical-align: middle;
    position: relative;
    border-radius: 10px;
}


/* Main Navigation */
.main-nav {
   background: #b82d03d6;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.main-nav #cart-count, .main-nav .cart-count:not(.bottom-nav-cart-count) {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #066712;
    border: 2px solid #3aed1cbf;
    font-size: 10px;
    font-weight: 800;
    padding: 0 5px;
    box-shadow: 0 6px 14px rgba(10, 58, 0, 0.25);
}

.customer-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
    width: 100%;
}

.customer-heading {
    color: #066712;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

@media (max-width: 600px) {
    .customer-container {
        margin: 20px auto;
    }
    
    .customer-heading {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

.order-summary {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.order-summary h3 {
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #066712;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.order-item-name {
    color: #333;
    font-weight: 500;
}

.order-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #eee;
    font-size: 1.2em;
    color: #066712;
    font-weight: bold;
    text-align: right;
}

.customer-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #066712;
    outline: none;
    box-shadow: 0 0 0 3px rgba(6,103,18,0.1);
}

.checkout-button {
    background: #066712;
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-button:hover {
    background: #542794;
}

/* Payment Section Styles */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    color: #066712;
    margin-bottom: 20px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.payment-group {
    position: relative;
}

.payment-group input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 2px solid #055a07;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-label img {
    height: 40px;
    width: auto;
    margin-bottom: 8px;
}

.payment-label span {
    font-size: 14px;
    text-align: center;
}

.payment-group input[type="radio"]:checked + .payment-label {
    border-color: #066712;
    background: #f8fff8;
}

.payment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .order-summary,
    .customer-form {
        padding: 20px;
        margin-bottom: 15px;
    }
}
.checkout-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.checkout-heading {
    color: #066712;
    margin-bottom: 25px;
    font-size: 28px;
}

.order-success-icon {
    color: #066712;
    font-size: 48px;
    margin-bottom: 20px;
}

.order-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    text-align: left;
}

.order-id {
    color: #066712;
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
}

.order-total {
    font-size: 24px;
    color: #333;
    margin: 15px 0;
}

.contact-info {
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.continue-shopping {
    display: inline-block;
    background: #066712;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.continue-shopping:hover {
    background: #044d0e;
    color: white;
}

/* Delivery Options Styles */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.delivery-group {
    position: relative;
}

.delivery-group input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.delivery-label {
    display: block;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delivery-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.delivery-type {
    font-weight: bold;
    color: #333;
    grid-column: 1;
}

.delivery-time {
    color: #666;
    grid-column: 1;
}

.delivery-cost {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-weight: bold;
    color: #066712;
}

.delivery-group input[type="radio"]:checked + .delivery-label {
    border-color: #066712;
    background: #f8fff8;
}

.order-total-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.total-final {
    border-bottom: none;
    font-size: 1.2em;
    font-weight: bold;
    color: #066712;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .customer-container {
        margin: 20px auto;
    }
    
    .order-summary,
    .customer-form {
        padding: 20px;
    }
    
    .customer-heading {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .main-nav {
        flex-direction: column;
        padding: 6px;
    }
    .logo h1 {
        font-size: 16px;
    }
    .search-bar input {
        font-size: 0.9em;
        padding: 8px 30px 8px 10px;
    }
    .nav-actions {
        gap: 5px;
    }
    .category-pill {
        font-size: 10px;
        padding: 4px 8px;
    }
    .footer {
        padding: 10px 2px;
    }
    .footer-column h3 {
        font-size: 12px;
    }
    .footer-column ul li a {
        font-size: 10px;
    }
}

/* Extra mobile tweaks */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Bottom Navigation for Mobile */
@media (max-width: 700px) {
    body {
        padding-bottom: 88px;
    }

    .bottom-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        height: 72px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 8px;
        margin: 0;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: linear-gradient(135deg, #be3f00, #8f2f00);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
        z-index: 1300;
        backdrop-filter: blur(8px);
    }

    .bottom-nav-link {
        text-decoration: none;
        color: rgba(255, 255, 255, 0.88);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 12px;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        min-width: 0;
    }

    .bottom-nav-link:hover {
        color: #fff8d6;
        background: rgba(255, 255, 255, 0.08);
    }

    .bottom-nav-link.active {
        color: #ffe15a;
        background: rgba(0, 0, 0, 0.22);
        transform: translateY(-1px);
    }

    .bottom-nav-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.14);
    }

    .bottom-nav-link.active .bottom-nav-icon {
        background: rgba(255, 225, 90, 0.2);
    }

    .bottom-nav-icon svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .bottom-nav-icon svg rect {
        fill: currentColor;
        stroke: none;
    }

    .bottom-nav-label {
        font-size: 11px;
        line-height: 1;
        font-weight: 700;
        white-space: nowrap;
    }
}

@media (min-width: 701px) {
    .bottom-nav {
        display: none !important;
    }
}

.product-section {
    margin: 20px;
    color: brown;
    background-color: turquoise;
}

.no-products {
    color: #cc5500;
    font-size: 16px;
    padding: 20px;
    text-align: center;
    background: #fffbe6;
    border-radius: 8px;
    margin: 20px 0;
}

/* ==================== WHATSAPP BUTTON ==================== */
        .whatsapp-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            color: white;
            padding: 16px 20px;
            border-radius: 50px;
            text-decoration: none;
            z-index: 999;
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
            transition: all 0.3s;
        }

        .whatsapp-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
        }

        .whatsapp-btn i {
            font-size: 18px;
        }

.mobile-cart-popup {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 78px;
    z-index: 1200;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.96);
    color: #fff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.mobile-cart-popup.show {
    display: flex;
}

.mobile-cart-popup-media {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #f2f2f2;
    flex-shrink: 0;
}

.mobile-cart-popup-media img,
.mobile-cart-popup-placeholder {
    width: 100%;
    height: 100%;
}

.mobile-cart-popup-media img {
    object-fit: cover;
}

.mobile-cart-popup-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 11px;
    background: #f5f5f5;
}

.mobile-cart-popup-body {
    min-width: 0;
    flex: 1;
}

.mobile-cart-popup-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.mobile-cart-popup-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
}

.mobile-cart-popup-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(10, 10, 10, 0.92);
}

.image-lightbox.show {
    display: flex;
}

.image-lightbox-dialog {
    width: min(92vw, 520px);
    max-height: 90vh;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.image-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #ececec;
}

.image-lightbox-title {
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.image-lightbox-close {
    border: 0;
    background: transparent;
    color: #111;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-body {
    padding: 14px;
    background: #f8f8f8;
}

.image-lightbox-body img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    background: #fff;
}

        @media (max-width: 768px) {
            .whatsapp-btn {
         bottom: 159px;
        right: 0px;
        padding: 8px 18px;
        font-size: 13px;
            }
        }

@media (min-width: 769px) {
    .mobile-cart-popup {
        display: none !important;
    }
}
.badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    color: #fff;
}

/* Colors like your UI */
.badge.sale { background: #7c3aed; }      /* purple */
.badge.new { background: #111827; }       /* black */
.badge.low { background: #22c55e; }       /* green */
.badge.ready { background: #16a34a; }     /* darker green */
.badge.out { background: #dc2626; }       /* red */

.rating {
    font-size: 10px;
    margin-top: 5px;
    color:  hsl(22, 90%, 47%);

}




.delivery {
    font-size: 13px;
    color: #28a745;
    margin-top: 6px;
}

.rating i {
    font-size: 9px;
}
/* CATEGORY HEADER WRAPPER */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;

    background: #ffffff;
    border-radius: 14px;
    padding: 20px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* LEFT SIDE */
.category-left {
    flex: 1;
}

/* BADGE */
.category-left .badge {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* TITLE */
.category-left h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 5px 72px;
    background: #dddd;
    border-color: #07621b;
    border-radius: 10px;
    color: #0e6218;
}

/* DESCRIPTION */
.category-left p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* TAGS */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tags span {
    background: #f1f3f5;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #333;
}

/* RIGHT SIDE */
.category-right {
    display: flex;
    gap: 15px;
}

/* STAT BOX */
.stat-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px 18px;
    min-width: 80px;
    text-align: center;

    transition: 0.3s ease;
}

/* HOVER EFFECT */
.stat-box:hover {
    background: #148e0c;
    color: #fff;
    transform: translateY(-3px);
}

/* NUMBERS */
.stat-box h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
}

/* LABEL */
.stat-box p {
    font-size: 12px;
    margin-top: 5px;
    color: #1e892a;
}

/* FIX TEXT COLOR ON HOVER */
.stat-box:hover p {
    color: #fff;
}@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
    }

    .category-right {
        justify-content: space-between;
        width: 100%;
    }

    .stat-box {
        flex: 1;
    }

    .category-left h1 {
        font-size: 20px;
    }
}.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10 15px;
    width: 100%;
    box-sizing: border-box;
}
/* TRUST BAR */
.trust-bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
    padding: 20px;
    background: #f8f9f8;
    border-radius: 16px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.trust-item i {
    font-size: 22px;
    color: #28a745;
    background: #eaf7ee;
    padding: 10px;
    border-radius: 50%;
}

.trust-item strong {
    display: block;
    font-size: 14px;
    color: #222;
}

.trust-item p {
    font-size: 12px;
    color: #777;
    margin: 0;
}

/* CONFIDENCE BAR */
.confidence-bar {
    margin-top: 15px;
    background: #eef7f0;
    color: #2e7d32;
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.confidence-bar i {
    margin-right: 6px;
}.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}.view-btn {
    display: inline-block;
    padding: 6px 4px;
    background: linear-gradient(135deg, #25680ccf, #0f1906);
    color: #fff;
    border-radius: 6px;
    text-align: center;
    font-size: 10px;
}
