/* ---------------------------------------------------------------------------
 * Modique — theme layer
 *
 * Everything Modique adds on top of the base stylesheet: the wordmark,
 * the letter card, storefront pages, forms and the small components the
 * PHP views introduce. Uses only the design tokens declared in modique.css.
 * ------------------------------------------------------------------------ */

/* =========================================================================
 * 1. Foundations
 * ====================================================================== */

body {
    letter-spacing: 0.005em;
}

/* Respect the visitor's motion preference: scroll-reveal animations are
   decorative, so we skip them entirely and show the content outright. */
@media (prefers-reduced-motion: reduce) {
    .wow,
    .animated {
        animation: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.text-btn-uppercase,
.text-btn-uppercase2 {
    letter-spacing: 0.16em;
}

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

.btn-plain {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary);
}

.heading-section .heading,
.heading-section h3 {
    text-transform: none;
}

.rule-gold {
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--accent);
}

/* =========================================================================
 * 2. Brand wordmark
 * ====================================================================== */

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-decoration: none;
    line-height: 1;
}

.brand .brand-word {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-indent: 0.2em;
    color: var(--main);
    transition: color 0.3s ease;
}

.brand .brand-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(192, 161, 92, 0) 100%);
}

.brand .brand-sub {
    font-family: var(--font-body);
    font-size: 8.5px;
    font-weight: 400;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    text-indent: 0.42em;
    color: var(--secondary-2);
}

.brand:hover .brand-word {
    color: var(--primary);
}

.brand-footer .brand-word {
    color: var(--white);
    font-size: 30px;
}

.brand-footer .brand-sub {
    color: rgba(255, 255, 255, 0.55);
}

.brand-footer {
    margin-bottom: 26px;
}

/* =========================================================================
 * 3. Announcement bar
 * ====================================================================== */

