:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --accent-color: #e11d48;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --surface-color-hover: #f1f5f9;
    --border-color: #e2e8f0;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(149, 157, 165, 0.2);
    --shadow-lg: 0 15px 35px rgba(50, 50, 93, 0.1);
    --shadow-glow: 0 10px 25px rgba(79, 70, 229, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.btn {
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--surface-color-hover);
    color: var(--text-color);
}

.btn-success { background: var(--success-color); color: white; }
.btn-danger { background: var(--danger-color); color: white; }
.btn-warning { background: var(--warning-color); color: #000; }

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.form-control {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    background: var(--surface-color);
    color: var(--text-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.card {
    background: var(--surface-color);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
    color: var(--text-color);
    transition: var(--transition);
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success-color); border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning-color); border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger-color); border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-info { background: rgba(59, 130, 246, 0.1); color: var(--info-color); border: 1px solid rgba(59, 130, 246, 0.2); }
.badge-primary { background: rgba(79, 70, 229, 0.1); color: var(--primary-color); border: 1px solid rgba(79, 70, 229, 0.2); }

.table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-color);
}

.table th,
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table th {
    background: var(--bg-color);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: var(--surface-color-hover);
}

.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.navbar-brand img {
    height: 40px;
    border-radius: 8px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.dropdown-menu {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    margin-top: 10px;
}

.dropdown-item {
    color: var(--text-color);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary-color);
}

.dropdown-divider {
    border-top-color: var(--border-color);
    margin: 8px 0;
}

.footer {
    background: var(--surface-color);
    color: var(--text-muted);
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 56px 0 28px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 24px;
}

.footer-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.footer-brand-description {
    max-width: 440px;
    margin: 0 0 18px;
    color: #64748b;
    line-height: 1.75;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    background: var(--bg-color);
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-copyright {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-copyright strong {
    color: var(--text-color);
    font-weight: 750;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    margin: 0;
}

.footer-legal a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
}

.footer-legal a:hover {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.07);
}

.section {
    padding: 80px 0;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination .page-link {
    padding: 10px 18px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 600;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-glow);
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.2);
}

.modal-content {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
    color: var(--text-color);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 24px;
}

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: white !important; }

.bg-primary { background: var(--primary-color) !important; }
.bg-secondary { background: var(--secondary-color) !important; }
.bg-success { background: var(--success-color) !important; }
.bg-danger { background: var(--danger-color) !important; }
.bg-warning { background: var(--warning-color) !important; }
.bg-info { background: var(--info-color) !important; }
.bg-light { background: var(--bg-color) !important; }
.bg-dark { background: #0f172a !important; color: white !important; }

.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
}

/* Public feature UI */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 48%, #fdf2f8 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -180px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.16) 0%, transparent 68%);
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    left: -140px;
    bottom: -180px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.1) 0%, transparent 68%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(79, 70, 229, 0.16);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
}

.page-hero.text-start p {
    margin-left: 0;
}

.section-header {
    margin-bottom: 34px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 0;
}

.content-card,
.filter-card,
.checkout-section,
.payment-card,
.help-card,
.summary-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.summary-box {
    padding: 20px;
}

.content-card,
.filter-card {
    padding: 24px;
}

.content-card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 0 0 18px;
    margin-bottom: 18px;
}

.content-card .card-body {
    padding: 0;
}

.filter-card {
    margin-top: -34px;
    position: relative;
    z-index: 5;
}

.chip-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.filter-chip:hover,
.filter-chip.active {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color);
    border-color: rgba(79, 70, 229, 0.26);
}

