:root {
    /* Brand: PulsePace orange and black, taken from the logo artwork. */
    --color-primary: #ff541e;
    --color-primary-hover: #e6430f;
    /* Text/links on white — WCAG AA (~4.5:1). */
    --color-primary-text: #b8320a;
    /* Filled controls with white label text — darker fill for AA. */
    --color-primary-solid: #b8320a;
    --color-primary-soft: rgba(255, 84, 30, 0.1);
    --color-black: #141414;
    --color-gray: #5c5c5c;
    --color-gray-light: #5c5c5c;
    --color-red: #c01620;
    --color-green: #1f7a3a;
    --color-border: #e8e7eb;
    --color-bg: #f5f6f7;
    --radius: 8px;
    --radius-card: 10px;
    --shadow: 0 8px 30px rgba(25, 25, 25, 0.08);
    --container: 1380px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
    scroll-behavior: smooth;
    overflow-x: clip;
}
body.store {
    margin: 0;
    font-family: var(--font-brand, system-ui, sans-serif);
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-black);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.container { width: 100%; max-width: calc(var(--container) + 30px); margin: 0 auto; padding: 0 15px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 45px;
    padding: 0 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--color-primary-solid); color: #fff; }
.btn-primary:hover { background: #9e2a08; color: #fff; }
.btn-primary:disabled { background: #e3b9aa; }
.btn-default { border: 1px solid var(--color-border); background: #fff; }
.btn-default:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-block { width: 100%; }

.top-nav-wrap { border-bottom: 1px solid var(--color-border); font-size: 14px; }
.top-nav { display: flex; align-items: center; justify-content: space-between; min-height: 39px; }
.top-nav-left { color: var(--color-black); }
.top-nav-right { display: flex; align-items: center; }
.top-nav-right li { display: flex; align-items: center; }
.top-nav-right li + li::before { content: ""; width: 1px; height: 12px; background: var(--color-border); margin: 0 14px; }
.top-nav-right a, .top-nav-right button { display: inline-flex; align-items: center; gap: 6px; }
.top-nav-right .icon { width: 16px; height: 16px; }
.top-nav-right button:hover { color: var(--color-primary); }

.header-wrap { background: #fff; }
.header-wrap-inner { display: flex; align-items: center; gap: 30px; min-height: 107px; }
.sidebar-menu-icon { display: none; }
.header-logo { flex: none; width: 262px; }
.header-logo img { width: auto; height: 38px; max-width: 100%; object-fit: contain; object-position: left center; }
.header-search-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    height: 63px;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.header-search-wrap .search-input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 10px 15px 10px 20px;
    border: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    background: #f2f4f5;
    outline: none;
    font-size: 14px;
}
.header-search-wrap .search-category {
    width: 170px;
    height: 52px;
    padding: 0 14px;
    border: 0;
    border-left: 1px solid #e3e5e7;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: #f2f4f5;
    outline: none;
    font-size: 14px;
    color: var(--color-gray);
    cursor: pointer;
}
.header-search-wrap .btn-search {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-left: 5px;
    border-radius: var(--radius);
    background: var(--color-primary);
    color: #fff;
}
.header-search-wrap .btn-search:hover { background: var(--color-primary-hover); }
.search-result-heading { display: grid; gap: 4px; }
.search-count { margin: 0; color: var(--color-gray); font-size: 14px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.shop-related { margin-top: 36px; }
.shop-related h2 { font-size: 22px; margin: 0 0 16px; }
.search-suggestions a.is-active,
.search-suggestions a:focus-visible { background: #f2f4f5; outline: none; }
.search-suggestions .suggest-copy { display: grid; gap: 2px; min-width: 0; }
.search-suggestions .suggest-copy b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestions .suggest-copy small { color: var(--color-gray); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestions .suggest-all {
    display: block;
    grid-template-columns: none;
    margin-top: 4px;
    padding: 10px;
    border-top: 1px solid #e8ebed;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 13px;
}
.search-suggestions .suggest-all:hover { background: #f2f4f5; }
.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.search-suggestions .suggest-heading,
.search-suggestions h6 { margin: 0; padding: 6px 10px; font-size: 13px; color: var(--color-gray); font-weight: 500; }
.search-suggestions a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.search-suggestions a:hover { background: #f2f4f5; color: inherit; }
.search-suggestions img { width: 48px; height: 48px; object-fit: contain; }
.search-suggestions strong { color: var(--color-primary); font-weight: 500; }

.header-column-right { display: flex; align-items: center; gap: 22px; flex: none; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 44px; min-height: 44px; color: var(--color-black); }
.header-icon:hover { color: var(--color-primary); }
.icon-wrap { position: relative; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
.header-icon .icon { width: 28px; height: 28px; }
.count {
    position: absolute;
    top: -6px;
    right: -9px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    border: 2px solid #fff;
}
.header-cart-text { display: grid; text-align: left; line-height: 1.3; }
.header-cart-text small { font-size: 13px; color: var(--color-gray); }
.header-cart-text strong { font-size: 15px; font-weight: 600; }

.navigation-wrap { position: relative; z-index: 40; background: #fff; }
.navigation-wrap.is-stuck { position: sticky; top: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.navigation-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 54px;
    padding: 4px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.category-nav { position: relative; flex: none; width: 262px; }
.category-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 45px;
    padding: 11px 20px 10px 30px;
    border-radius: 5px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
}
.category-dropdown-wrap {
    position: absolute;
    top: calc(100% + 35px);
    left: -5px;
    width: 262px;
    z-index: 30;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.category-dropdown-wrap::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 40px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
    transform: rotate(45deg);
}
.category-nav:hover .category-dropdown-wrap,
.category-nav:focus-within .category-dropdown-wrap,
.category-nav.is-home .category-dropdown-wrap {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.category-nav.is-home .category-dropdown-wrap { min-height: 460px; }
/* On the home page the category menu sits beside the hero. Once the page is scrolled and the bar sticks to the top,
   it must not travel down with the bar: it only opens again when the visitor points at "All Categories". */
.navigation-wrap.is-stuck .category-nav.is-home .category-dropdown-wrap { min-height: 0; opacity: 0; visibility: hidden; transform: translateY(10px); }
.navigation-wrap.is-stuck .category-nav.is-home:hover .category-dropdown-wrap,
.navigation-wrap.is-stuck .category-nav.is-home:focus-within .category-dropdown-wrap { opacity: 1; visibility: visible; transform: none; }
.category-dropdown { position: relative; padding: 14px 0; }
.category-dropdown > li { position: relative; }
.category-dropdown .menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 24px;
    font-size: 15px;
    color: var(--color-black);
}
.category-dropdown .menu-item-icon { display: grid; place-items: center; width: 22px; color: var(--color-gray); }
.category-dropdown .menu-item-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-dropdown .menu-item-arrow { width: 16px; height: 16px; color: var(--color-gray); }
.category-dropdown > li:hover > .menu-item,
.category-dropdown > li:hover .menu-item-icon { color: var(--color-primary); }
.category-dropdown .more-categories { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--color-border); }
.fluid-menu-wrap {
    position: absolute;
    top: -14px;
    left: 100%;
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 240px;
    min-height: calc(100% + 28px);
    padding: 24px 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0 var(--radius) var(--radius) 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease;
}
.has-sub:hover > .fluid-menu-wrap, .has-sub:focus-within > .fluid-menu-wrap { opacity: 1; visibility: visible; }
.fluid-menu-wrap h6 { margin-bottom: 8px; font-size: 16px; font-weight: 500; }
.fluid-menu-wrap a { padding: 4px 0; color: var(--color-gray); font-size: 14px; }
.fluid-menu-wrap a:hover { color: var(--color-primary); }
.fluid-menu-wrap small { color: var(--color-gray-light); }

.navbar-nav { display: flex; align-items: center; gap: 34px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.navbar-nav::-webkit-scrollbar { display: none; }
.navbar-nav a { padding: 12px 0; font-size: 15px; white-space: nowrap; }
.navbar-nav a.active { color: var(--color-primary); }
.navigation-hotline { display: flex; align-items: center; gap: 10px; flex: none; padding-right: 16px; }
.navigation-hotline .icon { width: 30px; height: 30px; color: var(--color-primary); }
.navigation-hotline span { display: grid; line-height: 1.3; font-weight: 500; }
.navigation-hotline small { font-size: 12px; color: var(--color-gray); font-weight: 400; }

.content-wrapper { min-height: 50vh; }

.home-section-wrap { margin-top: 30px; }
.home-section-inner { display: grid; grid-template-columns: 262px minmax(0, 1fr) 367px; gap: 24px; align-items: stretch; }
.home-slider {
    position: relative;
    overflow: hidden;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(25, 25, 25, .06);
}
.home-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.home-slider .slide.is-active { opacity: 1; pointer-events: auto; }
.home-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.slide-fallback { display: grid; place-content: center; gap: 16px; text-align: center; font-size: 28px; }
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
    opacity: 0;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}
.home-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: var(--color-primary); color: #fff; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 4px; }
.slider-dots button {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: transparent;
}
.slider-dots button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(25, 25, 25, .25);
    transform: translate(-50%, -50%);
    transition: width .25s ease, background-color .25s ease;
}
.slider-dots button.is-active::after { width: 28px; background: var(--color-primary); }
.home-banner-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: stretch;
    min-height: 0;
}
.home-banner-wrap .banner {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(25, 25, 25, .06);
}
.home-banner-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Fill the side cards edge-to-edge (contain left white side bars). */
    object-fit: cover;
    object-position: left center;
    display: block;
    transition: transform .4s ease;
}
.home-banner-wrap .banner:hover img { transform: scale(1.02); }

.features-wrap { margin-top: 50px; }
.features { display: grid; grid-template-columns: repeat(5, 1fr); padding: 30px 0; border: 1px solid var(--color-border); border-radius: var(--radius); }
.single-feature { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 0 15px; }
.single-feature + .single-feature { border-left: 1px solid var(--color-border); }
.single-feature .icon { width: 38px; height: 38px; color: var(--color-primary); }
.single-feature h6 { font-size: 14px; font-weight: 500; text-transform: uppercase; }
.single-feature span { display: block; font-size: 13px; color: var(--color-gray); font-weight: 300; }

.listing-intro { margin: 8px 0 0; max-width: 42rem; color: var(--color-gray); font-size: 15px; line-height: 1.6; }
.home-intro-wrap { margin: 48px 0 0; padding: 0 0 8px; }
.home-intro-text a { color: var(--color-primary-text); text-decoration: underline; }
.home-intro { max-width: 720px; }
.home-intro-title {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-black);
}
.home-intro-text {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-gray);
}

.featured-categories-wrap, .landscape-tab-products-wrap, .grid-products-wrap, .vertical-products-wrap, .blog-posts-wrap { margin-top: 50px; }
.featured-categories-header { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.featured-categories-text { max-width: 530px; }
.featured-categories-text .title { font-size: 28px; font-weight: 400; line-height: 1.3; }
.featured-categories-text .excerpt { display: block; margin-top: 10px; color: var(--color-gray); font-weight: 300; }
.featured-categories-tabs { display: flex; gap: 20px; }
.featured-categories-tabs .tab-item {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    width: 120px;
    font: inherit;
    text-align: center;
    color: inherit;
    height: 110px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.featured-categories-tabs .tab-item:hover, .featured-categories-tabs .tab-item.active { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary) inset; }
.featured-category-image { display: grid; place-items: center; width: 54px; height: 54px; }
.featured-category-image img { width: 100%; height: 100%; object-fit: contain; }
.featured-category-image .icon { width: 36px; height: 36px; color: var(--color-gray); }
.featured-category-name { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.tab-item.active .featured-category-name { color: var(--color-black); }

.product-grid { display: grid; gap: 12px; }
.product-grid-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.product-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.empty-state { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--color-gray); background: var(--color-bg); border-radius: var(--radius); }

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { border-color: transparent; box-shadow: 0 10px 30px rgba(25, 25, 25, .1); }
.product-card-top { position: relative; padding: 5px; }
.product-card .product-image { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.product-card .product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--color-bg); color: var(--color-gray-light); }
.image-placeholder .icon { width: 44px; height: 44px; }
.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    gap: 6px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .25s ease, transform .25s ease;
}
.product-card:hover .product-card-actions, .product-card:focus-within .product-card-actions { opacity: 1; transform: none; }
.product-card-actions button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    color: #292d32;
}
.product-card-actions button:hover { background: var(--color-primary); color: #fff; }
.product-card-actions button.added {
    background: #fff5f0;
    color: var(--color-primary);
    box-shadow: 0 0 0 1.5px var(--color-primary), 0 2px 10px rgba(255, 84, 30, .2);
}
.product-card-actions button.added:hover { background: var(--color-primary); color: #fff; }
.product-card-actions .icon { width: 17px; height: 17px; }
.product-badge { position: absolute; top: 12px; left: 12px; display: grid; justify-items: start; gap: 5px; }
.badge { display: inline-block; padding: 5px 8px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 500; line-height: 1; }
.badge-danger { background: var(--color-red); }
.badge-success { background: var(--color-green); }
.product-card-middle { padding: 0 12px; }
.product-name { padding-bottom: 8px; font-size: 15px; font-weight: 400; line-height: 1.4; }
.product-rating { display: flex; align-items: center; gap: 6px; height: 16px; }
.product-rating small { font-size: 12px; color: var(--color-gray-light); }
.rating-stars { position: relative; display: inline-block; font-size: 12px; line-height: 1; letter-spacing: 2px; }
.rating-stars::before { content: "★★★★★"; color: #e1e1e1; }
.rating-stars::after { content: "★★★★★"; position: absolute; top: 0; left: 0; width: var(--rating, 0%); overflow: hidden; color: #f5a623; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 12px; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; font-weight: 600; color: var(--color-primary-text); }
.product-price del { font-size: 13px; font-weight: 400; color: var(--color-gray-light); }
.product-price-lg { font-size: 22px; }
.product-price-lg del { font-size: 15px; }
.btn-add-to-cart {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 84, 30, .2);
    border-radius: 6px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    transition: background-color .2s ease, color .2s ease;
}
.btn-add-to-cart:hover { background: var(--color-primary); color: #fff; }
.btn-add-to-cart:disabled { background: #f2f2f2; border-color: #ececec; color: #b5b5b5; }
.btn-add-to-cart .icon { width: 17px; height: 17px; }
.product-card.is-out .product-image img { opacity: .55; }

.banner-wrap { margin-top: 50px; }
.three-column-full-width-banner {
    padding: 48px 0;
    background: linear-gradient(180deg, #f8f6f4 0%, #f3f1ef 100%);
}
.banner-row { display: grid; gap: 20px; }
.banner-row-narrow-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.banner-row-2 { grid-template-columns: 1fr 1fr; }
.banner-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promo-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(140px, 0.95fr);
    align-items: stretch;
    overflow: hidden;
    min-height: 200px;
    border: 1px solid rgba(25, 25, 25, .08);
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-black);
    box-shadow: 0 10px 28px rgba(25, 25, 25, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.promo-banner:hover {
    color: var(--color-black);
    transform: translateY(-2px);
    border-color: rgba(25, 25, 25, .12);
    box-shadow: 0 14px 34px rgba(25, 25, 25, .08);
}
.promo-media {
    display: grid;
    place-items: center;
    min-height: 200px;
    padding: 16px;
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .55), transparent 45%),
        color-mix(in srgb, var(--tone, #fff1e6) 70%, #fff);
}
.promo-banner img {
    position: static;
    width: 100%;
    height: 100%;
    max-height: 168px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: normal;
    transition: transform .4s ease;
}
.promo-banner:hover img { transform: scale(1.04); }
.promo-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    max-width: none;
    padding: 22px 8px 22px 22px;
}
.promo-text small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-gray);
}
.promo-text strong {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.promo-text em {
    font-style: normal;
    font-size: 14px;
    color: var(--color-gray);
}
.promo-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--color-primary-solid);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: background-color .2s ease;
}
.promo-link::after { content: "→"; }
.promo-banner:hover .promo-link { background: #9e2a08; color: #fff; }
.promo-wide { min-height: 200px; }
.promo-wide .promo-text { padding: 26px 12px 26px 28px; }
.promo-wide .promo-text strong { font-size: 26px; }
.promo-wide .promo-media { min-height: 220px; }
.promo-wide img { max-height: 190px; }
.two-column-banner .promo-banner { min-height: 210px; }
.three-column-banner .promo-banner { min-height: 190px; }
.promo-full {
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
    min-height: 280px;
}
.promo-full .promo-text { padding: 40px 20px 40px 48px; }
.promo-full .promo-text strong { font-size: 40px; font-weight: 500; }
.promo-full .promo-text em { font-size: 17px; }
.promo-full .promo-media { min-height: 280px; }
.promo-full img { max-height: 240px; }

.tab-products-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.tab-products-header .tabs { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.tab-products-header .tab-item {
    position: relative;
    padding: 14px 0;
    color: var(--color-gray);
    white-space: nowrap;
    cursor: pointer;
    font: inherit;
    text-align: inherit;
    transition: color .2s ease;
}
.tab-products-header .tab-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform .25s ease;
}
.tab-products-header .tab-item:hover { color: var(--color-black); }
.tab-products-header .tab-item.active { color: var(--color-black); font-weight: 600; }
.tab-products-header .tab-item.active::after { transform: scaleX(1); }
.section-title { position: relative; padding-bottom: 13px; font-size: 18px; font-weight: 500; }
.section-title span { color: var(--color-primary); }
.tab-products-header-split .section-title { padding: 14px 0; }
.tab-products-header-split .section-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 70px; height: 2px; background: var(--color-primary); }

.carousel { position: relative; }
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 7);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 0 20px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-arrow {
    position: absolute;
    top: 42%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.carousel-arrow:hover { background: var(--color-primary); color: #fff; }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }
/* Stay inside .container's 15px padding so arrows don't force a page-wide horizontal scrollbar. */
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

.top-brands-wrap { margin-top: 30px; padding: 28px 0; }
.top-brands { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 0; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--color-border); border-radius: var(--radius); }
.top-brands::-webkit-scrollbar { display: none; }
.top-brand-image { display: grid; place-items: center; height: 100px; padding: 18px 26px; }
.top-brand-image + .top-brand-image { border-left: 1px solid var(--color-border); }
.top-brand-image img { max-height: 55px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s ease, opacity .25s ease; }
.top-brand-image:hover img { filter: none; opacity: 1; }

.vertical-products-row {
    display: grid;
    grid-template-columns: minmax(250px, 300px) repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.daily-deals-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 0;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 25, 25, .04);
}
.daily-deals-slider {
    position: relative;
    flex: 1 1 auto;
    min-height: 320px;
}
.daily-deals-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}
.daily-deals-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.daily-deals-slider .slider-arrow { opacity: 0; }
.daily-deals-slider:hover .slider-arrow { opacity: 1; }
.daily-deals-slider .slider-dots { bottom: 8px; }
.daily-deals-slide .daily-deals-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.daily-deals-slide .daily-deals-info { margin-top: auto; }
.daily-deals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}
.daily-deals-header .section-title {
    padding-bottom: 0;
    font-size: 18px;
    font-weight: 500;
}
.daily-deals-header .section-title span { color: var(--color-primary-text); }
.daily-deals-countdown { display: flex; gap: 4px; flex-shrink: 0; }
.daily-deals-countdown span {
    display: grid;
    justify-items: center;
    min-width: 34px;
    padding: 4px 3px;
    border-radius: 5px;
    background: var(--color-primary-soft);
}
.daily-deals-countdown b { font-size: 13px; font-weight: 600; line-height: 1.1; color: var(--color-primary-text); }
.daily-deals-countdown small { font-size: 9px; color: var(--color-gray); text-transform: uppercase; }
.daily-deals-body { display: grid; gap: 12px; }
.daily-deals-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 180px;
    overflow: hidden;
    border-radius: calc(var(--radius) - 2px);
    background: var(--color-bg, #f7f7f7);
}
.daily-deals-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.daily-deals-image .badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    font-size: 11px;
    padding: 4px 8px;
}
.daily-deals-info { display: grid; gap: 8px; }
.daily-deals-brand { font-size: 11px; color: var(--color-gray); text-transform: uppercase; letter-spacing: .06em; }
.daily-deals-name {
    text-align: left;
    font-size: 14px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.daily-deals-name:hover { color: var(--color-primary-text); }
.daily-deals-info .product-price { font-size: 16px; font-weight: 600; color: var(--color-primary-text); }
.daily-deals-info .product-price del { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--color-gray); }
.daily-deals-wrap .btn-sm {
    height: 40px;
    font-size: 13px;
    gap: 6px;
}
.daily-deals-wrap .btn-sm .icon { width: 16px; height: 16px; }
.deal-progress-text { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-gray); margin-bottom: 6px; }
.deal-progress-text b { color: var(--color-black); font-weight: 500; }
.progress { height: 5px; overflow: hidden; border-radius: 5px; background: #f0e9e6; }
.progress-bar { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--color-primary), #ff8a5c); }

.vertical-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 25, 25, .04);
}
.vertical-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}
.vertical-products-header .section-title {
    padding-bottom: 0;
    font-size: 18px;
    font-weight: 500;
}
.vertical-products-header .section-title::after { display: none; }
.vertical-products-more {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary-text);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.vertical-products-more:hover { color: #9e2a08; text-decoration: underline; }
.vertical-products-list {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
}
.vertical-product-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 0;
    height: 100%;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: calc(var(--radius) - 2px);
    background: var(--color-bg, #fafafa);
    text-decoration: none;
    color: inherit;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.vertical-product-card:hover {
    background: #fff;
    border-color: var(--color-border);
    box-shadow: 0 6px 16px rgba(25, 25, 25, .06);
    transform: translateY(-1px);
}
.vertical-product-card .product-image {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
}
.vertical-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.vertical-product-card .product-info { display: grid; gap: 4px; min-width: 0; }
.vertical-product-card .product-name {
    padding: 0;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vertical-product-card:hover .product-name { color: var(--color-primary-text); }
.vertical-product-card .product-rating { height: auto; gap: 4px; }
.vertical-product-card .product-rating small { font-size: 11px; }
.vertical-product-card .rating-stars { font-size: 10px; letter-spacing: 1px; }
.vertical-product-card .product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-text);
}
.vertical-product-card .product-price del {
    margin-left: 5px;
    font-size: 12px;
    font-weight: 400;
    color: var(--color-gray);
}

.blog-posts-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.blog-posts-header .section-title { padding: 14px 0; }
.blog-posts-header .section-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 70px; height: 2px; background: var(--color-primary); }
.blog-posts-header a { font-size: 14px; color: var(--color-primary); }
.blog-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.blog-post { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); transition: box-shadow .25s ease; }
.blog-post:hover { box-shadow: var(--shadow); }
.blog-post-featured-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-bg); }
.blog-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-post:hover .blog-post-featured-image img { transform: scale(1.05); }
.blog-post-body { display: grid; gap: 10px; padding: 18px 20px 20px; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--color-gray); }
.blog-post-meta li { display: inline-flex; align-items: center; gap: 6px; }
.blog-post-meta .icon { width: 15px; height: 15px; }
.blog-post-title { font-size: 17px; font-weight: 500; line-height: 1.4; }
.blog-post-read-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--color-primary); }
.blog-post-read-more .icon { width: 15px; height: 15px; }

