:root {
    --bg: #0b1220;
    --card: rgba(255, 255, 255, 0.08);
    --card-strong: rgba(255, 255, 255, 0.12);
    --ink: rgba(255, 255, 255, 0.93);
    --muted: rgba(255, 255, 255, 0.70);
    --green: #6ee7ff;
    --green-dark: #42c9e4;
    --green-soft: rgba(110, 231, 255, 0.13);
    --navy: #ffd24a;
    --gold: #ffd24a;
    --red: #ff8a80;
    --border: rgba(255, 255, 255, 0.14);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(900px 500px at 20% 10%, rgba(110, 231, 255, 0.18), transparent 60%),
        radial-gradient(900px 500px at 80% 20%, rgba(255, 210, 74, 0.18), transparent 60%),
        radial-gradient(700px 500px at 50% 100%, rgba(167, 139, 250, 0.16), transparent 55%),
        var(--bg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

a {
    color: var(--navy);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 32px;
    background: rgba(11, 18, 32, 0.82);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.shipping-banner {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.95), rgba(110, 231, 255, 0.76));
    color: #0b1220;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 10px 18px;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.shipping-banner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
}

.brand-image-link {
    flex: 0 0 auto;
}

.brand-image {
    display: block;
    width: clamp(170px, 17vw, 250px);
    height: 132px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.48));
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    background: var(--navy);
    color: white;
    font-size: 13px;
    letter-spacing: 0.04em;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.header-nav-wrap {
    display: grid;
    justify-items: end;
    gap: 8px;
    min-width: 0;
}

.main-nav,
.admin-nav,
.category-tabs {
    justify-content: flex-end;
}

nav a,
.button,
button {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
    padding: 11px 16px;
    text-decoration: none;
}

nav a {
    background: transparent;
    color: var(--muted);
    padding: 10px 12px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink);
}

.category-tabs {
    max-width: min(980px, 70vw);
}

.category-tabs a {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 13px;
    padding: 8px 12px;
}

.category-tabs a:hover,
.category-tabs a.active {
    border-color: rgba(110, 231, 255, 0.36);
    background: var(--green-soft);
    color: var(--ink);
}

.admin-nav a {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    padding: 7px 10px;
}

.admin-nav a:hover {
    color: var(--ink);
}

button:hover,
.button:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.11);
}

button:disabled,
button:disabled:hover,
input:disabled,
textarea:disabled,
select:disabled {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.34);
    cursor: not-allowed;
    opacity: 0.72;
}

main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 18px 56px;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.sync-worker-note {
    align-self: center;
    color: var(--muted);
    font-size: 0.9rem;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.03;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 22px;
}

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

.search-form {
    display: flex;
    gap: 10px;
    min-width: 420px;
}

input,
textarea,
select {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--ink);
    font: inherit;
    min-height: 44px;
    padding: 11px 12px;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.15);
    outline: none;
}

label {
    color: var(--muted);
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.shop-heading {
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.shop-heading::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(420px 240px at 25% 20%, rgba(255, 210, 74, 0.16), transparent 60%),
        radial-gradient(420px 240px at 80% 30%, rgba(110, 231, 255, 0.14), transparent 60%);
    pointer-events: none;
}

.shop-heading > * {
    position: relative;
}

.shop-filters {
    align-items: end;
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(260px, 1.4fr) repeat(7, minmax(118px, 1fr));
    margin-bottom: 24px;
    padding: 16px;
}

.inline-filter-form {
    display: flex;
    gap: 10px;
    min-width: 360px;
}

.filter-wide {
    min-width: 0;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.product-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
}

.pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 26px 0 0;
}

.pagination a,
.pagination span,
.pagination strong {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
    font-weight: 800;
    padding: 10px 14px;
    text-decoration: none;
}

.pagination a:hover {
    border-color: rgba(110, 231, 255, 0.36);
    background: var(--green-soft);
}

.pagination span {
    color: var(--muted);
    opacity: 0.62;
}

.pagination strong {
    color: var(--gold);
}

