/* ==========================================================================
   Mozzati — Luxury Eyewear | Main stylesheet (assets/css/style.css)

   TABLE OF CONTENTS
   -----------------
   Search this file for the quoted strings (e.g. PART 2, Hero Section).

   PART 1 — SITE-WIDE FOUNDATION
     · "Global — start" → tokens, reset, containers, buttons, icons
     · "Header — start" → fixed nav, mobile drawer
     · "Footer — start" → logo, links, copyright

   PART 2 — HOME / FRONT PAGE
     · "Hero Section" … "Closing Section" (landing blocks in DOM order)

   PART 3 — SHOP / CATALOG PAGE
     · "Shop Hero Section" … category intro
     · "Shop Products Section" … sidebar, grid, cards, pagination

   PART 4 — CART PAGE
     · "Cart Section" … line items, promo, order summary

   PART 5 — SINGLE PRODUCT PAGE
     · "Product Hero Section" through "Product CTA Section"
       (gallery, story blocks, specs, related, closing CTA)

   PART 6 — WORDPRESS & WOOCOMMERCE INTEGRATION
     · "PART 6" … skip link, page content, header cart, shop/cart extras,
       WC notices & pagination, single-product add to cart, core alignments,
       cart/checkout WC overrides, checkout & order-received layouts

   BREAKPOINTS
     · Tablet: max-width 1024px
     · Mobile: max-width 768px

   ========================================================================== */


/* ==========================================================================
   PART 1 — SITE-WIDE FOUNDATION
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global — reset, tokens, layout primitives, buttons, icons
   -------------------------------------------------------------------------- */

/* Global — start */

:root {
    --color-primary: #144bb8;
    --color-charcoal: #1a1a1a;
    --color-ivory: #f9f9f7;
    --color-bg: #f9f9f7;
    --color-text: #1a1a1a;
    --color-muted: #6b7280;
    --color-muted-light: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-soft: #f1f1ef;

    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

    --container-max: 1280px;
    --container-padding: 48px;

    --header-height: 80px;

    --transition: 0.3s ease;

    /* Color swatches — shop filters & product hero (see inc/swatch-colors.php) */
    --swatch-black: #2c2c2b;
    --swatch-gold: #b8973a;
    --swatch-silver: #c0c0c0;
    --swatch-blue: #2a4a6e;
    --swatch-gunmetal: #5c6369;
    --swatch-tortoise: #4a3728;
    --swatch-turtle: #4a3728;
    --swatch-brown: #5c4033;
    --swatch-grey: #8a8d87;
    --swatch-ivory: #faf9f5;
    --swatch-fallback: #d4d4d4;
}

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

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 400;
}

p {
    margin: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
}

main {
    padding-top: var(--header-height);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container--full {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.divider {
    display: block;
    width: 48px;
    height: 1px;
    background-color: var(--color-charcoal);
}

.divider--bold {
    width: 64px;
    height: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 28px;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
    cursor: pointer;
}

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

.btn--outline:hover {
    background-color: var(--color-charcoal);
    color: #ffffff;
}

.btn--ghost-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    padding: 16px 40px;
    font-size: 13px;
    letter-spacing: 0.2em;
}

.btn--ghost-light:hover {
    background-color: #ffffff;
    color: var(--color-charcoal);
}

.btn--solid-dark {
    background-color: #000000;
    color: #ffffff;
    padding: 22px 64px;
    font-size: 10px;
    letter-spacing: 0.4em;
}

.btn--solid-dark:hover {
    background-color: #27272a;
}

.btn--solid-primary {
    background-color: var(--color-charcoal);
    color: #ffffff;
    padding: 16px 28px;
    letter-spacing: 0.2em;
    width: 100%;
}

.btn--solid-primary:hover {
    background-color: #000000;
}

/* Material symbols inline icon */
.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    :root {
        --container-padding: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
        --header-height: 70px;
    }

    body {
        font-size: 15px;
    }

    .btn {
        font-size: 11px;
        padding: 12px 22px;
    }

    .btn--ghost-light {
        padding: 14px 28px;
        font-size: 12px;
    }
}

/* Global — end */

/* --------------------------------------------------------------------------
   Header — fixed site chrome, primary & mobile navigation
   -------------------------------------------------------------------------- */

/* ==========================================================================
   Header — start
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(249, 249, 247, 0.40);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
}

.site-header .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.site-header .site-header__inner .site-header__logo {
    width: 250px;
}
.site-header .site-header__inner .site-header__nav {
    width: calc(100% - 500px);
}
.site-header .site-header__inner .site-header__cta {
    width: 250px;
}

.site-header .site-header__logo img {
    width: 200px;
}

.site-header .site-header__nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.site-header .site-header__nav a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.site-header .site-header__nav a:hover {
    color: var(--color-primary);
}

.site-header .site-header__cta .btn {
    padding: 10px 24px;
}

.site-header .site-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
}

.site-header .site-header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: transform var(--transition), opacity var(--transition);
}

.site-header .site-header__toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.site-header .site-header__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.site-header .site-header__toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.site-header .site-header__mobile {
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg);
}

.site-header .site-header__mobile ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 0;
}

.site-header .site-header__mobile a {
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

.site-header .site-header__mobile a:hover {
    color: var(--color-primary);
}

/* —— Header: cart control & CTA cluster (WooCommerce) —— */

.site-header .site-header__cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.site-header__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-charcoal);
    border-radius: 50%;
    transition: color var(--transition), transform var(--transition);
}
.site-header__cart:hover {
    color: var(--color-primary);
    background: transparent;
    transform: translateY(-1px);
}
.site-header__cart .site-header__cart-icon {
    font-size: 24px;
    line-height: 1;
    color: var(--color-charcoal);
}
.site-header__cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--color-charcoal, #1a1a1a);
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
}
.site-header__cart-count:empty,
.site-header__cart[data-count="0"] .site-header__cart-count {
    display: none;
}

@media (max-width: 1024px) {
    .site-header .site-header__nav ul {
        gap: 32px;
    }

    .site-header .site-header__logo img {
        width: 170px;
    }
}

@media (max-width: 768px) {
    .site-header .site-header__nav,
    .site-header .site-header__cta {
        display: none;
    }

    .site-header .site-header__toggle {
        display: flex;
    }

    .site-header .site-header__logo img {
        width: 140px;
    }
}

/* Header — end */

/* --------------------------------------------------------------------------
   Footer — logo, links, copyright
   -------------------------------------------------------------------------- */

/* ==========================================================================
   Footer — start
   ========================================================================== */

.site-footer {
    background-color: var(--color-bg);
    padding: 64px 0;
    border-top: 1px solid var(--color-border);
}

.site-footer .site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.site-footer .site-footer__logo img {
    width: 180px;
}

.site-footer .site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}

.site-footer .site-footer__nav {
    display: flex;
    gap: 40px;
}

.site-footer .site-footer__nav a {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-muted);
}

.site-footer .site-footer__nav a:hover {
    color: var(--color-charcoal);
}

.site-footer .site-footer__copy {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-muted-light);
}

@media (max-width: 1024px) {
    .site-footer {
        padding: 56px 0;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 0;
    }

    .site-footer .site-footer__logo img {
        width: 140px;
    }

    .site-footer .site-footer__bottom {
        flex-direction: column;
        gap: 24px;
    }

    .site-footer .site-footer__nav {
        gap: 28px;
    }

    .site-footer .site-footer__copy {
        text-align: center;
    }
}

/* Footer — end */


/* ==========================================================================
   PART 2 — HOME / FRONT PAGE (landing)
   ========================================================================== */

/* ==========================================================================
   Hero Section — start
   ========================================================================== */

.hero-section {
    position: relative;
    height: 90vh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
    background-color: #e4e4e7;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url("https://mozzati.in/wp-content/uploads/2026/01/unnamed-9-1-1-scaled.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .hero-section__content {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.hero-section h1 {
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 1.1;
    margin-bottom: 32px;
    color: #ffffff;
}

.hero-section .hero-section__cta {
    display: flex;
    justify-content: center;
    gap: 24px;
}