.announcement-bar {
    background-color: var(--main);
    color: var(--white);
    padding: 9px 0;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.announcement-inner p {
    margin: 0;
    font-size: 11px;
    line-height: 18px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.announcement-inner .icon {
    margin-right: 6px;
    color: var(--accent);
}

.announcement-sep {
    color: rgba(255, 255, 255, 0.28);
    font-size: 11px;
}

@media (max-width: 767px) {
    .announcement-inner p:nth-child(n + 4),
    .announcement-sep:nth-of-type(n + 2) {
        display: none;
    }
}

/* =========================================================================
 * 4. Buttons
 * ====================================================================== */

.tf-btn.btn-fill {
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.tf-btn.btn-fill:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.tf-btn.btn-outline {
    background-color: transparent;
    color: var(--main);
    border: 1px solid var(--line);
}

.tf-btn.btn-outline:hover {
    background-color: var(--main);
    border-color: var(--main);
    color: var(--white);
}

.tf-btn.btn-ink {
    background-color: var(--main);
    color: var(--white);
    border: 1px solid var(--main);
}

.tf-btn.btn-ink:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

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

.tf-btn.w-100 {
    width: 100%;
}

.tf-btn.is-busy {
    opacity: 0.6;
    pointer-events: none;
}

.btn-line {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--main);
}

.btn-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--main);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn-line:hover {
    color: var(--primary);
}

.btn-line:hover::after {
    background-color: var(--primary);
    transform: scaleX(0.4);
    transform-origin: left;
}

/* =========================================================================
 * 5. Flash toasts
 * ====================================================================== */

.flash-stack {
    position: fixed;
    z-index: 9000;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(92vw, 380px);
    pointer-events: none;
}

.flash-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background-color: var(--main);
    color: var(--white);
    border-left: 2px solid var(--accent);
    box-shadow: var(--shadow1);
    font-size: 14px;
    line-height: 21px;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.flash-item.is-in {
    opacity: 1;
    transform: none;
}

.flash-item.is-out {
    opacity: 0;
    transform: translateX(18px);
}

.flash-item.flash-error {
    border-left-color: var(--critical);
}

.flash-item.flash-info {
    border-left-color: var(--primary-light);
}

.flash-close {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.flash-close:hover {
    color: var(--white);
}

@media (max-width: 575px) {
    .flash-stack {
        top: auto;
        bottom: 84px;
        left: 12px;
        right: 12px;
        max-width: none;
    }
}

/* =========================================================================
 * 6. Header — mobile first
 *
 * Three flex cells: menu · brand · actions. The desktop navigation and the
 * wider action rail only appear from `xl` upwards; below that the brand is
 * centred and every control is a fixed-size tap target, so the wordmark can
 * never collide with the icons.
 * ====================================================================== */

#header {
    position: relative;
    z-index: 200;
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 62px;
    padding: 10px 14px;
}

.header-cell {
    display: flex;
    align-items: center;
}

.header-cell-start {
    flex: 0 0 auto;
}

.header-cell-brand {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
}

.header-cell-nav {
    display: none;
}

.header-cell-end {
    flex: 0 0 auto;
    justify-content: flex-end;
}

/* Uniform tap targets. */
.header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 999px;
    color: var(--main);
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.header-icon:hover {
    color: var(--primary);
    background-color: var(--surface);
}

.header-icon .icon-categories {
    font-size: 20px;
}

.nav-icon {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-icon > li {
    position: relative;
}

/* Matches the base rule's specificity so the physical `right` it sets can be
   cleared — otherwise RTL ends up with both `left` and `right` pinned and the
   badge stretches into a pill. */
#header .nav-icon .count-box,
.nav-icon .count-box {
    position: absolute;
    top: 2px;
    right: auto;
    left: auto;
    inset-inline-end: 2px;
    min-width: 17px;
    width: auto;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
}

#header .nav-icon .count-box.is-empty,
.nav-icon .count-box.is-empty {
    display: none;
}

/* The brand scales with the viewport so it always clears the controls. */
.brand .brand-word {
    font-size: clamp(19px, 5.4vw, 34px);
}

.brand .brand-sub {
    font-size: clamp(6.5px, 1.6vw, 8.5px);
}

/* On a phone the bar carries three things only: menu, wordmark, bag. The
   strapline and rule are decoration the small screen does not need, and the
   language switcher lives in the drawer and the footer instead. */
@media (max-width: 575.98px) {
    .header-bar {
        min-height: 56px;
        padding: 8px 12px;
    }

    .header-cell-brand .brand-rule,
    .header-cell-brand .brand-sub {
        display: none;
    }

    .header-cell-brand .brand {
        gap: 0;
    }

    .header-cell-brand .brand-word {
        font-size: 22px;
        letter-spacing: 0.22em;
    }

    /* One announcement, one line — never a wrapped block. */
    .announcement-bar {
        padding: 7px 0;
    }

    .announcement-inner {
        flex-wrap: nowrap;
        gap: 0;
    }

    .announcement-inner p:not(:first-child),
    .announcement-sep {
        display: none;
    }

    .announcement-inner p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (min-width: 1200px) {
    .header-bar {
        gap: 16px;
        padding: 14px 40px;
        min-height: 84px;
    }

    .header-cell-start {
        display: none;
    }

    .header-cell-brand {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .header-cell-nav {
        display: flex;
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    .nav-icon {
        gap: 4px;
    }
}

/* --- Language switcher ------------------------------------------------- */

.lang-toggle {
    width: auto;
    min-width: 44px;
    gap: 3px;
    padding: 0 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.lang-toggle .icon-arrow-down {
    font-size: 7px;
    opacity: 0.6;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    z-index: 300;
    min-width: 168px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background-color: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s ease;
}

.nav-language:hover .lang-menu,
.nav-language:focus-within .lang-menu,
.lang-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    font-size: 14px;
    color: var(--secondary);
}

.lang-menu a:hover {
    background-color: var(--surface);
    color: var(--main);
}

.lang-menu a.is-active {
    background-color: var(--main);
    color: var(--white);
}

.lang-menu .lang-abbr {
    font-size: 11px;
    letter-spacing: 0.12em;
    opacity: 0.6;
}

/* Language list inside the mobile drawer. */
.mb-lang {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.mb-lang-label {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary-2);
}

.mb-lang-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mb-lang-options a {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--secondary);
}

.mb-lang-options a.is-active {
    background-color: var(--main);
    border-color: var(--main);
    color: var(--white);
}

.dropdown-account .account-greeting {
    margin-bottom: 14px;
    text-align: center;
    font-size: 14px;
    line-height: 21px;
    color: var(--secondary);
}

.dropdown-account .sub-bot a {
    color: var(--secondary);
}

.dropdown-account .sub-bot a:hover {
    color: var(--primary);
}

/* =========================================================================
 * 7. Product cards
 * ====================================================================== */

.card-product .list-product-btn form,
.card-product .list-btn-main form,
.mini-product-foot form {
    display: contents;
}

.card-product .list-product-btn .box-icon {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border: 0;
    border-radius: 999px;
    color: var(--main);
    box-shadow: 0 2px 10px rgba(20, 40, 35, 0.08);
    position: relative;
}

.card-product .list-product-btn .box-icon:hover,
.card-product .list-product-btn .box-icon.is-active {
    background-color: var(--primary);
    color: var(--white);
}

.card-product .list-product-btn .box-icon .tooltip {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    padding: 4px 10px;
    background-color: var(--main);
    color: var(--white);
    font-size: 11px;
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.card-product .list-product-btn .box-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.product-flag-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

.product-flag {
    display: inline-block;
    padding: 4px 11px;
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--main);
    border-radius: 999px;
}

.product-flag.badge-new {
    background-color: var(--primary);
}

.product-flag.badge-best {
    background-color: var(--accent);
    color: var(--main);
}

.product-flag.badge-limited {
    background-color: var(--main);
}

.product-flag.badge-sale {
    background-color: var(--critical);
}

.card-product-info .title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.card-product-info .price {
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.list-star-default .icon-star.empty {
    opacity: 0.28;
}

.list-star-default .icon-star.half {
    opacity: 0.6;
}

/* =========================================================================
 * 8. Compact product rows
 * ====================================================================== */

.mini-product-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}

.mini-product-row:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mini-product-image {
    flex-shrink: 0;
    width: 72px;
    height: 92px;
    overflow: hidden;
    background-color: var(--surface);
}

.mini-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-product-body {
    flex-grow: 1;
    min-width: 0;
}

.mini-product-body p {
    margin-bottom: 6px;
}

.mini-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* =========================================================================
 * 9. Newsletter letter card
 * ====================================================================== */

.modal-letter .modal-dialog {
    max-width: min(540px, calc(100vw - 32px));
}

.letter-card {
    position: relative;
    border: 0;
    border-radius: 2px;
    background-color: var(--surface);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(46, 107, 94, 0.09) 0%, rgba(46, 107, 94, 0) 46%),
        radial-gradient(circle at 0% 100%, rgba(192, 161, 92, 0.12) 0%, rgba(192, 161, 92, 0) 44%);
    box-shadow: 0 32px 70px rgba(20, 40, 35, 0.28);
    overflow: hidden;
}

.letter-rule {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 42%, var(--accent) 100%);
}

.letter-body {
    padding: 46px 48px 40px;
}

.letter-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.letter-close:hover {
    border-color: var(--line);
    color: var(--main);
    transform: rotate(90deg);
}

.letter-eyebrow {
    display: block;
    margin-bottom: 18px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--primary);
}

.letter-title {
    margin-bottom: 14px;
    font-size: 40px;
    line-height: 46px;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.letter-lede {
    max-width: 40ch;
    margin-bottom: 28px;
    color: var(--secondary);
    font-size: 15px;
    line-height: 25px;
}

.letter-field {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--main);
    padding-bottom: 2px;
}

.letter-field input {
    flex-grow: 1;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--main);
    outline: none;
}