.product-card {
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    color: inherit;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card-link,
.product-title-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.product-card:hover {
    border-color: rgba(110, 231, 255, 0.42);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
    transform: translateY(-2px);
}

.product-image-wrap {
    aspect-ratio: 3 / 4;
    background: rgba(0, 0, 0, 0.20);
    border-bottom: 1px solid var(--border);
    padding: 10px;
}

.product-image-wrap img,
.gallery-main,
.gallery-thumbs img,
.admin-thumb {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-image-wrap img {
    border-radius: 8px;
    object-fit: contain;
}

.image-placeholder,
.detail-placeholder {
    align-items: center;
    color: var(--muted);
    display: flex;
    height: 100%;
    justify-content: center;
}

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

.product-card h2 {
    font-size: 16px;
    line-height: 1.35;
    min-height: 44px;
    margin-bottom: 10px;
}

.product-meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-weight: 800;
}

.grade-row {
    align-items: center;
    color: var(--muted);
    display: flex;
    gap: 8px;
    margin: 0 0 12px;
}

.grade-badge,
.stock-pill {
    background: var(--green-soft);
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    padding: 6px 9px;
    white-space: nowrap;
}

.muted-badge {
    background: #eef1ee;
    color: var(--muted);
}

.card-price {
    color: var(--gold);
    font-size: 19px;
}

.stock-pill {
    background: rgba(110, 231, 255, 0.12);
    color: var(--green);
}

.sold-out {
    background: rgba(255, 138, 128, 0.13);
    color: var(--red);
}

.sku-line {
    color: var(--muted);
    font-size: 13px;
    margin: 12px 0 0;
}

.add-cart-form {
    margin-top: 14px;
}

.add-cart-form button,
.detail-cart-form button {
    width: 100%;
}

.product-detail {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.85fr);
    gap: 28px;
}

.gallery,
.product-info,
.admin-panel,
.empty-state,
.table-wrap {
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.gallery {
    display: grid;
    gap: 14px;
}

.gallery-main {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    max-height: 760px;
    object-fit: contain;
}

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

.gallery-thumb {
    background: rgba(0, 0, 0, 0.20);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 4px;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--green);
    outline: none;
}

.gallery-thumb.is-active {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.15);
}

.gallery-thumbs img {
    aspect-ratio: 1;
    border-radius: 5px;
    object-fit: cover;
}

.eyebrow {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.price {
    color: var(--gold);
    font-size: 36px;
    font-weight: 900;
    margin: 14px 0;
}

.detail-cart-form {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 0 20px;
    padding: 14px;
}

.detail-cart-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
}

.variation-picker {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.variation-picker select {
    width: 100%;
}

.sold-out-note {
    border: 1px solid rgba(255, 138, 128, 0.24);
    border-radius: 8px;
    background: rgba(255, 138, 128, 0.12);
    color: var(--ink);
    padding: 12px 14px;
}

.product-facts {
    display: grid;
    gap: 0;
    margin-bottom: 24px;
}

.product-facts div {
    display: grid;
    grid-template-columns: 130px 1fr;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.product-facts dt {
    color: var(--muted);
    font-weight: 800;
}

.product-facts dd {
    margin: 0;
}

.description {
    line-height: 1.6;
    white-space: pre-wrap;
}

.variation-data {
    background: #101827;
    border-radius: 8px;
    color: #e5e7eb;
    overflow: auto;
    padding: 14px;
}

.import-form {
    display: grid;
    gap: 12px;
}

.api-sync-panel {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding-top: 20px;
}

.sync-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.secondary-action {
    background: rgba(255, 210, 74, 0.12);
    color: var(--gold);
}

.secondary-action:hover {
    background: rgba(255, 210, 74, 0.18);
}

.preview-panel {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding-top: 20px;
}

.summary-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-bottom: 20px;
}

.summary-grid div {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
}

.summary-grid strong {
    display: block;
    color: var(--gold);
    font-size: 28px;
}

.summary-grid span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.compact-table {
    padding: 0;
}

.settings-list {
    background: rgba(0, 0, 0, 0.30);
    border-radius: 8px;
    color: #e5e7eb;
    overflow: auto;
    padding: 14px;
}

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

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

th,
td {
    border-bottom: 1px solid var(--border);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

.admin-thumb {
    border-radius: 6px;
    height: 70px;
    object-fit: cover;
    width: 54px;
}

.flash-stack {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.flash {
    border-radius: 8px;
    font-weight: 700;
    padding: 12px 14px;
}

.flash-success {
    background: rgba(110, 231, 255, 0.13);
    border: 1px solid rgba(110, 231, 255, 0.25);
    color: var(--ink);
}

.flash-error {
    background: rgba(255, 138, 128, 0.13);
    border: 1px solid rgba(255, 138, 128, 0.25);
    color: var(--ink);
}

.bulk-hero,
.bulk-section {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.bulk-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
}

.bulk-hero::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(420px 250px at 25% 20%, rgba(255, 210, 74, 0.20), transparent 60%),
        radial-gradient(420px 250px at 80% 30%, rgba(110, 231, 255, 0.18), transparent 60%);
    pointer-events: none;
}

.bulk-hero > * {
    position: relative;
}

.lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 68ch;
}

.bulk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.bulk-primary {
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.95), rgba(110, 231, 255, 0.75));
    color: #0b1220;
}

