:root {
    --champagne: #efe3d4;
    --champagne-deep: #dfc8a8;
    --gold: #c9aa5e;
    --gold-soft: #e3cf97;
    --button-brown: #755744;
    --button-brown-dark: #5f4738;
    --button-brown-soft: rgba(117, 87, 68, 0.14);
    --ink: #362b22;
    --ink-soft: #67584c;
    --plum: #5b4254;
    --ivory: #fbf7f1;
    --white: #ffffff;
    --line: rgba(90, 70, 45, 0.14);
    --shadow: 0 24px 60px rgba(66, 42, 17, 0.12);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(201, 170, 94, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(91, 66, 84, 0.12), transparent 24%),
        linear-gradient(180deg, #fffdf9 0%, var(--ivory) 54%, #f6efe4 100%);
}

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

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

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

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-shell {
    overflow: hidden;
}

.topbar {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.65);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.topbar-links,
.topbar-meta,
.nav-links,
.header-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-links {
    justify-content: flex-end;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(251, 247, 241, 0.88);
    border-bottom: 1px solid rgba(90, 70, 45, 0.08);
}

.owner-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(36, 27, 19, 0.1);
    box-shadow: 0 14px 30px rgba(59, 40, 16, 0.06);
}

.site-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
}

.owner-header-inner {
    grid-template-columns: auto 1fr;
    gap: 1.4rem;
    padding: 0.85rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-mark {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: contain;
    background: transparent;
    box-shadow: 0 12px 30px rgba(109, 81, 36, 0.18);
    flex-shrink: 0;
}

.owner-brand .brand-mark {
    width: 56px;
    height: 56px;
    box-shadow: 0 10px 22px rgba(109, 81, 36, 0.14);
}

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

.brand-name {
    display: block;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: var(--ink);
    line-height: 0.95;
}

.owner-brand .brand-name {
    font-size: 1.75rem;
}

.brand-tag {
    display: block;
    margin-top: 0.2rem;
    color: var(--ink-soft);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    font-style: italic;
    text-transform: none;
}

.owner-brand .brand-tag {
    font-size: 0.7rem;
}

.nav-links a,
.header-tools a {
    position: relative;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.nav-links a::after,
.header-tools a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.header-tools a:hover::after {
    transform: scaleX(1);
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.25rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.8rem;
}

.button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--button-brown) 0%, var(--button-brown-dark) 100%);
    color: var(--white);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 14px 28px rgba(95, 71, 56, 0.2);
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(95, 71, 56, 0.28);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.88);
    color: var(--button-brown);
    border-color: rgba(117, 87, 68, 0.24);
    box-shadow: 0 10px 22px rgba(95, 71, 56, 0.06);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.72);
    color: var(--button-brown);
    border-color: rgba(117, 87, 68, 0.16);
    box-shadow: 0 10px 22px rgba(95, 71, 56, 0.05);
}

.button.danger {
    background: linear-gradient(135deg, #a05a55 0%, #7f3e3a 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(127, 62, 58, 0.18);
}

.button.danger:hover {
    box-shadow: 0 18px 34px rgba(127, 62, 58, 0.24);
}

.button:disabled,
button:disabled,
input[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}

.main-content {
    padding: 1.2rem 0 4rem;
}

.message-list {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 0;
}

.message {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 170, 94, 0.32);
    background: rgba(255, 252, 247, 0.96);
    box-shadow: 0 18px 34px rgba(79, 61, 33, 0.07);
}

.section {
    margin-top: 2.4rem;
}

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

.eyebrow {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--plum);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5rem;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-weight: 400;
    line-height: 0.98;
}

h1 {
    font-size: clamp(2.6rem, 8vw, 5.6rem);
}

h2 {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
}

h3 {
    font-size: clamp(1.35rem, 3vw, 2rem);
}

p {
    margin: 0 0 1rem;
    line-height: 1.65;
}

.muted {
    color: var(--ink-soft);
}

.hero-grid,
.split-layout,
.detail-grid,
.checkout-grid,
.cart-layout,
.confirmation-grid {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.9fr);
    align-items: stretch;
}

.hero-panel,
.panel,
.table-wrap,
.editorial-card,
.promo-strip,
.stat-card,
.feature-card,
.category-card,
.story-card,
.checkout-form,
.summary-card,
.gallery-card {
    position: relative;
    border: 1px solid rgba(90, 70, 45, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
}

.hero-panel {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    padding: clamp(2rem, 4vw, 3rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 236, 223, 0.78)),
        radial-gradient(circle at top right, rgba(201, 170, 94, 0.28), transparent 36%);
}

.hero-panel-photo {
    isolation: isolate;
    background:
        radial-gradient(circle at center, rgba(201, 170, 94, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(255, 249, 241, 0.74) 0%, rgba(255, 249, 241, 0.42) 100%);
}

.hero-panel-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%, transparent 72%, rgba(255, 247, 235, 0.05));
    pointer-events: none;
}

.hero-photo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
}

.hero-photo img {
    width: auto;
    height: 82%;
    max-width: 82%;
    object-fit: contain;
    object-position: center center;
    filter: saturate(1.03) contrast(1.01) brightness(0.99) drop-shadow(0 18px 28px rgba(87, 58, 29, 0.12));
    opacity: 0.96;
    mask-image: radial-gradient(circle at center, black 68%, transparent 96%);
    -webkit-mask-image: radial-gradient(circle at center, black 68%, transparent 96%);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: auto -9rem -10rem auto;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 170, 94, 0.18), transparent 68%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(96%, 56rem);
    max-width: 56rem;
    margin-inline: auto;
    padding: 1.9rem 2rem;
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.58);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(87, 58, 29, 0.08);
}

.hero-actions,
.inline-actions,
.tag-list,
.logo-row,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-actions {
    margin: 1.5rem 0 2rem;
}

.hero-note-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.hero-note-list span {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--ink-soft);
}

.hero-note-list span::before {
    content: "";
    flex-shrink: 0;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.48rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #b88a3d);
}

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

.stat-card {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255, 249, 241, 0.82);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
}

.stat-value {
    display: block;
    margin-top: 0.25rem;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 2rem;
    color: var(--ink);
}

.hero-side {
    display: grid;
    gap: 1.5rem;
}

.story-card,
.panel,
.summary-card,
.editorial-card,
.gallery-card,
.checkout-form,
.table-wrap {
    padding: 1.5rem;
}

.story-card {
    overflow: hidden;
    background:
        linear-gradient(155deg, rgba(72, 52, 39, 0.98), rgba(109, 82, 57, 0.92));
    color: #f8eedf;
}

.story-card .muted,
.story-card .eyebrow {
    color: rgba(248, 238, 223, 0.76);
}

.feature-grid,
.categories-grid,
.products-grid,
.info-grid,
.kpi-grid {
    display: grid;
    gap: 1.15rem;
}

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

.feature-card {
    padding: 1.3rem;
    background: rgba(255, 255, 255, 0.76);
}

.kpi {
    padding: 1.3rem;
    border-radius: 24px;
    border: 1px solid rgba(90, 70, 45, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(239, 227, 212, 0.92));
    box-shadow: 0 20px 42px rgba(59, 40, 16, 0.08);
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    margin-bottom: 0.9rem;
    background: linear-gradient(135deg, rgba(201, 170, 94, 0.18), rgba(91, 66, 84, 0.18));
    color: var(--ink);
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.1rem;
}

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

.category-card {
    overflow: hidden;
    min-height: 260px;
    padding: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.94)),
        radial-gradient(circle at top right, rgba(201, 170, 94, 0.22), transparent 32%);
}

.category-card::after {
    content: "";
    position: absolute;
    right: -2.5rem;
    bottom: -2.5rem;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 66, 84, 0.12), transparent 70%);
}

.category-meta {
    position: relative;
    z-index: 1;
    max-width: 15rem;
}

.category-favicon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0.45rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 26px rgba(87, 58, 29, 0.08);
}

.category-favicon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-favicon i {
    color: var(--gold);
    font-size: 1.1rem;
}

