* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

input, textarea, button, select {
    font-size: 16px !important;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    min-height: 100vh;
    background: #ffffff;
}

/* ===== HEADER ===== */
.header {
    padding: 12px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 28px;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.header-logo .logo-text span {
    font-weight: 700;
}

/* Menu Tengah */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.header-nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.header-nav ul li a:hover {
    color: #333;
}

.header-nav ul li a.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

/* Search */
.header-search {
    flex-shrink: 0;
}

.header-search.desktop-search {
    display: flex;
}

.header-search.mobile-search {
    display: none;
}

.search-box-header {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 0 14px;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

.search-box-header:focus-within {
    background: #ffffff;
    border-color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.search-box-header .search-icon {
    font-size: 1rem;
    color: #999;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-box-header input {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #1a1a1a;
    min-width: 160px;
    width: 100%;
}

.search-box-header input::placeholder {
    color: #aaa;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== AUTOCOMPLETE DESKTOP ===== */
.autocomplete-container {
    position: relative;
    max-width: 560px;
    margin: -20px auto 20px;
}

.autocomplete-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #f0f0f0;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.autocomplete-list.active {
    display: block;
}

/* ===== AUTOCOMPLETE MOBILE ===== */
.autocomplete-list-mobile {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #f0f0f0;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.autocomplete-list-mobile.active {
    display: block;
}

/* ===== AUTOCOMPLETE ITEMS ===== */
.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background: #f8f8f8;
}

.autocomplete-item .item-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: #f0f0f0;
    flex-shrink: 0;
    margin-right: 12px;
}

.autocomplete-item .item-info {
    flex: 1;
    min-width: 0;
}

.autocomplete-item .item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item .item-code {
    font-size: 0.75rem;
    color: #999;
}

.autocomplete-item .item-match {
    font-weight: 700;
    color: #1a1a1a;
}

/* ===== PAGE HEADER ===== */
.page-header {
    text-align: center;
    margin-bottom: 32px;
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.page-subtitle {
    font-size: 0.95rem;
    color: #888;
    font-weight: 400;
}

/* ===== FILTER ===== */
.filter-section {
    margin-bottom: 32px;
}

.filter-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    min-width: 140px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.filter-select:hover {
    border-color: #1a1a1a;
}

.filter-select:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.25s ease;
    cursor: pointer;
}

.product-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f8f8f8;
    overflow: hidden;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.03);
}

.product-info {
    padding: 14px 16px 16px;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.product-variant {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.product-code {
    font-size: 0.7rem;
    color: #bbb;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.product-year {
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 400;
}

/* ===== DETAIL PAGE ===== */
.back-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 20px;
    transition: color 0.2s;
    font-weight: 500;
}

.back-btn:hover {
    color: #1a1a1a;
}

.detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    position: relative;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
}

.detail-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f8f8;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-brand {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-variant {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.detail-code {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
}

.detail-year {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
}

.detail-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 4px 0;
}

.detail-notes {
    margin: 4px 0;
}

.detail-notes h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.note-level {
    margin-bottom: 10px;
}

.note-level-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 10px;
}

.note-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.note-tag-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    padding: 4px 14px 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #333;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.note-tag-detail:hover {
    background: #e8e8e8;
    transform: scale(1.05);
}

.detail-actions {
    margin-top: 16px;
}

.detail-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.size-btn {
    padding: 8px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-btn:hover {
    border-color: #1a1a1a;
    background: #f8f8f8;
}

.size-btn.active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #ffffff;
}

.detail-buy-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.detail-buy-btn {
    display: inline-block;
    padding: 12px 16px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}

.detail-buy-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

.detail-buy-btn.secondary {
    background: #f5f5f5;
    color: #1a1a1a;
}

.detail-buy-btn.secondary:hover {
    background: #e8e8e8;
}

/* Jika hanya 1 tombol, tetap 1 kolom penuh */
.detail-buy-buttons:has(.detail-buy-btn:only-child) {
    grid-template-columns: 1fr;
}

/* Jika 2 tombol, 2 kolom */
.detail-buy-buttons:has(.detail-buy-btn:nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr;
}

.recommendations {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #f0f0f0;
}

.recommendations h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.recommendation-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.recommendation-card:hover {
    border-color: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.recommendation-card .rec-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: #f8f8f8;
}

.recommendation-card .rec-info {
    padding: 10px 12px 14px;
}

.recommendation-card .rec-brand {
    font-size: 0.6rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.recommendation-card .rec-variant {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a1a;
}

/* ===== SISI KIRI - STICKY ===== */
.detail-left {
    position: sticky;
    top: 80px;
    align-self: start;
}

.detail-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f8f8;
    aspect-ratio: 1/1;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== SISI KANAN - SCROLLABLE ===== */
.detail-right {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
}

.detail-right::-webkit-scrollbar {
    width: 4px;
}

.detail-right::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.detail-right::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 10px;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-brand {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.detail-brand:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.detail-variant {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.detail-code {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
}

.detail-year {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
}

.detail-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin: 4px 0;
}

.detail-notes {
    margin: 4px 0;
}

.detail-notes h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.note-level {
    margin-bottom: 10px;
}

.note-level-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 10px;
}

.note-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.note-tag-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    padding: 4px 14px 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #333;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.note-tag-detail:hover {
    background: #e8e8e8;
    transform: scale(1.05);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    display: none;
}