.bulk-primary:hover {
    background: linear-gradient(135deg, rgba(255, 220, 98, 1), rgba(135, 237, 255, 0.86));
    color: #0b1220;
}

.bulk-logo-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    padding: 16px;
}

.bulk-logo-panel img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.bulk-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.bulk-badges span {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 12px;
    padding: 8px 10px;
}

.bulk-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.bulk-tile {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    padding: 16px;
}

.bulk-tile h2 {
    font-size: 16px;
    margin-bottom: 8px;
}

.bulk-tile p,
.bulk-section p {
    color: var(--muted);
    line-height: 1.65;
}

.bulk-section {
    margin-top: 22px;
    padding: 22px;
}

.quote-header {
    margin-bottom: 18px;
    text-align: center;
}

.quote-header p {
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.quote-calculator {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    margin: 0 auto 24px;
    max-width: 920px;
    padding: 20px;
}

.quote-switch {
    margin: 0 auto 16px;
    max-width: 380px;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.quote-grid[hidden] {
    display: none !important;
}

.quote-field {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
}

.quote-field small {
    color: var(--muted);
    display: block;
    font-size: 13px;
    margin-top: 8px;
}

.quote-result-box {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    margin-top: 18px;
    padding: 18px;
}

.quote-result-top {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.quote-result-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-game-badge {
    border: 1px solid rgba(110, 231, 255, 0.24);
    border-radius: 999px;
    background: rgba(110, 231, 255, 0.12);
    color: #d8f8ff;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
}

.quote-total {
    color: #fff6c0;
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 900;
    margin-bottom: 14px;
    text-shadow: 0 0 18px rgba(255, 210, 74, 0.18);
    transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.quote-total.is-animating {
    transform: scale(1.04);
    text-shadow: 0 0 28px rgba(110, 231, 255, 0.22), 0 0 18px rgba(255, 210, 74, 0.22);
}

.quote-breakdown {
    display: grid;
    gap: 8px;
}

.quote-breakdown-row {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 10px 12px;
}

.quote-note {
    color: var(--muted);
    font-size: 13px;
    margin-top: 12px;
}

.contact-form {
    display: grid;
    gap: 16px;
    margin: 18px auto 0;
    max-width: 920px;
}

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

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.upload-box {
    border: 2px dashed rgba(255, 255, 255, 0.30);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    cursor: pointer;
    padding: 20px;
    text-align: center;
}

.upload-box:hover {
    border-color: rgba(255, 210, 74, 0.55);
    background: rgba(255, 210, 74, 0.08);
}

.upload-box input {
    margin-top: 12px;
}

.spam-field {
    position: absolute;
    left: -9999px;
}

.bulk-submit {
    background: linear-gradient(135deg, #ffd24a, #ffb300);
    color: #111;
    font-size: 18px;
    padding: 16px;
}

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

.cart-items {
    display: grid;
    gap: 14px;
}

.cart-item,
.cart-summary {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.cart-item {
    align-items: center;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 112px 110px auto;
    gap: 14px;
    padding: 14px;
}

.cart-image {
    aspect-ratio: 3 / 4;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--muted);
    display: grid;
    overflow: hidden;
    place-items: center;
    text-decoration: none;
}

.cart-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cart-title {
    color: var(--ink);
    display: inline-block;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 8px;
    text-decoration: none;
}

.cart-title:hover {
    color: var(--gold);
}

.cart-item-main p {
    margin: 0 0 4px;
}

.cart-variation {
    color: var(--muted);
    font-size: 12px;
}

.cart-item-controls small,
.cart-price span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    margin-top: 6px;
}

.cart-price strong {
    color: var(--gold);
    display: block;
    font-size: 18px;
}

.cart-remove {
    background: rgba(255, 138, 128, 0.12);
    color: var(--ink);
    padding: 10px 12px;
}

.cart-remove:hover {
    background: rgba(255, 138, 128, 0.20);
}

.cart-summary {
    display: grid;
    gap: 14px;
    padding: 18px;
    position: sticky;
    top: 190px;
}

.summary-line {
    align-items: center;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
}

.summary-line strong {
    color: var(--gold);
    font-size: 22px;
}

.checkout-disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

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

.checkout-main {
    display: grid;
    gap: 16px;
}

.checkout-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    padding: 18px;
}

.checkout-grid {
    display: grid;
    gap: 14px;
}

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

.three-column {
    grid-template-columns: 1.2fr 0.7fr 0.7fr;
    margin-top: 14px;
}

.shipping-option {
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 12px;
    padding: 14px;
    text-transform: none;
    letter-spacing: 0;
}

.shipping-option input {
    margin-top: 4px;
    min-height: auto;
    width: auto;
}

.shipping-option strong,
.shipping-option small {
    display: block;
}

.shipping-option small {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.payment-placeholder .checkout-disabled {
    margin-top: 8px;
    width: 100%;
}

.checkout-summary {
    top: 190px;
}

.checkout-items {
    display: grid;
    gap: 10px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}

.checkout-item {
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 10px;
}

.checkout-item span {
    color: var(--muted);
    line-height: 1.35;
}

.checkout-item strong {
    color: var(--gold);
}

.muted-line strong {
    color: var(--muted);
}

.status-pill {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--ink);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
    text-transform: capitalize;
}

.status-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.status-filter-tabs a {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-weight: 800;
    padding: 9px 12px;
    text-decoration: none;
}

.status-filter-tabs a:hover,
.status-filter-tabs a.active {
    border-color: rgba(110, 231, 255, 0.36);
    background: var(--green-soft);
    color: var(--ink);
}

.fulfillment-filter-tabs {
    margin-top: -8px;
}

.status-draft {
    background: rgba(255, 210, 74, 0.14);
    color: var(--gold);
}

.status-paid {
    background: rgba(110, 231, 255, 0.12);
    color: var(--green);
}

.status-cancelled {
    background: rgba(255, 138, 128, 0.13);
    color: var(--red);
}

.table-action {
    display: inline-flex;
    padding: 8px 12px;
}

.danger-action {
    border-color: rgba(255, 138, 128, 0.24);
    background: rgba(255, 138, 128, 0.12);
    color: var(--ink);
}

.danger-action:hover {
    background: rgba(255, 138, 128, 0.20);
}

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

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

.admin-detail-list div {
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: 8px;
    grid-template-columns: 120px 1fr;
    padding-bottom: 10px;
}

.admin-detail-list dt {
    color: var(--muted);
    font-weight: 800;
}

.admin-detail-list dd {
    margin: 0;
}

.tracking-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.email-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tracking-form .bulk-actions {
    margin-top: 0;
}

.inline-admin-link {
    color: var(--green);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 6px;
}

.admin-order-items {
    margin-bottom: 16px;
}

.order-total-panel {
    max-width: 420px;
    margin-left: auto;
    position: static;
}

.inventory-readiness {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 14px;
    padding: 12px;
}

.inventory-readiness.ready {
    background: rgba(110, 231, 255, 0.10);
    border-color: rgba(110, 231, 255, 0.24);
}

.inventory-readiness.blocked {
    background: rgba(255, 210, 74, 0.10);
    border-color: rgba(255, 210, 74, 0.24);
}

.inventory-readiness strong {
    display: block;
    margin-bottom: 8px;
}

.inventory-readiness ul {
    color: var(--muted);
    margin: 0;
    padding-left: 18px;
}

.inventory-readiness p {
    color: var(--muted);
    margin: 0;
}

.stripe-readiness-panel {
    margin-bottom: 16px;
}

.readiness-banner {
    border: 1px solid var(--border);
    border-radius: 16px;
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 14px;
}

.readiness-banner.ready {
    background: rgba(110, 231, 255, 0.10);
    border-color: rgba(110, 231, 255, 0.26);
}

.readiness-banner.blocked {
    background: rgba(255, 210, 74, 0.10);
    border-color: rgba(255, 210, 74, 0.26);
}

.readiness-checks {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.readiness-check {
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    gap: 12px;
    padding: 12px;
}

.readiness-check p {
    margin: 4px 0 0;
}

.check-good,
.check-missing {
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
}

.check-good {
    background: rgba(110, 231, 255, 0.12);
    color: var(--green);
}

.check-missing {
    background: rgba(255, 138, 128, 0.13);
    color: var(--red);
}

.url-box,
.admin-detail-list code {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--gold);
    display: block;
    overflow-wrap: anywhere;
    padding: 10px;
}

.stripe-url-grid {
    margin-bottom: 16px;
}

.readiness-list {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.thank-you-card {
    position: relative;
    overflow: hidden;
    max-width: 680px;
    margin: 28px auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    padding: 42px 30px;
    text-align: center;
}

.thank-you-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(420px 240px at 25% 20%, rgba(255, 210, 74, 0.18), transparent 60%),
        radial-gradient(420px 240px at 80% 30%, rgba(110, 231, 255, 0.16), transparent 60%);
    pointer-events: none;
}

.thank-you-card > * {
    position: relative;
}

.thank-you-logo {
    display: block;
    width: min(260px, 70%);
    margin: 0 auto 18px;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.thank-you-actions {
    justify-content: center;
}

.checkout-result-summary {
    display: grid;
    gap: 10px;
    max-width: 420px;
    margin: 22px auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    text-align: left;
}

.checkout-result-summary p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

@media (max-width: 1040px) {
    .shop-filters {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }

    .filter-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .site-header,
    .toolbar,
    .search-form {
        align-items: stretch;
        flex-direction: column;
    }

    .site-header {
        padding: 14px 18px;
    }

    .brand-image {
        width: min(100%, 190px);
        height: 96px;
        max-width: 100%;
    }

    nav {
        justify-content: flex-start;
    }

    .header-nav-wrap {
        justify-items: start;
        width: 100%;
    }

    .main-nav,
    .admin-nav,
    .category-tabs {
        justify-content: flex-start;
        max-width: none;
    }

    .shop-filters {
        grid-template-columns: 1fr;
    }

    .search-form,
    .inline-filter-form {
        min-width: 0;
    }

    .inline-filter-form,
    .filter-actions {
        flex-direction: column;
    }

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

    .bulk-hero,
    .bulk-steps,
    .quote-grid,
    .quote-form-grid,
    .cart-layout,
    .checkout-layout,
    .admin-order-layout,
    .two-column,
    .three-column {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .cart-item-controls,
    .cart-price,
    .cart-remove {
        grid-column: 1 / -1;
    }

    .product-facts div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}



.sync-warning-banner {
    align-items: center;
    background: rgba(255, 210, 74, 0.12);
    border-bottom: 1px solid rgba(255, 210, 74, 0.28);
    color: #fff7d1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    padding: 10px 18px;
}

.sync-warning-banner a {
    color: var(--green);
    font-weight: 800;
}

.sync-status-panel {
    margin-bottom: 18px;
}

.sync-metric-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 18px 0;
}

.sync-metric-grid div {
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
}

.sync-metric-grid span {
    color: var(--muted);
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sync-metric-grid strong {
    color: var(--green);
    display: block;
    font-size: 1.8rem;
    margin-top: 4px;
}

.sync-detail-list {
    margin-top: 10px;
}

.compact-table-wrap {
    box-shadow: none;
    margin-top: 12px;
    padding: 0;
}

.inline-action-form {
    display: inline-flex;
    margin: 0;
}

.inline-action-form button {
    font: inherit;
}

.reconciliation-panel {
    margin-bottom: 18px;
}

.reconciliation-grid strong {
    color: var(--navy);
}

/* Landing page */
.landing-hero {
    position: relative;
    min-height: clamp(520px, 72vh, 760px);
    display: grid;
    align-items: end;
    overflow: hidden;
    margin: -30px calc(50% - 50vw) 26px;
    padding: 140px max(32px, calc((100vw - 1240px) / 2 + 18px)) 72px;
    border-bottom: 0;
    background:
        url("/static/palmetto-poke-banner-logo-blended.png") center / 100% auto fixed no-repeat,
        #070d18;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 13, 24, 0.96) 0%, rgba(7, 13, 24, 0.70) 44%, rgba(7, 13, 24, 0.22) 100%),
        linear-gradient(0deg, #070d18 0%, rgba(7, 13, 24, 0.96) 8%, rgba(7, 13, 24, 0.24) 50%, rgba(7, 13, 24, 0.72) 100%);
}

.landing-hero-media {
    display: none;
}

.landing-hero-content {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.landing-hero h1 {
    font-size: 72px;
    line-height: 0.96;
    margin-bottom: 20px;
    max-width: 780px;
}

.landing-lede {
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    line-height: 1.55;
    max-width: 650px;
}

.landing-actions,
.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.landing-actions {
    justify-content: flex-start;
    margin-top: 28px;
}

.primary-action {
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.95), rgba(110, 231, 255, 0.82));
    border-color: rgba(255, 255, 255, 0.22);
    color: #07101c;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}

.landing-stats div,
.category-tile,
.landing-feature-card,
.landing-split {
    background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.045));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.landing-stats div {
    border-radius: 8px;
    padding: 20px;
}

.landing-stats span,
.category-tile strong,
.landing-feature-card p {
    color: var(--muted);
}

.landing-stats strong {
    color: var(--green);
    display: block;
    font-size: 34px;
    line-height: 1.1;
    margin-top: 8px;
}

.landing-section {
    margin: 44px 0;
}

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

.section-heading-row h2,
.landing-split h2 {
    font-size: 34px;
    margin-bottom: 0;
}

.text-link {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}

.category-tile-grid,
.landing-feature-grid {
    display: grid;
    gap: 16px;
}

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

.category-tile {
    border-radius: 8px;
    color: var(--ink);
    min-height: 130px;
    padding: 20px;
    text-decoration: none;
}

.category-tile span {
    display: block;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 22px;
}

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

.landing-feature-card {
    border-radius: 8px;
    overflow: hidden;
}

.landing-feature-image {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.28);
    display: flex;
    justify-content: center;
    padding: 14px;
}

.landing-feature-image img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.38));
}

.landing-feature-card > div {
    padding: 16px;
}

.landing-feature-card h3 {
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 10px;
}

.landing-split {
    border-radius: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 28px;
    margin-top: 48px;
    padding: 38px;
}

.landing-note-list {
    display: grid;
    gap: 12px;
    align-content: center;
}

.landing-note-list span {
    border: 1px solid rgba(110, 231, 255, 0.22);
    border-radius: 8px;
    background: rgba(110, 231, 255, 0.08);
    padding: 14px 16px;
    font-weight: 850;
}

@media (max-width: 980px) {
    .category-tile-grid,
    .landing-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .landing-hero {
        min-height: 610px;
        padding: 118px 20px 46px;
    }

    .landing-hero h1 {
        font-size: 42px;
    }

    .landing-lede {
        font-size: 17px;
    }

    .section-heading-row h2,
    .landing-split h2 {
        font-size: 28px;
    }

    .landing-split {
        padding: 24px;
    }

    .landing-hero::after {
        background:
            linear-gradient(0deg, rgba(7, 13, 24, 0.98) 0%, rgba(7, 13, 24, 0.62) 56%, rgba(7, 13, 24, 0.70) 100%);
    }

    .landing-hero-media {
        background-position: center top;
        opacity: 0.62;
    }

    .landing-stats,
    .category-tile-grid,
    .landing-feature-grid {
        grid-template-columns: 1fr;
    }
}




/* Refined bulk quote page */
.refined-bulk-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    padding: 34px;
}