.subscribe-wrap { margin-top: 60px; background: var(--color-black); color: #fff; }
.subscribe { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; max-width: 1068px; min-height: 119px; margin: 0 auto; padding: 30px 0; }
.subscribe-text .title { display: block; font-size: 30px; font-weight: 500; line-height: 1.1; }
.subscribe-text .sub-title { display: block; margin-top: 8px; font-size: 15px; font-weight: 300; opacity: .9; }
.subscribe-field { position: relative; display: flex; flex-wrap: wrap; }
.subscribe-field input { flex: 1; min-width: 0; height: 54px; padding: 0 140px 0 22px; border: 0; border-radius: var(--radius); outline: none; color: var(--color-black); }
.btn-subscribe { position: absolute; top: 5px; right: 5px; height: 44px; padding: 0 24px; border-radius: 6px; background: var(--color-primary-solid); color: #fff; }
.btn-subscribe:hover { background: #9e2a08; color: #fff; }
.form-message { flex-basis: 100%; margin-top: 8px; font-size: 13px; }
.form-error { color: #ffe0e0; }

.footer-wrap { padding-top: 50px; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 40px; }
.footer .title { margin-bottom: 18px; font-size: 18px; font-weight: 500; }
.contact-info { display: grid; gap: 12px; }
.contact-info li { display: flex; gap: 10px; font-size: 14px; color: var(--color-gray); }
.contact-info .icon { width: 18px; height: 18px; color: var(--color-primary); margin-top: 2px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social-links a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}
.social-links a:hover { background: var(--color-primary); color: #fff; }
.footer-links ul { display: grid; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--color-gray); }
.footer-links a:hover { color: var(--color-primary); }
.footer-tags .list-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags a { display: inline-block; padding: 5px 12px; border: 1px solid var(--color-border); border-radius: 5px; font-size: 13px; }
.footer-tags a:hover { border-color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--color-border); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding-top: 12px; padding-bottom: 12px; }
.footer-text { font-size: 14px; color: var(--color-gray); }
.footer-text a { color: var(--color-primary-text); font-weight: 500; }

.shop-wrap { padding: 30px 0 10px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; color: var(--color-gray); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--color-gray-light); }
.shop-layout { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 40px; align-items: start; }
.search-result-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }

.page-wrap { padding: 30px 0 20px; }
.page-content { max-width: 920px; }
.page-content h1 { font-size: 32px; font-weight: 500; margin-bottom: 20px; }
.page-content .page-hero { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.page-body { display: grid; gap: 14px; color: #3d3d3d; line-height: 1.8; }
.page-body img { height: auto; border-radius: var(--radius); }

.drawer, .modal { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; width: 100%; background: rgba(15, 20, 30, .5); animation: fade .2s ease; }
.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(400px, 100%);
    height: 100%;
    background: #fff;
    animation: slide-in .25s ease;
}
.drawer-left .drawer-panel { right: auto; left: 0; animation-name: slide-in-left; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--color-border); }
.drawer-header h2 { font-size: 18px; font-weight: 500; }
.drawer-close { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-bg); }
.drawer-close:hover { background: var(--color-primary); color: #fff; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-body .category-dropdown { padding: 0; margin: 0 -24px; }
.drawer-body .fluid-menu-wrap { position: static; display: grid; min-height: 0; padding: 0 24px 8px 60px; border: 0; opacity: 1; visibility: visible; }
.drawer-body .fluid-menu-wrap h6, .drawer-body .menu-item-arrow { display: none; }
.drawer-footer { display: grid; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--color-border); }
.drawer-subtotal { display: flex; justify-content: space-between; font-size: 16px; }
.drawer-subtotal strong { color: var(--color-primary-text); font-weight: 600; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-note { font-size: 13px; color: var(--color-gray); }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.cart-item img, .cart-item .image-placeholder { width: 70px; height: 70px; object-fit: contain; border: 1px solid var(--color-border); border-radius: 6px; }
.cart-item strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 400; }
.cart-item .item-price { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--color-primary-text); }
.cart-item .remove { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--color-gray); }
.cart-item .remove:hover { background: #feecec; color: var(--color-red); }
.cart-item .remove .icon { width: 16px; height: 16px; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--color-border); border-radius: 6px; }
.qty button { width: 44px; height: 44px; }
.qty button:hover { color: var(--color-primary); }
.qty span { min-width: 28px; text-align: center; font-size: 14px; }
.drawer-empty { display: grid; justify-items: center; gap: 10px; padding: 60px 0; color: var(--color-gray); text-align: center; }
.drawer-empty .icon { width: 54px; height: 54px; color: #d2d6dc; }
.plain-links a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--color-border); font-size: 15px; }

