/* Tema visual: hutan elegan.
   Hanya tampilan. Tidak mengubah alur, tautan, atau form. */

:root {
    --forest-950: #07140e;
    --forest-900: #0e2419;
    --forest-800: #163528;
    --forest-700: #1e4a34;
    --moss: #2f6a45;
    --gold: #e2b15a;
    --gold-deep: #c4842a;
    --cream: #fff8ee;
    --ivory: #fffdf8;
    --ink: #14261c;
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

html,
#html-body {
    background-color: #f5f5f5 !important;
    background-image: none !important;
    color: var(--ink);
    font-family: var(--sans);
}

#html-body .page-wrapper,
#html-body .page-main,
#html-body .columns,
#html-body .column.main,
#html-body main#maincontent {
    background: transparent !important;
}

/* Header */
#html-body .page-header,
#html-body .page-header-v1,
#html-body .page-header-v1 .page-header {
    background: transparent !important;
}

#html-body .header-top-wrap,
#html-body .header-top {
    background: linear-gradient(90deg, rgba(255, 252, 246, 0.78), rgba(255, 228, 186, 0.72), rgba(255, 255, 255, 0.8)) !important;
    color: var(--forest-800) !important;
    border-bottom: 1px solid rgba(196, 132, 42, 0.18);
    backdrop-filter: blur(10px);
}

#html-body .header-top,
#html-body .header-top a,
#html-body .header-top span,
#html-body .store-information {
    color: var(--forest-800) !important;
}

#html-body .header-main,
#html-body .page-header-v1 .page-header .header-main,
#html-body .header-main.header-level-2 {
    background: linear-gradient(180deg, rgba(14, 36, 25, 0.94), rgba(22, 53, 40, 0.92)) !important;
    border-bottom: 1px solid rgba(226, 177, 90, 0.28);
    box-shadow: 0 12px 30px rgba(20, 40, 16, 0.12);
    backdrop-filter: blur(14px);
}

#html-body .header-main a,
#html-body .page-header .header-main span {
    color: var(--cream) !important;
}

#html-body .nav-sections .navigation li.level0 > a,
#html-body .nav-sections .navigation li.level0 > a span,
#html-body .nav-anchor {
    color: var(--forest-800) !important;
    font-family: var(--sans);
    letter-spacing: 0.08em;
    font-size: 12px;
}

#html-body .nav-sections .navigation li.level0 > a:hover,
#html-body .nav-sections .navigation li.level0 > a:hover span {
    color: var(--gold-deep) !important;
}

#html-body .logo img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

#html-body .block-search .input-text,
#html-body #search {
    background: rgba(255, 248, 238, 0.96) !important;
    border: 1px solid rgba(226, 177, 90, 0.55) !important;
    border-radius: 999px !important;
    color: var(--ink) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#html-body button.action.search {
    width: 48px !important;
    height: 46px !important;
    background: linear-gradient(145deg, #234e36, #173628) !important;
    border: 1px solid rgba(226, 177, 90, 0.4) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

#html-body button.action.search svg circle,
#html-body button.action.search svg line {
    stroke: #fff8ee !important;
}

.rg-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rg-auth--ghost {
    background: transparent;
    color: #fff6e4 !important;
    border: 1px solid rgba(255, 220, 170, 0.7);
}

.rg-auth--solid {
    background: linear-gradient(135deg, #fff1cc 0%, #f0c36a 48%, #e08a32 100%);
    color: #14261a !important;
    border: 1px solid transparent;
    box-shadow: 0 8px 18px rgba(224, 138, 50, 0.28);
}

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

/* Konten */
#html-body .breadcrumbs,
#html-body .breadcrumbs a,
#html-body .breadcrumbs strong {
    color: var(--forest-800) !important;
    background: transparent !important;
}

#html-body .product-info-main,
#html-body .sticky-gall-wrap,
#html-body .product.media {
    background: rgba(255, 252, 246, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(120, 70, 20, 0.08);
    backdrop-filter: blur(12px);
}

#html-body .page-title,
#html-body .page-title .base,
#html-body h1,
#html-body h2,
#html-body .pdp-brand-title {
    font-family: var(--serif) !important;
    color: var(--forest-900) !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

#html-body .price,
#html-body .price-wrapper .price {
    color: #9a5b16 !important;
    font-family: var(--sans) !important;
    font-weight: 650;
}

#html-body a {
    color: var(--forest-700);
}

#html-body .action.primary,
#html-body button.action.primary,
#html-body .action.subscribe.primary {
    background: linear-gradient(145deg, #214c35, #163628) !important;
    border: 1px solid rgba(226, 177, 90, 0.4) !important;
    border-radius: 999px !important;
    color: var(--cream) !important;
    box-shadow: 0 10px 22px rgba(20, 48, 30, 0.16);
    font-family: var(--sans) !important;
    letter-spacing: 0.08em;
}

#html-body .action.primary a,
#html-body .action.primary span,
#html-body .action.subscribe.primary span {
    color: var(--cream) !important;
    text-decoration: none !important;
}

