@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg: #eef5ff;
    --bg-soft: #f7fbff;
    --paper: rgba(255, 255, 255, 0.9);
    --paper-strong: #ffffff;
    --ink: #10233f;
    --muted: #5f7390;
    --accent: #1f6fff;
    --accent-strong: #0b57d0;
    --accent-soft: #dbe9ff;
    --line: rgba(110, 154, 218, 0.22);
    --ok: #1f8f61;
    --warn: #b97712;
    --bad: #c23d46;
    --shadow: 0 22px 60px rgba(18, 60, 120, 0.12);
    --shadow-soft: 0 12px 28px rgba(31, 111, 255, 0.1);
}
.metric-marketplace {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    text-decoration: none;
}

.marketplace-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
}

.marketplace-logo-wrap img {
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    display: block;
}

/* kalau disable, logo jadi abu-abu */
.marketplace-logo-wrap.is-disabled img {
    filter: grayscale(100%) opacity(0.65);
}

.marketplace-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.metric-marketplace-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.metric-marketplace-head strong {
    font-size: 16px;
    line-height: 1.2;
}

.metric-marketplace-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.metric-marketplace.is-active .metric-marketplace-status {
    background: #e8fff1;
    color: #15803d;
}

.metric-marketplace.is-disabled .metric-marketplace-status {
    background: #f1f5f9;
    color: #64748b;
}

.metric-marketplace-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.metric-marketplace.is-disabled {
    opacity: 0.9;
}
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(31, 111, 255, 0.18), transparent 26%),
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 22%),
        linear-gradient(180deg, #f4f9ff 0%, #eef5ff 48%, #f8fbff 100%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header,
.site-footer {
    background: rgba(248, 251, 255, 0.7);
    backdrop-filter: blur(18px);
}

.site-header {
    border-bottom: 1px solid rgba(31, 111, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-shell,
.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.brand-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-subtitle {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

nav {
    display: flex;
    gap: 10px;
    color: var(--muted);
}

nav a {
    padding: 10px 14px;
    border-radius: 999px;
}

nav a:hover {
    color: var(--accent-strong);
    background: rgba(31, 111, 255, 0.08);
}

.page {
    min-height: calc(100vh - 130px);
}

.hero,
.section,
.auth-wrap {
    padding: 46px 0 60px;
}

.hero-grid,
.detail-grid,
.checkout-grid,
.admin-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.hero-copy {
    animation: fadeUp 700ms ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.65;
}

h1,
h2,
h3 {
    margin: 0 0 14px;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

h1,
h2 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    max-width: 11ch;
}

h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

h3 {
    font-size: 1.18rem;
}

.lead,
.muted,
label span,
table td,
table th,
input,
textarea,
select {
    color: var(--muted);
}

.lead {
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 62ch;
}

.hero-card,
.card,
.admin-card,
.stat,
.payment-box,
.table-wrap,
.flash,
.empty-state {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-card,
.card,
.admin-card,
.payment-box,
.empty-state {
    padding: 26px;
}

.hero-card {
    min-height: 340px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(145deg, rgba(31, 111, 255, 0.98), rgba(11, 87, 208, 0.94));
    color: #eff6ff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    animation: floatIn 850ms ease both;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -40px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(4px);
    pointer-events: none;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-card .eyebrow {
    color: #dbeafe;
}

.hero-card .eyebrow::before {
    background: #dbeafe;
}

.hero-card .lead,
.hero-card label span {
    color: #dbeafe;
}

.hero-eyebrow {
    color: #dbeafe;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.metric {
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(31, 111, 255, 0.1);
    box-shadow: 0 10px 24px rgba(31, 111, 255, 0.08);
}

.metric strong,
.metric span {
    display: block;
}

.metric strong {
    color: var(--ink);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.metric span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.metric-marketplace {
    display: block;
    text-decoration: none;
}

.metric-marketplace.is-active:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(31, 111, 255, 0.14);
}

.metric-marketplace.is-disabled {
    opacity: 0.72;
    box-shadow: none;
}

.metric-marketplace-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.metric-marketplace .marketplace-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.metric-marketplace .marketplace-logo svg {
    width: 28px;
    height: 28px;
}

.metric-marketplace .marketplace-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.metric-marketplace-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.metric-marketplace.is-active .metric-marketplace-status {
    color: #0f6b3c;
    background: rgba(34, 197, 94, 0.14);
}

.metric-marketplace.is-disabled .metric-marketplace-status {
    color: #7b8798;
    background: rgba(148, 163, 184, 0.16);
}

.hero-steps {
    display: grid;
    gap: 12px;
}

.hero-steps p {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.btn,
button {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.btn:hover,
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(31, 111, 255, 0.18);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--accent-strong);
    border: 1px solid rgba(31, 111, 255, 0.14);
    box-shadow: none;
}

.btn.secondary:hover {
    background: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #c81e1e);
    box-shadow: 0 12px 28px rgba(200, 30, 30, 0.18);
}

.btn-danger:hover {
    box-shadow: 0 16px 30px rgba(200, 30, 30, 0.24);
}

.marketplace-strip {
    margin-top: 22px;
}

.marketplace-title {
    margin: 0 0 12px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.marketplace-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.marketplace-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 22px;
    border: 1px solid rgba(95, 115, 144, 0.14);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 28px rgba(18, 60, 120, 0.08);
}

.marketplace-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(18, 60, 120, 0.12);
}

.marketplace-tokopedia:hover {
    border-color: rgba(3, 172, 14, 0.28);
}

.marketplace-shopee:hover {
    border-color: rgba(238, 77, 45, 0.28);
}

.marketplace-logo {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(95, 115, 144, 0.08);
    flex-shrink: 0;
}

.marketplace-logo svg {
    width: 34px;
    height: 34px;
}

.marketplace-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.marketplace-copy {
    display: grid;
    gap: 4px;
}

.marketplace-copy strong {
    font-size: 1rem;
    color: var(--ink);
}

.marketplace-copy small {
    color: var(--muted);
    font-size: 0.84rem;
}

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

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
}

.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(31, 111, 255, 0.16), rgba(31, 111, 255, 0));
}

.product-image {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 16px;
    width: 100%;
    transition: transform 380ms ease, filter 380ms ease;
}

.product-card {
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
    animation: fadeUp 700ms ease both;
}

.product-card:nth-child(2) {
    animation-delay: 90ms;
}

.product-card:nth-child(3) {
    animation-delay: 180ms;
}

.product-card:nth-child(4) {
    animation-delay: 270ms;
}

.product-card:nth-child(5) {
    animation-delay: 360ms;
}

.product-card:nth-child(6) {
    animation-delay: 450ms;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(31, 111, 255, 0.24);
    box-shadow: 0 24px 48px rgba(18, 60, 120, 0.18);
}

.product-card:hover .product-image {
    transform: scale(1.04);
    filter: saturate(1.08);
}

.product-meta {
    margin-bottom: 8px;
}

.product-cta {
    margin-top: auto;
}

.media-gallery,
.video-gallery {
    margin-bottom: 18px;
}

.status-check-card,
.status-order-card {
    display: grid;
    gap: 18px;
}

.status-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.status-results {
    display: grid;
    gap: 18px;
}

.status-order-card {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
}

.status-order-media .product-image {
    margin-bottom: 0;
}

.status-order-body h3 {
    margin-bottom: 12px;
}

.video-gallery {
    margin-top: 18px;
}

.slider-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(219, 233, 255, 0.36);
}

.slider-track {
    display: flex;
    transition: transform 280ms ease;
}

.slider-slide {
    min-width: 100%;
}

.slider-slide .product-image {
    margin-bottom: 0;
}

.product-video {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background: #0f172a;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    background: rgba(16, 35, 63, 0.72);
    box-shadow: none;
}

.slider-arrow.prev {
    left: 12px;
}

.slider-arrow.next {
    right: 12px;
}

.slider-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(31, 111, 255, 0.22);
    box-shadow: none;
}

