@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Lora:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=Nunito+Sans:wght@400;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
    --page-max-width: 1240px;
    --page-gutter: clamp(20px, 4vw, 64px);
    --bg: #f5f1ea;
    --surface: #fffdf8;
    --surface-strong: #f0e7da;
    --surface-dark: #1f1a17;
    --card: rgba(255, 252, 247, 0.82);
    --text: #241f1b;
    --muted: #6e6258;
    --line: rgba(36, 31, 27, 0.12);
    --accent: #9f7652;
    --accent-soft: #d7c0a6;
    --accent-deep: #7f5c3d;
    --shadow-soft: 0 24px 80px rgba(37, 24, 12, 0.08);
    --shadow-card: 0 18px 45px rgba(37, 24, 12, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --section-bg-general: #f5f1ea;
    --section-bg-hero: transparent;
    --section-bg-categories: transparent;
    --section-bg-featured-products: #f0e7da;
    --section-bg-products: #f0e7da;
    --section-bg-institutional: transparent;
    --section-bg-faq: transparent;
    --section-bg-footer: #171311;
    --button-primary-bg: #1f1a17;
    --text-main: #241f1b;
    --font-sans-family: "Manrope", sans-serif;
    --font-display-family: "Cormorant Garamond", serif;
    --hero-cover-image: none;
    --hero-cover-overlay-start: rgba(12, 10, 9, 0.22);
    --hero-cover-overlay-end: rgba(12, 10, 9, 0.52);
    --hero-cover-noise-start: rgba(12, 10, 9, 0.08);
    --hero-cover-noise-end: rgba(12, 10, 9, 0.38);
    --hero-cover-copy-bg: rgba(22, 17, 14, 0.58);
    --hero-cover-copy-border: rgba(255, 255, 255, 0.2);
    --hero-cover-min-height: clamp(580px, 92vh, 940px);
    --cards-surface-mode: gradient;
    --cards-solid-color: #fff8f0;
    --cards-gradient-from: #fffdf8;
    --cards-gradient-to: #f1e7da;
    --cards-ui-bg: linear-gradient(140deg, var(--cards-gradient-from), var(--cards-gradient-to));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans-family, "Manrope", sans-serif);
    color: var(--text-main, var(--text));
    background:
        radial-gradient(circle at top left, rgba(215, 192, 166, 0.28), transparent 30%),
        linear-gradient(180deg, var(--section-bg-general) 0%, var(--section-bg-general) 100%);
    line-height: 1.6;
}

body.app-loading > header,
body.app-loading > main,
body.app-loading > footer,
body.app-loading > .back-to-top {
    visibility: hidden;
}

.initial-page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f5f1ea, #f0e7da);
}

body.app-loading .initial-page-loader {
    display: flex;
}

.initial-page-loader__content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #2c241e;
}

.initial-page-loader__spinner {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(44, 36, 30, 0.2);
    border-top-color: #2c241e;
    animation: spin-loader 0.8s linear infinite;
}

