:root {
    --ink: #171411;
    --muted: #756d64;
    --line: #e5ddd3;
    --paper: #fbf8f3;
    --panel: #fffdf8;
    --warm: #d8c7b0;
    --clay: #9a6b4f;
    --sage: #657060;
    --wine: #6b2630;
    --shadow: 0 18px 50px rgba(54, 42, 32, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.announcement {
    background: #d8c7b0;
    color: #30261f;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    text-align: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem clamp(1rem, 2vw, 1.5rem);
    padding: 1rem clamp(1rem, 4vw, 4rem);
    background: rgba(251, 248, 243, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: max-content;
}

.brand-mark span {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border: 1px solid #b9a58c;
    border-radius: 50%;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
}

.brand-mark strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
}

.nav-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    gap: 0.25rem;
    padding: 0.62rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.85rem clamp(0.85rem, 2vw, 1.35rem);
    color: #312a24;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a,
.section-heading a,
.filter-form__actions a,
.breadcrumb {
    color: var(--muted);
}

.main-nav a {
    flex: 0 0 auto;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem;
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.language-switcher a {
    display: inline-grid;
    min-width: 2rem;
    min-height: 2rem;
    place-items: center;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.language-switcher a.is-active {
    background: var(--ink);
    color: #fffdf8;
}

.whatsapp-link,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.74rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.whatsapp-link {
    background: var(--sage);
    border-color: var(--sage);
    color: #fff;
}

.logout-form {
    margin: 0;
}

.logout-form .whatsapp-link {
    width: auto;
}

.button:hover,
.whatsapp-link:hover {
    transform: translateY(-1px);
}

.button--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.button--light {
    background: var(--panel);
    color: var(--ink);
}

.button--whatsapp {
    gap: 0.55rem;
    background: #f8fffa;
    border-color: rgba(37, 211, 102, 0.45);
    color: #174f2d;
    box-shadow: 0 10px 26px rgba(23, 20, 17, 0.12);
}

.button--whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.button__icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
}

.button__icon svg {
    width: 100%;
    height: 100%;
}

.button--danger {
    background: #fff3f1;
    border-color: #e3b8b0;
    color: #8d2d22;
}

.button--full {
    width: 100%;
}

.hero {
    position: relative;
    min-height: clamp(520px, 73vh, 740px);
    display: grid;
    align-items: end;
    isolation: isolate;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(24, 18, 13, 0.72), rgba(24, 18, 13, 0.26) 52%, rgba(24, 18, 13, 0.08));
}

.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media--carousel img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 850ms ease;
}

.hero__media--carousel img.is-active {
    opacity: 1;
}

.hero-collage {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    padding: clamp(0.8rem, 2vw, 1.35rem);
    transform: scale(1.02);
}

.hero-collage__item {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(12, 10, 8, 0.22);
}

.hero-collage__item--1 {
    grid-column: 4 / 7;
    grid-row: 1 / 3;
}

.hero-collage__item--2 {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
}

.hero-collage__item--3 {
    grid-column: 5 / 7;
    grid-row: 3 / 5;
}

.hero-collage__item--4 {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

.hero-collage__item--5 {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.hero-collage__item--6 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.hero__content {
    width: min(680px, calc(100% - 2rem));
    margin: 0 0 clamp(2.5rem, 8vw, 6rem) clamp(1rem, 7vw, 7rem);
    color: #fff;
}

.hero__content h1,
.section-heading h1,
.section-heading h2,
.filter-form h2,
.product-info h1,
.upload-panel h2,
.live-preview h2,
.empty-state h2,
.empty-state h3,
.admin-product-row h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.04;
}

.hero__content h1 {
    max-width: 640px;
    font-size: clamp(3rem, 8vw, 6.5rem);
}

.hero__content p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.eyebrow {
    margin: 0 0 0.55rem;
    color: var(--clay);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0 clamp(1rem, 4vw, 4rem);
    transform: translateY(-1.4rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.trust-strip div {
    display: grid;
    gap: 0.25rem;
    padding: 1.25rem;
    background: var(--panel);
}

.trust-strip strong {
    font-size: 0.9rem;
}

.trust-strip span,
.muted,
.product-card__body .eyebrow,
.admin-product-row p,
.detail-group p,
.upload-panel p,
.upload-dropzone span,
.upload-dropzone small,
.category-tile small,
.filter-form__header span {
    color: var(--muted);
}

.upload-dropzone small {
    font-size: 0.82rem;
    line-height: 1.45;
}

.filter-band,
.collection-band,
.products-section,
.admin-shell,
.info-band {
    padding: clamp(1.2rem, 3vw, 2.5rem) clamp(1rem, 4vw, 4rem);
}

.filter-form,
.upload-panel,
.empty-state,
.notice,
.admin-product-row {
    background: rgba(255, 253, 248, 0.86);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(54, 42, 32, 0.07);
}

.filter-form {
    padding: clamp(1rem, 3vw, 1.5rem);
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: 1.25rem;
}

.filter-sidebar {
    position: sticky;
    top: 5.5rem;
    align-self: start;
}

.filter-sidebar .filter-form {
    padding: 1rem;
}

.filter-form__header,
.section-heading,
.form-actions,
.upload-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.filter-form__actions,
.section-actions,
.form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-form h2,
.section-heading h1,
.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.filter-sidebar .filter-form h2 {
    font-size: 1.45rem;
}

.filter-sidebar .filter-form__header,
.filter-sidebar .filter-form__actions {
    align-items: stretch;
    flex-direction: column;
}

.filter-sidebar .filter-form__actions {
    gap: 0.5rem;
}

.filter-sidebar .filter-form__actions .button,
.filter-sidebar .filter-form__actions a {
    width: 100%;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.filter-sidebar .filter-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1rem;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

legend,
label span,
.detail-group > span {
    display: block;
    margin-bottom: 0.55rem;
    color: #4c4138;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.choice-row,
.tag-row,
.tag-select-grid,
.upload-mode-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.choice-pill,
.select-tile,
.tag-row span,
.tag-row a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.52rem 0.75rem;
    background: #f7f1e9;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: #3b332d;
    font-size: 0.82rem;
    font-weight: 700;
}

.choice-pill--brand,
.select-tile--brand {
    min-height: 3.15rem;
}

.choice-pill--brand {
    justify-content: center;
    width: 8.75rem;
    padding: 0.55rem;
}

.filter-sidebar .choice-row {
    gap: 0.38rem;
}

.filter-sidebar .choice-pill {
    min-height: 2.1rem;
    padding: 0.42rem 0.58rem;
    font-size: 0.76rem;
}

.filter-sidebar .choice-pill--brand {
    width: 100%;
    justify-content: flex-start;
}

.choice-pill input,
.select-tile input {
    width: auto;
    min-height: auto;
    padding: 0;
    accent-color: var(--sage);
}

.choice-pill span,
.select-tile span {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
}

.brand-logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.35rem;
}

.brand-logo-row--detail {
    gap: 0.7rem;
}

.brand-logo,
.brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 4.75rem;
    height: 2.35rem;
    overflow: hidden;
    background: #fbf8f3;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.18rem;
}

.brand-logo--text {
    width: auto;
    min-width: 4.75rem;
    padding: 0 0.55rem;
    font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.72rem;
    line-height: 1;
    text-align: center;
}

.brand-logo--text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-link {
    gap: 0.55rem;
    min-height: 2.9rem;
    padding: 0.35rem 0.6rem 0.35rem 0.35rem;
    background: #f7f1e9;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-weight: 800;
}

.brand-scroller,
.category-scroller {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.brand-tile,
.category-tile {
    position: relative;
    display: grid;
    min-height: 8rem;
    align-content: end;
    gap: 0.35rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f7eee5, #fffdf8 58%, #eef0e8);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.category-tile--image {
    min-height: clamp(12rem, 21vw, 18rem);
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: #171411;
    border-color: rgba(255, 255, 255, 0.16);
}

.category-tile--image::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(0deg, rgba(23, 20, 17, 0.72), rgba(23, 20, 17, 0.08) 66%);
}

.category-tile--image img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.category-tile--image:hover img {
    transform: scale(1.04);
}

.category-tile--image small {
    color: rgba(255, 255, 255, 0.78);
}

.brand-tile {
    place-items: center;
    align-content: center;
    min-height: 7.25rem;
    background: var(--panel);
}

.brand-tile .brand-logo {
    width: min(9rem, 100%);
    height: 3.7rem;
}

.brand-tile small {
    color: var(--muted);
    font-weight: 800;
}

.category-tile span {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1.2rem);
    margin-top: 0;
}

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

.product-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(54, 42, 32, 0.07);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: #d6c8b7;
    box-shadow: 0 18px 42px rgba(54, 42, 32, 0.12);
}

.product-card__media {
    position: relative;
}

.product-card__image {
    display: block;
    aspect-ratio: var(--image-aspect, 4 / 5);
    background: #f3ede5;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-whatsapp-link {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 2;
    display: inline-grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    color: #1daa57;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 211, 102, 0.34);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(23, 20, 17, 0.18);
    backdrop-filter: blur(10px);
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}

.image-whatsapp-link:hover {
    transform: translateY(-1px);
    color: #fff;
    background: #25d366;
    box-shadow: 0 14px 28px rgba(23, 20, 17, 0.22);
}

.image-whatsapp-link svg {
    width: 1.28rem;
    height: 1.28rem;
}

.image-whatsapp-link--detail {
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
}

.product-card__body {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem;
}

.product-card h3 {
    min-height: 2.6rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.empty-state {
    display: grid;
    gap: 0.7rem;
    justify-items: start;
    padding: 2rem;
}

.info-band {
    display: grid;
    gap: 1rem;
    max-width: 1180px;
    margin: 0 auto;
}

.info-band > p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.info-band--split {
    grid-template-columns: minmax(220px, 0.45fr) 1fr;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-list details {
    padding: 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-list p {
    margin: 0.75rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(1.5rem, 4vw, 4rem);
}

.product-gallery__main {
    position: relative;
    aspect-ratio: var(--image-aspect, 4 / 5);
    overflow: hidden;
    background: #ede5dc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    padding: 0;
    background: rgba(255, 253, 248, 0.88);
    border: 1px solid rgba(229, 221, 211, 0.82);
    border-radius: 50%;
    color: var(--ink);
    box-shadow: 0 12px 26px rgba(23, 20, 17, 0.18);
    transform: translateY(-50%);
}

.gallery-nav:hover {
    background: #fffdf8;
}

.gallery-nav span {
    display: block;
    margin-top: -0.16rem;
    font-size: 2rem;
    line-height: 1;
}

.gallery-nav--prev {
    left: 0.85rem;
}

.gallery-nav--next {
    right: 0.85rem;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.8rem;
}

.gallery-thumb {
    aspect-ratio: var(--image-aspect, 1 / 1);
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.gallery-thumb.is-active {
    border-color: var(--ink);
    box-shadow: 0 0 0 2px rgba(23, 20, 17, 0.12);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    display: grid;
    align-content: start;
    gap: 1.25rem;
}

.product-info h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.detail-group {
    display: grid;
    gap: 0.6rem;
}

.detail-actions,
.promise-grid {
    display: grid;
    gap: 0.75rem;
}

.promise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.promise-grid div {
    display: grid;
    gap: 0.2rem;
}

.promise-grid span {
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-shell {
    max-width: 1220px;
    margin: 0 auto;
    width: 100%;
}

.auth-shell {
    display: grid;
    min-height: calc(100vh - 9rem);
    place-items: center;
    padding: clamp(1.5rem, 4vw, 4rem);
}

.auth-card {
    display: grid;
    width: min(100%, 440px);
    gap: 1rem;
    padding: clamp(1.2rem, 4vw, 2rem);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
}

.notice {
    margin: 1rem 0;
    padding: 1rem;
    color: #284029;
    background: #eef4ea;
}

.notice--error {
    color: #6b2630;
    background: #fff1f1;
}

.notice ul {
    margin: 0.6rem 0 0;
    padding-left: 1.2rem;
}

.stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.stepper__item {
    min-height: 3rem;
    padding: 0.8rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

.stepper__item.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.upload-step {
    display: none;
}

.upload-step.is-active {
    display: block;
}

.upload-panel {
    display: grid;
    gap: 1.35rem;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.upload-panel--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upload-panel--preview {
    padding: clamp(1rem, 4vw, 2rem);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: end;
    gap: 0.9rem;
}

label {
    min-width: 0;
}

input,
select,
textarea {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.76rem 0.85rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
}

textarea {
    resize: vertical;
}

.upload-dropzone {
    display: grid;
    min-height: 13rem;
    place-items: center;
    align-content: center;
    gap: 0.45rem;
    padding: 1.2rem;
    background: #fbf5ee;
    border: 1px dashed #b9a58c;
    border-radius: 8px;
    text-align: center;
}

.upload-dropzone input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.upload-dropzone.is-dragging {
    background: #eff2ea;
    border-color: var(--sage);
}

.upload-preview-header button {
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--clay);
    font-weight: 800;
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 0.75rem;
}

.upload-preview-card {
    position: relative;
    overflow: hidden;
    background: #ede5dc;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.upload-preview-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.upload-preview-remove {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    padding: 0;
    background: rgba(23, 20, 17, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(23, 20, 17, 0.22);
}

.upload-preview-remove:hover {
    background: #8d2d22;
}

.tag-select-grid {
    margin: 1rem 0;
}

.select-tile {
    cursor: pointer;
    min-width: 0;
    text-align: left;
}

.upload-mode-grid .select-tile {
    flex: 1 1 240px;
    min-height: 3rem;
}

.full-span {
    grid-column: 1 / -1;
}

.live-preview {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) 1fr;
    gap: 1.4rem;
    align-items: start;
}

.live-preview__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ede5dc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.live-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-preview__content {
    display: grid;
    gap: 1rem;
}

.form-actions {
    justify-content: flex-end;
}

.form-actions--sticky {
    margin-top: 1rem;
}

.upload-flow[data-current-step="1"] [data-step-prev],
.upload-flow[data-current-step="3"] > .form-actions--sticky {
    display: none;
}

.admin-product-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.admin-product-row {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr) minmax(220px, auto);
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
}

.admin-product-row__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ede5dc;
    border-radius: 6px;
}

.admin-product-row__content {
    display: grid;
    align-content: center;
    min-width: 0;
    gap: 0.5rem;
}

.admin-product-row__content h2 {
    overflow: hidden;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    text-overflow: ellipsis;
}

.admin-product-row__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #eef4ea;
    color: #284029;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status-pill--draft {
    background: #fff3f1;
    color: #8d2d22;
}

.admin-product-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-row-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: center;
    gap: 0.5rem;
    min-width: 220px;
}

.admin-row-actions form {
    margin: 0;
}

.admin-row-actions .button {
    width: 100%;
    min-width: 0;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.helper-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--clay);
    font-weight: 800;
}

.no-panel-shell,
.brand-create-form,
.brand-admin-grid,
.existing-image-grid {
    display: grid;
    gap: 1rem;
}

.no-panel-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-create-form {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
    align-items: end;
    margin: 1.2rem 0;
    padding: 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.brand-create-form .button {
    min-height: 2.85rem;
}

.brand-admin-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.brand-admin-card,
.existing-image-card {
    display: grid;
    gap: 0.8rem;
    align-content: start;
    padding: 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.brand-admin-card > .brand-logo {
    width: 100%;
    height: 4.5rem;
}

.brand-admin-card form {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.brand-admin-card .form-actions {
    justify-content: stretch;
}

.brand-admin-card .form-actions .button {
    width: 100%;
}

.existing-image-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.existing-image-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
}

.existing-image-card label,
.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.75rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.existing-image-card input,
.inline-check input {
    width: auto;
    min-height: auto;
}

.site-footer {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 4rem);
    background: #171411;
    color: #fffdf8;
}

.site-footer h2 {
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.site-footer p {
    margin: 0 0 0.35rem;
    color: rgba(255, 253, 248, 0.72);
    font-size: 0.84rem;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .site-header {
        align-items: center;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .trust-strip,
    .filter-grid,
    .field-grid,
    .product-grid,
    .product-grid--compact,
    .product-detail,
    .upload-panel--split,
    .no-panel-shell,
    .brand-create-form,
    .live-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }

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

    .product-detail,
    .live-preview {
        grid-template-columns: 1fr;
    }

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

    .admin-product-row {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .admin-row-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }
}

@media (max-width: 680px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        padding: 0.8rem 1rem;
    }

    .brand-mark {
        min-width: 0;
    }

    .brand-mark span {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.35rem;
    }

    .brand-mark strong {
        overflow: hidden;
        font-size: 1.2rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-toggle {
        display: inline-grid;
    }

    .main-nav {
        grid-column: 1 / -1;
        display: grid;
        width: 100%;
        max-height: 0;
        gap: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 200ms ease, opacity 160ms ease, padding 160ms ease;
    }

    .main-nav.is-open {
        max-height: 34rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--line);
        opacity: 1;
    }

    .main-nav a {
        min-height: 2.8rem;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(229, 221, 211, 0.72);
    }

    .language-switcher {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .logout-form {
        grid-column: 1 / -1;
        width: 100%;
    }

    .whatsapp-link {
        width: 100%;
    }

    .hero {
        min-height: 560px;
    }

    .hero__media::after {
        background: linear-gradient(0deg, rgba(24, 18, 13, 0.82), rgba(24, 18, 13, 0.18));
    }

    .hero-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
        padding: 0.6rem;
        opacity: 0.9;
    }

    .hero-collage__item--1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .hero-collage__item--2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .hero-collage__item--3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .hero-collage__item--4 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .hero-collage__item--5 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .hero-collage__item--6 {
        display: none;
    }

    .hero__content {
        margin: 0 auto 2rem;
    }

    .hero__content h1 {
        font-size: 3rem;
    }

    .hero__actions .button,
    .detail-actions .button,
    .filter-form__actions .button,
    .filter-form__actions a {
        width: 100%;
    }

    .button,
    .whatsapp-link {
        line-height: 1.2;
        white-space: normal;
    }

    .hero__actions,
    .filter-form__header,
    .section-heading,
    .form-actions,
    .upload-preview-header {
        align-items: stretch;
        flex-direction: column;
    }

    .trust-strip,
    .filter-grid,
    .field-grid,
    .product-grid,
    .product-grid--compact,
    .upload-panel--split,
    .no-panel-shell,
    .brand-create-form,
    .stepper,
    .promise-grid,
    .admin-product-row,
    .info-band--split,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .filter-sidebar .filter-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin: 0 1rem;
        transform: translateY(-0.8rem);
    }

    .trust-strip div {
        padding: 1rem;
    }

    .filter-band,
    .collection-band,
    .products-section,
    .admin-shell,
    .info-band,
    .product-detail {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .category-scroller--featured {
        grid-template-columns: 1fr;
    }

    .category-tile--image {
        min-height: 12rem;
    }

    .choice-row {
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.38rem;
        margin: 0 -0.15rem;
        padding: 0.05rem 0.15rem 0.4rem;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .choice-row .choice-pill {
        flex: 0 0 auto;
        min-height: 2.15rem;
        padding: 0.42rem 0.58rem;
        font-size: 0.76rem;
    }

    .choice-row .choice-pill--brand {
        width: 5.6rem;
        min-height: 2.45rem;
        padding: 0.35rem;
    }

    .choice-row .brand-logo {
        width: 3.8rem;
        height: 1.9rem;
        font-size: 0.76rem;
    }

    .choice-row .brand-logo--text {
        width: auto;
        max-width: 5rem;
        min-width: 3.8rem;
    }

    .product-info h1 {
        font-size: 2.6rem;
    }

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

    .admin-product-row {
        gap: 0.85rem;
    }

    .admin-product-row__image {
        width: 100%;
    }

    .admin-row-actions {
        grid-template-columns: 1fr;
    }

    .brand-admin-grid,
    .existing-image-grid {
        grid-template-columns: 1fr;
    }

    .upload-panel,
    .filter-form,
    .empty-state,
    .notice,
    .admin-product-row {
        box-shadow: 0 8px 24px rgba(54, 42, 32, 0.08);
    }
}