.letter-field input::placeholder {
    color: var(--secondary-2);
}

.letter-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 4px 0 20px;
    background: none;
    border: 0;
    color: var(--main);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease, gap 0.3s ease;
}

.letter-submit:hover {
    color: var(--primary);
    gap: 14px;
}

.letter-perks {
    margin: 30px 0 26px;
    display: grid;
    gap: 11px;
}

.letter-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    line-height: 20px;
    color: var(--secondary);
}

.letter-perks .icon {
    font-size: 15px;
    color: var(--primary);
    flex-shrink: 0;
}

.letter-dismiss {
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--secondary-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.letter-dismiss:hover {
    color: var(--main);
}

@media (max-width: 575px) {
    .letter-body {
        padding: 38px 26px 32px;
    }

    .letter-title {
        font-size: 32px;
        line-height: 38px;
    }
}

/* =========================================================================
 * 10. Page headers and breadcrumbs
 * ====================================================================== */

.page-head {
    padding: 54px 0 44px;
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.page-head-title {
    margin-bottom: 12px;
    font-size: 54px;
    line-height: 60px;
}

.page-head-sub {
    max-width: 62ch;
    margin: 0 auto;
    color: var(--secondary);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary-2);
}

.breadcrumb-inline {
    justify-content: center;
    margin-bottom: 20px;
}

.breadcrumb-list a {
    color: var(--secondary-2);
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.crumb-sep {
    color: var(--line);
}

.crumb-current {
    color: var(--main);
}

@media (max-width: 767px) {
    .page-head {
        padding: 36px 0 30px;
    }

    .page-head-title {
        font-size: 38px;
        line-height: 44px;
    }
}

/* =========================================================================
 * 11. Homepage sections
 * ====================================================================== */

.hero-editorial {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    background-color: var(--surface);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px clamp(24px, 6vw, 96px);
}

.hero-copy .title-display {
    font-size: clamp(46px, 5.2vw, 82px);
    line-height: 1.02;
    margin-bottom: 22px;
}

.hero-copy .hero-lede {
    max-width: 46ch;
    margin-bottom: 34px;
    font-size: 17px;
    line-height: 29px;
    color: var(--secondary);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    gap: 40px;
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.hero-meta div span {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.1;
    color: var(--main);
}

.hero-meta div p {
    margin: 4px 0 0;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--secondary-2);
}

.hero-frames {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 2px 2px 2px 0;
}

.hero-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: var(--surface-2);
    min-height: 260px;
}

.hero-frame:first-child {
    grid-row: span 2;
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-frame:hover img {
    transform: scale(1.05);
}

.hero-frame-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background-color: rgba(255, 255, 255, 0.94);
    color: var(--main);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 999px;
}

@media (max-width: 991px) {
    .hero-editorial {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 56px 24px 44px;
    }

    .hero-frames {
        padding: 0;
        gap: 2px;
    }

    .hero-frame {
        min-height: 200px;
    }
}

/* --- Category strip ---------------------------------------------------- */

.department-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.department-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background-color: var(--surface-2);
}

.department-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.department-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 24, 26, 0) 45%, rgba(20, 24, 26, 0.62) 100%);
}

.department-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 30px;
    color: var(--white);
}

.department-card-body h4 {
    color: var(--white);
    margin-bottom: 4px;
}

.department-card-body p {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 767px) {
    .department-strip {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --- Editorial split --------------------------------------------------- */

.editorial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(28px, 5vw, 78px);
}

.editorial-split .editorial-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background-color: var(--surface-2);
}

