/* ============================================
   PSTKSH — Clean Pinterest Style (flat, neat)
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f7f7f8;
    --card: #ffffff;
    --ink: #2f2f33;
    --ink-soft: #5a5a62;
    --muted: #9a9aa3;
    --line: #eeeeef;
    --line-strong: #e4e4e8;
    --accent: #e5485f;
    --accent-faint: #fdf0f2;
    --soft: #f4f3f6;
    --success: #2ea35f;
    --warning: #e8a23a;
    --shadow: 0 2px 4px rgba(47, 47, 51, 0.04), 0 12px 28px rgba(47, 47, 51, 0.06);
    --shadow-sm: 0 2px 8px rgba(47, 47, 51, 0.05);
    --radius: 18px;
    --radius-lg: 24px;
    --font: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto,
        'Helvetica Neue', Arial, sans-serif;
}

html {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font);
    min-height: 100vh;
    color: var(--ink);
    letter-spacing: 0.01em;
    background: var(--bg);
    padding: 0;
}

/* ============ FULLSCREEN CONTAINER ============ */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: var(--card);
    overflow: hidden;
}

/* ============ HEADER / HERO ============ */
.header {
    padding: 22px 26px 28px;
}

.header .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.header .brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}

.header .drop {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 6px 13px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    text-transform: uppercase;
}

.header .hero {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 20px;
    align-items: center;
}

.header .hero-visual {
    width: 104px;
    height: 104px;
    border-radius: var(--radius);
    background: var(--soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
}

.header .hero-copy {
    padding-right: 4px;
}

.header .hero-kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.header h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin: 0 0 8px;
    color: var(--ink);
}

.header .hero p {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    margin: 0;
}

.header .limited {
    display: inline-block;
    margin-top: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent);
}

/* ============ STEPPER ============ */
.progress-container {
    padding: 20px 26px 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fbfbfc;
}

.progress-bar {
    height: 6px;
    background: var(--soft);
    border-radius: 999px;
    margin-bottom: 16px;
}

.progress-bar#progressBar {
    background: var(--accent);
    height: 6px;
    border-radius: 999px;
    transition: width 0.45s ease;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.step-indicators::before {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    top: 14px;
    height: 2px;
    background: var(--line);
    z-index: 0;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--card);
    border: 1.5px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--muted);
    font-size: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    transform: scale(1.1);
}

.step.completed {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ============ FORM LAYOUT ============ */
form {
    padding: 30px 26px 38px;
}

.form-step {
    display: none;
    animation: stepIn 0.35s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--ink);
}

.form-step .subtitle {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 24px;
}

/* ============ FORM GROUP ============ */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: var(--ink-soft);
}

.form-group small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font-size: 14px;
    color: var(--ink);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bfbfc7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
    background: #fff;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

.form-group textarea {
    resize: vertical;
    min-height: 78px;
}

/* ============ RADIO CARDS ============ */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 26px;
}

@media (max-width: 460px) {
    .radio-group {
        grid-template-columns: 1fr;
    }
}

.radio-option {
    cursor: pointer;
    position: relative;
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.25s ease;
}

.radio-option img {
    visibility: hidden;
}

.radio-option .prod-visual {
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--line-strong);
}

.radio-option:has(input:checked) {
    border-color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.radio-option:has(input:checked)::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-content {
    padding: 16px 18px;
}

.radio-content h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ink);
}

.radio-content p {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 10px;
    line-height: 1.4;
}

.radio-content .price {
    display: block;
    font-weight: 700;
    color: var(--ink);
    font-size: 16px;
}

.radio-content .savings {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 3px;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    margin-top: 9px;
}

/* ============ ITEM FORM (dynamic) ============ */
.item-form {
    padding: 0 0 24px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.item-form h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 18px;
}

/* ============ PAYMENT ============ */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 16px 18px;
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    transition: all 0.2s ease;
    position: relative;
}

.payment-option:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option:has(input:checked) {
    border-color: var(--ink);
    background: #fcfcfc;
}

.payment-option:has(input:checked)::after {
    content: '✓';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-content h4 {
    font-size: 13.5px;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--ink);
}

.payment-content p {
    font-size: 11.5px;
    color: var(--muted);
}

/* ============ BUNDLE GRID ============ */
.bundle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 26px;
}