.refined-bulk-hero h1 {
    font-size: 56px;
    line-height: 1;
    max-width: 700px;
}

.bulk-summary-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(7, 13, 24, 0.52);
    padding: 18px;
}

.bulk-summary-panel img {
    display: block;
    height: 150px;
    margin: 0 auto 14px;
    object-fit: contain;
    width: min(100%, 270px);
}

.bulk-summary-grid,
.bulk-buy-grid {
    display: grid;
    gap: 12px;
}

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

.bulk-summary-grid div,
.bulk-buy-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    padding: 14px;
}

.bulk-summary-grid strong,
.bulk-buy-card strong {
    display: block;
    margin-bottom: 6px;
}

.bulk-summary-grid span,
.bulk-buy-card span {
    color: var(--muted);
    display: block;
    font-size: 13px;
    line-height: 1.45;
}

.step-number {
    align-items: center;
    background: rgba(110, 231, 255, 0.14);
    border: 1px solid rgba(110, 231, 255, 0.28);
    border-radius: 999px;
    color: #d8f8ff;
    display: inline-flex;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    margin-bottom: 12px;
    width: 30px;
}

.compact-heading {
    align-items: end;
}

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

.refined-calculator {
    max-width: none;
}

.refined-calculator .quote-switch {
    margin-left: 0;
    margin-right: 0;
}

