:root {
    font-family: "Nunito Sans", "Avenir Next", sans-serif;
    color: #292b2a;
    background: #fbfaf7;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --bs-primary: #12b8bd;
    --bs-primary-rgb: 18, 184, 189;
    --bs-secondary: #ff8a3d;
    --bs-body-color: #1d2a2a;
    --bs-body-bg: #fffdf9;
    --bs-border-color: #e9efe8;
    --ink: #39353c;
    --muted: #79747c;
    --paper: #ffffff;
    --canvas: #fffefa;
    --line: #eee8e8;
    --green: #11b8c4;
    --green-dark: #078f9b;
    --coral: #f3247b;
    --coral-pale: #fff0f6;
    --orange: #ff6b00;
    --store-ink: #202a29;
    --store-muted: #747b77;
    --store-paper: #fbfaf7;
    --store-aqua: #bdece9;
    --store-pink: #f4b1bd;
    --store-lime: #d9eb87;
    --store-line: #ebefe7;
    --store-shadow: rgba(24, 41, 38, 0.1);
    --z-header: 1030;
    --z-mobile-nav: 1035;
    --z-dropdown: 1040;
    --z-modal: 1080;
    --z-skip-link: 1090;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top, rgba(18, 184, 189, 0.09), transparent 28%),
        linear-gradient(180deg, #fbfaf7 0%, #f4f0ea 100%);
    color: var(--store-ink);
    font-family: "Nunito Sans", "Avenir Next", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(18, 184, 189, 0.18); }
:focus-visible {
    outline: 3px solid rgba(18, 184, 189, 0.75);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 30;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #123d3e;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.announcement-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem max(1.25rem, calc((100% - 1280px) / 2));
    background: linear-gradient(315deg, #12B8BD 0%, #0A6370 100%);
    color: #f6faf7;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.announcement-bar span:last-child { color: rgba(255, 255, 255, 0.74); }

.store-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--store-line);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(23, 32, 31, 0.04);
}
.store-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: 0.9rem 0;
}
.store-wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: #123d3e;
    text-decoration: none;
    line-height: 1;
}
.store-wordmark .wordmark-main {
    display: inline-flex;
    align-items: baseline;
    gap: 0.05rem;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}