@media (max-width: 1024px) {
    .hero-section {
        height: 80vh;
        min-height: 480px;
    }

    .hero-section h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 75vh;
        min-height: 420px;
    }

    .hero-section h1 {
        font-size: 40px;
        margin-bottom: 24px;
    }
}

/* Hero Section — end */


/* ==========================================================================
   Philosophy Section — start
   ========================================================================== */

.philosophy-section {
    padding: 96px 0;
}

.philosophy-section .philosophy-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.philosophy-section .philosophy-section__text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-right: 48px;
}

.philosophy-section h2 {
    font-family: var(--font-serif);
    font-size: 48px;
    line-height: 1.15;
}

.philosophy-section p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--color-muted);
}

.philosophy-section .philosophy-section__media {
    aspect-ratio: 4 / 5;
    background-color: #f1f1ef;
    overflow: hidden;
}

.philosophy-section .philosophy-section__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .philosophy-section {
        padding: 80px 0;
    }

    .philosophy-section .philosophy-section__grid {
        gap: 48px;
    }

    .philosophy-section .philosophy-section__text {
        padding-right: 0;
        gap: 24px;
    }

    .philosophy-section h2 {
        font-size: 38px;
    }

    .philosophy-section p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 64px 0;
    }

    .philosophy-section .philosophy-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .philosophy-section h2 {
        font-size: 30px;
        margin-top: 12px;
    }

    .philosophy-section p {
        font-size: 15px;
    }
}

/* Philosophy Section — end */


/* ==========================================================================
   Materials Header Section — start
   ========================================================================== */

.materials-header-section {
    background-color: var(--color-charcoal);
    color: #ffffff;
    padding: 80px 0;
}

.materials-header-section .materials-header-section__inner {
    text-align: center;
}

.materials-header-section h2 {
    font-family: var(--font-serif);
    font-size: 48px;
    margin-bottom: 16px;
    color: #ffffff;
}

.materials-header-section p {
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .materials-header-section {
        padding: 64px 0;
    }

    .materials-header-section h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .materials-header-section {
        padding: 52px 0;
    }

    .materials-header-section h2 {
        font-size: 30px;
    }
}

/* Materials Header Section — end */


/* ==========================================================================
   Materials Section — start
   ========================================================================== */

.materials-section {
    background-color: #ffffff;
}

.materials-section .materials-section__row {
    display: flex;
    align-items: stretch;
}

.materials-section .materials-section__row--reverse {
    flex-direction: row-reverse;
}

.materials-section .materials-section__media {
    flex: 0 0 50%;
    width: 50%;
}

.materials-section .materials-section__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.materials-section .materials-section__content {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    padding: 96px;
}

.materials-section .materials-section__inner {
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.materials-section h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.2;
}

.materials-section p {
    color: var(--color-muted);
    font-weight: 300;
    line-height: 1.7;
}

.materials-section .check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
}

.materials-section .check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--color-muted);
}

.materials-section .btn {
    align-self: flex-start;
    margin-top: 24px;
    padding: 16px 28px;
}

@media (max-width: 1024px) {
    .materials-section .materials-section__content {
        padding: 64px;
    }

    .materials-section h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .materials-section .materials-section__row,
    .materials-section .materials-section__row--reverse {
        flex-direction: column;
    }

    .materials-section .materials-section__media {
        flex: 0 0 auto;
        width: 100%;
        min-height: 375px;
    }

    .materials-section .materials-section__media img {
        object-fit: contain;
    }

    .materials-section .materials-section__content {
        flex: 0 0 auto;
        width: 100%;
        padding: 48px 22px;
    }

    .materials-section h3 {
        font-size: 26px;
    }

    .materials-section p {
        font-size: 15px;
    }

    .materials-section .btn {
        width: 100%;
    }
}

/* Materials Section — end */


/* ==========================================================================
   Optical Section — start
   ========================================================================== */

.optical-section {
    padding: 128px 0;
    background-color: var(--color-bg);
}

.optical-section .optical-section__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 80px;
}

.optical-section h2 {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
}

.optical-section p {
    color: var(--color-muted);
    max-width: 580px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
}

.optical-section .optical-section__diagram {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.optical-section .optical-section__frame {
    width: 100%;
    height: 500px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.optical-section .optical-section__lens {
    position: relative;
    width: 288px;
    height: 144px;
    border: 1px solid var(--color-charcoal);
    border-radius: 9999px;
    opacity: 0.85;
}

.optical-section .optical-section__line {
    position: absolute;
    top: 50%;
    width: 192px;
    height: 1px;
    background-color: var(--color-charcoal);
}

.optical-section .optical-section__line--right {
    right: -192px;
}

.optical-section .optical-section__line--left {
    left: -192px;
}

.optical-section .optical-section__label {
    position: absolute;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-charcoal);
    white-space: nowrap;
}

.optical-section .optical-section__label--right {
    right: -192px;
    top: calc(50% - 50px);
}

.optical-section .optical-section__label--left {
    left: -192px;
    top: calc(50% - 50px);
}

.optical-section .optical-section__label--top {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.optical-section .optical-section__label--bottom {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.optical-section .optical-section__crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
}

.optical-section .optical-section__crosshair::before,
.optical-section .optical-section__crosshair::after {
    content: "";
    position: absolute;
    background-color: var(--color-charcoal);
}

.optical-section .optical-section__crosshair::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
}

.optical-section .optical-section__crosshair::after {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
}

@media (max-width: 1024px) {
    .optical-section {
        padding: 96px 0;
    }

    .optical-section h2 {
        font-size: 38px;
    }

    .optical-section p {
        font-size: 16px;
    }

    .optical-section .optical-section__frame {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .optical-section {
        padding: 72px 0;
    }

    .optical-section .optical-section__intro {
        margin-bottom: 48px;
    }

    .optical-section h2 {
        font-size: 30px;
    }

    .optical-section p {
        font-size: 15px;
    }

    .optical-section .optical-section__frame {
        height: 260px;
        padding: 24px 0;
    }

    .optical-section .optical-section__lens {
        transform: scale(0.52);
    }
}

@media (max-width: 480px) {
    .optical-section .optical-section__frame {
        height: 220px;
        padding: 16px 0;
    }

    .optical-section .optical-section__lens {
        transform: scale(0.42);
    }
}

/* Optical Section — end */


/* ==========================================================================
   Atelier Section — start
   ========================================================================== */

.atelier-section {
    padding: 104px 0;
    border-top: 1px solid var(--color-border-soft);
}

.atelier-section .atelier-section__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 80px;
}

.atelier-section h2 {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
}

.atelier-section .atelier-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.atelier-section .atelier-section__card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.atelier-section .atelier-section__card h4 {
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-muted-light);
    transition: color var(--transition);
}

.atelier-section .atelier-section__card:hover h4 {
    color: var(--color-charcoal);
}

.atelier-section .atelier-section__card h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-bottom: 1px solid var(--color-border-soft);
    padding-bottom: 16px;
}

.atelier-section .atelier-section__card p {
    color: var(--color-muted);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .atelier-section {
        padding: 88px 0;
    }

    .atelier-section h2 {
        font-size: 38px;
    }

    .atelier-section .atelier-section__grid {
        gap: 48px;
    }

    .atelier-section .atelier-section__card h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .atelier-section {
        padding: 64px 0;
    }

    .atelier-section .atelier-section__intro {
        margin-bottom: 48px;
    }

    .atelier-section h2 {
        font-size: 30px;
    }

    .atelier-section .atelier-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .atelier-section .atelier-section__card p {
        font-size: 15px;
    }
}

/* Atelier Section — end */


/* ==========================================================================
   Closing Section — start
   ========================================================================== */

.closing-section {
    background-color: var(--color-bg);
    padding: 176px 0 96px;
    text-align: center;
}

.closing-section .closing-section__statement {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.closing-section h2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 60px;
    line-height: 1.15;
    font-weight: 300;
    color: rgba(26, 26, 26, 0.92);
}

@media (max-width: 1024px) {
    .closing-section {
        padding: 128px 0 80px;
    }

    .closing-section h2 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .closing-section {
        padding: 96px 0 64px;
    }

    .closing-section h2 {
        font-size: 28px;
    }

    .closing-section .closing-section__statement {
        gap: 32px;
    }
}

/* Closing Section — end */