@media (max-width: 460px) {
    .bundle-grid {
        grid-template-columns: 1fr;
    }
}

.bundle-item {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    gap: 10px;
}

.bundle-item .bundle-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.bundle-item label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.bundle-item select,
.bundle-item input {
    width: 100%;
    padding: 13px;
    background: #fbfbfc;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    font-size: 14px;
    color: var(--ink);
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
}

.bundle-item select:focus,
.bundle-item input:focus {
    outline: none;
    border-color: var(--ink);
    background: #fff;
}

/* ============ FILE UPLOAD ============ */
.file-upload {
    border: 2px dashed var(--line-strong);
    border-radius: 16px;
    padding: 30px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fbfbfc;
}

.file-upload:hover {
    border-color: var(--ink);
    background: var(--soft);
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload .upload-icon {
    font-size: 26px;
    display: block;
    margin-bottom: 8px;
}

.file-upload p {
    margin: 4px 0;
    font-size: 12.5px;
    color: var(--muted);
}

#fileName {
    color: var(--success);
    font-weight: 600;
    margin-top: 10px;
}

/* ============ CHECKBOX ============ */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 12px 0 0;
    cursor: pointer;
    accent-color: var(--ink);
    flex-shrink: 0;
}

/* ============ REVIEW / INFO / TERMS ============ */
.review-box,
.info-box,
.terms-box {
    background: #fbfbfc;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    margin-bottom: 24px;
}

.review-box h3,
.info-box h3,
.terms-box h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 15px;
}

.review-box ul,
.terms-box ul {
    list-style: none;
    padding-left: 0;
}

.review-box li,
.terms-box li {
    padding: 10px 0;
    font-size: 13px;
    line-height: 1.75;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
}

.review-box li:last-child,
.terms-box li:last-child {
    border-bottom: none;
}

.total-display {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 2px solid var(--ink);
    padding-top: 18px;
    margin: 20px 0 8px;
}

.total-display > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.total-display .amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
}

.warning {
    background: var(--accent-faint);
    border-left: 3px solid var(--accent);
    padding: 11px 13px;
    border-radius: 10px;
    color: #a63a49;
    font-size: 12.5px;
    margin-top: 14px;
    line-height: 1.6;
}

/* ============ BUTTONS ============ */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}

.btn {
    flex: 1;
    padding: 15px 18px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-next {
    background: var(--ink);
    color: #fff;
}

.btn-next:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(47, 47, 51, 0.18);
}

/* Tombol checkout — ukuran yang proporsional */
#checkoutBtn {
    flex: 0 0 auto;
    width: 100%;
    min-height: 46px;
    padding: 12px 20px;
    font-size: 14px;
    letter-spacing: 0.02em;
    border-radius: 12px;
}

.btn-back {
    background: var(--card);
    color: var(--ink-soft);
    border: 1px solid var(--line-strong);
}

.btn-back:hover {
    background: var(--soft);
    color: var(--ink);
}

.btn-secondary {
    width: 100%;
    background: var(--card);
    border: 1.5px solid var(--ink);
    color: var(--ink);
}

.btn-secondary:hover {
    background: var(--soft);
}

.btn-submit {
    background: var(--accent);
    color: #fff;
    font-size: 15px;
}

.btn-submit:hover {
    background: #d23b51;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(229, 72, 95, 0.24);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.step-text {
    display: none;
}

@media (max-width: 520px) {
    .step-text {
        display: inline;
    }
    .btn {
        font-size: 12.5px;
    }
    .button-group {
        flex-direction: column;
    }
    .btn-back,
    .btn-next,
    .btn-submit {
        width: 100%;
    }
}

/* ============ LOADING ============ */
.hidden {
    display: none !important;
}

#loadingSpinner {
    text-align: center;
    padding: 50px 20px;
}

.spinner {
    border: 3px solid var(--soft);
    border-top: 3px solid var(--ink);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 18px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loadingSpinner p {
    color: var(--muted);
    font-size: 13px;
}

/* ============ SUCCESS ============ */
#successMessage {
    padding: 48px 24px;
    text-align: center;
}

.success-box {
    padding: 38px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fbfbfc;
}

.success-box h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--success);
    margin: 0 0 16px;
}