.modal { display: grid; place-items: center; padding: 16px; }
.modal-card {
    position: relative;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    width: min(860px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    animation: pop .2s ease;
}
.modal-card .modal-image { width: 100%; height: 360px; object-fit: contain; border: 1px solid var(--color-border); border-radius: var(--radius); }
.modal-close { position: absolute; top: 14px; right: 14px; }
.quick-info { display: grid; align-content: start; gap: 12px; }
.quick-info .brand { font-size: 13px; color: var(--color-gray); text-transform: uppercase; letter-spacing: .06em; }
.quick-info h2 { font-size: 24px; font-weight: 500; line-height: 1.35; }
.quick-info .sku { font-size: 14px; color: var(--color-gray); }
.quick-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 8px;
}
.quick-actions-buy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.quick-actions-buy .btn {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}
.quick-actions-tools {
    display: flex;
    gap: 8px;
    flex: none;
}
.quick-actions-tools .btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius);
}
.modal-card-sm { grid-template-columns: 1fr; width: min(460px, 100%); text-align: center; }
.modal-card-sm h2 { font-size: 26px; font-weight: 500; }
.modal-card-sm p { color: var(--color-gray); }
.modal-card-sm form { display: grid; gap: 10px; }
.modal-card-sm input { height: 50px; padding: 0 18px; border: 1px solid var(--color-border); border-radius: var(--radius); outline: none; }
.modal-card-sm input:focus { border-color: var(--color-primary); }
.modal-card-sm .fine { font-size: 12px; }
.link-btn { color: var(--color-gray); font-size: 14px; }
.link-btn:hover { color: var(--color-primary); }