.editorial-split .editorial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-quote {
    margin: 28px 0;
    padding-left: 22px;
    border-left: 2px solid var(--accent);
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 32px;
    font-style: italic;
    color: var(--main);
}

.editorial-list {
    display: grid;
    gap: 14px;
    margin: 0 0 32px;
}

.editorial-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: var(--secondary);
}

.editorial-list .icon {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .editorial-split {
        grid-template-columns: 1fr;
    }
}

/* --- Lookbook picks ---------------------------------------------------- */

.lookbook-panel {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
}

.lookbook-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background-color: var(--surface-2);
}

.lookbook-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lookbook-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background-color: var(--white);
    border: 0;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(20, 40, 35, 0.24);
}

.lookbook-pin::before,
.lookbook-pin::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--main);
}

.lookbook-pin::before {
    width: 11px;
    height: 1px;
}

.lookbook-pin::after {
    width: 1px;
    height: 11px;
}

.lookbook-pin:hover {
    background-color: var(--primary);
}

.lookbook-pin:hover::before,
.lookbook-pin:hover::after {
    background-color: var(--white);
}

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

@media (max-width: 991px) {
    .lookbook-panel {
        grid-template-columns: 1fr;
    }
}

/* --- Promise strip ----------------------------------------------------- */

.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.promise-grid .tf-icon-box {
    text-align: center;
}

.promise-grid .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 24px;
    color: var(--primary);
}

.promise-grid h6 {
    margin-bottom: 6px;
    font-size: 19px;
}

.promise-grid p {
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

@media (max-width: 991px) {
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .promise-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Testimonials ------------------------------------------------------ */

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.voice-card {
    display: flex;
    flex-direction: column;
    padding: 34px 32px;
    background-color: var(--surface);
    border-top: 2px solid var(--primary);
}

.voice-card blockquote {
    flex-grow: 1;
    margin: 18px 0 26px;
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 30px;
    color: var(--main);
}

.voice-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.voice-foot img {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
}

.voice-foot .voice-name {
    font-weight: 500;
    line-height: 1.3;
}

.voice-foot .voice-role {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary-2);
}

.voice-product {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: var(--secondary);
}

@media (max-width: 991px) {
    .voice-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Instagram / gallery ----------------------------------------------- */

.gram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
}

.gram-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--surface-2);
}

.gram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gram-item:hover img {
    transform: scale(1.07);
}

.gram-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(46, 107, 94, 0);
    transition: background-color 0.4s ease;
}

.gram-item:hover::after {
    background-color: rgba(46, 107, 94, 0.32);
}

.gram-item .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%) scale(0.7);
    color: var(--white);
    font-size: 22px;
    opacity: 0;
    transition: all 0.4s ease;
}

.gram-item:hover .icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 991px) {
    .gram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Journal cards ----------------------------------------------------- */

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.journal-card {
    display: flex;
    flex-direction: column;
}

.journal-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background-color: var(--surface-2);
    margin-bottom: 20px;
}

.journal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.journal-card:hover .journal-media img {
    transform: scale(1.05);
}

.journal-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--secondary-2);
}

.journal-meta .journal-cat {
    color: var(--primary);
}

.journal-card h5 {
    margin-bottom: 10px;
}

.journal-card h5 a:hover {
    color: var(--primary);
}

.journal-card p {
    color: var(--secondary);
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 16px;
}

@media (max-width: 991px) {
    .journal-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
 * 12. Shop listing
 * ====================================================================== */

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 46px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 24px;
}

.filter-block {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.filter-block:last-child {
    border-bottom: 0;
}

.filter-title {
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--main);
}

.filter-list {
    display: grid;
    gap: 9px;
}

.filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: var(--secondary);
}

.filter-list a:hover,
.filter-list a.is-active {
    color: var(--primary);
}

.filter-list a.is-active {
    font-weight: 500;
}

.filter-list .count {
    font-size: 12px;
    color: var(--secondary-2);
}

.filter-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-swatch {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--line);
    display: block;
}

.filter-swatch.is-active {
    box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--primary);
}

.filter-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-size {
    min-width: 42px;
    padding: 6px 10px;
    text-align: center;
    border: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--secondary);
}

.filter-size:hover,
.filter-size.is-active {
    border-color: var(--main);
    background-color: var(--main);
    color: var(--white);
}

.price-fields {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-fields input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.shop-count {
    font-size: 14px;
    color: var(--secondary);
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plain-select {
    height: 40px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--line);
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%234a5450' stroke-width='1.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    appearance: none;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--main);
    cursor: pointer;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--main);
}

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

.filter-chip .icon {
    font-size: 9px;
    color: var(--secondary-2);
}

.wg-pagination {
    justify-content: center;
    margin-top: 48px;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    font-size: 14px;
    color: var(--main);
}

.wg-pagination li.active .pagination-link,
.pagination-link:hover {
    background-color: var(--main);
    border-color: var(--main);
    color: var(--white);
}

.empty-state {
    padding: 70px 20px;
    text-align: center;
    border: 1px dashed var(--line);
}

.empty-state .icon {
    font-size: 38px;
    color: var(--secondary-2);
    margin-bottom: 16px;
    display: inline-block;
}