.success-box p {
    color: var(--ink-soft);
    margin-bottom: 20px;
    font-size: 13.5px;
    line-height: 1.7;
}

.success-box button {
    background: var(--ink);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.success-box button:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(47, 47, 51, 0.18);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
    .header {
        padding: 18px 20px 24px;
    }
    .header .hero {
        grid-template-columns: 90px 1fr;
    }
    .header .hero-visual {
        width: 90px;
        height: 90px;
        font-size: 46px;
    }
    .header h1 {
        font-size: 26px;
    }
    form {
        padding: 26px 20px 32px;
    }
}

/* ============================================
   PSTKSH — SHOP & CART
   ============================================ */

.container.shop {
    padding-bottom: 40px;
}

/* ---- site nav ---- */
/complete the bag button
    */

.bag-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s ease;
}

.bag-btn:hover { background: #000; }
.bag-btn span {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--accent);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.site-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
}

.site-nav .brand { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.site-nav .brand-sub { color: rgba(255,255,255,0.78); }

.brand-lock {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.site-logo {
    height: 34px;
    width: auto;
    display: block;
}

.site-nav .brand-lock {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.brand {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}

.brand-sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
}

/* ---- hero slideshow (fullscreen) ---- */
.slideshow {
    position: relative;
    height: 100svh;
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
    background: var(--soft);
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .7s ease;
    overflow: hidden;
}

.slide.active { opacity: 1; z-index: 1; }

.slide .slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .slide-bg {
    position: absolute;
    inset: -12%;
    width: 124%;
    height: 124%;
    object-fit: cover;
    filter: blur(30px) saturate(1.15);
    transform: scale(1.05);
    opacity: 0.92;
    display: none;
}

.slide.tone-1 { background: linear-gradient(120deg, #3a2830, #6b2f3a); }
.slide.tone-2 { background: linear-gradient(120deg, #2c2c34, #4a5a6b); }
.slide.tone-3 { background: linear-gradient(120deg, #33303c, #5a4a74); }

/* ---- hero MOBILE (portrait) : hanya tampil < 768px ---- */
.slideshow-mobile { display: none; }

@media (max-width: 767px) {
    .slideshow { display: none; }

    /* full-bleed (lebar penuh layar) + rasio portrait 3:4 */
    .slideshow-mobile {
        display: block;
        position: relative;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        aspect-ratio: 3 / 4;
        overflow: hidden;
        margin-top: 18px;
        background: #2a2620;
        touch-action: pan-y; /* biarkan scroll vertikal, gesture horizontal untuk swipe */
    }

    .slides-mobile { position: relative; height: 100%; }

    .slideshow-mobile .slide {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-end;
        opacity: 0;
        transition: opacity .7s ease;
        overflow: hidden;
    }
    .slideshow-mobile .slide.active { opacity: 1; z-index: 1; }
    .slideshow-mobile .slide img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* gradasi bawah agar teks terbaca; slide tanpa teks (.no-text) tanpa scrim */
    .slideshow-mobile .slide.no-text::after { display: none; }
    .slideshow-mobile .slide::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(to top,
            rgba(18, 14, 11, 0.82) 0%,
            rgba(18, 14, 11, 0.30) 42%,
            rgba(18, 14, 11, 0) 68%);
    }

    .slideshow-mobile .slide-text {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: none;
        padding: 0 22px 52px;
        color: #fff;
    }
    .slideshow-mobile .slide-text h1 {
        font-size: clamp(30px, 9vw, 44px);
        font-weight: 800;
        letter-spacing: -0.01em;
        line-height: 1.05;
        margin: 0 0 8px;
        color: #fff;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
    }
    .slideshow-mobile .slide-kicker {
        display: inline-block;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        background: rgba(255, 255, 255, 0.18);
        padding: 5px 12px;
        border-radius: 999px;
        margin-bottom: 12px;
        color: #fff;
    }
    .slideshow-mobile .slide-text p { font-size: 13.5px; color: rgba(255, 255, 255, 0.9); }

    /* ikon besar khas format portrait (field `mark`) */
    .slideshow-mobile .slide-mark {
        position: absolute;
        top: 42%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        pointer-events: none;
        font-size: clamp(84px, 26vw, 130px);
        line-height: 1;
        filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.28));
        animation: markFloat 3.6s ease-in-out infinite;
    }

    @keyframes markFloat {
        0%, 100% { transform: translate(-50%, -50%) translateY(0); }
        50%      { transform: translate(-50%, -50%) translateY(-12px); }
    }

    .slideshow-mobile .slide-dots {
        bottom: 14px;
    }
}

/* ============================================
   MOBILE — hero menyesuaikan asset LANDSCAPE
   ============================================ */
@media (max-width: 600px) {
    .slideshow {
        height: 68svh;
        height: 68vh;
        min-height: 320px;
        max-height: 520px;
    }

    .slide .slide-img {
        object-fit: contain;
        object-position: center;
        z-index: 1;
    }

    .slide .slide-bg {
        display: block;
    }

    .slide {
        align-items: flex-end;
    }

    .slide-text {
        padding: 0 24px 54px;
        max-width: 100%;
    }

    .slide-text h1 {
        font-size: clamp(30px, 9vw, 44px);
    }

    .slide-text p {
        font-size: 13px;
    }

    .slide-kicker {
        font-size: 9px;
        padding: 4px 11px;
        margin-bottom: 10px;
    }

    .slide-dots {
        bottom: 14px;
    }
}

.slide-text {
    position: relative;
    z-index: 2;
    padding: 0 28px;
    max-width: 620px;
    color: #fff;
}

.slide-text h1 {
    font-size: clamp(34px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.02;
    margin: 0 0 9px;
    color: #fff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.slide-kicker {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    color: #fff;
}

.slide-text p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all .2s ease;
}

.slide-arrow:hover { background: #fff; }
.slide-arrow.prev { left: 14px; }
.slide-arrow.next { right: 14px; }

.slide-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 7px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
    transition: all .2s ease;
}

.dot.active {
    background: #fff;
    width: 22px;
    border-radius: 999px;
}

/* ---- info strip ---- */
.intro-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px 20px;
    flex-wrap: wrap;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--card);
}

.intro-strip span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

/* ---- blok promo laman utama ---- */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    padding: 18px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
}
.promo-block {
    position: relative;
    display: block;
    border-radius: 14px;
    padding: 20px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    min-height: 96px;
}
.promo-block.tone-1 { background: linear-gradient(120deg, #3a2830, #6b2f3a); }
.promo-block.tone-2 { background: linear-gradient(120deg, #2c2c34, #4a5a6b); }
.promo-block.tone-3 { background: linear-gradient(120deg, #33303c, #5a4a74); }
.promo-link:hover { filter: brightness(1.08); }
.promo-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.promo-block h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.promo-block p { margin: 0; font-size: 12.5px; opacity: 0.85; line-height: 1.5; }

/* ---- footer ---- */
.site-footer {
    margin-top: 30px;
    padding: 30px 24px 26px;
    border-top: 1px solid var(--line);
    background: #fcfcfc;
    text-align: center;
}

.site-footer .brand { font-size: 18px; }

.footer-brand { display: flex; flex-direction: column; align-items: center; }
.footer-brand .site-logo { height: 44px; margin-bottom: 8px; }

.footer-tagline {
    max-width: 360px;
    margin: 12px auto 18px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink-soft);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all .2s ease;
}

.footer-links a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.footer-note {
    display: flex;
    justify-content: center;
    gap: 8px 18px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--muted);
}

/* ---- hero ---- */
.hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 30px 24px 26px;
}

.hero-kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
    margin: 0 0 8px;
    color: var(--ink);
}

.hero p {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0;
}

.hero .limited {
    display: block;
    margin-top: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--accent);
}

.hero-stamp {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
    flex-shrink: 0;
}

.hero-stamp span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
}

.hero-stamp strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
}

/* ---- catalog head + fit toggle ---- */
.catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 24px 18px;
    border-top: 1px solid var(--line);
}