/* ==========================================================================
   PART 3 — SHOP / CATALOG PAGE
   ========================================================================== */

/* ==========================================================================
   Shop Hero Section — start
   ========================================================================== */

.shop-hero-section {
    padding: 64px 0 32px;
}

.shop-hero-section .shop-hero-section__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.shop-hero-section .shop-hero-section__intro {
    max-width: 800px;
}

.shop-hero-section h1 {
    font-family: var(--font-serif);
    font-size: 96px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.shop-hero-section p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 640px;
}

.shop-hero-section .shop-hero-section__tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--color-border-soft);
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.shop-hero-section .shop-hero-section__tabs::-webkit-scrollbar {
    display: none;
}

.shop-hero-section .shop-hero-section__tabs button {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-light);
    padding: 4px 0;
    white-space: nowrap;
    transition: color var(--transition);
}

.shop-hero-section .shop-hero-section__tabs button:hover {
    color: var(--color-charcoal);
}

.shop-hero-section .shop-hero-section__tabs button.is-active {
    color: var(--color-charcoal);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .shop-hero-section {
        padding: 48px 0 24px;
    }

    .shop-hero-section h1 {
        font-size: 72px;
    }

    .shop-hero-section p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .shop-hero-section {
        padding: 32px 0 16px;
    }

    .shop-hero-section .shop-hero-section__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .shop-hero-section h1 {
        font-size: 48px;
    }

    .shop-hero-section p {
        font-size: 15px;
    }

    .shop-hero-section .shop-hero-section__tabs {
        gap: 24px;
    }
}

/* Shop Hero Section — end */


/* ==========================================================================
   Shop Products Section — start
   ========================================================================== */

.shop-products-section {
    padding: 32px 0 96px;
}

.shop-products-section .shop-products-section__layout {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

/* Sidebar */
.shop-products-section .shop-products-section__sidebar {
    flex: 0 0 256px;
    width: 256px;
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.shop-products-section .shop-products-section__filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    background-color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-charcoal);
}

.shop-products-section .shop-products-section__filters-toggle .material-symbols-outlined {
    color: var(--color-charcoal);
    font-size: 18px;
}

.shop-products-section .shop-products-section__filters {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.shop-products-section .shop-products-section__filters-head h2 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 4px;
}

.shop-products-section .shop-products-section__filters-head p {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-muted-light);
}

.shop-products-section .filter-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop-products-section .filter-group__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-charcoal);
}

.shop-products-section .filter-group__title .material-symbols-outlined {
    font-size: 16px;
    color: var(--color-charcoal);
}

.shop-products-section .filter-group__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-products-section .filter-group__options label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.shop-products-section .filter-group__options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-border);
    accent-color: var(--color-charcoal);
    margin: 0;
    cursor: pointer;
}

.shop-products-section .filter-group__options span {
    font-size: 12px;
    color: var(--color-muted);
    transition: color var(--transition);
}

.shop-products-section .filter-group__options label:hover span {
    color: var(--color-charcoal);
}

.shop-products-section .filter-group__swatches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.shop-products-section .filter-group__swatches button {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(120, 124, 117, 0.3);
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease;
}

.shop-products-section .filter-group__swatches button:hover {
    transform: scale(1.08);
}

.shop-products-section .filter-group__swatches button:active {
    transform: scale(0.92);
}

.shop-products-section .filter-group__swatches button.is-active {
    outline: 1px solid var(--color-charcoal);
    outline-offset: 2px;
}

.shop-products-section .filter-group__range {
    padding-top: 8px;
}

.shop-products-section .filter-group__track {
    position: relative;
    height: 2px;
    background-color: rgba(120, 124, 117, 0.3);
}

.shop-products-section .filter-group__handle {
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    background-color: var(--color-charcoal);
}

.shop-products-section .filter-group__handle--start {
    left: 0;
}

.shop-products-section .filter-group__handle--end {
    right: 0;
}

.shop-products-section .filter-group__values {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 10px;
    color: var(--color-muted-light);
}

.shop-products-section .shop-products-section__apply {
    margin-top: 8px;
}

/* Main grid area */
.shop-products-section .shop-products-section__main {
    flex: 1;
    min-width: 0;
}

.shop-products-section .shop-products-section__sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--color-border-soft);
}

.shop-products-section .shop-products-section__count {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-charcoal);
}

.shop-products-section .shop-products-section__sort-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-products-section .shop-products-section__sort-controls label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-muted-light);
}

.shop-products-section .shop-products-section__sort-controls select {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-charcoal);
    background-color: transparent;
    border: 0;
    padding: 4px 8px 4px 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.shop-products-section .shop-products-section__sort-controls select:focus {
    outline: 1px dashed var(--color-charcoal);
    outline-offset: 2px;
}

.shop-products-section .shop-products-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 64px;
}

.shop-products-section .shop-products-section__grid.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Product card */
.shop-products-section .product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background-color: #edeee8;
    overflow: hidden;
    margin-bottom: 24px;
}

.shop-products-section .product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.shop-products-section .product-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(44, 44, 43, 0.05);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.shop-products-section .product-card__overlay span {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 32px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-charcoal);
}

.shop-products-section .product-card__media:hover .product-card__overlay {
    opacity: 1;
}

.shop-products-section .product-card__media:hover img {
    transform: scale(1.05);
}

.shop-products-section .product-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-products-section .product-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--color-charcoal);
}

.shop-products-section .product-card__meta {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-muted-light);
}

.shop-products-section .product-card__price {
    font-size: 14px;
    color: var(--color-charcoal);
    padding-top: 8px;
}

/* Amazon note */
.shop-products-section .shop-products-section__note {
    margin-top: 96px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border-soft);
    text-align: center;
}

.shop-products-section .shop-products-section__note p {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-muted-light);
}

.shop-products-section .shop-products-section__note a {
    color: var(--color-charcoal);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

@media (max-width: 1024px) {
    .shop-products-section {
        padding: 24px 0 80px;
    }

    .shop-products-section .shop-products-section__layout {
        flex-direction: column;
        gap: 24px;
    }

    .shop-products-section .shop-products-section__sidebar {
        position: static;
        width: 100%;
        flex: 0 0 auto;
    }

    .shop-products-section .shop-products-section__filters-toggle {
        display: flex;
    }

    .shop-products-section .shop-products-section__filters {
        display: none;
        margin-top: 24px;
        padding: 24px;
        border: 1px solid var(--color-border);
        background-color: #ffffff;
    }

    .shop-products-section .shop-products-section__filters.is-open {
        display: flex;
    }

    .shop-products-section .shop-products-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-products-section .product-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .shop-products-section {
        padding: 16px 0 64px;
    }

    .shop-products-section .shop-products-section__sort {
        margin-bottom: 32px;
    }

    .shop-products-section .shop-products-section__grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .shop-products-section .product-card h3 {
        font-size: 22px;
    }

    .shop-products-section .shop-products-section__note {
        margin-top: 64px;
        padding-top: 32px;
    }
}

/* Shop Products Section — end */


/* ==========================================================================
   PART 4 — CART PAGE
   ========================================================================== */

/* ==========================================================================
   Cart Section — start
   ========================================================================== */

.cart-section {
    padding: 64px 0 96px;
}

.cart-section .cart-section__layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 80px;
    align-items: start;
}

/* Selection column */
.cart-section .cart-section__intro {
    margin-bottom: 64px;
}

.cart-section .cart-section__intro h1 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 48px;
    font-weight: 300;
    color: var(--color-charcoal);
    margin-bottom: 16px;
}

.cart-section .cart-section__intro p {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.cart-section .cart-section__items {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Cart item */
.cart-section .cart-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.cart-section .cart-item__media {
    flex: 0 0 40%;
    width: 40%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-border-soft);
    overflow: hidden;
}

.cart-section .cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.cart-section .cart-item__media:hover img {
    transform: scale(1.05);
}

.cart-section .cart-item__details {
    flex: 1;
    min-width: 0;
    padding-top: 8px;
}

.cart-section .cart-item__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-section .cart-item__head h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--color-charcoal);
}

.cart-section .cart-item__price {
    font-size: 18px;
    color: var(--color-charcoal);
}

.cart-section .cart-item__specs {
    margin: 0 0 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
}

