/* Breadcrumb Section */
.breadcrumb-section {
    background: white;
    padding: 24px 0;
    border-bottom: 1px solid #e8e9ea;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb .separator,
.breadcrumb .current {
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.breadcrumb a {
    color: #02a863;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #017a52;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #d0d0d0;
    margin: 0 10px;
    font-weight: 600;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* Product Detail Section */
.product-detail-section {
    background: white;
    padding: 60px 0;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f0f8f4 0%, #e8f5e9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #d4f1e4;
}

.main-image i {
    font-size: 150px;
    color: #02a863;
    opacity: 0.8;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #02a863 0%, #02a863 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(2, 168, 99, 0.3);
}

.thumbnail-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail i {
    font-size: 40px;
    color: #02a863;
    opacity: 0.6;
}

.thumbnail:hover {
    border-color: #02a863;
    background: #f0f8f4;
}

.thumbnail.active {
    border-color: #02a863;
    background: #f0f8f4;
}

.thumbnail.active i {
    opacity: 1;
}

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
}

.product-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e9ea;
}

.product-title {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

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

.stars {
    display: flex;
    gap: 3px;
}

.stars i {
    color: #ffc107;
    font-size: 16px;
}

.rating-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.product-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: #f0f8f4;
    border-radius: 12px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price {
    font-size: 42px;
    font-weight: 800;
    color: #02a863;
}

.original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount {
    background: #ff5733;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.availability {
    display: flex;
    align-items: center;
}

.stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.stock.in-stock {
    color: #02a863;
}

.stock i {
    font-size: 16px;
}

/* Description */
.product-description {
    margin-bottom: 24px;
}

.product-description h3,
.product-details-list h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.product-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Details List */
.product-details-list {
    margin-bottom: 28px;
}

.product-details-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-details-list li {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-details-list li:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #333;
    min-width: 130px;
}

.detail-value {
    color: #666;
}

/* Product Actions */
.product-actions {
    margin-bottom: 28px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-selector label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    color: #02a863;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f0f8f4;
}

#quantity {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    outline: none;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 300px;
}

.btn-large {
    flex: 1;
    padding: 16px 32px;
    font-size: 16px;
}

.btn-wishlist {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    background: #f0f0f0;
    color: #02a863;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.btn-wishlist:hover {
    background: #fff5f5;
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Additional Info */
.product-additional {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid #e8e9ea;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f0f8f4;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #02a863;
}

.info-badge i {
    font-size: 16px;
}

/* Product Tabs */
.product-tabs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 60px 0;
}

.tabs-wrapper {
    border-radius: 12px;
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e8e9ea;
    background: #f8f9fa;
}

.tab-btn {
    flex: 1;
    padding: 18px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.tab-btn:hover {
    color: #02a863;
}

.tab-btn.active {
    color: #02a863;
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #02a863;
}

.tabs-content {
    padding: 40px;
}

.tab-content {
    display: none;
}

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

.tab-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.tab-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 20px 0 12px;
    letter-spacing: -0.2px;
}

.tab-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.tab-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-content li {
    font-size: 14px;
    color: #666;
    padding-left: 24px;
    position: relative;
}

.tab-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #02a863;
    font-weight: 700;
    font-size: 16px;
}

.feature-list {
    columns: 2;
    gap: 20px;
}

/* Review Summary */
.review-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.review-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.score-number {
    font-size: 56px;
    font-weight: 800;
    color: #02a863;
}

.score-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 8px 0;
}

.score-stars i {
    color: #ffc107;
    font-size: 18px;
}

.score-text {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 12px;
    align-items: center;
}

.rating-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #02a863 0%, #02a863 100%);
    border-radius: 3px;
}

.rating-count {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-align: right;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    padding: 24px;
    border: 1px solid #e8e9ea;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #02a863;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #02a863 0%, #02a863 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.reviewer-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 0 2px;
}

.review-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars i {
    color: #ffc107;
    font-size: 14px;
}

.review-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
}

.review-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-actions {
    display: flex;
    gap: 12px;
}

.review-action {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-action:hover {
    color: #02a863;
}

/* Info Section */
.info-section {
    margin-bottom: 24px;
}

.info-section h4 {
    margin: 0 0 12px;
}

.info-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.shop-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f8f4 0%, #e8f5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image i {
    font-size: 60px;
    color: #02a863;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.shop-product-card:hover .product-image i {
    transform: scale(1.15);
}

.price-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #02a863 0%, #02a863 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(2, 168, 99, 0.3);
}

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

.product-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.product-desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

.btn-small {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
}

.btn-small {
    background: #f0f0f0;
    color: #333;
}

.btn-small:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn-small.btn-secondary {
    background: linear-gradient(135deg, #02a863 0%, #02a863 100%);
    color: white;
    flex: 1;
}

.btn-small.btn-secondary:hover {
    background: linear-gradient(135deg, #017a52 0%, #02a863 100%);
    box-shadow: 0 4px 10px rgba(2, 168, 99, 0.3);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-image {
        height: 400px;
    }

    .main-image i {
        font-size: 100px;
    }

    .review-summary {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 28px;
    }

    .price {
        font-size: 32px;
    }

    .main-image {
        height: 300px;
    }

    .main-image i {
        font-size: 80px;
    }

    .product-actions {
        flex-direction: column;
    }

    .action-buttons {
        flex-direction: column;
        min-width: auto;
    }

    .btn-large {
        width: 100%;
    }

    .btn-wishlist {
        width: 100%;
        border-radius: 6px;
    }

    .quantity-selector {
        width: 100%;
    }

    .tabs-header {
        overflow-x: auto;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 14px 16px;
        font-size: 12px;
    }

    .tabs-content {
        padding: 24px;
    }

    .review-summary {
        padding: 16px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .product-detail-wrapper {
        gap: 24px;
    }

    .product-title {
        font-size: 22px;
    }

    .price {
        font-size: 24px;
    }

    .main-image {
        height: 250px;
    }

    .main-image i {
        font-size: 60px;
    }

    .product-price-info {
        flex-direction: column;
        gap: 12px;
    }

    .price-section {
        width: 100%;
    }

    .availability {
        width: 100%;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .feature-list {
        columns: 1;
    }

    .review-header {
        flex-direction: column;
    }

    .review-stars {
        margin-top: 8px;
    }
}
