:root {
    --color-bg: #ebe4df;
    --color-surface-light: #fffdfb;
    --color-surface-soft: #f6efeb;
    --color-surface-dark: #e7d8d1;
    --color-panel: #ffffff;

    --color-text: #2c2320;
    --color-text-soft: #625752;
    --color-text-muted: #847873;

    --color-primary: #2c2320;
    --color-primary-hover: #1f1816;

    --color-accent-pink: #edd2d8;
    --color-accent-pink-strong: #dcaeb8;
    --color-accent-blue: #dce9f5;
    --color-accent-blue-strong: #bfd6ea;
    --color-accent-warm: #d8954f;

    --color-accent: #2c2320;
    --color-accent-dark: #1f1816;

    --color-success-soft: #e8f3eb;
    --color-danger-soft: #f6e3e3;
    --color-danger: #8f4b54;

    --color-border: #d8c8c0;
    --color-border-strong: #cab7af;

    --shadow-soft: 0 8px 22px rgba(44, 35, 32, 0.05);
    --shadow-card: 0 10px 28px rgba(44, 35, 32, 0.07);
    --shadow-hover: 0 16px 34px rgba(44, 35, 32, 0.11);

    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;

    --site-width: 1440px;
    --sidebar-width: 290px;

    --transition-fast: 180ms ease;
    --transition-medium: 240ms ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body.site-body {
    margin: 0;
    font-family: "Nunito", "Avenir Next", "Segoe UI", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--transition-fast),
        opacity var(--transition-fast),
        background-color var(--transition-fast);
}

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

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

button {
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

button:hover {
    transform: translateY(-1px);
}

input,
textarea,
select {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
.hero-card h1,
.product-summary h1,
.section-heading h2,
.cart-card h1,
.cart-card h2,
.checkout-card h1,
.checkout-card h2,
.success-card h1,
.admin-orders-header h1,
.product-description-long h2,
.product-features h2 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: var(--color-text);
}

p {
    margin-top: 0;
}

ul,
ol {
    max-width: 100%;
}

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

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

.page-shell {
    min-height: 100vh;
}

.placeholder-icon,
.placeholder-label,
.product-placeholder,
.cart-item__placeholder {
    user-select: none;
}

/* =========================
   SHARED WRAPPERS
========================= */

.hero-section,
.catalog-section,
.product-page,
.cart-page,
.checkout-page,
.success-page,
.admin-login-page,
.admin-orders-page,
.site-footer {
    width: 100%;
}

.hero-section,
.catalog-section,
.product-page,
.cart-page,
.checkout-page,
.success-page,
.admin-login-page,
.admin-orders-page {
    max-width: var(--site-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.cart-page,
.checkout-page,
.success-page,
.admin-login-page,
.admin-orders-page {
    margin-top: 40px;
    margin-bottom: 0;
    padding-bottom: 40px;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(252, 248, 246, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(228, 215, 209, 0.9);
    box-shadow: 0 8px 24px rgba(47, 38, 35, 0.04);
    color: var(--color-text);
    width: 100%;
    overflow-x: clip;
}

.header-top {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: center;
}

.brand-block,
.header-actions {
    min-width: 0;
}

.brand-link {
    display: inline-flex;
    flex-direction: column;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--color-primary);
}

/* tijdelijk verborgen zoekbalk */
.header-search {
    display: none;
}

.header-search input {
    width: 100%;
    min-width: 0;
    padding: 0 22px;
    border: 0;
    outline: none;
    color: var(--color-text);
    background: transparent;
    font-size: 1rem;
}

.header-search input::placeholder {
    color: var(--color-text-muted);
}

.header-search button {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font-size: 1.35rem;
    cursor: pointer;
}

.header-search button:hover {
    color: var(--color-primary-hover);
    background: rgba(239, 212, 217, 0.18);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.action-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    max-width: 100%;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.action-link:hover {
    color: var(--color-primary-hover);
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(228, 215, 209, 0.95);
    box-shadow: 0 10px 20px rgba(44, 35, 32, 0.06);
    transform: translateY(-1px);
}

.action-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(217, 233, 247, 0.45);
    border-color: var(--color-accent-blue-strong);
}

.action-link__icon,
.action-link__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition:
        transform var(--transition-fast),
        opacity var(--transition-fast);
    flex: 0 0 auto;
}

.action-link__icon {
    font-size: 0.95rem;
}

.action-link__arrow {
    font-size: 0.9rem;
    opacity: 0.72;
}

.action-link:hover .action-link__icon {
    transform: translateY(-1px);
}

.action-link:hover .action-link__arrow {
    transform: translate(1px, -1px);
    opacity: 1;
}

.action-link__label {
    min-width: 0;
}

.action-link--cart {
    background: rgba(44, 35, 32, 0.06);
    border-color: rgba(44, 35, 32, 0.08);
    padding-right: 16px;
}

.action-link--cart:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 12px 24px rgba(44, 35, 32, 0.14);
}

.action-link--subtle {
    background: transparent;
    padding-left: 12px;
    padding-right: 12px;
}

.action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(44, 35, 32, 0.1);
    color: inherit;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.action-link--cart:hover .action-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: scale(1.04);
}