.form-header {
    margin-bottom: 0;
    text-align: left;
}

.form-header h2 {
    margin-bottom: 0;
}

.upload-box span,
.upload-box small {
    display: block;
}

.upload-box span {
    color: var(--ink);
    font-weight: 900;
    margin-bottom: 5px;
}

@media (max-width: 980px) {
    .refined-bulk-hero,
    .bulk-buy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .refined-bulk-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .refined-bulk-hero h1 {
        font-size: 40px;
    }

    .bulk-summary-grid,
    .bulk-buy-grid {
        grid-template-columns: 1fr;
    }
}


.quote-payment-note {
    color: #fff6c0;
    font-weight: 800;
    margin-top: 8px;
}




/* cart-summary-action-centering */
.cart-summary > button,
.cart-summary > .button,
.cart-summary > .secondary-action,
.cart-summary > .bulk-primary {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* storefront-discount-messaging */
.discount-banner,
.product-discount-note {
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 210, 74, 0.16), rgba(110, 231, 255, 0.12));
    border: 1px solid rgba(255, 210, 74, 0.30);
    border-radius: 8px;
    color: var(--ink);
    display: flex;
    gap: 10px;
}

.discount-banner {
    justify-content: center;
    margin: -2px 0 18px;
    padding: 12px 16px;
    text-align: center;
}

