/* Import Google Fonts for better Zalora mimicking */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #262626; /* Zalora main text color */
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    /* Anti-scraping */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

ul {
    list-style: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5 {
    color: #000;
}
.font-bold {
    font-weight: 700;
}
.text-xs { font-size: 10px; }
.text-sm { font-size: 12px; }
.text-md { font-size: 14px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-grey { color: #737373; }

/* Top Banner */
.top-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: #f4f4f4;
    font-size: 11px;
    color: #262626;
}
.top-banner-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.top-banner-item:hover {
    text-decoration: underline;
}
.vip-badge-small {
    background-color: #6C45DC;
    color: white;
    padding: 2px 5px;
    border-radius: 2px;
    font-weight: bold;
    font-size: 9px;
    letter-spacing: 0.5px;
}

/* Main Header */
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #fff;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #ebebeb;
}

.logo-container {
    font-size: 26px;
    letter-spacing: 12px;
    font-weight: 300;
    color: #000;
    text-transform: uppercase;
}

/* Search Bar */
.search-container {
    flex-grow: 1;
    max-width: 600px;
    position: relative;
    margin: 0 40px;
}
.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid transparent;
    background-color: #f4f4f4; /* Zalora search pill */
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    color: #262626;
    transition: all 0.2s ease;
}
.search-input:focus {
    background-color: #fff;
    border-color: #262626;
}
.search-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}
.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}
.action-item i {
    font-size: 18px;
    font-weight: 300;
}

