/* =========================================================
   VELACOOKIES — IVORY THEME
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --bg:            #FAF6EF;
    --bg-alt:        #F5EFE3;
    --surface:       #FFFDF8;

    --text:          #2a1416;
    --text-soft:     #5a3a3c;
    --text-muted:    #7a5a5c;

    --gold:          #a8761c;
    --gold-light:    #c9973d;

    --green-dark:    #081c14;
    --green:         #103b29;
    --green-mid:     #18543a;
    --green-light:   #246b49;

    --border:        rgba(42, 20, 22, 0.08);
    --border-strong: rgba(42, 20, 22, 0.15);
    --shadow-sm:     0 2px 8px  rgba(42, 20, 22, 0.04);
    --shadow-md:     0 8px 24px rgba(42, 20, 22, 0.08);
    --shadow-lg:     0 20px 50px rgba(42, 20, 22, 0.15);

    --error:         #c0392b;

    --navbar-overlay: rgba(30, 15, 16, 0.32);
}


/* =========================================================
   2. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

button,
a {
    font: inherit;
}

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

button {
    cursor: pointer;
}


/* =========================================================
   3. NAVBAR
   ========================================================= */

.navbar {
    position: relative;
    z-index: 100;

    width: 100%;

    aspect-ratio: 1280 / 639;

    max-height: 480px;
    min-height: 160px;

    overflow: hidden;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.navbar-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;

    z-index: 0;
}


.navbar::after {
    content: "";

    position: absolute;
    inset: 0;

    background: var(--navbar-overlay);

    z-index: 1;
    pointer-events: none;
}


.navbar-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 22px 3% 0;
}


/* --- Brand --- */

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;

    height: 66px;
}

.brand-logo {
    height: 100%;
    width: auto;
    max-width: 320px;

    display: block;
    object-fit: contain;
    object-position: left center;

    /* Shadow berlapis: hitam tebal + glow putih tipis */
    filter:
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6))
        drop-shadow(0 4px 16px rgba(0, 0, 0, 0.75))
        drop-shadow(0 0 24px rgba(255, 255, 255, 0.12));

    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.05);

    filter:
        drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7))
        drop-shadow(0 6px 22px rgba(0, 0, 0, 0.85))
        drop-shadow(0 0 32px rgba(255, 255, 255, 0.2));
}


/* --- Nav Links --- */

.nav-links {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    position: relative;

    padding: 8px 16px;

    color: #FAF6EF;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;

    /* Shadow berlapis biar teks tegas di atas gambar apapun */
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.85),
        0 2px 10px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 0, 0, 0.4);

    border-radius: 999px;

    transition:
        color 0.2s ease,
        background 0.25s ease,
        text-shadow 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 2px;

    transform: translateX(-50%);

    width: 0;
    height: 2px;

    background: var(--gold-light);

    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(250, 246, 239, 0.12);
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.9),
        0 2px 12px rgba(0, 0, 0, 0.75),
        0 0 24px rgba(168, 118, 28, 0.4);
}

.nav-links a:hover::after {
    width: 40%;
}


/* --- Cart Button (base) --- */

.cart-button {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    height: 66px;
    padding: 0 24px 0 12px;

    border-radius: 999px;

    background: rgba(250, 246, 239, 0.15);
    border: 1px solid rgba(250, 246, 239, 0.3);
    backdrop-filter: blur(10px);

    color: #FAF6EF;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    transition:
        transform    0.22s ease,
        background   0.22s ease,
        border-color 0.22s ease,
        box-shadow   0.22s ease;
}

.cart-button:hover {
    transform: translateY(-2px);

    background: rgba(250, 246, 239, 0.25);
    border-color: var(--gold-light);

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(168, 118, 28, 0.3);
}

.cart-button:active {
    transform: translateY(0) scale(0.97);
}

.cart-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(250, 246, 239, 0.2);
    color: #FAF6EF;

    flex-shrink: 0;

    transition:
        transform  0.22s ease,
        background 0.22s ease,
        color      0.22s ease;
}