.empty-state h5 {
    margin-bottom: 10px;
}

.empty-state p {
    max-width: 46ch;
    margin: 0 auto 24px;
    color: var(--secondary);
}

@media (max-width: 991px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .shop-sidebar {
        position: static;
    }
}

/* =========================================================================
 * 13. Product detail
 * ====================================================================== */

.product-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
}

.gallery-thumbs {
    display: grid;
    gap: 12px;
    align-content: start;
}

.gallery-thumb {
    display: block;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

.gallery-thumb.is-active {
    border-color: var(--main);
}

.gallery-main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background-color: var(--surface-2);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--primary);
}

.product-title {
    margin-bottom: 14px;
    font-size: 44px;
    line-height: 50px;
}

.product-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--secondary);
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
}

.product-price {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 400;
    color: var(--main);
}

.product-compare {
    font-size: 17px;
    color: var(--secondary-2);
    text-decoration: line-through;
}

.product-save {
    padding: 3px 11px;
    background-color: var(--critical);
    color: var(--white);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
}

.product-summary {
    margin-bottom: 26px;
    color: var(--secondary);
    font-size: 16px;
    line-height: 27px;
}

.variant-group {
    margin-bottom: 24px;
}

.variant-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary);
}

.variant-head strong {
    color: var(--main);
    font-weight: 500;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variant-color {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: box-shadow 0.25s ease;
}

.variant-options input:checked + .variant-color {
    box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--main);
}

.variant-size {
    min-width: 52px;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.25s ease;
}

.variant-size:hover {
    border-color: var(--main);
    color: var(--main);
}

.variant-options input:checked + .variant-size {
    background-color: var(--main);
    border-color: var(--main);
    color: var(--white);
}

.size-guide-link {
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--main);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.buy-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.wg-quantity {
    width: 138px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 0;
    border-width: 1px;
    align-items: center;
}

.wg-quantity input,
.wg-quantity input.quantity-product {
    width: 54px;
    height: 100%;
    text-align: center;
    font-family: var(--font-body);
    font-size: 15px;
    -moz-appearance: textfield;
    appearance: textfield;
}

.wg-quantity input::-webkit-outer-spin-button,
.wg-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wg-quantity .btn-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    flex-shrink: 0;
    background: none;
    border: 0;
    font-size: 17px;
    color: var(--main);
    cursor: pointer;
}

.wg-quantity .btn-quantity:hover {
    color: var(--primary);
}

.buy-row .tf-btn {
    flex-grow: 1;
    border-radius: 0;
    min-height: 52px;
}

.buy-secondary {
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.buy-secondary .tf-btn {
    border-radius: 0;
    flex-grow: 1;
}

.product-assurances {
    display: grid;
    gap: 12px;
    padding: 22px;
    background-color: var(--surface);
    margin-bottom: 26px;
}

.product-assurances li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 22px;
    color: var(--secondary);
}

.product-assurances .icon {
    color: var(--primary);
    margin-top: 3px;
}

.accordion-block {
    border-top: 1px solid var(--line);
}

.accordion-block:last-child {
    border-bottom: 1px solid var(--line);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--main);
    cursor: pointer;
    text-align: left;
}

.accordion-trigger::after {
    content: "+";
    font-size: 18px;
    color: var(--secondary-2);
    flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"]::after {
    content: "–";
}

.accordion-panel {
    padding: 0 0 22px;
    color: var(--secondary);
    font-size: 15px;
    line-height: 25px;
}

.accordion-panel table {
    width: 100%;
    font-size: 14px;
}

.accordion-panel table td {
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
}

.accordion-panel table td:first-child {
    color: var(--main);
    width: 40%;
}

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

    .product-gallery {
        grid-template-columns: 68px 1fr;
    }

    .product-title {
        font-size: 34px;
        line-height: 40px;
    }
}

/* =========================================================================
 * 14. Bag, checkout and forms
 * ====================================================================== */

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 46px;
    align-items: start;
}

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

.cart-table th {
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary-2);
    text-align: left;
}

.cart-table th:last-child,
.cart-table td:last-child {
    text-align: right;
}

.cart-table td {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    gap: 18px;
    align-items: center;
}

.cart-product-image {
    flex-shrink: 0;
    width: 88px;
    height: 112px;
    overflow: hidden;
    background-color: var(--surface);
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-name {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--main);
}

.cart-product-name:hover {
    color: var(--primary);
}

.cart-product-variant {
    font-size: 13px;
    color: var(--secondary-2);
}

.cart-remove {
    margin-top: 8px;
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--critical);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.cart-table .wg-quantity {
    width: 122px;
    height: 42px;
    border-radius: 0;
    border-width: 1px;
}

.cart-table .wg-quantity input {
    width: 42px;
    height: 40px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.summary-card {
    padding: 30px;
    background-color: var(--surface);
    position: sticky;
    top: 24px;
}

.summary-card h5 {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    font-size: 15px;
    color: var(--secondary);
}

.summary-row.is-total {
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--main);
}

.summary-row.is-discount {
    color: var(--primary);
}