.store-wordmark .wordmark-teal { color: #12b8bd; }
.store-wordmark .wordmark-orange { color: #ff8a3d; }
.store-wordmark i {
    color: #f3247b;
    font-style: normal;
    margin-left: 0.2rem;
}
.store-wordmark small {
    margin-top: 0.2rem;
    color: #64716f;
    font-size: 0.57rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.store-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    min-width: 0;
}
.store-nav-link,
.nav-dropdown-toggle,
.nav-dropdown summary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.6rem;
    padding: 0.35rem 0.45rem;
    border: 0;
    background: transparent;
    color: #2f3f3e;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    cursor: pointer;
}
.store-nav-link:hover,
.store-nav-link:focus,
.store-nav-link.is-active,
.nav-dropdown summary:hover,
.nav-dropdown summary:focus {
    color: #0d8f96;
}
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    padding-left: 0.1rem;
    color: #4f5f5d;
}
.nav-chevron {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
}
.nav-dropdown-toggle[aria-expanded="true"] .nav-chevron {
    transform: rotate(225deg) translateY(-2px);
}
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: -1rem;
    z-index: 20;
    min-width: 15rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--store-line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 40px rgba(18, 61, 62, 0.12);
}
.dropdown-tree {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dropdown-tree a {
    display: block;
    padding: 0.45rem 0.3rem;
    color: #3e504e;
    font-size: 0.8rem;
    text-decoration: none;
}
.dropdown-tree a:hover,
.dropdown-tree a:focus-visible {
    color: #f3247b;
}
.dropdown-tree .dropdown-tree {
    margin-top: 0.5rem;
    padding-left: 0.8rem;
    border-left: 1px solid rgba(18, 184, 189, 0.2);
}

.btn,
.btn-primary,
.btn-outline-primary,
.header-cta,
.hero-cta {
    background: linear-gradient(315deg, #12B8BD 0%, #0A6370 100%);
    border: 1px solid #0d8d94;
    border-radius: 999px;
    color: #fff;
    box-shadow: none;
}

.btn:hover,
.btn:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.header-cta:hover,
.header-cta:focus-visible,
.hero-cta:hover,
.hero-cta:focus-visible {
    background: linear-gradient(135deg, #0a7d89 0%, #095d6d 100%);
    border-color: #0a7d89;
    color: #fff;
    text-decoration: none;
    filter: none;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(315deg, #12B8BD 0%, #0A6370 100%);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none;
}
.header-cta:hover,
.header-cta:focus-visible {
    background: linear-gradient(135deg, #0a7d89 0%, #095d6d 100%);
    color: #fff;
    text-decoration: none;
}
.header-cta span {
    display: none;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    background: transparent;
    color: #123d3e;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

#main-content {
    position: relative;
    z-index: 1;
}

.hero-slider {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 0;
    overflow: hidden;
    height: clamp(26rem, 35vw, 32rem);
    min-height: 26rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 0;
    border-radius: 2rem;
    background: linear-gradient(135deg, #123032 0%, #183d40 100%);
    box-shadow: 0 14px 28px rgba(18, 61, 62, 0.08);
}
.hero-intro {
    display: flex;
    align-items: center;
    padding: clamp(1.6rem, 3vw, 2.8rem);
    background: linear-gradient(315deg, #12B8BD 0%, #0A6370 100%);
    color: white;
}
.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.hero-photo-strip {
    display: none;
}
.hero-visual {
    position: relative;
    min-height: 28rem;
    background: rgba(255, 255, 255, 0.04);
}
.hero-slides {
    position: relative;
    height: 100%;
}
.hero-slide {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    align-items: stretch;
    background: white;
}
.hero-slide[hidden] { display: none; }
.hero-eyebrow,
.store-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1rem;
    color: #12b8bd;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.hero-eyebrow span {
    display: inline-block;
    width: 1.5rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
}
.hero-intro h1 {
    color: #fff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1;
    margin-bottom: 1rem;
}
.hero-intro > p:not(.hero-eyebrow) {
    max-width: 28rem;
    margin: 1.2rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: fit-content;
    min-height: 3rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(315deg, #12B8BD 0%, #0A6370 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease;
    text-transform: uppercase;
}
.hero-cta:hover,
.hero-cta:focus-visible {
    color: white;
    text-decoration: none;
    transform: none;
    filter: none;
}
.hero-cta span { display: none; }
.hero-product-image {
    position: relative;
    min-height: 18rem;
    overflow: hidden;
    background: linear-gradient(135deg, #edf5f2, #ebf0ef);
}
.hero-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 1.5rem 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
}
.hero-content .hero-eyebrow {
    margin: 0;
    color: #0f8c94;
}
.hero-content .hero-eyebrow span { display: none; }
.hero-content h2 {
    margin: 0;
    color: #1f2f2d;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.1;
}
.hero-product-price {
    margin: 0;
    color: #123d3e;
    font-size: 1rem;
    font-weight: 800;
}
.hero-index {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #123d3e;
    font-size: 0.72rem;
    font-weight: 800;
}
.hero-index i { color: #ff8a3d; font-style: normal; }
.hero-controls {
    position: absolute;
    right: 1.5rem;
    bottom: 1.1rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}
.hero-arrow {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #123d3e;
    font-size: 1.2rem;
}
.hero-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.hero-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    transition: width 0.2s ease, background 0.2s ease;
}
.hero-dot.is-active {
    width: 1.7rem;
    background: #12b8bd;
}

.value-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
    width: 100vw;
    margin: 0.9rem calc(50% - 50vw) 0.9rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--store-line);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 28px rgba(18, 61, 62, 0.08);
}
@media (max-width: 700px) {
    .value-strip {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
.value-strip p {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    color: #37575b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.value-strip p span {
    color: #0b9198;
    font-size: 0.7rem;
}
.value-strip > i {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #f3247b;
}

.store-section {
    width: min(100% - 3rem, 1200px);
    margin: 0 auto;
    padding: 2rem 0;
}
.collections-section {
    padding-bottom: 2.25rem;
}
.products-section {
    padding-top: 2.25rem;
}
.section-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
}
.section-intro-compact {
    margin-top: 2rem;
}
.section-intro h2,
.story-band h2,
.catalog-heading h1,
.product-information h1 {
    margin-bottom: 1rem;
    color: #1f2f2d;
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
}
.detail-cta {
    margin-top: 1.25rem;
}
.section-intro h2 { font-size: clamp(2rem, 3vw, 3rem); }
.section-intro > p {
    color: var(--store-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.section-note {
    color: #5f6c69;
    font-size: 0.8rem;
    font-weight: 700;
}

.collection-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.collection-tile {
    position: relative;
    display: flex;
    min-height: 14rem;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 1.2rem;
    border-radius: 1.4rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.collection-tile:hover,
.collection-tile:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(15, 38, 38, 0.12);
    text-decoration: none;
}
.collection-tile-0 { background: linear-gradient(45deg, #42D3BB 0%, #BDECE9 100%); }
.collection-tile-1 { background: linear-gradient(45deg, #CC5689 0%, #f3d5df 100%); }
.collection-tile-2 { background: linear-gradient(45deg, #BADD34 0%, #E4F3A7 100%); }
.collection-tile-3 { background: linear-gradient(45deg, #E09932 0%, #F4D8B0 100%); }
.collection-tile-cover {
    inset: 0;
    border-radius: 1.4rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.collection-number,
.collection-name,
.collection-description,
.collection-arrow {
    position: relative;
    z-index: 1;
}
.collection-number {
    color: rgba(18, 61, 62, 0.7);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.collection-name {
    margin-top: 0.5rem;
    color: #102c2f;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1.05;
}
.collection-description {
    margin-top: 0.4rem;
    color: rgba(22, 45, 44, 0.74);
    font-size: 0.78rem;
    line-height: 1.5;
}
.collection-arrow {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(18, 61, 62, 0.4);
    border-radius: 50%;
    color: #123d3e;
    font-size: 1rem;
}
.collection-tile.has-cover .collection-number,
.collection-tile.has-cover .collection-name,
.collection-tile.has-cover .collection-description,
.collection-tile.has-cover .collection-arrow {
    color: white;
}
.collection-tile.has-cover .collection-arrow {
    border-color: rgba(255, 255, 255, 0.6);
}

.product-card {
    border: 1px solid rgba(18, 61, 62, 0.06);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 32px rgba(20, 29, 29, 0.05);
}
.product-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid rgba(18, 61, 62, 0.04);
    background: linear-gradient(135deg, #edf5f2, #f5efe9);
}
.product-card-image img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card-image img,
.product-card:focus-within .product-card-image img {
    transform: scale(1.03);
}
.product-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 18rem;
    color: #0d8f96;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 3rem;
}
.product-made-label {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #123d3e;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.product-card-arrow {
    position: absolute;
    right: 0.9rem;
    bottom: 0.9rem;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #123d3e;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.product-card:hover .product-card-arrow,
.product-card:focus-within .product-card-arrow {
    opacity: 1;
    transform: translateY(0);
}
.product-card-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.5rem 0.8rem;
    padding: 1rem 1rem 1.1rem;
}
.product-category-label {
    grid-column: 1 / -1;
    color: #0d8f96;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}
.product-card-copy h3 {
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}
.product-card-copy h3 a {
    color: #1f2f2d;
    text-decoration: none;
}
.product-card-copy h3 a:hover,
.product-card-copy h3 a:focus-visible {
    color: #f3247b;
}
.product-price {
    color: #1d2a2a;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}
.store-empty {
    margin: 0;
    padding: 1.2rem 1.3rem;
    border-left: 3px solid #f3247b;
    border-radius: 0.9rem;
    background: rgba(255, 240, 246, 0.7);
    color: #385253;
    font-size: 0.95rem;
    line-height: 1.7;
}

.story-band {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1.2fr) minmax(0, 0.8fr) 2.5rem;
    align-items: center;
    gap: 1.4rem;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 2.5rem max(1.2rem, calc((100vw - 1200px) / 2));
    background: linear-gradient(315deg, #12B8BD 0%, #0A6370 100%);
    border-top: 1px solid rgba(18, 61, 62, 0.12);
    border-bottom: 1px solid rgba(18, 61, 62, 0.12);
    color: #ffffff;
}
@media (max-width: 700px) {
    .story-band {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
.story-mark {
    display: grid;
    place-items: center;
    width: 4.2rem;
    height: 4.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #0d8d94;
    background: rgba(255, 255, 255, 0.9);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.9rem;
}
.story-band .store-eyebrow {
    color: rgba(255, 255, 255, 0.82);
}
.story-band .store-eyebrow span {
    background: rgba(255, 255, 255, 0.7);
}
.story-band h2 {
    color: #ffffff;
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
}
.story-band > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    line-height: 1.7;
}
.story-band > a {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.3rem;
    text-decoration: none;
}

.store-footer {
    border-top: 1px solid var(--store-line);
    background: rgba(255, 255, 255, 0.76);
}
.store-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width: min(100% - 2rem, 1200px);
    margin: 0 auto;
    padding: 2.2rem 0 2.8rem;
}
.store-footer-column {
    display: grid;
    align-content: start;
    gap: 0.9rem;
}
.store-footer-title {
    margin: 0;
    color: #123d3e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.store-footer-note {
    margin: 0;
    color: #4d5d5b;
    font-size: 0.85rem;
    line-height: 1.7;
}
.store-footer-links {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.store-footer-links a {
    color: #425756;
    font-size: 0.82rem;
    text-decoration: none;
}
.store-footer-links a:hover,
.store-footer-links a:focus-visible {
    color: #0d8f96;
}

.catalog-page,
.product-page {
    width: min(100% - 2rem, 1200px);
    margin: 0 auto;
    padding: 2rem 0 5rem;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
    color: #707d7a;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.breadcrumbs a {
    color: #0d8f96;
    text-decoration: none;
}
.catalog-hero,
.catalog-product-zone,
.subcategory-panel,
.product-gallery-stage,
.product-information {
    border-radius: 1.5rem;
}
.catalog-hero {
    position: relative;
    overflow: hidden;
    height: clamp(13rem, 19vw, 13rem);
    min-height: 13rem;
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 40px rgba(18, 61, 62, 0.06);
}
.catalog-hero-cover {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 13rem;
    object-fit: cover;
}
.catalog-hero-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 1.5rem clamp(1.2rem, 3vw, 2rem);
    background: linear-gradient(180deg, rgba(17, 31, 33, 0.08), rgba(17, 31, 33, 0.76));
    color: white;
}
.catalog-hero-overlay h1 {
    margin: 0;
    color: #fff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1;
}
.catalog-hero-overlay p {
    max-width: 40rem;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.7;
}
.catalog-hero-overlay .store-eyebrow {
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.82);
}
.catalog-hero-overlay .store-eyebrow span {
    background: rgba(255, 255, 255, 0.72);
}
.product-gallery-stage {
    position: relative;
    overflow: hidden;
    height: clamp(24rem, 35vw, 32rem);
    min-height: 24rem;
    border: 1px solid rgba(18, 61, 62, 0.08);
    background: linear-gradient(135deg, #fbfbf9, #eef3ef);
    box-shadow: 0 18px 36px rgba(18, 61, 62, 0.08);
}
.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
    gap: 0.6rem;
}
.product-gallery-thumb {
    border: 2px solid rgba(18, 61, 62, 0.12);
    border-radius: 0.8rem;
    overflow: hidden;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-gallery-thumb.is-active {
    border-color: rgba(18, 61, 62, 0.22);
    box-shadow: inset 0 0 0 1px rgba(18, 61, 62, 0.08);
}
.product-gallery-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.gallery-main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
.gallery-main-image {
    display: block;
    object-fit: contain;
    object-position: center;
}
.gallery-arrow,
.gallery-modal-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(18, 61, 62, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #123d3e;
    cursor: pointer;
}
.gallery-arrow-prev { left: 1rem; }
.gallery-arrow-next { right: 1rem; }
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(10, 19, 20, 0.72);
}
.gallery-modal[hidden] { display: none; }
.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
}
.gallery-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 62rem);
    padding: 3rem 3rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.5rem;
    background: rgba(14, 29, 30, 0.88);
}
.gallery-modal-image {
    display: block;
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
}
.gallery-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: transparent;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
}
.subcategory-cover-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 18rem;
    overflow: hidden;
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 32px rgba(20, 29, 29, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.subcategory-cover-card:hover,
.subcategory-cover-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(15, 38, 38, 0.12);
    text-decoration: none;
}
.subcategory-cover-card img,
.subcategory-cover-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.subcategory-cover-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 18, 19, 0.16), rgba(8, 18, 19, 0.74));
    content: "";
}
.subcategory-cover-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--store-aqua), #f4e6ef);
    color: #123d3e;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 3rem;
}
.subcategory-cover-label {
    position: relative;
    z-index: 1;
    padding: 1.1rem 1rem 0.2rem;
    color: #fff;
    font-weight: 800;
}
.subcategory-cover-footer {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 1rem 1rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-modal-caption,
.gallery-modal-count {
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
    text-align: center;
}
.gallery-modal-count {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .collection-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .story-band {
        grid-template-columns: 3.5rem minmax(0, 1fr) 2.2rem;
    }
    .story-band > p { grid-column: 2 / -1; }
}

@media (max-width: 700px) {
    .announcement-bar { justify-content: center; }
    .announcement-bar span:last-child { display: none; }
    .collections-section .section-intro > p {
        white-space: normal;
    }
    .menu-toggle { display: inline-flex; }
    .store-header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
    .store-section,
    .catalog-page,
    .product-page {
        width: min(100% - 1rem, 1200px);
    }
    .store-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 0.75rem 1rem 1rem;
        border-bottom: 1px solid var(--store-line);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 14px 28px rgba(10, 17, 18, 0.08);
    }
    .store-header.is-open .store-nav {
        display: flex;
    }
    .nav-dropdown-panel {
        position: static;
        left: auto;
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.7rem 0.8rem;
        border-radius: 0.85rem;
        box-shadow: none;
    }
    .header-cta { display: none; }
    .hero-slider {
        grid-template-columns: 1fr;
    }
    .hero-intro {
        padding: 1.5rem 1.4rem 1.25rem;
    }
    .hero-visual {
        min-height: 23rem;
    }
    .hero-slide {
        grid-template-columns: 1fr;
    }
    .hero-intro h1 { max-width: none; }
    .hero-content {
        padding: 1rem 1.1rem 1.15rem;
    }
    .section-intro {
        flex-direction: column;
        align-items: flex-start;
    }
    .collection-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    .story-band {
        grid-template-columns: 3rem minmax(0, 1fr) 2.2rem;
        gap: 0.8rem 1rem;
        padding: 1.6rem 1rem;
    }
    .story-band > p {
        grid-column: 2 / -1;
    }
    .store-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .catalog-page,
    .product-page {
        width: min(100% - 1rem, 1200px);
    }
}

@media (max-width: 450px) {
    .store-footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-slider {
        border-radius: 1.3rem;
    }
    .hero-content h2 {
        font-size: 1.6rem;
    }
    .story-band {
        grid-template-columns: 2.6rem minmax(0, 1fr) 2rem;
    }
}

html.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
html.reveal-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.admin-shell {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(180deg, #f8f5f1 0%, #f3f0ea 100%);
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    width: min(18rem, 28vw);
    min-width: 16rem;
    padding: 1.5rem 1.1rem 1.2rem;
    background: linear-gradient(180deg, #123d3e 0%, #0f2d30 100%);
    color: #edf8f8;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

.brand-wordmark,
.sidebar-brand,
.login-brand-panel .brand-wordmark,
.brand-wordmark-mobile {
    display: inline-flex;
    align-items: baseline;
    gap: 0.05rem;
    color: #ffffff;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
}

.brand-wordmark span,
.sidebar-brand span,
.login-brand-panel .brand-wordmark span,
.brand-wordmark-mobile span {
    color: #ff8a3d;
}

.sidebar-brand {
    margin-bottom: 0.3rem;
    padding: 0.4rem 0.6rem;
}

.sidebar-caption {
    margin: 0 0 1.2rem;
    padding: 0 0.7rem;
    color: rgba(237, 248, 248, 0.65);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.25rem 0.2rem;
}

.admin-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 2.85rem;
    padding: 0.75rem 0.8rem;
    border-radius: 0.95rem;
    color: rgba(237, 248, 248, 0.8);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    transform: translateX(2px);
}

.admin-nav .nav-link.is-current {
    background: linear-gradient(135deg, rgba(18, 184, 189, 0.22), rgba(255, 138, 61, 0.18));
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sidebar-bottom {
    display: grid;
    gap: 0.8rem;
    margin-top: auto;
    padding: 1rem 0.7rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(237, 248, 248, 0.75);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-status span {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #77e5bf;
    box-shadow: 0 0 0 0.2rem rgba(119, 229, 191, 0.18);
}

.sidebar-logout,
.topbar-logout {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

.sidebar-logout:hover,
.sidebar-logout:focus-visible,
.topbar-logout:hover,
.topbar-logout:focus-visible {
    color: #ffffff;
    text-decoration: none;
}

.admin-main {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.18);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.6rem;
    border-bottom: 1px solid rgba(18, 61, 62, 0.08);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.admin-topbar-label {
    color: #0d8d94;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.admin-topbar-account {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #274141;
    font-size: 0.8rem;
}

.admin-identity {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 184, 189, 0.08);
    color: #17383a;
    font-weight: 800;
}

.admin-content {
    flex: 1;
    width: 100%;
    padding: 2rem clamp(1rem, 2vw, 2rem) 3rem;
}

.flash-message {
    margin: 0 0 1rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    padding: 0.8rem 0.95rem;
    font-size: 0.9rem;
}

.flash-success {
    background: rgba(119, 229, 191, 0.12);
    border-color: rgba(17, 184, 151, 0.18);
    color: #1b5f5a;
}

.flash-error {
    background: rgba(243, 36, 123, 0.08);
    border-color: rgba(243, 36, 123, 0.2);
    color: #7f214b;
}

.flash-info {
    background: rgba(18, 184, 189, 0.08);
    border-color: rgba(18, 184, 189, 0.2);
    color: #1d4d57;
}

.page-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.page-heading-compact {
    margin-bottom: 1.1rem;
}

.eyebrow,
.store-eyebrow {
    margin: 0 0 0.7rem;
    color: #0d8d94;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-heading h1,
.section-heading h2,
.empty-state h2,
.empty-state h3,
.editor-section h2,
.login-brand-panel h1,
.login-main h2 {
    margin: 0;
    color: #1f2f2d;
    font-family: "DM Serif Display", Georgia, serif;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.page-heading h1 {
    font-size: clamp(2.15rem, 3vw, 2.9rem);
}

.muted-copy {
    margin: 0.45rem 0 0;
    color: #5b6f6b;
    font-size: 0.96rem;
    line-height: 1.6;
}

.btn,
.button,
.admin-form button[type="submit"],
.admin-form .btn,
.form-actions .button,
.form-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.8rem;
    padding: 0.7rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(315deg, #12B8BD 0%, #0A6370 100%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover,
.btn:focus-visible,
.button:hover,
.button:focus-visible,
.admin-form button[type="submit"]:hover,
.admin-form button[type="submit"]:focus-visible,
.form-actions .button:hover,
.form-actions .button:focus-visible {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(13, 141, 148, 0.22);
}

.button-secondary {
    background: rgba(18, 61, 62, 0.04);
    border-color: rgba(18, 61, 62, 0.12);
    color: #1d2a2a;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(18, 61, 62, 0.08);
    color: #1d2a2a;
    box-shadow: none;
}

.text-link {
    color: #0d8d94;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    color: #0b787f;
    text-decoration: none;
}

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

.stat-panel {
    display: grid;
    gap: 0.7rem;
    padding: 1.2rem 1.1rem;
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 28px rgba(18, 61, 62, 0.04);
}

.stat-panel span,
.stat-panel small {
    color: #536564;
    font-size: 0.78rem;
    font-weight: 700;
}

.stat-panel strong {
    color: #1d2a2a;
    font-size: clamp(1.9rem, 2.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
}

.stat-panel a {
    color: #0d8d94;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.content-section,
.editor-section,
.category-manager,
.empty-state {
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 26px rgba(18, 61, 62, 0.04);
}

.content-section {
    padding: 1.2rem 1.1rem;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.section-heading p {
    margin: 0.45rem 0 0;
    color: #5f6d6b;
    font-size: 0.82rem;
    line-height: 1.5;
}

.section-mark {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(243, 36, 123, 0.08);
    color: #a32c67;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-table-wrap {
    overflow-x: auto;
    border-radius: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.data-table th,
.data-table td {
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid rgba(18, 61, 62, 0.08);
    color: #314341;
    text-align: left;
    vertical-align: middle;
}

.data-table thead th {
    color: #536564;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.table-primary {
    display: block;
    color: #1f2f2d;
    font-weight: 800;
}

.data-table small {
    color: #607370;
    font-size: 0.74rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-active {
    background: rgba(17, 184, 151, 0.12);
    color: #156a61;
}

.status-draft {
    background: rgba(255, 138, 61, 0.12);
    color: #a05218;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.product-thumb {
    width: 3rem;
    height: 3rem;
    border-radius: 0.8rem;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(18, 184, 189, 0.14), rgba(255, 138, 61, 0.12));
}

.product-thumb-empty {
    display: grid;
    place-items: center;
    color: #0d8d94;
    font-size: 0.8rem;
    font-weight: 900;
    background: rgba(18, 184, 189, 0.1);
}

.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.1rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 184, 189, 0.08);
    color: #0d8d94;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
}

.table-action:hover,
.table-action:focus-visible {
    background: rgba(18, 184, 189, 0.12);
    color: #0d8d94;
    text-decoration: none;
}

.table-action-danger {
    background: rgba(243, 36, 123, 0.08);
    color: #a32767;
}

.table-action-danger:hover,
.table-action-danger:focus-visible {
    background: rgba(243, 36, 123, 0.12);
    color: #a32767;
}

.switch-toggle {
    position: relative;
    display: inline-flex;
    width: 2.85rem;
    height: 1.5rem;
    cursor: pointer;
}

.switch-toggle input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.switch-slider {
    position: relative;
    width: 100%;
    border-radius: 999px;
    background: rgba(18, 61, 62, 0.2);
    transition: background 0.2s ease;
}

.switch-slider::before {
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(24, 41, 38, 0.18);
    content: "";
    transition: transform 0.2s ease;
}

.switch-toggle input:checked + .switch-slider {
    background: linear-gradient(135deg, #12b8bd 0%, #0d8d94 100%);
}

.switch-toggle input:checked + .switch-slider::before {
    transform: translateX(1.35rem);
}

.status-toggle-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.empty-state {
    display: grid;
    gap: 0.9rem;
    padding: 1.5rem 1.25rem;
}

.empty-state h2,
.empty-state h3 {
    font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.empty-state p {
    margin: 0;
    color: #5f6d6b;
    line-height: 1.6;
}

.admin-form,
.editor-form {
    display: grid;
    gap: 1rem;
}

.editor-section {
    padding: 1.25rem 1.15rem;
}

.form-row {
    display: grid;
    gap: 0.45rem;
    margin: 0 0 1rem;
}

.form-row label,
.form-row .form-label {
    color: #1f2f2d;
    font-size: 0.8rem;
    font-weight: 800;
}

.form-row .form-control,
.form-row .form-select,
.form-row textarea,
.admin-form .form-control,
.admin-form .form-select,
.admin-form textarea {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(18, 61, 62, 0.18);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2f2d;
    box-shadow: none;
}

.form-row select,
.admin-form select,
.form-row .form-select,
.admin-form .form-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #123d3e 50%), linear-gradient(135deg, #123d3e 50%, transparent 50%);
    background-position: calc(100% - 1.2rem) calc(50% - 0.2rem), calc(100% - 0.9rem) calc(50% - 0.2rem);
    background-size: 0.35rem 0.35rem;
    background-repeat: no-repeat;
    padding-right: 2.7rem;
}

.form-row input[type="file"],
.admin-form input[type="file"] {
    padding: 0.55rem 0.7rem;
    border: 1px dashed rgba(18, 61, 62, 0.25);
    border-radius: 0.9rem;
    background: rgba(18, 184, 189, 0.03);
}

.form-row input[type="file"]::file-selector-button,
.admin-form input[type="file"]::file-selector-button {
    margin-right: 0.75rem;
    padding: 0.55rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 184, 189, 0.12);
    color: #0d8d94;
    font-weight: 800;
    cursor: pointer;
}

.form-row textarea,
.admin-form textarea {
    min-height: 7rem;
    resize: vertical;
}

.form-row .form-control:focus,
.form-row .form-select:focus,
.form-row textarea:focus,
.admin-form .form-control:focus,
.admin-form .form-select:focus,
.admin-form textarea:focus {
    border-color: rgba(18, 184, 189, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(18, 184, 189, 0.12);
}

.form-row.has-errors .form-control,
.form-row.has-errors .form-select,
.form-row.has-errors textarea,
.form-row.has-errors .form-control:focus,
.form-row.has-errors .form-select:focus,
.form-row.has-errors textarea:focus {
    border-color: rgba(183, 77, 118, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(183, 77, 118, 0.08);
}

.form-errors,
.form-help {
    margin: 0;
    color: #78435c;
    font-size: 0.76rem;
    line-height: 1.5;
}

.form-errors {
    padding-left: 1.1rem;
}

.form-help {
    color: #657775;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.7rem 0;
    color: #1f2f2d;
    font-size: 0.82rem;
    font-weight: 700;
}

.checkbox-row input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #12b8bd;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (min-width: 780px) {
    .editor-form .form-row {
        max-width: 52rem;
    }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
    color: #0d8d94;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
    color: #0b787f;
    text-decoration: none;
}

.product-reference-preview {
    display: grid;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(18, 184, 189, 0.18);
    border-radius: 0.9rem;
    background: rgba(18, 184, 189, 0.04);
}

.product-reference-preview span {
    color: #486867;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-reference-preview code {
    color: #123d3e;
    font-size: 0.95rem;
    font-weight: 800;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.photo-item {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-radius: 1rem;
    background: rgba(250, 249, 246, 0.8);
}

.photo-item img {
    width: 100%;
    height: 150px;
    border-radius: 0.8rem;
    object-fit: cover;
}

.photo-item figcaption {
    color: #516664;
    font-size: 0.75rem;
    line-height: 1.5;
}

.hidden-form,
.delete-form {
    margin: 0;
}

.login-layout {
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f1eb 0%, #eef4f4 100%);
}

.login-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(160deg, #123d3e 0%, #0c2d30 100%);
    color: #edf8f8;
    overflow: hidden;
}

.login-brand-panel::after {
    position: absolute;
    right: -3rem;
    bottom: -2.5rem;
    width: 15rem;
    height: 15rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
}

.login-brand-panel .brand-wordmark {
    position: relative;
    z-index: 1;
}

.brand-message {
    position: relative;
    z-index: 1;
    max-width: 28rem;
}

.login-brand-panel h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.login-brand-panel p:last-of-type {
    margin: 0.75rem 0 0;
    color: rgba(237, 248, 248, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

.brand-stitch {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 12rem;
    height: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 138, 61, 0.8), rgba(18, 184, 189, 0.9));
}

.login-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.34);
}

.login-card {
    width: min(100%, 32rem);
    padding: 1.5rem 1.5rem 1.25rem;
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 36px rgba(18, 61, 62, 0.08);
}

.brand-wordmark-mobile {
    display: none;
    margin-bottom: 0.65rem;
    color: #123d3e;
}

.brand-wordmark-mobile span {
    color: #ff8a3d;
}

.login-main h2 {
    font-size: clamp(2rem, 2.5vw, 2.6rem);
    color: #1f2f2d;
}

.login-form {
    margin-top: 1rem;
}

.login-form .form-control {
    border-color: rgba(18, 61, 62, 0.12);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
}

.login-footer {
    margin: 1rem 0 0;
    color: #5f6d6b;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.category-manager {
    padding: 1rem;
}

.category-manager-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.15rem 0.1rem 1rem;
}

.category-count,
.category-save-state {
    color: #516664;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-save-state {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.save-state-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #77e5bf;
}

.category-retry-button {
    border: 0;
    background: transparent;
    color: #0d8d94;
    font: inherit;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}

.category-sort-list {
    display: grid;
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-sort-children {
    margin-top: 0.9rem;
    margin-left: 1.2rem;
    padding-left: 1.2rem;
    border-left: 1px solid rgba(18, 61, 62, 0.1);
}

.category-sort-item {
    list-style: none;
}

.category-sort-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-radius: 1rem;
    background: rgba(248, 247, 244, 0.95);
}

.category-drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(18, 61, 62, 0.12);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    cursor: grab;
}

.drag-grip {
    display: block;
    width: 1rem;
    height: 0.9rem;
    background: linear-gradient(90deg, rgba(18, 61, 62, 0.8) 0 2px, transparent 2px 6px, rgba(18, 61, 62, 0.8) 6px 8px, transparent 8px 12px);
    border-radius: 0.25rem;
}

.category-sort-main {
    min-width: 0;
}

.category-sort-title-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.7rem;
}

.category-sort-title-line h2 {
    margin: 0;
    color: #1f2f2d;
    font-size: 1.05rem;
    font-weight: 800;
}

.category-sort-title-line code {
    padding: 0.18rem 0.42rem;
    border-radius: 0.5rem;
    background: rgba(18, 184, 189, 0.08);
    color: #0d8d94;
    font-size: 0.7rem;
    font-weight: 800;
}

.category-sort-slug {
    margin: 0.3rem 0 0.55rem;
    color: #5c706d;
    font-size: 0.75rem;
    font-family: "SFMono-Regular", Consolas, monospace;
}

.category-sort-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: #536564;
    font-size: 0.76rem;
    font-weight: 700;
}

.category-visibility {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 138, 61, 0.12);
    color: #a05218;
}

.category-visibility.is-visible {
    background: rgba(17, 184, 151, 0.12);
    color: #156a61;
}

.category-sort-visual {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-cover-thumb {
    display: block;
    width: 4.5rem;
    height: 3.2rem;
    border-radius: 0.85rem;
    object-fit: cover;
    border: 1px solid rgba(18, 61, 62, 0.08);
    background: rgba(18, 184, 189, 0.08);
}

.category-cover-placeholder {
    display: grid;
    place-items: center;
    color: #4e6766;
    font-size: 0.66rem;
    text-align: center;
    padding: 0.4rem;
}

.category-price-preview {
    display: grid;
    gap: 0.15rem;
    color: #536564;
    font-size: 0.7rem;
    line-height: 1.4;
}

.category-price-preview strong {
    color: #1d2a2a;
    font-size: 0.8rem;
}

.category-sort-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    background: rgba(18, 61, 62, 0.04);
    color: #1f2f2d;
    font-size: 0.72rem;
    font-weight: 800;
}

.category-move-button,
.category-delete-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(18, 61, 62, 0.12);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.8);
    color: #1f2f2d;
    font-size: 1rem;
    cursor: pointer;
}

.category-move-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.category-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.3rem 0.7rem;
    border-radius: 0.7rem;
    background: rgba(18, 184, 189, 0.08);
    color: #0d8d94;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
}

.category-edit-link:hover,
.category-edit-link:focus-visible {
    background: rgba(18, 184, 189, 0.12);
    color: #0d8d94;
    text-decoration: none;
}

.category-delete-button {
    color: #a32767;
}

@media (max-width: 992px) {
    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        width: 100%;
        min-width: 0;
        padding-bottom: 1rem;
    }

    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-bottom {
        margin-top: 1rem;
    }

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

    .category-sort-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .category-sort-visual {
        grid-column: 2 / -1;
    }

    .category-sort-tools {
        grid-column: 2 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .admin-topbar {
        padding: 0.9rem 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-topbar-account {
        width: 100%;
        justify-content: space-between;
    }

    .admin-content {
        padding-inline: 0.9rem;
    }

    .page-heading,
    .section-heading,
    .category-manager-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .login-brand-panel {
        padding: 2rem 1.2rem;
    }

    .brand-wordmark-mobile {
        display: inline-flex;
    }

    .login-main {
        padding-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .admin-nav .nav-link {
        width: 100%;
    }

    .category-sort-row {
        grid-template-columns: 1fr;
    }

    .category-sort-tools,
    .category-sort-visual {
        grid-column: auto;
    }
}


.data-table th[data-sortable] { cursor: pointer; user-select: none; }
.data-table th[aria-sort="ascending"]::after { content: " \25B2"; font-size: 0.7em; }
.data-table th[aria-sort="descending"]::after { content: " \25BC"; font-size: 0.7em; }

.customer-page {
    --customer-ink: #202a29;
    --customer-muted: #687572;
}

.customer-page-title {
    margin: 0;
    color: #1f2f2d;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.customer-panel {
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(24, 41, 38, 0.08);
}

.customer-auth-page {
    padding-top: 1rem;
}

.customer-auth-panel {
    padding: clamp(1.4rem, 5vw, 2.5rem);
}

.customer-panel-intro {
    margin: 0.7rem 0 1.5rem;
    color: var(--customer-muted);
    line-height: 1.65;
}

.customer-form {
    display: grid;
    gap: 0.5rem;
}

.customer-form label,
.customer-form .form-label {
    margin-bottom: 0.45rem;
    color: #1f2f2d;
    font-size: 0.84rem;
    font-weight: 800;
}

.customer-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.customer-form select,
.customer-form textarea,
.customer-form .form-control {
    min-height: 3rem;
    border: 1px solid rgba(18, 61, 62, 0.16);
    border-radius: 0.9rem;
    background-color: #fffefa;
    color: #202a29;
    box-shadow: none;
}

.customer-form input:focus,
.customer-form select:focus,
.customer-form textarea:focus,
.customer-form .form-control:focus {
    border-color: rgba(18, 184, 189, 0.75);
    box-shadow: 0 0 0 0.22rem rgba(18, 184, 189, 0.13);
}

.customer-form-links {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--store-line);
    color: var(--customer-muted);
    font-size: 0.92rem;
}

.customer-form-links p {
    margin: 0;
}

.customer-form-links a,
.cart-continue-link {
    color: #087f86;
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.customer-form-links a:hover,
.cart-continue-link:hover {
    color: #075e66;
}

.cart-page > .eyebrow {
    margin-bottom: 0.4rem;
}

.cart-panel {
    margin-top: 1.35rem;
    padding: clamp(1rem, 3vw, 2rem);
}

.cart-empty-state {
    padding: 1rem 0.25rem;
    text-align: center;
}

.cart-empty-state > p:first-child {
    color: #1f2f2d;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.65rem;
}

.cart-empty-state > p:nth-child(2) {
    max-width: 28rem;
    margin: 0 auto 1.3rem;
}

.cart-table {
    margin-bottom: 0;
}

.cart-table th {
    padding-top: 0.45rem;
    padding-bottom: 0.8rem;
    border-bottom-color: var(--store-line);
    color: var(--customer-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-table td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom-color: #f0efea;
    color: var(--customer-ink);
}

.cart-table td:last-child,
.cart-table th:last-child {
    width: 3.75rem;
}

.cart-product-link {
    color: var(--customer-ink);
    font-weight: 800;
    text-decoration: none;
}

.cart-product-link:hover {
    color: #087f86;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.cart-remove-button {
    display: inline-grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: #c43d4b;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cart-remove-button:hover,
.cart-remove-button:focus-visible {
    border-color: rgba(196, 61, 75, 0.18);
    background: #fff0f1;
    color: #a52c39;
}

.cart-remove-button svg {
    width: 1rem;
    height: 1rem;
}

.cart-unavailable-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0 0.65rem;
    color: #596663;
}

.cart-summary {
    width: min(100%, 28rem);
    margin: 1.25rem 0 0 auto;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: #f8f7f1;
}

.cart-summary > p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--customer-muted);
}

.cart-summary .cart-total {
    margin: 0.8rem 0 0;
    padding-top: 0.8rem;
    border-top: 1px solid #e7e8df;
    color: #1f2f2d;
    font-size: 1.15rem;
}

.cart-shipping-note {
    margin: 0.8rem 0 0;
    color: var(--customer-muted);
    font-size: 0.82rem;
}

.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.35rem;
}

@media (max-width: 575.98px) {
    .cart-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .cart-actions .btn {
        width: 100%;
    }

    .cart-continue-link {
        align-self: center;
    }
}

.app-toasts {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: min(24rem, calc(100vw - 2.5rem));
    pointer-events: none;
}

.app-toast {
    --toast-accent: #12b8bd;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(18, 61, 62, 0.08);
    border-left: 4px solid var(--toast-accent);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 40px rgba(24, 41, 38, 0.18);
    color: #202a29;
    pointer-events: auto;
}

.app-toast-success { --toast-accent: #1f9d6b; }
.app-toast-error,
.app-toast-danger { --toast-accent: #d6336c; }
.app-toast-warning { --toast-accent: #ff8a3d; }

.app-toast.showing { animation: app-toast-in 220ms ease both; }

@keyframes app-toast-in {
    from { opacity: 0; transform: translateY(0.75rem); }
    to { opacity: 1; transform: none; }
}

.app-toast-icon {
    flex: none;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.1rem;
    color: var(--toast-accent);
}

.app-toast-icon svg { width: 100%; height: 100%; }

.app-toast-body {
    display: grid;
    flex: 1;
    gap: 0.1rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.app-toast-body strong { font-size: 0.82rem; }

.app-toast-close {
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0.3rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #747b77;
    cursor: pointer;
}

.app-toast-close:hover,
.app-toast-close:focus-visible { background: #f1f1ec; color: #202a29; }

@media (prefers-reduced-motion: reduce) {
    .app-toast.showing { animation: none; }
}

.app-toast-icon,
.app-toast-close,
.cart-remove-button,
.store-nav-link .bi { line-height: 1; }
.app-toast-icon .bi { font-size: 1.35rem; }
.app-toast-close .bi { font-size: 0.8rem; }
.cart-remove-button .bi { font-size: 1.1rem; }
.store-nav-link .bi { font-size: 1.2rem; }

.nav-account-toggle { padding: 0.35rem 0.45rem; color: #2f3f3e; }
.nav-account-toggle .bi { font-size: 1.2rem; line-height: 1; }
.nav-account-toggle:hover,
.nav-account-toggle[aria-expanded="true"] { color: #0d8f96; }
.nav-account-panel { right: 0; left: auto; min-width: 14rem; }
.nav-account-name {
    margin: 0 0 0.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--store-line);
    color: #1f2f2d;
    font-size: 0.85rem;
    font-weight: 800;
}
.nav-account-panel .dropdown-tree .bi,
.nav-account-logout .bi { margin-right: 0.4rem; color: #0d8f96; }
.nav-account-logout { margin: 0.35rem 0 0; padding-top: 0.5rem; border-top: 1px solid var(--store-line); }
.nav-account-logout button {
    padding: 0.45rem 0.3rem;
    border: 0;
    background: transparent;
    color: #c43d4b;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
@media (max-width: 991.98px) {
    .nav-account-panel { right: auto; }
}

.customer-form { gap: 0; }
.customer-form .mb-3 { margin-bottom: 1.15rem !important; }
.customer-form .form-control { padding: 0.7rem 1rem; }
.customer-form .form-control::placeholder { color: #a3aaa7; }
.customer-form .form-text { margin-top: 0.4rem; color: var(--customer-muted); font-size: 0.78rem; }
.customer-form .invalid-feedback,
.customer-form .form-error-message { margin-top: 0.4rem; color: #c2255c; font-size: 0.8rem; font-weight: 600; }
.customer-form .form-control.is-invalid { border-color: rgba(194, 37, 92, 0.6); background-image: none; }
.customer-form .form-control.is-invalid:focus { box-shadow: 0 0 0 0.22rem rgba(194, 37, 92, 0.12); }
.customer-form > .btn { margin-top: 0.4rem; }
.customer-form .row > .mb-3 { margin-bottom: 1.15rem !important; }

.btn.btn-outline-primary {
    border: 1px solid #0d8d94;
    background: transparent;
    color: #0a7d89;
    box-shadow: none;
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus-visible,
.btn.btn-outline-primary:active {
    border-color: #0a7d89;
    background: linear-gradient(315deg, #12B8BD 0%, #0A6370 100%);
    color: #fff;
}

.btn.btn-outline-primary:disabled,
.btn.btn-outline-primary.disabled {
    border-color: rgba(13, 141, 148, 0.4);
    background: transparent;
    color: rgba(10, 125, 137, 0.5);
}

.nav-dropdown-toggle > * { pointer-events: none; }

/* Parcours de commande et espace client */
.checkout-steps {
    display: flex;
    gap: 0.5rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

.checkout-step {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #f1f0ea;
    color: #747b77;
    font-size: 0.85rem;
    font-weight: 700;
}

.checkout-step-index {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: #fff;
    font-size: 0.8rem;
}

.checkout-step.current {
    background: linear-gradient(135deg, #12b8bd, #0c9aa3);
    color: #fff;
}

.checkout-step.current .checkout-step-index { color: #087f86; }
.checkout-step.done { background: rgba(17, 184, 151, 0.14); color: #156a61; }

@media (max-width: 575.98px) {
    .checkout-step-label { display: none; }
    .checkout-step { justify-content: center; }
}

.checkout-auth-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1.1rem 1.25rem;
    border-radius: 1rem;
    background: #eefafa;
}

.checkout-auth-callout > i { color: #087f86; font-size: 2rem; }
.checkout-auth-callout > div:nth-child(2) { flex: 1 1 14rem; }
.checkout-auth-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.order-lines-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.order-lines-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #efeee6;
}

.order-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.order-card { padding: clamp(1.1rem, 3vw, 1.6rem); }
.order-address { margin-bottom: 0.9rem; font-style: normal; line-height: 1.6; }

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.order-status-ok { background: rgba(17, 184, 151, 0.14); color: #156a61; }
.order-status-pending { background: rgba(255, 138, 61, 0.14); color: #a05218; }
.order-status-info { background: rgba(18, 184, 189, 0.14); color: #087f86; }
.order-status-ko { background: rgba(220, 53, 69, 0.12); color: #b02a37; }

.order-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.25rem;
    border-radius: 1rem;
}

.order-callout > i { font-size: 1.9rem; }
.order-callout > div { flex: 1 1 14rem; }
.order-callout-pending { background: #fff4ea; color: #a05218; }
.order-callout-ok { background: #e9f8f3; color: #156a61; }
.order-callout-failed { background: #fdecee; color: #b02a37; }
.order-callout p { color: #4d5a57; }

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 1.5rem;
}

.account-tabs a,
.account-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 999px;
    background: #f1f0ea;
    color: #3b4744;
    font-weight: 700;
    text-decoration: none;
}

.account-tabs a.active { background: linear-gradient(135deg, #12b8bd, #0c9aa3); color: #fff; }
.account-tabs a:not(.active):hover,
.account-tabs button:hover { background: #e4e8df; }
.account-tabs form { margin-left: auto; }

.customer-form-section {
    margin: 0.5rem 0 0.75rem;
    color: #087f86;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sold-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: #b02a37;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sold-badge-lg {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
}

/* Existing teal/orange identity retained. */
.honeypot {position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden;}
:focus-visible {outline:3px solid #ad4b16!important;outline-offset:3px;}
.skip-link {position:fixed;left:1rem;top:-8rem;background:#fff;color:#17544e;padding:1rem;z-index:10000;}
.skip-link:focus {top:1rem;}
.data-table-wrap {overflow-x:auto;}
@media (max-width:700px) {.admin-sidebar {position:static!important;width:100%!important;min-height:auto!important}.admin-shell{display:block!important}.admin-main{margin-left:0!important}.admin-nav{flex-direction:row!important;flex-wrap:wrap}.admin-topbar-account{flex-wrap:wrap}.customer-panel{padding:1.2rem}.admin-content{padding:1rem!important}}
@media (prefers-reduced-motion:reduce) {*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@font-face {font-family:'Nunito Sans';src:url("../fonts/NunitoSans[YTLC,opsz,wdth,wght]-htflTOL.ttf") format('truetype');font-weight:200 900;font-display:swap}
@font-face {font-family:'DM Serif Display';src:url("../fonts/DMSerifDisplay-Regular-3csIHn0.ttf") format('truetype');font-weight:400;font-display:swap}
.hero-content > .hero-eyebrow {color:#17544e;background:#fff3df;}
.hero-intro .hero-eyebrow {color:#fff;}
.store-eyebrow {color:#17544e;}
.data-table a.table-action {color:#17544e;}
@media (max-width:700px) {.admin-sidebar .admin-nav{display:flex;flex-wrap:wrap;gap:.3rem}.admin-sidebar .nav-link{padding:.5rem .7rem}.admin-sidebar .sidebar-caption,.admin-sidebar .sidebar-bottom{display:none}.admin-sidebar{padding:1rem}.admin-topbar{padding:1rem}}
.hero-product-placeholder {display:grid;place-items:center;min-height:12rem;background:linear-gradient(135deg,#e0f1ee,#fff0df);color:#17544e;font-family:'DM Serif Display',Georgia,serif;font-size:6rem;}
@media (max-width:700px) {.hero-slider{height:auto;min-height:0}.hero-visual{min-height:24rem}.hero-slide{height:auto;min-height:24rem}}

/* Legal, contact and admin refinements */
.legal-nav { margin-bottom: 1.25rem; flex-wrap: wrap; }
.legal-nav form { margin-left: 0; }
.legal-content { padding: clamp(1.4rem, 4vw, 2.6rem); line-height: 1.75; color: #3b4846; }
.legal-content h1 { margin: 0 0 1rem; color: #1f2f2d; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.08; letter-spacing: -0.03em; }
.legal-content h2 { margin: 1.8rem 0 .6rem; color: #1f2f2d; font-family: "DM Serif Display", Georgia, serif; }
.legal-content a { color: #0d8d94; }
.legal-content dl { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: .6rem 1.2rem; margin: 1.2rem 0 0; }
.legal-content dt { color: #1f2f2d; font-size: .84rem; font-weight: 800; }
.legal-content dd { margin: 0; padding-bottom: .6rem; border-bottom: 1px solid rgba(18, 61, 62, 0.08); }
.filter-bar { margin-bottom: 1.25rem; padding: 1rem; border: 1px solid rgba(18, 61, 62, 0.08); border-radius: 1.2rem; background: rgba(255, 255, 255, 0.78); }
.filter-bar .form-control, .filter-bar .form-select { border-radius: .9rem; border-color: rgba(18, 61, 62, 0.18); }
.stats-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-reply { margin-bottom: .8rem; padding: .9rem 1rem; border-radius: 1rem; background: rgba(18, 184, 189, 0.07); }
@media (max-width: 991px) { .stats-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stats-grid, .stats-grid-4 { grid-template-columns: 1fr; } .legal-content dl { grid-template-columns: 1fr; } }

.privacy-title { margin: 0; color: #1f2f2d; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; }
.privacy-actions { display: grid; gap: .8rem; }
.privacy-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; padding: 1rem 1.1rem; border: 1px solid rgba(18, 61, 62, 0.08); border-radius: 1rem; background: #fffefa; }
.privacy-action strong { display: block; color: #1f2f2d; }
.privacy-action span { color: #687572; font-size: .88rem; }

.topbar-logout { font-size: 1.1rem; line-height: 1; opacity: .55; color: #274141; }
.topbar-logout:hover, .topbar-logout:focus-visible { opacity: 1; color: #0d8d94; }

/* Admin fits in the viewport: the content area scrolls, not the page */
@media (min-width: 993px) {
    .admin-shell { height: 100vh; min-height: 0; overflow: hidden; }
    .admin-sidebar { overflow-y: auto; }
    .admin-main { min-height: 0; overflow: hidden; }
    .admin-topbar { flex: 0 0 auto; padding-block: .7rem; }
    .admin-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-block: 1.25rem 1.5rem; }
    .admin-content .page-heading { margin-bottom: 1rem; }
    .admin-content .data-table-wrap { max-height: calc(100vh - 21rem); overflow: auto; }
    .admin-content .data-table thead th { position: sticky; top: 0; z-index: 1; background: #f7f9f6; }
}

.photo-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.photo-order-actions .button {
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
}

.photo-order-actions button:disabled {
    opacity: 0.4;
    cursor: default;
}