.cart-button:hover .cart-icon-wrapper {
    background: var(--gold);
    color: #ffffff;
    transform: scale(1.05);
}

.cart-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #FAF6EF;
}

.cart-count {
    min-width: 26px;
    height: 26px;
    padding: 0 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    border: 1px solid rgba(250, 246, 239, 0.25);

    color: #FAF6EF;
    font-size: 12px;
    font-weight: bold;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);

    transition: transform 0.22s ease;
}

.cart-button:hover .cart-count {
    transform: scale(1.1);
}

@keyframes cartBounce {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}

.cart-button.bounce {
    animation: cartBounce 0.35s ease;
}


/* =========================================================
   4. HERO
   ========================================================= */

.hero {
    min-height: auto;
    max-width: 1300px;

    margin: 0 auto;
    padding: 70px 6%;

    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: stretch;
    gap: 70px;
}

.hero-content {
    max-width: 620px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-family: "Helvetica Hebrew", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 4.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -1.8px;
    color: var(--text);
    margin-bottom: 25px;
    overflow: visible;
}

/* Custom L — SVG huruf L script */
.custom-l {
    display: inline-block;

    height: 2em;
    width: 1.84em;

    vertical-align: baseline;

    margin-right: -0.05em;

    fill: currentColor;

    overflow: visible;
}

.hero-description {
    max-width: 500px;
    color: var(--text-soft);
    font-size: 17px;
    margin-bottom: 32px;
}


.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 25px;
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        var(--green-dark) 0%,
        var(--green) 45%,
        var(--green-mid) 100%
    );

    color: #FAF6EF;
    font-weight: bold;

    border: 1px solid rgba(168, 118, 28, 0.3);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 6px 18px rgba(0, 0, 0, 0.15);

    transition:
        transform  0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;

    align-self: flex-start;
}

.hero-button:hover {
    transform: translateY(-3px);

    background: linear-gradient(
        135deg,
        var(--green) 0%,
        var(--green-mid) 55%,
        var(--green-light) 100%
    );

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.2),
        0 0 18px rgba(36, 107, 73, 0.15);
}

.hero-button:active {
    transform: scale(0.97);
}


/* --- Hero Image --- */

.hero-image {
    position: relative;

    width: 100%;
    max-width: 460px;

    height: 100%;

    margin-left: auto;

    overflow: hidden;
    border-radius: 28px;

    background: var(--surface);
    border: 1px solid var(--border);

    box-shadow: var(--shadow-lg);

    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.hero-image.is-dragging {
    cursor: grabbing;
}

#hero-slider-image,
.hero-slider-next {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
    display: block;

    pointer-events: none;
    will-change: transform;
}

.hero-slider-next {
    opacity: 0;
    z-index: 1;
}


.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    display: flex;
    gap: 10px;

    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;

    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));

    z-index: 2;
}

.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;

    transition:
        transform  0.2s ease,
        background 0.2s ease;
}

.hero-dot:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}


/* =========================================================
   5. PO SECTION
   ========================================================= */

.po-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 6% 80px;
}

.po-status {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    padding: 25px 30px;
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(36, 107, 73, 0.55),
            transparent 42%
        ),
        linear-gradient(
            120deg,
            var(--green-dark) 0%,
            var(--green) 48%,
            var(--green-mid) 100%
        );

    border: 1px solid rgba(168, 118, 28, 0.25);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 14px rgba(42, 20, 22, 0.08);

    transition:
        transform   0.25s ease,
        box-shadow  0.25s ease;
}

.po-status:hover {
    transform: translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 30px rgba(42, 20, 22, 0.12),
        0 0 22px rgba(24, 84, 58, 0.15);
}