.coupon-form {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.coupon-form input {
    flex-grow: 1;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coupon-form button {
    padding: 0 20px;
    background-color: var(--main);
    border: 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}

.coupon-form button:hover {
    background-color: var(--primary);
}

.coupon-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    margin: 20px 0;
    background-color: var(--white);
    border: 1px dashed var(--primary);
    font-size: 13px;
}

.coupon-hint {
    margin-top: 14px;
    font-size: 12px;
    line-height: 20px;
    color: var(--secondary-2);
}

.coupon-hint code {
    padding: 1px 6px;
    background-color: var(--white);
    border: 1px solid var(--line);
    color: var(--main);
    font-size: 11px;
    letter-spacing: 0.08em;
}

/* --- Forms ------------------------------------------------------------- */

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.field {
    display: block;
    margin-bottom: 18px;
}

.field.is-full {
    grid-column: 1 / -1;
}

.field label,
.field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--line);
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--main);
    transition: border-color 0.25s ease;
}

.field textarea {
    height: auto;
    min-height: 140px;
    padding: 14px 16px;
    line-height: 24px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--main);
}

.field-hint {
    margin-top: 7px;
    font-size: 12px;
    color: var(--secondary-2);
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 22px;
    color: var(--secondary);
}

.check-row input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-panel {
    max-width: 470px;
    margin: 0 auto;
    padding: 44px;
    background-color: var(--white);
    border: 1px solid var(--line);
}

.form-panel h4 {
    margin-bottom: 8px;
}

.form-panel .form-lede {
    margin-bottom: 28px;
    color: var(--secondary);
    font-size: 15px;
}

.form-foot {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 14px;
    color: var(--secondary);
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary-2);
}

.form-divider::before,
.form-divider::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: var(--line);
}

.social-auth {
    display: grid;
    gap: 10px;
}

.social-auth button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    background-color: var(--white);
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--main);
    cursor: pointer;
}

.social-auth button:hover {
    border-color: var(--main);
}

/* --- Checkout ---------------------------------------------------------- */

.checkout-step {
    margin-bottom: 40px;
}

.checkout-step-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.checkout-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background-color: var(--main);
    color: var(--white);
    font-size: 13px;
    flex-shrink: 0;
}

.checkout-step-head h5 {
    margin: 0;
}

.delivery-options,
.payment-options {
    display: grid;
    gap: 12px;
}

.option-tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.option-tile:hover {
    border-color: var(--secondary-2);
}

.option-tile input {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.option-tile:has(input:checked) {
    border-color: var(--main);
    background-color: var(--surface);
}

.option-tile-body {
    flex-grow: 1;
}

.option-tile-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    color: var(--main);
}

.option-tile-note {
    margin-top: 4px;
    font-size: 13px;
    color: var(--secondary-2);
}

.payment-panel {
    margin-top: 16px;
    padding: 24px;
    background-color: var(--surface);
}

.payment-demo-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    margin-bottom: 22px;
    background-color: rgba(192, 161, 92, 0.12);
    border-left: 2px solid var(--accent);
    font-size: 13px;
    line-height: 21px;
    color: var(--secondary);
}

.payment-demo-note .icon {
    color: var(--accent);
    margin-top: 3px;
}

.card-preview {
    position: relative;
    margin-bottom: 24px;
    padding: 26px;
    border-radius: 10px;
    background: var(--gradient-deep);
    color: var(--white);
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.card-preview::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.06);
}

.card-preview-chip {
    width: 42px;
    height: 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--accent) 0%, #e6d7b4 100%);
}

.card-preview-number {
    font-family: var(--font-body);
    font-size: 21px;
    letter-spacing: 0.18em;
}

.card-preview-foot {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.card-preview-foot strong {
    display: block;
    margin-top: 3px;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--white);
}

.checkout-summary-line {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.checkout-summary-line:last-of-type {
    border-bottom: 0;
}

.checkout-thumb {
    position: relative;
    flex-shrink: 0;
    width: 58px;
    height: 74px;
    background-color: var(--white);
    /* No overflow clipping here — the quantity bubble sits outside the frame. */
}

.checkout-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-thumb .qty-bubble {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background-color: var(--main);
    color: var(--white);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--secondary-2);
}

.trust-row .icon {
    color: var(--primary);
}

@media (max-width: 991px) {
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .form-panel {
        padding: 30px 22px;
    }
}

@media (max-width: 767px) {
    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table tr {
        padding: 20px 0;
        border-bottom: 1px solid var(--line);
    }

    .cart-table td {
        padding: 6px 0;
        border: 0;
        text-align: left !important;
    }
}

/* =========================================================================
 * 15. Order confirmation
 * ====================================================================== */

.order-hero {
    max-width: 620px;
    margin: 0 auto 46px;
    text-align: center;
}

.order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 22px;
    border-radius: 999px;
    background-color: rgba(46, 107, 94, 0.1);
    color: var(--primary);
    font-size: 27px;
}

.order-reference {
    display: inline-block;
    margin-top: 16px;
    padding: 9px 20px;
    background-color: var(--surface);
    border: 1px dashed var(--line);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.order-panel {
    padding: 32px;
    border: 1px solid var(--line);
}

.order-panel h6 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.order-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin: 42px 0;
    counter-reset: step;
}