.catalog-title h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 2px;
    color: var(--ink);
}

.catalog-title p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.fit-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fit-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin-right: 2px;
}

.fit-btn {
    padding: 7px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.fit-btn.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* ---- per-item fit switch ---- */
.prod-fit {
    display: flex;
    gap: 6px;
    margin: 10px 0 12px;
    margin-top: auto;
}

.prod-fit .pf-btn {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--card);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.prod-fit .pf-btn.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* ---- product grid ---- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 6px 24px;
}

@media (max-width: 500px) {
    .product-grid { grid-template-columns: 1fr; }
}

.product-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.prod-img {
    aspect-ratio: 1 / 1;
    background: var(--soft);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
}

.prod-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prod-img.no-img { display: flex; align-items: center; justify-content: center; }
.prod-img.no-img::after {
    content: "🖼️"; font-size: 28px;
}

.slide-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border: none; border-radius: 50%;
    background: rgba(255,255,255,.85); color: #111;
    font-size: 18px; line-height: 1; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 2;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s ease;
}
.prod-img:hover .slide-arrow { opacity: 1; }
.slide-arrow.prev { left: 6px; }
.slide-arrow.next { right: 6px; }

.prod-img .slide-dots {
    position: absolute; bottom: 6px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 5px; z-index: 2;
}
.prod-img .slide-dots .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.6); cursor: pointer; transition: all .2s;
}
.prod-img .slide-dots .dot.active { background: #fff; width: 16px; border-radius: 999px; }

.slide-count {
    position: absolute; top: 6px; right: 6px; z-index: 2;
    background: rgba(0,0,0,.55); color: #fff; font-size: 11px;
    padding: 2px 7px; border-radius: 999px; backdrop-filter: blur(4px);
}

.zoom-btn {
    position: absolute; top: 6px; left: 6px; z-index: 2;
    width: 28px; height: 28px; border: none; border-radius: 50%;
    background: rgba(255,255,255,.85); font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.zoom-btn:hover { background: #fff; }

.prod-img.no-img {
    background: var(--soft);
}
.prod-img.no-img::after {
    content: "";
}

.prod-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prod-body h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--ink);
}

.prod-desc {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 8px;
}

.prod-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px;
}

