:root {
    --bg: #f3efe8;
    --surface: #fffdf8;
    --surface-strong: #ffffff;
    --ink: #1d1814;
    --muted: #6b6259;
    --line: rgba(29, 24, 20, 0.12);
    --accent: #8f624d;
    --accent-soft: #e7d9cf;
    --success: #dceadc;
    --error: #f4d9d6;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow: 0 20px 60px rgba(29, 24, 20, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 35%),
        linear-gradient(180deg, #faf7f1 0%, #f1ece5 100%);
    color: var(--ink);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

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

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

.container {
    width: min(1180px, calc(100vw - 40px));
    margin: 0 auto;
}

.page-shell {
    min-height: 60vh;
    padding-bottom: 72px;
}

.section {
    padding: 40px 0;
}

.section-tight {
    padding-top: 24px;
    padding-bottom: 24px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

h1,
h2,
h3,
h4 {
    margin: 0 0 16px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    line-height: 1;
}

h1 {
    font-size: clamp(44px, 8vw, 82px);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
}

h3 {
    font-size: 28px;
}

p {
    margin: 0 0 14px;
    color: var(--muted);
}

.lead {
    font-size: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 0.24s ease;
    cursor: pointer;
}

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

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

.button-light {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.button-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(250, 247, 241, 0.88);
    border-bottom: 1px solid rgba(29, 24, 20, 0.08);
}

.header-top {
    border-bottom: 1px solid rgba(29, 24, 20, 0.06);
    font-size: 12px;
    color: var(--muted);
}

.header-top-inner,
.header-main,
.header-actions,
.hero-actions,
.section-head,
.checkout-bar,
.summary-row,
.summary-total,
.admin-page-head,
.admin-inline-actions,
.header-top-links,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-top-inner {
    min-height: 32px;
}

.header-main {
    position: relative;
    min-height: 70px;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 176px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.18);
    transform-origin: left center;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1 1 auto;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-size: 15px;
}

.nav-item.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -18px;
    right: -18px;
    height: 18px;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    padding: 14px;
    display: block;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.nav-dropdown a {
    display: block;
    padding: 8px 0;
    color: var(--muted);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.header-actions {
    position: relative;
    gap: 12px;
    flex-shrink: 0;
}

.header-link {
    font-size: 15px;
}

.header-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.header-icon-button:hover {
    background: #fff;
    border-color: rgba(29, 24, 20, 0.2);
    transform: translateY(-1px);
}

.header-icon-button:focus-visible {
    outline: 2px solid rgba(29, 24, 20, 0.5);
    outline-offset: 3px;
}

.header-icon-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-search-panel {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    z-index: 22;
    width: min(420px, 100%);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0s linear 0.24s;
}

.header-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.header-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.header-search-form input {
    min-width: 0;
}

.header-cart {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
}

.header-cart span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.menu-toggle {
    display: none;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: none;
}

.hero-slider {
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) + 8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(230, 217, 207, 0.8));
    box-shadow: var(--shadow);
    isolation: isolate;
}

.hero-slide {
    grid-area: 1 / 1;
    display: grid;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.72s ease, transform 0.72s ease, visibility 0s linear 0.72s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    z-index: 2;
    transition-delay: 0s, 0s, 0s;
}

.hero-slide-frame {
    position: relative;
    display: grid;
    min-height: min(740px, calc(100svh - 108px));
}

.hero-slider.has-controls .hero-slide-frame {
    padding-left: 72px;
    padding-right: 72px;
}

.hero-slider.has-dots .hero-slide-frame {
    padding-bottom: 92px;
}

.hero-copy-wrap,
.hero-media {
    min-width: 0;
}

.hero-copy-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    width: min(100%, 560px);
}

.hero-copy > * {
    margin: 0;
}

.hero-copy h1 {
    max-width: 8.6ch;
    margin: 0;
    font-size: clamp(54px, 6.7vw, 82px);
    line-height: 0.9;
}

.hero-copy p {
    max-width: 500px;
    font-size: 17px;
    line-height: 1.48;
}

.hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 6px;
    gap: 14px;
}

.hero-actions .button {
    min-height: 50px;
}

.hero-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.58);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease, filter 0.72s ease;
}

.hero-slide.is-active .hero-media img {
    transform: scale(1);
}

.hero-slide:not(.is-active) .hero-media img {
    transform: scale(1.03);
    filter: saturate(0.94) contrast(0.98);
}

.hero-slide--split .hero-slide-frame {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
    grid-template-areas: "copy media";
    align-items: stretch;
    gap: 28px;
    min-height: min(620px, calc(100svh - 118px));
    padding: 34px 44px 40px;
}

.hero-slider.has-controls .hero-slide--split .hero-slide-frame {
    padding-left: 72px;
    padding-right: 72px;
}

.hero-slide--split .hero-copy-wrap {
    grid-area: copy;
}

.hero-slide--split .hero-copy {
    width: min(100%, 520px);
}

.hero-slide--split .hero-media {
    grid-area: media;
}

.hero-slide--split .hero-media img {
    min-height: 0;
}

.hero-slide--full-bleed .hero-slide-frame {
    align-items: end;
    padding: clamp(28px, 4vw, 48px);
    min-height: clamp(640px, 80vh, 800px);
}

.hero-slider.has-controls .hero-slide--full-bleed .hero-slide-frame {
    padding-left: 72px;
    padding-right: 72px;
}

.hero-slide--full-bleed .hero-slide-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 14, 11, 0.84) 0%, rgba(20, 14, 11, 0.54) 42%, rgba(20, 14, 11, 0.18) 68%, rgba(20, 14, 11, 0.22) 100%),
        linear-gradient(180deg, rgba(20, 14, 11, 0.08) 0%, rgba(20, 14, 11, 0.32) 100%);
    z-index: 1;
}

.hero-slide--full-bleed .hero-media,
.hero-slide--full-bleed .hero-copy-wrap {
    grid-area: 1 / 1;
}

.hero-slide--full-bleed .hero-media {
    border-radius: 0;
    background: #1d1814;
}

.hero-slide--full-bleed .hero-media img {
    min-height: clamp(640px, 80vh, 800px);
}

