/* ==========================================================================
   Zaiax storefront
   ========================================================================== */

:root {
    --color-black: #000;
    --color-ink: #111;
    --color-text: #222;
    --color-muted: #6b6b6b;
    --color-line: #e2e2e2;
    --color-surface: #f5f5f5;
    --color-white: #fff;
    --color-sage: #b5c9bd;
    --color-forest: #103f15;
    --color-sale: #d0021b;
    --color-star: #f5a623;
    --color-order: #1e9e45;
    --color-order-dark: #167a35;

    --font-base: "Montserrat", "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-bn: var(--font-base);

    --container: 1400px;
    --gutter: clamp(12px, 2.5vw, 24px);
    --header-h: 64px;
    --radius: 4px;
    --shadow: 0 6px 24px rgb(0 0 0 / 0.08);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Base ------------------------------------------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-base);
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, p {
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--color-forest);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--fluid {
    max-width: none;
    padding-inline: clamp(8px, 1.2vw, 20px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 1000;
    padding: 10px 16px;
    background: var(--color-white);
    color: var(--color-black);
    font-weight: 700;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn--dark {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.btn--dark:hover {
    background: #2b2b2b;
}

.btn--xs {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 2px;
    text-transform: uppercase;
}

.btn--sm {
    padding: 10px 18px;
    font-size: 13px;
}

.btn--lg {
    padding: 14px 36px;
    font-size: 20px;
    font-weight: 700;
}

.btn--block {
    display: flex;
    width: 100%;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background: rgb(255 255 255 / 0.12);
}

/* Header ------------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-black);
    color: var(--color-white);
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

.site-header .header-bar {
    max-width: none;
    padding-inline: clamp(10px, 2vw, 16px);
}

.site-logo img {
    width: auto;
    height: 34px;
}

.menu-toggle {
    display: none;
}

.site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-nav__head {
    display: none;
}

.menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-item {
    position: relative;
}

.menu > .menu-item {
    display: flex;
    align-items: center;
}

.menu > .menu-item > a,
.menu > .menu-item > .menu-item__label {
    display: block;
    padding: 22px 10px;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--color-white);
    white-space: nowrap;
    transition: color 0.2s;
}

.menu > .menu-item.has-children > a,
.menu > .menu-item.has-children > .menu-item__label {
    padding-right: 2px;
}

.menu > .menu-item > a:hover,
.menu > .menu-item > a[aria-current="page"],
.menu > .menu-item > .menu-item__label:hover {
    color: var(--color-sage);
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0 8px 0 4px;
    height: 100%;
    border: 0;
    background: none;
    color: currentColor;
}

.submenu-toggle svg {
    transition: transform 0.25s var(--ease);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 10px 0;
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--color-sage);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.sub-menu .sub-menu {
    top: -13px;
    left: 100%;
}

.sub-menu .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sub-menu a,
.sub-menu .menu-item__label {
    display: block;
    flex: 1;
    padding: 9px 20px;
    border: 0;
    background: none;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s, padding 0.2s;
}

.sub-menu a:hover {
    background: var(--color-surface);
    padding-left: 24px;
}

.sub-menu .submenu-toggle svg {
    transform: rotate(-90deg);
}

@media (hover: hover) and (min-width: 1025px) {
    .menu-item:hover > .sub-menu,
    .menu-item:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu > .menu-item:hover > .submenu-toggle svg {
        transform: rotate(180deg);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 6px;
    font-size: 14px;
    font-weight: 600;
}

.cart-link__icon {
    position: relative;
    display: inline-flex;
}

.cart-link__count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--color-sage);
    color: var(--color-black);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.nav-overlay {
    display: none;
}

/* Search modal */

.search-modal {
    width: min(640px, calc(100% - 24px));
    margin: 12vh auto auto;
    padding: 24px;
    border: 0;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.search-modal::backdrop {
    background: rgb(0 0 0 / 0.6);
}

.search-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.search-modal__head h2 {
    font-size: 20px;
    font-weight: 700;
}

.search-modal .icon-btn:hover {
    background: var(--color-surface);
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-suggest {
    flex: 1 0 100%;
    max-height: 320px;
    margin: 4px 0 0;
    padding: 0;
    overflow: auto;
    list-style: none;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    background: #fff;
}

.search-suggest a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    color: inherit;
    text-decoration: none;
}

.search-suggest a:hover {
    background: var(--color-surface);
}

.search-suggest img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #f3f3f3;
}

.search-suggest strong,
.search-suggest small {
    display: block;
}

.search-suggest small {
    color: #666;
    font-size: 12px;
    font-weight: 600;
}

.search-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: 3px;
    font: inherit;
}

/* Hero slider -------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
}

.hero__viewport {
    overflow: hidden;
}

.hero__track {
    display: flex;
    transition: transform 0.5s var(--ease);
    will-change: transform;
}

.hero__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    height: 600px;
    overflow: hidden;
    color: var(--color-black);
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    height: 100%;
    max-width: var(--container);
}

.hero__eyebrow {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero__title {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: clamp(12px, 2.6vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.hero__slide.is-active .hero__content > * {
    animation: fade-in-up 0.7s var(--ease) both;
}

.hero__slide.is-active .hero__title {
    animation-delay: 0.1s;
}

.hero__slide.is-active .btn {
    animation-delay: 0.2s;
}

.hero__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0;
    transform: translateX(-50%);
}

.hero__dot {
    width: 14px;
    height: 3px;
    margin: 0 -2px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.42);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12);
    opacity: 0.88;
    transition: width 0.25s ease, background-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.hero__dot[aria-current="true"] {
    width: 20px;
    background: rgb(0 0 0 / 0.88);
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.45);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections ------------------------------------------------------------------ */

.product-section {
    margin: 18px var(--gutter) 0;
    padding: 0 12px 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.section-band {
    margin-bottom: 24px;
    padding: 4px var(--gutter);
    overflow: hidden;
    background: var(--color-sage);
    text-align: center;
}

.product-section .section-band {
    margin: 0 calc(-1 * 12px) 9px;
    width: calc(100% + 24px);
    max-width: none;
    box-sizing: border-box;
}

.product-section--flash .section-band {
    margin: 0 -12px 9px;
    width: calc(100% + 24px);
}

.section-band__title {
    font-size: clamp(18px, 6vw, 70px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.2px;
    color: var(--color-forest);
    white-space: nowrap;
}

.section-band__title--wrap {
    white-space: normal;
}

.section-actions,
.all-products {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.section-actions .btn {
    animation: view-all-nudge 1.4s ease-in-out infinite;
}

.all-products {
    margin-top: 0;
    padding: 8px var(--gutter) 36px;
}

.category-banners {
    display: grid;
    gap: 12px;
    padding: 12px 0;
    background: var(--color-white);
}

.category-banner {
    display: block;
    overflow: hidden;
}

.category-banner img {
    width: 100%;
    transition: transform 0.6s var(--ease);
}

.category-banner:hover img {
    transform: scale(1.02);
}

/* Product grid & card ------------------------------------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.product-grid > * {
    min-width: 0;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    background: #f6f6f6;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f6f6f6;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f6f6f6;
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 10px;
}

.product-card__title {
    width: 100%;
    max-width: 100%;
    height: 1.4em;
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-ink);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card__title a {
    display: block;
    width: 0;
    min-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card__title a:hover {
    text-decoration: underline;
}

.product-card__rating {
    position: relative;
    width: 80px;
    height: 14px;
    background: linear-gradient(90deg, #d6d6d6 0 100%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'%3E%3Cpath id='s' d='M7 0l2.1 4.6 4.9.5-3.7 3.3 1.1 4.9L7 10.8 2.6 13.3l1.1-4.9L0 5.1l4.9-.5z'/%3E%3Cuse href='%23s' x='16.5'/%3E%3Cuse href='%23s' x='33'/%3E%3Cuse href='%23s' x='49.5'/%3E%3Cuse href='%23s' x='66'/%3E%3C/svg%3E") no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'%3E%3Cpath id='s' d='M7 0l2.1 4.6 4.9.5-3.7 3.3 1.1 4.9L7 10.8 2.6 13.3l1.1-4.9L0 5.1l4.9-.5z'/%3E%3Cuse href='%23s' x='16.5'/%3E%3Cuse href='%23s' x='33'/%3E%3Cuse href='%23s' x='49.5'/%3E%3Cuse href='%23s' x='66'/%3E%3C/svg%3E") no-repeat;
}

.product-card__rating span {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--color-star);
}

.product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font-size: 15px;
}

.product-card__price del {
    color: var(--color-muted);
    font-size: 13px;
}

.product-card__price ins {
    text-decoration: none;
    font-weight: 700;
    color: var(--color-ink);
}

.product-card__order {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.size-picker {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.size-picker__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.size-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 1px 2px;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.size-chip:hover {
    border-color: var(--color-ink);
}

.size-picker__input:disabled + .size-chip {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-picker__input:checked + .size-chip,
.size-chip[aria-pressed="true"] {
    background: var(--color-ink);
    border-color: var(--color-ink);
    color: var(--color-white);
}

.size-picker__input:focus-visible + .size-chip {
    outline: 2px solid var(--color-order);
    outline-offset: 2px;
}

.btn--order {
    min-height: 0;
    padding: 6px 8px;
    background: #103f15;
    border-color: #103f15;
    color: var(--color-white);
    font-family: var(--font-bn);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
}

.btn--order:hover {
    background: #0c3010;
    border-color: #0c3010;
}

.btn--order.is-ordering,
.btn--order.is-added {
    position: relative;
    color: transparent;
    pointer-events: none;
    transition: none;
}

.btn--order.is-ordering::after,
.btn--order.is-added::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
}

.btn--order.is-ordering::after {
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgb(255 255 255 / 0.35);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: order-spin 0.6s linear infinite;
}

.btn--order.is-added::after {
    width: 7px;
    height: 13px;
    margin: -10px 0 0 -4px;
    border: solid var(--color-white);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

@keyframes order-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn--order.is-ordering::after,
    .product-section--flash::before,
    .section-actions .btn {
        animation: none;
    }
}

/* Product slider (Flash Sale) */

.product-slider {
    position: relative;
}

.product-slider__track {
    --per-view: 5;
    --gap: 14px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: none;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.product-slider__track::-webkit-scrollbar {
    display: none;
}

.product-slider__item {
    min-width: 0;
    scroll-snap-align: start;
}

.product-section--flash {
    position: relative;
    border: 0;
    border-radius: 14px;
    background: var(--color-white);
}

.product-section--flash::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    padding: 3px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-order), #d8ffe6, var(--color-forest), var(--color-order));
    background-size: 300% 100%;
    pointer-events: none;
    animation: flash-border 2.2s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

@keyframes flash-border {
    to {
        background-position: 300% 0;
    }
}

@keyframes view-all-nudge {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.product-slider__item .product-card:hover {
    transform: none;
}

.product-slider__arrow {
    position: absolute;
    top: 35%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.18);
    transition: background-color 0.2s, color 0.2s;
}

.product-slider__arrow:hover {
    background: var(--color-ink);
    color: var(--color-white);
}

.product-slider__arrow--prev {
    left: 6px;
}

.product-slider__arrow--next {
    right: 6px;
}

/* Size selection modal */

.size-modal {
    width: min(420px, calc(100% - 24px));
    padding: 24px;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.size-modal::backdrop {
    background: rgb(0 0 0 / 0.6);
}

.size-modal[open] {
    animation: fade-in-up 0.25s var(--ease);
}

.size-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
}

.size-modal .icon-btn:hover {
    background: var(--color-surface);
}

.size-modal__product {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-right: 32px;
    margin-bottom: 18px;
}

.size-modal__product img {
    width: 72px;
    height: 96px;
    object-fit: contain;
    border-radius: 4px;
    background: #f3f3f3;
}

.size-modal__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.size-modal__price {
    margin-top: 4px;
    font-weight: 700;
}

.size-modal__label {
    margin-bottom: 10px;
    font-family: var(--font-bn);
    font-weight: 700;
}

.size-modal__sizes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.size-modal__sizes .size-chip {
    min-height: 42px;
    font-size: 14px;
}

.size-modal__sizes .size-chip:disabled {
    background: #ececec;
    border-color: #d5d5d5;
    color: #9a9a9a;
    cursor: not-allowed;
    pointer-events: none;
}

.size-modal__error {
    margin-bottom: 12px;
    color: var(--color-sale);
    font-family: var(--font-bn);
    font-size: 14px;
    font-weight: 600;
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
    background: var(--color-white);
}

.footer-showcase {
    position: relative;
    padding: 28px 0 8px;
}

.footer-showcase__photo {
    display: block;
    width: 100%;
    height: auto;
}

.footer-card {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: min(300px, 42%);
    padding: 16px 18px 18px;
    background: var(--color-white);
    box-shadow: 0 8px 28px rgb(0 0 0 / 0.16);
    text-align: center;
    transform: translate(-50%, -50%);
}

.footer-card__title {
    margin: 12px 0 4px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.4px;
}

.footer-card__title:first-child {
    margin-top: 0;
}

.footer-card__address {
    margin: 0;
    color: #e10600;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.contact-list {
    display: grid;
    gap: 4px;
    justify-items: center;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 400;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-list a:hover {
    text-decoration: underline;
}

.map-btn {
    min-width: 160px;
    font-weight: 400;
}

.map-btn img {
    filter: invert(1);
}

.footer-bottom {
    padding: 18px 0 20px;
}

.footer-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.footer-links a:hover {
    color: var(--color-forest);
    text-decoration: underline;
}

.footer-bkash {
    display: block;
    width: auto;
    height: 72px;
    margin: 26px auto 10px;
}

.footer-methods {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 72px;
}

.footer-methods__img {
    width: min(760px, calc(100% - 180px));
    height: auto;
}

.social-links {
    position: absolute;
    left: 0;
    top: 50%;
    display: flex;
    gap: 8px;
    margin: 0;
    transform: translateY(-50%);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ececec;
    transition: background-color 0.2s, transform 0.2s;
}

.social-links a:hover {
    background: var(--color-sage);
    transform: translateY(-2px);
}

.copyright {
    margin: 18px 0 0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1024px) {
    .site-footer > .container {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding-inline: 20px;
    }

    .footer-showcase {
        display: contents;
        padding: 0;
    }

    .footer-photo-box,
    .footer-card,
    .footer-links-box {
        border-radius: 18px;
        background: #f6f6f6;
    }

    .footer-photo-box {
        box-sizing: border-box;
        width: auto;
        max-width: none;
        margin: 28px 0 0;
        /* The photo is an opaque white collage. Do not paint a gray card behind it. */
        padding: 0;
        overflow: visible;
        border-radius: 0;
        background: transparent;
    }

    .footer-showcase__photo {
        border-radius: 0;
    }

    .footer-card {
        position: static;
        width: auto;
        padding: 18px 28px 20px;
        box-shadow: none;
        transform: none;
    }

    .footer-card__title {
        margin: 14px 0 6px;
        font-size: 16px;
    }

    .footer-card__address {
        margin-inline: auto;
        max-width: 34ch;
        font-size: 15px;
        font-weight: 400;
    }

    .contact-list {
        gap: 6px;
        margin: 4px 0 14px;
        font-size: 15px;
    }

    .map-btn {
        min-width: 190px;
        border-radius: 8px;
    }

    .footer-bottom {
        display: contents;
        padding: 0;
    }

    .footer-links-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 1;
        gap: 0;
        margin-bottom: -6px;
        padding: 22px 28px 8px;
        border-radius: 18px 18px 0 0;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        font-size: 14px;
        font-weight: 400;
    }

    .footer-bkash {
        order: 3;
        height: 56px;
        margin: 4px auto 0;
    }

    .footer-methods {
        display: contents;
        min-height: 0;
    }

    .social-links {
        position: static;
        order: 2;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 10px 28px 18px;
        transform: none;
        border-radius: 0 0 18px 18px;
        background: #f6f6f6;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        background: #fff;
    }

    .footer-methods__img {
        order: 4;
        width: min(420px, 100%);
        margin-top: 4px;
    }

    .copyright {
        order: 5;
        margin: 0;
    }
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 1280px) {
    .menu > .menu-item > a,
    .menu > .menu-item > .menu-item__label {
        padding-inline: 7px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-h: 58px;
    }

    .header-bar {
        position: relative;
        gap: 8px;
    }

    .menu-toggle {
        display: inline-flex;
        flex: none;
        margin-left: 0;
    }

    .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        min-width: 0;
        margin: 0;
        transform: translate(-50%, -50%);
    }

    .site-logo img {
        height: 26px;
        width: auto;
        max-width: 108px;
    }

    .header-actions {
        flex: 0 0 116px;
        width: 116px;
        margin-left: auto;
        color: var(--color-white);
    }

    .header-actions .icon-btn,
    .header-actions .cart-link {
        flex: none;
        width: 36px;
        height: 36px;
        color: var(--color-white);
    }

    .cart-link__amount {
        display: none;
    }

    .account-link {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 120;
        display: none;
        width: min(240px, 68vw);
        overflow-y: auto;
        background: #000;
        color: #fff;
        overscroll-behavior: contain;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px 10px 20px;
        background: var(--color-black);
        color: var(--color-white);
    }

    .site-nav__title {
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .menu {
        display: block;
    }

    .menu-item,
    .sub-menu .menu-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid rgb(255 255 255 / 0.14);
    }

    .menu > .menu-item > a,
    .menu > .menu-item > .menu-item__label,
    .sub-menu a,
    .sub-menu .menu-item__label {
        flex: 1;
        padding: 14px 8px 14px 16px;
        color: #fff;
        font-size: 15px;
        text-align: left;
    }

    .menu > .menu-item > a:hover,
    .menu > .menu-item > a[aria-current="page"],
    .menu > .menu-item > .menu-item__label:hover {
        color: var(--color-sage);
    }

    .submenu-toggle {
        align-self: center;
        width: 36px;
        height: 36px;
        margin-right: 8px;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        padding: 0;
        color: #fff;
        background: rgb(255 255 255 / 0.08);
    }

    .submenu-toggle svg {
        display: block;
    }

    .sub-menu .submenu-toggle svg {
        transform: none;
    }

    .submenu-toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    .sub-menu,
    .sub-menu .sub-menu {
        position: static;
        flex-basis: 100%;
        display: none;
        min-width: 0;
        padding: 0;
        border-top: 1px solid rgb(255 255 255 / 0.14);
        box-shadow: none;
        background: #111;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .menu-item.is-open > .sub-menu {
        display: block;
    }

    .sub-menu .menu-item:last-child {
        border-bottom: 0;
    }

    .sub-menu a,
    .sub-menu .menu-item__label {
        padding-left: 32px;
        font-size: 14px;
    }

    .sub-menu .sub-menu a {
        padding-left: 44px;
    }

    .sub-menu a:hover {
        padding-left: 36px;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 110;
        display: block;
        background: rgb(0 0 0 / 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .hero__slide {
        height: 350px;
    }

    .hero__eyebrow {
        font-size: 10px;
    }

    .hero__title {
        font-size: clamp(12px, 2.6vw, 42px);
    }

    .btn--xs {
        font-size: 12px;
    }

    .section-band__title {
        font-size: clamp(18px, 6vw, 70px);
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .product-slider__track {
        --per-view: 3;
        --gap: 12px;
    }

}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .hero__slide {
        height: auto;
        aspect-ratio: 2316 / 776;
    }

    .hero__image {
        object-position: center center;
    }

    .hero__content {
        gap: 3px;
        width: 52%;
        max-width: 52%;
        margin-left: 0;
        margin-right: auto;
        padding-left: 22px;
        padding-right: 0;
    }

    .hero__eyebrow {
        font-size: 7px;
    }

    .hero__title {
        margin-bottom: 4px;
        font-size: clamp(11px, 3.1vw, 16px);
        white-space: normal;
    }

    .hero .btn--xs {
        padding: 6px 10px;
        font-size: 10px;
    }

    .hero__dots {
        bottom: 8px;
    }

    .hero__dot {
        width: 12px;
        height: 2.5px;
        margin: 0 -2px;
    }

    .hero__dot[aria-current="true"] {
        width: 17px;
    }

    .product-section:not(.product-section--flash) {
        margin: 12px 0 0;
        padding: 0 0 16px;
    }

    .hero__dots {
        display: none;
    }

    .page-home .product-section--flash {
        margin-top: 10px;
    }

    .product-section--flash {
        margin-inline: 12px;
        padding: 0 0 18px;
        border: 0;
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
    }

    .product-section--flash .section-actions {
        margin-top: 14px;
        margin-bottom: 2px;
    }

    .product-section:not(.product-section--flash) .section-band {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-bottom: 9px;
    }

    .product-section--flash .section-band {
        width: calc(100% + 24px);
        margin: 0 -12px 9px;
    }

    .section-band {
        margin-bottom: 9px;
    }

    .section-band__title {
        font-size: clamp(18px, 6vw, 28px);
    }

    .section-actions,
    .all-products {
        display: flex;
    }

    .category-banners {
        gap: 6px;
        padding: 6px 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-card__body {
        gap: 4px;
        padding: 6px 6px 8px;
    }

    .product-card__title {
        height: 1.25em;
        font-size: 11px;
        line-height: 1.25;
    }

    .product-card__price {
        gap: 4px;
        font-size: 13px;
    }

    .product-card__price del {
        font-size: 11px;
    }

    .product-card__order {
        gap: 6px;
    }

    .product-card__rating {
        width: 70px;
        height: 12px;
    }

    .product-slider__track {
        --per-view: 3;
        --gap: 10px;
    }

    .product-slider__arrow {
        width: 24px;
        height: 24px;
        box-shadow: 0 1px 6px rgb(0 0 0 / 0.14);
    }

    .product-slider__arrow svg {
        width: 14px;
        height: 14px;
    }

    .product-slider__arrow--prev {
        left: 2px;
    }

    .product-slider__arrow--next {
        right: 2px;
    }

    .btn--order {
        padding: 5px 6px;
        font-size: 12px;
    }

    .size-picker {
        gap: 3px;
    }

    .size-chip {
        min-height: 20px;
        padding: 0 1px;
        font-size: 10px;
    }

    .btn--lg {
        padding: 11px 28px;
        font-size: 16px;
    }

    .section-actions {
        margin-top: 20px;
    }

    .section-actions .btn,
    .all-products .btn {
        padding: 5px 14px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
    }

    .footer-showcase {
        padding-top: 16px;
    }

    .footer-card {
        position: static;
        width: auto;
        max-width: none;
        margin: 0;
        transform: none;
        box-shadow: none;
        padding: 22px 28px;
    }

}

/* Homepage category/image banners + non-flash section bands: true edge-to-edge on PC.
   Flash Sale stays as the inset card — not this style. */
@media (min-width: 768px) {
    .page-home .category-banners {
        position: relative;
        left: 50%;
        width: 100vw;
        max-width: 100vw;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0;
        gap: 0;
        box-sizing: border-box;
    }

    .page-home .category-banner {
        display: block;
        width: 100%;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }

    .page-home .category-banner img {
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
    }

    .page-home .product-section:not(.product-section--flash) {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
    }

    .page-home .product-section:not(.product-section--flash) .section-band {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-bottom: 9px;
        padding-inline: 0;
        box-sizing: border-box;
    }

    .page-home .product-section:not(.product-section--flash) .container--fluid {
        padding-inline: clamp(8px, 1.2vw, 20px);
    }
}

/* Sticky cart -------------------------------------------------------------- */

.sticky-cart {
    position: fixed;
    right: 0;
    bottom: 72px;
    z-index: 140;
    display: grid;
    width: 92px;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
    background: var(--color-white);
    box-shadow: -8px 0 22px rgb(0 0 0 / 0.16);
    color: var(--color-white);
    text-align: center;
    text-decoration: none;
}

.page-checkout .sticky-cart {
    display: none;
}

.sticky-cart[hidden] {
    display: none;
}

.sticky-cart__head {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 12px 8px 10px;
    background: var(--color-forest);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.sticky-cart__total {
    padding: 8px 6px 9px;
    background: var(--color-white);
    color: var(--color-forest);
    font-size: 14px;
    font-weight: 700;
}

.sticky-cart.is-catching {
    animation: basket-catch 0.28s var(--ease);
}

@keyframes basket-catch {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.cart-flyer {
    position: fixed;
    z-index: 90;
    object-fit: contain;
    border-radius: 8px;
    pointer-events: none;
    box-shadow: 0 12px 28px rgb(0 0 0 / 0.28);
}

@media (max-width: 767px) {
    .sticky-cart {
        width: 64px;
    }

    .sticky-cart__head {
        gap: 1px;
        padding: 6px 4px 5px;
        font-size: 11px;
    }

    .sticky-cart__head svg {
        width: 18px;
        height: 18px;
    }

    .sticky-cart__total {
        padding: 5px 4px 6px;
        font-size: 11px;
    }
}

/* Cart drawer ------------------------------------------------------------- */

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    visibility: hidden;
}

.cart-drawer.is-open {
    visibility: visible;
}

.cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.45);
    opacity: 0;
    transition: opacity 0.28s var(--ease);
}

.cart-drawer.is-open .cart-drawer__backdrop {
    opacity: 1;
}

.cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(420px, 100%);
    height: 100%;
    background: var(--color-white);
    box-shadow: -12px 0 40px rgb(0 0 0 / 0.16);
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
}

.cart-drawer.is-open .cart-drawer__panel {
    transform: translateX(0);
}

.cart-drawer.is-open .cart-drawer__panel.is-settled {
    transform: none;
}

.cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-line);
}

.cart-drawer__head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-drawer__close {
    border: 0;
    background: none;
    color: var(--color-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.cart-drawer__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.cart-drawer__scroll {
    flex: 1;
    overflow: auto;
    padding: 8px 18px 18px;
}

.cart-drawer__empty {
    margin: 28px 0;
    color: var(--color-muted);
    text-align: center;
}

.drawer-lines {
    margin: 0;
    padding: 0;
    list-style: none;
}

.drawer-line {
    position: relative;
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    padding: 14px 28px 14px 0;
    border-bottom: 1px solid var(--color-line);
}

.drawer-line__media,
.drawer-suggest__media {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #f3f3f3;
}

.drawer-line__media img,
.drawer-suggest__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.drawer-line__name,
.drawer-suggest__name {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.drawer-line__size {
    margin: 4px 0 8px;
    color: var(--color-muted);
    font-size: 12px;
}

.drawer-line__qty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.drawer-line__qty button {
    width: 26px;
    height: 26px;
    border: 1px solid #cfcfcf;
    border-radius: 50%;
    background: var(--color-white);
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.drawer-line__qty button:disabled {
    opacity: 0.35;
    cursor: default;
}

.drawer-line__math {
    color: var(--color-ink);
    font-weight: 800;
}

.drawer-line__remove {
    position: absolute;
    top: 12px;
    right: 0;
    border: 0;
    background: none;
    color: var(--color-muted);
    cursor: pointer;
}

.drawer-suggest {
    margin-top: 22px;
}

.drawer-suggest__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.drawer-suggest__head h3 {
    margin: 0;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--color-order);
    font-size: 16px;
}

.drawer-suggest__nav {
    display: flex;
    gap: 8px;
}

.drawer-suggest__nav button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--color-order);
    color: var(--color-white);
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.drawer-suggest__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.drawer-suggest__track::-webkit-scrollbar {
    display: none;
}

.drawer-suggest__card {
    display: grid;
    flex: 0 0 86%;
    grid-template-columns: 84px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    scroll-snap-align: start;
}

.drawer-suggest__price {
    margin: 4px 0 8px;
    color: var(--color-order);
    font-size: 15px;
    font-weight: 800;
}

.drawer-suggest__add {
    border: 0;
    border-radius: 999px;
    padding: 6px 12px;
    background: var(--color-order);
    color: var(--color-white);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cart-drawer__foot {
    padding: 14px 18px 18px;
    border-top: 1px solid var(--color-line);
    background: var(--color-white);
}

.tier-offer {
    margin: 0 0 12px;
    padding: 12px;
    border: 1px solid var(--color-order);
    border-radius: 8px;
    background: #e8f8ee;
    color: var(--color-forest);
    font-size: 14px;
    line-height: 1.5;
}

.tier-offer__message {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.tier-offer__note {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.bonus-save {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid #b7e7c6;
    border-radius: 10px;
    background: #e8f8ee;
}

.order-summary__rows > .bonus-save {
    margin: 8px 0;
    padding: 10px 12px;
    border: 1px solid #b7e7c6;
    border-radius: 10px;
    background: #e8f8ee;
}

.bonus-save__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.bonus-save__copy strong {
    color: var(--color-forest);
    font-size: 14px;
    font-weight: 800;
}

.bonus-save__copy small {
    color: #3d4a3f;
    font-size: 12px;
    font-weight: 600;
}

.bonus-save__amount {
    flex: none;
    color: var(--color-order);
    font-family: var(--font-base);
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.money-off dd,
.cart-drawer__discount,
.cart-drawer__discount strong {
    color: #1e9e45;
    font-weight: 800;
}

.cart-drawer__discount {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 6px;
    font-size: 14px;
    text-align: left;
}

.cart-drawer__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
}

.cart-drawer__total strong {
    font-size: 20px;
    font-weight: 800;
}

@media (max-width: 767px) {
    .cart-drawer__panel {
        width: calc(100% - 56px);
    }
}

body.cart-drawer-open {
    overflow: hidden;
}

body.cart-drawer-open .sticky-cart {
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .cart-drawer__backdrop,
    .cart-drawer__panel {
        transition: none;
    }
}

/* Discount notice -------------------------------------------------------- */

.offer-pop {
    position: fixed;
    inset: 0;
    z-index: 125;
    display: grid;
    place-items: center;
    pointer-events: auto;
    cursor: pointer;
}

.offer-pop[hidden] {
    display: none;
}

.offer-pop__scrim {
    position: absolute;
    inset: 0;
    background: rgb(18 36 22 / 0.42);
}

.offer-pop__burst {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.offer-pop__card {
    position: relative;
    z-index: 2;
    width: min(340px, calc(100% - 36px));
    padding: 28px 24px 24px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 50px rgb(0 0 0 / 0.22);
    pointer-events: auto;
    text-align: center;
    cursor: default;
    animation: offer-drop 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-pop.is-leaving .offer-pop__card {
    animation: offer-away 0.28s ease forwards;
}

.offer-pop.is-leaving .offer-pop__scrim {
    animation: offer-fade 0.28s ease forwards;
}

.offer-pop__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8a8a8a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.offer-pop__kicker {
    margin: 0 0 10px;
    color: var(--color-order);
    font-family: var(--font-bn);
    font-size: 20px;
    font-weight: 800;
}

.offer-pop__sub {
    margin: 0 0 14px;
    color: #1a1a1a;
    font-family: var(--font-bn);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.offer-pop__kicker[hidden],
.offer-pop__sub[hidden],
.offer-pop__amount[hidden] {
    display: none;
}

.offer-pop__amount {
    margin: 0 0 16px;
    color: var(--color-forest);
    font-family: var(--font-bn);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.offer-pop__taka {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.offer-pop__line {
    margin: 0;
    color: #3d4741;
    font-family: var(--font-bn);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.offer-bomb {
    position: absolute;
    left: 50%;
    top: 42%;
    border-radius: 2px;
    pointer-events: none;
    animation: offer-bomb-burst 0.95s cubic-bezier(0.12, 0.75, 0.25, 1) forwards;
}

@keyframes offer-bomb-burst {
    0% {
        transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot));
        opacity: 0;
    }
}

.offer-balloon,
.offer-confetti {
    position: absolute;
    bottom: -28px;
    border-radius: 50%;
    animation: balloon-rise linear forwards;
}

.offer-balloon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 18px;
    background: rgb(40 40 40 / 0.28);
}

.offer-confetti {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation-name: confetti-rise;
}

@keyframes offer-drop {
    0% {
        transform: translateY(-18px) scale(0.96);
        opacity: 0;
    }

    65% {
        transform: translateY(3px) scale(1);
        opacity: 1;
    }

    100% {
        transform: none;
        opacity: 1;
    }
}

@keyframes offer-away {
    to {
        transform: translateY(-12px);
        opacity: 0;
    }
}

@keyframes offer-fade {
    to {
        opacity: 0;
    }
}

@keyframes balloon-rise {
    0% {
        transform: translate3d(0, 0, 0) scale(0.7);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    100% {
        transform: translate3d(var(--drift, 24px), -115vh, 0) scale(1);
        opacity: 0.15;
    }
}

@keyframes confetti-rise {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        transform: translate3d(var(--drift, 24px), -110vh, 0) rotate(420deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-pop__card,
    .offer-pop.is-leaving .offer-pop__card,
    .offer-pop.is-leaving .offer-pop__scrim,
    .offer-balloon,
    .offer-confetti {
        animation: none;
    }
}

/* Toast ----------------------------------------------------------------- */

.toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(340px, calc(100vw - 32px));
    padding: 14px 16px;
    background: var(--color-white);
    border-left: 4px solid var(--color-order);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.toast[hidden] {
    display: none;
}

.toast--error {
    border-left-color: var(--color-sale);
}

.toast--error .toast__actions {
    display: none;
}

.toast__message {
    margin: 0;
    font-family: var(--font-bn);
    font-weight: 600;
}

.toast__actions {
    display: flex;
    gap: 8px;
}

.toast__actions .btn {
    flex: 1;
    min-height: 38px;
    font-family: var(--font-bn);
}

/* Cart / checkout pages ------------------------------------------------- */

.shop-page {
    padding-block: clamp(24px, 4vw, 48px);
}

.shop-page__title {
    margin: 0 0 24px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
}

.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
}

.shop-layout > * {
    min-width: 0;
}

.shop-layout.checkout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
}

.cart-empty {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 48px 16px;
    background: var(--color-surface);
    font-family: var(--font-bn);
    font-size: 18px;
}

.cart-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-line);
}

.cart-line {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto auto 40px;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line);
}

.cart-line__media img {
    width: 90px;
    height: 120px;
    object-fit: contain;
    background: #f3f3f3;
}

.cart-line__name {
    font-weight: 600;
    color: var(--color-ink);
    text-decoration: none;
}

.cart-line__name:hover {
    text-decoration: underline;
}

.cart-line__meta {
    margin: 4px 0 0;
    color: var(--color-muted);
    font-size: 14px;
}

.cart-line__qty {
    display: flex;
    gap: 6px;
    align-items: center;
}

.cart-line__qty input {
    width: 64px;
    min-height: 40px;
    padding: 6px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font: inherit;
    text-align: center;
}

.cart-line__total {
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
}

.order-summary {
    padding: 20px;
    background: var(--color-surface);
    border-radius: var(--radius);
}

.page-cart .order-summary {
    margin-right: 104px;
}

.order-summary + .order-summary {
    margin-top: 0;
}

.order-summary__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
}

.order-summary__rows {
    margin: 0 0 16px;
}

.order-summary__rows > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-line);
}

.order-summary__rows dt,
.order-summary__rows dd {
    margin: 0;
}

.order-summary__rows dd {
    font-weight: 600;
    text-align: right;
}

.order-summary__total {
    font-size: 18px;
    font-weight: 700;
}

.order-summary .btn--order {
    font-family: var(--font-bn);
}

.coupon-fold {
    margin: 0 0 10px;
}

.coupon-fold__summary {
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    color: #9a9aa3;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
}

.coupon-fold__summary::-webkit-details-marker {
    display: none;
}

.coupon-fold__summary::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid currentColor;
}

.coupon-fold[open] > .coupon-fold__summary::before {
    transform: rotate(90deg);
}

.coupon-fold__panel {
    margin-top: 8px;
}

.coupon-fold__form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.coupon-fold__form .btn {
    flex: none;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 13px;
}

.coupon-fold__form input {
    flex: 1;
    min-width: 0;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #e4e4e8;
    border-radius: var(--radius);
    background: var(--color-white);
    font: inherit;
    font-size: 13px;
}

.coupon-fold__form input:focus {
    outline: 1px solid #cfcfd4;
    outline-offset: 1px;
}

.coupon-fold__applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--color-muted);
    font-size: 13px;
}

.coupon-fold__remove {
    border: 0;
    background: none;
    color: var(--color-muted);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.coupon-fold__saving {
    margin: 6px 0 0;
    color: var(--color-muted);
    font-size: 12px;
}

.summary-lines {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.summary-lines li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 14px;
}

.summary-lines img {
    flex: none;
    width: 48px;
    height: 64px;
    object-fit: contain;
    background: #f3f3f3;
}

.summary-lines__name {
    flex: 1;
    min-width: 0;
}

.summary-lines li > span:last-child {
    flex: none;
    white-space: nowrap;
}

.summary-lines small {
    color: var(--color-muted);
    white-space: nowrap;
}

.checkout__heading {
    margin: 0 0 16px;
    font-family: var(--font-bn);
    font-size: 20px;
}

.field {
    display: grid;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.field > label:not(.zone-option),
.field > legend {
    padding: 0;
    font-family: var(--font-bn);
    font-weight: 600;
}

.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea,
.field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cfcfcf;
    border-radius: var(--radius);
    font: inherit;
    font-size: 16px;
    background: var(--color-white);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 2px solid var(--color-black);
    outline-offset: 1px;
}

.field__control {
    position: relative;
}

.field__icon {
    position: absolute;
    top: 16px;
    left: 16px;
    color: #5c5c5c;
    pointer-events: none;
}

.field__control:not(:has(textarea)) .field__icon {
    top: 50%;
    transform: translateY(-50%);
}

.field__hint {
    margin: 0;
    color: var(--color-muted);
    font-family: var(--font-bn);
    font-size: 13px;
}

.field--solid {
    gap: 6px;
    margin-bottom: 16px;
    padding: 0;
    border: 0;
    background: transparent;
}

.field--solid > label {
    color: #222;
    font-size: 15px;
    font-weight: 600;
}

.field.field--solid input:not([type="radio"]):not([type="checkbox"]),
.field.field--solid textarea,
.field.field--solid select {
    border: 1px solid #b5b5b5;
    background: #fff;
    color: #111;
    font-weight: 500;
}

.field.field--solid input::placeholder,
.field.field--solid textarea::placeholder {
    color: #8a8a8a;
    font-weight: 400;
    opacity: 1;
}

.field.field--solid input:focus,
.field.field--solid textarea:focus,
.field.field--solid select:focus {
    outline: none;
    box-shadow: none;
    border-color: #222;
}

.field--solid .field__hint {
    color: #666;
    font-weight: 400;
}

.field--solid .field__icon {
    color: #6b6b6b;
}

.field [aria-invalid="true"] {
    border-color: var(--color-sale);
}

.field__error,
.form-alert {
    margin: 0;
    color: var(--color-sale);
    font-family: var(--font-bn);
    font-size: 14px;
}

.form-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fdecee;
    border-radius: var(--radius);
}

.zone-picker {
    gap: 12px;
}

.zone-picker legend {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.zone-option {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 16px 18px;
    border: 2px solid #bdbdbd;
    border-radius: 8px;
    background: var(--color-white);
    cursor: pointer;
    font-family: var(--font-bn);
    font-size: 16px;
}

.zone-option:has(input:checked) {
    border-color: var(--color-order);
    background: #f3fbf6;
    box-shadow: inset 0 0 0 2px var(--color-order);
}

.zone-option input {
    flex: none;
    width: 20px;
    height: 20px;
    min-height: 0;
    margin: 0;
    padding: 0;
    accent-color: var(--color-order);
}

.zone-option strong {
    margin-left: auto;
}

.pay-picker {
    margin: 0 0 16px;
}

.pay-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}

.pay-methods legend {
    width: 100%;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
}

.pay-option {
    display: flex;
    flex: 1 1 calc(50% - 8px);
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    background: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.pay-option:has(input:checked) {
    border-color: var(--color-order);
    box-shadow: inset 0 0 0 1px var(--color-order);
    background: #f3fbf6;
}

.pay-option input {
    accent-color: var(--color-order);
}

.pay-manual,
.pay-cod,
.pay-manual__copy,
.pay-number-label {
    display: none;
}

.pay-picker:has(input[value="bkash"]:checked) .pay-manual,
.pay-picker:has(input[value="nagad"]:checked) .pay-manual,
.pay-picker:has(input[value="rocket"]:checked) .pay-manual,
.pay-picker:has(input[value="cod"]:checked) .pay-cod {
    display: block;
}

.pay-picker:has(input[value="bkash"]:checked) .pay-manual__copy[data-method="bkash"],
.pay-picker:has(input[value="nagad"]:checked) .pay-manual__copy[data-method="nagad"],
.pay-picker:has(input[value="rocket"]:checked) .pay-manual__copy[data-method="rocket"],
.pay-picker:has(input[value="bkash"]:checked) .pay-number-label[data-method="bkash"],
.pay-picker:has(input[value="nagad"]:checked) .pay-number-label[data-method="nagad"],
.pay-picker:has(input[value="rocket"]:checked) .pay-number-label[data-method="rocket"] {
    display: block;
}

.pay-plan {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 12px;
    padding: 4px 12px 8px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
}

.pay-plan legend {
    padding: 0;
    font-size: 15px;
    font-weight: 700;
}

.pay-plan__option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 0;
    cursor: pointer;
}

.pay-plan__option + .pay-plan__option {
    border-top: 1px solid var(--color-line);
}

.pay-plan__option input {
    flex: none;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    padding: 0;
    accent-color: var(--color-order);
}

.pay-plan__option span {
    flex: 1;
    min-width: 0;
}

.pay-plan__option strong {
    margin-left: auto;
    white-space: nowrap;
}

.pay-plan__note {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--color-order);
    border-radius: 8px;
    background: #e8f8ee;
    color: var(--color-forest);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.pay-plan__note strong {
    font-size: 16px;
    font-weight: 700;
}

.pay-plan__note[hidden] {
    display: none;
}

.pay-manual__copy,
.pay-cod {
    margin: 0 0 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f7faf8;
    font-size: 13px;
    line-height: 1.55;
}

.pay-manual__copy p,
.pay-cod {
    margin: 0 0 8px;
}

.pay-manual__copy p:last-child {
    margin-bottom: 0;
}

.pay-manual__copy strong {
    font-size: 15px;
    letter-spacing: 0.03em;
}

.pay-how,
.pay-how-hint {
    font-weight: 700;
    line-height: 1.55;
}

.pay-how-hint {
    margin: 4px 0 0;
    color: #222;
    font-size: 13px;
}

.pay-account {
    display: grid;
    gap: 2px;
}

.pay-account__line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: var(--color-white);
    color: var(--color-ink);
    cursor: pointer;
}

.pay-copy:hover,
.pay-copy.is-copied {
    border-color: var(--color-forest);
    color: var(--color-forest);
}

.pay-copy__check {
    display: none;
}

.pay-copy.is-copied .pay-copy__icon {
    display: none;
}

.pay-copy.is-copied .pay-copy__check {
    display: block;
}

.pay-manual label {
    display: block;
    margin: 10px 0 4px;
    font-size: 13px;
    font-weight: 600;
}

.pay-manual .pay-number-label {
    display: none;
}

.pay-manual input[type="text"] {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #cfcfcf;
    border-radius: var(--radius);
    font: inherit;
    font-size: 14px;
}

.pay-manual input[type="text"]:focus {
    outline: 2px solid var(--color-forest);
    outline-offset: 1px;
}

.btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.btn.is-loading::after {
    content: "";
    position: absolute;
    inset: auto 12px auto auto;
    width: 1.1em;
    height: 1.1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: checkout-spin 0.65s linear infinite;
}

.checkout-busy {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgb(0 0 0 / 0.42);
    backdrop-filter: blur(2px);
}

.checkout-busy[hidden] {
    display: none !important;
}

.checkout-busy__panel {
    display: grid;
    justify-items: center;
    gap: 14px;
    width: min(100%, 320px);
    padding: 22px 20px;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.18);
    text-align: center;
    font-family: var(--font-bn);
}