/* =========================
   HERO
========================= */

.hero-section {
    margin-top: 32px;
    margin-bottom: 32px;
}

.hero-card {
    min-height: 120px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-xl);
    background: rgba(252, 248, 246, 0.92);
    box-shadow: 0 8px 24px rgba(47, 38, 35, 0.04);
    border: 1px solid rgba(228, 215, 209, 0.9);
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    margin: 0 0 10px;
    color: #c48339;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-card h1 {
    margin: 0 0 10px;
    max-width: none;
    font-size: clamp(1.6rem, 2.6vw, 2.8rem);
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
}

.hero-text {
    max-width: none;
    margin: 0;
    color: var(--color-text-soft);
    font-size: 0.98rem;
    line-height: 1.65;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* =========================
   CATALOG
========================= */

.catalog-section {
    padding-bottom: 44px;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.products-area {
    min-width: 0;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0 0 6px;
    font-size: 2rem;
}

.section-heading p {
    margin: 0;
    color: var(--color-text-soft);
    line-height: 1.7;
}

/* =========================
   FILTERS
========================= */

.filters-card {
    position: sticky;
    top: 108px;
    height: fit-content;
    margin-top: 58px;
    border-radius: var(--radius-xl);
    background: rgba(252, 248, 246, 0.92);
    box-shadow: 0 8px 24px rgba(47, 38, 35, 0.04);
    overflow: hidden;
    border: 1px solid rgba(228, 215, 209, 0.9);
}

.filter-group {
    border-bottom: 1px solid var(--color-border);
}

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

.filter-group summary {
    list-style: none;
}

.filter-group summary::-webkit-details-marker {
    display: none;
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    font-weight: 800;
    color: var(--color-text);
    cursor: pointer;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast);
}

.filter-item:hover {
    background: rgba(255, 255, 255, 0.28);
}

.filter-chevron {
    color: var(--color-text-soft);
    transition: transform var(--transition-medium);
    flex: 0 0 auto;
}

.filter-group[open] .filter-chevron {
    transform: rotate(180deg);
}

.filter-panel {
    padding: 0 22px 18px;
    animation: filterOpen var(--transition-medium);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--color-text-soft);
    font-size: 0.96rem;
    border-radius: 12px;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast);
}

.filter-option:hover {
    background: rgba(255, 255, 255, 0.4);
    color: var(--color-text);
}

.filter-option.is-active {
    background: rgba(44, 35, 32, 0.08);
    color: var(--color-text);
    font-weight: 800;
}

.filter-option input {
    accent-color: var(--color-primary);
    flex: 0 0 auto;
}