.po-indicator {
    width: 11px;
    height: 11px;

    flex-shrink: 0;
    border-radius: 50%;

    background: #8bd28b;

    box-shadow:
        0 0 0 5px rgba(139, 210, 139, 0.12),
        0 0 14px rgba(139, 210, 139, 0.3);
}

.po-indicator.closed {
    background: #e2725b;
    box-shadow:
        0 0 0 5px rgba(226, 114, 91, 0.12),
        0 0 14px rgba(226, 114, 91, 0.3);
}

.po-label {
    display: block;
    margin-bottom: 4px;

    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.po-status h2 {
    color: #FAF6EF;
    font-size: 22px;
    margin-bottom: 3px;
}

.po-status p {
    color: rgba(250, 246, 239, 0.75);
    font-size: 14px;
}

.po-countdown {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    border-radius: 16px;

    background: rgba(8, 28, 20, 0.65);
    border: 1px solid rgba(168, 118, 28, 0.4);
    backdrop-filter: blur(8px);
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 38px;
}

.time-box span {
    font-size: 20px;
    font-weight: bold;
    color: var(--gold-light);
    line-height: 1.1;
    font-family: monospace, sans-serif;
}

.time-box small {
    font-size: 9px;
    color: rgba(250, 246, 239, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.time-separator {
    font-size: 16px;
    font-weight: bold;
    color: var(--gold-light);
    opacity: 0.7;
    margin-bottom: 12px;
}


/* =========================================================
   6. PRODUCTS
   ========================================================= */

.products-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 6% 100px;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    font-family: "Helvetica Hebrew", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -2px;

    color: var(--text);
    margin-bottom: 14px;
}

.section-heading > p:last-child {
    color: var(--text-soft);
    max-width: 500px;
}

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


/* --- Product Card --- */

.product-card {
    overflow: hidden;
    border-radius: 22px;

    background: var(--surface);
    border: 1px solid var(--border);

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(42, 20, 22, 0.08),
        0 4px 8px rgba(42, 20, 22, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    transition:
        transform     0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow    0.35s ease,
        border-color  0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);

    box-shadow:
        0 30px 60px rgba(42, 20, 22, 0.22),
        0 15px 30px rgba(42, 20, 22, 0.14),
        0 0 0 1px rgba(42, 20, 22, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    border-color: rgba(42, 20, 22, 0.35);
}


/* Product image — rasio 3:4 */

.product-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}


/* --- Product Info --- */

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--gold);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.product-info h3 {
    min-height: 52px;

    color: var(--text);
    font-family: "Helvetica Hebrew", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.2px;

    margin-bottom: 18px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-bottom strong {
    color: var(--gold);
    font-size: 15px;
    white-space: nowrap;
}


/* --- Add Button — minimalist circular (ivory + red plus) --- */

.add-button {
    border: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    padding: 0;

    border-radius: 50%;

    background: #FAF6EF;
    color: #a83024;

    cursor: pointer;

    box-shadow:
        0 2px 8px rgba(42, 20, 22, 0.1),
        0 0 0 1px rgba(168, 48, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    transition:
        transform   0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
        background  0.22s ease,
        color       0.22s ease,
        box-shadow  0.22s ease;
}

.add-button:hover {
    transform: translateY(-2px) scale(1.06);

    background: #a83024;
    color: #FAF6EF;

    box-shadow:
        0 6px 18px rgba(168, 48, 36, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.add-button:active {
    transform: translateY(0) scale(0.95);
}

.add-button > span:last-child {
    display: none;
}

.add-button .plus {
    width: auto;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    color: inherit;

    font-size: 24px;
    font-weight: 300;
    line-height: 1;

    transform: translateY(-1px);
}


/* =========================================================
   7. FOOTER
   ========================================================= */

.footer {
    padding: 50px 6% 35px;

    border-top: 1px solid var(--border);

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand .brand-text {
    margin-bottom: 12px;
}

.footer-brand .brand-text span {
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--gold);
}

.footer-brand .brand-text strong {
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--text);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 13px;
}

.copyright {
    color: rgba(42, 20, 22, 0.5);
    font-size: 12px;
}


.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
}


/* =========================================================
   8. MODALS — BASE
   ========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(42, 20, 22, 0.55);
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    position: relative;

    width: 100%;
    max-width: 420px;
    max-height: 90vh;

    overflow-y: auto;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(42, 20, 22, 0.55);
    color: #FAF6EF;

    font-size: 20px;
    line-height: 1;

    transition: background 0.18s ease, color 0.18s ease;
}

.modal-close:hover {
    background: var(--gold);
    color: #ffffff;
}


.modal-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;

    border-radius: 20px 20px 0 0;
}

.modal-info {
    padding: 22px 24px 26px;
}

.modal-info h3 {
    color: var(--text);
    font-family: "Helvetica Hebrew", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.2px;
    margin: 4px 0 6px;
}

.modal-description {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.modal-price {
    color: var(--gold);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 16px;
}


.modal-addon {
    margin-bottom: 16px;
    padding: 12px 14px;

    background: rgba(168, 118, 28, 0.06);
    border: 1px solid rgba(168, 118, 28, 0.18);
    border-radius: 12px;
}

.addon-toggle {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 13.5px;
    color: var(--text);
    cursor: pointer;
}

.addon-toggle input {
    width: 17px;
    height: 17px;
    accent-color: var(--gold);
    cursor: pointer;
}

.modal-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal-qty-label {
    font-size: 13px;
    color: var(--text-muted);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qty-control button {
    width: 30px;
    height: 30px;

    border: 1px solid rgba(168, 118, 28, 0.4);
    border-radius: 50%;
    background: transparent;
    color: var(--gold);

    font-size: 16px;
    font-weight: bold;

    transition: background 0.18s ease, color 0.18s ease;
}

.qty-control button:hover {
    background: var(--gold);
    color: #ffffff;
}

.qty-control span {
    min-width: 18px;
    text-align: center;
    color: var(--text);
    font-weight: bold;
}

.modal-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 14px;
    margin-bottom: 18px;

    border-top: 1px solid var(--border);

    color: var(--text);
    font-size: 14px;
}

.modal-subtotal strong {
    color: var(--gold);
    font-size: 17px;
}

.modal-add-btn {
    width: 100%;
    padding: 13px;

    border: none;
    border-radius: 999px;

    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 45%, var(--green-mid) 100%);
    color: #FAF6EF;

    font-weight: bold;
    font-size: 14px;

    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.modal-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.modal-add-btn:active {
    transform: scale(0.97);
}

.modal-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   9. CART DRAWER
   ========================================================= */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 210;

    display: none;
    background: rgba(42, 20, 22, 0.45);
}

.cart-overlay.active {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 220;

    width: 100%;
    max-width: 380px;

    display: flex;
    flex-direction: column;

    background: var(--surface);
    border-left: 1px solid var(--border);

    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
    color: var(--text);
    font-size: 17px;
}

.cart-drawer-header button {
    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;

    background: rgba(42, 20, 22, 0.06);
    color: var(--text);

    font-size: 18px;

    transition: background 0.18s ease, color 0.18s ease;
}

.cart-drawer-header button:hover {
    background: var(--gold);
    color: #ffffff;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 22px;
}

.cart-empty {
    color: var(--text-muted);
    font-size: 13.5px;
    text-align: center;
    margin-top: 30px;
}

.cart-item {
    display: flex;
    gap: 12px;

    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 56px;
    height: 56px;

    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    color: var(--text);
    font-size: 13.5px;
    font-weight: bold;
    margin-bottom: 2px;
}

.cart-item-addon {
    color: var(--gold);
    font-size: 11.5px;
    margin-bottom: 8px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-qty button {
    width: 22px;
    height: 22px;

    border: 1px solid rgba(168, 118, 28, 0.4);
    border-radius: 50%;
    background: transparent;
    color: var(--gold);

    font-size: 13px;

    transition: background 0.18s ease, color 0.18s ease;
}

.cart-item-qty button:hover {
    background: var(--gold);
    color: #ffffff;
}

.cart-item-qty span {
    color: var(--text);
    font-size: 13px;
    min-width: 14px;
    text-align: center;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.cart-item-right strong {
    color: var(--gold);
    font-size: 13.5px;
    white-space: nowrap;
}

.cart-item-remove {
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 11px;
    text-decoration: underline;

    transition: color 0.18s ease;
}

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

.cart-footer {
    padding: 18px 22px 22px;
    border-top: 1px solid var(--border);
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 14px;

    color: var(--text);
    font-size: 14px;
}

.cart-total-row strong {
    color: var(--gold);
    font-size: 18px;
}

.checkout-btn {
    width: 100%;
    padding: 13px;

    border: none;
    border-radius: 999px;

    background: var(--gold);
    color: #ffffff;

    font-weight: bold;
    font-size: 14px;

    transition: transform 0.18s ease, opacity 0.18s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
}

.checkout-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.cart-note {
    margin-top: 10px;
    min-height: 14px;
    color: var(--gold-light);
    font-size: 11.5px;
    text-align: center;
}


/* =========================================================
   10. CHECKOUT FORM
   ========================================================= */

.checkout-box,
.confirmation-box {
    max-width: 440px;
}

.checkout-summary {
    margin-bottom: 18px;
    padding: 12px 14px;

    background: rgba(168, 118, 28, 0.06);
    border: 1px solid rgba(168, 118, 28, 0.18);
    border-radius: 12px;
}

.checkout-summary-items {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-bottom: 10px;
    max-height: 160px;
    overflow-y: auto;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;

    font-size: 12.5px;
    color: var(--text);
}

.checkout-summary-row .row-name {
    color: var(--text);
}

.checkout-summary-row .row-addon {
    display: block;
    color: var(--gold);
    font-size: 11px;
}

.checkout-summary-row .row-price {
    color: var(--gold);
    white-space: nowrap;
}

.checkout-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 10px;
    border-top: 1px solid rgba(168, 118, 28, 0.2);

    font-size: 13.5px;
    color: var(--text);
}

.checkout-summary-total strong {
    color: var(--gold);
    font-size: 16px;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    margin-bottom: 6px;

    font-size: 12.5px;
    color: var(--text-soft);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 12px;

    border: 1px solid var(--border-strong);
    border-radius: 10px;

    background: var(--bg);
    color: var(--text);

    font-family: inherit;
    font-size: 13.5px;

    transition: border-color 0.18s ease, background 0.18s ease;
}

.form-textarea {
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(42, 20, 22, 0.3);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--surface);
}

.form-input.invalid,
.form-textarea.invalid {
    border-color: var(--error);
}

.form-error {
    display: block;
    min-height: 15px;
    margin-top: 4px;

    color: var(--error);
    font-size: 11.5px;
}


/* =========================================================
   11. ORDER CONFIRMATION
   ========================================================= */

.confirmation-info {
    text-align: center;
}

.confirmation-check {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(135deg, var(--green-mid), var(--green-light));
    color: #ffffff;

    font-size: 22px;
    font-weight: bold;
}

.confirmation-order-id {
    margin: 6px 0 4px;

    color: var(--gold);
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;
}

.confirmation-customer {
    margin-bottom: 16px;

    color: var(--text-muted);
    font-size: 13px;
}

.confirmation-info .checkout-summary {
    text-align: left;
}

.confirmation-info .modal-add-btn {
    margin-top: 4px;
}


/* =========================================================
   12. FLOATING CART
   ========================================================= */

.floating-cart {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 150;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 20px 10px 12px;

    border: 1px solid rgba(168, 118, 28, 0.5);
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        var(--green-dark) 0%,
        var(--green) 50%,
        var(--green-mid) 100%
    );

    color: #FAF6EF;

    box-shadow:
        0 12px 32px rgba(42, 20, 22, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 26px rgba(36, 107, 73, 0.15);

    opacity: 0;
    transform: translateY(28px) scale(0.92);
    pointer-events: none;

    transition:
        opacity    0.28s ease,
        transform  0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.22s ease;
}

.floating-cart.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-cart:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 18px 42px rgba(42, 20, 22, 0.25),
        0 0 34px rgba(168, 118, 28, 0.3);
}

.floating-cart:active {
    transform: translateY(-1px) scale(0.97);
}

.floating-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: rgba(250, 246, 239, 0.18);
    color: var(--gold-light);
    flex-shrink: 0;

    transition: background 0.2s ease, color 0.2s ease;
}

