:root {
    --primary-background: #0f172a;
    --primary-text: #f8fafc;
    --secondary-background: #1e293b;
    --secondary-text: #94a3b8;
    --accent-color: #38bdf8;
    --accent-text: #ffffff;
    --card-background: #1e293b;
    --button-color: #2563eb;
    --button-text: #ffffff;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background-color: var(--primary-background);
    color: var(--primary-text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

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

ul,
ol {
    list-style: none;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--primary-background);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--secondary-background);
    border-radius: 10px;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
    }

    p,
    span,
    label,
    input,
    select,
    textarea {
        font-size: 14px;
        word-wrap: break-word;
    }
}

#cookieConsentOverlay {
    backdrop-blur: 4px;
}

/* ===== header ===== */
#header {
    position: relative;
    z-index: 50;
}

.js-menu-overlay {
    transition: opacity 0.3s ease;
}

.js-menu-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== hero_section ===== */
#hero {
    position: relative;
    width: 100%;
}

#hero .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

#hero h1 {
    color: var(--primary-text);
}

#hero p {
    color: var(--secondary-text);
}

#hero i {
    color: inherit;
}

/* ===== tentang_toko ===== */
#tentang {
    hyphens: auto
}

#tentang .container {
    max-width: 1280px
}

#tentang .rounded-lg {
    border-radius: var(--border-radius)
}

#tentang .bg-card-background {
    background-color: var(--card-background)
}

#tentang .text-accent {
    color: var(--accent-color)
}

#tentang .text-primary {
    color: var(--primary-text)
}

#tentang .text-secondary {
    color: var(--secondary-text)
}

/* ===== kategori_desain ===== */
#kategori {
    hyphens: auto;
}

.addBasketBtn {
    cursor: pointer;
}

/* ===== katalog_produk ===== */
#katalog {
    background-color: var(--primary-background);
}

.addBasketBtn {
    cursor: pointer;
}

.addBasketBtn:active {
    transform: scale(0.98);
}

/* ===== keunggulan_produk ===== */
.js-benefit-card {
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)
}

.js-benefit-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .2), 0 10px 10px -5px rgba(0, 0, 0, .04);
    border-color: var(--accent-color)
}

#keunggulan i {
    line-height: 1
}

#keunggulan p {
    hyphens: auto
}

/* ===== promo_info ===== */
#promo {
    hyphens: auto;
}

.js-smooth-scroll {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

/* ===== cara_order ===== */
#instruksi {
    hyphens: auto;
}

#instruksi .container {
    position: relative;
    z-index: 10;
}

#instruksi i {
    line-height: 1;
}

/* ===== ulasan_pelanggan ===== */
#ulasan {
    hyphens: auto;
    -webkit-hyphens: auto;
}

#ulasan .ri-star-fill {
    color: var(--accent-color);
}

#ulasan h2,
#ulasan h3 {
    color: var(--primary-text);
}

#ulasan p,
#ulasan span {
    color: var(--secondary-text);
}

#ulasan .bg-\[\#1e293b\] {
    background-color: var(--card-background);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

#ulasan .bg-\[\#1e293b\]:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

/* ===== pertanyaan_umum ===== */
.js-faq-content {
    transition: max-height 0.3s ease-out;
}

.js-faq-icon {
    transition: transform 0.3s ease;
}

/* ===== syarat_ketentuan_singkat ===== */
#syarat {
    position: relative;
}

#syarat .container {
    position: relative;
    z-index: 2;
}

#syarat h2,
#syarat p {
    color: var(--primary-text);
}

#syarat .text-\[var\(--secondary-text\)\] {
    color: var(--secondary-text);
}

#syarat .text-\[var\(--accent-color\)\] {
    color: var(--accent-color);
}

#syarat .bg-\[var\(--card-background\)\] {
    background-color: var(--card-background);
}

#syarat .border-\[var\(--secondary-background\)\] {
    border-color: var(--secondary-background);
}

/* ===== footer ===== */
#footer {
    hyphens: auto;
}

#footer a {
    display: inline-block;
    text-decoration: none;
}

#footer img {
    display: block;
}