.checkout-busy__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-forest);
    border-right-color: transparent;
    border-radius: 50%;
    animation: checkout-spin 0.7s linear infinite;
}

.checkout-busy__text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--color-ink);
}

body.checkout-is-busy {
    overflow: hidden;
}

.checkout-processing {
    display: grid;
    min-height: 50vh;
    place-items: center;
    padding: 32px 16px;
}

.checkout-busy--page {
    position: static;
    inset: auto;
    background: transparent;
    backdrop-filter: none;
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.order-received__hero {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 24px;
    text-align: center;
    font-family: var(--font-bn);
}

.order-received__hero .shop-page__title {
    margin: 8px 0 0;
    font-family: var(--font-bn);
}

.order-received__title .order-received__thanks,
.order-received__title .order-received__headline {
    display: block;
}

.order-received__support {
    max-width: 34em;
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.order-received__support a {
    color: inherit;
    font-weight: 700;
    white-space: nowrap;
}

.order-received__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 0 0 24px;
    padding: 16px;
    list-style: none;
    border: 1px dashed #bdbdbd;
    border-radius: var(--radius);
}

.order-received__facts strong {
    display: block;
    margin-top: 4px;
}

.order-received__address {
    margin-bottom: 16px;
    font-style: normal;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .shop-layout,
    .shop-layout.checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-cart .order-summary {
        margin-right: 84px;
    }
}

@media (max-width: 600px) {
    .cart-line {
        grid-template-columns: 72px minmax(0, 1fr) 36px;
        grid-template-areas:
            "media info remove"
            "media qty total";
        gap: 8px 12px;
    }

    .cart-line__media { grid-area: media; }
    .cart-line__info { grid-area: info; }
    .cart-line__qty { grid-area: qty; }
    .cart-line__total { grid-area: total; text-align: right; }
    .cart-line__remove { grid-area: remove; }

    .cart-line__media img {
        width: 72px;
        height: 96px;
    }

    .toast {
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
    }
}

/* Single product ---------------------------------------------------------- */

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: clamp(20px, 3vw, 40px);
    max-width: 1080px;
    padding-block: clamp(16px, 3vw, 32px);
    align-items: start;
}

