* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: #1a1a1a;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: fit-content;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #ffa500;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    letter-spacing: 1px;
}

.categories-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 8px 12px;
    transition: all 0.3s;
}

.categories-btn:hover {
    color: #ffa500;
}

.categories-icon {
    font-size: 18px;
}

.search-bar {
    flex: 1;
    display: flex;
    background-color: #2a2a2a;
    border-radius: 25px;
    padding: 8px 15px;
    max-width: 500px;
    min-width: 250px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    color: #fff;
    outline: none;
    font-size: 13px;
}

.search-bar input::placeholder {
    color: #999;
}

.search-btn {
    background: #ff6600;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #ff8800;
    transform: scale(1.05);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.daftar-btn {
    background-color: #ffcc00;
    color: #000;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s;
    white-space: nowrap;
}

.daftar-btn:hover {
    background-color: #ffdd33;
    transform: translateY(-2px);
}

.action-icon {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.action-icon:hover {
    color: #ffa500;
    transform: scale(1.1);
}

/* Navigation */
.navbar {
    display: flex;
    gap: 0;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #333;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 12px 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-item:hover {
    color: #ffa500;
    background-color: rgba(255, 102, 0, 0.1);
}

.nav-item.active {
    color: #ffa500;
    border-bottom: 2px solid #ffa500;
}

.nav-icon {
    font-size: 14px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 12px;
    color: #999;
    padding: 8px 20px;
    background-color: #0a0a0a;
}

.breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb a:hover {
    color: #ffa500;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* Product Section */
.product-section {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 30px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

/* Product Thumbnails */
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #ff6600;
    transform: scale(1.05);
}

/* Product Carousel */
.product-carousel {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 20px;
}

.carousel-image-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carousel-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #ff6600 0%, #ffa500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
}

.image-description {
    padding: 12px 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.image-description p {
    margin: 0;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Product Info Box */
.product-info-box {
    background-color: #f9f9f9;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #ff6600;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.info-value {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.status-available {
    color: #27ae60 !important;
    font-weight: 600;
}

/* Product Features */
.product-features {
    background-color: #fff8f0;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ffe0cc;
}

.product-features h4 {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #ff6600;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.features-list li {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 10px;
}

.share-buttons {
    display: flex;
    gap: 8px;
    width: 100%;
}

.share-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn:hover {
    border-color: #ff6600;
    background-color: #fff8f0;
    color: #ff6600;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
}

.carousel-btn.prev {
    left: -50px;
}

.carousel-btn.next {
    right: -50px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #fff;
    border: none;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn:hover {
    background-color: #f0f0f0;
}

/* Product Details */
.product-details {
    padding: 20px;
}

.badge {
    display: inline-block;
    background-color: #7ac441;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-details h1 {
    font-size: 24px;
    color: #ff1744;
    margin-bottom: 20px;
    line-height: 1.4;
}

.price-section {
    margin-bottom: 15px;
}

.price {
    font-size: 32px;
    color: #7ac441;
    font-weight: bold;
}

.original-price {
    margin-left: 15px;
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
}

.discount-timer {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.product-description h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.product-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.rating-section {
    margin-bottom: 20px;
}

.stars {
    color: #ff6600;
    font-size: 18px;
}

.color-selector {
    margin-bottom: 20px;
}

.color-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.color-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn {
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login {
    background-color: #003d99;
    color: #fff;
}

.btn-login:hover {
    background-color: #002855;
}

.btn-daftar {
    background-color: #ffcc00;
    color: #333;
}

.btn-daftar:hover {
    background-color: #ffdd33;
}

/* Reviews Section */
.reviews-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.reviews-header h2 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.reviews-header p {
    color: #999;
    font-size: 13px;
    margin-bottom: 30px;
}

.reviews-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.review-item {
    text-align: center;
}

.review-item .rating {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.review-item .label {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

.buyer-highlights {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.buyer-highlights h3 {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.highlight {
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
}

/* Review Filters */
.review-filters {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #ff6600;
    color: #ff6600;
}

.filter-btn.active {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* Reviews Container */
.reviews-container {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.review-card {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.review-card:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.review-header .stars {
    color: #ff6600;
    font-size: 14px;
}

.review-title {
    background-color: #f5f5f5;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.review-recommends {
    color: #7ac441;
    font-size: 12px;
    font-weight: bold;
}

.review-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    background-color: #7ac441;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.reviewer-name {
    font-weight: bold;
    color: #333;
}

.review-date {
    color: #999;
}

.review-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-dots {
    color: #999;
    font-size: 14px;
    letter-spacing: 3px;
}

/* Item Details Section */
.item-details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #ddd;
}

.item-details-main h2,
.item-highlights h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.details-content {
    color: #666;
    line-height: 1.6;
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #666;
    font-size: 14px;
}

.highlight-icon {
    font-size: 20px;
    min-width: 24px;
}

.highlight-text {
    line-height: 1.4;
}

.highlight-item.show-more {
    margin-top: 10px;
    flex-direction: column;
}

.highlight-item.show-more a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.highlight-item.show-more a:hover {
    text-decoration: underline;
}

/* Photos from Reviews Section */
.photos-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.photos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.photos-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.photos-header a {
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
}

.photos-header a:hover {
    text-decoration: underline;
}

.photos-carousel {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.carousel-nav {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-nav:hover {
    background-color: #e0e0e0;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    flex: 1;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 10px;
    font-size: 12px;
    text-align: center;
}

/* Photo Pagination */
.photo-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: #ff6600;
    color: #ff6600;
}

.page-btn.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* Shop Info & Did You Know Section */
.shop-info-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.shop-info {
    background-color: #1a1a1a;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.shop-logo {
    margin-bottom: 20px;
}

.shop-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6600, #ffa500);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto;
}

.shop-info h3 {
    font-size: 24px;
    color: #fff;
    margin: 15px 0;
}

.shop-owner {
    color: #999;
    font-size: 13px;
    margin-bottom: 20px;
}

.shop-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.stat-icon {
    font-size: 16px;
}

.stat-value {
    color: #ff6600;
    font-weight: bold;
}

.stat-label {
    color: #999;
}

.shop-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.shop-btn {
    padding: 10px 20px;
    border: 1px solid #ff6600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.shop-btn.message {
    background-color: transparent;
    color: #fff;
    border-color: #666;
}

.shop-btn.message:hover {
    border-color: #ff6600;
    background-color: rgba(255, 102, 0, 0.1);
}

.shop-btn.follow {
    background-color: transparent;
    color: #fff;
    border-color: #666;
}

.shop-btn.follow:hover {
    border-color: #ff6600;
    background-color: rgba(255, 102, 0, 0.1);
}

.response-time {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.did-you-know {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
}

.did-you-know h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px 0;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-icon {
    font-size: 24px;
    min-width: 30px;
    text-align: center;
}

.info-item p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.info-item a {
    color: #0066cc;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.shop-policies {
    margin: 20px 0;
}

.policy-btn {
    display: inline-block;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 25px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.policy-btn:hover {
    border-color: #ff6600;
    color: #ff6600;
}

.shop-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.shop-description h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 10px 0;
}

.shop-description a {
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ff6600;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
}

.footer-section ul li a:hover {
    color: #ff6600;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #666;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-section {
        grid-template-columns: 1fr;
    }

    .header-top {
        flex-direction: column;
    }

    .search-bar {
        max-width: 100%;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .reviews-stats {
        grid-template-columns: 1fr;
    }

    .item-details-section {
        grid-template-columns: 1fr;
    }

    .shop-info-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .review-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photos-carousel {
        flex-wrap: wrap;
    }

    .carousel-nav {
        order: -1;
    }
}