/* =========================
   PRODUCT GRID
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-card);
    transition:
        transform var(--transition-medium),
        box-shadow var(--transition-medium),
        border-color var(--transition-medium);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(239, 212, 217, 0.8);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    min-width: 0;
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(47, 38, 35, 0.14);
}

.product-badge.discount {
    background: #c86e7b;
    color: #ffffff;
}

.product-image {
    position: relative;
    height: 220px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    border-radius: 20px;
    background: var(--color-surface-light);
    color: #7a5f58;
    overflow: hidden;
    border: 1px solid rgba(228, 215, 209, 0.6);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.product-image.placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 28%, rgba(239, 212, 217, 0.28) 0 18px, transparent 19px),
        radial-gradient(circle at 65% 65%, rgba(217, 233, 247, 0.28) 0 14px, transparent 15px),
        radial-gradient(circle at 78% 30%, rgba(234, 220, 214, 0.7) 0 10px, transparent 11px);
    pointer-events: none;
}

.placeholder-icon,
.placeholder-label {
    position: relative;
    z-index: 1;
}

.placeholder-icon {
    font-size: 2.3rem;
    line-height: 1;
    margin-bottom: 10px;
}

.placeholder-label {
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
}

.product-card h3 {
    margin: 0 0 14px;
    min-height: 68px;
    font-size: 1.18rem;
    line-height: 1.45;
    font-family: "Nunito", "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.product-price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
}

.old-price {
    margin-right: 2px;
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: line-through;
}

.product-empty-state {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-card);
    color: var(--color-text-soft);
}

/* =========================
   PRODUCT DETAIL
========================= */

.product-page {
    margin-top: 40px;
    margin-bottom: 40px;
}

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

.product-left-column,
.product-right-column {
    min-width: 0;
}

.product-gallery-card img,
.product-gallery-card .product-placeholder {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.product-placeholder {
    min-height: 420px;
    display: grid;
    place-items: center;
    font-size: 56px;
    text-align: center;
}

.product-summary {
    margin-bottom: 24px;
}

.product-summary h1 {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    overflow-wrap: anywhere;
}

.product-intro {
    margin: 20px 0 0;
    color: var(--color-text-soft);
    line-height: 1.8;
    max-width: 820px;
    overflow-wrap: anywhere;
}

.product-price-large {
    margin: 0 0 18px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 800;
}

.product-price-large .old-price {
    margin-right: 0;
}

.product-buy {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.product-buy--top {
    margin: 0;
}

.product-buy input {
    width: 86px;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    outline: none;
}

.product-buy input:focus {
    border-color: var(--color-accent-blue-strong);
    box-shadow: 0 0 0 4px rgba(217, 233, 247, 0.45);
}

.add-to-cart {
    min-height: 56px;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0 28px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(47, 38, 35, 0.14);
}

.add-to-cart:hover {
    background: var(--color-primary-hover);
}

.product-purchase-card {
    margin-top: 20px;
    padding: 24px 24px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-card);
    max-width: 760px;
}

.product-meta-block {
    margin: 0 0 18px;
}

.product-meta-block:last-child {
    margin-bottom: 0;
}

.product-meta-block strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
    font-weight: 800;
}

.product-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.product-meta-list li {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
}

.product-size-options {
    display: grid;
    gap: 10px;
}

.product-size-card {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}

.product-size-card:hover {
    border-color: var(--color-border-strong);
}

.product-size-card.is-active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(44, 35, 32, 0.08);
}

.product-size-card input,
.product-chip--selectable input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.meta-main {
    font-weight: 800;
    color: var(--color-text);
}

.meta-sub {
    color: var(--color-text-soft);
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.meta-price {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.95rem;
}

.product-option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 700;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.product-chip--selectable {
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}

.product-chip--selectable.is-active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(44, 35, 32, 0.08);
}

.product-status {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--color-success-soft);
    color: var(--color-text);
    font-weight: 800;
}

