/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Warna dan Variabel Umum */
:root {
    --white: rgb(255, 255, 255);
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.text-white {
    color: var(--white);
}

.bg-primary-gradient {
    background: var(--primary-gradient);
}

/* Header Styles */
.store-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 24px;
    margin: 0;
    color: var(--white);
}

.logo p {
    font-size: 14px;
    margin: 5px 0 0 0;
    opacity: 0.9;
    color: var(--white);
}

.main-nav {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.1);
}

.nav-link.admin-link {
    background: rgba(255,255,255,0.2);
    font-weight: 600;
}

.nav-link.admin-link:hover {
    background: rgba(255,255,255,0.3);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    color: var(--white);
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.action-btn:hover {
    background: rgba(255,255,255,0.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: var(--white);
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

/* Promo Banner, Hero, dan Page Header */
.promo-banner,
.hero,
.page-header,
.about-hero {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 40px 0;
}

.hero,
.about-hero {
    padding: 80px 0;
    text-align: center;
}

.banner-content {
    position: relative;
    text-align: center;
}

.banner-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.promo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0,0,0,0.7);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.promo-text h2,
.hero-content h2,
.about-hero-content h1,
.page-header h1 {
    margin-bottom: 15px;
    color: var(--white);
}

.promo-text p,
.hero-content p,
.page-header p,
.about-hero-content p {
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content h2 {
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.about-hero-content h1 {
    font-size: 3rem;
}

.about-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.page-header h1 {
    font-size: 2.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Tombol Styles */
.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s;
    text-align: center;
}

.btn-promo,
.btn-hero,
.btn-view-all {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-view-all {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
}

.btn-promo:hover,
.btn-hero:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    color: var(--white);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0 0;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Products Grid */
.products-section {
    padding: 40px 0;
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: var(--white);
    color: #2c3e50;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

.no-image,
.no-image-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #adb5bd;
}

.no-image {
    height: 100%;
}

.no-image i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.no-image-large {
    height: 400px;
    border-radius: 10px;
}

.no-image-large i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.product-category {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 10px 0;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 0 15px 0;
}

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

.btn-beli {
    flex: 1;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-beli:hover {
    background: var(--primary-dark);
}

.btn-wishlist {
    background: #f8f9fa;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-wishlist:hover {
    background: #e9ecef;
    color: #e74c3c;
}

/* No Products/Content */
.no-products,
.no-content {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-products i,
.no-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-products h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.no-content {
    padding: 40px;
}

.no-content i {
    font-size: 3rem;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.feature-card p {
    color: #6c757d;
    margin: 0;
}

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

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

.footer-section h3,
.footer-section h4 {
    color: rgb(0, 0, 0);
    margin-bottom: 5px;
}

.footer-section a {
    display: block;
    color: #02243b;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: rgb(99, 97, 97);
}

.footer-section p {
    color: #000000;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 1px;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2px;
    border-top: 2px solid #34495e;
    color: #000000;
}

/* Products Page Styles */
.products-filter {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.filter-section {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.filter-group h4 {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 1rem;
}

.filter-item {
    display: block;
    padding: 10px 15px;
    color: #7f8c8d;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.filter-item:hover,
.filter-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.products-content {
    flex: 1;
}

.sorting-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sorting-options select {
    padding: 8px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    background: var(--white);
    cursor: pointer;
}

.results-count {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* WhatsApp Button */
.btn-whatsapp,
.btn-whatsapp-large {
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp {
    padding: 10px 15px;
    border-radius: 5px;
    gap: 8px;
}

.btn-whatsapp-large {
    padding: 15px 25px;
    border-radius: 8px;
    gap: 10px;
    font-size: 1.1rem;
}

.btn-whatsapp:hover,
.btn-whatsapp-large:hover {
    background: #128C7E;
    color: var(--white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 15px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #ecf0f1;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.page-dots {
    padding: 10px 5px;
    color: #7f8c8d;
}

/* Product Detail Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.breadcrumb span {
    color: #7f8c8d;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.product-gallery,
.product-info-detail {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-gallery {
    padding: 20px;
}

.main-image {
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-info-detail h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2rem;
}

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

.product-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.product-sku {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.price-installment {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-wishlist-detail {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.btn-wishlist-detail:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.product-description-detail,
.product-specifications {
    margin-bottom: 25px;
}

.product-description-detail h3,
.product-specifications h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.specs-table {
    display: grid;
    gap: 10px;
}

.spec-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
}

.spec-label {
    font-weight: 600;
    color: #2c3e50;
}

.spec-value {
    color: #7f8c8d;
}

.related-products {
    margin-top: 50px;
}

.related-products h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

/*diskon*/
/* Simple Discount Styles */
.original-price-small {
    display: block;
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.discount-price-large {
    display: block;
    color: #000000;
    font-weight: bold;
    font-size: 1.2em;
}

.normal-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

.normal-price-large {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.discount-badge-simple {
    background: #e74c3c;
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 10px;
}

/* Detail Page Simple Discount */
.product-price-detail {
    margin-bottom: 25px;
}

.product-price-detail .original-price-small {
    font-size: 1.2em;
    margin-bottom: 8px;
}

.product-price-detail .discount-price-large {
    font-size: 2.2em;
    margin-bottom: 10px;
}

/* Product Card Simple Discount */
.product-card .product-price {
    text-align: left;
    margin: 15px 0;
}

/* Remove complex styles */
.product-card:has(.discount-badge)::before {
    display: none;
}

.save-info,
.price-original,
.discount-percentage {
    display: none;
}

/* About Page Styles */
.about-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.about-text {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.about-description h2,
.about-description h3,
.about-description h4 {
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}

.about-description ul,
.about-description ol {
    margin: 15px 0;
    padding-left: 20px;
}

.about-description li {
    margin-bottom: 8px;
}

/* Company Stats */
.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: #6c757d;
    font-weight: 600;
}

/* Vision Mission */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vm-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.vm-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vm-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.vm-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 60px 0;
    background: var(--white);
}

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

.team-member {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.member-image {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.member-image i {
    font-size: 2.5rem;
    color: var(--white);
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.team-member p {
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-filter {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        position: static;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2,
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p,
    .about-hero-content p {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-text {
        position: static;
        transform: none;
        background: rgba(0,0,0,0.8);
        margin-top: 20px;
    }
    
    .promo-text h2 {
        font-size: 1.5rem;
    }
    
    .promo-text p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .sorting-options {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .spec-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
    
    .about-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .about-text {
        padding: 25px;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .product-price-detail .original-price-small {
        font-size: 1em;
    }
    
    .product-price-detail .discount-price-large {
        font-size: 1.8em;
    }
    
    .normal-price-large {
        font-size: 1.8em;
    }
    
    .discount-badge-simple {
        font-size: 0.8em;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .hero-content h2,
    .about-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .product-info-detail h1 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .about-hero {
        padding: 60px 0;
    }
    
    .about-content {
        padding: 40px 0;
    }
}