.product-detail__media {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #f3f3f3;
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    padding: 8px;
}

.product-gallery button {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.product-video,
.product-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border: 0;
}

.product-detail__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f3f3f3;
}

.product-detail__sku {
    margin: -2px 0 8px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.product-detail__title {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.product-detail__price {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin: 0 0 10px;
    font-size: 18px;
}

.product-detail__price del {
    color: var(--color-muted);
    font-size: 15px;
}

.product-detail__price ins {
    font-weight: 700;
    text-decoration: none;
    font-size: 22px;
}

.price-off {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fde8e8;
    color: #9b1c1c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.product-detail__desc {
    margin-bottom: 14px;
    font-family: var(--font-bn);
    font-size: 14px;
    line-height: 1.6;
}

.product-detail__desc p {
    margin: 0 0 8px;
}

.product-detail__sizes {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.product-detail__sizes legend {
    margin-bottom: 8px;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-detail__selected {
    color: #1a6fb5;
    font-weight: 500;
    text-transform: none;
}

.product-detail__sizes .size-picker {
    grid-template-columns: repeat(4, 44px);
}

.product-detail__buy {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 10px;
}

.qty-stepper {
    display: flex;
    flex: none;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: #fff;
}

.qty-stepper button {
    width: 36px;
    border: 0;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.qty-stepper button:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 64px;
    min-height: 44px;
    padding: 6px;
    border: 1px solid #cfcfcf;
    border-radius: var(--radius);
    font: inherit;
    text-align: center;
}

.qty-stepper .qty-input {
    width: 40px;
    border: 0;
    border-right: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-weight: 500;
}

.product-detail__buy .btn {
    flex: 1;
    min-height: 44px;
}

.product-detail__cod {
    margin-top: 10px;
    min-height: 46px;
    font-family: var(--font-bn);
    font-size: 15px;
}

/* Size chart sits between the form and chat buttons; without it, chat must not stick to COD. */
form:has(.product-detail__cod) + .product-detail__chat {
    margin-top: 14px;
}

.size-chart {
    margin: 22px 0 16px;
}

.size-chart table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}

.size-chart th,
.size-chart td {
    padding: 7px 6px;
    border: 1px solid #e0e0e0;
}

.size-chart thead th {
    background: #c9c9c9;
    font-weight: 700;
}

.size-chart tbody tr:nth-child(even) {
    background: #e4e4e4;
}

.size-chart tbody th {
    font-weight: 500;
}

.size-chart__note {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.product-detail__chat {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.chat-btn {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--color-white);
    font-family: var(--font-bn);
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.2s var(--ease);
}

.chat-btn:hover {
    filter: brightness(0.92);
}

.chat-btn--messenger {
    background: #0084ff;
}

.chat-btn--whatsapp {
    background: #25d366;
}

.product-detail__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pill-btn {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    background: var(--color-white);
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
    color: var(--color-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.pill-btn:hover {
    border-color: var(--color-ink);
}

.product-detail__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-dot {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--color-white);
    transition: transform 0.2s var(--ease);
}

.social-dot:hover {
    transform: translateY(-2px);
}

.social-dot--facebook { background: #1877f2; }
.social-dot--whatsapp { background: #25d366; }
.social-dot--messenger { background: #0084ff; }
.social-dot--instagram { background: #e4405f; }
.social-dot--youtube { background: #ff0000; }
.social-dot--tiktok { background: #000; }

.product-tabs {
    padding-block: 32px 16px;
    background: var(--color-white);
}

.product-tabs .container {
    max-width: 1080px;
}

.product-tabs__list {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
}

.product-tabs__list button {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 6px 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--color-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.product-tabs__list button[aria-selected="true"] {
    border-bottom-color: var(--color-ink);
    color: var(--color-ink);
}

.product-tabs__count {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-ink);
    color: var(--color-white);
    font-size: 11px;
}

.product-tabs__panel p,
.product-info__copy {
    font-family: var(--font-bn);
    line-height: 1.7;
    margin: 0 0 16px;
}

.product-attributes {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
    font-size: 13px;
}

.product-attributes th {
    padding: 12px 0;
    text-align: left;
    text-transform: uppercase;
}

.product-attributes td {
    padding: 12px 0;
    text-align: right;
}

.product-features {
    list-style: disc;
    margin: 0;
    padding-left: 20px;
    font-family: var(--font-bn);
    line-height: 1.8;
}

.related-products {
    max-width: 1080px;
    padding-block: 24px 48px;
}

.related-products__title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
}

.suggested-products__note {
    margin: -8px 0 16px;
    color: #555;
    font-family: var(--font-bn);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.suggested-products .product-card {
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    background: #f6f6f6;
}

.product-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-dialog {
    width: min(520px, calc(100% - 24px));
    max-height: calc(100dvh - 48px);
    padding: 20px 24px 24px;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-dialog::backdrop {
    background: rgb(0 0 0 / 0.6);
}

.info-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.info-dialog__head h2 {
    margin: 0;
    font-size: 18px;
}

.info-dialog > p,
.info-dialog__body {
    font-family: var(--font-bn);
    line-height: 1.7;
}

.info-dialog__body h3 {
    margin: 16px 0 6px;
    font-size: 16px;
}

.info-dialog__body ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 1024px) {
    .product-grid--4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .product-detail {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .product-detail__media {
        margin-inline: calc(var(--gutter) * -1);
    }

    .product-detail__sizes .size-picker {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid--3,
    .suggested-products .product-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .product-tabs__list {
        gap: 18px;
    }
}

/* Listing (category / search) ----------------------------------------------- */

.listing-page {
    padding-bottom: 48px;
}

.listing-page__banner {
    margin: 0 auto 12px;
    max-width: 100%;
}

.listing-page__banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px;
}

.listing-page .section-band,
body:not(.page-home) .section-band {
    margin-top: 9px;
    margin-bottom: 9px;
}

@media (max-width: 767px) {
    body:not(.page-home) .listing-page .section-band {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    body:not(.page-home) .listing-page:has(.listing-empty) .section-band {
        margin-bottom: 0;
    }
}

.listing-page:has(.listing-empty) .section-band {
    margin-bottom: 0;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0;
    padding: 0;
    list-style: none;
    color: var(--color-muted);
    font-size: 13px;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 6px;
}

.breadcrumb a {
    color: var(--color-ink);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.subcategory-chips {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.subcategory-chips li {
    flex: 1 1 0;
    min-width: 0;
}

.subcategory-chips a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 28px;
    padding: 4px 4px;
    border-radius: 5px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    text-decoration: none;
}

.subcategory-chips a:hover {
    background: #2b2b2b;
}

@media (min-width: 768px) {
    .subcategory-chips {
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
        margin: 0 0 16px;
        gap: 8px;
    }

    .subcategory-chips li {
        flex: 0 0 auto;
    }

    .subcategory-chips a {
        width: auto;
        min-height: 34px;
        padding: 7px 16px;
        font-size: 13px;
        overflow: visible;
        text-overflow: clip;
    }
}


.listing-filters {
    margin: 8px 0 18px;
    border: 1px solid #d7e3d8;
    border-radius: 12px;
    background: #f4faf5;
}

.listing-filters__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}

.listing-filters__toggle::-webkit-details-marker {
    display: none;
}

.listing-filters__toggle::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-left: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.listing-filters[open] .listing-filters__toggle::after {
    transform: translateY(2px) rotate(225deg);
}

.listing-filters__panel {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
}

[data-listing].is-filtering {
    opacity: 0.55;
    pointer-events: none;
}

.listing-filters__title {
    font-size: 16px;
    font-weight: 800;
}

.listing-filters__picked {
    min-width: 0;
    overflow: hidden;
    color: #3d4a3f;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-filters__hint {
    margin: 0;
    color: #3d4a3f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.listing-filters__count {
    margin: 0 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-white);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.listing-filters__count.is-filtered {
    background: var(--color-order);
    color: var(--color-white);
}

.listing-filters__applied {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.listing-filters__applied-label {
    font-size: 13px;
    font-weight: 800;
}

.listing-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 2px 10px 2px 6px;
    border-radius: 999px;
    background: var(--color-ink);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.listing-filters__chip:hover {
    background: #2b2b2b;
}

.listing-filters__chip .color-chip__swatch {
    width: 14px;
    height: 14px;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.7);
}

.listing-filters__group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: var(--color-white);
}

.listing-filters__label {
    flex: 1 0 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 800;
}

.listing-filters__label small {
    margin-left: 6px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 600;
}

.listing-filters a {
    text-decoration: none;
}

.listing-filters .size-chip {
    min-width: 48px;
    min-height: 40px;
    padding: 4px 12px;
    color: var(--color-ink);
}

.listing-filters .size-chip[aria-pressed="true"] {
    color: var(--color-white);
}

.listing-filters .color-chip[aria-pressed="true"] {
    border-color: var(--color-ink);
    background: var(--color-ink);
    color: var(--color-white);
    box-shadow: none;
}

.listing-filters .color-chip[aria-pressed="true"] .color-chip__swatch {
    box-shadow: 0 0 0 2px var(--color-white);
}

.color-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 4px 12px 4px 6px;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 600;
}

.color-chip:hover {
    border-color: var(--color-ink);
}

.color-chip[aria-pressed="true"] {
    border-color: var(--color-ink);
    box-shadow: inset 0 0 0 1px var(--color-ink);
}

.color-chip__swatch {
    width: 18px;
    height: 18px;
    border: 1px solid rgb(0 0 0 / 0.2);
    border-radius: 50%;
}

.listing-filters__clear {
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.listing-filters__clear:hover {
    color: var(--color-ink);
}

.listing-more {
    display: flex;
    justify-content: center;
    margin: 8px 0 24px;
}

.listing-empty {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-inline: calc(clamp(8px, 1.2vw, 20px) * -1);
    padding: 48px 16px;
    background: var(--color-surface);
    text-align: center;
}

.listing-empty p {
    margin: 0;
}

.listing-search {
    display: flex;
    gap: 8px;
    max-width: 560px;
    margin: 16px 0;
}

.listing-search input {
    flex: 1;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #cfcfcf;
    border-radius: var(--radius);
    font: inherit;
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.pagination__item {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    font-weight: 600;
    text-decoration: none;
}

a.pagination__item:hover {
    border-color: var(--color-ink);
}

.pagination__item.is-current {
    background: var(--color-ink);
    border-color: var(--color-ink);
    color: var(--color-white);
}

.pagination__item.is-disabled {
    color: #bdbdbd;
}

/* Contact / report / info pages ------------------------------------------------ */

.info-page {
    padding-bottom: 56px;
}

.narrow-container {
    max-width: 820px;
    padding-top: 32px;
}

.account-form {
    margin-top: 28px;
}

.account-form h2 {
    margin: 0 0 12px;
    font-family: var(--font-bn);
    font-size: 20px;
}

.account-form__hint,
.account-empty,
.account-order__date {
    margin: 0 0 12px;
    color: #555;
    font-size: 13px;
}

.account-orders {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.account-order {
    padding: 14px 16px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
}

.account-order__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.account-order__items {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.account-order__total {
    margin: 0;
    font-weight: 700;
}

.account-steps {
    margin: 8px 0 0;
    padding-left: 18px;
}

.account-steps span {
    color: #666;
    font-size: 12px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: clamp(20px, 3vw, 40px);
    padding-top: 32px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 14px;
}

.contact-card,
.contact-form-card {
    padding: 20px;
    background: var(--color-surface);
    border-radius: var(--radius);
}

.contact-card h2,
.contact-form-card h2 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.contact-form-card h2 {
    font-family: var(--font-bn);
    font-size: 20px;
}

.contact-card p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.contact-card a:not(.btn) {
    color: var(--color-ink);
    font-weight: 600;
}

.contact-card .btn img {
    filter: invert(1);
}

.contact-social {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-white);
}

.contact-form-card__intro {
    margin: 0 0 18px;
    color: var(--color-muted);
    font-family: var(--font-bn);
    line-height: 1.6;
}

.message-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.field select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: var(--radius);
    background: var(--color-white);
    font: inherit;
    font-size: 16px;
}

.field__control > input:not([type="radio"]):not([type="checkbox"]),
.field__control > textarea,
.field__control > select {
    padding: 14px 16px 14px 52px;
}

.field__control > select {
    padding-right: 36px;
}

.field.field--solid textarea,
.field.field--solid select {
    border: 1px solid #b5b5b5;
    background: #fff;
    color: #111;
    font-weight: 500;
}

.field.field--solid textarea:focus,
.field.field--solid select:focus,
.field.field--solid input:not([type="radio"]):not([type="checkbox"]):focus {
    outline: none;
    box-shadow: none;
    border-color: #222;
}

.message-form__submit {
    font-family: var(--font-bn);
}

.form-success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-left: 4px solid var(--color-order);
    border-radius: var(--radius);
    background: #e8f6ed;
    font-family: var(--font-bn);
    line-height: 1.6;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.prose {
    font-family: var(--font-bn);
    font-size: 16px;
    line-height: 1.8;
}

.prose h2 {
    margin: 28px 0 8px;
    font-size: 20px;
}

.prose ul,
.prose ol {
    padding-left: 22px;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose a {
    color: var(--color-forest);
    font-weight: 600;
}

.prose-table {
    width: 100%;
    border-collapse: collapse;
}

.prose-table th,
.prose-table td {
    padding: 10px 12px;
    border: 1px solid var(--color-line);
    text-align: left;
}

.prose-table thead th {
    background: var(--color-surface);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .message-form__row {
        grid-template-columns: 1fr;
    }
}

.product-grid.product-grid--home {
    grid-template-columns: repeat(var(--home-cols, 5), minmax(0, 1fr));
}

@media (max-width: 767px) {
    .product-grid.product-grid--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* Out of stock (admin switch) */
.product-card__media { position: relative; }
.stock-badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 4px 9px; border-radius: 4px; background: rgba(17, 17, 17, .85); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; pointer-events: none; }
.stock-badge--inline { position: static; display: inline-block; margin-right: 6px; }
.product-card--out .product-card__media img { opacity: .55; filter: grayscale(.4); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.stock-out-note { margin: 12px 0 0; color: #b91c1c; font-weight: 600; }

/* Header menu caret: smaller and tight to the label (desktop + mobile) */
.menu .menu-item.has-children > a,
.menu .menu-item.has-children > .menu-item__label { padding-right: 0; }
.submenu-toggle { padding: 0 6px 0 2px; }
.submenu-toggle svg { width: 12px; height: 12px; }
@media (max-width: 1024px) {
    .menu .menu-item.has-children > a,
    .menu .menu-item.has-children > .menu-item__label { flex: 1 1 auto; padding-right: 8px; }
    .menu .menu-item.has-children > .submenu-toggle { width: 44px; height: 44px; margin: 0 4px 0 auto; padding: 0; background: none; }
    .submenu-toggle svg { width: 13px; height: 13px; }
}