.product-note {
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    color: var(--color-text-soft);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.product-detail-sections {
    max-width: 820px;
    margin-top: 28px;
}

.product-description-long,
.product-features {
    margin-top: 28px;
}

.product-description-long h2,
.product-features h2 {
    margin: 0 0 14px;
    font-size: 2rem;
}

.product-description-long p {
    margin: 0 0 16px;
    color: var(--color-text-soft);
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.product-features ul {
    margin: 0;
    padding-left: 22px;
    color: var(--color-text-soft);
}

.product-features li {
    margin-bottom: 10px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

/* =========================
   CART
========================= */

.cart-page {
    padding-bottom: 40px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.cart-main,
.cart-sidebar {
    min-width: 0;
}

.cart-card {
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    min-width: 0;
}

.cart-card--main {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.cart-card h1,
.cart-card h2 {
    margin-top: 0;
    margin-bottom: 18px;
}

.cart-card__body {
    min-width: 0;
}

.cart-card__footer {
    margin-top: auto;
    padding-top: 20px;
}

.cart-empty {
    color: var(--color-text-soft);
    overflow-wrap: anywhere;
}

.cart-back-link,
.checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(47, 38, 35, 0.12);
    text-align: center;
    white-space: normal;
}

.cart-back-link:hover,
.checkout-button:hover {
    background: var(--color-primary-hover);
}

.checkout-button {
    width: 100%;
    margin-top: 20px;
    opacity: 1;
    cursor: pointer;
    border: 0;
}

.checkout-button.is-disabled,
.checkout-button[aria-disabled="true"] {
    background: #b7aaa3;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.cart-list {
    display: grid;
    gap: 18px;
}

.cart-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 120px;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid var(--color-border);
    min-width: 0;
}

.cart-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.cart-item__media {
    width: 110px;
    max-width: 100%;
}

.cart-item__media img,
.cart-item__placeholder {
    width: 110px;
    height: 110px;
    border-radius: 18px;
    object-fit: cover;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
}

.cart-item__placeholder {
    display: grid;
    place-items: center;
    font-size: 2rem;
}

.cart-item__content {
    min-width: 0;
}

.cart-item__content h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-family: "Nunito", "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.cart-item__meta {
    margin-bottom: 12px;
    display: grid;
    gap: 4px;
}

.cart-item__variant {
    margin: 0;
    overflow-wrap: anywhere;
}

.cart-item__unit-price {
    margin: 0 0 14px;
    color: var(--color-text-soft);
    overflow-wrap: anywhere;
}

.cart-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.cart-qty-form,
.cart-remove-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-qty-form input {
    width: 72px;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
}

.cart-qty-form button,
.button-link-danger {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
}

.cart-qty-form button {
    background: var(--color-surface-light);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.cart-qty-form button:hover {
    background: #fff;
}

.button-link-danger {
    background: transparent;
    color: var(--color-danger);
}

.cart-item__total {
    text-align: right;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
    overflow-wrap: anywhere;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
}

.cart-summary-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.cart-summary-row--total {
    font-size: 1.08rem;
    font-weight: 800;
}

/* =========================
   CHECKOUT / SUCCESS
========================= */

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.checkout-card,
.success-card {
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    min-width: 0;
}

.checkout-card h1,
.checkout-card h2,
.success-card h1 {
    margin-top: 0;
}

.checkout-intro,
.checkout-note {
    color: var(--color-text-soft);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.form-error-box {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--color-danger-soft);
    color: var(--color-danger);
    font-weight: 800;
    border: 1px solid rgba(154, 77, 87, 0.12);
}

.checkout-form {
    display: grid;
    gap: 20px;
}

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

.form-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.form-field--wide,
.form-field--full {
    grid-column: span 2;
}

.form-field label {
    font-weight: 800;
    color: var(--color-text);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
    color: var(--color-text);
    outline: none;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--color-accent-blue-strong);
    box-shadow: 0 0 0 4px rgba(217, 233, 247, 0.45);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.field-error {
    color: var(--color-danger);
    font-size: 0.92rem;
    font-weight: 800;
}

.checkout-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
grid-column: 1 / -1;
justify-self: start;
align-self: center;
    width: auto;
    min-width: 220px;
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(47, 38, 35, 0.12);
}

.checkout-submit-button:hover {
    background: var(--color-primary-hover);
}

.checkout-summary-list {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    color: var(--color-text-soft);
}

.checkout-summary-item__content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.checkout-summary-item__meta {
    margin-top: 6px;
    display: grid;
    gap: 4px;
    font-size: 0.95rem;
}

/* =========================
   ADMIN
========================= */

.admin-login-card,
.admin-orders-card {
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.admin-login-card {
    max-width: 520px;
    margin: 0 auto;
}

.admin-login-form {
    display: grid;
    gap: 18px;
}

.admin-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-orders-header h1 {
    margin: 0 0 6px;
}

.admin-logout-button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
}

.admin-orders-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-orders-table {
    min-width: 880px;
}

.admin-orders-table th,
.admin-orders-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.admin-orders-table th {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text);
}

.admin-orders-table td {
    font-size: 0.96rem;
    color: var(--color-text-soft);
}

.admin-orders-details-row td {
    background: rgba(255, 255, 255, 0.28);
}

.admin-order-details {
    padding: 12px 0 6px;
}

.admin-order-details__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.admin-order-details__block {
    min-width: 0;
}

.admin-order-details__block h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.admin-order-details__block p {
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.admin-order-items {
    display: grid;
    gap: 12px;
}

.admin-order-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid var(--color-border);
}

.admin-order-item p:last-child {
    margin-bottom: 0;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    max-width: var(--site-width);
    margin: 12px auto 0;
    padding: 0 24px 30px;
}

.site-footer__inner {
    padding: 22px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-text-soft);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.75);
    overflow-wrap: anywhere;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes filterOpen {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
    .header-top {
        grid-template-columns: 1fr;
    }

    .header-actions {
        justify-content: flex-start;
    }

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

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

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

    .product-purchase-card,
    .product-detail-sections {
        max-width: none;
    }
}

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

    .cart-sidebar,
    .checkout-sidebar {
        order: -1;
    }

    .admin-order-details__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero-section,
    .catalog-section,
    .product-page,
    .cart-page,
    .checkout-page,
    .success-page,
    .admin-login-page,
    .admin-orders-page,
    .site-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header {
        position: sticky;
        top: 0;
        overflow: hidden;
    }

    .header-top {
        display: flex;
        flex-direction: column;
        align-items: center;
padding: 6px 12px;   /* 🔥 veel kleiner */
        gap: 4px;            /* 🔥 minder ruimte tussen logo en knoppen */
    }