.slider-dot.is-active {
    width: 28px;
    background: var(--accent);
}

.price {
    color: var(--accent-strong);
    font-size: 1.24rem;
    font-weight: 800;
}

.stock,
.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 0.82rem;
    font-weight: 700;
}

.stock {
    background: rgba(245, 158, 11, 0.12);
    color: var(--warn);
}

.pill {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.pill.status-pending {
    background: rgba(245, 158, 11, 0.14);
    color: #a16207;
}

.pill.status-processing {
    background: rgba(59, 130, 246, 0.14);
    color: #1d4ed8;
}

.pill.status-paid {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.pill.status-shipped {
    background: rgba(139, 92, 246, 0.14);
    color: #6d28d9;
}

.pill.status-completed {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.pill.status-cancelled {
    background: rgba(239, 68, 68, 0.14);
    color: #b91c1c;
}

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

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

.camera-capture {
    display: grid;
    gap: 16px;
    background: rgba(31, 111, 255, 0.03);
}

.camera-stage {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px dashed rgba(31, 111, 255, 0.26);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.96));
    min-height: 260px;
}

.camera-preview,
.camera-empty {
    width: 100%;
    min-height: 260px;
}

.camera-preview {
    display: block;
    object-fit: cover;
    background: #dbeafe;
}

.camera-empty {
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}

.camera-actions {
    gap: 12px;
}

label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(95, 115, 144, 0.18);
    background: rgba(255, 255, 255, 0.95);
    padding: 13px 15px;
    border-radius: 16px;
    font: inherit;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(31, 111, 255, 0.42);
    box-shadow: 0 0 0 4px rgba(31, 111, 255, 0.12);
    background: #fff;
}

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

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

.flash.error {
    border-color: rgba(194, 61, 70, 0.22);
    color: var(--bad);
    background: rgba(255, 241, 242, 0.86);
}

.flash.success {
    border-color: rgba(31, 143, 97, 0.2);
    color: var(--ok);
    background: rgba(240, 253, 247, 0.92);
}

