/* Reset dan Base Styles */
:root {
    --primary: #2a2a2a;
    --secondary: #d4af37;
    --accent: #e8c07d;
    --light: #f9f9f9;
    --dark: #1a1a1a;
    --gray: #888;
    --light-gray: #eaeaea;
    --success: #28a745;
    --error: #dc3545;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--primary);
    background-color: #fafafa;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loader-logo svg {
    width: 80px;
    height: 80px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loader-logo .luxury {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
}

.loader-logo .store {
    font-family: var(--font-heading);
    font-size: 24px;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
}

.loader-logo .logoname {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header */
.header {
    background-color: var(--dark);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo .luxury {
    color: var(--secondary);
}

.logo .store {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    width: 250px;
}

.search-box input {
    width: 100%;
    padding: 8px 15px 8px 35px;
    border: none;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    background-color: rgba(255,255,255,0.2);
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-gray);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 18px;
    color: white;
    transition: color 0.3s;
}

.cart-icon:hover {
    color: var(--secondary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
}

/* Navigation */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--light-gray);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--secondary);
}

.nav-list li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--secondary);
}

/* Main Content */
.main {
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--gray);
    font-size: 16px;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: var(--dark);
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background-color: white;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

.filter-result {
    color: var(--gray);
    font-size: 14px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    position: relative;
    overflow: visible; /* Changed from hidden to visible for popup */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.fisik {
    background-color: #4361ee;
    color: white;
}

.product-badge.digital {
    background-color: #4cc9f0;
    color: #2a2a2a;
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    color: #4361ee;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-description {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background-color: var(--dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--dark);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Cart Modal */
.cart-content {
    padding: 30px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    gap: 15px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.cart-item-category {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--secondary);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--light-gray);
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background-color: var(--light-gray);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
}

.remove-item {
    color: var(--error);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #a71d2a;
}

.cart-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #4361ee;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #3a56d4;
}

.btn-secondary {
    background-color: white;
    color: #2a2a2a;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #4361ee;
    color: #4361ee;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-checkout:hover {
    background-color: var(--accent);
}

/* Customer Modal */
.customer-content {
    padding: 30px;
    max-width: 600px;
}

#customer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 1px solid #004085;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.address-group {
    display: flex;
    gap: 15px;
}

.address-group .form-group {
    flex: 1;
}

.btn-submit {
    padding: 15px;
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--accent);
}

/* Payment Modal */
.payment-content {
    padding: 30px;
    max-width: 800px;
}

.order-summary {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.order-summary h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-item-name {
    color: var(--gray);
}

.order-item-price {
    font-weight: 500;
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
    font-weight: 600;
    font-size: 18px;
}

.payment-method {
    margin-top: 20px;
}

.payment-method h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.payment-option {
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.payment-option.active {
    border-color: var(--secondary);
}

.option-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background-color: var(--light);
}

.option-header i {
    font-size: 20px;
    color: var(--secondary);
}

.option-header span {
    font-weight: 600;
}

.option-content {
    padding: 20px;
    display: none;
}

.payment-option.active .option-content {
    display: block;
}

.qris-image {
    max-width: 250px;
    margin: 15px auto;
    display: block;
    border: 1px solid var(--light-gray);
    padding: 10px;
    background-color: white;
}

.payment-instruction {
    background-color: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.payment-instruction h4 {
    margin-bottom: 10px;
    color: var(--dark);
}

.payment-instruction ol {
    padding-left: 20px;
}

.payment-instruction li {
    margin-bottom: 8px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--dark);
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-section p {
    margin-bottom: 10px;
    color: var(--light-gray);
}

.footer-section i {
    margin-right: 10px;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light-gray);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input:focus {
        width: 100%;
    }
    
    .nav-list {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .nav-list li a {
        padding: 15px;
        white-space: nowrap;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .modal-content {
        margin: 20px auto;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
    
    .address-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
}
/* ADMIN STYLES */
.admin-page {
    background-color: #f8f9fa;
}

.admin-main {
    padding: 2rem 0;
}

.admin-panel {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
}

.admin-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #666;
}

.tab-btn.active {
    color: #d4af37;
    border-bottom-color: #d4af37;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-submit {
    background: #d4af37;
    color: #2a2a2a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
}

.admin-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Tambahan untuk tabel pesanan */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}
.admin-product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.admin-product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.admin-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.admin-product-info {
    padding: 1rem;
}

.btn-delete {
    background: #ff4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
}

.no-products {
    text-align: center;
    color: #666;
    grid-column: 1 / -1;
    padding: 2rem;
}
/* Form Container */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

/* Select Dropdown Styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Message Styling */
.message {
    padding: 15px;
    border-radius: 6px;
    margin-top: 25px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    display: none;
}

#product-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
    display: block;
}

#product-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .form-container h2 {
        font-size: 24px;
    }
}
/* Full Width Form */
.full-width-form {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0;
    width: calc(100% - 40px);
}