.category-count {
    display: inline-flex;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.promo-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.promo-card {
    min-height: 260px;
    padding: 2rem;
    position: relative;
}

.promo-card:first-child {
    background:
        linear-gradient(135deg, rgba(63, 42, 30, 0.94), rgba(102, 76, 55, 0.92));
    color: #fbf2e6;
}

.promo-card:last-child {
    background:
        linear-gradient(135deg, rgba(238, 225, 202, 0.95), rgba(248, 244, 237, 0.98));
}

.promo-card::before {
    content: "";
    position: absolute;
    inset: auto 2rem 1.5rem auto;
    width: 8rem;
    height: 8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.card {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(90, 70, 45, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 48px rgba(59, 40, 16, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 54px rgba(59, 40, 16, 0.12);
}

.card-body {
    padding: 1.25rem;
}

.card-body h3 {
    margin-bottom: 0.7rem;
}

.product-card-meta,
.product-card-footer,
.shop-banner-head,
.shop-actions,
.field-head,
.product-title-row,
.detail-price-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.product-card-meta {
    margin-bottom: 0.9rem;
}

.product-stock,
.product-card-note,
.detail-tag,
.field-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid transparent;
}

.product-stock.in-stock,
.product-stock.in_stock {
    background: #efe5dc !important;
    border-color: transparent !important;
    color: var(--button-brown) !important;
}

.product-stock.out-of-stock,
.product-stock.out_of_stock {
    background: rgba(154, 67, 61, 0.12);
    color: #9a433d;
}

.product-stock.low-stock,
.product-stock.low_stock {
    background: rgba(255, 234, 191, 0.84);
    color: #8d6218;
}

.product-stock-note {
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.sold-out-note {
    color: #9a433d;
}

.product-card-note,
.detail-tag,
.field-meta {
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink-soft);
}

.field-meta.field-meta-required {
    background: rgba(255, 234, 191, 0.84);
    color: #8d6218;
}

.form-row.form-row-required {
    padding: 0.9rem 1rem 1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.82), rgba(255, 252, 247, 0.95));
    border: 1px solid rgba(201, 170, 94, 0.24);
    box-shadow: 0 12px 28px rgba(201, 170, 94, 0.08);
}

.form-row.form-row-required .field-head {
    margin-bottom: 0.6rem;
}

.field-input-required {
    border-color: rgba(201, 170, 94, 0.4);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(201, 170, 94, 0.12);
}

.field-input-required:focus {
    outline: none;
    border-color: rgba(201, 170, 94, 0.56);
    box-shadow: 0 0 0 4px rgba(201, 170, 94, 0.18);
}

.product-card-footer {
    align-items: end;
    margin-top: 1rem;
}

.product-card-footer .button {
    display: inline-grid;
    place-items: center;
    width: 142px;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.product-card-action-label {
    display: block;
    white-space: nowrap;
    text-align: center;
}

.product-price-note {
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

.product-card-media {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background:
        linear-gradient(140deg, rgba(223, 200, 168, 0.38), rgba(255, 255, 255, 0.85)),
        radial-gradient(circle at top, rgba(201, 170, 94, 0.28), transparent 36%);
    transition: transform 0.35s ease;
}

.card:hover .product-image,
.gallery-thumb:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--plum);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.price {
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.55rem;
    color: var(--ink);
}

.split-layout {
    grid-template-columns: 290px minmax(0, 1fr);
}

.sidebar-nav {
    display: grid;
    gap: 0.8rem;
}

.sidebar-link {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(90, 70, 45, 0.08);
    background: rgba(255, 255, 255, 0.68);
}

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(201, 170, 94, 0.2), rgba(223, 200, 168, 0.28));
    border-color: rgba(201, 170, 94, 0.28);
}

.shop-sidebar p {
    margin-bottom: 0;
}

.shop-banner {
    overflow: hidden;
    padding: 2rem;
    min-height: 240px;
    background:
        linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(239, 227, 212, 0.96)),
        radial-gradient(circle at right top, rgba(201, 170, 94, 0.2), transparent 32%);
}

.shop-banner-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    min-width: 220px;
}

.shop-stat {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.shop-stat strong {
    display: block;
    margin-top: 0.2rem;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.8rem;
}

.shop-stat-label {
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shop-tools {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin: 1.3rem 0 1rem;
}

.shop-summary-copy {
    max-width: 38rem;
}

.empty-state-panel {
    padding: 1.75rem;
    border-radius: 24px;
    border: 1px dashed rgba(90, 70, 45, 0.18);
    background: rgba(255, 255, 255, 0.66);
}

.detail-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
}

.product-gallery-card,
.product-detail-card,
.product-support-card {
    overflow: hidden;
}

.product-support-card-wide {
    padding: 2rem;
}

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

.product-support-grid p {
    margin: 0;
}

.gallery-caption {
    margin-top: 1rem;
    margin-bottom: 0;
}

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

.gallery-thumb {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.product-panel {
    display: grid;
    gap: 1rem;
}

.product-title-row {
    align-items: start;
}

.product-short-copy {
    max-width: 38rem;
    font-size: 1.05rem;
    color: var(--ink-soft);
}

.detail-price-row {
    align-items: end;
    margin-top: 1rem;
}

.detail-tags {
    margin-top: 1rem;
}

.product-purchase-form {
    justify-content: flex-start;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

.product-purchase-form > .button,
.product-purchase-form > button {
    align-self: flex-end;
    margin-bottom: 0;
}

.product-quantity-field {
    min-width: 120px;
    display: grid;
    gap: 0.45rem;
}

.product-quantity-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.quantity-step-button {
    min-height: 44px;
    width: 44px;
    padding: 0;
    border-radius: 14px;
    flex-shrink: 0;
}

.quantity-step-input {
    width: 76px;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(90, 70, 45, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.quantity-step-input::-webkit-outer-spin-button,
.quantity-step-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-step-input[type="number"] {
    -moz-appearance: textfield;
}

.product-unavailable-message {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(154, 67, 61, 0.08);
    color: #8c3d37;
}

.product-low-stock-message {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 234, 191, 0.55);
    color: #7b5818;
}

.product-meta-list,
.summary-list,
.mini-list {
    display: grid;
    gap: 0.9rem;
}

.meta-row,
.summary-row,
.mini-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.cart-layout,
.checkout-grid,
.confirmation-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
    align-items: start;
}

.table-wrap {
    overflow: hidden;
}

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

th,
td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid rgba(90, 70, 45, 0.08);
    text-align: left;
    vertical-align: top;
}

thead th {
    color: var(--ink-soft);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cart-product {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.cart-thumb {
    width: 70px;
    height: 86px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.quantity-form,
.inline-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.quantity-form {
    gap: 0.35rem;
}

.quantity-button {
    min-height: 42px;
    width: 42px;
    padding: 0;
    border-radius: 14px;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: none;
}

.cart-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(90, 70, 45, 0.08);
}

.cart-product-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.cart-product-copy a {
    color: var(--ink);
}

.cart-line-meta {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1rem;
    align-items: center;
}

.cart-line-stat {
    display: grid;
    gap: 0.2rem;
}

.cart-line-label {
    color: var(--ink-soft);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cart-line-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
}

.cart-remove-button {
    border: 1px solid rgba(117, 87, 68, 0.18);
    background: #fff;
    color: var(--button-brown);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 14px;
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cart-remove-button:hover,
.cart-remove-button:focus-visible {
    background: rgba(117, 87, 68, 0.08);
    border-color: rgba(117, 87, 68, 0.28);
    outline: none;
}

.quantity-form input {
    width: 72px;
    min-height: 42px;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(90, 70, 45, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.quantity-form input::-webkit-outer-spin-button,
.quantity-form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-form input[type="number"] {
    -moz-appearance: textfield;
}

.checkout-form {
    display: block;
}

.checkout-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.checkout-location-card {
    margin-top: 1.4rem;
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 227, 212, 0.76));
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.checkout-location-search {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    padding: 0.2rem 0.2rem 0.2rem 0.95rem;
    margin-top: 0.5rem;
    border-radius: 20px;
    border: 1px solid rgba(90, 70, 45, 0.14);
    background: rgba(255, 255, 255, 0.96);
}

.checkout-location-search i {
    color: var(--button-brown);
    font-size: 1rem;
}

.checkout-location-search input {
    border: none;
    background: transparent;
    min-height: 48px;
    padding-left: 0;
    box-shadow: none;
}

.checkout-location-search input:focus {
    outline: none;
}

.checkout-location-results {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.checkout-location-option {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    min-height: auto;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(90, 70, 45, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    box-shadow: none;
}

.checkout-location-option strong {
    display: block;
    width: 100%;
    font-size: 0.98rem;
    text-align: left;
}

.checkout-location-option span {
    display: block;
    width: 100%;
    color: var(--ink-soft);
    font-size: 0.88rem;
    text-align: left;
}

.checkout-location-option:hover,
.checkout-location-option:focus-visible {
    border-color: rgba(117, 87, 68, 0.24);
    background: rgba(239, 229, 220, 0.55);
    outline: none;
    transform: translateY(-1px);
}

.checkout-note-card {
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(239, 227, 212, 0.82));
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.checkout-note-card strong {
    display: block;
    margin: 0.35rem 0;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.7rem;
}

.checkout-note-label {
    color: var(--plum);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

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

.form-row {
    margin: 0;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ink);
}

.field-head {
    margin-bottom: 0.45rem;
    align-items: baseline;
}

.field-head label {
    margin-bottom: 0;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(90, 70, 45, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
}

input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    min-height: auto;
    padding: 0;
    border-radius: 4px;
}

input[type="file"] {
    min-height: auto;
    padding: 0.7rem 0.85rem;
}

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

.errors {
    margin-top: 0.4rem;
    color: #9a433d;
    font-size: 0.92rem;
}

.field-hint {
    margin-top: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(90, 70, 45, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(239, 227, 212, 0.5));
}

.dashboard-nav,
.dashboard-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dashboard-nav {
    margin-top: 1rem;
    align-items: flex-start;
}

.site-header .dashboard-nav {
    margin-top: 0;
    justify-content: flex-end;
}

.owner-header .dashboard-nav {
    gap: 1rem;
    align-items: center;
}

.owner-header .dashboard-nav-link,
.owner-header .dashboard-nav-button {
    position: relative;
    min-height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink-soft);
}

.owner-header .dashboard-nav-link:hover,
.owner-header .dashboard-nav-button:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.owner-header .dashboard-nav-link::after,
.owner-header .dashboard-nav-button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.owner-header .dashboard-nav-link:hover::after,
.owner-header .dashboard-nav-button:hover::after,
.owner-header .dashboard-nav-link.active::after {
    transform: scaleX(1);
}

.owner-header .dashboard-nav-link.active {
    background: transparent;
    color: var(--ink);
    border-color: transparent;
}

.owner-header .dashboard-logout-form {
    flex-basis: auto;
}

.owner-header .dashboard-nav-link-signout {
    min-width: auto;
}

.dashboard-nav-link,
.filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 170, 94, 0.34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 247, 241, 0.94));
    color: var(--ink);
    box-shadow: 0 8px 18px rgba(59, 40, 16, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-nav-link:hover,
.filter-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(59, 40, 16, 0.09);
    border-color: rgba(201, 170, 94, 0.48);
}

.dashboard-nav-button {
    cursor: pointer;
    font: inherit;
}

.dashboard-nav-link.active,
.filter-pill.active {
    background: linear-gradient(135deg, rgba(223, 200, 168, 0.7), rgba(255, 248, 237, 0.96));
    border-color: rgba(201, 170, 94, 0.52);
    color: var(--ink);
}

.dashboard-logout-form {
    margin: 0;
    flex-basis: 100%;
}

.dashboard-nav-link-signout {
    min-width: 92px;
}

.dashboard-filter-bar,
.dashboard-search-form,
.dashboard-inline-form,
.dashboard-search-field,
.owner-login-form {
    display: flex;
    gap: 1rem;
}

.dashboard-filter-bar {
    justify-content: space-between;
    align-items: center;
}

.dashboard-search-panel {
    padding: 1.3rem 1.5rem;
}

.dashboard-search-form {
    align-items: end;
}

.dashboard-search-field {
    flex: 1;
    flex-direction: column;
}

.dashboard-inline-form {
    align-items: center;
}

.dashboard-inline-form input,
.dashboard-inline-form select {
    min-height: 42px;
}

.owner-login-shell,
.dashboard-form-layout {
    display: grid;
    justify-content: center;
}

.owner-login-card,
.dashboard-form-layout .checkout-form {
    width: min(920px, 100%);
}

.owner-login-card {
    padding: 2rem;
}

.owner-login-form {
    flex-direction: column;
    margin-top: 1.5rem;
}

.dashboard-image-forms {
    display: grid;
    gap: 1rem;
}

.dashboard-image-form-card {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
}

.dashboard-form-actions {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.5rem;
}

.dashboard-danger-panel {
    display: grid;
    gap: 0.9rem;
}

.dashboard-product-editor {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.dashboard-product-sidebar,
.dashboard-product-form-card {
    padding: 1.75rem;
}

.dashboard-product-sidebar {
    position: sticky;
    top: 6rem;
}

.dashboard-editor-summary {
    display: grid;
    gap: 0.85rem;
    margin: 1.35rem 0;
}

.dashboard-editor-summary-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(251, 247, 241, 0.84);
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.dashboard-editor-label {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-editor-summary-card strong {
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.7rem;
    line-height: 1;
}

.dashboard-editor-note {
    margin-bottom: 1.25rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 227, 212, 0.84));
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.dashboard-product-main {
    display: grid;
    gap: 1.5rem;
}

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

.dashboard-price-preview-card {
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(251, 247, 241, 0.96), rgba(239, 229, 220, 0.72));
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.dashboard-price-preview-card h3 {
    margin: 0.2rem 0 0;
}

.dashboard-price-preview-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-price-preview-values strong {
    display: block;
    margin-top: 0.35rem;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.45rem;
    line-height: 1.1;
}

.dashboard-field-full {
    grid-column: 1 / -1;
}

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

.dashboard-image-form-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.dashboard-image-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.dashboard-image-form-grid .dashboard-field-full {
    grid-column: 1 / -1;
}

.dashboard-image-toggles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.dashboard-toggle-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(90, 70, 45, 0.1);
    background: rgba(251, 247, 241, 0.82);
}

.dashboard-toggle-field label {
    margin: 0;
}

.form-file-input {
    border-radius: 18px;
}

.dashboard-pagination,
.dashboard-pagination-pages {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-pagination {
    justify-content: center;
}

.dashboard-page-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    min-height: 2.6rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(90, 70, 45, 0.14);
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink-soft);
}

.dashboard-page-chip.active {
    background: linear-gradient(135deg, rgba(201, 170, 94, 0.2), rgba(223, 200, 168, 0.28));
    border-color: rgba(201, 170, 94, 0.28);
    color: var(--ink);
}

.dashboard-table-wrap table td form {
    margin: 0;
}

.dashboard-hero-panel,
.dashboard-kpi-card,
.dashboard-chart-card,
.dashboard-quick-card {
    border: 1px solid rgba(90, 70, 45, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 48px rgba(59, 40, 16, 0.08);
}

.dashboard-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 1.5rem;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(255, 253, 249, 0.96), rgba(239, 227, 212, 0.9)),
        radial-gradient(circle at right top, rgba(201, 170, 94, 0.16), transparent 32%);
}

.dashboard-hero-copy p {
    max-width: 44rem;
}

.dashboard-highlight-grid,
.dashboard-kpi-grid,
.dashboard-chart-grid,
.dashboard-quick-grid {
    display: grid;
    gap: 1rem;
}

.dashboard-highlight-grid {
    grid-template-columns: 1fr;
}

.dashboard-highlight-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.dashboard-highlight-card strong {
    display: block;
    margin-top: 0.2rem;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.9rem;
}

.dashboard-highlight-icon,
.dashboard-kpi-icon,
.dashboard-quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 170, 94, 0.18), rgba(91, 66, 84, 0.18));
    color: var(--ink);
    flex-shrink: 0;
}

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

