/* 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-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

a:hover {
    color: #3498db;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #3498db;
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #3498db;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after, nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: #3498db;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f5f7fa;
    padding: 15px 0;
    border-bottom: 1px solid #ecf0f1;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb ul li {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.breadcrumb ul li:not(:last-child):after {
    content: '/';
    margin: 0 10px;
    color: #bdc3c7;
}

.breadcrumb ul li:last-child {
    color: #2c3e50;
    font-weight: 500;
}

/* Product Detail Section */
.product-detail {
    padding: 40px 0;
}

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

/* Product Gallery */
.product-gallery {
    position: relative;
}

.main-image {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.product-badge.bestseller {
    background-color: #f1c40f;
    color: #333;
}

.product-badge.new {
    background-color: #3498db;
    color: white;
}

.product-badge.hot {
    background-color: #e74c3c;
    color: white;
}

.product-badge.free {
    background-color: #2ecc71;
    color: white;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

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

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.thumbnail.active {
    border-color: #3498db;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
}

.product-header {
    margin-bottom: 20px;
}

.product-category {
    display: inline-block;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-header h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
}

.stars {
    color: #f39c12;
    margin-right: 10px;
}

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

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

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 15px;
}

.old-price {
    font-size: 1.2rem;
    color: #7f8c8d;
    text-decoration: line-through;
    margin-right: 10px;
}

.discount {
    background-color: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-short-desc {
    margin-bottom: 20px;
    color: #34495e;
    font-size: 1.1rem;
    line-height: 1.6;
}

.product-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f5f7fa;
    border-radius: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item i {
    color: #3498db;
    margin-right: 10px;
    font-size: 1.2rem;
}

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

.btn-primary, .btn-secondary, .btn-wishlist {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    flex: 2;
}

.btn-primary:hover {
    background-color: #2980b9;
    color: white;
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #2c3e50;
    flex: 1;
}

.btn-secondary:hover {
    background-color: #bdc3c7;
    color: #2c3e50;
}

.btn-wishlist {
    background-color: white;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

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

.share-buttons {
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.share-buttons span {
    margin-right: 15px;
    color: #7f8c8d;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background-color: #3b5998;
    color: white;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn.whatsapp {
    background-color: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.product-guarantee {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f5f7fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.guarantee-item i {
    font-size: 2rem;
    color: #3498db;
    margin-right: 15px;
}

.guarantee-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.guarantee-item p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Product Tabs */
.product-tabs {
    padding: 40px 0;
    background-color: #fff;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: #3498db;
    bottom: -1px;
    left: 0;
    transition: width 0.3s ease;
}

.tab-btn.active {
    color: #2c3e50;
}

.tab-btn.active:after {
    width: 100%;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

.tab-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
}

.tab-content p {
    margin-bottom: 20px;
    color: #34495e;
    line-height: 1.7;
}

.tab-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tab-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.tab-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
}

.highlight-box {
    background-color: #f5f7fa;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.highlight-box h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.feature-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-content p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Bonus Section */
.bonus-section {
    margin: 40px 0;
    padding: 30px;
    background-color: #f5f7fa;
    border-radius: 10px;
}

.bonus-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.bonus-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.bonus-item {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.bonus-icon {
    font-size: 2rem;
    color: #e74c3c;
    margin-right: 15px;
    flex-shrink: 0;
}

.bonus-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.bonus-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.bonus-value {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Review Section */
.review-summary {
    display: flex;
    margin-bottom: 40px;
    background-color: #f5f7fa;
    border-radius: 10px;
    padding: 30px;
}

.rating-average {
    flex: 1;
    text-align: center;
    padding-right: 30px;
    border-right: 1px solid #ecf0f1;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 10px;
}

.rating-average .stars {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.total-reviews {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.rating-bars {
    flex: 2;
    padding-left: 30px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-label {
    width: 80px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.rating-bar {
    flex: 1;
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    margin: 0 15px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background-color: #f39c12;
}

.rating-percent {
    width: 40px;
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: right;
}

.review-list {
    margin-bottom: 30px;
}

.review-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.review-date {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.review-rating {
    margin-bottom: 15px;
}

.review-content p {
    color: #34495e;
    line-height: 1.7;
}

.review-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.review-pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px;
    background-color: white;
    color: #2c3e50;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.review-pagination a.active {
    background-color: #3498db;
    color: white;
}

.review-pagination a:hover:not(.active) {
    background-color: #ecf0f1;
}

.review-pagination a.next {
    margin-left: 15px;
}

/* FAQ Accordion */
.accordion {
    margin: 30px 0;
}

.accordion-item {
    background: white;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    transition: background-color 0.3s ease;
}

.accordion-header:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.accordion-item.active .accordion-header:after {
    content: '-';
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    background-color: #f5f7fa;
}

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

.related-products h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #3498db;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.related-products .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-products .product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-products .product-image {
    height: 200px;
    overflow: hidden;
}

.related-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-products .product-info {
    padding: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 0 10px;
    min-width: 80px;
    text-align: center;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.btn-cta {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-col p {
    margin-bottom: 15px;
    color: #bdc3c7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3498db;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #2980b9;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(189, 195, 199, 0.2);
    color: #bdc3c7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        margin-bottom: 30px;
    }
    
    .main-image {
        height: 350px;
    }
    
    .review-summary {
        flex-direction: column;
    }
    
    .rating-average {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #ecf0f1;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .rating-bars {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .feature-grid, .bonus-items {
        grid-template-columns: 1fr;
    }
    
    .product-guarantee {
        grid-template-columns: 1fr;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-header h1 {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary, .btn-wishlist {
        width: 100%;
        margin-right: 0;
    }
    
    .main-image {
        height: 250px;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        margin: 5px;
    }
}