.prod-price .savings {
    display: inline-block;
    margin-left: 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 1px 7px;
    vertical-align: middle;
}

.prod-controls {
    display: grid;
    grid-template-columns: 1fr 64px;
    gap: 8px;
}

.prod-controls .add-btn {
    grid-column: 1 / -1;
}

.size-select,
.qty {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    font-size: 13px;
    background: var(--card);
    color: var(--ink);
    font-family: inherit;
    font-weight: 500;
}

.size-select:focus,
.qty:focus { outline: none; border-color: var(--ink); }

.add-btn {
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.add-btn:hover { background: #000; }

/* ---- bundle card ---- */
.bundle-card { border: 1.5px solid var(--accent); }
.bundle-card .prod-img { aspect-ratio: 1 / 1; }

.bundle-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
    gap: 8px;
    margin: 12px 0;
    align-items: end;
}
.bundle-sizes[hidden] { display: none; }

.bs-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bs-col label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bs-col select,
.bs-col input {
    width: 100%;
    padding: 9px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    font-size: 12px;
    background: var(--card);
    color: var(--ink);
    font-family: inherit;
}

/* tombol buka/tutup pemilih ukuran komponen bundle */
.bs-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 4px 0 8px;
    padding: 9px 11px;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    background: var(--soft);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s ease;
}
.bs-toggle:hover { border-color: var(--accent); color: var(--accent); }
.bs-chev { transition: transform .2s ease; font-size: 11px; }
.bs-toggle.open .bs-chev { transform: rotate(180deg); }

/* ---- bag panel (slide over) ---- */
.bag-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 92vw);
    background: var(--card);
    box-shadow: -10px 0 40px rgba(47, 47, 51, 0.14);
    z-index: 60;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.bag-panel.open { transform: translateX(0); }

