* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: #F2F3F7;
}

/* ============================================================
   KHUSUS DESKTOP (Hanya jalan di layar lebar)
   Menyamakan posisi dengan header.css
   ============================================================ */
@media (min-width: 1025px) {
    /* 1. Paksa Container Utama Sejajar dengan Header */
    .container,
    .container-1440,
    .breadcrumb-container {
        max-width: 1400px !important; /* Harus sama dengan header.css */
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 40px !important; /* Match dengan header.css */
        padding-right: 40px !important; /* Match dengan header.css */
        width: 100% !important;
        display: block !important;
    }

    /* 2. Pastikan Layout Produk Tidak Keluar Jalur */
    .product-layout-figma {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        gap: 40px; /* Jarak antara gambar dan detail produk */
    }

    /* 3. Menghilangkan margin negatif jika ada yang menarik konten ke kiri/kanan */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ========================================
   2. CSS VARIABLES
   ======================================== */

:root {
    /* Colors */
    --primary-color: #8B9D83;
    --secondary-color: #99BC76;
    --accent-green: #507C5B;
    --accent-green-hover: #3d5e46;
    --hero-bg: #E0EBE3;
    --text-dark: #2D2D2D;
    --text-medium: #3F425A;
    --text-light: #666;
    --text-muted: #696F96;
    --bg-light: #F8FAF6;
    --bg-section: #F2F3F7;
    --white: #FFFFFF;
    --border-color: #C3C5D5;
    --border-light: #E5EDE0;

    /* Layout */
    --max-width: 1400px;
    --container-padding: 40px;
    --container-max: 1200px;

    /* Z-index layers */
    --z-decoration: 1;
    --z-content: 2;
    --z-overlay: 3;

    /* Spacing & Sizing */
    --hero-image-size: 459px;
    --badge-size: 138px;
    --decoration-left-width: 250px;
    --decoration-left-height: 462px;
    --decoration-right-width: 205.15px;
    --decoration-right-height: 295.91px;

    /* Mobile Decoration Values */
    --mobile-decoration-left-width: 100px;
    --mobile-decoration-left-height: 150px;
    --mobile-decoration-right-width: 90px;
    --mobile-decoration-right-height: 95px;
    --mobile-decoration-right-top: 495px;
}

/* ========================================
   3. CONTAINER SYSTEM
   ======================================== */

.container-1440,
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.container {
    position: relative;
}

.collection-container,
.city-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   4. BREADCRUMB NAVIGATION
   ======================================== */
.breadcrumb-figma {
    padding: 40px 0 0 0;
    background: transparent;
    width: 100%;
}

.breadcrumb-figma .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 160%;
}

.breadcrumb-figma .breadcrumb-item {
    color: #659A71;
    text-transform: capitalize;
}

.breadcrumb-figma .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #659A71;
    padding: 0 4px;
}

.breadcrumb-figma .breadcrumb-item a {
    color: #659A71;
    text-decoration: none;
}

.breadcrumb-figma .breadcrumb-item.active {
    color: #507C5B;
    font-weight: 600;
}

/* ============================================
   5. MAIN LAYOUT - 3 COLUMNS
   ============================================ */
.product-layout-figma {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    min-height: auto;
    position: relative;
    gap: 40px;
}

/* LEFT SECTION - Content Area */
.product-content-area {
    flex: 1;
    min-width: 0;
    width: 100%;
    position: relative; /* Tambahkan ini */
}

.product-sidebar-checkout {
    width: 220px;
    min-height: auto;
    background: #F2F3F7;
    border-left: none;
    padding: 40px 0 40px 20px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    position: relative;
    --border-height: 100%;
    flex-shrink: 0;
}

/* Vertikal line sidebar - full height */
.product-sidebar-checkout::before {
    content: '';
    position: absolute;
    left: 0;
    top: -62px; /* Naik 80px ke atas (cukup sampai header) */
    width: 1px;
    height: calc(var(--border-height, 100%) + 62px); /* Tambah tinggi 80px */
    background: #C3C5D5;
    z-index: 2;
}

/* Horizontal line - dari kiri ke kanan */
.product-sidebar-checkout::after {
    content: '';
    position: absolute;
    left: 0; /* Mulai dari kiri sidebar */
    top: var(--border-height, 100%);
    width: 100%; /* Full width sidebar */
    height: 1px;
    background: #C3C5D5;
    z-index: 1;
}


