/* Custom Variables */
:root {
    --green-bottle: #00563F; 
    --white: #FFFFFF;
    --light-grey: #f4f4f4;
    --text-color: #333;
    --soft-font: 'Lora', serif; /* Font Lembut */
    --default-font: Arial, sans-serif;
}

/* Global Reset & Font Setting */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    font-family: var(--soft-font);
    line-height: 1.6;
}

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

ul {
    list-style: none;
    padding-left: 20px;
}

/* 1. HEADER STYLING */
.main-header {
    background-color: var(--green-bottle);
    color: var(--white);
    padding: 10px 20px;
}

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

.logo-area a {
    display: flex;
    align-items: center;
    color: var(--white);
}

.logo-img {
    height: 35px;
    margin-right: 8px;
}

.logo-text {
    font-family: var(--soft-font);
    font-size: 1.7em;
    font-weight: 700; 
}

/* Icons and Menu Toggle */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon, .menu-toggle {
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
}

.flag-icon {
    width: 30px;
    height: 20px;
    object-fit: cover;
    display: block;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white);
}

/* Keranjang Dropdown Styling */
.cart-dropdown-container {
    position: relative;
    display: inline-block;
}

.cart-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    z-index: 10;
    border-radius: 5px;
    overflow: hidden;
}

.cart-dropdown-menu a {
    color: var(--text-color);
    padding: 10px 15px;
    display: block;
    font-family: var(--default-font);
}

.cart-dropdown-menu a:hover {
    background-color: var(--light-grey);
}

.cart-dropdown-menu.show {
    display: block;
}

/* Navigasi Kanan (Menu Dropdown) */
.main-nav {
    display: none; 
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.main-nav.show {
    display: block;
}

.search-box input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--white);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    font-family: var(--default-font);
}

.category-links, .contact-info-menu {
    margin-bottom: 15px;
}

.category-links a, .contact-info-menu a {
    display: block;
    padding: 5px 0;
    color: var(--white);
}

.contact-info-menu i {
    margin-right: 8px;
}

.soon {
    font-style: italic;
    font-size: 0.9em;
    opacity: 0.8;
}

/* 2. PEMISAH GARIS TEBAL HIJAU BOTOL */
.separator-line {
    border: none;
    border-top: 4px solid var(--green-bottle); 
    margin: 0;
    padding: 0;
}

/* 3. WELCOME SECTION (Background Putih) */
.welcome-section {
    padding: 20px;
    text-align: center;
    color: var(--green-bottle);
}

.welcome-title {
    font-family: var(--soft-font);
    font-weight: 700;
    font-size: 1.6em;
    margin-bottom: 10px;
}

.welcome-description {
    font-size: 0.95em;
    color: var(--text-color);
}

/* 4. SLIDER BANNER */
.slider-section {
    overflow: hidden;
    max-height: 250px; 
}

.slide-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    flex-shrink: 0;
}

/* 5. PRODUCT SECTION */
.product-section {
    padding: 20px;
}

.product-header {
    font-family: var(--soft-font);
    text-align: center;
    color: var(--green-bottle);
    margin-bottom: 5px;
    font-size: 1.4em;
}

.product-subtitle {
    font-family: var(--soft-font);
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Product Image Slider (6 Gambar digeser horizontal) */
.product-image-slider {
    display: flex;
    overflow-x: scroll; 
    gap: 10px;
    padding-bottom: 15px; 
    -webkit-overflow-scrolling: touch; 
    margin-bottom: 25px;
}

.product-image-slider img {
    width: 150px; 
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

/* Keterangan Produk (Rata Kiri Rapi) */
.product-text-details {
    color: var(--text-color);
    margin-bottom: 25px;
}

.product-text-details p, .product-text-details ul {
    text-align: left; 
    margin-bottom: 5px;
    font-size: 0.95em;
}

.size-detail {
    margin-top: 10px !important;
}

.tagline {
    margin-top: 15px !important;
}

.tagline-quote {
    font-style: italic;
    font-weight: bold;
    color: var(--green-bottle);
}

/* Panduan Ukuran */
.size-guide-title {
    color: var(--green-bottle);
    text-align: left;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 700;
}

.size-guide-img {
    width: 100%;
    max-width: 400px; 
    height: auto;
    display: block;
    margin-bottom: 30px;
}

/* 6. FOOTER STYLING (Hijau Botol, Tulisan Putih, RATA KIRI RAPI) */
.main-footer {
    background-color: var(--green-bottle);
    color: var(--white);
    padding: 25px 20px;
    text-align: left; 
}

/* Ikon Marketplace */
.marketplace-links {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}

.marketplace-icon {
    width: 130px; 
    height: auto;
    display: block;
    background: none;
}

.footer-note {
    font-size: 0.95em;
    margin-bottom: 20px;
}

.footer-contact, .footer-address {
    margin-bottom: 15px;
    font-size: 0.95em;
}

.footer-contact p, .footer-address p {
    margin-bottom: 5px;
}

.footer-contact i {
    margin-right: 5px;
}

.copyright-text {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 0.8em;
}

/* Styling Khusus Halaman Detail Produk */
.detail-main-content {
    padding: 20px;
}
.detail-product-title {
    text-align: center;
    color: var(--green-bottle);
    margin-bottom: 15px;
    font-size: 1.8em;
}
.detail-main-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.product-details-box {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid var(--light-grey);
    border-radius: 5px;
}
.quick-buy-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}
.buy-button {
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    color: var(--white);
    font-weight: bold;
    transition: background-color 0.3s;
}
.buy-button i {
    margin-right: 5px;
}
.shopee {
    background-color: #ff5722; 
}
.tiktok {
    background-color: #000000;
}
.whatsapp {
    background-color: #25D366;
}


/* MEDIA QUERY untuk Desktop/Tablet */
@media (min-width: 768px) {
    .main-header { padding: 15px 40px; }
    .header-content { max-width: 1200px; margin: 0 auto; }
    .menu-toggle { display: none; }
    .main-nav {
        display: flex;
        position: static;
        width: auto;
        border-top: none;
        background: none;
        color: var(--white);
        margin-left: auto;
        gap: 20px;
        align-items: center;
        padding: 0;
    }
    .main-nav .search-box input { margin-bottom: 0; background-color: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }
    .category-links p, .contact-info-menu p { display: none; }
    .category-links a, .contact-info-menu a { display: inline-block; padding: 0; margin-right: 15px; font-size: 0.9em; }
    
    .product-details-container {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    .product-text-details { flex: 2; }
    .size-guide-img { flex: 1; max-width: 350px; }
    
    .detail-product-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    .detail-main-img {
        width: 45%;
    }
    .product-details-box {
        width: 45%;
        margin-bottom: 0;
    }
    .quick-buy-links {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    } 
    } 

/* Ikon Support Payment (Di Footer) */
.support-payment-icons {
    margin-top: 15px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.support-payment-icons p {
    font-size: 0.9em;
    margin-bottom: 10px;
    font-weight: bold;
}

.support-payment-icons img {
    height: 28px; /* Ukuran Ikon untuk Mandiri, BNI, BRI, USDT, USDC */
    width: auto;
    margin-right: 15px;
    background-color: var(--white); 
    padding: 3px 6px;
    border-radius: 3px;
    display: inline-block;
} 