@keyframes spin-loader {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

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

.container,
.inner {
    width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.section-kicker--light {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.02rem;
}

.section-heading--split {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.section-heading--split p {
    max-width: 420px;
}

.section-title {
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: clamp(2.3rem, 4vw, 4.3rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    font-weight: 700;
}

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

.btn-dark {
    color: #fff;
    background: var(--button-primary-bg, var(--surface-dark));
    box-shadow: var(--shadow-card);
}

.btn-dark:hover {
    background: #332b25;
}

.btn-light {
    color: var(--text);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--line);
}

.btn-light:hover {
    background: #fff;
}

.btn-subtle {
    color: var(--muted);
    background: transparent;
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.btn-subtle:hover {
    color: var(--text);
    border-style: solid;
    background: rgba(255, 255, 255, 0.56);
}

.btn-full {
    width: 100%;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 20px 0 0;
}

.header__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 40px rgba(59, 38, 19, 0.08);
    backdrop-filter: blur(18px);
    position: relative;
}

.brand-mark {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 180px;
}

.brand-mark__eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
}

.brand-mark__title {
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: 1.7rem;
    line-height: 1;
}

.header__navigation {
    flex: 1;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.menu a {
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted);
    transition: background 0.25s ease, color 0.25s ease;
}

.menu a:hover {
    background: rgba(159, 118, 82, 0.1);
    color: var(--text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-button,
.cart-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
    transition: transform 0.25s ease, background 0.25s ease;
}

.mobile-cart-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 14px;
    background: var(--surface-dark);
    color: #fff;
    padding: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    gap: 8px;
}

.mobile-cart-bar__open {
    flex: 1;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 2px 4px;
}

.mobile-cart-bar__close {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-bar__close i {
    font-size: 0.88rem;
}

.icon-button:hover,
.cart-btn:hover {
    transform: translateY(-1px);
    background: #fff;
}

#search-input {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 252, 247, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 90;
}

#search-input.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: var(--accent-deep);
}

.hamburger {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 18px;
    height: 2px;
    background: var(--bg);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-body {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.menu-container {
    width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
    position: relative;
}

.mobile-menu {
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.96);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.7);
    pointer-events: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.mobile-menu a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(159, 118, 82, 0.06);
}

.tenant-hint {
    margin-top: 14px;
}

.tenant-hint__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 252, 247, 0.84);
    box-shadow: 0 12px 28px rgba(37, 24, 12, 0.07);
}

.tenant-hint p {
    color: var(--muted);
    font-size: 0.96rem;
}

.tenant-hint code {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: rgba(159, 118, 82, 0.16);
    border-radius: 8px;
    padding: 2px 8px;
    color: var(--text);
    font-size: 0.88rem;
}

.tenant-hint__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tenant-hint__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    transition: transform 0.2s ease, background 0.2s ease;
}

.tenant-hint__link:hover {
    transform: translateY(-1px);
    background: rgba(159, 118, 82, 0.12);
}

body[data-page-mode="tenant"] .tenant-hint {
    display: none;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    padding: 54px 0 56px;
    background: var(--section-bg-hero, transparent);
}

body[data-hero-height="short"] .hero-shell {
    padding-top: 34px;
    padding-bottom: 36px;
}

body[data-hero-height="medium"] .hero-shell {
    padding-top: 54px;
    padding-bottom: 56px;
}

body[data-hero-height="tall"] .hero-shell {
    padding-top: 74px;
    padding-bottom: 78px;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(159, 118, 82, 0.18), transparent 18%),
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.85), transparent 20%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-stage {
    position: relative;
    z-index: 1;
}

.hero-copy {
    padding: 54px;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(241, 231, 218, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow-soft);
}

.hero-copy h1 {
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: clamp(3.3rem, 6vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
    max-width: 12ch;
}

.hero-copy p {
    max-width: 56ch;
    font-size: 1.04rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0;
}

.hero-actions--system-homepage .hero-commercial-cta--primary {
    min-width: 210px;
}

.hero-actions--system-homepage .hero-commercial-cta--secondary {
    min-width: 180px;
}

body[data-page-mode="system-homepage"] .hero-actions--system-homepage .hero-commercial-cta {
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 28px rgba(10, 7, 4, 0.28);
}

body[data-page-mode="system-homepage"] .hero-actions--system-homepage .hero-commercial-cta--primary {
    background: linear-gradient(145deg, #f8dfb1, #f1c57c);
    color: #2d1f0f;
    border-color: rgba(245, 211, 153, 0.9);
}

body[data-page-mode="system-homepage"] .hero-actions--system-homepage .hero-commercial-cta--primary:hover {
    background: linear-gradient(145deg, #fbe8c5, #f4cd88);
}

body[data-page-mode="system-homepage"] .hero-actions--system-homepage .hero-commercial-cta--secondary.btn-light {
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    border-color: rgba(255, 255, 255, 0.96);
}

body[data-page-mode="system-homepage"] .hero-actions--system-homepage .hero-commercial-cta--secondary.btn-light:hover {
    background: #ffffff;
}

body[data-page-mode="system-homepage"] .hero-actions--system-homepage .hero-commercial-cta--secondary.btn-subtle {
    color: #ffffff;
    border: 1px dashed rgba(255, 255, 255, 0.62);
    background: rgba(15, 23, 42, 0.32);
}

body[data-page-mode="system-homepage"] .hero-actions--system-homepage .hero-commercial-cta--secondary.btn-subtle:hover {
    color: #ffffff;
    border-style: solid;
    background: rgba(255, 255, 255, 0.16);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-metrics div {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-metrics strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.hero-metrics span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-stage {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
}

.hero-feature {
    border-radius: 28px;
    padding: 28px;
    min-height: 220px;
    box-shadow: var(--shadow-soft);
}

.hero-feature--main {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(18, 17, 16, 0.08), rgba(18, 17, 16, 0.9)),
        url("../img/2.png") center/cover no-repeat;
}

.hero-label {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    margin-bottom: auto;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.hero-feature--main h2 {
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: 2.6rem;
    line-height: 0.95;
    margin-bottom: 10px;
    max-width: 8ch;
}

.hero-feature--main p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 28ch;
}

.hero-feature--card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 252, 247, 0.8);
}

.hero-feature--card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 16px;
}

.hero-feature--card span,
.hero-feature--mini span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent-deep);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 700;
}