/* Garis horizontal yang menyambung ke kanan container */
.product-layout-figma::after {
    content: '';
    position: absolute;
    left: 0;
    top: var(--border-height-right, 100%);
    width: calc(1400px - 220px - 80px); /* Sisa width container sampai padding */
    height: 1px;
    background: #C3C5D5;
    z-index: 1;
}

/* ============================================
   6. PRODUCT HEADER (Title & Share Button)
   ============================================ */
.product-header-figma {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 40px;
    width: 100%;
}

.product-title-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.product-title-figma {
    font-weight: 600;
    font-size: 30px;
    line-height: 130%;
    color: #3F425A;
    margin: 0;
}

.product-date-added {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #696F96;
    text-transform: capitalize;
}

.share-button-figma {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    background: #F2F3F7;
    border: 1px solid #C3C5D5;
    font-size: 14px;
    color: #696F96;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 0;
    flex-shrink: 0;
}

.share-button-figma:hover {
    background: #E1E2EA;
}

/* ============================================
   7. GALLERY SECTION
   ============================================ */
.gallery-section-figma {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.thumbnail-column-figma {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 92px;
    flex-shrink: 0;
}

.thumbnail-image-figma {
    width: 92px;
    height: 69.17px;
    background: #E1E2EA;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    object-fit: cover;
}

.thumbnail-image-figma.active {
    border: 2px solid #507C5B;
    box-shadow: 0px 0px 0px 3px rgba(80, 124, 91, 0.28);
}

.thumbnail-image-figma:hover {
    border-color: #659A71;
}

.main-image-figma {
    width: 474px;
    height: 475px;
    background: #E1E2EA;
    object-fit: cover;
}

.description-area-figma {
    flex: 1;
    padding: 0 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    min-height: auto;
}

.product-description-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #696F96;
    margin: 0 0 8px 0;
    max-height: none;
    overflow-y: visible;
    padding-right: 8px;
    height: auto;
    min-height: auto;
}

.recommendation-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -4px;
}

.recommendation-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommendation-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    color: #3F425A;
}

.recommendation-value {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #696F96;
    text-transform: capitalize;
}

.share-icons-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-icons-section span {
    font-weight: 500;
    font-size: 14px;
    color: #3F425A;
}

.share-icons-group {
    display: flex;
    gap: 6px;
}

.share-icon-figma {
    width: 24px;
    height: 24px;
    color: #3F425A;
    cursor: pointer;
    transition: all 0.3s;
}

.share-icon-figma:hover {
    color: #507C5B;
}

.warning-alert-figma {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
    background: #FCF3E9;
}

.warning-alert-figma i {
    color: #DE8321;
    font-size: 12px;
}

.warning-alert-figma p {
    font-weight: 400;
    font-size: 12px;
    line-height: 160%;
    color: #E59C4D;
    text-transform: capitalize;
    margin: 0;
    flex: 1;
}

/* ============================================
   8. SIDEBAR CHECKOUT STYLES
   ============================================ */
.sidebar-price {
    font-weight: 600;
    font-size: 28px;
    line-height: 125%;
    color: #3F425A;
    margin: 0 0 8px 0;
}

.sidebar-info-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 40px;
}

.sidebar-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars-sidebar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-stars-sidebar i {
    color: #E59C4D;
    font-size: 20px;
}

.rating-number-sidebar {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #3F425A;
}

.rating-text-sidebar {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #696F96;
}

.sold-row-sidebar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sold-icon-sidebar {
    color: #428EBD;
    font-size: 20px;
}

.sold-text-sidebar {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #696F96;
}

.sidebar-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.button-row-sidebar {
    display: flex;
    gap: 12px;
}

.btn-wishlist-sidebar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 13px;
    width: 45px;
    height: 46px;
    background: #F2F3F7;
    border: 1px solid #E1E2EA;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-wishlist-sidebar:hover {
    background: #E1E2EA;
    border-color: #507C5B;
}

.btn-wishlist-sidebar i {
    font-size: 20px;
    color: #696F96;
}

.btn-checkout-sidebar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 12px;
    flex: 1;
    height: 46px;
    background: #659A71;
    border: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 135%;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-checkout-sidebar:hover {
    background: #507C5B;
}

.btn-cart-sidebar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 12px;
    width: 100%;
    height: 46px;
    background: #F2F3F7;
    border: none;
    border-bottom: 1.5px dashed #3F425A;
    font-weight: 500;
    font-size: 14px;
    line-height: 135%;
    color: #283E2D;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cart-sidebar:hover {
    background: #E1E2EA;
}