.floating-cart:hover .floating-cart-icon {
    background: var(--gold);
    color: #ffffff;
}

.floating-cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    line-height: 1.15;
    text-align: left;
}

.floating-cart-count {
    font-size: 10.5px;
    letter-spacing: 0.8px;

    color: rgba(250, 246, 239, 0.7);
    text-transform: uppercase;
    font-weight: 600;
}

.floating-cart-total {
    font-size: 15.5px;
    color: var(--gold-light);
    font-weight: bold;
}

@keyframes floatCartPulse {
    0% {
        box-shadow:
            0 12px 32px rgba(42, 20, 22, 0.2),
            0 0 0 0 rgba(168, 118, 28, 0.55);
    }
    100% {
        box-shadow:
            0 12px 32px rgba(42, 20, 22, 0.2),
            0 0 0 22px rgba(168, 118, 28, 0);
    }
}

.floating-cart.pulse {
    animation: floatCartPulse 0.65s ease-out;
}


/* =========================================================
   13. REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(18px);

    animation: revealIn 0.65s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.12s; }
.product-card:nth-child(3) { animation-delay: 0.19s; }
.product-card:nth-child(4) { animation-delay: 0.26s; }

@keyframes revealIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   14. CART ICON — CIRCLE WITH BORDER (HIGHLIGHTED)
   ========================================================= */

