:root {
    --bg-color: #F8F8F8;
    --text-color: #111111;
    --brand-color: #0d1b2a;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Menambahkan grid background agar tidak terlalu polos */
    background-image: radial-gradient(rgba(13, 27, 42, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}
h1, h2, h3, h4, .font-syne {
    font-family: 'Syne', sans-serif;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.img-container {
    overflow: hidden;
    background-color: #E5E5E;
}
article.product-card {
    max-width: 520px;
    margin-inline: auto;
}
article.product-card .img-container {
    max-height: 520px;
}
.img-container img {
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}
.product-card:hover .img-container img {
    transform: scale(1.05);
}

/* Animasi mengambang untuk gambar hero */
.float-animation {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.drawer-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.checkout-drawer {
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.checkout-drawer.active {
    transform: translateX(0);
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: var(--brand-color);
    color: var(--bg-color);
    padding: 1rem 0;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hairline {
    height: 1px;
    background-color: rgba(17, 17, 17, 0.1);
    width: 100%;
}