.cart-section .cart-item__specs > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.cart-section .cart-item__specs dt {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-light);
    margin: 0;
}

.cart-section .cart-item__specs dd {
    margin: 0;
    color: var(--color-charcoal);
    text-align: right;
}

.cart-section .cart-item__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--color-border-soft);
    padding-top: 24px;
}

.cart-section .cart-item__qty {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cart-section .cart-item__qty-btn {
    padding: 4px;
    color: var(--color-charcoal);
    transition: opacity var(--transition);
}

.cart-section .cart-item__qty-btn:hover {
    opacity: 0.5;
}

.cart-section .cart-item__qty-btn .material-symbols-outlined {
    color: var(--color-charcoal);
    font-size: 16px;
}

.cart-section .cart-item__qty-value {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--color-charcoal);
    min-width: 24px;
    text-align: center;
}

.cart-section .cart-item__remove {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    padding: 0 0 2px;
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.cart-section .cart-item__remove:hover {
    color: #9e422c;
    border-bottom-color: #9e422c;
}

/* Promo code */
.cart-section .cart-section__promo {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    max-width: 420px;
    margin-top: 96px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.cart-section .cart-section__promo-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-section .cart-section__promo label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-light);
    margin-bottom: 8px;
}

.cart-section .cart-section__promo input {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-charcoal);
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    padding: 8px 0;
    outline: none;
    transition: border-color var(--transition);
}

.cart-section .cart-section__promo input::placeholder {
    color: var(--color-muted-light);
}

.cart-section .cart-section__promo input:focus {
    border-bottom-color: var(--color-charcoal);
}

.cart-section .cart-section__promo-apply {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--color-charcoal);
    padding: 0 0 8px;
    transition: opacity var(--transition);
}

.cart-section .cart-section__promo-apply:hover {
    opacity: 0.5;
}

/* Summary column */
.cart-section .cart-section__summary {
    position: sticky;
    top: calc(var(--header-height) + 32px);
}

.cart-section .cart-summary {
    background-color: rgba(237, 238, 232, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--color-border-soft);
    padding: 56px;
}

.cart-section .cart-summary h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--color-charcoal);
    margin-bottom: 40px;
}

.cart-section .cart-summary__rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 40px;
    font-size: 14px;
}

.cart-section .cart-summary__rows > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.cart-section .cart-summary__rows dt {
    color: var(--color-muted);
    margin: 0;
}

.cart-section .cart-summary__rows dd {
    color: var(--color-charcoal);
    margin: 0;
}

.cart-section .cart-summary__shipping {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
}

.cart-section .cart-summary__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
    margin-bottom: 40px;
}

.cart-section .cart-summary__total > span:first-child {
    font-family: var(--font-serif);
    font-size: 20px;
}

.cart-section .cart-summary__total > span:last-child {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--color-charcoal);
}

.cart-section .cart-summary__checkout {
    padding: 18px 28px;
    letter-spacing: 0.2em;
}

.cart-section .cart-summary__continue {
    margin-top: 24px;
    text-align: center;
}

.cart-section .cart-summary__continue a {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 4px;
    transition: color var(--transition), border-color var(--transition);
}

.cart-section .cart-summary__continue a:hover {
    color: var(--color-charcoal);
    border-bottom-color: var(--color-charcoal);
}

.cart-section .cart-summary__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
}

.cart-section .cart-summary__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px;
}

.cart-section .cart-summary__trust-item + .cart-summary__trust-item {
    border-left: 1px solid var(--color-border-soft);
}

.cart-section .cart-summary__trust-item .material-symbols-outlined {
    color: var(--color-muted-light);
    font-size: 20px;
}

.cart-section .cart-summary__trust-item span:last-child {
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
}

@media (max-width: 1024px) {
    .cart-section {
        padding: 48px 0 80px;
    }

    .cart-section .cart-section__layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .cart-section .cart-section__summary {
        position: static;
    }

    .cart-section .cart-summary {
        padding: 40px;
    }

    .cart-section .cart-section__intro {
        margin-bottom: 48px;
    }

    .cart-section .cart-section__intro h1 {
        font-size: 38px;
    }

    .cart-section .cart-section__items {
        gap: 56px;
    }

    .cart-section .cart-item__head h2 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .cart-section {
        padding: 32px 0 64px;
    }

    .cart-section .cart-section__intro h1 {
        font-size: 30px;
    }

    .cart-section .cart-section__items {
        gap: 48px;
    }

    .cart-section .cart-item {
        flex-direction: column;
        gap: 24px;
    }

    .cart-section .cart-item__media {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 1.2 / 1;
    }

    .cart-section .cart-item__head {
        margin-bottom: 16px;
    }

    .cart-section .cart-item__head h2 {
        font-size: 20px;
    }

    .cart-section .cart-item__specs {
        margin-bottom: 24px;
        font-size: 13px;
    }

    .cart-section .cart-item__specs > div {
        flex-direction: column;
        gap: 2px;
    }

    .cart-section .cart-item__specs dd {
        text-align: left;
    }

    .cart-section .cart-section__promo {
        margin-top: 64px;
        padding-top: 32px;
    }

    .cart-section .cart-summary {
        padding: 32px 24px;
    }

    .cart-section .cart-summary h3 {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .cart-section .cart-summary__total > span:last-child {
        font-size: 22px;
    }
}

/* Cart Section — end */


/* ==========================================================================
   PART 5 — SINGLE PRODUCT PAGE
   ========================================================================== */

/* ==========================================================================
   Product Hero Section — start
   ========================================================================== */

.product-hero-section {
    background-color: var(--color-bg);
}

.product-hero-section .product-hero-section__layout {
    display: flex;
    align-items: stretch;
    gap: 40px;
    padding: 50px 0 100px;
}

/* Gallery */
.product-hero-section .product-hero-section__gallery {
    flex: 1 1 50%;
    min-width: 0;
}

.product-hero-section .product-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-hero-section .product-gallery__track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-hero-section .product-gallery__track::-webkit-scrollbar {
    display: none;
}

.product-hero-section .product-gallery__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
}

.product-hero-section .product-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 1.5s ease;
}

.product-hero-section .product-gallery__nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    pointer-events: none;
}

.product-hero-section .product-gallery__thumbs {
    display: flex;
    gap: 12px;
    pointer-events: auto;
}

.product-hero-section .product-gallery__thumbs button {
    width: 48px;
    height: 48px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    cursor: pointer;
    transition: background-color var(--transition);
}

.product-hero-section .product-gallery__thumbs button:hover,
.product-hero-section .product-gallery__thumbs button.is-active {
    background-color: rgba(255, 255, 255, 0.4);
}

.product-hero-section .product-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.product-hero-section .product-gallery__thumbs button:hover img,
.product-hero-section .product-gallery__thumbs button.is-active img {
    opacity: 1;
}

.product-hero-section .product-gallery__progress {
    position: relative;
    width: 128px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.product-hero-section .product-gallery__progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background-color: #ffffff;
    transition: left 0.3s ease, width 0.3s ease;
}

/* Info column */
.product-hero-section .product-hero-section__info {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.product-hero-section .product-hero-section__heading h1 {
    font-family: var(--font-serif);
    font-size: 54px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 16px 0 20px;
}

.product-hero-section .product-hero-section__subtitle {
    font-family: var(--font-serif);
    /* font-style: italic; */
    font-size: 18px;
    font-weight: 300;
    color: var(--color-muted);
}

.product-hero-section .product-hero-section__purchase {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-hero-section .product-hero-section__price {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 300;
    color: var(--color-charcoal);
}

.product-hero-section .product-hero-section__colors {
    display: flex;
    gap: 12px;
}

.product-hero-section .product-hero-section__colors button {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(120, 124, 117, 0.3);
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, outline-offset var(--transition);
}

.product-hero-section .product-hero-section__colors button:hover {
    transform: scale(1.08);
}

.product-hero-section .product-hero-section__colors button.is-active {
    outline: 1px solid var(--color-charcoal);
    outline-offset: 2px;
}

.product-hero-section .product-hero-section__buy {
    align-self: flex-start;
    width: auto;
    padding: 18px 48px;
    letter-spacing: 0.2em;
}

.product-hero-section .product-hero-section__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    border-top: 1px solid var(--color-border-soft);
    padding-top: 32px;
    margin: 0;
}

.product-hero-section .product-hero-section__meta dt {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-light);
    margin-bottom: 8px;
}