.btn-cart-sidebar i {
    font-size: 20px;
}

/* ============================================
   9. TABS SECTION
   ============================================ */
.tabs-section-figma {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    position: relative;
    width: 100%;
}

.tabs-section-figma::after {
    content: '';
    position: absolute;
    top: 38px;
    left: 0;
    width: calc(100% + 40px);
    height: 1px;
    background: #C3C5D5;
    z-index: 0;
}

.tabs-nav-figma {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
}

.tab-item-figma {
    padding: 6px 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #696F96;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
}

.tab-item-figma.active {
    font-weight: 500;
    color: #507C5B;
    border-bottom-color: #507C5B;
}

.tab-item-figma:hover {
    color: #507C5B;
}

.tab-content-figma {
    padding: 60px 0 0 0;
    width: 100%;
}

/* Override untuk product card di dalam tab rekomendasi */
#rekomendasi-content .product-card {
    width: 100%;
    max-width: 315px;
    height: auto;
    min-height: auto;
    gap: 12px;
}

#rekomendasi-content .product-card-image {
    width: 100%;
    max-width: 415px;
}

#rekomendasi-content .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #F0F1F5;
}

#rekomendasi-content .product-card-body {
    width: 100%;
    max-width: 315px;
    height: 100px;
    min-height: 55px;
}

#rekomendasi-content .product-card-prices {
    width: 100%;
    max-width: 315px;
    height: auto;
}

#rekomendasi-content .product-card-title {
    height: auto;
    text-align: left;
    min-height: 22px;
    white-space: normal;
    line-height: 135%;
}

#rekomendasi-content .product-card-price {
    height: auto;
}

/* ============================================
   10. REVIEWS SECTION
   ============================================ */
.reviews-section-figma {
    padding: 40px 0;
    width: 100%;
}

.review-summary-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 14px;
    gap: 40px;
    background: #F2F3F7;
    border: 1px solid #E1E2EA;
    width: 100%;
}

.review-summary-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.overall-rating-figma {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-number-large {
    font-weight: 500;
    font-size: 28px;
    line-height: 120%;
    color: #3F425A;
}

.rating-satisfaction {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #3F425A;
}

.rating-count-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #696F96;
}

.rating-breakdown-figma {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-number {
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #3F425A;
    width: 14px;
}

.rating-progress-bar {
    flex: 1;
    height: 5px;
    background: #E1E2EA;
    overflow: hidden;
}

.rating-progress-fill {
    height: 100%;
    background: #FFC300;
    transition: width 0.3s;
}

.rating-percentage {
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #3F425A;
    width: 30px;
    text-align: right;
}

.review-card-figma {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #F6F6F9;
    margin-bottom: 14px;
    width: 100%;
}

.review-header-figma {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-user-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.review-user-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar-figma {
    width: 32px;
    height: 32px;
    background: #E1E2EA;
    overflow: hidden;
}

.review-avatar-figma img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-user-name {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #3F425A;
    margin: 0;
}

.review-stars-figma {
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-stars-figma i {
    color: #FFC300;
    font-size: 18px;
}

.review-rating-number {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #3F425A;
}

.review-date {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #696F96;
}

.review-variant-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-variant-info i {
    font-size: 16px;
    color: #3F425A;
}

.review-variant-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #696F96;
}

.review-content-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #3F425A;
    margin: 0;
}

.review-images-figma {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.review-image-item {
    width: 100px;
    height: 100px;
    background: #F0F1F5;
    overflow: hidden;
    cursor: pointer;
}

.review-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagination-figma {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 14px;
    margin-top: 40px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
}

.pagination-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 14px;
    width: 48px;
    height: 40px;
    background: #D8F3F3;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.pagination-arrow.next {
    background: #3CC3C3;
}

.pagination-arrow i {
    color: #8ADBDB;
    font-size: 20px;
}

.pagination-arrow.next i {
    color: #FFFFFF;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.page-number-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    min-width: 38px;
    height: 40px;
    background: #F6F6F9;
    border: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #3F425A;
    cursor: pointer;
    transition: all 0.3s;
}

.page-number-btn.active {
    background: #B1E7E7;
    font-weight: 500;
}

.page-number-btn:hover {
    background: #E1E2EA;
}

.see-all-review {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #696F96;
    margin: 0 auto;
}

/* ============================================
   11. RELATED PRODUCTS SECTION
   ============================================ */
.related-products {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
    margin-top: 10px !important;
    transition: margin-top 0.3s ease;
}

.related-products .section-title {
    width: 100%;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    color: #3F425A;
    margin: 0;
}

/* Product Grid Rows */
.related-products .products-grid,
.recommendations-section .products-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 20px;
    width: 100%;
}