.empty-state .empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.empty-state p {
    font-size: 0.95rem;
    color: #aaa;
}

.empty-state.show {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
    .detail-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .detail-variant {
        font-size: 1.6rem;
    }
    .filter-select {
        min-width: 120px;
        font-size: 0.8rem;
        padding: 8px 14px;
    }
    .header-search .search-box-header input {
        min-width: 120px;
        font-size: 0.85rem;
    }
    .header-logo .logo-text {
        font-size: 1.2rem;
    }
        .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .detail-left {
        position: relative;
        top: 0;
    }
    
    .detail-right {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .detail-variant {
        font-size: 1.6rem;
    }
    
    .detail-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 14px 40px;
    }

    .header {
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .header-container {
        gap: 6px;
    }

    .header-logo .logo-text {
        font-size: 1rem;
    }

    /* Sembunyikan desktop search, tampilkan mobile search */
    .header-search.desktop-search {
        display: none;
    }

    .header-search.mobile-search {
        display: flex;
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        margin-left: 2px;
    }

    .header-search.mobile-search .search-box-header {
        padding: 0 10px;
        width: 100%;
        flex: 1;
    }

    .header-search.mobile-search .search-box-header input {
        min-width: 0;
        width: 100%;
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .header-search.mobile-search .search-box-header .search-icon {
        font-size: 0.9rem;
        margin-right: 6px;
    }

    /* Autocomplete mobile di bawah search */
    .autocomplete-list-mobile {
        top: calc(100% + 4px);
        left: 0;
        right: 0;
    }

    /* Menu */
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px;
        border-bottom: 2px solid #f0f0f0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }

    .header-nav.open {
        display: block;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .header-nav ul li a {
        font-size: 1rem;
    }

    .burger-menu {
        display: flex;
        margin-left: 2px;
    }

    /* Autocomplete desktop disembunyikan */
    .autocomplete-container {
        display: none;
    }

    .filter-container {
        gap: 8px;
    }

    .filter-select {
        min-width: 100px;
        font-size: 0.75rem;
        padding: 8px 12px;
        padding-right: 28px;
        border-radius: 8px;
        flex: 1;
        min-width: 0;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }

    .product-info {
        padding: 10px 12px 14px;
    }

    .product-brand {
        font-size: 0.6rem;
    }

    .product-variant {
        font-size: 0.85rem;
    }

    .detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-variant {
        font-size: 1.4rem;
    }

    .detail-description {
        font-size: 0.9rem;
    }

    .size-btn {
        padding: 6px 18px;
        font-size: 0.8rem;
    }

    .detail-buy-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .recommendation-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .page-subtitle {
        font-size: 0.85rem;
    }
    .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-left {
        position: relative;
        top: 0;
    }
    
    .detail-right {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .detail-variant {
        font-size: 1.4rem;
    }
    
    .detail-description {
        font-size: 0.9rem;
    }
    
    .size-btn {
        padding: 6px 18px;
        font-size: 0.8rem;
    }
    
    .detail-buy-btn {
        padding: 10px 14px;
        font-size: 0.75rem;
    }
    
    .detail-image {
        max-width: 350px;
        margin: 0 auto;
    }

    /* Mobile: tombol beli tetap 2 kolom atau full */
    .detail-buy-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .detail-buy-buttons:has(.detail-buy-btn:only-child) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 10px 30px;
    }

    .header-container {
        gap: 4px;
    }

    .header-logo .logo-text {
        font-size: 0.8rem;
    }

    .header-search.mobile-search {
        margin-left: 0;
    }

    .header-search.mobile-search .search-box-header {
        padding: 0 6px;
    }

    .header-search.mobile-search .search-box-header input {
        font-size: 0.75rem;
        padding: 6px 0;
    }

    .header-search.mobile-search .search-box-header .search-icon {
        font-size: 0.75rem;
        margin-right: 4px;
    }

    .burger-menu span {
        width: 20px;
        height: 2.5px;
    }

    .burger-menu {
        gap: 4px;
        margin-left: 0;
        padding: 2px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    .product-info {
        padding: 8px 10px 12px;
    }

    .product-brand {
        font-size: 0.55rem;
    }

    .product-variant {
        font-size: 0.78rem;
    }

    .product-code {
        font-size: 0.6rem;
    }

    .product-year {
        font-size: 0.6rem;
    }

    .detail-variant {
        font-size: 1.2rem;
    }

    .size-btn {
        padding: 5px 14px;
        font-size: 0.75rem;
    }

    .detail-buy-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .recommendation-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .page-title {
        font-size: 1.2rem;
    }

    .filter-select {
        font-size: 0.7rem;
        padding: 6px 10px;
        padding-right: 24px;
        min-width: 0;
        flex: 1;
    }
    .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .detail-left {
        position: relative;
        top: 0;
    }
    
    .detail-right {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .detail-variant {
        font-size: 1.2rem;
    }
    
    .size-btn {
        padding: 5px 14px;
        font-size: 0.75rem;
    }
    
    .detail-buy-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    .detail-image {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Mobile kecil: tombol beli 1 kolom penuh */
    .detail-buy-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}