.order-step {
    position: relative;
    padding: 22px 18px;
    background-color: var(--surface);
    text-align: center;
}

.order-step.is-done {
    background-color: var(--primary);
    color: var(--white);
}

.order-step.is-done p {
    color: rgba(255, 255, 255, 0.8);
}

.order-step span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0.7;
}

.order-step strong {
    display: block;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
}

.order-step p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--secondary-2);
}

@media (max-width: 767px) {
    .order-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================================
 * 16. Account
 * ====================================================================== */

.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 46px;
    align-items: start;
}

.account-nav {
    display: grid;
    gap: 2px;
    border: 1px solid var(--line);
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    font-size: 14px;
    color: var(--secondary);
    border-bottom: 1px solid var(--line);
}

.account-nav a:last-child {
    border-bottom: 0;
}

.account-nav a.is-active {
    background-color: var(--main);
    color: var(--white);
}

.account-nav a:not(.is-active):hover {
    background-color: var(--surface);
    color: var(--main);
}

.account-card {
    padding: 32px;
    border: 1px solid var(--line);
    margin-bottom: 26px;
}

.account-card h5 {
    margin-bottom: 6px;
}

.account-card .card-lede {
    margin-bottom: 26px;
    color: var(--secondary);
    font-size: 15px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-bottom: 26px;
}

.stat-tile {
    padding: 24px;
    background-color: var(--surface);
}

.stat-tile span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary-2);
    margin-bottom: 8px;
}

.stat-tile strong {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--main);
}

.order-list {
    display: grid;
    gap: 14px;
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 20px 22px;
    border: 1px solid var(--line);
}

.order-row .order-ref {
    font-size: 15px;
    color: var(--main);
}

.order-row .order-date {
    font-size: 13px;
    color: var(--secondary-2);
}

.status-pill {
    display: inline-block;
    padding: 4px 13px;
    border-radius: 999px;
    background-color: var(--surface);
    border: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary);
}

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

    .stat-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
 * 17. Editorial pages
 * ====================================================================== */

.prose {
    max-width: 68ch;
}

.prose p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 30px;
    color: var(--secondary);
}

.prose h5 {
    margin: 36px 0 14px;
}

.prose ul {
    margin: 0 0 22px 0;
    display: grid;
    gap: 10px;
}

.prose ul li {
    display: flex;
    gap: 12px;
    color: var(--secondary);
    line-height: 26px;
}

.prose ul li::before {
    content: "—";
    color: var(--accent);
    flex-shrink: 0;
}

.article-lede {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 36px;
    color: var(--main);
    margin-bottom: 30px;
}

.article-hero {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--surface-2);
    margin-bottom: 40px;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.store-card {
    padding: 30px;
    border: 1px solid var(--line);
}

.store-card h5 {
    margin-bottom: 14px;
}

.store-card dl {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 8px 16px;
    font-size: 14px;
    margin: 0;
}

.store-card dt {
    color: var(--secondary-2);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding-top: 3px;
}

.store-card dd {
    margin: 0;
    color: var(--secondary);
}

.faq-group {
    margin-bottom: 42px;
}

.faq-group h5 {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 52px;
    align-items: start;
}

.contact-aside {
    padding: 32px;
    background-color: var(--surface);
}

.contact-aside dl {
    display: grid;
    gap: 20px;
    margin: 0;
}

.contact-aside dt {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary-2);
    margin-bottom: 5px;
}

.contact-aside dd {
    margin: 0;
    color: var(--main);
}

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

/* =========================================================================
 * 18. Footer
 * ====================================================================== */

.footer {
    background-color: var(--main);
    color: rgba(255, 255, 255, 0.72);
}

.footer .footer-body {
    padding: 76px 0 56px;
}

.footer .footer-heading {
    margin-bottom: 22px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer .footer-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer .footer-menu-list {
    display: grid;
    gap: 11px;
}

.footer a {
    color: rgba(255, 255, 255, 0.72);
}

.footer a:hover {
    color: var(--white);
}

.footer .footer-address p,
.footer .footer-info p {
    color: rgba(255, 255, 255, 0.72);
}

.footer .footer-address {
    margin-bottom: 22px;
}

.footer .tf-btn-default {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 4px;
}

.footer .tf-btn-default:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer .footer-info {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
}

.footer .footer-info li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
}

.footer .footer-info .icon-mail,
.footer .footer-info .icon-phone {
    color: var(--accent);
}

.footer .tf-social-icon {
    display: flex;
    gap: 10px;
}

.footer .tf-social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer .tf-social-icon a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-subscribe-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    padding-bottom: 4px;
}

.footer-subscribe-row input {
    flex-grow: 1;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
}

.footer-subscribe-row input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.footer-subscribe-row .subscribe-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 0;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-subscribe-row .subscribe-button:hover {
    color: var(--accent);
    transform: translate(3px, -3px);
}

.footer .footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-bottom-wrap .left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

.footer-credit .credit-sep {
    color: rgba(255, 255, 255, 0.28);
}