.product-hero-section .product-hero-section__meta dd {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin: 0;
}

@media (max-width: 1024px) {
    .product-hero-section .product-hero-section__layout {
        flex-direction: column;
        min-height: 0;
        padding: 0;
    }

    .product-hero-section .product-hero-section__gallery,
    .product-hero-section .product-hero-section__info {
        flex: none;
        width: 100%;
    }

    .product-hero-section .product-gallery {
        min-height: 540px;
        aspect-ratio: 4 / 5;
    }

    .product-hero-section .product-hero-section__info {
        padding: 64px 32px;
    }

    .product-hero-section .product-hero-section__heading h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .product-hero-section .product-gallery {
        min-height: 0;
        aspect-ratio: 1 / 1;
        margin-top: 20px;
    }

    .product-hero-section .product-gallery__thumbs button {
        width: 40px;
        height: 40px;
    }

    .product-hero-section .product-hero-section__info {
        padding: 0 0 48px;
        gap: 36px;
    }

    .product-hero-section .product-hero-section__heading h1 {
        font-size: 40px;
    }

    .product-hero-section .product-hero-section__price {
        font-size: 26px;
    }

    .product-hero-section .product-hero-section__buy {
        align-self: stretch;
        text-align: center;
    }
}

/* Product Hero Section — end */


/* ==========================================================================
   Product Philosophy Section — start
   ========================================================================== */

.product-philosophy-section {
    background-color: #f4f4ef;
    padding: 160px 0;
}

.product-philosophy-section .product-philosophy-section__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.product-philosophy-section h2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 40px;
    font-weight: 300;
    color: var(--color-charcoal);
    margin-bottom: 40px;
}

.product-philosophy-section p {
    font-size: 20px;
    font-weight: 200;
    line-height: 1.7;
    color: var(--color-muted);
}

@media (max-width: 1024px) {
    .product-philosophy-section {
        padding: 120px 0;
    }

    .product-philosophy-section h2 {
        font-size: 34px;
    }

    .product-philosophy-section p {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .product-philosophy-section {
        padding: 80px 0;
    }

    .product-philosophy-section h2 {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .product-philosophy-section p {
        font-size: 15px;
    }
}

/* Product Philosophy Section — end */


/* ==========================================================================
   Product Craft Section — start
   ========================================================================== */

.product-craft-section {
    padding: 96px 0;
}

.product-craft-section .product-craft-section__grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: center;
}

.product-craft-section .product-craft-section__media {
    aspect-ratio: 4 / 5;
    background-color: #e0e4db;
    overflow: hidden;
}

.product-craft-section .product-craft-section__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease;
}

.product-craft-section .product-craft-section__media:hover img {
    transform: scale(1.1);
}

.product-craft-section .product-craft-section__text {
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-craft-section h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.25;
    color: var(--color-charcoal);
}

.product-craft-section p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-muted);
}

.product-craft-section .product-craft-section__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.product-craft-section .product-craft-section__features li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-charcoal);
}

.product-craft-section .product-craft-section__features li span {
    display: inline-block;
    width: 32px;
    height: 1px;
    background-color: var(--color-charcoal);
}

@media (max-width: 1024px) {
    .product-craft-section {
        padding: 80px 0;
    }

    .product-craft-section .product-craft-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-craft-section .product-craft-section__text {
        padding-left: 0;
    }

    .product-craft-section h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .product-craft-section {
        padding: 64px 0;
    }

    .product-craft-section h3 {
        font-size: 24px;
    }

    .product-craft-section p {
        font-size: 15px;
    }
}

/* Product Craft Section — end */


/* ==========================================================================
   Product Materiality Section — start
   ========================================================================== */

.product-materiality-section {
    background-color: #edeee8;
    padding: 128px 0;
}

.product-materiality-section .product-materiality-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.product-materiality-section .product-materiality-section__details {
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.product-materiality-section .product-materiality-section__details article {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-materiality-section h4 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--color-charcoal);
    margin-top: 8px;
}

.product-materiality-section p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-muted);
}

.product-materiality-section .product-materiality-section__media {
    aspect-ratio: 1 / 1;
    background-color: #e0e4db;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

.product-materiality-section .product-materiality-section__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .product-materiality-section {
        padding: 96px 0;
    }

    .product-materiality-section .product-materiality-section__grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .product-materiality-section .product-materiality-section__details {
        gap: 56px;
    }

    .product-materiality-section h4 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .product-materiality-section {
        padding: 64px 0;
    }

    .product-materiality-section .product-materiality-section__details {
        gap: 40px;
    }

    .product-materiality-section h4 {
        font-size: 22px;
    }

    .product-materiality-section p {
        font-size: 15px;
    }
}

/* Product Materiality Section — end */


/* ==========================================================================
   Product Specs Section — start
   ========================================================================== */

.product-specs-section {
    padding: 128px 0;
    background-color: #f4f4ef;
}

.product-specs-section .product-specs-section__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 80px;
}

.product-specs-section h3 {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--color-charcoal);
}

.product-specs-section .product-specs-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 48px;
    row-gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
}

.product-specs-section .spec {
    border-left: 1px solid rgba(175, 179, 172, 0.4);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-specs-section .spec__label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-light);
}

.product-specs-section .spec__value {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 300;
    color: var(--color-charcoal);
}

@media (max-width: 1024px) {
    .product-specs-section {
        padding: 96px 0;
    }

    .product-specs-section .product-specs-section__grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 32px;
        row-gap: 48px;
    }

    .product-specs-section h3 {
        font-size: 30px;
    }

    .product-specs-section .spec__value {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .product-specs-section {
        padding: 64px 0;
    }

    .product-specs-section .product-specs-section__intro {
        margin-bottom: 48px;
    }

    .product-specs-section h3 {
        font-size: 26px;
    }

    .product-specs-section .product-specs-section__grid {
        column-gap: 20px;
        row-gap: 32px;
    }

    .product-specs-section .spec {
        padding-left: 16px;
    }

    .product-specs-section .spec__value {
        font-size: 20px;
    }
}

/* Product Specs Section — end */


/* ==========================================================================
   Product Optical Section — start
   ========================================================================== */

.product-optical-section {
    padding: 128px 0;
    background-color: #f4f4ef;
    overflow: hidden;
}

.product-optical-section .product-optical-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-optical-section .product-optical-section__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-optical-section h2 {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1.1;
    color: var(--color-charcoal);
    margin-bottom: 16px;
}

.product-optical-section p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 24px;
}

.product-optical-section .product-optical-section__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-optical-section .product-optical-section__features li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-optical-section .product-optical-section__features li span:last-child {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-charcoal);
}

.product-optical-section .product-optical-section__features .material-symbols-outlined {
    color: var(--color-charcoal);
    font-size: 20px;
}

.product-optical-section .product-optical-section__media {
    position: relative;
}

.product-optical-section .product-optical-section__media::before {
    content: "";
    position: absolute;
    inset: -10%;
    background-color: rgba(95, 94, 93, 0.05);
    border-radius: 50%;
    filter: blur(64px);
    z-index: 0;
}

.product-optical-section .product-optical-section__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    border: 1px solid rgba(175, 179, 172, 0.2);
    background-color: rgba(255, 255, 255, 0.5);
    padding: 32px;
    opacity: 0.95;
}

@media (max-width: 1024px) {
    .product-optical-section {
        padding: 96px 0;
    }

    .product-optical-section .product-optical-section__grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .product-optical-section h2 {
        font-size: 44px;
    }

    .product-optical-section p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .product-optical-section {
        padding: 64px 0;
    }

    .product-optical-section h2 {
        font-size: 32px;
    }

    .product-optical-section p {
        font-size: 15px;
    }

    .product-optical-section .product-optical-section__media img {
        padding: 20px;
    }
}

/* Product Optical Section — end */


/* ==========================================================================
   Product Related Section — start
   ========================================================================== */

.product-related-section {
    padding: 128px 0;
    background-color: var(--color-bg);
}