.discount-banner strong,
.product-discount-note strong {
    color: var(--gold);
    font-weight: 900;
}

.product-discount-note {
    align-items: flex-start;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 14px;
    padding: 12px 14px;
}

.product-discount-note span {
    color: var(--muted);
}

@media (max-width: 720px) {
    .discount-banner {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }
}

/* admin-discount-visibility */
.discount-admin-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 210, 74, 0.24);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    margin: 22px 0;
    padding: 18px;
}

.discount-admin-panel h2 {
    margin: 2px 0 6px;
}

.discount-policy-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.discount-policy-grid div {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
}

.discount-policy-grid span,
.discount-detail-list dt {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.discount-policy-grid strong {
    color: var(--gold);
    display: block;
    font-size: 22px;
    margin-top: 6px;
}

.discount-detail-list {
    margin: 0;
}

@media (max-width: 920px) {
    .discount-policy-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 560px) {
    .discount-policy-grid {
        grid-template-columns: 1fr;
    }
}

/* trusted-seller-banner */
.trust-banner {
    background: rgba(11, 18, 32, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 8px 18px;
    text-align: center;
}

.trust-banner span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

/* landing-stats-four-up */
.landing-stats-four {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

@media (max-width: 980px) {
    .landing-stats-four {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 560px) {
    .landing-stats-four {
        grid-template-columns: 1fr;
    }
}

.nowrap {
    white-space: nowrap;
}


/* palmetto-light-theme */
[data-theme="light"] {
    --bg: #f5f7fb;
    --card: rgba(255, 255, 255, 0.88);
    --card-strong: #ffffff;
    --ink: #101827;
    --muted: rgba(31, 41, 55, 0.72);
    --green: #087f95;
    --green-dark: #06677a;
    --green-soft: rgba(8, 127, 149, 0.12);
    --navy: #b27700;
    --gold: #c28a00;
    --red: #b42318;
    --border: rgba(15, 23, 42, 0.14);
    --shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] body {
    background:
        radial-gradient(900px 500px at 20% 10%, rgba(8, 127, 149, 0.12), transparent 60%),
        radial-gradient(900px 500px at 80% 20%, rgba(255, 210, 74, 0.20), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #eef3f8 46%, #e7edf4 100%);
}

[data-theme="light"] .site-header,
[data-theme="light"] .trust-banner {
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}

[data-theme="light"] nav a,
[data-theme="light"] .admin-nav a,
[data-theme="light"] .category-tabs a {
    color: rgba(31, 41, 55, 0.72);
}

[data-theme="light"] nav a:hover,
[data-theme="light"] .category-tabs a:hover,
[data-theme="light"] .category-tabs a.active {
    color: var(--ink);
}

.theme-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 52px;
    min-width: 52px;
    height: 40px;
    padding: 0;
    overflow: hidden;
}

.theme-toggle-icon {
    position: relative;
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd24a 0 50%, #182238 50% 100%);
    border: 2px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.20), 0 6px 14px rgba(0, 0, 0, 0.24);
}

.theme-toggle-icon::before,
.theme-toggle-icon::after {
    content: "";
    position: absolute;
    border-radius: 999px;
}

.theme-toggle-icon::before {
    left: 4px;
    top: 4px;
    width: 4px;
    height: 4px;
    background: rgba(7, 16, 28, 0.80);
    box-shadow: 5px 2px 0 rgba(7, 16, 28, 0.58), 2px 8px 0 rgba(7, 16, 28, 0.42);
}

.theme-toggle-icon::after {
    right: 3px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #182238;
    box-shadow: -4px 0 0 #f5f7fb;
}

[data-theme="light"] .theme-toggle-icon {
    border-color: rgba(15, 23, 42, 0.26);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10), 0 6px 14px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] nav a,
[data-theme="light"] .button,
[data-theme="light"] button {
    background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] button:hover,
[data-theme="light"] .button:hover,
[data-theme="light"] .theme-toggle:hover {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .landing-hero {
    background:
        radial-gradient(900px 420px at 58% 34%, rgba(24, 54, 78, 0.20), transparent 68%),
        url("/static/palmetto-poke-banner-logo-blended.png") center / 100% auto fixed no-repeat,
        linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(230, 235, 241, 0.94));
}

[data-theme="light"] .landing-hero::after {
    background:
        linear-gradient(90deg, rgba(248, 250, 252, 0.86) 0%, rgba(248, 250, 252, 0.60) 44%, rgba(248, 250, 252, 0.18) 100%),
        linear-gradient(0deg, rgba(245, 247, 251, 1) 0%, rgba(245, 247, 251, 0.94) 10%, rgba(248, 250, 252, 0.22) 50%, rgba(248, 250, 252, 0.56) 100%);
}

[data-theme="light"] .landing-hero h1 {
    color: #101827;
    text-shadow: 0 2px 18px rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .landing-hero .eyebrow {
    color: #9a6a00;
}

[data-theme="light"] .landing-lede {
    color: rgba(31, 41, 55, 0.84);
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.78);
}

[data-theme="light"] .landing-stats div,
[data-theme="light"] .category-tile,
[data-theme="light"] .landing-feature-card,
[data-theme="light"] .landing-split,
[data-theme="light"] .product-card,
[data-theme="light"] .detail-panel,
[data-theme="light"] .cart-panel,
[data-theme="light"] .checkout-panel,
[data-theme="light"] .admin-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
}





@supports (-webkit-touch-callout: none) {
    .landing-hero {
        background-attachment: scroll, scroll;
    }

    [data-theme="light"] .landing-hero {
        background-attachment: scroll, scroll, scroll;
    }
}





/* admin-auth-login */
.auth-shell {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: 48px 0;
}

.auth-card {
    width: min(440px, 100%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.auth-card h1 {
    margin-bottom: 10px;
}

.auth-form {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.auth-form label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-logout-form {
    margin: 0;
}

.admin-logout-form button {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
}

.admin-logout-form button:hover {
    color: var(--gold);
}
.modal-open { overflow: hidden; }
.giveaway-action { border-color: rgba(87, 211, 231, .55); color: var(--accent-cyan); }
.giveaway-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; }
.giveaway-modal[hidden] { display: none; }
.giveaway-backdrop { position: absolute; inset: 0; border: 0; background: rgba(4, 12, 25, .72); backdrop-filter: blur(7px); }
.giveaway-panel { position: relative; width: min(680px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 30px; border: 1px solid rgba(255,255,255,.22); background: rgba(16, 27, 44, .92); box-shadow: 0 24px 80px rgba(0,0,0,.42); color: #fff; }
.giveaway-panel h2 { margin: 4px 0 8px; font-size: clamp(2rem, 5vw, 3.25rem); }
.giveaway-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; padding: 0; display: flex; align-items: center; justify-content: center; line-height: 1; border: 1px solid rgba(255,255,255,.25); background: transparent; color: inherit; font-size: 25px; }
.giveaway-tiktok { grid-column: 1 / -1; }
.giveaway-form { margin-top: 22px; }
.giveaway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.giveaway-form label { display: grid; gap: 6px; font-weight: 700; }
.giveaway-form input:not([type=checkbox]) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(5,13,26,.7); color: #fff; }
.giveaway-options { display: grid; gap: 9px; margin: 18px 0; }
.giveaway-options label { grid-template-columns: auto 1fr auto; align-items: center; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.giveaway-options strong { color: #ffd84d; }
.giveaway-honeypot { position: absolute !important; left: -9999px !important; }
.giveaway-order { margin-bottom: 14px; }
.giveaway-fineprint { font-size: .86rem; opacity: .78; }
.giveaway-message { padding: 10px 12px; border-left: 3px solid; }
.giveaway-message.success { border-color: #55d89b; background: rgba(85,216,155,.12); }
.giveaway-message.error { border-color: #ff786f; background: rgba(255,120,111,.12); }
.admin-giveaway-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.admin-giveaway-stats div { padding: 18px; border: 1px solid var(--border-color); background: var(--panel-bg); }
.admin-giveaway-stats span, .admin-giveaway-stats strong { display: block; }
.admin-giveaway-stats strong { margin-top: 7px; font-size: 2rem; color: var(--accent-cyan); }
.table-scroll { overflow-x: auto; }
.admin-giveaway table { width: 100%; border-collapse: collapse; }
.admin-giveaway th, .admin-giveaway td { padding: 12px; border-bottom: 1px solid var(--border-color); text-align: left; }
@media (max-width: 640px) { .giveaway-grid, .admin-giveaway-stats { grid-template-columns: 1fr; } .giveaway-panel { padding: 24px 18px; } }

.admin-giveaway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
}

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

.admin-giveaway-status {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel-muted);
}

.admin-giveaway-status.is-live strong {
  color: var(--success);
}

.admin-giveaway-status.is-paused strong {
  color: var(--warning);
}

.danger-action {
  border-color: rgba(255, 109, 109, 0.45);
  color: #ffb3b3;
}