.footer-credit .credit-link {
    color: var(--white);
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    padding-bottom: 1px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-credit .credit-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.footer .tf-cur {
    display: flex;
    gap: 10px;
}

.footer .plain-select {
    height: 34px;
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.4' opacity='.6'/%3E%3C/svg%3E");
}

.footer .plain-select option {
    color: var(--main);
}

.tf-payment {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.payment-marks {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.payment-marks span {
    display: inline-block;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 3px;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 767px) {
    .footer .footer-menu {
        grid-template-columns: 1fr;
    }

    .footer .footer-body {
        padding: 48px 0 36px;
    }
}

/* =========================================================================
 * 19. Drawers and misc
 * ====================================================================== */

.drawer-empty {
    padding: 60px 24px;
    text-align: center;
}

.drawer-empty .icon {
    font-size: 34px;
    color: var(--secondary-2);
    margin-bottom: 14px;
    display: inline-block;
}

.drawer-empty p {
    margin-bottom: 6px;
}

.drawer-empty .tf-btn {
    margin-top: 18px;
}

.tf-table-size {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tf-table-size th,
.tf-table-size td {
    padding: 11px 14px;
    border: 1px solid var(--line);
    text-align: left;
}

.tf-table-size th {
    background-color: var(--surface);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--secondary);
}

.tf-toolbar-bottom .toolbar-item a .toolbar-icon .toolbar-count,
.tf-toolbar-bottom .toolbar-count {
    position: absolute;
    top: -6px;
    right: auto;
    left: auto;
    inset-inline-end: -8px;
    min-width: 17px;
    width: auto;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 10px;
    line-height: 17px;
    text-align: center;
}

.tf-toolbar-bottom .toolbar-icon {
    position: relative;
    font-size: 19px;
}

.list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.list-tags a {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--secondary);
    text-transform: capitalize;
}

.list-tags a:hover {
    border-color: var(--main);
    background-color: var(--main);
    color: var(--white);
}

/* =========================================================================
 * 19b. Components introduced by the localised templates
 * ====================================================================== */

.payment-demo-note.is-error {
    background-color: rgba(168, 67, 46, 0.08);
    border-inline-start-color: var(--critical);
}

.payment-demo-note.is-error .icon {
    color: var(--critical);
}

.payment-demo-note {
    border-inline-start: 2px solid var(--accent);
    border-left-width: 0;
}

.wishlist-row-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.article-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.error-code {
    display: block;
    color: var(--line);
    line-height: 1;
}

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--secondary);
}

.contact-social a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.compare-head {
    display: block;
}

.compare-head img {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

.compare-table td,
.compare-table th {
    min-width: 150px;
}

/* Filter drawer trigger, mobile only. */
.filters-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 22px;
    padding: 13px 18px;
    background-color: var(--white);
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--main);
    cursor: pointer;
}

.filters-toggle[aria-expanded="true"] {
    background-color: var(--main);
    border-color: var(--main);
    color: var(--white);
}

@media (max-width: 991px) {
    .shop-sidebar[data-filters-panel] {
        display: none;
        padding: 22px;
        margin-bottom: 26px;
        border: 1px solid var(--line);
        background-color: var(--surface);
    }

    .shop-sidebar[data-filters-panel].is-open {
        display: block;
    }
}

/* Prices and references keep their own direction inside RTL text. */
bdi {
    unicode-bidi: isolate;
}

/* =========================================================================
 * 20. Narrow viewports
 * ====================================================================== */

/* The marquee is deliberately wider than the viewport; keep it from
   dragging the whole document sideways. */
html,
body {
    overflow-x: hidden;
}

.tf-marquee {
    max-width: 100vw;
    overflow: hidden;
}

/* Five toolbar items have to share the width without scrolling. */
.tf-toolbar-bottom {
    overflow-x: hidden;
}

.tf-toolbar-bottom .toolbar-item {
    flex: 1 1 0;
    min-width: 0;
}

.tf-toolbar-bottom .toolbar-item a {
    padding-left: 2px;
    padding-right: 2px;
}

.tf-toolbar-bottom .toolbar-label {
    font-size: 11px;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .buy-row {
        flex-wrap: nowrap;
    }

    .buy-row .wg-quantity {
        width: 112px;
    }

    .buy-row .wg-quantity input {
        width: 32px;
    }

    .buy-row .tf-btn {
        min-width: 0;
        padding-left: 14px;
        padding-right: 14px;
    }

    .buy-row .tf-btn .text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .buy-secondary {
        flex-wrap: nowrap;
    }

    .buy-secondary .tf-btn {
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-meta {
        gap: 24px;
    }

    .hero-actions {
        gap: 14px;
    }

    .product-meta-row {
        gap: 10px;
        font-size: 12px;
    }

    .cart-actions,
    .coupon-form {
        flex-wrap: wrap;
    }

    .gram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mt_12 { margin-top: 12px; }
.mt_16 { margin-top: 16px; }
.mb_16 { margin-bottom: 16px; }
.mb_20 { margin-bottom: 20px; }
.mb_12 { margin-bottom: 12px; }

#scroll-top {
    background-color: var(--main);
    color: var(--white);
    border: 0;
}

#scroll-top:hover {
    background-color: var(--primary);
}