.brand-block {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
    transition:
        height 280ms ease,
        margin-bottom 280ms ease,
        opacity 220ms ease;
    will-change: height, margin-bottom, opacity;
}

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

.brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 250px;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 260ms ease,
        transform 260ms ease;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.site-header.is-scrolled .brand-block {
    height: 0;
    margin-bottom: 0;
    opacity: 0;
}

.site-header.is-scrolled .brand-logo {
    opacity: 0;
    transform: translateY(-18px);
    pointer-events: none;
}

    .header-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        font-size: 0.92rem;
    }

    .action-link {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.9rem;
        gap: 8px;
        white-space: nowrap;
    }

    .action-link--subtle {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero-section {
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .hero-card {
        padding: 20px 22px;
        min-height: auto;
        border-radius: 26px;
    }

    .eyebrow {
        margin-bottom: 8px;
        font-size: 0.64rem;
        letter-spacing: 0.13em;
    }

    .hero-card h1 {
        margin-bottom: 10px;
        font-size: 1.45rem;
        line-height: 1.05;
    }

    .hero-text {
        font-size: 0.96rem;
        line-height: 1.55;
        margin-bottom: 2px;
    }

    .catalog-section {
        gap: 18px;
        padding-bottom: 32px;
    }

    .filters-card {
        position: static;
        margin-top: 6px;
    }

    .filter-item {
        padding: 18px 20px;
    }

    .filter-panel {
        padding: 0 20px 16px;
    }

    .section-heading {
        margin-bottom: 18px;
    }

    .section-heading h2 {
        font-size: 1.65rem;
        margin-bottom: 0;
    }

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

    .product-card {
        min-height: auto;
        padding: 14px;
        border-radius: 18px;
    }

    .product-image {
        height: 145px;
        margin-bottom: 14px;
        border-radius: 16px;
    }

    .product-image img {
        border-radius: 16px;
    }

    .product-badge {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 0.68rem;
    }

    .product-card h3 {
        margin: 0 0 10px;
        min-height: auto;
        font-size: 0.98rem;
        line-height: 1.3;
    }

    .product-price {
        gap: 6px;
        font-size: 1rem;
    }

    .old-price {
        font-size: 0.82rem;
    }

    .placeholder-icon {
        font-size: 1.7rem;
        margin-bottom: 6px;
    }

    .placeholder-label {
        font-size: 0.95rem;
    }

    .product-summary h1 {
        font-size: 2.3rem;
    }

    .product-price-large {
        font-size: 1.65rem;
    }

    .product-buy {
        flex-direction: column;
        align-items: stretch;
    }

    .product-buy input,
    .add-to-cart {
        width: 100%;
    }

    .product-placeholder {
        min-height: 300px;
    }

    .cart-card,
    .checkout-card,
    .success-card,
    .admin-orders-card,
    .admin-login-card {
        padding: 20px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cart-item__media {
        width: 96px;
    }

    .cart-item__media img,
    .cart-item__placeholder {
        width: 96px;
        height: 96px;
    }

    .cart-item__total {
        text-align: left;
    }

    .cart-item__actions,
    .cart-qty-form,
    .cart-remove-form {
        width: 100%;
    }

    .cart-qty-form {
        gap: 8px;
    }

    .cart-qty-form input {
        width: 64px;
    }

    .checkout-summary-item {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .form-field--wide,
    .form-field--full {
        grid-column: auto;
    }

    .admin-orders-header {
        flex-direction: column;
    }

    .filters-card,
    .product-card,
    .cart-card,
    .checkout-card,
    .success-card,
    .admin-login-card,
    .admin-orders-card,
    .product-purchase-card {
        border-radius: 20px;
    }
}

@media (max-width: 560px) {
    .header-top {
        padding: 14px 16px 10px;
        gap: 10px;
    }

    .brand-block {
        height: 60px;
    }

    .brand-logo {
        height: 50px;
    }
	.site-header.is-scrolled .brand-block {
    height: 0;
}

    .header-actions {
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .action-link {
        width: auto;
        max-width: calc(100vw - 32px);
        min-height: 38px;
        padding: 0 10px;
        font-size: 0.86rem;
        gap: 7px;
        text-align: center;
        white-space: nowrap;
    }

    .action-link__label {
        white-space: nowrap;
    }

    .action-badge {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 0.68rem;
    }

    .cart-back-link,
    .checkout-button,
    .add-to-cart,
    .checkout-submit-button {
        width: 100%;
    }

    .product-option-values {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-chip {
        justify-content: center;
        text-align: center;
        min-height: 42px;
    }

    .cart-summary-row,
    .checkout-summary-item {
        gap: 10px;
    }

    .admin-orders-table {
        min-width: 760px;
    }
}
/* ===== FIX: harde scroll trigger zonder flikker ===== */

#logo-trigger {
    position: absolute;
    top: 140px; /* speel hiermee */
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Zorg dat animatie ALTIJD smooth blijft */
.brand-block {
    transition:
        height 300ms ease,
        margin-bottom 300ms ease,
        opacity 220ms ease !important;
}

.brand-logo {
    transition:
        opacity 260ms ease,
        transform 260ms ease !important;
}
/* ===== Desktop: compacte header ===== */
@media (min-width: 721px) {

    .header-top {
        grid-template-columns: auto 1fr auto;
        padding: 12px 24px;
        gap: 16px;
        align-items: center;
    }

    .brand-block {
        height: auto;
        margin-bottom: 0;
    }

    .brand-logo {
        height: 100px; /* 🔥 pas dit aan naar smaak */
        width: auto;
    }

    .header-actions {
        justify-content: flex-end;
        gap: 12px;
    }
}
.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    text-align: center;
}
@media (max-width: 720px) {
    .brand-block {
        height: 60px;
        margin-bottom: 0;
    }

    .brand-text {
        font-size: 1rem;
		line-height: 1.2;
    }
}
@media (max-width: 560px) {
    .brand-text {
        font-size: 0.95rem;
    }
}
@media (max-width: 560px) {
    .brand-logo {
        height: 100px;
    }
}
/* Voeg dit onderaan public/assets/css/style.css toe voor de productgalerij */
.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.product-gallery-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

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

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

@media (max-width: 720px) {
    .product-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* ===== Admin orderbeheer extra styling ===== */
.admin-flash {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid var(--color-border);
}

.admin-flash--success {
    background: var(--color-success-soft);
    color: var(--color-text);
}

.admin-flash--error {
    background: var(--color-danger-soft);
    color: var(--color-danger);
}

.admin-order-manage {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.admin-order-manage h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.admin-order-manage-form {
    display: grid;
    gap: 16px;
}

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

.admin-order-manage select,
.admin-order-manage textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
    color: var(--color-text);
    outline: none;
}

.admin-order-manage select:focus,
.admin-order-manage textarea:focus {
    border-color: var(--color-accent-blue-strong);
    box-shadow: 0 0 0 4px rgba(217, 233, 247, 0.45);
}

.admin-save-button,
.admin-secondary-button,
.admin-delete-button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    cursor: pointer;
}

.admin-save-button {
    justify-self: start;
    border: 0;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(47, 38, 35, 0.12);
}

.admin-save-button:hover {
    background: var(--color-primary-hover);
}

.admin-danger-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.admin-secondary-button {
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
}

.admin-secondary-button:hover {
    border-color: var(--color-border-strong);
    background: var(--color-surface-light);
}

.admin-delete-button {
    border: 0;
    background: transparent;
}

@media (max-width: 720px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Admin productbeheer ===== */

.admin-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-nav-link,
.admin-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.72);
    color: var(--color-text);
    font-weight: 800;
    font-size: 0.94rem;
    text-align: center;
}

.admin-nav-link:hover,
.admin-edit-button:hover {
    background: #fff;
    border-color: var(--color-border-strong);
}

.admin-nav-link.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.admin-products-toolbar {
    margin-bottom: 18px;
    display: grid;
    gap: 6px;
}

.admin-products-toolbar p {
    margin: 0;
}

.admin-products-table {
    min-width: 1100px;
}

.admin-product-cell {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 240px;
}

.admin-product-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
}

.admin-product-thumb--placeholder {
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.admin-product-meta {
    margin-top: 3px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid var(--color-border);
}

.admin-status-pill--yes {
    background: var(--color-success-soft);
    color: var(--color-text);
}

.admin-status-pill--no {
    background: var(--color-danger-soft);
    color: var(--color-danger);
}

.admin-status-pill--muted {
    background: var(--color-surface-soft);
    color: var(--color-text-muted);
}

.admin-edit-button {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    white-space: nowrap;
}

.admin-edit-button:hover {
    background: var(--color-primary-hover);
    color: #fff;
}

@media (max-width: 720px) {
    .admin-top-actions {
        justify-content: flex-start;
    }

    .admin-nav-link,
    .admin-edit-button {
        width: 100%;
    }
}
/* ===== Admin product edit ===== */

.admin-product-edit-form {
    display: block;
}

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

.admin-product-edit-main,
.admin-product-edit-sidebar {
    min-width: 0;
}

.admin-product-edit-sidebar {
    position: sticky;
    top: 110px;
}

.admin-edit-section {
    margin-bottom: 22px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid var(--color-border);
}

.admin-edit-section:last-child {
    margin-bottom: 0;
}

.admin-edit-section h2 {
    margin: 0 0 16px;
    font-size: 1.25rem;
}

.admin-field-help {
    margin: 6px 0 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.admin-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.admin-checkbox-card input {
    margin-top: 5px;
    accent-color: var(--color-primary);
}

.admin-checkbox-card span {
    display: grid;
    gap: 2px;
}

.admin-checkbox-card small {
    color: var(--color-text-muted);
    line-height: 1.4;
}

.admin-save-button--wide,
.admin-secondary-button--wide {
    width: 100%;
    margin-top: 12px;
}

.admin-secondary-button--wide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.admin-edit-preview-image,
.admin-edit-preview-placeholder {
    width: 100%;
    min-height: 220px;
    border-radius: 18px;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
}

.admin-edit-preview-image {
    height: auto;
    object-fit: cover;
}

.admin-edit-preview-placeholder {
    display: grid;
    place-items: center;
    padding: 20px;
    color: var(--color-text-muted);
    text-align: center;
}

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

    .admin-product-edit-sidebar {
        position: static;
    }
}

.continue-shopping-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(44, 35, 32, 0.05);
}

.continue-shopping-link:hover {
    background: #fff;
    border-color: var(--color-border-strong);
    color: var(--color-primary);
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .continue-shopping-link {
        width: 100%;
    }
}
.site-footer__content {
    display: grid;
    gap: 14px;
}

.site-footer__copyright {
    margin: 0;
    color: var(--color-text-soft);
}

.site-footer__credits {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.site-footer__credits p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.site-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text-soft);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(44, 35, 32, 0.22);
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        opacity var(--transition-fast);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    color: var(--color-primary);
    border-bottom-color: currentColor;
    background: transparent !important;
    transform: none !important;
}

.site-footer__icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: currentColor;
    opacity: 0.82;
}