.related-products .products-row,
.recommendations-section .products-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 0;
    width: 100%;
    margin: 0;
}

/* Product Image Container */
.product-card-image {
    position: relative;
    padding: 0;
    width: 100%;
    aspect-ratio: 315 / 384;
    background: #F0F1F5;
    overflow: hidden;
    flex: none;
    order: 0;
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    font-size: 12px;
    color: #696F96;
    word-break: break-word;
}

/* Product Info Container */
.product-card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 8px 0 0 0;
    gap: 4px;
    width: 100%;
    flex: none;
    order: 1;
    text-align: left;
}

/* Product Title */
.product-card-title {
    width: auto;
    min-height: 22px;
    height: auto;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 135%;
    text-align: left;
    color: #3F425A;
    flex: none;
    order: 0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Container */
.product-card-prices {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    gap: 12px;
    width: 100%;
    height: 27px;
    flex: none;
    order: 1;
}

/* Current Price */
.product-card-price {
    width: auto;
    height: 27px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: #3F425A;
    flex: none;
    order: 0;
    margin: 0;
}

/* Old Price (Strikethrough) */
.product-card-price-old {
    width: auto;
    height: 22px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    text-decoration-line: line-through;
    color: #696F96;
    flex: none;
    order: 1;
    margin: 0;
}

/* Hide default button */
.product-card .btn {
    display: none !important;
}

/* Product Card Link - Make entire card clickable */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.product-card-link:hover .product-card-image {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.product-card-link:hover .product-card-title {
    color: #507C5B;
    transition: color 0.3s ease;
}

/* ========================================
   Rekomendasi Tab - Product Card Overrides
   ======================================== */
#rekomendasi-content .product-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
}

#rekomendasi-content .product-card-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 315 / 384 !important;
    background: #F0F1F5 !important;
    overflow: hidden !important;
    flex: none !important;
}

#rekomendasi-content .product-card-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

#rekomendasi-content .product-card-body {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    padding: 8px 0 0 0;
    gap: 4px;
    width: 100%;
    flex: none;
}

#rekomendasi-content .product-card-title {
    width: auto;
    min-height: 22px;
    height: auto;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 135%;
    text-align: left;
    color: #3F425A;
    flex: none;
    order: 0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#rekomendasi-content .product-card-price {
    width: auto;
    height: 27px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: #3F425A;
    flex: none;
    margin: 0;
}

/* ========================================
   DESKTOP RESPONSIVE (min-width: 1025px)
   ======================================== */
@media (min-width: 1025px) {
    /* Container sudah punya padding dari variable */
    :root {
        --container-padding: 40px;
    }
}

/* ========================================
   FIX ZOOM 150% di 1920px
   RELATED PRODUCTS - 4 CARDS PER ROW
   ======================================== */
@media (min-width: 1280px) and (max-width: 1366px) {
    .related-products .products-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .related-products .section-title {
        font-size: 32px;
    }

    .related-products .product-card-title {
        font-size: 14px;
    }

    .related-products .product-card-price {
        font-size: 16px;
    }

    .related-products .product-card-price-old {
        font-size: 12px;
    }
}