.bag-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.bag-head h3 { font-size: 17px; font-weight: 800; margin: 0; color: var(--ink); }
.bag-close {
    cursor: pointer;
    font-size: 18px;
    color: var(--muted);
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.bag-close:hover { background: var(--soft); color: var(--ink); }

.bag-list {
    flex: 1;
    overflow-y: auto;
    margin: 4px -6px 0;
    padding: 0 6px;
}

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

.bag-info { min-width: 0; }
.bag-name { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.bag-meta { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.bag-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.qty-min {
    width: 52px;
    padding: 7px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.bag-sub { font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; }
.bag-del {
    cursor: pointer;
    color: var(--muted);
    font-size: 15px;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.bag-del:hover { background: var(--accent-faint); color: var(--accent); }

.bag-empty {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    padding: 40px 0;
}

.bag-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 2px solid var(--ink);
    padding: 16px 0 12px;
    margin-top: 12px;
}
.bag-total span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.bag-total strong { font-size: 22px; font-weight: 800; color: var(--ink); }
.bag-total.inline { border-top: none; padding: 6px 0 12px; margin: 0; }

/* ---- skema pembayaran (bayar penuh / DP) ---- */
.scheme-wrap { margin: 14px 0 6px; }
.scheme-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.scheme-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scheme-option { position: relative; display: block; cursor: pointer; }
.scheme-option input { position: absolute; opacity: 0; pointer-events: none; }
.scheme-box {
    display: block; padding: 12px 14px; border: 2px solid var(--line-strong);
    border-radius: 12px; background: var(--card); transition: border-color .15s, background .15s;
}
.scheme-option input:checked + .scheme-box { border-color: var(--accent); background: var(--accent-faint); }
.scheme-box b { display: block; font-size: 14px; color: var(--ink); }
.scheme-box small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.dp-breakdown { margin: 6px 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px dashed var(--line-strong); }
.dp-line { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 2px 0; color: var(--ink); }
.dp-line b { font-size: 15px; }


/* ---- checkout ---- */
.checkout-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
}

.icon-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--card);
    font-size: 16px;
    cursor: pointer;
    color: var(--ink);
}
.icon-btn:hover { background: var(--soft); }

.checkout-head h2 { font-size: 18px; font-weight: 800; margin: 0; flex: 1; color: var(--ink); }
.checkout-step-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }

.checkout-body { padding: 24px; }

.section-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 18px;
}

.section-card h4 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.checkout-items .co-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: 13.5px;
    color: var(--ink-soft);
    border-bottom: 1px dashed var(--line);
}
.co-line b { color: var(--ink); white-space: nowrap; }

.file-upload.drag {
    border-color: var(--ink);
    background: var(--soft);
}

.btn-submit { width: 100%; margin-top: 8px; }

@media (max-width: 600px) {
    .hero { padding: 24px 18px 22px; }
    .hero h1 { font-size: 26px; }
    .catalog-head { padding: 4px 18px 16px; }
    .product-grid { padding: 6px 18px; }
    .checkout-body { padding: 18px; }
    .section-card { padding: 16px; }
}

/* ---- floating bag button (mobile) ---- */
.bag-btn { display: none; }

.fab-bag {
    position: fixed;
    right: 18px;
    bottom: 26px;
    z-index: 55;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(47, 47, 51, 0.26);
    transition: transform .2s ease, background .2s ease;
}