.hero-feature--card strong,
.hero-feature--mini strong {
    font-size: 1.1rem;
}

.hero-feature--mini {
    background: linear-gradient(135deg, #e6d8c8, #f7f2eb);
}

.benefits-band {
    padding: 56px 20px 26px;
    background: var(--section-bg-institutional, transparent);
}

.featured-cards-shell {
    display: grid;
    gap: 24px;
}

.featured-cards-heading {
    margin-bottom: 0;
}

.featured-cards-heading .section-title {
    font-size: clamp(1.9rem, 3.2vw, 3.3rem);
}

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

.benefits-grid article {
    padding: var(--section-card-padding, 28px);
    border-radius: var(--section-card-radius, 26px);
    background: var(--section-card-bg, var(--cards-ui-bg));
    border: 1px solid var(--section-card-border, rgba(255, 255, 255, 0.7));
    text-align: center;
    display: grid;
    justify-items: center;
    align-content: start;
    box-shadow: var(--section-card-shadow, var(--shadow-soft));
    color: var(--section-card-text, var(--text-main));
    font-family: var(--section-card-font, var(--font-sans-family));
}

.benefits-grid span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--accent-deep);
    font-weight: 800;
}

.benefits-grid h3 {
    margin-bottom: 8px;
    font-size: 1.18rem;
}

.benefits-grid p {
    color: var(--section-card-text, var(--muted));
    opacity: .82;
    max-width: 32ch;
}

.benefits-grid[data-card-style="compact"] article {
    padding: 20px;
    border-radius: 18px;
}

.benefits-grid[data-card-style="minimal"] article {
    box-shadow: none;
    border-color: rgba(36, 31, 27, 0.1);
}

.benefits-grid[data-card-style="premium"] article {
    transform: translateY(-1px);
}

.benefits-grid[data-card-style="bordered"] article {
    border-width: 2px;
}

.categories,
.products,
.about,
.faq-section {
    padding: 72px 20px;
}

.categories {
    background: var(--section-bg-categories, transparent);
}

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

.category-card {
    padding: var(--section-card-padding, 28px);
    border-radius: var(--section-card-radius, 28px);
    background: var(--section-card-bg, var(--cards-ui-bg));
    border: 1px solid var(--section-card-border, rgba(255, 255, 255, 0.65));
    box-shadow: var(--section-card-shadow, var(--shadow-soft));
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    cursor: pointer;
    color: var(--section-card-text, var(--text-main));
    font-family: var(--section-card-font, var(--font-sans-family));
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(159, 118, 82, 0.35);
    box-shadow: var(--shadow-card);
}

.category-card__top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    margin-bottom: 26px;
}