.product-related-section .product-related-section__intro {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-related-section h3 {
    font-family: var(--font-serif);
    font-size: 36px;
    letter-spacing: -0.01em;
    color: var(--color-charcoal);
}

.product-related-section .product-related-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.product-related-section .related-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
}

.product-related-section .related-card--offset {
    margin-top: 96px;
}

.product-related-section .related-card__media {
    aspect-ratio: 1 / 1;
    background-color: #f4f4ef;
    overflow: hidden;
    margin-bottom: 24px;
}

.product-related-section .related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.7s ease;
}

.product-related-section .related-card:hover .related-card__media img {
    transform: scale(1.05);
}

.product-related-section .related-card h5 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--color-charcoal);
    margin-bottom: 4px;
}

.product-related-section .related-card p {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
}

@media (max-width: 1024px) {
    .product-related-section {
        padding: 96px 0;
    }

    .product-related-section h3 {
        font-size: 30px;
    }

    .product-related-section .product-related-section__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .product-related-section .related-card--offset {
        margin-top: 56px;
    }
}

@media (max-width: 768px) {
    .product-related-section {
        padding: 64px 0;
    }

    .product-related-section .product-related-section__intro {
        margin-bottom: 48px;
    }

    .product-related-section h3 {
        font-size: 24px;
    }

    .product-related-section .product-related-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-related-section .related-card--offset {
        margin-top: 0;
    }
}

/* Product Related Section — end */


/* ==========================================================================
   Product CTA Section — start
   ========================================================================== */

.product-cta-section {
    padding: 192px 0;
    text-align: center;
    background-color: var(--color-bg);
}

.product-cta-section .product-cta-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
}

.product-cta-section h2 {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-charcoal);
    margin-bottom: 32px;
}

.product-cta-section .product-cta-section__lead {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 48px;
}

.product-cta-section .product-cta-section__btn {
    padding: 22px 64px;
    letter-spacing: 0.3em;
    border-color: var(--color-charcoal);
}

.product-cta-section .product-cta-section__tagline {
    margin-top: 96px;
    font-size: 9px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-muted-light);
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .product-cta-section {
        padding: 128px 0;
    }

    .product-cta-section h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .product-cta-section {
        padding: 88px 0;
    }

    .product-cta-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .product-cta-section .product-cta-section__btn {
        padding: 18px 40px;
    }

    .product-cta-section .product-cta-section__tagline {
        margin-top: 64px;
    }
}

/* Product CTA Section — end */


/* ==========================================================================
   PART 6 — WORDPRESS & WOOCOMMERCE INTEGRATION
   (Cross-cutting: accessibility, cart icon, shop cards, WC notices, etc.)
   ========================================================================== */

/* —— Accessibility —— */

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    background: #1a1a1a;
    color: #fff;
    z-index: 999;
    border-radius: 4px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    word-wrap: normal !important;
}

/* —— Generic pages (default page / post content) —— */

.page-content-section {
    padding: clamp(64px, 10vw, 120px) 0;
}
.page-content-section .container > article,
.page-content-section .container > .post {
    margin-bottom: 48px;
}

/* —— Shop listing: badges, card CTA, filter reset —— */

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 2;
}
.product-card__badge--sale {
    background: #c0392b;
}
.product-card__badge--out {
    background: #6b7280;
}

.product-card__cta {
    margin-top: 12px;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 16px;
}

.shop-products-section__reset {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    text-decoration: underline;
}

/* —— Cart: update row, empty cart, qty input, proceed to checkout —— */

.cart-section__update-row {
    display: flex;
    justify-content: flex-end;
    margin: 16px 0 24px;
}
.cart-section__update-btn {
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    padding: 10px 22px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.cart-section__update-btn:hover,
.cart-section__update-btn.is-active {
    background: #1a1a1a;
    color: #fff;
}

.cart-section__empty {
    text-align: center;
    padding: clamp(80px, 15vw, 160px) 0;
}
.cart-section__empty h1 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}
.cart-section__empty p {
    color: #6b7280;
    margin-bottom: 32px;
}

.cart-item__qty-input.qty {
    width: 48px;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    -moz-appearance: textfield;
}
.cart-item__qty-input.qty::-webkit-outer-spin-button,
.cart-item__qty-input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}
.wc-proceed-to-checkout .checkout-button,
.wc-proceed-to-checkout a.button {
    display: block;
    width: 100%;
    text-align: center;
    background: #1a1a1a;
    color: #fff;
    padding: 16px 24px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.2s ease;
}
.wc-proceed-to-checkout .checkout-button:hover,
.wc-proceed-to-checkout a.button:hover {
    background: #000;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}
.woocommerce-cart .cart_totals {
    display: none;
}

/* —— WooCommerce: store notices & product archive pagination —— */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #f1f1ef;
    border-left: 3px solid #1a1a1a;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px;
    list-style: none;
}
.woocommerce-error {
    border-left-color: #c0392b;
}

.woocommerce-pagination,
.shop-products-section__main .woocommerce-pagination ul {
    margin-top: 32px;
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
}
.woocommerce-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}
.woocommerce-pagination li a,
.woocommerce-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    color: #1a1a1a;
    font-size: 13px;
    transition: all 0.2s ease;
}
.woocommerce-pagination li span.current,
.woocommerce-pagination li a:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* —— Single product: add to cart, quantity stepper —— */

.product-hero-section__cart {
    margin: 16px 0;
}
.product-hero-section__cart form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.product-hero-section__cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #3b3b3b;
    height: 52px;
    overflow: hidden;
}
.product-hero-section__cart .quantity input.qty {
    width: 48px;
    height: 100%;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0;
}
.product-hero-section__cart .quantity input.qty::-webkit-outer-spin-button,
.product-hero-section__cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.product-hero-section__cart .quantity .qty-stepper__btn {
    width: 40px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}
.product-hero-section__cart .quantity .qty-stepper__btn:hover {
    background: #1a1a1a;
    color: #fff;
}
.product-hero-section__cart .quantity .qty-stepper__btn .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}
.product-hero-section__cart button.single_add_to_cart_button {
    flex: 1 1 auto;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    padding: 5px 30px;
    height: 52px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}
.product-hero-section__cart button.single_add_to_cart_button:hover {
    background: #000;
}

@keyframes mozzati-atc-tick-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.product-hero-section__cart button.single_add_to_cart_button.is-adding,
.product-hero-section__cart input.single_add_to_cart_button.is-adding {
    pointer-events: none;
    cursor: wait;
}

.product-hero-section__cart button.single_add_to_cart_button.is-added,
.product-hero-section__cart input.single_add_to_cart_button.is-added {
    background: #2d5a3d;
    border-color: #2d5a3d;
    color: #fff;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.product-hero-section__cart button.single_add_to_cart_button.is-added:hover,
.product-hero-section__cart input.single_add_to_cart_button.is-added:hover {
    background: #244a32;
    border-color: #244a32;
}

.product-hero-section__cart button.single_add_to_cart_button .mozzati-atc-added-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-hero-section__cart button.single_add_to_cart_button .mozzati-atc-tick {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.product-hero-section__cart button.single_add_to_cart_button .mozzati-atc-tick path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.product-hero-section__cart button.single_add_to_cart_button.is-added .mozzati-atc-tick path {
    animation: mozzati-atc-tick-draw 0.55s ease forwards;
}

.product-hero-section__cart button.single_add_to_cart_button .mozzati-atc-added-label {
    letter-spacing: 0.12em;
}

.product-hero-section__buy-amazon {
    display: inline-block;
    margin-top: 12px;
}

/* —— WordPress core: captions & alignment (classic / block safety) —— */
.wp-caption,
.gallery-caption,
.bypostauthor,
.alignleft,
.alignright,
.aligncenter {
    display: block;
}
.alignleft { float: left; margin-right: 16px; }
.alignright { float: right; margin-left: 16px; }
.aligncenter { margin-left: auto; margin-right: auto; }


/* —— Cart page: WooCommerce wrapper, notices, checkout link —— */

/* WC shortcode wrapper should be transparent so cart-section layout flows */
.woocommerce {
    background: transparent;
}

/* Hide the hidden qty input visually (already type=hidden but be safe) */
.cart-item .cart-item__qty-input {
    display: none !important;
}

/* WC notices on cart page sit above the cart-section without affecting layout */
.woocommerce-notices-wrapper:empty {
    display: none;
}
.woocommerce-notices-wrapper {
    max-width: var(--container-max);
    margin: 24px auto 0;
    padding: 0 var(--container-padding);
}

/* Checkout CTA — align with theme .btn--solid-primary */
.cart-summary__checkout {
    width: 100%;
    text-align: center;
    margin-top: 24px;
}
a.cart-summary__checkout {
    display: block;
    padding: 16px 24px;
    background: var(--color-charcoal);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.2s ease;
}
a.cart-summary__checkout:hover {
    background: #000;
    color: #fff;
}


/* ==========================================================================
   Checkout page (classic + blocks) — Mozzati cart aesthetic
   ========================================================================== */

body.woocommerce-checkout:not(.woocommerce-order-received) {
    background-color: var(--color-bg);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding: 64px var(--container-padding) 96px;
}

body.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-top: 0;
    margin-bottom: 24px;
    padding-left: 0;
    padding-right: 0;
}

/* —— Classic checkout: two-column grid (details left, order right) —— */

body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    grid-template-rows: auto auto;
    column-gap: clamp(40px, 5vw, 80px);
    row-gap: 24px;
    align-items: start;
}