.product-card,
.blog-card,
.help-category-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover,
.blog-card:hover,
.help-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.32);
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
}
.product-badge.oos-flag {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 12px rgba(239,68,68,0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.product-badge.oos-flag i { font-size: 0.75rem; }
.product-card.is-out-of-stock { opacity: 0.7; }
.product-card.is-out-of-stock .product-image img,
.product-card.is-out-of-stock .product-placeholder {
    filter: grayscale(70%);
}
.product-card.is-out-of-stock .btn-primary {
    background: linear-gradient(135deg, #94a3b8, #64748b) !important;
    border-color: transparent !important;
    pointer-events: none;
    box-shadow: none !important;
    cursor: not-allowed;
}

.product-image,
.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img,
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Auto-cover di dalam product-image: stretch ke fill kontainer */
.product-image .auto-cover {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
}

.product-placeholder,
.blog-image i,
.image-placeholder {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.product-content,
.blog-content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category,
.blog-category {
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-title,
.blog-title {
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 10px 0 14px;
}

.product-price {
    margin-top: auto;
    margin-bottom: 18px;
}

.price-regular {
    color: var(--text-color);
    font-size: 1.15rem;
    font-weight: 800;
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.blog-link {
    margin-top: auto;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.help-category-card {
    padding: 28px;
    text-align: left;
}

.help-category-card i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color);
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.help-category-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.help-category-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.article-list {
    display: grid;
    gap: 12px;
}

.article-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
}

.article-list-item:hover {
    background: var(--surface-color-hover);
}

.article-list-item h5 {
    font-size: 1rem;
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 56px 24px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 18px;
}

.page-content {
    background: var(--surface-color);
    padding: 34px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.page-content p,
.page-content li {
    color: var(--text-muted);
    line-height: 1.8;
}

.page-content ul {
    list-style: disc;
    padding-left: 22px;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 52%, #fdf2f8 100%);
}

.auth-container {
    width: 100%;
    max-width: 460px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 38px;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo,
.auth-header h2:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 14px;
}

.auth-logo-img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.auth-header p,
.auth-footer,
.guest-checkout p {
    color: var(--text-muted);
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-footer,
.guest-checkout {
    text-align: center;
    margin-top: 22px;
}

.checkout-layout,
.product-detail-layout {
    display: grid;
    gap: 30px;
}

.checkout-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.product-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.checkout-header,
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.checkout-section,
.payment-card,
.help-card,
.purchase-form,
.product-pricing,
.product-description,
.product-benefits,
.product-instructions,
.product-faqs,
.main-image {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.checkout-section,
.payment-card,
.help-card,
.purchase-form,
.product-pricing,
.product-description,
.product-benefits,
.product-instructions,
.product-faqs {
    padding: 24px;
}

.payment-card,
.checkout-sidebar .help-card,
.product-gallery {
    position: sticky;
    top: 100px;
}

.amount-value,
.price-member {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
}

.breadcrumb-nav {
    padding: 22px 0;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    font-weight: 700;
}

@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 0;
    }
    
    .navbar-collapse {
        background: var(--surface-color);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 15px;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-top {
        padding: 44px 0 18px;
    }
    
    .section {
        padding: 50px 0;
    }

    .page-hero {
        padding: 54px 0;
    }

    .filter-card {
        margin-top: 20px;
    }

    .content-card,
    .filter-card,
    .page-content,
    .auth-card {
        padding: 22px;
    }

    .checkout-layout,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .payment-card,
    .checkout-sidebar .help-card,
    .product-gallery {
        position: static;
    }

    .checkout-header,
    .detail-header,
    .article-list-item {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ========== Auto Cover (otomatis untuk produk tanpa gambar) ========== */
.auto-cover {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    border-radius: inherit;
}
.auto-cover-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18) 0%, transparent 55%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.10) 0%, transparent 55%);
    pointer-events: none;
}
.auto-cover-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px;
    text-align: center;
    max-width: 90%;
}
.auto-cover-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
}
.auto-cover-icon {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.auto-cover-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    word-break: break-word;
}

/* Variants */
.auto-cover--small { min-height: 80px; }
.auto-cover--small .auto-cover-logo { width: 36px; height: 36px; }
.auto-cover--small .auto-cover-icon { font-size: 1.6rem; }
.auto-cover--small .auto-cover-name { font-size: 0.72rem; }

.auto-cover--thumb { min-height: 110px; }
.auto-cover--thumb .auto-cover-logo { width: 44px; height: 44px; }
.auto-cover--thumb .auto-cover-icon { font-size: 2rem; }
.auto-cover--thumb .auto-cover-name { font-size: 0.78rem; }

.auto-cover--large { min-height: 320px; }
.auto-cover--large .auto-cover-logo { width: 100px; height: 100px; }
.auto-cover--large .auto-cover-icon { font-size: 4.5rem; }
.auto-cover--large .auto-cover-name {
    font-size: 1.4rem;
    margin-top: 8px;
}