/* Big Auth Banner (Yellow Slot Style) */
.big-auth-wrapper {
    padding: 0 40px;
}
.big-auth-banner {
    display: flex;
    max-width: 1300px;
    margin: 0 auto 20px auto;
    border: 2px solid #000;
}
.big-auth-btn {
    flex: 1;
    background: linear-gradient(180deg, #ffe135 0%, #f4a900 100%);
    color: #0e0e0e;
    text-align: center;
    padding: 18px;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 0px rgba(255,255,255,0.4), inset 0 -2px 0px rgba(0,0,0,0.1);
}
.big-auth-btn:first-child {
    border-right: 2px solid #000;
}
.big-auth-btn:hover {
    background: linear-gradient(180deg, #ffea6b 0%, #fcb823 100%);
    box-shadow: inset 0 2px 0px rgba(255,255,255,0.6), inset 0 -2px 0px rgba(0,0,0,0.1);
}

/* Sub Header Navigation */
.header-nav {
    display: flex;
    padding: 0 40px;
    gap: 30px;
    border-bottom: 1px solid #ebebeb;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 99;
}
.header-nav a {
    font-size: 12px;
    font-weight: 900;
    color: #262626;
    padding: 15px 0;
    text-transform: uppercase;
    position: relative;
}
.header-nav a:hover::after, .header-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #262626;
}

/* Breadcrumbs */
.breadcrumb {
    padding: 20px 40px;
    font-size: 12px;
    color: #737373;
}
.breadcrumb a {
    color: #737373;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Product Layout */
.product-container {
    display: flex;
    padding: 0 40px 40px 40px;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Gallery - Left Side */
.product-gallery {
    flex: 1.3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.gallery-image-wrapper {
    background-color: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-image-wrapper img {
    width: 90%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Optional, for white background images */
    transition: transform 0.3s;
}
.gallery-image-wrapper img:hover {
    transform: scale(1.05);
}
.image-tag {
    position: absolute;
    left: 15px;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
    background-color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}
.tag-new {
    top: 15px;
    color: #c98816;
}
.tag-earth {
    top: 45px;
    color: #2b775f;
}

/* Product Details - Right Side */
.product-details {
    flex: 0.7;
    max-width: 400px;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
}
.product-title {
    font-size: 15px;
    color: #737373;
    margin-bottom: 15px;
    font-weight: 400;
}
.product-price {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

/* Promo Boxes */
.promo-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.promo-box {
    border: 1px dashed #b9e3fc; /* INDODANA colors */
    padding: 15px;
    border-radius: 6px;
    font-size: 11px;
    background: linear-gradient(135deg, #f0f8ff, #ffffff);
    flex: 2;
    position: relative;
}
.promo-box strong {
    font-size: 13px;
    color: #000;
    margin-bottom: 5px;
    display: block;
}
.promo-more {
    border: 1px solid #ebebeb;
    padding: 10px;
    border-radius: 6px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex: 1;
}
.promo-more:hover {
    background: #f4f4f4;
}

/* Variations */
.section-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.section-title span {
    font-weight: normal;
    color: #737373;
    margin-left: 8px;
}
.variant-thumbnail {
    width: 45px;
    height: 60px;
    border: 2px solid #262626;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 25px;
}
.variant-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sizes */
.size-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.size-bubble {
    background-color: #262626;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* Add to Cart CTA */
.cta-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.btn-add-cart {
    flex-grow: 1;
    background-color: #262626;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 52px;
}
.btn-add-cart:hover {
    background-color: #000000;
}
.btn-wishlist {
    width: 52px;
    height: 52px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #555;
    transition: border-color 0.2s;
}
.btn-wishlist:hover {
    border-color: #262626;
}

/* Delivery Info Block */
.delivery-info {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}
.delivery-info .title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}
.delivery-info .sub-text {
    font-size: 13px;
    color: #737373;
}

/* Why Love Shopping Blocks */
.reasons-to-love {
    margin-bottom: 40px;
}
.reasons-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}
.reasons-header a {
    text-decoration: underline;
    color: #737373;
    font-weight: 400;
    font-size: 13px;
}
.reasons-cards {
    display: flex;
    gap: 12px;
}
.reason-card {
    flex: 1;
    background-color: #fef7e7; /* Light pastel yellow/orange */
    border-radius: 8px;
    padding: 15px;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    color: #262626;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 90px;
}
.reason-card:nth-child(2) {
    background-color: #eaf6ea; /* pastel green */
}
.reason-card:nth-child(3) {
    background-color: #eaf4fa; /* pastel blue */
}

/* Accordions */
.accordion-item {
    border-top: 1px solid #ebebeb;
    padding: 15px 0;
}
.accordion-item:last-child {
    border-bottom: 1px solid #ebebeb;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    color: #262626;
}
.accordion-content {
    padding-top: 20px;
    font-size: 13px;
    color: #262626;
    line-height: 1.8;
}

/* Detailed Product Info table style */
.info-row {
    display: flex;
    margin-bottom: 10px;
}
.info-label {
    width: 30%;
    font-weight: 700;
}
.info-value {
    width: 70%;
    color: #737373;
}

/* Earth Edit Banner */
.earth-edit-banner {
    margin-top: 30px;
    background-color: #485c67; /* Match Zalora's dark greyish earth edit */
    height: 120px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    color: white;
    overflow: hidden;
}

/* Floating Elements Z-index Mock */
.floating-vip {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #262626;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}
.floating-vip-text {
    font-weight: 900;
    font-size: 18px;
}

/* Footer Container */
.footer-wrapper {
    margin-top: 50px;
}
.footer-top {
    border-top: 1px solid #ebebeb;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    background: #fff;
}
.footer-column {
    flex: 1;
}
.footer-title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #262626;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    font-size: 13px;
    color: #737373;
}
.footer-links-grid a:hover {
    text-decoration: underline;
}

.footer-middle {
    border-top: 1px solid #ebebeb;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
}
.footer-info-col {
    flex: 1;
}
.footer-info-col-title {
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #262626;
}
.footer-info-col img {
    max-height: 40px;
    margin: 5px 10px 10px 0;
}
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 5px;
    align-items: center;
}
.payment-logo {
    font-weight: 900;
    font-size: 13px;
    font-style: italic;
    white-space: nowrap;
}
.bca-blue { color: #004aae; }
.bni-orange { color: #f15a23; }
.jcb-color { color: #002b64; }
.ovo-purple { color: #4c3494; }

.footer-separator {
    width: 100%;
    height: 12px;
    background: url('https://static-id.zacdn.com/next-assets/static-assets/images/footer/branding_line.png') top/contain no-repeat #000;
}

/* Custom logos for Zalora */
.logo-gfg {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -2px;
}
.flag-icons span {
    font-size: 20px;
    margin: 5px 10px 5px 0;
    display: inline-block;
}

.footer-bottom {
    background-color: #000;
    color: #fff;
    padding: 60px 40px;
    display: flex;
    gap: 60px;
    font-size: 13px;
}
.footer-bottom-col {
    flex: 1;
}
.footer-bottom h3 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 700;
}
.footer-bottom-links a {
    display: block;
    color: #a0a0a0;
    margin-bottom: 15px;
}
.footer-bottom-links a:hover {
    color: #fff;
    text-decoration: underline;
}
.newsletter-input {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}
.newsletter-input input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
    border-radius: 4px;
    outline: none;
}
.btn-gender {
    padding: 10px 20px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}
.btn-gender:hover {
    background: #fff;
    color: #000;
}
.social-icons {
    display: flex;
    gap: 20px;
    font-size: 24px;
    margin-top: 25px;
}

/* SEO Article & Content */
.seo-article-container {
    max-width: 1300px;
    margin: 40px auto 100px auto;
    padding: 30px 40px;
    background: #fff;
    border-top: 1px solid #ebebeb;
    color: #262626;
}
.seo-article-container h2 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.seo-article-container h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
}
.seo-article-container p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Zalora Style Comparison Table */
.table-responsive {
    overflow-x: auto;
}
.zalora-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    text-align: left;
    font-size: 13px;
}
.zalora-table th, .zalora-table td {
    border: 1px solid #ebebeb;
    padding: 15px;
}
.zalora-table th {
    background-color: #f4f4f4;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
}
.zalora-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Clean FAQ Accordion without JS */
.faq-accordion-container {
    border: 1px solid #ebebeb;
    border-radius: 4px;
}
.faq-item {
    border-bottom: 1px solid #ebebeb;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-toggle {
    display: none;
}
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s;
    margin-bottom: 0;
}
.faq-header:hover {
    background-color: #f9f9f9;
}
.faq-toggle:checked + .faq-header {
    background-color: #f4f4f4;
}
.faq-toggle:checked + .faq-header i {
    transform: rotate(180deg);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    background: #fff;
    transition: all 0.3s ease-out;
}
.faq-toggle:checked ~ .faq-content {
    max-height: 500px;
    padding: 20px;
    border-top: 1px solid #ebebeb;
}

/* Responsive */
@media (max-width: 900px) {
    .product-container {
        flex-direction: column;
        padding: 0 20px 20px 20px;
    }
    .product-details {
        max-width: 100%;
    }
    .footer-top, .footer-middle, .footer-bottom {
        flex-direction: column;
        gap: 30px;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}