.table-wrap {
    overflow: auto;
    background: rgba(255, 255, 255, 0.84);
}

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

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(95, 115, 144, 0.12);
    text-align: left;
}

th {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
    background: rgba(31, 111, 255, 0.03);
}

tbody tr:hover {
    background: rgba(31, 111, 255, 0.035);
}

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

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-toolbar {
    align-items: center;
    gap: 8px;
}

.admin-btn {
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 700;
}

.admin-btn-compact {
    padding: 8px 14px;
    font-size: 0.88rem;
}

.admin-btn-small {
    padding: 7px 12px;
    font-size: 0.82rem;
}

.btn.admin-btn-small,
a.btn.admin-btn-small {
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.stat-link {
    display: block;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stat-link:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 111, 255, 0.22);
    box-shadow: 0 20px 38px rgba(18, 60, 120, 0.16);
}

.actions a:not(.btn) {
    color: var(--accent-strong);
    font-weight: 700;
}

.actions a:not(.btn):hover {
    opacity: 0.78;
}

.product-media-cell {
    display: grid;
    gap: 10px;
    min-width: 180px;
}

.product-media-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-media-thumb,
.product-media-more,
.product-media-empty {
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.product-media-thumb {
    object-fit: cover;
    border: 1px solid rgba(95, 115, 144, 0.14);
    background: rgba(255, 255, 255, 0.92);
}

.product-media-more,
.product-media-empty {
    display: grid;
    place-items: center;
    border: 1px dashed rgba(31, 111, 255, 0.22);
    background: rgba(31, 111, 255, 0.04);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding: 6px;
}

.product-media-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-media-summary .pill {
    font-size: 0.76rem;
}

.payment-total-highlight {
    display: grid;
    gap: 6px;
    margin: 16px 0;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(31, 111, 255, 0.08), rgba(11, 87, 208, 0.12));
    border: 1px solid rgba(31, 111, 255, 0.14);
}

.payment-total-highlight span {
    color: var(--muted);
    font-weight: 700;
}

.payment-total-highlight strong {
    color: var(--accent-strong);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.1;
}

.order-proof-preview {
    display: block;
    width: min(100%, 360px);
    border-radius: 18px;
    border: 1px solid rgba(95, 115, 144, 0.14);
    background: rgba(255, 255, 255, 0.92);
}

.order-proof-fallback {
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: 20px;
    border: 1px dashed rgba(31, 111, 255, 0.22);
    background: rgba(31, 111, 255, 0.04);
    color: var(--accent-strong);
    font-weight: 800;
}

.payment-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 245, 255, 0.9));
}

.stat.card h2,
.receipt h1 {
    color: var(--accent-strong);
}

.receipt {
    max-width: 840px;
    margin: 32px auto;
}

.receipt-head,
.receipt-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.receipt-brand {
    justify-content: flex-start;
}

.receipt-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border: 1px solid rgba(31, 111, 255, 0.12);
}

.site-footer {
    border-top: 1px solid rgba(31, 111, 255, 0.08);
}

.site-footer p {
    margin: 0;
    color: var(--muted);
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 12px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 18px 34px rgba(22, 163, 74, 0.28);
    z-index: 40;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(22, 163, 74, 0.34);
}

.floating-whatsapp-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.floating-whatsapp-text {
    font-weight: 700;
    letter-spacing: 0.01em;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1024px) {
    .container {
        width: min(1120px, calc(100% - 28px));
    }

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

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

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

@media (max-width: 860px) {
    .hero-grid,
    .detail-grid,
    .checkout-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .nav-shell,
    .site-footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        flex-wrap: wrap;
    }

    .hero,
    .section,
    .auth-wrap {
        padding: 34px 0 48px;
    }

    .card,
    .hero-card,
    .payment-box,
    .empty-state {
        padding: 22px;
    }

    h1 {
        max-width: none;
        font-size: clamp(2rem, 8vw, 3.4rem);
    }

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

    .status-order-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1120px, calc(100% - 22px));
    }

    .nav-shell,
    .site-footer .container {
        padding: 14px 0;
    }

    nav {
        width: 100%;
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    nav::-webkit-scrollbar {
        display: none;
    }

    nav a {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 10px 16px;
    }

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

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

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

    .marketplace-links {
        flex-direction: column;
    }

    .marketplace-link {
        width: 100%;
        min-width: 0;
    }

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

    .camera-stage,
    .camera-preview,
    .camera-empty {
        min-height: 220px;
    }

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

    .panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-head .btn {
        width: auto;
    }

    .btn,
    button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
    }

    .admin-toolbar {
        width: 100%;
    }

    th,
    td {
        padding: 12px 13px;
        font-size: 0.92rem;
    }

    .brand {
        font-size: 1.05rem;
    }

    .brand-subtitle {
        font-size: 0.72rem;
    }

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

    .receipt-logo {
        width: 68px;
        height: 68px;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        padding-right: 14px;
    }

    .floating-whatsapp-text {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