.site-footer__divider {
    color: var(--color-text-muted);
    opacity: 0.55;
}

@media (max-width: 720px) {
    .site-footer__credits {
        display: grid;
        gap: 7px;
    }

    .site-footer__divider {
        display: none;
    }
}
.product-main-image-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: inherit;
}

.product-main-image-button img {
    display: block;
    width: 100%;
    height: 100%;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-lightbox.is-open {
    display: flex;
}

.product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(47, 41, 38, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: zoom-out;
}

.product-lightbox__dialog {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 94vw);
    max-height: 88vh;
    border-radius: 28px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.product-lightbox__dialog img {
    display: block;
    max-width: 100%;
    max-height: calc(88vh - 24px);
    object-fit: contain;
    border-radius: 20px;
}

.product-lightbox__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #2f2926;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.product-lightbox-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .product-lightbox {
        padding: 14px;
    }

    .product-lightbox__dialog {
        border-radius: 22px;
        padding: 8px;
    }

    .product-lightbox__dialog img {
        border-radius: 16px;
    }

    .product-lightbox__close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}
.product-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(47, 41, 38, 0.88);
    color: #fff;
    font-size: 42px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.product-lightbox__nav:hover,
.product-lightbox__nav:focus-visible {
    background: #2f2926;
    transform: translateY(-50%) scale(1.06);
}

.product-lightbox__nav--prev {
    left: -24px;
}

.product-lightbox__nav--next {
    right: -24px;
}

.product-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: -38px;
    transform: translateX(-50%);
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(47, 41, 38, 0.9);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

@media (max-width: 640px) {
    .product-lightbox__nav {
        width: 42px;
        height: 42px;
        font-size: 34px;
    }

    .product-lightbox__nav--prev {
        left: 8px;
    }

    .product-lightbox__nav--next {
        right: 8px;
    }

    .product-lightbox__counter {
        bottom: 12px;
    }
}