.fab-bag:hover { background: #000; transform: translateY(-2px); }

.fab-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   DESKTOP LAYOUT (≥ 900px) — two-column shop
   ============================================ */
@media (min-width: 900px) {
    body {
        padding: 0;
    }

    .container {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    /* fullscreen hero (desktop) */
    .slideshow {
        height: 100svh;
        height: 100vh;
        min-height: 520px;
    }

    .slide-text {
        padding: 0 60px;
    }

    .slide-text h1 {
        font-size: 64px;
    }

    .slide-kicker {
        font-size: 12px;
        padding: 6px 16px;
    }

    /* roomier shop UI */
    .site-nav {
        padding: 22px 44px;
    }

    .intro-strip {
        padding: 14px 44px;
        gap: 14px 30px;
    }

    .catalog-head {
        padding: 12px 44px 24px;
    }

    .catalog-title h2 {
        font-size: 22px;
    }

    /* products in a single row on desktop */
    .product-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 26px;
        padding: 12px 44px 28px;
    }

    .product-grid .product-card {
        flex: 1 1 280px;
        max-width: 340px;
    }

    .site-footer {
        padding: 40px 44px 34px;
    }

    /* roomier checkout */
    .checkout-body {
        max-width: 760px;
        margin: 0 auto;
        padding: 36px;
    }
}

/* ============================================
   SIZE CHART — panduan ukuran produk
   ============================================ */
.size-chart-link {
    display: inline-block; margin-top: 8px; padding: 0;
    background: none; border: none; color: #000;
    font-size: 12.5px; font-weight: 600; cursor: pointer;
    text-decoration: underline;
}
.size-chart-link:hover { text-decoration: underline; }

.size-chart-modal {
    position: fixed; inset: 0; z-index: 10001;
    display: flex; align-items: center; justify-content: center; padding: 18px;
    background: rgba(10, 10, 14, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.size-chart-modal.open { opacity: 1; visibility: visible; }

.size-chart-card {
    position: relative;
    width: min(94vw, 460px);
    max-height: 88vh; overflow-y: auto;
    padding: 26px 22px 22px;
    border-radius: 20px;
    background: var(--card, #fff);
    color: var(--ink, #111);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.size-chart-close {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px; border: none; border-radius: 50%;
    background: var(--soft, #f2f2f4); color: var(--ink, #111);
    font-size: 20px; line-height: 1; cursor: pointer;
}
.size-chart-close:hover { background: var(--line, #ddd); }

.size-chart-title { margin: 0 0 14px; font-size: 19px; font-weight: 800; }

.size-chart-tabs {
    display: flex; gap: 8px; margin-bottom: 14px;
}
.sc-tab {
    flex: 1; padding: 8px 10px; border: 1px solid var(--line, #ddd);
    border-radius: 999px; background: none; color: inherit;
    font-size: 13px; font-weight: 700; cursor: pointer;
    transition: all .2s ease;
}
.sc-tab.active {
    background: var(--accent, #7a5cff); border-color: var(--accent, #7a5cff);
    color: #fff;
}

.sc-section {
    margin: 4px 0 8px; font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #888);
}

.size-chart-table table {
    width: 100%; border-collapse: collapse; font-size: 13.5px;
}
.size-chart-table th, .size-chart-table td {
    padding: 9px 8px; text-align: center;
    border-bottom: 1px solid var(--line, #eee);
}
.size-chart-table th {
    font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
    color: var(--muted, #888);
}
.size-chart-table td.sc-size {
    font-weight: 800; text-align: center;
}
.size-chart-table tbody tr:hover { background: var(--soft, #f6f6f8); }

.size-chart-guide {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 12.5px;
}
.sc-guide-row {
    display: flex; gap: 8px; align-items: baseline;
    padding: 7px 10px; border-radius: 10px; background: var(--soft, #f6f6f8);
}
.sc-guide-h {
    flex: 0 0 92px; font-weight: 800; color: var(--ink, #111); font-size: 12px;
}
.sc-guide-cells {
    display: flex; flex-wrap: wrap; gap: 4px 12px;
}
.sc-guide-cell b { color: var(--accent, #7a5cff); }

/* Kalkulator rekomendasi ukuran otomatis */
.sc-calc {
    display: flex; gap: 12px; margin-bottom: 10px;
}
.sc-field { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.sc-field label { font-size: 12px; font-weight: 700; color: var(--muted, #888); }
.sc-input {
    width: 100%; box-sizing: border-box; padding: 10px 12px;
    border: 1.5px solid var(--line, #ddd); border-radius: 12px;
    background: var(--soft, #f6f6f8); color: var(--ink, #111);
    font-size: 14px; font-weight: 600;
    transition: border-color .2s;
}
.sc-input:focus { outline: none; border-color: var(--accent, #7a5cff); }

.sc-result {
    padding: 11px 13px; border-radius: 12px; font-size: 13.5px;
    background: var(--soft, #f6f6f8); margin-bottom: 12px;
    min-height: 18px;
}
.sc-result .sc-result-placeholder { color: var(--muted, #999); }
.sc-result.warn { background: #fff4e5; color: #8a5a00; }
.sc-result.ok { background: #eef7ee; color: var(--ink, #111); }
.sc-result .sc-rec {
    display: inline-block; font-weight: 900; font-size: 16px;
    color: var(--accent, #7a5cff);
}
.sc-result .sc-rec-fit { color: var(--muted, #888); font-weight: 600; }

.sc-ref { margin: 2px 0 4px; }
.sc-ref summary {
    cursor: pointer; font-size: 12.5px; font-weight: 700;
    color: var(--accent, #7a5cff); margin-bottom: 8px;
}
.sc-ref .size-chart-guide { margin-top: 8px; }

.size-chart-note {
    margin: 14px 0 0; font-size: 12px; line-height: 1.5;
    color: var(--muted, #888);
}
.size-chart-note b { color: var(--ink, #111); }


.lightbox {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 10, 14, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-stage {
    position: relative;
    width: min(90vw, 860px);
    border-radius: 20px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.lb-track {
    position: relative;
    height: min(62vh, 520px);
    border-radius: 12px;
    overflow: hidden;
}
.lb-slide {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.lb-slide.active { opacity: 1; visibility: visible; }
.lb-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
.lb-slide.no-img::after { content: "🖼️"; font-size: 60px; opacity: .5; }

.lb-counter {
    position: absolute; top: 30px; right: 30px;
    color: #fff; font-size: 13px; font-weight: 600;
    background: rgba(0, 0, 0, 0.4); padding: 4px 10px; border-radius: 999px;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

.lb-dots {
    display: flex; justify-content: center; gap: 7px; margin-top: 14px;
}
.lb-dots .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all .2s;
}
.lb-dots .dot.active { background: #fff; width: 20px; border-radius: 999px; }

.lb-close {
    position: fixed; top: 20px; right: 22px; z-index: 10001;
    width: 44px; height: 44px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 26px;
    cursor: pointer; line-height: 1;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background .2s;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.3); }

.lb-arrow {
    position: fixed; top: 50%; transform: translateY(-50%); z-index: 10001;
    width: 48px; height: 48px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 30px;
    cursor: pointer; line-height: 1;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background .2s;
    display: flex; align-items: center; justify-content: center;
}
.lb-arrow:hover { background: rgba(255, 255, 255, 0.3); }
.lb-arrow.prev { left: 18px; }
.lb-arrow.next { right: 18px; }

@media (max-width: 600px) {
    .lb-stage { width: 94vw; padding: 12px; }
    .lb-track { height: 50vh; }
    .lb-arrow.prev { left: 6px; }
    .lb-arrow.next { right: 6px; }
}

/* ============================================
   CONFIRM MODAL — oranye (#ff421b) + putih, tanpa gradasi
   ============================================ */
.confirm-overlay {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    background: rgba(24, 12, 8, 0.55);
    opacity: 0; transition: opacity .22s ease;
}
.confirm-overlay.open { opacity: 1; }
.confirm-card {
    width: 100%; max-width: 380px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: translateY(14px) scale(.97);
    transition: transform .22s ease;
}
.confirm-overlay.open .confirm-card { transform: none; }
.confirm-head {
    background: #000;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px;
}
.confirm-title { font-weight: 800; font-size: 16px; letter-spacing: .3px; }
.confirm-x {
    background: transparent; border: none; color: #fff;
    font-size: 16px; line-height: 1; cursor: pointer; opacity: .85;
}
.confirm-x:hover { opacity: 1; }
.confirm-body { padding: 20px 18px 14px; color: #2f2f33; }
.ci-item { font-weight: 700; font-size: 15px; }
.ci-meta { font-size: 13.5px; color: #5a5a62; margin-top: 6px; }
.ci-qty { font-size: 14px; margin-top: 10px; }
.confirm-actions { display: flex; gap: 10px; padding: 0 18px 18px; }
.confirm-btn {
    flex: 1; padding: 12px; border: none; border-radius: 12px;
    font-weight: 700; font-size: 14px; cursor: pointer;
}
.confirm-btn.cancel { background: #f4f3f6; color: #2f2f33; }
.confirm-btn.cancel:hover { background: #ecebf0; }
.confirm-btn.ok { background: #000; color: #fff; }
.confirm-btn.ok:hover { background: #2f2f33; }

/* ============================================
   REQUIRED MARKER & INVALID OUTLINE
   ============================================ */
.req { color: #e5485f; }
.checkout input.invalid,
.checkout textarea.invalid {
    outline: 2px solid #e5485f !important;
    border-color: #e5485f !important;
}
.payment-methods.invalid .payment-option {
    outline: 2px solid #e5485f;
}
.file-upload.invalid {
    outline: 2px solid #e5485f;
    border-color: #e5485f;
}
.checkbox-label.invalid { color: #e5485f; }
.checkbox-label.invalid .req { font-weight: 800; }