.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius);
    background: var(--color-black);
    color: #fff;
    font-size: 14px;
    transform: translateX(-50%);
    box-shadow: var(--shadow);
    animation: pop .2s ease;
}
.cookie-bar,
.consent-bar {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 90;
    display: grid;
    gap: 14px;
    width: min(380px, calc(100% - 48px));
    padding: 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    font-size: 14px;
}
.cookie-bar-actions,
.consent-bar-actions { display: flex; gap: 10px; }
.cookie-bar .btn,
.consent-bar .btn { min-height: 44px; height: auto; flex: 1; }
.consent-bar a { text-decoration: underline; }
.mobile-navigation { display: none; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-left { from { transform: translateX(-100%); } }

@media (max-width: 1399px) {
    .product-grid-7 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .product-grid-7 > :nth-child(7) { display: none; }
    .carousel-track { grid-auto-columns: calc((100% - 60px) / 6); }
    .home-section-inner { grid-template-columns: 262px minmax(0, 1fr) 320px; }
    .vertical-products-row { grid-template-columns: minmax(240px, 280px) repeat(2, minmax(0, 1fr)); }
    .featured-categories-tabs .tab-item { width: 104px; }
    .navigation-hotline { display: none; }
}

@media (max-width: 1199px) {
    .header-logo { width: 210px; }
    .header-logo img { height: 31px; }
    .header-cart-text { display: none; }
    .home-section-inner { grid-template-columns: minmax(0, 1fr) 300px; }
    .home-category-space { display: none; }
    .category-nav.is-home .category-dropdown-wrap { opacity: 0; visibility: hidden; }
    .category-nav:hover .category-dropdown-wrap { opacity: 1; visibility: visible; }
    .home-slider { height: auto; aspect-ratio: 16 / 9; }
    .home-banner-wrap { align-self: stretch; }
    .product-grid-7 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .product-grid-7 > :nth-child(n+6) { display: none; }
    .product-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .carousel-track { grid-auto-columns: calc((100% - 48px) / 5); }
    .featured-categories-header { flex-direction: column; }
    .featured-categories-tabs { overflow-x: auto; scrollbar-width: none; }
    .featured-categories-tabs .tab-item { flex: none; }
    .vertical-products-row { grid-template-columns: minmax(220px, 260px) repeat(2, minmax(0, 1fr)); gap: 16px; }
    .footer-top { grid-template-columns: repeat(3, 1fr); }
    .blog-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .features { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
    .single-feature:nth-child(4) { border-left: 0; }
}

@media (max-width: 991px) {
    .top-nav-left { display: none; }
    .top-nav { justify-content: center; }
    .header-wrap-inner { flex-wrap: wrap; gap: 14px; min-height: 0; padding: 16px 15px; }
    .sidebar-menu-icon { display: grid; place-items: center; width: 40px; height: 40px; }
    .sidebar-menu-icon .icon { width: 26px; height: 26px; }
    .header-logo { flex: 1; width: auto; }
    .header-logo img { height: 28px; max-width: 190px; }
    .header-search-wrap { order: 3; flex-basis: 100%; height: 54px; }
    .header-search-wrap .search-input, .header-search-wrap .btn-search, .header-search-wrap .search-category { height: 44px; }
    .header-search-wrap .btn-search { width: 44px; }
    .navigation-wrap { display: none; }
    .home-section-wrap { margin-top: 10px; }
    .home-section-inner { grid-template-columns: 1fr; }
    .home-slider { height: auto; aspect-ratio: 16 / 9; }
    .home-banner-wrap {
        flex-direction: row;
        align-self: auto;
        height: auto;
        gap: 12px;
    }
    .home-banner-wrap .banner {
        flex: 1 1 0;
        aspect-ratio: 16 / 9;
        height: auto;
    }
    .product-grid-7, .product-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-grid-7 > :nth-child(n+6) { display: flex; }
    .product-grid-5 { gap: 10px; }
    .carousel-track { grid-auto-columns: calc((100% - 24px) / 3); }
    .carousel-arrow { display: none; }
    .banner-row-narrow-wide, .banner-row-3 { grid-template-columns: 1fr 1fr; }
    .promo-full { padding: 36px; min-height: 240px; }
    .promo-full .promo-text strong { font-size: 32px; }
    .shop-layout { grid-template-columns: 1fr; }
    .subscribe { grid-template-columns: 1fr; text-align: center; }
    .modal-card { grid-template-columns: 1fr; }
    .modal-card .modal-image { height: 220px; }
    .modal-card { gap: 18px; padding: 20px; }
    .quick-info h2 { font-size: 18px; }
    .quick-actions { flex-wrap: wrap; }
    .quick-actions-buy { flex: 1 1 100%; }
    .quick-actions-buy .btn { font-size: 13px; padding: 0 10px; }
    .header-column-right .header-icon:not(.header-cart) { display: none; }
    .header-cart-text { display: none; }
    .mobile-navigation {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: #fff;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .06);
    }
    .mobile-navigation a, .mobile-navigation button { display: grid; justify-items: center; gap: 2px; padding: 9px 2px 10px; font-size: 12px; color: var(--color-black); }
    .mobile-navigation .icon { width: 22px; height: 22px; }
    .mobile-navigation .count { top: -6px; right: -12px; }
    body.store { padding-bottom: 64px; }
    .cookie-bar,
    .consent-bar { bottom: 80px; }
    .toast { bottom: 84px; }
}

@media (max-width: 575px) {
    .container { padding: 0 12px; }
    .product-grid-7, .product-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .carousel-track { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
    .features { grid-template-columns: 1fr 1fr; }
    .single-feature { justify-content: flex-start; }
    .single-feature + .single-feature { border-left: 0; }
    .features { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 18px 0; }
    .features::-webkit-scrollbar { display: none; }
    .single-feature { flex: none; width: 78%; scroll-snap-align: start; padding: 0 18px; }
    .features-wrap { margin-top: 24px; }
    .home-intro-wrap { margin-top: 28px; }
    .home-intro-title { font-size: 26px; }
    .featured-categories-text .title { font-size: 22px; }
    .banner-row-narrow-wide, .banner-row-2, .banner-row-3 { grid-template-columns: 1fr; }
    .vertical-products-row, .blog-posts { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-top .contact-us, .footer-tags { grid-column: 1 / -1; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .tab-products-header-split { flex-direction: column; align-items: flex-start; gap: 0; }
    .subscribe-text .title { font-size: 24px; }
    .product-name { font-size: 14px; }
    .search-category { display: none; }
}

/* ---------- shared form controls and buttons ---------- */
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-dark { background: var(--color-black); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-dark:disabled { background: #b9b9b9; }

/* Buy Now: orange sweep + light lift on hover */
[data-buy-now] {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}
[data-buy-now]::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 84, 30, .42) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .55s ease;
}
[data-buy-now]:hover:not(:disabled) {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
[data-buy-now]:hover:not(:disabled)::before {
    transform: translateX(120%);
}
[data-buy-now]:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.btn-icon { width: 45px; padding: 0; flex: none; }
.btn .icon { width: 18px; height: 18px; }
.btn.is-disabled { opacity: .5; cursor: not-allowed; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn-default.added,
.quick-actions .added,
.quick-actions-tools [data-add-wish].added {
    border-color: var(--color-primary);
    background: #fff5f0;
    color: var(--color-primary);
}
.quick-actions-tools [data-add-wish].added:hover {
    background: var(--color-primary);
    color: #fff;
}
[data-add-wish].added .icon { color: var(--color-primary); }
.quick-actions-tools [data-add-wish].added:hover .icon { color: #fff; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.muted { color: var(--color-gray); }
.badge-dark { background: var(--color-black); }
.stock { font-size: 14px; font-weight: 500; }
.stock.in { color: var(--color-green); }
.stock.out { color: var(--color-red); }

.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 14px; font-weight: 500; }
.field label b { color: var(--color-red); font-weight: 500; }
.field .optional { font-weight: 400; color: var(--color-gray); }
.field input, .field textarea, .field select, .select-wrap select, .price-inputs input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #d9d9df;
    border-radius: var(--radius);
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .select-wrap select:focus, .price-inputs input:focus, .coupon-field:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.field [aria-invalid="true"] { border-color: var(--color-red); }
.field-error { color: var(--color-red); font-size: 13px; }
.form-alert { margin-bottom: 20px; padding: 14px 18px; border: 1px solid #f7c5c8; border-radius: var(--radius); background: #fff5f5; color: #a3161d; font-size: 14px; }
.form-alert ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--color-primary); flex: none; }
.check span { flex: 1; }
.check small { color: var(--color-gray-light); }

/* ---------- product card additions ---------- */
.product-card .product-image { background: #fff; }
.product-brand { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-gray); }
.product-name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.product-sizes { display: none; }

/* ---------- product listing ---------- */
.shop-sidebar { padding: 0; border: 0; border-radius: 0; }
.shop-sidebar-head { display: none; }
.sidebar-block { margin-bottom: 30px; }
.sidebar-title { position: relative; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border); font-size: 18px; font-weight: 500; }
.sidebar-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 50px; height: 2px; background: var(--color-primary); }
.category-tree { display: grid; gap: 2px; }
.category-tree a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 15px; color: #3d3d3d; }
.category-tree a::before { content: "›"; margin-right: 10px; color: var(--color-gray-light); }
.category-tree a { justify-content: flex-start; }
.category-tree a small { margin-left: auto; color: var(--color-gray-light); font-size: 13px; }
.category-tree a:hover, .category-tree a.active { color: var(--color-primary); }
.category-tree a.active { font-weight: 500; }
.category-tree ul { padding-left: 18px; }
.category-tree ul a { font-size: 14px; padding: 5px 0; }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.price-inputs input { min-height: 42px; padding: 8px 12px; -moz-appearance: textfield; appearance: textfield; }
.price-inputs input::-webkit-outer-spin-button, .price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.range-slider { position: relative; height: 28px; margin-top: 14px; }
.range-track { position: absolute; top: 12px; left: 0; right: 0; height: 4px; border-radius: 4px; background: #e6e6ea; }
.range-track span { position: absolute; top: 0; height: 100%; border-radius: 4px; background: var(--color-primary); }
.range-slider input[type="range"] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border: 3px solid var(--color-primary); border-radius: 50%; background: #fff; cursor: pointer; pointer-events: auto; }
.range-slider input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 3px solid var(--color-primary); border-radius: 50%; background: #fff; cursor: pointer; pointer-events: auto; }
.range-slider input[type="range"]::-moz-range-track { background: none; }
.check-list { display: grid; gap: 10px; }
.filter-actions { display: flex; gap: 10px; margin-bottom: 30px; }
.filter-actions .btn { flex: 1; height: 42px; padding: 0 14px; }
.filter-backdrop { display: none; }

.search-result-top { flex-wrap: wrap; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; }
.search-result-top h1 { font-size: 22px; font-weight: 500; }
.shop-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-filter { display: none; height: 42px; padding: 0 14px; }
.btn-filter b { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 20px; background: var(--color-primary); color: #fff; font-size: 11px; }
.view-toggle { display: flex; gap: 2px; }
.view-toggle button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; color: var(--color-gray-light); }
.view-toggle button.active, .view-toggle button:hover { color: var(--color-primary); }
.view-toggle .icon { width: 22px; height: 22px; }
.select-wrap select { min-height: 42px; padding: 8px 34px 8px 14px; font-size: 14px; cursor: pointer; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e6e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.shop-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; font-size: 14px; color: var(--color-gray); }
.pagination { display: flex; gap: 6px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--color-border); border-radius: 6px; color: var(--color-black); font-size: 14px; }
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.pagination .disabled { color: #c9c9cf; }
.pagination .icon { width: 16px; height: 16px; }
.empty-page { display: grid; justify-items: center; gap: 10px; padding: 70px 20px; text-align: center; }
.empty-page > .icon { width: 84px; height: 84px; color: var(--color-primary); opacity: .9; }
.empty-page h2 { font-size: 28px; font-weight: 500; }
.empty-page p { color: var(--color-gray); margin-bottom: 10px; }

.product-list { grid-template-columns: 1fr; }
.product-list .product-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; }
.product-list .product-card-middle { padding: 16px 20px; }
.product-list .product-name { font-size: 17px; }
.product-list .product-name a { min-height: 0; }
.product-list .product-sizes { display: block; margin-top: 10px; font-size: 13px; color: var(--color-gray); }
.product-list .product-card-bottom { flex-direction: column; align-items: flex-end; gap: 14px; margin: 0; padding: 20px; border-left: 1px solid var(--color-border); align-self: stretch; justify-content: center; }
.product-list .product-price { font-size: 20px; justify-content: flex-end; }

/* ---------- product detail ---------- */
.product-details-wrap { padding: 30px 0 10px; }
.product-details { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.product-gallery { display: grid; gap: 14px; position: sticky; top: 80px; }
.product-gallery-main { position: relative; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #fff; aspect-ratio: 1; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-main .product-badge { z-index: 1; top: 16px; left: 16px; }
.product-gallery-main .badge { font-size: 13px; padding: 6px 10px; }
.product-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.product-gallery-thumbs button { flex: none; width: 84px; height: 84px; padding: 4px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }
.product-gallery-thumbs button.active, .product-gallery-thumbs button:hover { border-color: var(--color-primary); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-summary { display: grid; gap: 16px; align-content: start; }
.product-summary .product-brand { margin: 0; font-size: 13px; color: var(--color-primary-text); font-weight: 500; }
.product-title { font-size: 28px; font-weight: 500; line-height: 1.3; }
.product-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.product-meta-row .sku { font-size: 14px; color: var(--color-gray); }
.product-price-xl { align-items: center; gap: 12px; font-size: 32px; font-weight: 600; }
.product-price-xl del { font-size: 18px; }
.product-price-xl .badge { font-size: 12px; }
.product-brief { color: #4a4a4a; font-size: 15px; line-height: 1.7; }
.product-brief p + p { margin-top: 8px; }
.product-brief ul, .page-body ul { padding-left: 20px; list-style: disc; }
.product-brief ol, .page-body ol { padding-left: 20px; list-style: decimal; }
.variant-picker { display: grid; gap: 10px; }
.variant-picker-label { font-size: 15px; font-weight: 500; }
.variant-picker-label b { font-weight: 600; color: var(--color-primary-text); }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-options button { min-width: 50px; height: 44px; padding: 0 14px; border: 1px solid #d0d0d6; border-radius: var(--radius); background: #fff; font-size: 15px; font-weight: 500; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.variant-options button:hover { border-color: var(--color-black); }
.variant-options button.active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.variant-options button:disabled { position: relative; border-color: #ececef; background: #f7f7f8; color: #b9b9bf; text-decoration: line-through; }
.variant-hint { color: var(--color-red); font-size: 13px; }
.product-buy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.product-buy .btn { flex: 1; min-width: 160px; }
.qty-lg { height: 52px; margin: 0; border-radius: var(--radius); }
.qty-lg button { width: 44px; height: 50px; font-size: 20px; }
.qty input { width: 48px; height: 100%; border: 0; text-align: center; font-weight: 500; outline: none; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty button:disabled { color: #c9c9cf; }
.product-secondary-actions { display: flex; flex-wrap: wrap; gap: 24px; }
.product-secondary-actions button { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-gray); }
.product-secondary-actions button:hover { color: var(--color-primary); }
.product-secondary-actions [data-add-wish].added {
    color: var(--color-primary);
    font-weight: 600;
}
.product-secondary-actions [data-add-wish].added .icon { color: var(--color-primary); }
.product-secondary-actions .icon { width: 18px; height: 18px; }
.product-assurances { display: grid; gap: 14px; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #fafafa; }
.product-assurances li { display: flex; gap: 14px; align-items: flex-start; font-size: 13px; color: var(--color-gray); }
.product-assurances .icon { width: 26px; height: 26px; color: var(--color-primary); }
.product-assurances b { display: block; font-size: 14px; font-weight: 500; color: var(--color-black); }
.product-assurances a { color: var(--color-primary-text); font-weight: 500; }
.product-facts { display: grid; gap: 6px; font-size: 14px; }
.product-facts div { display: flex; gap: 8px; }
.product-facts dt { color: var(--color-gray); }
.product-facts dt::after { content: ":"; }
.product-facts dd { margin: 0; }
.product-facts a:hover { color: var(--color-primary); }
.product-tabs { margin-top: 50px; }
.product-tabs .tabs { display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--color-border); }
.product-tabs .tab-item { position: relative; padding: 14px 0; font-size: 17px; color: var(--color-gray); white-space: nowrap; cursor: pointer; font: inherit; text-align: inherit; background: none; border: 0; }
.product-tabs .tab-item.active { color: var(--color-black); font-weight: 500; }
.product-tabs .tab-item.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-primary); }
.product-tab-panel { padding: 28px 0 0; max-width: 980px; }
.page-body h2, .page-body h3, .page-body h4 { font-weight: 500; line-height: 1.4; }
.page-body a { color: var(--color-primary-text); text-decoration: underline; }
.page-body table { width: 100%; border-collapse: collapse; }
.page-body td, .page-body th { padding: 8px 12px; border: 1px solid var(--color-border); text-align: left; }
.review { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.review header { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.review time { font-size: 13px; color: var(--color-gray-light); }
.related-products { margin-top: 50px; }
.sticky-buy { display: none; }

/* ---------- cart, checkout, order complete ---------- */
.cart-wrap { padding: 30px 0 20px; }
.checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 36px; counter-reset: step; }
.checkout-steps li { display: flex; align-items: center; gap: 12px; color: var(--color-gray-light); font-size: 17px; }
.checkout-steps li + li::before { content: ""; width: 70px; height: 1px; margin: 0 20px; background: #d9d9df; }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d9d9df; border-radius: 50%; font-size: 14px; font-weight: 500; }
.step-number .icon { width: 18px; height: 18px; }
.checkout-steps .active { color: var(--color-black); font-weight: 500; }
.checkout-steps .active .step-number { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.checkout-steps .done { color: var(--color-black); }
.checkout-steps .done .step-number { border-color: var(--color-primary); color: var(--color-primary); }
.cart-loading { padding: 60px 0; text-align: center; color: var(--color-gray); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 30px; align-items: start; }
.cart-notice { margin-bottom: 16px; padding: 12px 16px; border: 1px solid #ffd9c9; border-radius: var(--radius); background: #fff6f2; color: #a8350c; font-size: 14px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 0 12px 14px; border-bottom: 1px solid var(--color-border); font-size: 14px; font-weight: 500; color: var(--color-gray); text-align: left; }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--color-border); vertical-align: middle; font-size: 15px; }
.cart-table th:first-child, .cart-table td:first-child { padding-left: 0; }
.cart-table del { font-size: 13px; color: var(--color-gray-light); }
.cart-thumb { width: 96px; }
.cart-thumb img, .cart-thumb .image-placeholder { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--color-border); border-radius: var(--radius); }
.cart-name a { font-weight: 500; }
.cart-name small { display: block; margin-top: 4px; color: var(--color-gray); font-size: 13px; }
.cart-total { font-weight: 600; color: var(--color-primary-text); }
.cart-table .qty { margin: 0; }
.cart-table .qty button { width: 34px; height: 36px; font-size: 17px; }
.cart-table .qty span { min-width: 34px; }
.cart-table .remove { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--color-gray); }
.cart-table .remove:hover { background: #feecec; color: var(--color-red); }
.cart-table .remove .icon { width: 18px; height: 18px; }
.cart-table tr.is-out td:not(.cart-remove) { opacity: .6; }
.cart-main-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.order-summary { position: sticky; top: 80px; display: grid; gap: 18px; padding: 26px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #fafafa; }
.order-summary h2 { padding-bottom: 14px; border-bottom: 1px solid var(--color-border); font-size: 20px; font-weight: 500; }
.coupon-field { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border: 1px solid #d9d9df; border-radius: var(--radius); background: #fff; }
.coupon-field .icon { color: var(--color-gray-light); }
.coupon-field input { flex: 1; min-width: 0; height: 38px; border: 0; outline: none; background: none; }
.coupon-field .btn { height: 38px; padding: 0 16px; font-size: 14px; }
.coupon-message { display: block; margin-top: 8px; font-size: 13px; color: var(--color-green); }
.coupon-message.is-error { color: var(--color-red); }
.totals { display: grid; gap: 12px; margin: 0; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.totals dt { color: var(--color-gray); }
.totals dt small { color: var(--color-gray-light); }
.totals dd { margin: 0; font-weight: 500; text-align: right; }
.totals .link-btn { margin-left: 6px; font-size: 13px; text-decoration: underline; }
.totals-grand { padding-top: 14px; border-top: 1px solid var(--color-border); }
.totals .totals-grand dt { color: var(--color-black); font-size: 17px; font-weight: 500; }
.totals .totals-grand dd { font-size: 22px; font-weight: 600; color: var(--color-primary-text); }
.summary-note { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--color-gray); }
.summary-note .icon { width: 18px; height: 18px; color: var(--color-primary); }
.summary-note a { color: var(--color-primary-text); text-decoration: underline; }
.summary-back { display: inline-flex; align-items: center; gap: 4px; justify-self: center; font-size: 14px; color: var(--color-gray); }
.summary-back .icon { width: 16px; height: 16px; }
.summary-lines { display: grid; gap: 14px; max-height: 330px; overflow-y: auto; padding: 8px 8px 0 0; }
.summary-terms { font-size: 13px; color: var(--color-gray); }
.summary-terms a { color: var(--color-primary-text); text-decoration: underline; }
.checkout-agree { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 12px; font-size: 13px; line-height: 1.45; color: var(--color-heading, #1f2937); cursor: pointer; }
.checkout-agree input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--color-primary, #ff541e); width: 16px; height: 16px; }
.checkout-agree a { color: var(--color-primary-text, #ff541e); text-decoration: underline; font-weight: 600; }
.checkout-agree + .field-error { display: block; margin: -6px 0 10px; }
.checkout-upsell { margin-top: 0; }
.checkout-upsell-note { margin: -6px 0 16px; font-size: 13px; color: var(--color-gray); line-height: 1.45; }
.checkout-upsell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.checkout-upsell-card { display: grid; gap: 8px; min-width: 0; }
.checkout-upsell-card .product-image { display: block; aspect-ratio: 1; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.checkout-upsell-card .product-image img { width: 100%; height: 100%; object-fit: contain; }
.checkout-upsell-card .product-name { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--color-black); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.checkout-upsell-attrs { display: block; font-size: 12px; color: var(--color-gray); line-height: 1.3; }
.checkout-upsell-card .product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 600; }
.checkout-upsell-card .product-price del { font-size: 12px; font-weight: 400; color: var(--color-gray); }
.checkout-upsell-card .btn { height: 36px; font-size: 13px; }
.checkout-upsell-card.is-disabled { opacity: .55; }
.checkout-upsell-card.is-disabled .btn,
.checkout-upsell-card.is-active .btn { cursor: not-allowed; }
.summary-name .upsell-tag { display: inline-block; margin-top: 4px; padding: 1px 6px; border-radius: 4px; background: #fff3ee; color: var(--color-primary-text, #ff541e); font-size: 11px; font-weight: 600; }
.summary-lines li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 14px; }
.summary-remove { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 6px; background: #f3f4f6; color: var(--color-gray); cursor: pointer; }
.summary-remove:hover { background: #fee2e2; color: var(--color-red, #c0392b); }
.summary-remove .icon { width: 14px; height: 14px; }
.summary-thumb { position: relative; width: 58px; height: 58px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }
.summary-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }
.summary-thumb b { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px; background: var(--color-black); color: #fff; font-size: 11px; font-weight: 500; }
.summary-name small { display: block; color: var(--color-gray); font-size: 12px; }
.summary-price { font-weight: 500; white-space: nowrap; }
.summary-lines .is-out { opacity: .6; }
.form-card { min-width: 0; margin: 0 0 20px; padding: 24px; border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.form-card legend, .form-card h2 { padding: 0; margin-bottom: 16px; font-size: 18px; font-weight: 500; }
.form-card legend { float: left; width: 100%; }
.form-card legend + * { clear: both; }
.form-card h2:not(:first-child) { margin-top: 22px; }
.form-card address { font-style: normal; line-height: 1.7; color: #3d3d3d; }
.form-card .totals { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.option-list { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #d9d9df; border-radius: var(--radius); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.option:hover { border-color: var(--color-black); }
.option:has(input:checked) { border-color: var(--color-primary); background: #fff8f5; }
.option input { width: 18px; height: 18px; accent-color: var(--color-primary); flex: none; }
.option-body { flex: 1; display: grid; }
.option-body b { font-weight: 500; }
.option-body small { color: var(--color-gray); font-size: 13px; }
.option-price { font-weight: 600; }
.option .icon { width: 26px; height: 26px; color: var(--color-primary); }
.option .payment-logo { width: 96px; height: 32px; object-fit: contain; flex: none; background: #fff; border: 1px solid #e8e8ec; border-radius: 6px; padding: 4px 6px; }
.payment-logo { display: block; width: auto; height: 28px; object-fit: contain; }
.payment-logo-footer { height: 28px; width: auto; max-width: 96px; background: #fff; border: 1px solid #e8e8ec; border-radius: 5px; padding: 3px 5px; box-sizing: content-box; }
.order-complete { max-width: 980px; margin: 0 auto; }
.order-complete-head { display: grid; justify-items: center; gap: 8px; margin-bottom: 30px; text-align: center; }
.order-complete-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--color-green); color: #fff; }
.order-complete-icon .icon { width: 34px; height: 34px; }
.order-complete-head h1 { font-size: 28px; font-weight: 500; }
.order-complete-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.order-complete .summary-lines { max-height: none; }
.order-complete-actions { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }

/* ---------- drawers and modal additions ---------- */
.drawer-logo { height: 26px; width: auto; }
.modal-logo { height: 34px; width: auto; margin: 0 auto; }
.drawer-hotline { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: var(--radius); background: var(--color-bg); font-weight: 500; }
.drawer-hotline .icon { width: 28px; height: 28px; color: var(--color-primary); }
.drawer-hotline span { display: grid; line-height: 1.3; }
.drawer-hotline small { font-size: 12px; font-weight: 400; color: var(--color-gray); }
.drawer-empty .btn { margin-top: 8px; height: 40px; }
.cart-item .item-attrs { display: block; margin-top: 2px; font-size: 12px; color: var(--color-gray); }
.quick-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--color-primary-text); font-weight: 500; }
.quick-link .icon { width: 16px; height: 16px; }
.plain-links a .icon { width: 16px; height: 16px; color: var(--color-gray-light); }

/* ---------- footer additions ---------- */
.footer-wrap { padding-top: 56px; background: #fff; }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo img { width: 240px; max-width: 100%; height: auto; max-height: none; margin: 0; }
.social-links a .icon { width: 18px; height: 18px; }
.footer-payment { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--color-gray); }
.footer-payment li { display: inline-flex; align-items: center; gap: 8px; }
.footer-payment .icon { color: var(--color-primary); }
.form-ok { color: #b9f3c8; }
.top-nav-wrap { background: var(--color-black); border-bottom: 0; color: #fff; }
.top-nav-left { color: #e6e6e6; }
.top-nav-right li + li::before { background: rgba(255, 255, 255, .25); }
.top-nav-right a:hover { color: #ffb59c; }

@media (max-width: 1399px) {
    .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}

@media (max-width: 1199px) {
    .product-details { gap: 30px; }
    .product-list .product-card { grid-template-columns: 180px minmax(0, 1fr) auto; }
    .top-nav-email { display: none !important; }
}

@media (max-width: 991px) {
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 110;
        display: block;
        width: min(340px, 88%);
        padding: 0 20px 20px;
        overflow-y: auto;
        background: #fff;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform .25s ease, visibility .25s;
    }
    .shop-sidebar.is-open { transform: none; visibility: visible; }
    .shop-sidebar-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: 0 -20px 20px; padding: 16px 20px; border-bottom: 1px solid var(--color-border); background: #fff; }
    .shop-sidebar-head h2 { font-size: 18px; font-weight: 500; }
    .filter-backdrop { position: fixed; inset: 0; z-index: 105; display: block; width: 100%; background: rgba(15, 20, 30, .5); }
    .sidebar-latest { display: none; }
    .btn-filter { display: inline-flex; }
    .search-result-top { padding: 14px; border: 0; border-radius: var(--radius); background: var(--color-bg); }
    .search-result-top h1 { flex-basis: 100%; font-size: 20px; }
    .shop-toolbar { width: 100%; }
    .select-wrap { margin-left: auto; }
    .select-wrap-sm { margin-left: 0; }
    .product-details { grid-template-columns: 1fr; }
    .product-gallery { position: static; max-width: 560px; margin: 0 auto; width: 100%; }
    .cart-layout { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .order-complete-grid { grid-template-columns: 1fr; }
    .sticky-buy {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 64px;
        z-index: 79;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 14px;
        background: #fff;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
    }
    .sticky-buy-info { display: grid; min-width: 0; }
    .sticky-buy-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; }
    .sticky-buy-info span { font-weight: 600; color: var(--color-primary-text); }
    .sticky-buy .btn { height: 42px; flex: none; }
    .header-column-right .header-icon.header-cart { display: inline-flex; }
}

@media (max-width: 767px) {
    .checkout-steps li + li::before { width: 24px; margin: 0 10px; }
    .checkout-steps li:not(.active) .step-label { display: none; }
    .checkout-steps li { font-size: 15px; }
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody { display: block; }
    .cart-table tr { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
    .cart-table td { display: block; padding: 0; border: 0; }
    .cart-table .cart-thumb { grid-row: span 4; width: auto; }
    .cart-table .cart-name { padding-right: 40px; }
    .cart-table td[data-label] { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
    .cart-table td[data-label]::before { content: attr(data-label); color: var(--color-gray); font-weight: 400; }
    .cart-table .cart-remove { position: absolute; top: 12px; right: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .product-list .product-card { grid-template-columns: 120px minmax(0, 1fr); }
    .product-list .product-card-bottom { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; border-top: 1px solid var(--color-border); padding: 12px; }
    .product-list .product-card-middle { padding: 12px; }
    .product-title { font-size: 22px; }
    .product-price-xl { font-size: 26px; }
    .product-tabs .tabs { gap: 22px; }
    .product-tabs .tab-item { font-size: 15px; }
    .top-nav-right li:nth-child(n+2) { display: none; }
}

@media (max-width: 575px) {
    .form-card { padding: 18px 16px; }
    .order-summary { padding: 20px 16px; }
    .product-buy .qty-lg { flex: none; }
    .product-buy .btn { min-width: 0; padding: 0 14px; white-space: nowrap; }
    .product-buy .btn-dark { flex-basis: 100%; }
    .grid-products-wrap .product-grid > :nth-child(n+7),
    .featured-categories-wrap .product-grid > :nth-child(n+7) { display: none; }
    .vertical-products-list > :nth-child(n+4) { display: none; }
    .promo-banner { min-height: 150px; }
    .daily-deals-image { max-height: 160px; }
    .daily-deals-wrap { max-width: 420px; }
    .empty-page h2 { font-size: 22px; }
    .cart-main-actions .btn { flex: 1; padding: 0 12px; }
    .shop-footer { justify-content: center; text-align: center; }
    .footer-top .footer-links { min-width: 0; }
}

@media print {
    .top-nav-wrap, .header-wrap, .navigation-wrap, .subscribe-wrap, .footer-wrap, .mobile-navigation, .cookie-bar, .consent-bar, .checkout-steps, .order-complete-actions, .toast { display: none !important; }
    body.store { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.error-page { display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 100vh; padding: 40px 20px; text-align: center; }
.error-page img { height: 38px; width: auto; margin-bottom: 20px; }
.error-page strong { font-size: 96px; font-weight: 600; line-height: 1; color: var(--color-primary); }
.error-page h1 { font-size: 26px; font-weight: 500; }
.error-page p { color: var(--color-gray); }
.error-page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

.contact-title { margin-bottom: 24px; font-size: 30px; font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card { display: grid; gap: 6px; align-content: start; padding: 26px; border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.contact-card .icon { width: 34px; height: 34px; margin-bottom: 6px; color: var(--color-primary); }
.contact-card h2, .contact-social h2 { font-size: 18px; font-weight: 500; }
.contact-card p { color: var(--color-gray); }
.contact-card a { color: var(--color-primary-text); font-weight: 500; }
.contact-social { margin-top: 34px; }
.page-content h1 + .page-placeholder { margin-top: -8px; }

/* ---------- customer accounts ---------- */
.auth-wrap { padding: 50px 0 30px; }
.auth-box { display: grid; gap: 14px; width: min(460px, 100%); margin: 0 auto; padding: 34px; border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.auth-box h1 { font-size: 26px; font-weight: 500; }
.form-stack { display: grid; gap: 16px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.auth-row a, .auth-switch a, .checkout-account a, .card-head-row a { color: var(--color-primary-text); font-weight: 500; }
.auth-switch { text-align: center; font-size: 14px; color: var(--color-gray); }
.notice { padding: 12px 16px; border: 1px solid; border-radius: var(--radius); font-size: 14px; }
.notice-success { border-color: #b9e3c6; background: #eefaf2; color: #17633a; }
.checkout-account { margin-bottom: 16px; padding: 12px 16px; border-radius: var(--radius); background: var(--color-bg); font-size: 14px; }
.header-account { display: none; }
.account-wrap { padding: 30px 0 20px; }
.account-layout { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 40px; align-items: start; }
.account-nav { border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.account-user { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--color-border); background: #fafafa; }
.account-user span:last-child { display: grid; min-width: 0; }
.account-user small { overflow: hidden; text-overflow: ellipsis; color: var(--color-gray); font-size: 13px; }
.account-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 600; font-size: 18px; }
.account-nav nav { display: grid; padding: 8px; }
.account-nav nav a, .account-nav nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 6px; font-size: 15px; text-align: left; color: var(--color-black); }
.account-nav nav a:hover, .account-nav nav button:hover { background: var(--color-bg); color: var(--color-primary); }
.account-nav nav a.active { background: var(--color-primary-soft); color: var(--color-primary-text); font-weight: 500; }
.account-main { display: grid; gap: 4px; min-width: 0; }
.account-main > .notice { margin-bottom: 14px; }
.account-main > .muted { margin-bottom: 16px; }
.account-title { margin-bottom: 14px; font-size: 26px; font-weight: 500; }
.account-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 14px; color: var(--color-gray); }
.account-back .icon { width: 16px; height: 16px; }
.account-main .form-card .btn { margin-top: 18px; }
.account-main .form-stack .btn { margin-top: 0; justify-self: start; }
.card-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head-row h2 { margin-bottom: 12px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; margin: 0 !important; }
.table-scroll { overflow-x: auto; }
.order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-table th { padding: 10px 12px; border-bottom: 1px solid var(--color-border); color: var(--color-gray); font-weight: 500; text-align: left; white-space: nowrap; }
.order-table td { padding: 13px 12px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.order-table tr:last-child td { border-bottom: 0; }
.order-table th:first-child, .order-table td:first-child { padding-left: 0; }
.order-table-action { text-align: right; padding-right: 0 !important; }
.status-pill { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-success { background: #e6f4ec; color: #1a7a43; }
.status-warning { background: #fff3dc; color: #9a5200; }
.status-danger { background: #fdeaea; color: #c22a2a; }
.status-dark { background: #eceef2; color: #3d4654; }
.tracking { display: grid; grid-template-columns: repeat(4, 1fr); margin: 10px 0 6px; }
.tracking li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--color-gray-light); }
.tracking li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: #e3e5e9; }
.tracking li:first-child::before { display: none; }
.tracking li.done::before { background: var(--color-primary); }
.tracking-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid #e3e5e9; border-radius: 50%; background: #fff; color: #fff; }
.tracking-dot .icon { width: 16px; height: 16px; }
.tracking li.done .tracking-dot { border-color: var(--color-primary); background: var(--color-primary); }
.tracking li.done { color: var(--color-black); }
.tracking li.current { font-weight: 600; }
.tracking-details { display: grid; gap: 6px; margin: 16px 0 0; font-size: 14px; }
.tracking-details div { display: flex; gap: 10px; }
.tracking-details dt { color: var(--color-gray); }
.tracking-details dd { margin: 0; font-weight: 500; }
.tracking-details a { color: var(--color-primary-text); text-decoration: underline; }
.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; align-items: start; }
.address-card summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; }
.address-card summary::-webkit-details-marker { display: none; }
.address-summary { line-height: 1.7; color: #3d3d3d; font-size: 14px; }
.address-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.address-remove { margin-top: 12px; color: var(--color-red); text-decoration: underline; }
.field-check { align-self: end; padding-bottom: 12px; }

@media (max-width: 991px) {
    .top-nav-account { display: none !important; }
    .header-account { display: inline-flex !important; }
    .account-layout { grid-template-columns: 1fr; gap: 20px; }
    .account-nav nav { grid-template-columns: repeat(4, auto); justify-content: start; overflow-x: auto; }
    .account-nav nav a, .account-nav nav button { white-space: nowrap; }
    .address-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .auth-box { padding: 24px 18px; }
    .auth-wrap { padding-top: 24px; }
    .order-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .order-table, .order-table tbody { display: block; }
    .order-table tr { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
    .order-table tr:last-child { border-bottom: 0; }
    .order-table td { display: flex; justify-content: space-between; gap: 12px; padding: 0 !important; border: 0; }
    .order-table td[data-label]::before { content: attr(data-label); color: var(--color-gray); }
    .order-table-action .btn { width: 100%; margin-top: 6px !important; }
    .tracking li { font-size: 11px; }
}
.account-main form.form-card > h2 { margin-top: 0; }
.tracking + .muted, .tracking + .tracking-details { margin-top: 18px; }

.order-complete-icon-warn { background: var(--color-red); }
.payment-retry { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.area-auto { display: grid; gap: 10px; }
.area-hint { padding: 12px 14px; border-radius: var(--radius); background: var(--color-bg); font-size: 14px; color: #3d3d3d; }
.option.is-fixed { cursor: default; border-color: var(--color-primary); background: #fff8f5; }
.option.is-fixed:hover { border-color: var(--color-primary); }
[data-delivery-area] .field-error { display: block; margin-top: 10px; padding: 10px 14px; border: 1px solid #f7c5c8; border-radius: var(--radius); background: #fff5f5; }
[data-delivery-area] .area-auto, [data-delivery-area] .field-error { clear: both; }

.contact-form-wrap { margin-top: 36px; max-width: 820px; }
.contact-form-wrap h2 { margin-bottom: 14px; font-size: 22px; font-weight: 500; }
.contact-form-wrap .notice { margin-bottom: 14px; }
.contact-form-wrap .btn { margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.help-choose-wrap { padding: 40px 0 64px; background: linear-gradient(180deg, #fff7f3 0%, #fff 48%); }
.help-choose-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 8px; }
.help-choose-lead { color: var(--color-gray); margin-bottom: 28px; }
.help-choose-form { display: grid; gap: 22px; max-width: 640px; }
.help-choose-form fieldset { border: 0; display: grid; gap: 10px; padding: 0; }
.help-choose-form legend { font-weight: 600; margin-bottom: 4px; }
.help-choose-form label { display: flex; align-items: center; gap: 10px; }
.help-choose-result { margin-top: 32px; padding: 24px; border: 1px solid var(--color-border); border-radius: var(--radius-card); max-width: 640px; background: #fff; }
.help-choose-result h2 { font-size: 22px; margin-bottom: 8px; }
.help-choose-tip { margin-top: 14px; color: var(--color-gray); }

.sales-chat { position: fixed; right: 16px; bottom: 16px; z-index: 60; font-family: var(--font-body); }
.sales-chat-toggle { border: 0; border-radius: 999px; background: var(--color-primary-solid); color: #fff; font-weight: 650; padding: 12px 18px; box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer; }
.sales-chat-panel { width: min(360px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--color-border); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.18); overflow: hidden; }
.sales-chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.sales-chat-close { border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.sales-chat-log { max-height: 280px; overflow: auto; padding: 12px 14px; display: grid; gap: 8px; }
.sales-chat-bubble { margin: 0; padding: 8px 10px; border-radius: 12px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.sales-chat-bubble.is-bot { background: #f4f5f7; }
.sales-chat-bubble.is-user { background: #fff0ea; justify-self: end; }
.sales-chat-link { color: var(--color-primary-text); text-decoration: underline; word-break: break-all; }
.sales-chat-link:hover { text-decoration: none; }
.sales-chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--color-border); }
.sales-chat-form input { flex: 1; min-width: 0; }
.sales-chat-foot { margin: 0; padding: 0 14px 12px; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- iPhone / Safari ---------- */
html { -webkit-text-size-adjust: 100%; }
body.store { -webkit-tap-highlight-color: transparent; }
input[type="text"], input[type="search"], input[type="tel"], input[type="email"], input[type="password"], input[type="number"], textarea, select { -webkit-appearance: none; appearance: none; }
.field input, .field textarea, .modal-card-sm input, .coupon-field input, .search-input, .subscribe-field input { border-radius: var(--radius); }
@media (max-width: 991px) {
    /* Safari zooms the whole page when a field with text smaller than 16px gets focus. */
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea { font-size: 16px !important; }
    /* Keep the fixed bottom bars clear of the iPhone home indicator. */
    .mobile-navigation { padding-bottom: env(safe-area-inset-bottom, 0px); }
    body.store { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .cookie-bar,
    .consent-bar { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
    .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
    .sticky-buy { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .drawer-footer { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 991px) {
    /* The newsletter box must shrink with the screen: a 16px field plus the button would otherwise push the page sideways. */
    .subscribe { grid-template-columns: minmax(0, 1fr); }
    .subscribe-text, .subscribe-field { min-width: 0; }
    .subscribe-field input { width: 100%; padding-right: 120px; }
    .header-search-wrap { min-width: 0; }
}
@media (max-width: 400px) {
    .btn-subscribe { padding: 0 14px; }
    .subscribe-field input { padding: 0 104px 0 14px; }
    .header-search-wrap .search-input { padding-left: 12px; }
}

/* Contact order (WhatsApp / Call) */
.contact-order {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
}
.contact-order-btn {
    display: inline-flex;
    flex: 1 1 calc(50% - 5px);
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 46px;
    padding: 10px 14px;
    border: 0;
    border-radius: var(--radius);
    box-sizing: border-box;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
}
.contact-order-btn:hover { color: #fff !important; filter: brightness(0.95); }
.contact-order-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: block;
}
.contact-order-wa { background: #25d366; }
.contact-order-wa:hover { background: #1ebe57; }
.contact-order-call { background: #1f2937; }
.contact-order-call:hover { background: #111827; }
.contact-order-hours {
    flex: 1 0 100%;
    color: var(--color-gray);
    font-size: 0.85rem;
}
.product-contact-order { list-style: none; margin: 12px 0; }
.product-contact-order .contact-order { margin-top: 0; }

/* FAQ page */
.page-lead{margin:0 0 1.5rem;max-width:40rem;color:var(--muted,#5c5c5c);line-height:1.5}
.faq-list{display:grid;gap:.75rem;max-width:48rem}
.faq-item{border:1px solid rgba(0,0,0,.08);border-radius:.5rem;padding:.85rem 1rem;background:#fff}
.faq-item summary{cursor:pointer;font-weight:600;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-answer{margin-top:.65rem;line-height:1.55;color:var(--muted,#444)}