.dashboard-kpi-card {
    padding: 1.4rem;
}

.dashboard-kpi-card h2 {
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
}

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

.dashboard-chart-card {
    padding: 1.5rem;
    min-height: auto;
}

.dashboard-chart-card canvas {
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto;
    display: block;
}

.dashboard-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink-soft);
    font-size: 0.85rem;
}

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

.dashboard-quick-card {
    display: block;
    padding: 1.35rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 48px rgba(59, 40, 16, 0.12);
}

.dashboard-quick-card h3 {
    margin-top: 0.9rem;
}

.dashboard-orders-table {
    padding: 1.5rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 48px rgba(59, 40, 16, 0.08);
}

.dashboard-reference-shell {
    display: grid;
    gap: 1.2rem;
}

.dashboard-reference-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}

.dashboard-reference-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 0.35rem;
}

.dashboard-reference-copy {
    max-width: 42rem;
    margin: 0;
}

.dashboard-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.dashboard-stat-tile,
.dashboard-reference-card,
.dashboard-reference-table-card {
    overflow: hidden;
    border: 1px solid rgba(36, 27, 19, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 36px rgba(59, 40, 16, 0.08);
}

.dashboard-stat-tile {
    padding: 0 1rem 1rem;
}

.dashboard-stat-link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-stat-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(59, 40, 16, 0.11);
}

.dashboard-stat-tile-filter {
    grid-column: span 2;
}

.dashboard-stat-tile-control {
    display: flex;
    flex-direction: column;
}

.dashboard-stat-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin: 0 -1rem 0.9rem;
    padding: 0.65rem 1rem;
    background: #241b13;
    color: #f7efe3;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-stat-top i {
    font-size: 0.9rem;
    color: var(--gold-soft);
}

.dashboard-stat-tile strong {
    display: block;
    margin-bottom: 0.3rem;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1;
}

.dashboard-stat-tile > span:last-child {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.dashboard-scope-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(90, 70, 45, 0.1);
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-scope-pill-live {
    background: rgba(201, 170, 94, 0.18);
    color: #7b5a21;
}

.dashboard-period-form {
    margin-bottom: 0.55rem;
}

.dashboard-filter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.dashboard-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dashboard-filter-field span {
    color: var(--ink-soft);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-filter-field input,
.dashboard-filter-field select {
    min-height: 46px;
}

.dashboard-filter-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.dashboard-filter-meta a {
    color: var(--accent-brown);
    font-weight: 600;
}

.dashboard-period-form select {
    min-height: 46px;
    padding-right: 2.5rem;
}

.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;
}

.dashboard-reference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-reference-card {
    padding: 0 1rem 1rem;
}

.dashboard-reference-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin: 0 -1rem 1rem;
    padding: 0.75rem 1rem;
    background: #241b13;
    color: #f7efe3;
}

.dashboard-reference-card-head span {
    font-size: 0.84rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.dashboard-reference-card-head small,
.dashboard-reference-card-head small a {
    color: rgba(247, 239, 227, 0.82);
    font-size: 0.8rem;
    letter-spacing: normal;
    text-transform: none;
}

.dashboard-sparkline-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

.dashboard-axis-y {
    position: absolute;
    top: 1rem;
    left: 0.55rem;
    bottom: 2.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    color: var(--ink-soft);
    font-size: 0.72rem;
    line-height: 1;
    pointer-events: none;
}

.dashboard-sparkline-box {
    position: relative;
    width: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(248, 244, 237, 0.92), rgba(239, 227, 212, 0.9));
    border: 1px solid rgba(90, 70, 45, 0.1);
    padding: 1rem 1rem 1rem 2.9rem;
}