#html-body button.action.primary[title="Daftar slot qris"],
#html-body button.action.primary[title="DAFTAR"],
#html-body button.action.primary[title="Tambah Ke Keranjang"] {
    background: linear-gradient(135deg, #fff1cc 0%, #f0c36a 46%, #e08a32 100%) !important;
    border-color: transparent !important;
    color: #14261a !important;
}

#html-body button[title="Daftar slot qris"] a,
#html-body button[title="Daftar slot qris"] span,
#html-body button[title="DAFTAR"] a,
#html-body button[title="DAFTAR"] span,
#html-body button[title="Tambah Ke Keranjang"] a,
#html-body button[title="Tambah Ke Keranjang"] span {
    color: #14261a !important;
}

#html-body .gallery-placeholder,
#html-body .fotorama__stage,
#html-body .fotorama__nav,
#html-body .fotorama__wrap {
    background: transparent !important;
}

#html-body .fotorama__stage__frame,
#html-body .fotorama__img {
    border-radius: 18px;
}

#html-body .stickycart,
#html-body .sticky-cart-content {
    background: rgba(14, 36, 25, 0.94) !important;
    color: var(--cream) !important;
    border-top: 1px solid rgba(226, 177, 90, 0.35);
    backdrop-filter: blur(12px);
}

#html-body .stickycart .sticky-product-name,
#html-body .stickycart .sticky-size,
#html-body .stickycart a {
    color: var(--cream) !important;
}

#html-body .page-footer,
#html-body .footer-container,
#html-body .footer,
#html-body .copyright,
#html-body .chakra-container,
#html-body .below-copyright {
    background: linear-gradient(180deg, #143024, #0c1f17) !important;
    color: rgba(255, 244, 226, 0.86) !important;
}

#html-body .page-footer a,
#html-body .page-footer .title,
#html-body .footer .title,
#html-body .copyright,
#html-body .copyright span,
#html-body .below-copyright,
#html-body .below-copyright span {
    color: rgba(255, 244, 226, 0.88) !important;
}

#html-body .newsletter input,
#html-body #newsletter,
#html-body .input-text,
#html-body select.qty {
    border-radius: 14px;
    border-color: rgba(196, 132, 42, 0.35);
    background: rgba(255, 252, 246, 0.95);
    color: var(--ink);
}

#html-body .product.data.items > .item.title > .switch,
#html-body .product.data.items > .item.title.active > .switch,
#html-body .product.data.items > .item.title.active > .switch:focus,
#html-body .product.data.items > .item.title.active > .switch:hover {
    color: var(--forest-900) !important;
    border-color: #e2b15a !important;
    box-shadow: none !important;
}

/* Popup overlay */
.rg-overlay {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    box-sizing: border-box;
    overflow: auto;
    background: rgba(4, 12, 8, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.rg-overlay[hidden] {
    display: none !important;
}

.rg-popup {
    position: relative;
    width: min(420px, 100%);
    margin: auto;
    padding: 0 0 16px;
    border-radius: 22px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, #12301f 0%, #0a1a12 55%, #07140e 100%);
    border: 1px solid rgba(226, 177, 90, 0.45);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 236, 205, 0.18);
}

.rg-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #fff8ee;
    font-size: 22px;
    line-height: 1;
    background: linear-gradient(145deg, #2f6a45, #163528);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.rg-popup__close:hover {
    transform: scale(1.05);
}

.rg-popup__visual {
    display: block;
    width: 100%;
    height: auto;
}

.rg-popup__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: -28px 10px 0;
    position: relative;
    z-index: 2;
}

.rg-popup__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 64px;
    padding: 8px 4px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(18, 48, 31, 0.96), rgba(10, 26, 18, 0.98));
    border: 1px solid rgba(226, 177, 90, 0.55);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.rg-popup__feature-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.rg-popup__feature-label {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
    color: #f0c36a;
}

.rg-popup__actions {
    display: flex;
    gap: 10px;
    padding: 16px 12px 10px;
}

.rg-popup__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 10px;
    border-radius: 12px;
    text-decoration: none !important;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rg-popup__btn:hover {
    transform: translateY(-2px);
}

.rg-popup__btn--login {
    color: #fff !important;
    background: linear-gradient(135deg, #214c35 0%, #2f6a45 48%, #1a9a8a 100%);
    box-shadow: 0 10px 22px rgba(26, 154, 138, 0.28);
}

.rg-popup__btn--daftar {
    color: #14261a !important;
    background: linear-gradient(135deg, #fff6df 0%, #ffd56a 42%, #f09a3a 100%);
    box-shadow: 0 10px 22px rgba(224, 138, 50, 0.32);
}

#html-body .rg-popup__title {
    margin: 4px 14px 8px;
    color: #fff8ee !important;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.35;
}

#html-body .rg-popup__copy {
    margin: 0 14px;
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(180, 210, 195, 0.85) !important;
}

#html-body .rg-popup__copy span {
    color: #f0b15a !important;
    margin: 0 6px;
}

@media (max-width: 520px) {
    .rg-overlay {
        align-items: flex-start;
        padding-top: 20px;
    }

    .rg-popup__actions {
        flex-direction: column;
    }

    .rg-popup__feature-label {
        font-size: 7px;
    }

    .rg-auth {
        padding: 8px 12px;
        letter-spacing: 0.08em;
    }
}