body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .checkout_coupon,
body.woocommerce-checkout .woocommerce-form-coupon,
body.woocommerce-checkout .woocommerce-form-login {
    grid-column: 1 / -1;
}

body.woocommerce-checkout .woocommerce-form-login-toggle .showlogin,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2px;
    transition: color var(--transition), border-color var(--transition);
}

body.woocommerce-checkout .woocommerce-form-login-toggle .showlogin:hover,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon:hover {
    color: var(--color-charcoal);
    border-bottom-color: var(--color-charcoal);
}

body.woocommerce-checkout .checkout_coupon,
body.woocommerce-checkout .woocommerce-form-coupon,
body.woocommerce-checkout .woocommerce-form-login {
    background: rgba(237, 238, 232, 0.45);
    border: 1px solid var(--color-border-soft);
    padding: 24px 28px;
    margin: 0 0 8px;
    font-size: 14px;
}

body.woocommerce-checkout .checkout_coupon .form-row-first,
body.woocommerce-checkout .checkout_coupon .form-row-last,
body.woocommerce-checkout .woocommerce-form-coupon .form-row-first,
body.woocommerce-checkout .woocommerce-form-coupon .form-row-last {
    float: none;
    width: 100%;
}

body.woocommerce-checkout .checkout_coupon .input-text,
body.woocommerce-checkout .woocommerce-form-coupon .input-text {
    width: 100%;
}

body.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
}

body.woocommerce-checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-charcoal);
    margin: 0 0 8px;
    padding: 0;
}

body.woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    width: 100%;
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    width: 100%;
    float: none;
}

body.woocommerce-checkout #customer_details .col-1 {
    margin-bottom: 48px;
}

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-charcoal);
    margin: 0 0 28px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.woocommerce-checkout form .form-row {
    margin: 0;
    padding: 0;
}

body.woocommerce-checkout form .form-row label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-light);
    margin-bottom: 8px;
}

body.woocommerce-checkout form .form-row label .required {
    color: #9e422c;
    font-weight: 400;
}

body.woocommerce-checkout form .form-row .input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-charcoal);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    padding: 10px 0;
    outline: none;
    transition: border-color var(--transition);
    box-shadow: none;
}

body.woocommerce-checkout form .form-row textarea {
    min-height: 100px;
    border: 1px solid var(--color-border);
    padding: 14px 16px;
    resize: vertical;
}

body.woocommerce-checkout form .form-row .input-text:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout form .form-row textarea:focus {
    border-bottom-color: var(--color-charcoal);
}

body.woocommerce-checkout form .form-row textarea:focus {
    border-color: var(--color-charcoal);
}

body.woocommerce-checkout form .form-row.woocommerce-validated .input-text,
body.woocommerce-checkout form .form-row.woocommerce-validated select {
    box-shadow: none;
    border-bottom-color: var(--color-charcoal);
}

body.woocommerce-checkout form .form-row.woocommerce-invalid .input-text,
body.woocommerce-checkout form .form-row.woocommerce-invalid select {
    box-shadow: none;
    border-bottom-color: #9e422c;
}

body.woocommerce-checkout #ship-to-different-address {
    font-size: 13px;
    margin: 32px 0 24px;
}

body.woocommerce-checkout #ship-to-different-address label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin: 0;
    cursor: pointer;
}

body.woocommerce-checkout #ship-to-different-address input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-charcoal);
}

body.woocommerce-checkout .create-account {
    margin-top: 24px;
    font-size: 13px;
}

body.woocommerce-checkout .create-account label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 14px;
    color: var(--color-charcoal);
}

/* Order review panel */
body.woocommerce-checkout #order_review {
    background: rgba(237, 238, 232, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--color-border-soft);
    padding: 40px 40px 32px;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
    border: 0;
    margin: 0 0 28px;
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table thead th,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tbody td,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot th,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot td {
    border: 0;
    border-bottom: 1px solid var(--color-border-soft);
    padding: 14px 0;
    vertical-align: middle;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table thead th {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-light);
    font-weight: 500;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tbody td.product-name {
    color: var(--color-charcoal);
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tbody td.product-total {
    text-align: right;
    color: var(--color-charcoal);
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 400;
    color: var(--color-muted);
    text-align: left;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    color: var(--color-charcoal);
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .order-total td {
    border-bottom: 0;
    padding-top: 24px;
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--color-charcoal);
}

body.woocommerce-checkout ul#shipping_method {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

body.woocommerce-checkout ul#shipping_method li {
    margin: 0 0 8px;
    display: block;
}

body.woocommerce-checkout ul#shipping_method li:last-child {
    margin-bottom: 0;
}

body.woocommerce-checkout ul#shipping_method label {
    display: inline;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-charcoal);
    margin: 0;
}

/* Payment */
body.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
    border: 0;
    padding: 0;
}

body.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    margin: 0 0 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-soft);
    font-size: 14px;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: none;
    color: var(--color-charcoal);
    margin: 0;
    cursor: pointer;
}

body.woocommerce-checkout #payment div.payment_box {
    background: var(--color-ivory);
    border: 1px solid var(--color-border);
    border-radius: 0;
    margin: 12px 0 0;
    padding: 16px 18px;
    font-size: 13px;
    color: var(--color-muted);
}

body.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

body.woocommerce-checkout #payment .place-order {
    margin: 0;
    padding: 0;
    float: none;
}

body.woocommerce-checkout #place_order {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--color-charcoal);
    color: #fff;
    border: 1px solid var(--color-charcoal);
    border-radius: 0;
    padding: 18px 28px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

body.woocommerce-checkout #place_order:hover {
    background: #000;
    border-color: #000;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 12px;
    line-height: 1.65;
    color: var(--color-muted);
    margin-bottom: 20px;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a,
body.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: var(--color-charcoal);
    border-bottom: 1px solid var(--color-border);
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a:hover,
body.woocommerce-checkout .woocommerce-privacy-policy-text a:hover {
    border-bottom-color: var(--color-charcoal);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity {
    font-size: 12px;
    color: var(--color-muted);
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: auto;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    background: transparent;
    padding: 4px 0 10px;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-charcoal);
    padding-left: 0;
    line-height: 1.4;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 4px;
}

body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
    border-bottom-color: var(--color-charcoal);
}

body.woocommerce-checkout .select2-dropdown {
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 14px;
}

body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[data-selected] {
    background: var(--color-charcoal);
}

/* —— Block checkout (WooCommerce Blocks) —— */

body.woocommerce-checkout .wp-block-woocommerce-checkout {
    font-family: var(--font-sans);
    color: var(--color-text);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
    border-color: var(--color-border-soft);
}

body.woocommerce-checkout .wc-block-components-title {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--color-charcoal);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input {
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--color-border) !important;
    background: transparent !important;
    font-family: var(--font-sans) !important;
    font-size: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input textarea:focus {
    border-bottom-color: var(--color-charcoal) !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input label {
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--color-muted-light) !important;
}