.full-width-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

/* Orders Table */
.orders-table-container {
    overflow-x: auto;
    margin-top: 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

#orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

#orders-table th {
    background-color: var(--secondary);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

#orders-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: top;
}

#orders-table tr:last-child td {
    border-bottom: none;
}

#orders-table tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.loading-orders {
    text-align: center;
    padding: 30px;
    color: var(--gray);
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-paid {
    background-color: #d4edda;
    color: #155724;
}

.status-shipped {
    background-color: #cce5ff;
    color: #004085;
}

.status-completed {
    background-color: #e2e3e5;
    color: #383d41;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.order-actions {
    display: flex;
    gap: 5px;
}

.order-actions select {
    padding: 6px 10px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 13px;
}

.order-actions button {
    padding: 6px 10px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.order-actions button:hover {
    background-color: var(--accent);
}

/* Order Filters */
.order-filters {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 14px;
}

.refresh-btn {
    padding: 8px 15px;
    background-color: var(--light-gray);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.refresh-btn:hover {
    background-color: #ddd;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .order-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #orders-table {
        font-size: 13px;
    }
    
    #orders-table th,
    #orders-table td {
        padding: 8px 10px;
    }
}
/* Product Management Tab */
.product-management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-bar {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-bar input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.secondary-btn {
    padding: 12px 15px;
    background-color: var(--light-gray);
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.secondary-btn:hover {
    background-color: #ddd;
}

.product-count {
    font-size: 14px;
    color: var(--gray);
}

/* Product Grid */
#admin-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-management-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-management-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--light-gray);
}

.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.product-card-price {
    color: var(--secondary);
    font-weight: 600;
}

.product-card-category {
    background-color: var(--light-gray);
    color: var(--dark);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.product-card-stock {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.edit-product-btn, .delete-product-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.edit-product-btn {
    background-color: var(--warning);
    color: white;
}

.edit-product-btn:hover {
    background-color: #e07f0e;
    transform: translateY(-2px);
}

.delete-product-btn {
    background-color: var(--error);
    color: white;
}

.delete-product-btn:hover {
    background-color: #d1145a;
    transform: translateY(-2px);
}

.loading-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

/* Pagination */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.pagination-btn {
    padding: 10px 20px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:disabled {
    background-color: var(--light-gray);
    color: var(--gray);
    cursor: not-allowed;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--accent);
    transform: translateY(-2px);
}

#page-info {
    font-size: 14px;
    color: var(--dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-management-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    #admin-product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card-actions {
        flex-direction: column;
    }
}
/* Form Container Layout */
.form-container-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.form-column {
    flex: 2;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.summary-column {
    flex: 1;
    position: sticky;
    top: 20px;
}

/* Product Summary Card */
.product-summary-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.product-summary-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.summary-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.summary-placeholder i {
    font-size: 40px;
    color: var(--light-gray);
    margin-bottom: 15px;
}

.summary-placeholder p {
    font-size: 15px;
    margin-top: 10px;
}

.summary-content {
    display: none;
}

.summary-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.summary-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.summary-image img:before {
    content: "Gambar Tidak Tersedia";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #888;
}

.summary-details {
    margin-bottom: 25px;
}

.summary-details h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.detail-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-row.full-width {
    flex-direction: column;
}

.detail-label {
    font-weight: 600;
    color: var(--dark);
    min-width: 80px;
}

.detail-value {
    color: var(--gray);
}

/* Confirm Button */
.btn-confirm {
    width: 100%;
    padding: 14px;
    background-color: var(--success);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-confirm:hover {
    background-color: #3aa8c1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(58, 168, 193, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-container-wrapper {
        flex-direction: column;
    }
    
    .summary-column {
        position: static;
        width: 100%;
    }
    
    .product-summary-card {
        margin-top: 30px;
    }
}
/* State Management */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
}

.loading-state i {
    font-size: 32px;
    color: #4361ee;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: #6c757d;
}

.empty-state i {
    font-size: 32px;
    color: #e0e0e0;
    margin-bottom: 15px;
}


.error-state {
    color: #f44336;
}

.empty-state {
    color: #2196f3;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Quick View Modal */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.quick-view-modal .modal-content {
    max-width: 900px;
    width: 95%;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.quick-view-content {
    background: white;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    display: flex;
    overflow: hidden;
    max-height: 90vh;
}

.close-quick-view {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}

.close-quick-view:hover {
    color: var(--dark);
}

.quick-view-image {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.quick-view-details {
    padding: 30px;
}

.quick-view-details h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.quick-view-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.quick-view-category {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-view-description {
    margin-bottom: 30px;
    line-height: 1.6;
}

.quick-view-add {
    width: 100%;
    padding: 15px;
    background-color: var(--dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quick-view-add:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

/* Responsive Quick View */
@media (max-width: 768px) {
    .quick-view-content {
        flex-direction: column;
        max-height: 80vh;
    }
    
    .quick-view-image {
        min-height: 200px;
    }
}
/* Animasi Keranjang */
.cart-count.animate {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}

/* Notifikasi */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 4px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* Form Alamat */
#shipping-form .form-group {
  margin-bottom: 1rem;
}

#shipping-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

#shipping-form select,
#shipping-form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

#shipping-form select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

/* Transisi saat loading */
#shipping-form select {
  transition: background-color 0.3s ease;
}

/* Indikator loading */
.loading-indicator::after {
  content: " (Memuat...)";
  font-size: 0.8em;
  color: #666;
}
/* Tambahkan di CSS Anda */
.notification.warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

#postal_code:read-only {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

#postal_code:not(:read-only) {
    background-color: #fff;
}
/* Gaya untuk opsi pengiriman */
.shipping-options-list {
    margin-top: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}

.shipping-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.shipping-header h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.shipping-option {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.shipping-option:hover {
    background-color: #f8f9fa;
}

.shipping-option input[type="radio"] {
    margin-right: 15px;
}

.shipping-option label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.shipping-service {
    font-weight: bold;
    width: 100px;
}

.shipping-price {
    color: #d4af37;
    font-weight: bold;
    width: 120px;
    text-align: right;
}

.shipping-estimate {
    color: #666;
    font-size: 0.9em;
    width: 120px;
    text-align: right;
}

.alert {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}
/* Tambahkan di CSS */
#weight-field-container {
    transition: all 0.3s ease;
    overflow: hidden;
}

.help-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Style untuk field yang required */
input:required, select:required {
    border-left: 3px solid #4361ee;
}
.checkout-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cost-summary {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cost-row.total {
    font-weight: bold;
    font-size: 1.1em;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group select, 
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* ==================== */
/* HERO BANNER STYLES */
/* ==================== */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.banner-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide:nth-child(1) {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1483985988355-763728e1935b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

.banner-slide:nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
    max-width: 1200px;
    animation: fadeInUp 0.8s ease;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.banner-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.banner-cta:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.banner-prev, .banner-next {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-prev:hover, .banner-next:hover {
    background: rgba(255,255,255,0.3);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* ==================== */
/* PRODUCT MODAL STYLES */
/* ==================== */
.product-modal-content {
    max-width: 900px;
    padding: 30px;
    width: 90%;
}

.product-modal-container {
    display: flex;
    gap: 30px;
}

.product-modal-image {
    flex: 1;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.product-modal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 100%;
    height: auto;
}

.product-modal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-modal-details h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    align-items: center;
}

.product-category {
    background-color: var(--light-gray);
    color: var(--dark);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.product-specs {
    margin-bottom: 25px;
}

.product-specs h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 10px;
}

.product-specs ul {
    list-style-type: none;
}

.product-specs li {
    margin-bottom: 8px;
    display: flex;
}

.product-specs li::before {
    content: "•";
    color: var(--secondary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 10px;
}

.product-description p {
    line-height: 1.6;
    color: var(--gray);
    font-size: 15px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.quantity-btn:hover {
    background-color: var(--light-gray);
}

.quantity-value {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--light-gray);
    border-right: 1px solid var(--light-gray);
    padding: 8px;
    font-size: 16px;
}

.add-to-cart {
    flex: 1;
    padding: 12px;
    background-color: var(--dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

.product-whatsapp {
    margin-top: auto;
    padding: 20px;
    background-color: rgba(37, 211, 102, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.product-whatsapp h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.3);
}

.whatsapp-info {
    font-size: 14px;
    color: var(--gray);
    margin-top: 5px;
}

.whatsapp-number {
    font-weight: 600;
    color: var(--dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-banner {
        height: 350px;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .product-modal-container {
        flex-direction: column;
    }
    
    .product-modal-image {
        min-height: 250px;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 300px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-cta {
        padding: 10px 20px;
    }
    
    .product-modal-content {
        padding: 20px;
    }
}


.view-detail {
    width: 100%;
    padding: 10px;
    background-color: var(--dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    font-size: 14px;
}

.view-detail:hover {
    background-color: var(--secondary);
    color: var(--dark);
}
/* Product Detail Modal */
.product-detail-content {
    max-width: 1000px;
    width: 95%;
    padding: 30px;
}

.product-detail-container {
    display: flex;
    gap: 30px;
}

.product-detail-images {
    flex: 1;
}

.product-detail-info {
    flex: 1;
}

.main-image {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 70px;
    height: 70px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

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

.thumbnail-item.active {
    border-color: var(--secondary);
}

.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.product-brand, .product-material {
    font-size: 14px;
    color: var(--gray);
}

.product-rating .stars {
    color: var(--secondary);
    font-size: 14px;
}

.rating-value {
    font-weight: 600;
    margin-left: 5px;
    color: var(--dark);
}

.review-count {
    color: var(--gray);
    font-size: 13px;
    margin-left: 5px;
}

.product-price-container {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
}

.original-price {
    font-size: 18px;
    color: var(--gray);
    text-decoration: line-through;
}

.discount-badge {
    background-color: #ff4444;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-description {
    margin: 20px 0;
    line-height: 1.6;
    color: var(--gray);
}

.product-specs {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.product-specs h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs th {
    text-align: left;
    padding: 8px 0;
    width: 120px;
    color: var(--gray);
    font-weight: 500;
}

.product-specs td {
    padding: 8px 0;
    color: var(--dark);
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.product-actions .add-to-cart {
    flex: 1;
    min-width: 200px;
}

.product-actions .whatsapp-btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 12px;
}

.product-tabs {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
}

.tab-btn.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.tabs-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.review-form, .question-form {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
}

.review-form h3, .question-form h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.rating-input .stars {
    color: var(--secondary);
    cursor: pointer;
}

.review-form textarea, .question-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    margin-bottom: 10px;
    resize: vertical;
}

.submit-review, .submit-question {
    padding: 10px 20px;
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.reviews-list, .questions-list {
    margin-top: 30px;
}

.review-item, .question-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    font-size: 32px;
    color: var(--gray);
}

.reviewer-meta {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark);
}

.review-rating {
    color: var(--secondary);
    font-size: 14px;
}

.review-date {
    color: var(--gray);
    font-size: 12px;
    margin-left: 10px;
}

.review-content {
    color: var(--dark);
    line-height: 1.6;
}

.questioner-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.questioner-name {
    font-weight: 600;
    color: var(--dark);
}

.question-date {
    color: var(--gray);
    font-size: 12px;
}

.question-content {
    color: var(--dark);
    margin-bottom: 10px;
}

.answer-content {
    padding: 10px;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 4px;
}

.answer-label {
    font-weight: 600;
    color: var(--secondary);
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .add-to-cart,
    .product-actions .whatsapp-btn {
        width: 100%;
    }
}

/* Modal Toko */
.store-modal .modal-content {
    max-width: 500px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    text-align: center;
}

.store-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.store-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    background: white;
}

.store-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.store-option i {
    font-size: 32px;
    margin-bottom: 10px;
}

.store-option img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}

.store-note {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.store-note i {
    color: var(--secondary);
    margin-right: 5px;
}

.store-option .fa-shopify { color: #EE4D2D; } /* Shopee */
.store-option .fa-store { color: #42B549; } /* Tokopedia */
.store-option .fa-tiktok { color: #000000; } /* TikTok Shop */

/* Marketplace Styles */
.marketplace-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.marketplace-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.marketplace-option i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.marketplace-option .fa-shopify {
    color: #EE4D2D;
}

.marketplace-option .fa-store {
    color: #42B549;
}

.marketplace-option .fa-tiktok {
    color: #000000;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #6c757d;
}

.close-popup:hover {
    color: #2a2a2a;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.marketplace-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #2a2a2a;
    text-decoration: none;
    transition: all 0.3s;
}
.marketplace-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    padding: 15px 10px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    background-color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.marketplace-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.marketplace-btn.active {
    border-color: var(--secondary);
    background-color: rgba(67, 97, 238, 0.1);
}

.marketplace-btn i {
    font-size: 24px;
    margin-bottom: 8px;
}

.marketplace-btn .fa-shopify { color: #EE4D2D; } /* Shopee orange */
.marketplace-btn .fa-store { color: #42B549; } /* Tokopedia green */
.marketplace-btn .fa-tiktok { color: #000000; } /* TikTok black */

.marketplace-input-container {
    margin-top: 15px;
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.marketplace-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.marketplace-input-group i {
    color: var(--secondary);
    font-size: 18px;
}

.marketplace-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.marketplace-input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}
@media (min-width: 992px) {
    .quick-view-modal .modal-content {
        flex-direction: row;
    }
    
    .quick-view-image {
        width: 50%;
        height: auto;
        min-height: 500px;
    }
    
    .quick-view-details {
        width: 50%;
        padding: 40px;
    }
}
/* Marketplace Links in Product Card */
/* Marketplace Popup Styles */
.marketplace-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 12px;
}

.marketplace-popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 300px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.marketplace-popup h4 {
    margin-bottom: 15px;
    color: #2a2a2a;
    text-align: center;
}

.marketplace-links-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.marketplace-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #2a2a2a;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.marketplace-link:hover {
    border-color: #4361ee;
    background-color: rgba(67, 97, 238, 0.05);
    transform: translateY(-2px);
}

.marketplace-link i {
    font-size: 16px;
}

.marketplace-link[data-marketplace="shopee"] i {
    color: #EE4D2D;
}

.marketplace-link[data-marketplace="tokopedia"] i {
    color: #42B549;
}

.marketplace-link[data-marketplace="tiktok"] i {
    color: #000000;
}

.no-links {
    font-size: 13px;
    color: #6c757d;
    text-align: center;
    margin: 5px 0;
}