.category-pill {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(159, 118, 82, 0.1);
    color: var(--accent-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.category-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--surface-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.category-card h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.category-card p {
    color: var(--section-card-text, var(--muted));
    opacity: .82;
}

.categories-grid[data-card-style="compact"] .category-card {
    padding: 20px;
    border-radius: 20px;
}

.categories-grid[data-card-style="minimal"] .category-card {
    box-shadow: none;
}

.categories-grid[data-card-style="premium"] .category-card {
    border-width: 2px;
}

.categories-grid[data-card-style="bordered"] .category-card {
    border-width: 2px;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.card-see-all-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--line);
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
}

.card-see-all-products:hover {
    transform: translateY(-2px);
    background: #fff;
}

.products {
    background: var(--section-bg-products, linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.5)));
}

.products--featured {
    background: var(--section-bg-featured-products, var(--section-bg-products, transparent));
}

.products-grid--featured {
    margin-bottom: 4px;
}

.products--featured[data-card-style="soft"] .product-card {
    background: rgba(255, 252, 247, 0.92);
    border-color: rgba(159, 118, 82, 0.16);
}

.products--featured[data-card-style="outline"] .product-card {
    background: transparent;
    border-color: rgba(36, 31, 27, 0.2);
    box-shadow: none;
}

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

.products-grid.products-grid--grouped {
    display: block;
}

.products-categories-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin-bottom: 12px;
    scrollbar-width: thin;
}

.products-category-chip {
    width: auto;
    white-space: nowrap;
    border-radius: 999px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-main);
    font-size: .76rem;
    font-weight: 700;
}

.products-groups {
    display: grid;
    gap: 20px;
}

.products-group {
    display: grid;
    gap: 10px;
}

.products-group-header {
    display: grid;
    gap: 4px;
}

.products-group-title {
    margin: 0;
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 1.12;
}

.products-group-description {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

.products-grid--category {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 252, 247, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-soft);
    min-height: 184px;
}

.products-grid:not(.products-grid--featured) .product-card {
    border-radius: var(--section-card-radius, 16px);
    background: var(--section-card-bg, rgba(255, 252, 247, 0.86));
    border-color: var(--section-card-border, rgba(255, 255, 255, 0.7));
    box-shadow: var(--section-card-shadow, var(--shadow-soft));
    color: var(--section-card-text, var(--text-main));
    font-family: var(--section-card-font, var(--font-sans-family));
}

.products-grid:not(.products-grid--featured) .product-info {
    padding: var(--section-card-padding, 12px);
}

.products-grid--featured .product-card {
    border-radius: var(--section-card-radius, 16px);
    background: var(--section-card-bg, rgba(255, 252, 247, 0.86));
    border-color: var(--section-card-border, rgba(255, 255, 255, 0.7));
    box-shadow: var(--section-card-shadow, var(--shadow-soft));
    color: var(--section-card-text, var(--text-main));
    font-family: var(--section-card-font, var(--font-sans-family));
}

.products-grid--featured .product-info {
    padding: var(--section-card-padding, 12px);
}

.products-grid[data-card-style="compact"] .product-card__open {
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 160px;
}

.products-grid[data-card-style="minimal"] .product-card {
    box-shadow: none;
}

.products-grid[data-card-style="premium"] .product-card__open {
    grid-template-columns: 210px minmax(0, 1fr);
    min-height: 212px;
}

.products-grid[data-card-style="horizontal"] .product-card__open {
    grid-template-columns: 220px minmax(0, 1fr);
}

.products-grid[data-card-style="bordered"] .product-card {
    border-width: 2px;
}

.product-card__open {
    all: unset;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    width: 100%;
    min-height: 100%;
    cursor: pointer;
}

.product-card__open:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.product-card.is-unavailable {
    opacity: 0.72;
}
.unavailable-badge {
    display: inline-flex;
    align-items: center;
    font-size: .68rem;
    font-weight: 700;
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 999px;
    padding: 3px 8px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    font-size: .68rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 8px;
    border: 1px solid transparent;
}

.stock-badge--available {
    color: #065f46;
    background: #d1fae5;
    border-color: #a7f3d0;
}

.stock-badge--low {
    color: #92400e;
    background: #fef3c7;
    border-color: #fde68a;
}

.stock-badge--out {
    color: #7f1d1d;
    background: #fee2e2;
    border-color: #fecaca;
}