body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background: var(--color-charcoal) !important;
    color: #fff !important;
    border: 1px solid var(--color-charcoal) !important;
    padding: 18px 28px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: #000 !important;
    border-color: #000 !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel {
    background: rgba(237, 238, 232, 0.5);
    border: 1px solid var(--color-border-soft);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
    background: var(--color-charcoal);
    color: #fff;
    border-radius: 2px;
}

/* —— Order received (thank you) —— */

body.woocommerce-order-received .woocommerce-order {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding: 64px var(--container-padding) 96px;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    font-style: italic;
    color: var(--color-charcoal);
    margin: 0 0 40px;
}

body.woocommerce-order-received ul.order_details {
    list-style: none;
    margin: 0 0 48px;
    padding: 32px 40px;
    background: rgba(237, 238, 232, 0.5);
    border: 1px solid var(--color-border-soft);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px 32px;
    font-size: 13px;
}

body.woocommerce-order-received ul.order_details li {
    margin: 0;
    padding: 0;
    border: 0;
    float: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 10px;
    color: var(--color-muted);
}

body.woocommerce-order-received ul.order_details li strong {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-charcoal);
    font-weight: 500;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
    margin-bottom: 48px;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 24px;
    color: var(--color-charcoal);
}

body.woocommerce-order-received table.shop_table.order_details {
    border: 0;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

body.woocommerce-order-received table.shop_table.order_details th,
body.woocommerce-order-received table.shop_table.order_details td {
    border: 0;
    border-bottom: 1px solid var(--color-border-soft);
    padding: 14px 0;
}

body.woocommerce-order-received table.shop_table.order_details tfoot th,
body.woocommerce-order-received table.shop_table.order_details tfoot td {
    font-family: var(--font-serif);
    font-size: 18px;
}

@media (max-width: 1024px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
        padding: 48px var(--container-padding) 80px;
    }

    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    body.woocommerce-checkout #customer_details {
        grid-column: 1;
        grid-row: auto;
    }

    body.woocommerce-checkout #order_review_heading {
        grid-column: 1;
        grid-row: auto;
        margin-top: 8px;
    }

    body.woocommerce-checkout #order_review {
        grid-column: 1;
        grid-row: auto;
        position: static;
        padding: 32px 28px 28px;
    }
}

@media (max-width: 768px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
        padding: 32px var(--container-padding) 64px;
    }

    body.woocommerce-checkout #order_review_heading {
        font-size: 24px;
    }

    body.woocommerce-checkout #order_review {
        padding: 28px 22px 24px;
    }

    body.woocommerce-order-received ul.order_details {
        padding: 24px 22px;
    }
}


/* ==========================================================================
   PART 7 — SIDE CART DRAWER
   ========================================================================== */

/* Prevent body scroll when cart is open */
body.mozzati-side-cart-active {
    overflow: hidden;
}

/* Wrapper — positions the overlay and panel together */
.mozzati-side-cart {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.mozzati-side-cart.is-open {
    pointer-events: auto;
}

/* Overlay */
.mozzati-side-cart__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 26, 26, 0.45);
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
}

.mozzati-side-cart.is-open .mozzati-side-cart__overlay {
    opacity: 1;
}

/* Panel */
.mozzati-side-cart__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 100vw;
    background-color: var(--color-ivory);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 40px rgba(26, 26, 26, 0.12);
}

.mozzati-side-cart.is-open .mozzati-side-cart__panel {
    transform: translateX(0);
}

/* Header */
.mozzati-side-cart__header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 0;
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--color-border-soft);
    flex-shrink: 0;
}

.mozzati-side-cart__header .eyebrow {
    grid-column: 1;
    grid-row: 1;
    font-size: 10px;
    letter-spacing: 0.3em;
}

.mozzati-side-cart__title {
    grid-column: 1;
    grid-row: 2;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-charcoal);
}

.mozzati-side-cart__close {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    border-radius: 50%;
    transition: color var(--transition), background-color var(--transition);
    margin-left: 16px;
}

.mozzati-side-cart__close:hover {
    color: var(--color-charcoal);
    background-color: var(--color-border-soft);
}

.mozzati-side-cart__close .material-symbols-outlined {
    font-size: 20px;
}

/* Scrollable body */
.mozzati-side-cart__body {
    flex: 1 1 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
    display: flex;
    flex-direction: column;
}

.mozzati-side-cart__body::-webkit-scrollbar {
    width: 4px;
}
.mozzati-side-cart__body::-webkit-scrollbar-thumb {
    background-color: var(--color-border);
    border-radius: 2px;
}

/* Empty state */
.mozzati-side-cart__empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 28px;
    color: var(--color-muted);
}

.mozzati-side-cart__empty-icon {
    font-size: 48px;
    color: var(--color-border);
}

.mozzati-side-cart__empty p {
    font-size: 14px;
    letter-spacing: 0.05em;
}

/* Item list */
.mozzati-side-cart__items {
    flex: 1;
    padding: 0 28px;
}

.mozzati-side-cart__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border-soft);
    position: relative;
}

.mozzati-side-cart__item:last-child {
    border-bottom: 0;
}

/* Product thumbnail */
.mozzati-side-cart__item-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: var(--color-border-soft);
    overflow: hidden;
}

.mozzati-side-cart__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Item text */
.mozzati-side-cart__item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Top row: name + delete button */
.mozzati-side-cart__item-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.mozzati-side-cart__item-name {
    flex: 1;
    min-width: 0;
    font-family: var(--font-serif);
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color var(--transition);
}

.mozzati-side-cart__item-name:hover {
    color: var(--color-muted);
}

/* Delete bin button */
.mozzati-side-cart__item-remove {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted-light);
    border-radius: 4px;
    transition: color var(--transition), background-color var(--transition);
    margin-top: 1px;
}

.mozzati-side-cart__item-remove:hover {
    color: #c0392b;
    background-color: #fef2f2;
}

.mozzati-side-cart__item-remove .material-symbols-outlined {
    font-size: 17px;
}

.mozzati-side-cart__item-meta {
    font-size: 11px;
    color: var(--color-muted);
    letter-spacing: 0.04em;
}

.mozzati-side-cart__item-meta dl,
.mozzati-side-cart__item-meta dd,
.mozzati-side-cart__item-meta dt {
    display: inline;
    margin: 0;
    padding: 0;
}

/* Bottom row: stepper + price */
.mozzati-side-cart__item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.mozzati-side-cart__item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-charcoal);
    letter-spacing: 0.02em;
}

/* Qty stepper */
.mozzati-side-cart__stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    background-color: #ffffff;
    height: 30px;
}

.mozzati-side-cart__stepper-btn {
    width: 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: color var(--transition), background-color var(--transition);
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.mozzati-side-cart__stepper-btn:hover {
    color: var(--color-charcoal);
    background-color: var(--color-border-soft);
}

.mozzati-side-cart__stepper-btn .material-symbols-outlined {
    font-size: 14px;
}

.mozzati-side-cart__stepper-val {
    min-width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-charcoal);
    letter-spacing: 0.04em;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Fade item while AJAX is in-flight */
.mozzati-side-cart__item.is-updating {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Footer — subtotal + CTA */
.mozzati-side-cart__footer {
    flex-shrink: 0;
    padding: 20px 28px 32px;
    border-top: 1px solid var(--color-border-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mozzati-side-cart__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-charcoal);
    padding-bottom: 4px;
}

.mozzati-side-cart__tax-note {
    font-size: 11px;
    color: var(--color-muted);
    letter-spacing: 0.02em;
    margin-top: -4px;
}

.mozzati-side-cart__checkout-btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-top: 4px;
}

.mozzati-side-cart__view-cart {
    display: block;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    padding: 4px 0;
    transition: color var(--transition);
}

.mozzati-side-cart__view-cart:hover {
    color: var(--color-charcoal);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .mozzati-side-cart__panel {
        width: 100vw;
    }

    .mozzati-side-cart__header {
        padding: 22px 20px 16px;
    }

    .mozzati-side-cart__items {
        padding: 0 20px;
    }

    .mozzati-side-cart__footer {
        padding: 16px 20px 28px;
    }
}