.dashboard-chart-tooltip {
    position: absolute;
    z-index: 3;
    min-width: 132px;
    max-width: 180px;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    background: rgba(36, 27, 19, 0.94);
    color: #f7efe3;
    box-shadow: 0 16px 30px rgba(27, 17, 10, 0.22);
    pointer-events: none;
    transform: translate(14px, calc(-100% - 12px));
}

.dashboard-chart-tooltip strong,
.dashboard-chart-tooltip span {
    display: block;
}

.dashboard-chart-tooltip strong {
    margin-bottom: 0.12rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.dashboard-chart-tooltip span {
    color: rgba(247, 239, 227, 0.8);
    font-size: 0.78rem;
}

.dashboard-chart-empty-state {
    position: absolute;
    inset: 2.1rem 1rem 3.25rem 2.9rem;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.45rem;
    padding: 1.1rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(244, 235, 224, 0.92));
    border: 1px dashed rgba(90, 70, 45, 0.22);
    text-align: center;
}

.dashboard-chart-empty-state strong {
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.2rem;
}

.dashboard-chart-empty-state span {
    max-width: 18rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.45;
}

.dashboard-sparkline {
    width: 100%;
    height: 180px;
}

.dashboard-sparkline line {
    stroke: rgba(90, 70, 45, 0.16);
    stroke-width: 1;
}

.dashboard-sparkline-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-sparkline-line.sales-value-line {
    stroke: #b88a3d;
}

.dashboard-sparkline-line.sales-line {
    stroke: #5b4254;
}