/* Untuk 1920px zoom 100% dan 125% */
@media (min-width: 1367px) {
    .related-products .products-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ========================================
   TABLET RESPONSIVE (768px - 1024px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    :root {
        --container-padding: 30px;
    }

    /* Breadcrumb */
    .breadcrumb-figma {
        padding: 35px 0 0 0;
    }

    .breadcrumb-figma .breadcrumb {
        font-size: 13px;
    }

    /* Main Layout */
    .product-layout-figma {
        gap: 30px;
    }

    .product-content-area {
        max-width: calc(100% - 280px);
    }

    /* Product Header */
    .product-header-figma {
        gap: 30px;
        margin-bottom: 18px;
    }

    .product-title-figma {
        font-size: 38px;
    }

    .product-date-added {
        font-size: 13px;
    }

    .share-button-figma {
        padding: 7px 11px;
        font-size: 13px;
    }

    /* Gallery Section */
    .gallery-section-figma {
        gap: 16px;
        margin-bottom: 32px;
    }

    .thumbnail-column-figma {
        width: 80px;
        gap: 10px;
    }

    .thumbnail-image-figma {
        width: 80px;
        height: 60px;
    }

    /* Description Area */
    .description-area-figma {
        padding: 0 12px;
        gap: 10px;
    }

    .product-description-text {
        font-size: 13px;
        max-height: 350px;
    }

    .recommendation-label,
    .recommendation-value {
        font-size: 13px;
    }

    .share-icons-section span {
        font-size: 13px;
    }

    .share-icon-figma {
        width: 22px;
        height: 22px;
    }

    .warning-alert-figma {
        padding: 11px;
        gap: 11px;
    }

    .warning-alert-figma i {
        font-size: 18px;
    }

    .warning-alert-figma p {
        font-size: 13px;
    }

    /* Sidebar */
    .product-sidebar-checkout {
        width: 280px;
        padding: 35px 0 35px 30px;
    }

    .sidebar-price {
        font-size: 24px;
        margin-bottom: 7px;
    }

    .sidebar-info-section {
        margin-bottom: 35px;
    }

    .rating-stars-sidebar i {
        font-size: 18px;
    }

    .rating-number-sidebar {
        font-size: 15px;
    }

    .rating-text-sidebar,
    .sold-text-sidebar {
        font-size: 13px;
    }

    .sold-icon-sidebar {
        font-size: 18px;
    }

    .sidebar-action-buttons {
        gap: 18px;
    }

    .button-row-sidebar {
        gap: 10px;
    }

    .btn-wishlist-sidebar {
        width: 42px;
        height: 44px;
    }

    .btn-wishlist-sidebar i {
        font-size: 18px;
    }

    .btn-checkout-sidebar,
    .btn-cart-sidebar {
        height: 44px;
        font-size: 15px;
    }

    .btn-cart-sidebar i {
        font-size: 18px;
    }

    /* Tabs Section */
    .tabs-section-figma::after {
        top: 36px;
    }

    .tabs-nav-figma {
        gap: 18px;
    }

    .tab-item-figma {
        font-size: 15px;
        padding: 5px 0;
    }

    .tab-content-figma {
        padding: 50px 0 40px 0;
    }

    /* Product Grid in Tab - 3 Columns */
    #rekomendasi-content .products-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    #rekomendasi-content .product-card-title {
        font-size: 14px;
    }

    #rekomendasi-content .product-card-price {
        font-size: 17px;
    }

    #rekomendasi-content .product-card-price-old {
        font-size: 13px;
    }

    /* Reviews Section */
    .reviews-section-figma {
        padding: 35px 0;
    }

    .review-summary-box {
        padding: 13px;
        gap: 35px;
    }

    .overall-rating-figma {
        gap: 7px;
    }

    .rating-number-large {
        font-size: 26px;
    }

    .rating-satisfaction,
    .rating-count-text {
        font-size: 13px;
    }

    .rating-breakdown-figma {
        gap: 5px;
    }

    .review-card-figma {
        padding: 18px;
        gap: 11px;
        margin-bottom: 13px;
    }

    .review-header-figma {
        gap: 7px;
    }

    .review-user-left {
        gap: 11px;
    }

    .review-avatar-figma {
        width: 30px;
        height: 30px;
    }

    .review-user-name {
        font-size: 15px;
    }

    .review-stars-figma i {
        font-size: 17px;
    }

    .review-rating-number {
        font-size: 15px;
    }

    .review-date {
        font-size: 13px;
    }

    .review-variant-info i {
        font-size: 15px;
    }

    .review-variant-text {
        font-size: 13px;
    }

    .review-content-text {
        font-size: 13px;
    }

    .review-images-figma {
        gap: 11px;
    }

    .review-image-item {
        width: 90px;
        height: 90px;
    }

    .pagination-figma {
        gap: 13px;
        margin-top: 35px;
    }

    .pagination-controls {
        gap: 18px;
    }

    .pagination-arrow {
        width: 45px;
        height: 38px;
    }

    .pagination-arrow i {
        font-size: 18px;
    }

    .pagination-numbers {
        gap: 7px;
    }

    .page-number-btn {
        padding: 7px 15px;
        min-width: 36px;
        height: 38px;
        font-size: 15px;
    }

    .see-all-review {
        font-size: 15px;
    }

    /* Related Products - 3 Columns */
    .related-products {
        padding: 35px 0;
        gap: 35px;
        margin-bottom: 35px;
    }

    .related-products .section-title {
        font-size: 32px;
    }

    .related-products .products-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .related-products .product-card-title {
        font-size: 14px;
    }

    .related-products .product-card-price {
        font-size: 17px;
    }

    .related-products .product-card-price-old {
        font-size: 13px;
    }
}