.hero-slide--full-bleed .hero-copy-wrap {
    align-items: end;
    padding-right: min(18vw, 220px);
}

.hero-slide--full-bleed .hero-copy {
    width: min(100%, 620px);
    color: #fff;
}

.hero-slide--full-bleed .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(52px, 6vw, 76px);
    line-height: 0.92;
}

.hero-slide--full-bleed .hero-copy p {
    max-width: 32rem;
}

.hero-slide--full-bleed .hero-copy p {
    color: rgba(255, 255, 255, 0.82);
}

.hero-slide--full-bleed .eyebrow {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
}

.hero-slide--full-bleed .button-dark {
    background: #fff;
    color: var(--ink);
}

.hero-slide--full-bleed .button-light {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.hero-dots {
    position: absolute;
    left: 72px;
    bottom: 28px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(29, 24, 20, 0.18);
    transition: transform 0.24s ease, background 0.24s ease;
}

.hero-dots button.is-active {
    background: var(--ink);
    transform: scale(1.08);
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(29, 24, 20, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    box-shadow: 0 12px 30px rgba(29, 24, 20, 0.12);
    transform: translateY(-50%);
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.hero-nav:hover {
    background: #fff;
    border-color: rgba(29, 24, 20, 0.2);
    transform: translateY(-50%) scale(1.02);
}

.hero-nav:focus-visible {
    outline: 2px solid rgba(29, 24, 20, 0.55);
    outline-offset: 3px;
}

.hero-nav span {
    font-size: 30px;
    line-height: 1;
}

.hero-nav--prev {
    left: 20px;
}

.hero-nav--next {
    right: 20px;
}

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

.section-head a {
    color: var(--accent);
}

.category-grid,
.product-grid,
.location-grid,
.footer-grid,
.admin-stat-grid,
.admin-two-column,
.store-layout,
.brand-grid,
.checkout-layout,
.success-grid,
.admin-grid,
.admin-check-grid,
.marketplace-grid,
.admin-media-grid {
    display: grid;
    gap: 24px;
}

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

.category-card,
.product-card,
.location-card,
.admin-card,
.success-card,
.store-item,
.store-details,
.checkout-summary {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.category-card {
    overflow: hidden;
}

.category-card img {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
}

.category-card div {
    padding: 18px 20px 22px;
}

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

.product-card {
    overflow: hidden;
}

.product-card-image img {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 20px;
}

.product-flags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.product-flags span {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-card-title {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
    font-family: "Cormorant Garamond", Georgia, serif;
}

.product-card-category {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--muted);
}

.product-price-list {
    display: grid;
    gap: 8px;
}

.product-price-list div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.product-price-list span {
    font-size: 14px;
    color: var(--muted);
}

.brand-section {
    position: relative;
}

.brand-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
}

.brand-image-stack {
    position: relative;
    min-height: 560px;
}

.brand-image-stack img:first-child {
    width: min(78%, 460px);
    margin-left: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.brand-image-stack img:last-child {
    position: absolute;
    left: 0;
    bottom: 24px;
    width: min(42%, 250px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

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

.location-card,
.store-item,
.store-details,
.success-card,
.checkout-summary,
.admin-card {
    padding: 24px;
}

.location-card ul,
.footer-list,
.admin-detail-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.prose-block,
.prose-page {
    padding: 28px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.prose-block h2,
.prose-page h2 {
    margin-top: 24px;
}

.faq-list details {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

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

.product-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: start;
}

.product-hero-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
}

.product-hero-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-thumbs button {
    padding: 0;
    border: 1px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: none;
}

.product-thumbs button.is-active {
    border-color: var(--ink);
}

.product-thumbs img {
    aspect-ratio: 1;
    object-fit: cover;
}

.product-summary {
    position: sticky;
    top: 108px;
}

.product-price-box,
.note-box,
.cart-item,
.flash-message {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.product-price-box {
    padding: 22px;
    margin: 24px 0;
    background: rgba(255, 255, 255, 0.75);
}

.site-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.site-price strong {
    font-size: 36px;
}

.site-price-meta,
.variant-options,
.purchase-form,
.store-meta,
.cart-list,
.checkout-form,
.summary-stack,
.admin-form,
.admin-nav,
.admin-media-card,
.admin-stat-card,
.admin-sidebar,
.flash-message ul {
    display: grid;
    gap: 14px;
}

.site-price-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.site-price-meta .is-low-stock {
    color: #8f2f22;
    font-weight: 700;
}

.site-price-meta .is-empty-stock {
    color: rgba(29, 24, 20, 0.48);
    font-weight: 700;
}

.marketplace-offers {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.marketplace-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(233, 224, 216, 0.6);
}

.marketplace-offer a {
    color: var(--accent);
}

.variant-group {
    margin-bottom: 18px;
}

.variant-options {
    grid-template-columns: repeat(auto-fit, minmax(90px, max-content));
    margin-top: 8px;
}

.variant-options button {
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: none;
}

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

.variant-options button:disabled,
.variant-options button.is-disabled {
    cursor: not-allowed;
    opacity: 0.42;
    text-decoration: line-through;
}

.purchase-form button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.purchase-form {
    margin: 24px 0;
}

.purchase-form label,
.catalog-filters label,
.checkout-form label,
.admin-form label,
.marketplace-box label {
    display: grid;
    gap: 8px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

textarea {
    resize: vertical;
}

.note-box {
    padding: 16px 18px;
    background: rgba(231, 217, 207, 0.55);
    color: var(--ink);
}

.product-copy section {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.catalog-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
}

.catalog-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(140px, 1fr)) auto;
    gap: 12px;
}

.catalog-search-field {
    min-width: 0;
}

.empty-state {
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--line);
    color: var(--muted);
}

.store-layout {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
}

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

.store-list h1 {
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 0.95;
    max-width: 10ch;
}

.store-item {
    display: grid;
    gap: 6px;
    align-content: start;
}

.store-item strong,
.store-item span,
.store-item small {
    display: block;
    overflow-wrap: anywhere;
}

.store-item strong {
    font-size: 20px;
}

.store-item span {
    color: var(--ink);
}

.store-item.is-active {
    border-color: var(--accent);
    background: rgba(231, 217, 207, 0.55);
}

.store-item small {
    color: var(--muted);
}

.store-details > h2 {
    font-size: clamp(28px, 3.4vw, 42px);
}

.store-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.store-meta-card {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.store-meta-card span {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.store-meta-card strong {
    font-size: 16px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.store-meta-card small {
    color: var(--muted);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.store-gallery {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.store-gallery-main {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.75);
}

.store-gallery-main img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.store-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
}

.store-gallery-thumbs button {
    padding: 0;
    border: 1px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: none;
}

.store-gallery-thumbs button.is-active {
    border-color: var(--ink);
}

.store-gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.map-embed iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: var(--radius-md);
}

.map-embed {
    display: grid;
    gap: 12px;
}

.map-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    background: rgba(255, 255, 255, 0.84);
}

.cart-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
}

.cart-item-price {
    font-size: 20px;
    font-weight: 700;
}

.checkout-bar {
    margin-top: 22px;
    padding: 20px 0 0;
}

.checkout-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.checkout-summary {
    position: sticky;
    top: 110px;
}

.summary-row,
.summary-total {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.summary-total {
    border-bottom: 0;
}

.success-card {
    max-width: 900px;
    margin: 0 auto;
}

.success-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    font-size: 14px;
    color: var(--muted);
}

.flash-message {
    margin: 18px 0 0;
    padding: 14px 18px;
}

.flash-success {
    background: var(--success);
}

.flash-error {
    background: var(--error);
}

.site-footer {
    padding: 48px 0 30px;
    background: rgba(29, 24, 20, 0.96);
    color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.84);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(720px, calc(100vw - 48px));
    padding: 20px;
    border: 1px solid rgba(29, 24, 20, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 28px 80px rgba(29, 24, 20, 0.18);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__text {
    display: grid;
    gap: 6px;
}

.cookie-consent__text strong {
    font-size: 17px;
}

.cookie-consent__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.cookie-consent__actions a {
    color: var(--accent);
}

.form-consent-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.form-consent-note a {
    color: var(--accent);
}

.requisites-card {
    margin-top: 28px;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 70px rgba(29, 24, 20, 0.08);
}

.requisites-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.requisites-list div {
    display: grid;
    grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(29, 24, 20, 0.08);
}

.requisites-list div:last-child {
    border-bottom: 0;
}

.requisites-list dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.requisites-list dd {
    margin: 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.checkout-consent {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(29, 24, 20, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.5;
}

.checkout-consent input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    padding: 0;
    accent-color: var(--ink);
}

.checkout-consent a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.admin-body,
.admin-login-body {
    background: linear-gradient(180deg, #efe8de 0%, #f7f4ef 100%);
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    align-content: start;
    padding: 28px;
    min-height: 100vh;
    background: rgba(29, 24, 20, 0.96);
    color: rgba(255, 255, 255, 0.88);
}

.admin-logo {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
}

.admin-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.admin-content {
    padding: 28px;
}

.admin-page-head {
    margin-bottom: 22px;
}

.admin-page-head.compact {
    margin-bottom: 14px;
}

.admin-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.admin-stat-card strong {
    font-size: 40px;
}

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

.admin-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    text-align: left;
    color: var(--muted);
}

.admin-table th,
.admin-table td {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-actions-cell {
    justify-content: end;
}

.admin-actions-cell form {
    display: inline;
}

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

.admin-grid-span-2 {
    grid-column: span 2;
}

.admin-check-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-form {
    gap: 18px;
}

.marketplace-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.marketplace-box {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
}

.admin-subcard {
    margin-top: 20px;
}

.admin-media-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 20px;
}

.admin-media-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.64);
}

.admin-media-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
}

.admin-media-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
}

.admin-media-path {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(29, 24, 20, 0.05);
    font-size: 12px;
    line-height: 1.45;
    color: rgba(29, 24, 20, 0.72);
    overflow-wrap: anywhere;
}

.admin-pagination,
.admin-table-wrap + .admin-pagination {
    margin-top: 18px;
}

.summary-stack {
    gap: 6px;
    font-size: 14px;
}

.admin-detail-list {
    gap: 10px;
}

.admin-login-card {
    width: min(520px, calc(100vw - 40px));
    margin: 12vh auto;
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.admin-login-card h1 {
    font-size: clamp(40px, 4.6vw, 58px);
    line-height: 0.9;
    max-width: 10.5ch;
    margin-bottom: 22px;
}

.admin-login-card .flash-message {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .brand-grid,
    .product-layout,
    .checkout-layout,
    .store-layout,
    .admin-shell,
    .admin-order-layout {
        grid-template-columns: 1fr;
    }

    .product-summary,
    .checkout-summary,
    .admin-sidebar {
        position: static;
    }

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

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

    .category-grid,
    .location-grid,
    .footer-grid,
    .admin-two-column,
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-head,
    .catalog-filters {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        padding: 18px;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-main {
        min-height: 64px;
        gap: 16px;
    }

    .site-logo {
        width: 156px;
        height: 44px;
    }

    .header-search-panel {
        top: calc(100% + 8px);
        width: min(420px, calc(100vw - 40px));
    }

    .hero-slide {
        transform: translateY(12px);
    }

    .hero-slider.has-controls .hero-slide-frame {
        padding-left: 56px;
        padding-right: 56px;
    }

    .hero-slider.has-dots .hero-slide-frame {
        padding-bottom: 82px;
    }

    .hero-slide--split .hero-slide-frame {
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "copy";
        min-height: auto;
    }

    .hero-slider.has-controls .hero-slide--split .hero-slide-frame,
    .hero-slider.has-controls .hero-slide--full-bleed .hero-slide-frame {
        padding-left: 56px;
        padding-right: 56px;
    }

    .hero-slide--split .hero-media img {
        min-height: 0;
        aspect-ratio: 5 / 4;
    }

    .hero-slide--full-bleed .hero-slide-frame,
    .hero-slide--full-bleed .hero-media img {
        min-height: clamp(580px, 78svh, 720px);
    }

    .hero-slide--full-bleed .hero-copy-wrap {
        padding-right: min(14vw, 120px);
    }

    .hero-dots {
        left: 56px;
    }

    .hero-nav {
        width: 46px;
        height: 46px;
    }

    .hero-nav--prev {
        left: 10px;
    }

    .hero-nav--next {
        right: 10px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100vw - 24px, 100%);
    }

    .header-top {
        display: none;
    }

    .header-main {
        min-height: 60px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-link {
        display: none;
    }

    .site-logo {
        width: 138px;
        height: 38px;
    }

    .header-icon-button {
        width: 38px;
        height: 38px;
    }

    .header-cart {
        padding: 9px 12px;
    }

    .header-cart span {
        width: 20px;
        height: 20px;
    }

    .header-search-panel {
        left: 0;
        right: 0;
        width: auto;
        top: calc(100% + 8px);
        padding: 12px;
    }

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

    .header-search-form .button {
        width: 100%;
    }

    .hero-slider {
        border-radius: var(--radius-lg);
    }

    .hero-slider.has-controls .hero-slide-frame {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-slide {
        transform: translateY(10px);
    }

    .hero-slider.has-dots .hero-slide-frame {
        padding-bottom: 86px;
    }

    .hero-copy {
        width: 100%;
        gap: 14px;
    }

    .hero-copy h1 {
        max-width: 12ch;
        font-size: clamp(38px, 12vw, 58px);
    }

    .hero-copy p {
        max-width: none;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-slide--split .hero-slide-frame {
        gap: 18px;
        padding: 18px;
    }

    .hero-slider.has-controls .hero-slide--split .hero-slide-frame,
    .hero-slider.has-controls .hero-slide--full-bleed .hero-slide-frame {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-slide--split .hero-media {
        border-radius: calc(var(--radius-lg) - 6px);
    }

    .hero-slide--split .hero-media img {
        aspect-ratio: 6 / 7;
    }

    .hero-slide--split .hero-copy-wrap {
        padding: 0 4px 4px;
    }

    .hero-slide--full-bleed .hero-slide-frame {
        padding: 20px;
        min-height: clamp(540px, 72svh, 660px);
    }

    .hero-slide--full-bleed .hero-slide-frame::after {
        background:
            linear-gradient(180deg, rgba(20, 14, 11, 0.12) 0%, rgba(20, 14, 11, 0.48) 44%, rgba(20, 14, 11, 0.86) 100%),
            linear-gradient(90deg, rgba(20, 14, 11, 0.08) 0%, rgba(20, 14, 11, 0.22) 100%);
    }

    .hero-slide--full-bleed .hero-media img {
        min-height: clamp(540px, 72svh, 660px);
    }

    .hero-slide--full-bleed .hero-copy-wrap {
        align-items: end;
        padding-right: 0;
    }

    .hero-slide--full-bleed .hero-copy {
        width: min(100%, 27rem);
    }

    .hero-dots {
        left: 20px;
        right: 128px;
        bottom: 20px;
        gap: 8px;
    }

    .hero-nav {
        top: auto;
        bottom: 14px;
        width: 42px;
        height: 42px;
        transform: none;
        background: rgba(255, 255, 255, 0.92);
    }

    .hero-nav:hover {
        transform: none;
    }

    .hero-nav span {
        font-size: 26px;
    }

    .hero-nav--prev {
        left: auto;
        right: 70px;
    }

    .hero-nav--next {
        right: 20px;
    }

    .product-grid,
    .category-grid,
    .location-grid,
    .footer-grid,
    .success-grid,
    .admin-grid,
    .admin-check-grid,
    .admin-stat-grid,
    .admin-two-column,
    .store-meta-grid {
        grid-template-columns: 1fr;
    }

    .admin-order-summary-grid,
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .brand-image-stack {
        min-height: 360px;
    }

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

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

    .cart-item img {
        max-width: 160px;
    }

    .requisites-list div {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 0;
    }

    .admin-content {
        padding: 18px 12px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-media img,
    .hero-dots button,
    .hero-nav,
    .header-icon-button,
    .header-search-panel {
        transition: none;
    }

    .hero-slide {
        transform: none;
    }
}

/* Admin UX refresh */
.admin-body {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 28%),
        linear-gradient(180deg, #f4ede2 0%, #f7f4ef 100%);
}

.admin-shell {
    grid-template-columns: 304px minmax(0, 1fr);
}

.admin-sidebar {
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar-inner {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px 22px 24px;
}

.admin-sidebar-brand {
    display: grid;
    gap: 12px;
}

.admin-sidebar-brand p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
}

.admin-logo {
    display: inline-flex;
    margin: 0;
    font-size: 34px;
    line-height: 0.9;
}

.admin-nav {
    gap: 10px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.82);
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
}

.admin-nav a.is-active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(143, 98, 77, 0.28));
    color: #fff;
}

.admin-sidebar-foot {
    margin-top: auto;
}

.admin-logout {
    width: 100%;
}

.admin-content {
    padding: 36px;
}

.admin-content-inner {
    width: min(1480px, 100%);
    margin: 0 auto;
}

.admin-content-inner > * + * {
    margin-top: 24px;
}

.admin-flash-stack {
    margin-bottom: 18px;
}

.admin-page-head {
    align-items: end;
    gap: 24px;
    margin-bottom: 0;
}

.admin-page-head h1,
.admin-page-title {
    font-size: clamp(34px, 3vw, 48px);
    line-height: 0.94;
    margin-bottom: 8px;
}

.admin-page-intro {
    max-width: 760px;
    font-size: 16px;
    margin: 0;
}

.admin-head-actions,
.admin-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    border: 1px solid rgba(29, 24, 20, 0.08);
    box-shadow: 0 28px 65px rgba(29, 24, 20, 0.08);
}

.admin-toolbar-card {
    overflow: hidden;
}

.admin-table-card {
    overflow: visible;
}

.admin-toolbar-form {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(180px, 0.8fr)) auto;
    gap: 16px;
    align-items: end;
}

.admin-toolbar-form-wide {
    grid-template-columns: minmax(280px, 1.6fr) repeat(2, minmax(180px, 0.8fr)) auto;
}

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

.admin-filter-field span {
    font-size: 13px;
    color: var(--muted);
}

.admin-data-table th {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(29, 24, 20, 0.56);
    white-space: nowrap;
}

.admin-data-table td {
    overflow-wrap: anywhere;
}

.admin-data-table th,
.admin-data-table td {
    vertical-align: top;
}

.admin-table th,
.admin-table td {
    padding: 18px 12px;
}

.admin-table th:first-child,
.admin-table td:first-child {
    padding-left: 0;
}

.admin-table th:last-child,
.admin-table td:last-child {
    padding-right: 0;
}

.admin-table tbody tr:hover {
    background: rgba(29, 24, 20, 0.02);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-location-table {
    min-width: 920px;
}

.admin-size-grid-index-table,
.admin-category-table,
.admin-page-table,
.admin-hero-slide-table,
.admin-menu-table,
.admin-import-table,
.admin-dashboard-order-table,
.admin-dashboard-import-table {
    table-layout: fixed;
}

.admin-size-grid-index-table {
    min-width: 980px;
}

.admin-category-table {
    min-width: 1000px;
}

.admin-page-table {
    min-width: 1040px;
}

.admin-hero-slide-table {
    min-width: 980px;
}

.admin-menu-table {
    min-width: 860px;
}

.admin-import-table {
    min-width: 1080px;
}

.admin-dashboard-order-table {
    min-width: 720px;
}

.admin-dashboard-import-table {
    min-width: 620px;
}

.admin-product-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
}

.admin-product-table th,
.admin-product-table td {
    padding: 16px 10px;
}

.admin-product-table th:first-child,
.admin-product-table td:first-child {
    padding-left: 0;
}

.admin-product-table th:last-child,
.admin-product-table td:last-child {
    padding-right: 0;
}

.admin-product-table th:nth-child(1),
.admin-product-table td:nth-child(1) {
    width: 32%;
}

.admin-product-table th:nth-child(2),
.admin-product-table td:nth-child(2) {
    width: 13%;
}

.admin-product-table th:nth-child(3),
.admin-product-table td:nth-child(3) {
    width: 19%;
}

.admin-product-table th:nth-child(4),
.admin-product-table td:nth-child(4) {
    width: 8%;
    text-align: center;
}

.admin-product-table th:nth-child(5),
.admin-product-table td:nth-child(5) {
    width: 10%;
}

.admin-product-table th:nth-child(6),
.admin-product-table td:nth-child(6) {
    width: 12%;
}

.admin-product-table th:nth-child(7),
.admin-product-table td:nth-child(7) {
    width: 6%;
}

.admin-product-table .admin-actions-cell {
    min-width: 0;
}

.admin-order-table {
    min-width: 1040px;
    table-layout: fixed;
}

.admin-order-table th,
.admin-order-table td {
    padding-left: 12px;
    padding-right: 12px;
}

.admin-order-table th:first-child,
.admin-order-table td:first-child {
    padding-left: 0;
}

.admin-order-table th:last-child,
.admin-order-table td:last-child {
    padding-right: 0;
}

.admin-order-table th:nth-child(1),
.admin-order-table td:nth-child(1) {
    width: 13%;
}

.admin-order-table th:nth-child(2),
.admin-order-table td:nth-child(2) {
    width: 22%;
}

.admin-order-table th:nth-child(3),
.admin-order-table td:nth-child(3) {
    width: 22%;
}

.admin-order-table th:nth-child(4),
.admin-order-table td:nth-child(4) {
    width: 11%;
}

.admin-order-table th:nth-child(5),
.admin-order-table td:nth-child(5) {
    width: 13%;
}

.admin-order-table th:nth-child(6),
.admin-order-table td:nth-child(6) {
    width: 12%;
}

.admin-order-table th:nth-child(7),
.admin-order-table td:nth-child(7) {
    width: 7%;
}

.admin-order-items-table {
    min-width: 760px;
    table-layout: fixed;
}

.admin-order-items-table th,
.admin-order-items-table td {
    padding-left: 12px;
    padding-right: 12px;
}

.admin-order-items-table th:first-child,
.admin-order-items-table td:first-child {
    padding-left: 0;
}

.admin-order-items-table th:last-child,
.admin-order-items-table td:last-child {
    padding-right: 0;
}

.admin-order-items-table th:nth-child(1),
.admin-order-items-table td:nth-child(1) {
    width: 42%;
}

.admin-order-items-table th:nth-child(2),
.admin-order-items-table td:nth-child(2) {
    width: 20%;
}

.admin-order-items-table th:nth-child(3),
.admin-order-items-table td:nth-child(3) {
    width: 16%;
}

.admin-order-items-table th:nth-child(4),
.admin-order-items-table td:nth-child(4) {
    width: 10%;
    text-align: center;
}

.admin-order-items-table th:nth-child(5),
.admin-order-items-table td:nth-child(5) {
    width: 12%;
    text-align: right;
}

.admin-location-table th:nth-child(1),
.admin-location-table td:nth-child(1) {
    width: 24%;
}

.admin-location-table th:nth-child(2),
.admin-location-table td:nth-child(2) {
    width: 34%;
}

.admin-location-table th:nth-child(3),
.admin-location-table td:nth-child(3) {
    width: 18%;
}

.admin-location-table th:nth-child(4),
.admin-location-table td:nth-child(4) {
    width: 12%;
}

.admin-size-grid-index-table th:nth-child(1),
.admin-size-grid-index-table td:nth-child(1) {
    width: 27%;
}

.admin-size-grid-index-table th:nth-child(2),
.admin-size-grid-index-table td:nth-child(2),
.admin-size-grid-index-table th:nth-child(3),
.admin-size-grid-index-table td:nth-child(3) {
    width: 9%;
    text-align: center;
}

.admin-size-grid-index-table th:nth-child(4),
.admin-size-grid-index-table td:nth-child(4) {
    width: 25%;
}

.admin-size-grid-index-table th:nth-child(5),
.admin-size-grid-index-table td:nth-child(5) {
    width: 12%;
}

.admin-size-grid-index-table th:nth-child(6),
.admin-size-grid-index-table td:nth-child(6) {
    width: 18%;
}

.admin-category-table th:nth-child(1),
.admin-category-table td:nth-child(1) {
    width: 26%;
}

.admin-category-table th:nth-child(2),
.admin-category-table td:nth-child(2) {
    width: 18%;
}

.admin-category-table th:nth-child(3),
.admin-category-table td:nth-child(3) {
    width: 22%;
}

.admin-category-table th:nth-child(4),
.admin-category-table td:nth-child(4) {
    width: 8%;
    text-align: center;
}

.admin-category-table th:nth-child(5),
.admin-category-table td:nth-child(5) {
    width: 10%;
}

.admin-category-table th:nth-child(6),
.admin-category-table td:nth-child(6) {
    width: 16%;
}

.admin-page-table th:nth-child(1),
.admin-page-table td:nth-child(1) {
    width: 28%;
}

.admin-page-table th:nth-child(2),
.admin-page-table td:nth-child(2) {
    width: 18%;
}

.admin-page-table th:nth-child(3),
.admin-page-table td:nth-child(3) {
    width: 8%;
    text-align: center;
}

.admin-page-table th:nth-child(4),
.admin-page-table td:nth-child(4) {
    width: 14%;
}

.admin-page-table th:nth-child(5),
.admin-page-table td:nth-child(5) {
    width: 14%;
}

.admin-page-table th:nth-child(6),
.admin-page-table td:nth-child(6) {
    width: 18%;
}

.admin-hero-slide-table th:nth-child(1),
.admin-hero-slide-table td:nth-child(1) {
    width: 32%;
}

.admin-hero-slide-table th:nth-child(2),
.admin-hero-slide-table td:nth-child(2) {
    width: 12%;
}

.admin-hero-slide-table th:nth-child(3),
.admin-hero-slide-table td:nth-child(3) {
    width: 25%;
}

.admin-hero-slide-table th:nth-child(4),
.admin-hero-slide-table td:nth-child(4) {
    width: 8%;
    text-align: center;
}

.admin-hero-slide-table th:nth-child(5),
.admin-hero-slide-table td:nth-child(5) {
    width: 13%;
}

.admin-hero-slide-table th:nth-child(6),
.admin-hero-slide-table td:nth-child(6) {
    width: 10%;
}

.admin-hero-slide-table th,
.admin-hero-slide-table td {
    padding-top: 14px;
    padding-bottom: 14px;
}

.admin-hero-slide-table .admin-table-thumb-landscape {
    width: 96px;
    height: 62px;
    border-radius: 14px;
}

.admin-slide-table-cell {
    align-items: center;
}

.admin-menu-table th:nth-child(1),
.admin-menu-table td:nth-child(1) {
    width: 28%;
}

.admin-menu-table th:nth-child(2),
.admin-menu-table td:nth-child(2) {
    width: 34%;
}

.admin-menu-table th:nth-child(3),
.admin-menu-table td:nth-child(3) {
    width: 14%;
}

.admin-menu-table th:nth-child(4),
.admin-menu-table td:nth-child(4) {
    width: 24%;
}

.admin-import-table th:nth-child(1),
.admin-import-table td:nth-child(1) {
    width: 27%;
}

.admin-import-table th:nth-child(2),
.admin-import-table td:nth-child(2) {
    width: 8%;
}

.admin-import-table th:nth-child(3),
.admin-import-table td:nth-child(3) {
    width: 12%;
}

.admin-import-table th:nth-child(4),
.admin-import-table td:nth-child(4) {
    width: 37%;
}

.admin-import-table th:nth-child(5),
.admin-import-table td:nth-child(5) {
    width: 16%;
}

.admin-dashboard-order-table th:nth-child(1),
.admin-dashboard-order-table td:nth-child(1) {
    width: 28%;
}

.admin-dashboard-order-table th:nth-child(2),
.admin-dashboard-order-table td:nth-child(2) {
    width: 28%;
}

.admin-dashboard-order-table th:nth-child(3),
.admin-dashboard-order-table td:nth-child(3) {
    width: 22%;
}

.admin-dashboard-order-table th:nth-child(4),
.admin-dashboard-order-table td:nth-child(4) {
    width: 22%;
}

.admin-dashboard-import-table th:nth-child(1),
.admin-dashboard-import-table td:nth-child(1) {
    width: 46%;
}

.admin-dashboard-import-table th:nth-child(2),
.admin-dashboard-import-table td:nth-child(2) {
    width: 24%;
}

.admin-dashboard-import-table th:nth-child(3),
.admin-dashboard-import-table td:nth-child(3) {
    width: 30%;
}

.admin-menu-manager {
    display: grid;
    gap: 22px;
}

.admin-menu-board {
    display: grid;
    gap: 14px;
}

.admin-menu-item-card {
    padding: 20px;
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px rgba(29, 24, 20, 0.05);
}

.admin-menu-item-card.is-child {
    border-radius: 20px;
    background: rgba(29, 24, 20, 0.025);
    box-shadow: none;
}

.admin-menu-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(290px, auto);
    gap: 18px;
    align-items: center;
}

.admin-menu-main {
    min-width: 0;
}

.admin-menu-title-row,
.admin-menu-state,
.admin-menu-controls,
.admin-menu-move,
.admin-menu-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-menu-title-row {
    margin-bottom: 8px;
}

.admin-menu-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.02;
}

.admin-menu-level,
.admin-menu-order {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-menu-level {
    background: rgba(29, 24, 20, 0.08);
    color: rgba(29, 24, 20, 0.7);
}

.admin-menu-order {
    background: rgba(143, 98, 77, 0.1);
    color: var(--accent);
}

.admin-menu-path {
    display: inline-flex;
    max-width: 100%;
    padding: 8px 11px;
    border-radius: 12px;
    background: rgba(29, 24, 20, 0.045);
    color: rgba(29, 24, 20, 0.72);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.admin-menu-path:hover {
    color: var(--ink);
    background: rgba(29, 24, 20, 0.075);
}

.admin-menu-state {
    justify-content: flex-start;
}

.admin-menu-controls {
    justify-content: flex-end;
}

.admin-menu-move {
    padding: 5px;
    border-radius: 999px;
    background: rgba(29, 24, 20, 0.035);
}

.admin-menu-move form,
.admin-menu-actions form {
    display: inline-flex;
}

.admin-compact-button {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 13px;
}

.admin-compact-button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}

.admin-menu-actions {
    justify-content: flex-end;
}

.admin-menu-children {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    margin-left: 26px;
    padding-left: 18px;
    border-left: 1px solid rgba(29, 24, 20, 0.12);
}

.admin-slide-manager {
    display: grid;
    gap: 22px;
}

.admin-slide-list {
    display: grid;
    gap: 16px;
}

.admin-slide-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(180px, auto);
    gap: 22px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 42px rgba(29, 24, 20, 0.055);
}

.admin-slide-preview {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    background: rgba(29, 24, 20, 0.06);
}

.admin-slide-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-slide-content {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.admin-slide-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-slide-order {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(143, 98, 77, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-slide-title {
    margin: 0;
    font-size: clamp(24px, 2.25vw, 34px);
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.admin-slide-subtitle {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.admin-slide-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 4px;
}

.admin-slide-cta {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(29, 24, 20, 0.035);
}

.admin-slide-cta span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-slide-cta strong {
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.admin-slide-cta small {
    color: rgba(29, 24, 20, 0.58);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

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

.admin-slide-actions form {
    display: inline-flex;
}

.admin-slide-actions .button {
    white-space: nowrap;
}

.admin-table-text-cell {
    max-width: 360px;
    line-height: 1.45;
    color: rgba(29, 24, 20, 0.78);
    overflow-wrap: anywhere;
}

.admin-list-primary {
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.admin-list-secondary {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-badge.is-active {
    background: rgba(91, 143, 91, 0.12);
    color: #27622d;
}

.admin-badge.is-muted {
    background: rgba(29, 24, 20, 0.08);
    color: rgba(29, 24, 20, 0.64);
}

.admin-badge.is-warning {
    background: rgba(174, 120, 43, 0.14);
    color: #755016;
}

.admin-badge.is-danger {
    background: rgba(166, 58, 43, 0.12);
    color: #8f2f22;
}

.admin-badge.is-accent {
    background: rgba(29, 24, 20, 0.1);
    color: var(--ink);
}

.admin-order-number {
    display: inline-flex;
    font-weight: 700;
    color: var(--ink);
}

.admin-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.admin-order-summary-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(29, 24, 20, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 40px rgba(29, 24, 20, 0.05);
}

.admin-order-summary-card span {
    font-size: 13px;
    color: var(--muted);
}

.admin-order-summary-card strong {
    font-size: 24px;
    line-height: 1.15;
}

.admin-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 420px);
    gap: 24px;
    align-items: start;
}

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

.admin-detail-grid div {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(29, 24, 20, 0.035);
}

.admin-detail-grid dt {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-detail-grid dd {
    margin: 0;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.admin-detail-grid-wide {
    grid-column: 1 / -1;
}

.admin-product-cell {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.admin-product-cell > div:last-child {
    min-width: 0;
}

.admin-date-cell {
    display: grid;
    gap: 3px;
    line-height: 1.35;
    white-space: nowrap;
}

.admin-table-thumb {
    width: 74px;
    height: 92px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(29, 24, 20, 0.05);
}

.admin-table-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-table-thumb-landscape {
    width: 108px;
    height: 74px;
}

.admin-actions-cell {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    overflow: visible;
}

.admin-table td.admin-actions-cell {
    display: table-cell;
    text-align: right;
    vertical-align: top;
}

.admin-table td.admin-actions-cell .admin-row-actions {
    justify-content: flex-end;
}

.admin-actions-cell form {
    display: inline-flex;
}

.admin-row-actions {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    z-index: 5;
}

.admin-row-actions.is-open {
    z-index: 40;
}

.admin-row-actions-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(29, 24, 20, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(29, 24, 20, 0.06);
    transition: 0.2s ease;
}

.admin-row-actions-toggle:hover,
.admin-row-actions.is-open .admin-row-actions-toggle {
    border-color: rgba(29, 24, 20, 0.18);
    background: var(--ink);
    color: #fff;
}

.admin-row-actions-toggle span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.admin-row-actions-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    min-width: 190px;
    padding: 8px;
    border: 1px solid rgba(29, 24, 20, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(29, 24, 20, 0.16);
}

.admin-row-actions-menu.is-floating {
    position: fixed;
    right: auto;
    top: auto;
    z-index: 9999;
    display: grid;
    gap: 4px;
}

.admin-row-actions.is-open .admin-row-actions-menu {
    display: grid;
    gap: 4px;
}

.admin-data-table tbody tr:nth-last-child(-n + 2) .admin-row-actions-menu {
    top: auto;
    bottom: calc(100% + 8px);
}

.admin-row-actions-menu form {
    display: contents;
}

.admin-row-action-item {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.admin-row-action-item:hover {
    background: rgba(29, 24, 20, 0.06);
}

.admin-row-action-item.is-danger {
    color: var(--accent);
}

.admin-row-action-item.is-danger:hover {
    background: rgba(166, 58, 43, 0.1);
    color: #8f2f22;
}

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

.admin-edit-main,
.admin-edit-sidebar {
    display: grid;
    gap: 24px;
}

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

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

.admin-section-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: end;
}

.admin-section-head h2 {
    font-size: 28px;
    margin-bottom: 6px;
}

.admin-section-head p {
    margin: 0;
    font-size: 14px;
}

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

.admin-helper-box {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(143, 98, 77, 0.08);
    color: rgba(29, 24, 20, 0.76);
    line-height: 1.5;
}

.admin-field-hint {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.admin-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: 16px;
    background: rgba(29, 24, 20, 0.02);
}

.admin-switch span {
    font-weight: 600;
}

.admin-image-preview {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(29, 24, 20, 0.05);
}

.admin-image-preview img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.admin-image-preview-wide img {
    aspect-ratio: 16 / 9;
}

.admin-advanced-card {
    padding: 0;
}

.admin-collapsible-summary {
    cursor: pointer;
    padding: 22px 28px;
    font-weight: 700;
    list-style: none;
}

.admin-collapsible-summary::-webkit-details-marker {
    display: none;
}

.admin-advanced-card[open] {
    padding-bottom: 28px;
}

.admin-advanced-card[open] .admin-form {
    padding: 0 28px;
}

.admin-repeater {
    display: grid;
    gap: 16px;
}

.admin-repeater-list {
    display: grid;
    gap: 16px;
}

.admin-repeater-item {
    padding: 18px;
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: 22px;
    background: rgba(29, 24, 20, 0.02);
}

.admin-repeater-item-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

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

.admin-richtext-modebar,
.admin-richtext-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-richtext-modebar button,
.admin-richtext-toolbar button {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(29, 24, 20, 0.1);
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}

.admin-richtext-modebar button.is-active {
    background: var(--ink);
    color: #fff;
}

.admin-richtext-canvas,
.admin-richtext-source {
    min-height: 260px;
    padding: 18px;
    border: 1px solid rgba(29, 24, 20, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
}

.admin-richtext-canvas:focus,
.admin-richtext-source:focus {
    outline: 2px solid rgba(143, 98, 77, 0.24);
    outline-offset: 1px;
}

.admin-richtext-canvas:empty::before {
    content: attr(data-placeholder);
    color: rgba(29, 24, 20, 0.34);
}

.admin-richtext-source {
    display: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.admin-richtext.is-source-mode .admin-richtext-canvas,
.admin-richtext.is-source-mode .admin-richtext-toolbar {
    display: none;
}

.admin-richtext.is-source-mode .admin-richtext-source {
    display: block;
}

.admin-size-grid-builder {
    display: grid;
    gap: 16px;
}

.admin-size-grid-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-size-grid-editor {
    overflow-x: auto;
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: 22px;
    background: rgba(29, 24, 20, 0.02);
    padding: 18px;
}

.admin-size-grid-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.admin-size-grid-table th,
.admin-size-grid-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(29, 24, 20, 0.08);
    vertical-align: top;
}

.admin-size-grid-table th input,
.admin-size-grid-table td input {
    width: 100%;
}

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

.admin-variant-create-card {
    padding: 20px;
    border-radius: 24px;
    background: rgba(29, 24, 20, 0.03);
}

.admin-media-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

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

.admin-accordion-card {
    padding: 0;
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: 24px;
    background: rgba(29, 24, 20, 0.02);
}

.admin-accordion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 20px 22px;
    list-style: none;
}

.admin-accordion-summary::-webkit-details-marker {
    display: none;
}

.admin-accordion-body {
    padding: 0 22px 22px;
    display: grid;
    gap: 16px;
}

.admin-stack {
    display: grid;
    gap: 10px;
    font-size: 15px;
}

.admin-stat-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 26px;
    border: 1px solid rgba(29, 24, 20, 0.08);
    box-shadow: var(--shadow);
}

.admin-stat-card strong {
    display: block;
    margin-top: 14px;
    font-size: 44px;
}

.product-size-grid-block {
    margin-bottom: 18px;
}

.size-grid-disclosure {
    border: 1px solid rgba(29, 24, 20, 0.08);
    border-radius: 20px;
    background: rgba(29, 24, 20, 0.02);
    overflow: hidden;
}

.size-grid-disclosure summary {
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 700;
}

.size-grid-card {
    padding: 0 18px 18px;
}

.size-grid-copy {
    margin-bottom: 14px;
}

.size-grid-table-wrap {
    overflow-x: auto;
}

.size-grid-table {
    width: 100%;
    border-collapse: collapse;
}

.size-grid-table th,
.size-grid-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(29, 24, 20, 0.08);
    text-align: left;
}

.size-grid-table th {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(29, 24, 20, 0.56);
}

@media (max-width: 1180px) {
    .admin-shell {
        grid-template-columns: 256px minmax(0, 1fr);
    }

    .admin-toolbar-form,
    .admin-toolbar-form-wide {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    }

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

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

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

    .admin-menu-row {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .admin-menu-controls,
    .admin-menu-actions,
    .admin-slide-actions {
        justify-content: flex-start;
    }

    .admin-slide-card {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .admin-slide-actions {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        min-height: auto;
    }

    .admin-sidebar-inner {
        min-height: auto;
    }

    .admin-content {
        padding-top: 20px;
    }
}

@media (max-width: 760px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 20px;
    }

    .cookie-consent__actions {
        align-items: stretch;
        justify-content: space-between;
        white-space: normal;
    }

    .cookie-consent__actions .button {
        min-width: 132px;
    }

    .admin-content {
        padding: 18px 12px 28px;
    }

    .admin-card {
        padding: 20px;
        border-radius: 24px;
    }

    .admin-page-head {
        align-items: stretch;
    }

    .admin-toolbar-form,
    .admin-toolbar-form-wide,
    .admin-grid-4 {
        grid-template-columns: 1fr;
    }

    .admin-actions-cell,
    .admin-inline-actions {
        justify-content: start;
    }

    .admin-product-cell {
        align-items: start;
    }

    .admin-table-thumb {
        width: 60px;
        height: 78px;
    }

    .admin-table-thumb-landscape {
        width: 84px;
        height: 60px;
    }

    .admin-menu-item-card {
        padding: 16px;
        border-radius: 20px;
    }

    .admin-menu-children {
        margin-left: 0;
        padding-left: 12px;
    }

    .admin-menu-move,
    .admin-menu-actions {
        width: 100%;
    }

    .admin-menu-move form,
    .admin-menu-actions .button,
    .admin-menu-actions form {
        flex: 1 1 130px;
    }

    .admin-menu-move .button,
    .admin-menu-actions .button {
        width: 100%;
        justify-content: center;
    }

    .admin-slide-card {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 22px;
    }

    .admin-slide-actions {
        grid-column: auto;
        width: 100%;
    }

    .admin-slide-actions .button,
    .admin-slide-actions form {
        flex: 1 1 150px;
    }

    .admin-slide-actions .button {
        width: 100%;
        justify-content: center;
    }

    .admin-slide-cta-grid {
        grid-template-columns: 1fr;
    }
}