.dashboard-sparkline-point {
    stroke-width: 2;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.dashboard-sparkline-point.sales-value-point {
    fill: #b88a3d;
    stroke: #f8f4ed;
}

.dashboard-sparkline-point.sales-point {
    fill: #5b4254;
    stroke: #f8f4ed;
}

.dashboard-sparkline-point:hover {
    opacity: 0.9;
}

.dashboard-axis-x {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.75rem;
    color: var(--ink-soft);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dashboard-reference-bars {
    display: grid;
    gap: 0.85rem;
}

.dashboard-reference-bar-row {
    display: grid;
    gap: 0.45rem;
}

.dashboard-reference-bar-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    font-size: 0.95rem;
}

.dashboard-reference-bar-meta strong {
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.2rem;
}

.dashboard-reference-track {
    height: 12px;
    border-radius: 999px;
    background: rgba(90, 70, 45, 0.08);
    overflow: hidden;
}

.dashboard-reference-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.dashboard-reference-fill.gold {
    background: linear-gradient(90deg, #c9aa5e, #e3cf97);
}

.dashboard-reference-fill.amber {
    background: linear-gradient(90deg, #d2952f, #f2c56d);
}

.dashboard-reference-fill.plum {
    background: linear-gradient(90deg, #5b4254, #8c6b82);
}

.dashboard-reference-fill.rose {
    background: linear-gradient(90deg, #a05a55, #d0918b);
}

.receipt-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 100vh;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.28), rgba(252, 245, 234, 0.34)),
        url("/static/img/receipt-bg.jpg") center/cover no-repeat;
    box-shadow: 0 26px 54px rgba(59, 40, 16, 0.08);
    display: flex;
    flex-direction: column;
}

.section.receipt-shell {
    margin-top: 0;
    margin-bottom: 0;
}

.receipt-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.receipt-card {
    border: 1px solid rgba(176, 142, 78, 0.76);
    border-radius: 0;
    background: rgba(255, 252, 246, 0.97);
    box-shadow: 0 22px 48px rgba(59, 40, 16, 0.1);
    padding: 0.55rem 0 0;
    color: #9b7831;
    font-family: "Fahkwang", "Trebuchet MS", "Gill Sans", sans-serif;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.receipt-card *,
.receipt-frame *,
.receipt-foot *,
.receipt-head * {
    font-family: "Fahkwang", "Trebuchet MS", "Gill Sans", sans-serif;
}

.receipt-head {
    display: block;
    margin-bottom: 0.2rem;
    padding-top: 0.12rem;
}

.receipt-brand-center {
    display: grid;
    justify-items: center;
    gap: 0.02rem;
}

.receipt-logo {
    width: 118px;
    height: 118px;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(155, 118, 45, 0.16));
}

.receipt-tagline {
    margin-top: -0.2rem;
    font-size: clamp(1rem, 1.55vw, 1.18rem);
    font-style: italic;
    line-height: 1;
}

.receipt-divider {
    height: 1px;
    margin: 0.3rem 0 0.55rem;
    background: rgba(181, 147, 80, 0.85);
}

.receipt-frame {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(181, 147, 80, 0.72);
    background: rgba(255, 251, 244, 0.9);
    padding: 0.9rem 1.15rem 0.95rem;
    flex: 1 1 auto;
}

.receipt-topbar {
    display: flex;
    justify-content: flex-end;
    padding: 0.28rem 0;
    margin: -0.9rem -1.15rem 1.1rem;
    border-bottom: 1px solid rgba(181, 147, 80, 0.72);
    padding-right: 1.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.receipt-topline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    align-items: start;
    margin-bottom: 0.75rem;
}

.receipt-date-meta,
.receipt-billed-meta {
    display: grid;
    gap: 0.14rem;
}

.receipt-date-meta {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    align-content: start;
    white-space: nowrap;
}

.receipt-meta-line {
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.receipt-date-meta strong,
.receipt-billed-meta strong {
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.receipt-official-title {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: clamp(2rem, 3.7vw, 2.85rem);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1.1;
}

.receipt-main-block {
    margin-top: 50px;
}

.receipt-divider-frame {
    margin: 1rem 0 1.25rem;
}

.receipt-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.receipt-table-wrap {
    margin: 0.4rem 0 1.25rem;
}

.receipt-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.receipt-table th,
.receipt-table td {
    padding: 1.1rem 1rem;
    text-align: left;
    font-size: 0.92rem;
}

.receipt-table th {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    border-bottom: 1px solid rgba(181, 147, 80, 0.72);
}

.receipt-table tbody tr:last-child td {
    border-bottom: 1px solid rgba(181, 147, 80, 0.72);
}

.receipt-table th:nth-child(1),
.receipt-table td:nth-child(1) {
    width: 46%;
    border-right: 1px solid rgba(181, 147, 80, 0.72);
}

.receipt-table th:nth-child(2),
.receipt-table td:nth-child(2) {
    width: 24%;
    border-right: 1px solid rgba(181, 147, 80, 0.72);
    text-align: center;
}

.receipt-table th:nth-child(3),
.receipt-table td:nth-child(3) {
    width: 10%;
    border-right: 1px solid rgba(181, 147, 80, 0.72);
    text-align: center;
}

.receipt-table th:nth-child(4),
.receipt-table td:nth-child(4) {
    width: 20%;
    text-align: right;
}

.receipt-lower-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    grid-template-areas:
        "payment total"
        "payment thanks";
    gap: 0.9rem 1rem;
    align-items: start;
    margin-top: 0;
    padding-top: 0;
}

.receipt-payment-box {
    grid-area: payment;
    padding: 0.68rem 0.7rem 0.45rem;
    border: 1px solid rgba(181, 147, 80, 0.72);
    background: rgba(255, 253, 249, 0.9);
    min-height: 8.6rem;
    width: 100%;
    max-width: 250px;
}

.receipt-payment-title {
    margin-bottom: 0.5rem;
    padding-bottom: 0.32rem;
    border-bottom: 1px solid rgba(181, 147, 80, 0.72);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.receipt-payment-row {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: baseline;
    justify-content: start;
    gap: 0.18rem;
    margin-bottom: 0.32rem;
    font-size: 0.76rem;
}

.receipt-payment-label,
.receipt-payment-value {
    white-space: nowrap;
}

.receipt-total-panel {
    grid-area: total;
    width: 100%;
}

.receipt-total-banner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.74rem 1rem;
    background: #8a6517;
    color: #fff7e8;
}

.receipt-total-banner span,
.receipt-total-banner strong {
    font-size: clamp(1.08rem, 1.7vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.receipt-thanks {
    grid-area: thanks;
    align-self: start;
    justify-self: stretch;
    padding: 0;
    color: #d4b07f;
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    line-height: 0.82;
    text-align: center;
    font-style: italic;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.receipt-thanks-image {
    display: block;
    width: min(180px, 100%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.coming-rebuild-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #fbefe3, #f2dfc9);
    color: #7b5223;
    font-family: "Fahkwang", "Trebuchet MS", "Gill Sans", sans-serif;
    overflow-x: clip;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.coming-rebuild-page,
.coming-rebuild-page * {
    box-sizing: border-box;
}

.coming-rebuild-shell {
    width: min(100%, 1280px);
    max-width: 100%;
    margin: 0 auto;
    background: #f3e1ce;
    overflow-x: clip;
}

.coming-rebuild-hero {
    position: relative;
    overflow: hidden;
    min-height: 785px;
    background:
        radial-gradient(circle at center, rgba(250, 238, 223, 0.96), rgba(244, 226, 206, 0.95) 58%, rgba(232, 204, 175, 0.93) 100%),
        linear-gradient(90deg, rgba(232, 207, 182, 0.72) 0%, rgba(244, 226, 206, 0.18) 18%, rgba(244, 226, 206, 0.18) 82%, rgba(224, 192, 164, 0.72) 100%);
}

.coming-rebuild-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.coming-piece {
    position: absolute;
    pointer-events: none;
    user-select: none;
    display: block;
    opacity: 0.985;
    filter: saturate(0.96) brightness(1.01);
    z-index: 0;
}

.coming-piece-left {
    left: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 100%;
    -webkit-mask-image: radial-gradient(132% 132% at 0% 100%, #000 0 60%, rgba(0, 0, 0, 0.96) 72%, rgba(0, 0, 0, 0.65) 82%, transparent 100%);
    mask-image: radial-gradient(132% 132% at 0% 100%, #000 0 60%, rgba(0, 0, 0, 0.96) 72%, rgba(0, 0, 0, 0.65) 82%, transparent 100%);
}

.coming-piece-right {
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 100%;
    -webkit-mask-image: radial-gradient(132% 132% at 100% 100%, #000 0 60%, rgba(0, 0, 0, 0.96) 72%, rgba(0, 0, 0, 0.65) 82%, transparent 100%);
    mask-image: radial-gradient(132% 132% at 100% 100%, #000 0 60%, rgba(0, 0, 0, 0.96) 72%, rgba(0, 0, 0, 0.65) 82%, transparent 100%);
}

.coming-rebuild-social {
    position: absolute;
    top: 34px;
    right: 36px;
    display: grid;
    justify-items: center;
    gap: 0.7rem;
    z-index: 2;
}

.coming-rebuild-follow-label {
    font-size: 0.88rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7d5b35;
}

.coming-rebuild-social-strip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.coming-rebuild-social-handles {
    display: grid;
    gap: 0.18rem;
    text-align: center;
    color: #9a7447;
    font-size: 0.72rem;
    line-height: 1.25;
}

.coming-social-link:focus-visible,
.coming-social-card-button:focus-visible,
.coming-rebuild-vip-input:focus-visible,
.coming-rebuild-vip-button:focus-visible {
    outline: 2px solid rgba(141, 102, 49, 0.88);
    outline-offset: 2px;
}

.coming-social-link {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 252, 248, 0.92);
    color: #9f713f;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(173, 134, 81, 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.coming-social-link:hover {
    transform: translateY(-2px);
    color: #8f5f2a;
    box-shadow: 0 14px 28px rgba(173, 134, 81, 0.18);
}

.coming-social-link i {
    font-size: 1.32rem;
}

.coming-rebuild-center {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    width: min(100% - 2rem, 760px);
    margin: 0 auto;
    padding-top: 44px;
    text-align: center;
}

.coming-rebuild-logo {
    width: min(220px, 27vw);
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(184, 140, 77, 0.08));
}

.coming-rebuild-wordmark {
    font-size: clamp(4.4rem, 8vw, 5.4rem);
    letter-spacing: 0.36em;
    text-transform: uppercase;
    margin-top: 0.1rem;
    margin-left: 0.36em;
    line-height: 1;
}

.coming-rebuild-tagline {
    font-size: clamp(1.22rem, 1.9vw, 1.5rem);
    font-style: italic;
    margin-top: 0.1rem;
    margin-bottom: 1.55rem;
    color: #8d6635;
}

.coming-rebuild-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: calc(clamp(4rem, 7.2vw, 5.6rem) - 10px);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.coming-rebuild-title span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #e9c06d;
    font-size: 0.82em;
    vertical-align: 0.02em;
}

.coming-rebuild-title span::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    background: rgba(183, 139, 70, 0.8);
}

.coming-rebuild-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 0.95rem 0 0.55rem;
    color: #b78b46;
}

.coming-rebuild-divider span {
    width: 92px;
    height: 1px;
    background: rgba(183, 139, 70, 0.8);
}

.coming-rebuild-divider i {
    font-size: 0.82rem;
}

.coming-rebuild-copy {
    margin: 0;
    max-width: 27ch;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #72502a;
}

.coming-rebuild-launch-pill {
    margin-top: 1.55rem;
    padding: 0.95rem 2.25rem;
    border: 1px solid rgba(120, 84, 35, 0.62);
    background: rgba(255, 248, 240, 0.3);
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.coming-rebuild-about {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
    gap: 2.2rem;
    align-items: center;
    padding: 1.9rem 3rem;
    background: rgba(255, 246, 237, 0.94);
    border-top: 1px solid rgba(187, 151, 102, 0.12);
    border-bottom: 1px solid rgba(187, 151, 102, 0.12);
}

.coming-rebuild-about-copy {
    padding-right: 2rem;
    border-right: 1px solid rgba(187, 151, 102, 0.24);
}

.coming-rebuild-eyebrow,
.coming-rebuild-vip-title {
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.coming-rebuild-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #876238;
    font-weight: 500;
    font-size: calc(0.92rem + 3px);
    line-height: 1.1;
    text-transform: uppercase;
}

.coming-rebuild-about-copy p,
.coming-rebuild-vip-copy p,
.coming-rebuild-section-head p {
    margin: 0.85rem 0 0;
    font-size: 1.02rem;
    line-height: 1.7;
}

.coming-rebuild-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.coming-rebuild-feature {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.coming-rebuild-feature i {
    font-size: 1.9rem;
    color: #b58a47;
}

.coming-rebuild-social-section {
    padding: 2.7rem 3rem 3rem;
    background: rgba(255, 251, 246, 0.94);
}

.coming-rebuild-section-head {
    text-align: center;
    margin-bottom: 1.55rem;
}

.coming-rebuild-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #876238;
    font-size: calc(1.18rem + 5px);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
}

.coming-rebuild-section-sparkle {
    color: #eed08a;
    font-size: 0.92rem;
    line-height: 1;
}

.coming-rebuild-section-head p {
    margin: 0.45rem 0 0;
    color: #8b6d48;
    font-size: 0.96rem;
    line-height: 1.35;
}

.coming-rebuild-social-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    width: min(100%, 1040px);
    margin: 0 auto;
}

.coming-social-card {
    display: grid;
    justify-items: center;
    gap: 0.95rem;
    padding: 1.5rem 1.2rem 1.35rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(252, 241, 228, 0.98), rgba(244, 228, 211, 0.96));
    box-shadow: 0 22px 42px rgba(181, 139, 95, 0.16);
    text-align: center;
}

.coming-social-card-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: linear-gradient(180deg, #b78552, #9b6c3f);
    color: #fff8ef;
    box-shadow: 0 12px 24px rgba(156, 109, 60, 0.24);
}

.coming-social-card-icon i {
    font-size: 2rem;
}

.coming-social-card-label {
    font-size: 1.28rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.coming-social-card-handle {
    color: #9b7648;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
}

.coming-social-card-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 210px;
    min-height: 48px;
    padding: 0 1.4rem;
    border-radius: 8px;
    background: linear-gradient(180deg, #b78552, #9b6c3f);
    color: #fff8ef;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(156, 109, 60, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.coming-social-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(156, 109, 60, 0.24);
}

.coming-rebuild-vip {
    display: grid;
    grid-template-columns: 330px 1fr;
    align-items: stretch;
    block-size: 176px;
    background: #a57f60;
    color: #fff8ef;
    overflow: hidden;
}

.coming-rebuild-vip-media {
    overflow: hidden;
    block-size: 100%;
    box-sizing: border-box;
    line-height: 0;
}

.coming-vip-bowl-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

.coming-rebuild-vip-copy {
    display: grid;
    align-content: center;
    justify-content: start;
    gap: 0.7rem;
    block-size: 100%;
    padding: 1rem 2.2rem 1rem 2.2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.coming-rebuild-vip-title {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.98rem;
    letter-spacing: 0.14em;
    line-height: 1.1;
}

.coming-rebuild-vip-sparkle {
    color: #efd18a;
    font-size: 1rem;
    line-height: 1;
}

.coming-rebuild-vip-copy p {
    margin-top: 0.2rem;
    max-width: 27ch;
    font-size: 0.94rem;
    line-height: 1.45;
}

.coming-rebuild-vip-form {
    display: grid;
    grid-template-columns: minmax(380px, 1fr) 132px;
    width: min(100%, 620px);
    gap: 0;
    margin-top: 0.3rem;
}

.coming-rebuild-vip-input {
    min-width: 0;
    min-height: 42px;
    padding: 0 1.05rem;
    border: 1px solid rgba(255, 239, 220, 0.8);
    border-right: 0;
    border-radius: 3px 0 0 3px;
    background: #fff4e8;
    color: #9c7244;
    font: inherit;
    font-size: 0.88rem;
    box-shadow: none;
}

.coming-rebuild-vip-input::placeholder {
    color: rgba(156, 114, 68, 0.72);
}

.coming-rebuild-vip-button {
    min-width: 132px;
    min-height: 42px;
    padding: 0 1.4rem;
    border: 1px solid rgba(255, 239, 220, 0.8);
    border-radius: 0 3px 3px 0;
    background: #966842;
    color: #fff8ef;
    font: inherit;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.coming-rebuild-vip-button:disabled {
    cursor: wait;
    opacity: 0.88;
}

.coming-rebuild-vip-button.is-loading {
    background: #815632;
}

.coming-rebuild-vip-button-spinner {
    width: 0.92rem;
    height: 0.92rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 248, 239, 0.3);
    border-top-color: #fff8ef;
    display: none;
    flex: 0 0 auto;
}

.coming-rebuild-vip-button.is-loading .coming-rebuild-vip-button-spinner {
    display: inline-block;
    animation: comingVipSpinner 0.7s linear infinite;
}

.coming-rebuild-vip-button-label {
    line-height: 1;
}

.coming-rebuild-toast-stack {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 50;
    display: grid;
    gap: 0.7rem;
    justify-items: end;
    width: min(calc(100vw - 2.2rem), 330px);
    pointer-events: none;
}

.coming-rebuild-toast {
    position: relative;
    width: 100%;
    padding: 0.95rem 1rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(164, 122, 80, 0.22);
    background: linear-gradient(180deg, rgba(252, 245, 235, 0.98), rgba(244, 229, 211, 0.98));
    color: #714a27;
    box-shadow:
        0 24px 48px rgba(120, 83, 45, 0.18),
        0 6px 16px rgba(120, 83, 45, 0.12);
    backdrop-filter: blur(18px);
    animation: comingToastIn 240ms ease-out;
    overflow: hidden;
    pointer-events: auto;
}

.coming-rebuild-toast.is-hiding {
    animation: comingToastOut 220ms ease-in forwards;
}

.coming-rebuild-toast.success,
.coming-rebuild-toast.info {
    border-color: rgba(164, 122, 80, 0.22);
}

.coming-rebuild-toast.success {
    background: linear-gradient(180deg, rgba(248, 242, 232, 0.98), rgba(236, 224, 205, 0.98));
    color: #6f4928;
}

.coming-rebuild-toast.info {
    background: linear-gradient(180deg, rgba(243, 237, 228, 0.98), rgba(230, 220, 205, 0.98));
    color: #6f5737;
}

.coming-rebuild-toast.error {
    border-color: rgba(181, 109, 86, 0.3);
    background: linear-gradient(180deg, rgba(252, 240, 234, 0.98), rgba(244, 222, 214, 0.98));
    color: #8a4a39;
}

.coming-rebuild-toast::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #a77746, #d4b185);
}

.coming-rebuild-toast.success::before {
    background: linear-gradient(90deg, #8a6a43, #cfb184);
}

.coming-rebuild-toast.info::before {
    background: linear-gradient(90deg, #8b7357, #d9c2a0);
}

.coming-rebuild-toast.error::before {
    background: linear-gradient(90deg, #c57b62, #e1b394);
}

.coming-rebuild-toast-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.55rem;
    padding-right: 1.55rem;
}

.coming-rebuild-toast-badge {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(167, 119, 70, 0.18), rgba(214, 186, 151, 0.22));
    color: #8f6033;
    flex: 0 0 auto;
}

.coming-rebuild-toast.error .coming-rebuild-toast-badge {
    background: linear-gradient(180deg, rgba(197, 123, 98, 0.18), rgba(225, 179, 148, 0.22));
    color: #9a5643;
}

.coming-rebuild-toast.info .coming-rebuild-toast-badge {
    background: linear-gradient(180deg, rgba(139, 115, 87, 0.18), rgba(217, 194, 160, 0.22));
    color: #7b6040;
}

.coming-rebuild-toast-title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
    padding-right: 0;
    color: rgba(113, 74, 39, 0.8);
}

.coming-rebuild-toast-body {
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
    max-width: 30ch;
    padding-left: 2.8rem;
    color: rgba(113, 74, 39, 0.98);
}

.coming-rebuild-toast-close {
    position: absolute;
    top: 0.6rem;
    right: 0.65rem;
    border: 0;
    background: rgba(164, 122, 80, 0.12);
    color: rgba(113, 74, 39, 0.82);
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0;
}

.coming-rebuild-toast-close:hover {
    background: rgba(164, 122, 80, 0.2);
    color: #6f4620;
}

.coming-rebuild-toast-close:focus-visible {
    outline: 2px solid rgba(167, 119, 70, 0.55);
    outline-offset: 2px;
    border-radius: 999px;
}

@keyframes comingToastIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes comingToastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
}

@keyframes comingVipSpinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.coming-rebuild-footer {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    padding: 1.15rem 2rem 1.35rem;
    background: rgba(255, 246, 237, 0.96);
    color: #8c6633;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.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;
}

@media (max-width: 980px) {
    .coming-rebuild-shell {
        width: 100%;
    }

    .coming-rebuild-hero {
        min-height: 700px;
    }

    .coming-rebuild-hero,
    .coming-rebuild-about,
    .coming-rebuild-social-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .coming-piece-left {
        top: 0;
        bottom: auto;
        height: 100%;
        width: 300px;
    }

    .coming-piece-right {
        top: 0;
        width: 300px;
        bottom: auto;
        height: 100%;
    }

    .coming-rebuild-social {
        top: 24px;
        right: 20px;
    }

    .coming-rebuild-about {
        grid-template-columns: 1fr;
    }

    .coming-rebuild-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.4rem;
    }

    .coming-rebuild-about-copy {
        padding-right: 0;
        padding-bottom: 1rem;
        border-right: 0;
        border-bottom: 1px solid rgba(187, 151, 102, 0.24);
    }

    .coming-rebuild-vip {
        block-size: auto;
        grid-template-columns: 1fr;
    }

    .coming-rebuild-vip-media {
        block-size: auto;
        max-height: 220px;
    }
}

@media (min-width: 721px) and (max-width: 860px) {
    .coming-rebuild-social-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .coming-social-card {
        padding: 1.3rem 1rem 1.2rem;
    }

    .coming-social-card-button {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding-inline: 1rem;
        font-size: 0.82rem;
    }

    .coming-rebuild-vip {
        grid-template-columns: 280px 1fr;
        block-size: 176px;
    }

    .coming-rebuild-vip-media {
        block-size: 176px;
        max-height: none;
        display: grid;
        align-items: stretch;
    }

    .coming-vip-bowl-image {
        width: 100%;
        height: calc(100% + 6px);
        object-fit: cover;
        object-position: center;
        transform: translateY(-3px) scale(1.01);
        transform-origin: center top;
    }

    .coming-rebuild-vip-copy {
        padding: 1rem 1.4rem;
    }

    .coming-rebuild-vip-form {
        grid-template-columns: minmax(0, 1fr) 120px;
        width: min(100%, 520px);
    }

    .coming-rebuild-vip-button {
        min-width: 120px;
        padding-inline: 1rem;
    }
}

@media (max-width: 720px) {
    .coming-rebuild-about-copy {
        justify-items: center;
        text-align: center;
    }

    .coming-rebuild-eyebrow {
        justify-content: center;
    }

    .coming-rebuild-hero {
        display: block;
        min-height: 540px;
        padding: 1rem 1rem 2rem;
    }

    .coming-piece-left,
    .coming-piece-right {
        position: absolute;
        display: block;
        inset: auto;
        width: auto;
        height: min(62%, 330px);
        margin: 0;
        object-fit: contain;
    }

    .coming-piece-left {
        left: 0;
        top: 0;
        object-position: left top;
        -webkit-mask-image: radial-gradient(120% 120% at 0% 100%, #000 0 62%, rgba(0, 0, 0, 0.72) 82%, transparent 100%);
        mask-image: radial-gradient(120% 120% at 0% 100%, #000 0 62%, rgba(0, 0, 0, 0.72) 82%, transparent 100%);
    }

    .coming-piece-right {
        right: 0;
        top: 0;
        object-position: right top;
        -webkit-mask-image: radial-gradient(120% 120% at 100% 100%, #000 0 62%, rgba(0, 0, 0, 0.72) 82%, transparent 100%);
        mask-image: radial-gradient(120% 120% at 100% 100%, #000 0 62%, rgba(0, 0, 0, 0.72) 82%, transparent 100%);
    }

    .coming-rebuild-social {
        position: absolute;
        top: 0.85rem;
        right: 0.85rem;
        left: auto;
        margin-bottom: 0;
        justify-items: center;
    }

    .coming-rebuild-follow-label {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
    }

    .coming-rebuild-social-strip {
        justify-content: center;
    }

    .coming-rebuild-social-handles {
        display: none;
    }

    .coming-rebuild-center {
        width: 100%;
        padding-top: 1rem;
    }

    .coming-rebuild-wordmark {
        font-size: 2.9rem;
        letter-spacing: 0.26em;
        margin-left: 0.26em;
    }

    .coming-rebuild-title {
        font-size: 2.35rem;
        gap: 0.35rem;
    }

    .coming-rebuild-divider {
        gap: 0.7rem;
        margin: 0.75rem 0 0.45rem;
    }

    .coming-rebuild-divider span {
        width: 64px;
    }

    .coming-rebuild-copy {
        max-width: 22ch;
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .coming-rebuild-launch-pill {
        margin-top: 1.1rem;
        padding: 0.8rem 1.7rem;
        font-size: 0.84rem;
    }

    .coming-rebuild-social-cards {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 1rem;
    }

    .coming-rebuild-about,
    .coming-rebuild-social-section {
        padding-top: 1.35rem;
        padding-bottom: 1.5rem;
    }

    .coming-rebuild-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.85rem;
    }

    .coming-rebuild-feature {
        font-size: 0.78rem;
        letter-spacing: 0.1em;
    }

    .coming-rebuild-feature i {
        font-size: 1.55rem;
    }

    .coming-rebuild-vip-copy {
        block-size: auto;
        justify-items: center;
        padding: 1.25rem 1rem;
    }

    .coming-rebuild-vip-title,
    .coming-rebuild-vip-copy p,
    .coming-rebuild-vip-form,
    .coming-rebuild-feedback {
        width: min(100%, 18.5rem);
    }

    .coming-rebuild-vip-copy p,
    .coming-rebuild-vip-title {
        text-align: left;
    }

    .coming-rebuild-vip-form {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        width: 100%;
    }

    .coming-rebuild-vip-input {
        border: 1px solid rgba(255, 241, 222, 0.72);
        border-radius: 6px;
    }

    .coming-rebuild-vip-button {
        border-radius: 6px;
    }

    .coming-rebuild-footer {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
        padding: 1rem 1rem 1.15rem;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 560px) {
    .coming-rebuild-shell {
        width: 100%;
    }

    .coming-rebuild-hero,
    .coming-rebuild-about,
    .coming-rebuild-social-section {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .coming-piece-left,
    .coming-piece-right {
        height: min(55%, 240px);
    }

    .coming-piece-left {
        object-position: left top;
    }

    .coming-piece-right {
        object-position: right top;
    }

    .coming-social-link {
        width: 42px;
        height: 42px;
    }

    .coming-social-link i {
        font-size: 1.12rem;
    }

    .coming-rebuild-logo {
        width: min(170px, 52vw);
    }

    .coming-rebuild-center {
        width: 100%;
        max-width: 100%;
        padding-inline: 0.25rem;
    }

    .coming-rebuild-wordmark {
        font-size: 2.45rem;
        letter-spacing: 0.22em;
        margin-left: 0.22em;
    }

    .coming-rebuild-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .coming-rebuild-title {
        font-size: 1.88rem;
    }

    .coming-rebuild-about {
        padding-top: 1.45rem;
        padding-bottom: 1.45rem;
    }

    .coming-rebuild-about-copy p,
    .coming-rebuild-section-head p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .coming-social-card {
        padding: 1.25rem 1rem 1.15rem;
    }

    .coming-social-card-label {
        font-size: 1.05rem;
    }

    .coming-social-card-handle {
        font-size: 0.8rem;
    }

    .coming-social-card-button {
        min-width: 0;
        width: 100%;
        max-width: 220px;
        min-height: 44px;
        font-size: 0.82rem;
    }

    .coming-rebuild-features {
        grid-template-columns: 1fr;
    }

    .coming-rebuild-vip-title {
        font-size: 0.86rem;
        gap: 0.55rem;
    }

    .coming-rebuild-vip-copy p {
        font-size: 0.9rem;
    }

    .coming-rebuild-vip-input,
    .coming-rebuild-vip-button {
        min-height: 44px;
        font-size: 0.84rem;
    }

    .coming-rebuild-copy br {
        display: none;
    }
}

@media (max-width: 430px) {
    .coming-rebuild-hero {
        min-height: 452px;
        padding: 0.7rem 0.65rem 1.45rem;
    }

    .coming-rebuild-hero::after {
        background:
            linear-gradient(180deg,
                rgba(244, 226, 206, 0) 0%,
                rgba(244, 226, 206, 0.04) 32%,
                rgba(244, 226, 206, 0.42) 54%,
                rgba(244, 226, 206, 0.88) 72%,
                #f3e1ce 100%);
    }

    .coming-piece-left,
    .coming-piece-right {
        width: 48%;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }

    .coming-piece-left {
        left: 0;
        top: 0;
        bottom: 0;
        object-position: 18% top;
    }

    .coming-piece-right {
        right: 0;
        top: 0;
        bottom: 0;
        object-position: 82% top;
    }

    .coming-rebuild-social {
        top: 0.55rem;
        right: 0.55rem;
        gap: 0.38rem;
        margin-bottom: 0;
    }

    .coming-rebuild-follow-label {
        display: none;
    }

    .coming-rebuild-social-strip {
        gap: 0.32rem;
    }

    .coming-social-link {
        width: 34px;
        height: 34px;
    }

    .coming-social-link i {
        font-size: 0.9rem;
    }

    .coming-rebuild-social-handles {
        display: none;
    }

    .coming-rebuild-center {
        gap: 0.18rem;
        width: 100%;
        max-width: 100%;
        padding-top: 3.35rem;
        padding-inline: 0.2rem;
    }

    .coming-rebuild-logo {
        width: min(124px, 34vw);
    }

    .coming-rebuild-wordmark {
        font-size: 1.72rem;
        letter-spacing: 0.14em;
        margin-left: 0.14em;
    }

    .coming-rebuild-tagline {
        font-size: 0.82rem;
        margin-bottom: 0.7rem;
    }

    .coming-rebuild-title {
        font-size: 1.38rem;
        letter-spacing: 0.03em;
    }

    .coming-rebuild-divider {
        gap: 0.48rem;
        margin: 0.45rem 0 0.34rem;
    }

    .coming-rebuild-divider span {
        width: 36px;
    }

    .coming-rebuild-divider i {
        font-size: 0.6rem;
    }

    .coming-rebuild-copy {
        max-width: 18rem;
        font-size: 0.76rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .coming-rebuild-launch-pill {
        margin-top: 0.8rem;
        padding: 0.68rem 1.1rem;
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        max-width: 100%;
    }

    .coming-rebuild-about,
    .coming-rebuild-social-section {
        padding: 1rem 0.65rem 1.15rem;
    }

    .coming-rebuild-eyebrow,
    .coming-rebuild-section-title {
        gap: 0.45rem;
    }

    .coming-rebuild-about-copy p,
    .coming-rebuild-section-head p {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .coming-rebuild-features {
        gap: 0.85rem;
    }

    .coming-rebuild-feature {
        font-size: 0.72rem;
    }

    .coming-rebuild-feature i {
        font-size: 1.4rem;
    }

    .coming-social-card {
        gap: 0.8rem;
        padding: 1.05rem 0.85rem 1rem;
    }

    .coming-social-card-icon {
        width: 64px;
        height: 64px;
    }

    .coming-social-card-icon i {
        font-size: 1.7rem;
    }

    .coming-social-card-label {
        font-size: 0.96rem;
        letter-spacing: 0.11em;
    }

    .coming-social-card-handle {
        font-size: 0.74rem;
    }

    .coming-social-card-button {
        min-width: 0;
        width: 100%;
        max-width: 12rem;
        min-height: 42px;
        padding: 0 1rem;
        font-size: 0.76rem;
    }

    .coming-rebuild-vip-copy {
        padding: 1rem 0.85rem;
        gap: 0.6rem;
        justify-items: center;
    }

    .coming-rebuild-vip-title,
    .coming-rebuild-vip-copy p,
    .coming-rebuild-vip-form,
    .coming-rebuild-feedback {
        width: min(100%, 17rem);
    }

    .coming-rebuild-vip-title {
        font-size: 0.78rem;
        gap: 0.45rem;
    }

    .coming-rebuild-vip-copy p {
        font-size: 0.84rem;
        line-height: 1.4;
    }

    .coming-rebuild-vip-form {
        gap: 0.55rem;
    }

    .coming-rebuild-vip-input,
    .coming-rebuild-vip-button {
        min-height: 42px;
        font-size: 0.78rem;
    }

    .coming-rebuild-footer {
        gap: 0.35rem;
        padding: 0.9rem 0.75rem 1rem;
        font-size: 0.64rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 390px) {
    .coming-rebuild-hero {
        min-height: 430px;
        padding: 0.6rem 0.55rem 1.3rem;
    }

    .coming-piece-left,
    .coming-piece-right {
        width: 49%;
        max-width: none;
    }

    .coming-piece-left {
        left: 0;
        object-position: 16% top;
    }

    .coming-piece-right {
        right: 0;
        object-position: 84% top;
    }

    .coming-rebuild-social {
        top: 0.45rem;
        right: 0.45rem;
    }

    .coming-social-link {
        width: 31px;
        height: 31px;
    }

    .coming-social-link i {
        font-size: 0.82rem;
    }

    .coming-rebuild-center {
        padding-top: 3.05rem;
    }

    .coming-rebuild-logo {
        width: min(112px, 33vw);
    }

    .coming-rebuild-wordmark {
        font-size: 1.52rem;
        letter-spacing: 0.11em;
        margin-left: 0.11em;
    }

    .coming-rebuild-tagline {
        font-size: 0.76rem;
        margin-bottom: 0.62rem;
    }

    .coming-rebuild-title {
        font-size: 1.22rem;
    }

    .coming-rebuild-divider span {
        width: 30px;
    }

    .coming-rebuild-copy {
        max-width: 16.5rem;
        font-size: 0.72rem;
        overflow-wrap: anywhere;
    }

    .coming-rebuild-launch-pill {
        padding: 0.64rem 0.95rem;
        font-size: 0.68rem;
    }

    .coming-rebuild-eyebrow,
    .coming-rebuild-section-title {
        font-size: 0.98rem;
    }

    .coming-rebuild-about-copy p,
    .coming-rebuild-section-head p {
        font-size: 0.81rem;
    }

    .coming-rebuild-vip-copy {
        padding: 0.9rem 0.75rem;
    }
}

@media (max-width: 320px) {
    .coming-rebuild-hero {
        min-height: 418px;
        padding: 0.5rem 0.45rem 1.2rem;
    }

    .coming-rebuild-hero::after {
        background:
            linear-gradient(180deg,
                rgba(244, 226, 206, 0) 0%,
                rgba(244, 226, 206, 0.08) 28%,
                rgba(244, 226, 206, 0.5) 52%,
                rgba(244, 226, 206, 0.9) 72%,
                #f3e1ce 100%);
    }

    .coming-piece-left,
    .coming-piece-right {
        width: 49%;
        max-width: none;
    }

    .coming-piece-left {
        left: 0;
        top: 0;
        bottom: 0;
        object-position: 15% top;
    }

    .coming-piece-right {
        right: 0;
        top: 0;
        bottom: 0;
        object-position: 85% top;
    }

    .coming-rebuild-social {
        top: 0.35rem;
        right: 0.35rem;
        gap: 0.28rem;
        max-width: calc(100% - 0.7rem);
    }

    .coming-rebuild-social-strip {
        gap: 0.22rem;
    }

    .coming-social-link {
        width: 29px;
        height: 29px;
    }

    .coming-social-link i {
        font-size: 0.78rem;
    }

    .coming-rebuild-center {
        padding-top: 2.8rem;
        padding-inline: 0.1rem;
    }

    .coming-rebuild-logo {
        width: min(102px, 32vw);
    }

    .coming-rebuild-wordmark {
        font-size: 1.4rem;
        letter-spacing: 0.08em;
        margin-left: 0.08em;
    }

    .coming-rebuild-tagline {
        font-size: 0.72rem;
        margin-bottom: 0.52rem;
    }

    .coming-rebuild-title {
        font-size: 1.08rem;
        letter-spacing: 0.02em;
    }

    .coming-rebuild-divider {
        gap: 0.34rem;
        margin: 0.35rem 0 0.28rem;
    }

    .coming-rebuild-divider span {
        width: 24px;
    }

    .coming-rebuild-divider i {
        font-size: 0.52rem;
    }

    .coming-rebuild-copy {
        max-width: 15rem;
        font-size: 0.68rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .coming-rebuild-launch-pill {
        width: min(100%, 10.8rem);
        margin-top: 0.72rem;
        padding: 0.62rem 0.85rem;
        font-size: 0.64rem;
    }

    .coming-rebuild-about,
    .coming-rebuild-social-section {
        padding: 0.9rem 0.55rem 1rem;
    }

    .coming-rebuild-vip-copy {
        padding: 0.8rem 0.65rem;
        justify-items: center;
    }

    .coming-rebuild-vip-title,
    .coming-rebuild-vip-copy p,
    .coming-rebuild-vip-form,
    .coming-rebuild-feedback {
        width: min(100%, 15.5rem);
    }

    .coming-rebuild-footer {
        padding-inline: 0.55rem;
    }
}

.receipt-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.55rem 1.15rem 0.7rem;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    flex-wrap: wrap;
    border-top: 1px solid rgba(181, 147, 80, 0.85);
    margin-top: auto;
}

.dashboard-reference-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.dashboard-reference-action {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(36, 27, 19, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 30px rgba(59, 40, 16, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-reference-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(59, 40, 16, 0.1);
}

.dashboard-reference-action i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgba(201, 170, 94, 0.18);
    color: var(--ink);
}

.dashboard-reference-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-reference-table-card {
    padding: 0 1rem 1rem;
}

.dashboard-reference-table {
    display: grid;
    gap: 0.75rem;
}

.dashboard-reference-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: rgba(251, 247, 241, 0.88);
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.dashboard-reference-row strong,
.dashboard-reference-row-meta strong {
    display: block;
    font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
}

.dashboard-reference-row span {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.dashboard-reference-row-meta {
    text-align: right;
}

.dashboard-reference-empty {
    padding: 1rem;
    border-radius: 14px;
    background: rgba(251, 247, 241, 0.7);
    color: var(--ink-soft);
}

.dashboard-reference-full-table {
    padding: 0 1rem 1rem;
}

.dashboard-reference-orders-wrap {
    padding: 0;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.operations-panel {
    padding: 1.5rem;
}

.operations-list {
    display: grid;
    gap: 0.85rem;
}

.operations-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(90, 70, 45, 0.08);
}

.operations-meta {
    display: grid;
    gap: 0.35rem;
    text-align: right;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-badge.new,
.status-badge.confirmed {
    background: rgba(201, 170, 94, 0.18);
    color: #6e5225;
}

.status-badge.in-stock,
.status-badge.in_stock {
    background: rgba(117, 87, 68, 0.18);
    color: var(--button-brown);
}

.status-badge.awaiting-payment,
.status-badge.awaiting_payment {
    background: rgba(255, 234, 191, 0.84);
    color: #8d6218;
}

.status-badge.paid,
.status-badge.dispatched,
.status-badge.delivered {
    background: rgba(201, 170, 94, 0.18);
    color: #6e5225;
}

.status-badge.cancelled,
.status-badge.out-of-stock,
.status-badge.out_of_stock {
    background: rgba(154, 67, 61, 0.12);
    color: #9a433d;
}

.status-badge.low-stock,
.status-badge.low_stock {
    background: rgba(255, 234, 191, 0.84);
    color: #8d6218;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(90, 70, 45, 0.08);
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.divider {
    height: 1px;
    margin: 1.25rem 0;
    background: rgba(90, 70, 45, 0.08);
    border: none;
}

@media (max-width: 1100px) {
    .hero-grid,
    .detail-grid,
    .cart-layout,
    .checkout-grid,
    .confirmation-grid,
    .split-layout {
        grid-template-columns: 1fr;
    }

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

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

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

    .site-header-inner {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .header-tools {
        justify-content: flex-start;
    }

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

    .dashboard-hero-panel,
    .dashboard-chart-grid {
        grid-template-columns: 1fr;
    }

    .receipt-head,
    .receipt-topline,
    .receipt-lower-grid {
        grid-template-columns: 1fr;
    }

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

    .dashboard-product-sidebar {
        position: static;
    }

    .dashboard-stat-strip,
    .dashboard-reference-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stat-tile-filter {
        grid-column: span 2;
    }

    .dashboard-reference-grid,
    .dashboard-reference-bottom {
        grid-template-columns: 1fr;
    }

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

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

    .shop-banner-head,
    .product-title-row,
    .detail-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .cart-line {
        grid-template-columns: 1fr;
        align-items: start;
    }

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

    .cart-line-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

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

    .topbar-inner,
    .site-header-inner,
    .section-head,
    .shop-tools,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-name {
        font-size: 1.8rem;
    }

    .hero-panel,
    .shop-banner,
    .promo-card {
        min-height: auto;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
    }

    .hero-photo img {
        height: 74%;
        max-width: 88%;
    }

    .stat-band,
    .feature-grid,
    .categories-grid,
    .products-grid,
    .site-footer-grid,
    .promo-strip,
    .form-grid,
    .checkout-note-grid,
    .shop-banner-stats,
    .dashboard-kpi-grid,
    .dashboard-quick-grid,
    .dashboard-highlight-grid,
    .dashboard-form-card-grid,
    .dashboard-image-forms-grid,
    .dashboard-image-form-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-price-preview-values {
        grid-template-columns: 1fr;
    }

    .dashboard-stat-strip,
    .dashboard-reference-actions {
        grid-template-columns: 1fr;
    }

    .dashboard-stat-tile-filter {
        grid-column: span 1;
    }

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

    .dashboard-reference-head,
    .dashboard-reference-row,
    .dashboard-reference-bar-meta {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .dashboard-axis-y {
        left: 0.55rem;
        bottom: 2.85rem;
    }

    .dashboard-sparkline-box {
        margin: 0 auto;
    }

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

    .receipt-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .receipt-card {
        padding: 1.2rem;
    }

    .receipt-head,
    .receipt-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .receipt-title-block,
    .receipt-billed-meta {
        justify-items: start;
        text-align: left;
    }

    .receipt-table {
        display: block;
        overflow-x: auto;
    }

    th,
    td {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .product-card-footer,
    .shop-actions,
    .field-head,
    .product-purchase-form,
    .operations-item,
    .dashboard-filter-bar,
    .dashboard-search-form,
    .dashboard-inline-form,
    .owner-login-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .operations-meta {
        text-align: left;
    }
}

@media print {
    .site-header,
    .site-footer,
    .receipt-actions,
    .message-list {
        display: none !important;
    }

    .main-content,
    .receipt-shell {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .receipt-card {
        box-shadow: none;
        border: 1px solid #d5cabc;
        border-radius: 0;
    }

    .receipt-shell {
        max-width: none;
    }
}