/* ========================================
   MOBILE RESPONSIVE (max-width: 767px)
   TIDAK DIUBAH - SUDAH BENAR
   ======================================== */
@media (max-width: 768px) {
    /* ========================================
       GENERAL MOBILE ADJUSTMENTS
       ======================================== */

    :root {
        --container-padding: 20px;
    }

    .container-1440,
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .main-header {
        margin-bottom: 0 !important;
    }

    .nav-bar {
        margin-bottom: 0 !important;
    }

    /* ========================================
       BREADCRUMB
       ======================================== */

    .breadcrumb-figma {
        padding: 20px var(--container-padding) 0 var(--container-padding);
        text-align: center;
    }

    .breadcrumb-figma .breadcrumb {
        font-size: 12px;
    }

    /* ========================================
       MAIN LAYOUT - STACK VERTICAL
       ======================================== */

    .product-layout-figma {
        flex-direction: column;
        padding: 0 !important;
        margin-top: 0 !important;
        gap: 0;
    }

    /* ========================================
       LEFT CONTENT AREA
       ======================================== */

    .product-content-area {
        display: contents;
    }

    /* ========================================
       1. IMAGE & GALLERY (Order 1 & 2)
       ======================================== */

    .gallery-section-figma {
        display: contents;
    }

    /* Main Image Wrapper - Order 1 */
    .main-image-wrapper {
        order: 1;
        width: 100% !important;
        margin-bottom: 12px;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .main-image-figma {
        width: 100% !important;
        height: 384px;
        width: 430px;
        border-radius: 0;
        object-fit: cover;
    }

    /* Thumbnails - Order 2 */
    .thumbnail-column-figma {
        order: 2;
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        gap: 8px;
        margin-bottom: 16px;
        margin-top: 8px;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        -webkit-overflow-scrolling: touch;
    }

    .thumbnail-image-figma {
        width: 70px;
        height: 52.5px;
        flex-shrink: 0;
    }

    /* Hide Description Area from Gallery on Desktop,
       BUT show it here for Mobile Order 5 */
    .gallery-section-figma .description-area-figma {
        display: block !important;
        order: 5;
        padding: 0 var(--container-padding);
        margin-bottom: 0px !important;
    }

    .description-area-figma .product-description-text {
        max-height: none;
        overflow: visible;
        font-size: 14px;
        line-height: 160%;
        color: #696F96;
    }

    .description-area-figma .warning-alert-figma {
        margin-top: 16px;
        margin-bottom: 10px;
    }

    /* ========================================
       2. PRODUCT HEADER (Order 3)
       ======================================== */

    .product-header-figma {
        order: 3;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 8px;
        padding: 0 var(--container-padding);
    }

    .product-title-area {
        flex: 1;
        align-items: flex-start;
        width: auto;
    }

    .product-title-figma {
        font-size: 24px !important;
        line-height: normal !important;
        text-align: left !important;
        margin-bottom: 4px !important;
        padding: 0 !important;
    }

    .product-date-added {
        display: none;
    }

    /* Hide desktop share button in header */
    .product-header-figma .share-button-figma {
        display: none !important;
    }

    /* ========================================
       3. MOBILE PRODUCT INFO (Order 4)
       ======================================== */

    .mobile-product-info {
        order: 4;
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
        padding: 0 var(--container-padding) !important;
        overflow: visible;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-rating-sold-row {
        display: flex !important;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap !important;
        justify-content: flex-start;
        width: 100% !important;
    }

    /* Mobile Share Button */
    .mobile-product-info .share-button-figma {
        width: 36px;
        height: 36px;
        padding: 8px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        border: 1px solid #C3C5D5;
        background: #F2F3F7;
        display: flex !important;
        margin-left: auto;
    }

    .mobile-product-info .share-button-figma i {
        font-size: 18px;
        color: #3F425A;
    }

    /* Price */
    .mobile-product-info .sidebar-price {
        font-size: 16px !important;
        line-height: normal !important;
        color: #3F425A !important;
        font-weight: 600 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    /* Rating & Sold Row */
    .sidebar-rating-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }

    .rating-stars-sidebar {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .rating-stars-sidebar i {
        font-size: 10px !important;
        color: #E59C4D !important;
    }

    .rating-number-sidebar {
        font-size: 10px !important;
        line-height: normal !important;
        color: #3F425A !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }

    .rating-text-sidebar {
        font-size: 10px !important;
        line-height: normal !important;
        color: #696F96 !important;
        font-weight: 400 !important;
    }

    .sold-row-sidebar {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
    }

    .sold-icon-sidebar {
        color: #428EBD !important;
        font-size: 10px !important;
    }

    .sold-text-sidebar {
        font-size: 10px !important;
        line-height: normal !important;
        color: #696F96 !important;
        font-weight: 400 !important;
    }

    /* Hide short description in info since we show full one in Order 5 */
    .mobile-description-short {
        display: none !important;
    }

    /* Hide original sidebar info section */
    .product-sidebar-checkout .sidebar-info-section {
        display: none;
    }

    /* ========================================
       4. ACTION BUTTONS (Order 6)
       ======================================== */

    .product-sidebar-checkout {
        width: 100%;
        position: relative;
        top: auto;
        padding: 0;
        border: none !important;
        background: transparent;
        margin: 0;
        order: 6;
    }

    .product-sidebar-checkout::before,
    .product-sidebar-checkout::after {
        display: none;
    }

    .product-layout-figma::after {
        display: none;
    }

    /* Hide sidebar price (sudah dipindah ke atas) */
    .product-sidebar-checkout .sidebar-price {
        display: none;
    }

    .sidebar-action-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
        padding: 0 var(--container-padding);
    }

    .button-row-sidebar {
        display: flex;
        width: 100%;
        gap: 0;
    }

    /* Hide Wishlist Button */
    .btn-wishlist-sidebar {
        display: none !important;
    }

    /* Checkout Button - Full Width */
    .btn-checkout-sidebar {
        width: 100%;
        height: 48px;
        padding: 12px;
        background: #659A71;
        border: none;
        font-size: 16px;
        line-height: 135%;
        color: #FFFFFF;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .btn-checkout-sidebar:hover {
        background: #507C5B;
    }

    /* Cart Button - Full Width */
    .btn-cart-sidebar {
        width: 100%;
        height: 48px;
        padding: 12px;
        background: #F2F3F7;
        border: none;
        border-bottom: 1.5px dashed #3F425A;
        font-size: 16px;
        line-height: 135%;
        color: #283E2D;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .btn-cart-sidebar:hover {
        background: #E1E2EA;
    }

    .btn-cart-sidebar i {
        font-size: 20px;
    }

    /* ========================================
       5. TABS SECTION (Order 5)
       ======================================== */

    .tabs-section-figma {
        margin-top: 0;
        order: 7;
        width: 100%;
        margin: 40px 0 0 0;
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }

    .tabs-section-figma::after {
        content: '';
        position: absolute;
        left: var(--container-padding);
        right: var(--container-padding);
        top: 33px;
        height: 1px;
        background: #C3C5D5;
        z-index: 0;
    }

    .tabs-nav-figma {
        gap: 12px;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .tab-item-figma {
        font-size: 14px;
        white-space: nowrap;
        padding: 6px 0;
    }

    .tab-content-figma {
        order: 8;
        width: 100%;
        padding: 40px var(--container-padding) 20px var(--container-padding);
    }

    /* ========================================
       TAB DESKRIPSI - Full Description Elements
       ======================================== */

    #deskripsi-content .d-md-none {
        display: block !important;
    }

    #deskripsi-content .recommendation-section {
        margin-bottom: 16px;
        padding-left: var(--container-padding) !important;
        padding-right: var(--container-padding) !important;
    }

    #deskripsi-content .recommendation-row {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }

    #deskripsi-content .recommendation-label {
        font-size: 14px;
        line-height: 160%;
        color: #3F425A;
        font-weight: 500;
    }

    #deskripsi-content .recommendation-value {
        font-size: 14px;
        line-height: 160%;
        color: #696F96;
        font-weight: 400;
    }

    #deskripsi-content .share-icons-section {
        display: flex !important;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
        padding-left: var(--container-padding) !important;
        padding-right: var(--container-padding) !important;
    }

    #deskripsi-content .share-icons-section span {
        font-size: 14px;
        color: #3F425A;
        font-weight: 500;
    }

    #deskripsi-content .share-icons-group {
        display: flex;
        gap: 8px;
        margin-bottom: 16px
    }

    #deskripsi-content .share-icon-figma {
        width: 24px;
        height: 24px;
        color: #3F425A;
    }

    #deskripsi-content .warning-alert-figma {
        display: flex !important;
        align-items: center;
        padding: 12px 20px !important;
        gap: 12px;
        background: #FCF3E9;
        margin-top: 40px;
    }

    #deskripsi-content .warning-alert-figma i {
        color: #DE8321;
        font-size: 18px;
        flex-shrink: 0;
    }

    #deskripsi-content .warning-alert-figma p {
        font-size: 13px;
        line-height: 160%;
        color: #E59C4D;
        margin: 0;
    }

    /* ========================================
       6. PRODUCT GRID - 2 COLUMNS FOR MOBILE
       ======================================== */

    /* Rekomendasi Products in Tab */
    #rekomendasi-content .recommendations-section {
        padding-left: var(--container-padding) !important;
        padding-right: var(--container-padding) !important;
    }

    #rekomendasi-content .products-grid {
        display: block;
        width: 100%;
    }

    #rekomendasi-content .products-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
    }

    #rekomendasi-content .product-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        gap: 0;
    }

    #rekomendasi-content .product-card-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1.22;
    }

    #rekomendasi-content .product-card-body {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        padding: 0 4px;
        gap: 4px;
    }

    #rekomendasi-content .product-card-title {
        font-size: 13px;
        line-height: 135%;
        height: auto;
        min-height: auto;
    }

    #rekomendasi-content .product-card-prices {
        width: 100%;
        max-width: 100%;
        height: auto;
        gap: 8px;
        flex-wrap: wrap;
    }

    #rekomendasi-content .product-card-price {
        font-size: 16px;
        height: auto;
    }

    #rekomendasi-content .product-card-price-old {
        font-size: 12px;
    }

    /* ========================================
       7. REVIEWS SECTION
       ======================================== */

    .reviews-section-figma {
        padding: 0;
    }

    .review-summary-box {
        flex-direction: column;
        gap: 20px;
        padding: 16px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .review-summary-column {
        width: 100%;
    }

    .overall-rating-figma {
        justify-content: center;
    }

    .rating-number-large {
        font-size: 24px;
    }

    .rating-satisfaction,
    .rating-count-text {
        text-align: center;
        font-size: 13px;
    }

    .review-card-figma {
        padding: 16px;
        gap: 10px;
        margin-bottom: 12px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .review-user-info {
        flex-direction: column;
        gap: 8px;
    }

    .review-user-left {
        gap: 10px;
    }

    .review-user-avatar,
    .review-avatar-figma {
        width: 28px;
        height: 28px;
    }

    .review-user-name {
        font-size: 14px;
    }

    .review-stars-figma i {
        font-size: 16px;
    }

    .review-rating-number {
        font-size: 14px;
    }

    .review-date {
        font-size: 12px;
    }

    .review-variant-info i {
        font-size: 14px;
    }

    .review-variant-text {
        font-size: 12px;
    }

    .review-content-text {
        font-size: 13px;
    }

    .review-images-figma {
        gap: 8px;
    }

    .review-image-item {
        width: 80px;
        height: 80px;
    }

    .pagination-figma {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .pagination-controls {
        gap: 12px;
    }

    .pagination-arrow {
        width: 40px;
        height: 36px;
    }

    .pagination-arrow i {
        font-size: 18px;
    }

    .pagination-numbers {
        gap: 6px;
    }

    .page-number-btn {
        padding: 6px 12px;
        min-width: 32px;
        height: 36px;
        font-size: 14px;
    }

    .see-all-review {
        font-size: 14px;
        text-align: center;
    }

    /* ========================================
       8. RELATED PRODUCTS - 2 COLUMNS + CENTERED TITLE (Order 6)
       ======================================== */

    .related-products {
        padding: 0 var(--container-padding) 30px var(--container-padding);
        gap: 12px;
        margin-bottom: 30px;
        margin-top: 0 !important;
        order: 9;
    }

    .related-products .section-title {
        font-size: 20px;
        line-height: 120%;
        text-align: start;
        width: 100%;
        margin-bottom: 0px !important;
    }

    /* Grid 2 Columns */
    .related-products .products-grid {
        gap: 12px;
    }

    .related-products .products-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
    }

    .related-products .product-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        gap: 0;
    }

    .related-products .product-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1.22;
    }

    .related-products .product-card-body {
        width: 100%;
        height: auto;
        padding: 0 4px;
        gap: 4px;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .related-products .product-card-title {
        font-size: 13px;
        line-height: 135%;
        height: auto;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: left !important;
    }

    .related-products .product-card-prices {
        width: 100%;
        height: auto;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }

    .related-products .product-card-price {
        font-size: 16px;
        height: auto;
    }

    .related-products .product-card-price-old {
        font-size: 12px;
        height: auto;
    }
}