.navbar-inner > .cart-button {
    position: absolute;
    top: 33px;
    right: 3%;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    padding: 0;

    border: 2px solid rgba(250, 246, 239, 0.95);
    border-radius: 50%;
    background: rgba(30, 15, 16, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* Shadow berlapis biar icon bener-bener "pop" */
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(250, 246, 239, 0.25),
        0 0 48px rgba(168, 118, 28, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2);

    color: #FAF6EF;
    cursor: pointer;

    transition:
        background   0.3s ease,
        border-color 0.3s ease,
        box-shadow   0.3s ease,
        transform    0.3s ease;
}

.navbar-inner > .cart-button .cart-label,
.navbar-inner > .cart-button .cart-count {
    display: none !important;
}

.navbar-inner > .cart-button .cart-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.navbar-inner > .cart-button:hover .cart-icon-wrapper {
    background: transparent;
    color: inherit;
    transform: none;
}

.navbar-inner > .cart-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

.navbar-inner > .cart-button:hover {
    background: rgba(168, 118, 28, 0.85);
    border-color: #ffffff;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.55),
        0 0 32px rgba(250, 246, 239, 0.4),
        0 0 56px rgba(168, 118, 28, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px) scale(1.05);
}

.navbar-inner > .cart-button:active {
    transform: translateY(0) scale(0.96);
}


/* =========================================================
   15. RESPONSIVE — TABLET (≤ 900px)
   ========================================================= */

@media (max-width: 900px) {

    .navbar {
        aspect-ratio: 16 / 9;
        max-height: 300px;
        min-height: 140px;
    }

    .navbar-inner {
        padding: 18px 4% 0;
    }

    .nav-links {
        display: none;
    }

    .brand {
        height: 52px;
    }

    .brand-logo {
        max-width: 220px;
    }

    .hero {
        min-height: auto;

        grid-template-columns: 1fr;
        gap: 40px;

        padding: 55px 5% 65px;

        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        align-self: auto;
    }

    .hero-button {
        align-self: flex-start;
    }

    .hero h1 {
        font-size: clamp(46px, 12vw, 70px);
    }

    .hero-image {
        max-width: 400px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .po-section {
        padding: 0 5% 60px;
    }

    .po-status {
        flex-direction: column;
        align-items: flex-start;
    }

    .po-countdown {
        width: 100%;
        justify-content: center;
    }

    .products-section {
        padding: 20px 5% 75px;
    }

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

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 18px;
        min-height: 48px;
    }

    .product-bottom {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .add-button {
        width: 40px;
        height: 40px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 5% 30px;
    }

    /* Cart icon di navbar — tablet */
    .navbar-inner > .cart-button {
        top: 26px;
        right: 4%;
        width: 42px;
        height: 42px;
    }

    .navbar-inner > .cart-button svg {
        width: 18px;
        height: 18px;
        stroke-width: 1.8;
    }
}


/* =========================================================
   16. RESPONSIVE — SMALL MOBILE (≤ 520px)
   ========================================================= */

@media (max-width: 520px) {

    .navbar {
        aspect-ratio: 1 / 1;
        max-height: 320px;
    }

    .navbar-inner {
        padding: 14px 4% 0;
    }

    .brand {
        height: 44px;
    }

    .brand-logo {
        max-width: 160px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-image {
        max-width: 320px;
        aspect-ratio: 1 / 1;
    }

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

    .product-info h3 {
        min-height: auto;
    }

    .product-bottom {
        flex-direction: row;
        align-items: center;
    }

    .add-button {
        width: 40px;
        height: 40px;
    }

    .cart-drawer {
        max-width: 100%;
    }

    .modal-box {
        max-width: 100%;
    }

    .floating-cart {
        left: 16px;
        right: 16px;
        bottom: 16px;

        justify-content: center;
        padding: 11px 16px;
    }

    .floating-cart-info {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .floating-cart-count::after {
        content: " ·";
        margin-left: 2px;
    }

    /* Cart icon di navbar — HP */
    .navbar-inner > .cart-button {
        top: 22px;
        right: 4%;
        width: 38px;
        height: 38px;
        border-width: 1.5px;
    }

    .navbar-inner > .cart-button svg {
        width: 16px;
        height: 16px;
        stroke-width: 1.8;
    }
}


/* =========================================================
   17. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =========================
HILANGKAN HIGHLIGHT BIRU
========================= */

* {
    -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}


/* =========================
SCROLLBAR AUTO-HIDE (smooth)
========================= */

.modal-box::-webkit-scrollbar,
.cart-items::-webkit-scrollbar,
.checkout-summary-items::-webkit-scrollbar {
    width: 6px;
}

.modal-box::-webkit-scrollbar-track,
.cart-items::-webkit-scrollbar-track,
.checkout-summary-items::-webkit-scrollbar-track {
    background: transparent;
}

.modal-box::-webkit-scrollbar-thumb,
.cart-items::-webkit-scrollbar-thumb,
.checkout-summary-items::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
    transition: background 0.3s ease;
}

.modal-box.is-scrolling::-webkit-scrollbar-thumb,
.cart-items.is-scrolling::-webkit-scrollbar-thumb,
.checkout-summary-items.is-scrolling::-webkit-scrollbar-thumb {
    background: rgba(168, 118, 28, 0.5);
}

.modal-box::-webkit-scrollbar-thumb:hover,
.cart-items::-webkit-scrollbar-thumb:hover,
.checkout-summary-items::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 118, 28, 0.75);
}

.modal-box,
.cart-items,
.checkout-summary-items {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
}

.modal-box.is-scrolling,
.cart-items.is-scrolling,
.checkout-summary-items.is-scrolling {
    scrollbar-color: rgba(168, 118, 28, 0.5) transparent;
}