.product-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: transparent;
    order: 1;
    border-right: 1px solid rgba(145, 121, 99, 0.14);
    min-height: 184px;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.product-flags {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.product-detail-panel > .product-flags {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin-bottom: 4px;
}

.flag-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.68rem;
    font-weight: 800;
    border: 1px solid transparent;
}

.flag-badge--promo {
    color: #7c2d12;
    background: #ffedd5;
    border-color: #fdba74;
}

.flag-badge--featured {
    color: #1d4ed8;
    background: #dbeafe;
    border-color: #93c5fd;
}

.product-card--featured {
    border-color: rgba(59, 130, 246, 0.35);
}

.product-card--promo {
    box-shadow: 0 18px 45px rgba(185, 28, 28, 0.08);
}

.product-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    background: transparent;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.gallery-chip {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: rgba(24, 20, 17, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.product-badge {
    display: none;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px;
    flex: 1;
    min-width: 0;
    order: 2;
}

.product-title {
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-category-inline {
    display: none;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.product-description {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-price {
    font-size: 1.08rem;
    font-weight: 800;
}

.product-price--fallback {
    font-size: 0.92rem;
    color: var(--muted);
    font-weight: 700;
}

.product-price-legacy {
    text-decoration: line-through;
    color: #8b7a6a;
    font-size: 0.78rem;
}

.product-summary-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.product-detail-hint {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.variant-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

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

.size-btn,
.qty-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
}

.size-btn {
    padding: 6px 8px;
    border-radius: 999px;
    min-width: 34px;
    font-size: 0.74rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.size-btn.is-active {
    background: var(--surface-dark);
    border-color: var(--surface-dark);
    color: #fff;
}

.color-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(36, 31, 27, 0.08);
}

.color-btn.is-active {
    border-color: var(--text);
    transform: scale(1.08);
}

.qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.86rem;
    font-weight: 700;
}

.qty-input {
    width: 28px;
    border: none;
    text-align: center;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
}

.add-to-cart {
    margin-top: auto;
    min-width: 34px;
    min-height: 34px;
    padding-inline: 10px;
    gap: 0;
    font-size: 0.82rem;
    border-radius: 10px;
}

.add-to-cart i {
    font-size: 0.86rem;
}

body[data-product-layout="showcase"] .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body[data-product-layout="showcase"] .product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 20px;
}

body[data-product-layout="showcase"] .product-card__open {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

body[data-product-layout="showcase"] .product-image {
    height: clamp(210px, 25vw, 280px);
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(145, 121, 99, 0.14);
}

body[data-product-layout="showcase"] .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

body[data-product-layout="showcase"] .product-badge {
    display: none;
}

body[data-product-layout="showcase"] .gallery-chip {
    left: auto;
    right: 8px;
}

body[data-product-layout="showcase"] .product-flags {
    left: auto;
    right: 10px;
    justify-content: flex-end;
    max-width: calc(100% - 20px);
}

body[data-product-layout="showcase"] .product-info {
    padding: 14px;
    gap: 10px;
}

body[data-product-layout="showcase"] .product-category-inline {
    display: inline-block;
}

body[data-product-layout="showcase"] .product-title {
    -webkit-line-clamp: 2;
}

body[data-product-layout="showcase"] .product-description {
    -webkit-line-clamp: 2;
}

.editorial-strip {
    padding: 8px 0 36px;
    background: var(--section-bg-institutional, transparent);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr 0.8fr;
    gap: 18px;
}

.editorial-card {
    border-radius: 30px;
    overflow: hidden;
    min-height: 260px;
    box-shadow: var(--shadow-soft);
}

.editorial-card--dark {
    padding: 34px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(18, 17, 16, 0.12), rgba(18, 17, 16, 0.88)),
        url("../img/2.png") center/cover no-repeat;
}

.editorial-card--dark h3 {
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: 2.3rem;
    line-height: 0.95;
    margin-bottom: 10px;
    max-width: 11ch;
}

.editorial-card--dark p {
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.76);
}

.editorial-card--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-card--soft {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: linear-gradient(135deg, #efe4d8, #f9f5ef);
}

.editorial-card--soft span {
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent-deep);
}

.editorial-card--soft strong {
    font-size: 1.25rem;
    line-height: 1.3;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 24px;
    align-items: stretch;
}

.about-content.about-content--single {
    grid-template-columns: 1fr;
}

.about {
    background: var(--section-bg-institutional, transparent);
}

.about-text {
    padding: 38px;
    border-radius: 30px;
    background: rgba(255, 252, 247, 0.82);
    box-shadow: var(--shadow-soft);
}

.about-text h2 {
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.96;
    margin-bottom: 14px;
}

.about-text p {
    color: var(--muted);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.stat {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.stat-number {
    display: block;
    margin-bottom: 6px;
    font-size: 1.35rem;
    font-weight: 800;
}

.stat-label {
    color: var(--muted);
    font-size: 0.92rem;
}

.about-panel {
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(25, 21, 18, 0.18), rgba(25, 21, 18, 0.9)),
        url("../img/equipe.jpg") center/cover no-repeat;
    overflow: hidden;
    min-height: 100%;
    display: flex;
    align-items: end;
}

.about-panel__card {
    margin: 24px;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(12px);
}

.about-panel__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.76);
}

.about-panel__card h3 {
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: 2rem;
    line-height: 0.95;
    margin-bottom: 10px;
}

.about-panel__card p {
    color: rgba(255, 255, 255, 0.74);
}

.faq-container {
    max-width: 900px;
}

.faq-section {
    background: var(--section-bg-faq, transparent);
}

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

.faq-item {
    border-radius: 22px;
    background: rgba(255, 252, 247, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-toggle {
    width: 100%;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    font-weight: 700;
    color: var(--text);
}

.faq-toggle i {
    transition: transform 0.25s ease;
}

.faq-toggle.active i {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content div {
    padding: 0 24px 22px;
    color: var(--muted);
}

.footer {
    padding: 34px 0 24px;
    color: #f7efe8;
    background: var(--section-bg-footer, #171311);
}

body[data-hero-model="cover"] .hero-shell {
    min-height: var(--hero-cover-min-height);
    padding-top: clamp(132px, 14vh, 176px);
    padding-bottom: clamp(64px, 10vh, 112px);
    background:
        linear-gradient(180deg, var(--hero-cover-overlay-start), var(--hero-cover-overlay-end)),
        var(--hero-cover-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

body[data-hero-model="cover"] .header {
    position: fixed !important;
    top: clamp(10px, 2vh, 20px);
    left: 0;
    right: 0;
    z-index: 70;
    padding-top: 0;
}

body[data-hero-model="cover"] .header__in {
    background: rgba(23, 18, 15, 0.48);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body[data-hero-model="cover"] .brand-mark__eyebrow,
body[data-hero-model="cover"] .brand-mark__title,
body[data-hero-model="cover"] .menu a,
body[data-hero-model="cover"] .icon-button,
body[data-hero-model="cover"] .cart-btn {
    color: #fff;
}

body[data-hero-model="cover"] .icon-button,
body[data-hero-model="cover"] .cart-btn,
body[data-hero-model="cover"] .hamburger {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
}

body[data-hero-model="cover"] .tenant-hint {
    display: none;
}

body[data-hero-model="cover"] .hero-noise {
    background: linear-gradient(180deg, var(--hero-cover-noise-start), var(--hero-cover-noise-end));
}

body[data-hero-model="cover"] .hero-grid {
    grid-template-columns: 1fr;
}

body[data-hero-model="cover"] .hero-stage {
    display: none;
}

body[data-hero-model="cover"] .hero-copy {
    background: var(--hero-cover-copy-bg);
    border-color: var(--hero-cover-copy-border);
    color: #fff;
    backdrop-filter: blur(4px);
}

body[data-hero-overlay="light"] {
    --hero-cover-overlay-start: rgba(255, 255, 255, 0.18);
    --hero-cover-overlay-end: rgba(255, 255, 255, 0.4);
    --hero-cover-noise-start: rgba(255, 255, 255, 0.1);
    --hero-cover-noise-end: rgba(255, 255, 255, 0.24);
    --hero-cover-copy-bg: rgba(255, 255, 255, 0.36);
    --hero-cover-copy-border: rgba(255, 255, 255, 0.42);
}

body[data-hero-overlay="dark"] {
    --hero-cover-overlay-start: rgba(12, 10, 9, 0.22);
    --hero-cover-overlay-end: rgba(12, 10, 9, 0.52);
    --hero-cover-noise-start: rgba(12, 10, 9, 0.08);
    --hero-cover-noise-end: rgba(12, 10, 9, 0.38);
    --hero-cover-copy-bg: rgba(22, 17, 14, 0.58);
    --hero-cover-copy-border: rgba(255, 255, 255, 0.2);
}

body[data-hero-model="cover"][data-hero-height="short"] {
    --hero-cover-min-height: clamp(500px, 76vh, 760px);
}

body[data-hero-model="cover"][data-hero-height="medium"] {
    --hero-cover-min-height: clamp(580px, 92vh, 940px);
}

body[data-hero-model="cover"][data-hero-height="tall"] {
    --hero-cover-min-height: clamp(660px, 100vh, 1080px);
}

body[data-hero-model="cover"] .hero-copy p,
body[data-hero-model="cover"] .hero-metrics span,
body[data-hero-model="cover"] .hero-copy .section-kicker {
    color: rgba(255, 255, 255, 0.86);
}

body[data-hero-model="cover"] .hero-metrics div {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

body[data-hero-model="cover"] .hero-copy h1 {
    max-width: none;
}

body[data-hero-model="cover"][data-hero-align="center"] .hero-copy {
    text-align: center;
    margin-inline: auto;
    max-width: 980px;
}

body[data-hero-model="cover"][data-hero-align="right"] .hero-copy {
    text-align: right;
    margin-left: auto;
    max-width: 980px;
}

body[data-hero-model="cover"][data-hero-align="center"] .hero-actions,
body[data-hero-model="cover"][data-hero-align="center"] .hero-metrics {
    justify-content: center;
}

body[data-hero-model="cover"][data-hero-align="right"] .hero-actions,
body[data-hero-model="cover"][data-hero-align="right"] .hero-metrics {
    justify-content: end;
}

body[data-hero-model="cover"][data-hero-align="center"] .hero-metrics {
    width: fit-content;
    margin-inline: auto;
}

body[data-hero-model="cover"][data-hero-align="right"] .hero-metrics {
    width: fit-content;
    margin-left: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    gap: 20px;
}

.footer-section {
    padding: 20px 0;
}

.footer-section--brand p,
.footer-section a,
.contact-info p {
    color: rgba(247, 239, 232, 0.72);
}

.footer-brand {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--font-display-family, "Cormorant Garamond", serif);
    font-size: 2rem;
}

.footer-section h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
}

.contact-info {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(247, 239, 232, 0.6);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-dark);
    color: #fff;
    box-shadow: 0 18px 36px rgba(31, 26, 23, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 95;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #332b25;
}

.modal,
.checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(23, 19, 17, 0.55);
    backdrop-filter: blur(6px);
}

.modal {
    display: none;
    padding: 24px;
    align-items: center;
    justify-content: center;
}

.modal-content,
.checkout-panel {
    width: min(720px, 100%);
    margin: auto;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.modal-content {
    display: flex;
    flex-direction: column;
    max-height: min(88vh, 900px);
}

.modal-header,
.modal-footer,
.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px;
}

.modal-body,
.checkout-body {
    padding: 0 24px 24px;
    overflow-y: auto;
}

.close-btn,
.checkout-header button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.cart-item:last-child {
    border-bottom: none;
}

.cart-item h4 {
    margin-bottom: 6px;
}

.cart-item p,
.empty-cart,
.cart-item-checkout {
    color: var(--muted);
}

.cart-item-addons {
    font-size: 0.8rem;
    line-height: 1.3;
}

.cart-total {
    font-size: 1.1rem;
    font-weight: 800;
}

.gallery-modal-content {
    width: min(860px, 100%);
}

.gallery-stage {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 12px;
    padding: 0 24px 16px;
}

.gallery-stage img {
    width: 100%;
    max-height: min(65vh, 620px);
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.gallery-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
}

.gallery-footer {
    padding: 0 24px 24px;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

.product-detail-modal-content {
    width: min(80vw, 1200px);
    max-width: 80vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0 0 0 auto;
    border-radius: 0 !important;
    transform: translateX(100%);
    transition: transform 0.24s ease;
}

#productDetailModal {
    padding: 0;
    justify-content: flex-end;
}

#productDetailModal.is-open .product-detail-modal-content {
    transform: translateX(0);
}

.product-detail-body {
    padding: 0 18px 18px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.product-detail-gallery {
    display: grid;
    gap: 10px;
}

.product-detail-main-image-btn {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 18px;
    overflow: hidden;
    cursor: zoom-in;
}

.product-detail-main-image-btn:disabled {
    cursor: default;
}

.product-detail-main-image-btn img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 18px;
}

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

.product-detail-thumb {
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.product-detail-thumb.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(31, 26, 23, 0.2);
}

.product-detail-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.product-detail-info {
    display: grid;
    gap: 10px;
    align-self: start;
}

.product-detail-panel {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(145, 121, 99, 0.16);
    background: rgba(255, 255, 255, 0.56);
    align-items: start;
    align-content: start;
    justify-items: start;
}

.product-detail-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(31, 26, 23, 0.08);
    color: var(--text);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-detail-name {
    font-size: 1.08rem;
    margin: 0;
    line-height: 1.18;
}

.product-detail-price-row {
    justify-content: flex-start;
    gap: 8px;
}

.product-detail-description {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
    font-size: 0.88rem;
}

.product-detail-variations {
    display: grid;
    gap: 8px;
}

.product-detail-addons {
    display: grid;
    gap: 8px;
    width: 100%;
}

.product-addon-list {
    display: grid;
    gap: 6px;
}

.product-addon-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    color: var(--text);
}

.product-addon-label {
    font-weight: 600;
    line-height: 1.3;
}

.product-addon-price {
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 700;
}

.product-addon-qty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 2px;
}

.product-addon-qty-btn.qty-btn {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
}

.product-addon-qty-input {
    width: 38px;
    border: none;
    text-align: center;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0;
}

@media (max-width: 640px) {
    .product-addon-option {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .product-addon-qty {
        justify-self: start;
    }
}

.product-detail-panel .variant-label {
    font-size: 0.64rem;
}

.product-detail-panel .variant-options {
    gap: 5px;
}

.product-detail-panel .size-btn {
    padding: 5px 8px;
    min-width: 30px;
    font-size: 0.72rem;
}

.product-detail-panel .color-btn {
    width: 18px;
    height: 18px;
}

.product-detail-qty-row {
    margin-top: 2px;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
}

.product-detail-qty-row .qty-control {
    padding: 3px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
}

.product-detail-qty-row .qty-btn {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
}

.product-detail-qty-row .qty-input {
    width: 28px;
    font-size: 0.78rem;
}

.product-detail-qty-row .add-to-cart {
    min-width: 0;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: none;
    white-space: nowrap;
    flex: 0 0 auto;
}

.product-detail-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-detail-actions .btn {
    width: auto;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: none;
}

.checkout-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.checkout-modal.hidden {
    display: none;
}

.checkout-panel {
    width: min(760px, 100%);
    max-width: 760px;
    max-height: calc(100vh - 24px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.checkout-body {
    display: grid;
    gap: 18px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.checkout-field {
    display: grid;
    gap: 8px;
}

.checkout-field label {
    font-weight: 700;
}

.checkout-field input,
.checkout-field select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
}

.delivery-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--muted);
}

.cep-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.address-box {
    padding: 16px;
    border-radius: 18px;
    background: rgba(159, 118, 82, 0.08);
    margin-top: 8px;
}

.address-box.hidden {
    display: none;
}

.checkout-summary {
    padding: 18px;
    border-radius: 20px;
    background: rgba(159, 118, 82, 0.08);
}

.cart-item-checkout,
.checkout-frete,
.checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
}

.cart-item-checkout-note {
    padding: 2px 0 8px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.checkout-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-weight: 800;
    color: var(--text);
}
