/* ===== BREADCRUMB ===== */
.breadcrumb {
    background-color: var(--gray-light);
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--light-green);
}

.breadcrumb a:hover {
    color: var(--deep-gold);
}

.breadcrumb span {
    color: var(--forest-green);
    font-weight: 500;
}

/* ===== PRODUCT DETAILS LAYOUT ===== */
.product-details-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .product-details-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== PRODUCT IMAGES ===== */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 1/1;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.image-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

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

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

/* ===== PRODUCT INFO ===== */
.product-header {
    margin-bottom: 30px;
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--deep-gold);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--deep-gold);
}

.product-rating i {
    font-size: 16px;
}

.product-rating span {
    color: var(--light-green);
    font-size: 14px;
}

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

.current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--deep-gold);
}

.price-range {
    font-size: 18px;
    color: var(--light-green);
}

/* ===== PRODUCT DESCRIPTION ===== */
.product-description {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.product-description p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-description ul {
    list-style: none;
    padding-left: 0;
}

.product-description li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.product-description li i {
    color: var(--deep-gold);
    margin-top: 5px;
}

/* ===== PRODUCT SPECS ===== */
.product-specs {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.spec-item {
    display: flex;
    margin-bottom: 12px;
}

.spec-label {
    min-width: 140px;
    font-weight: 600;
    color: var(--forest-green);
}

.spec-value {
    color: var(--light-green);
}

.in-stock {
    color: #2e7d32;
    font-weight: 600;
}

/* ===== ADD TO CART SECTION ===== */
.add-to-cart-section {
    background-color: rgba(197, 160, 89, 0.05);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.quantity-selector, .quantity-control {
    margin-bottom: 25px;
}

.quantity-selector label, .quantity-control label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--forest-green);
}

#weight-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    background-color: white;
    color: var(--forest-green);
    cursor: pointer;
}
#shipping-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    background-color: white;
    color: var(--forest-green);
    cursor: pointer;
    margin-bottom: 20px;
}

.qty-input {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 150px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    background: white;
    border-radius: 4px;
    color: var(--forest-green);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background-color: var(--deep-gold);
    border-color: var(--deep-gold);
    color: var(--forest-green);
}

#quantity {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--forest-green);
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    font-size: 18px;
    font-weight: 600;
}

.price-display .total-price {
    font-size: 24px;
    color: var(--deep-gold);
}

.cart-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.cart-actions .btn {
    padding: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--light-green);
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.secure-checkout i {
    color: var(--deep-gold);
}

/* ===== PRODUCT META ===== */
.product-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(197, 160, 89, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.meta-item i {
    font-size: 24px;
    color: var(--deep-gold);
}

.meta-item h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.meta-item p {
    font-size: 12px;
    color: var(--light-green);
}

/* ===== PRODUCT TABS ===== */
.product-tabs {
    margin: 60px 0;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--light-green);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    top: 1px;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--forest-green);
    border-bottom-color: var(--deep-gold);
}

.tabs-content {
    min-height: 300px;
}

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

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

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

.tab-pane h3, .tab-pane h4 {
    margin-bottom: 15px;
}

.tab-pane p {
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.tab-pane li {
    margin-bottom: 10px;
}

/* ===== SPECIFICATIONS TAB ===== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.spec-title {
    font-weight: 500;
    color: var(--forest-green);
}

.spec-value {
    color: var(--light-green);
}

/* ===== SHIPPING TAB ===== */
.shipping-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.shipping-option {
    padding: 20px;
    background-color: rgba(197, 160, 89, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.shipping-option h4 {
    margin-bottom: 5px;
}

/* ===== REVIEWS TAB ===== */
.reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(197, 160, 89, 0.05);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .reviews-summary {
        grid-template-columns: 1fr;
    }
}

.average-rating {
    text-align: center;
}

.average-rating h3 {
    font-size: 48px;
    color: var(--deep-gold);
    margin-bottom: 10px;
}

.average-rating .stars {
    font-size: 20px;
    color: var(--deep-gold);
    margin-bottom: 10px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.rating-bar span {
    font-size: 14px;
    color: var(--light-green);
}

.bar {
    height: 8px;
    background-color: rgba(197, 160, 89, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.bar .fill {
    height: 100%;
    background-color: var(--deep-gold);
}

.review-form {
    padding: 30px;
    background-color: rgba(197, 160, 89, 0.05);
    border-radius: 8px;
    margin-top: 40px;
}

.review-form h4 {
    margin-bottom: 20px;
}

.star-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0 20px;
}

.star-rating i {
    font-size: 24px;
    color: var(--deep-gold);
    cursor: pointer;
    transition: var(--transition);
}

.star-rating i:hover,
.star-rating i.active {
    color: var(--deep-gold);
}

.review-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    resize: vertical;
}

/* ===== RELATED PRODUCTS ===== */
.related-products {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.related-products h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

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

.related-product {
    background-color: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-product:hover {
    transform: translateY(-5px);
}

.related-product-img {
    height: 180px;
    overflow: hidden;
}

.related-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-product:hover .related-product-img img {
    transform: scale(1.1);
}

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

.related-product-info h4 {
    margin-bottom: 10px;
    font-size: 16px;
    height: 40px;
    overflow: hidden;
}

.related-product-price {
    color: var(--deep-gold);
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .product-header h1 {
        font-size: 24px;
    }

    .current-price {
        font-size: 28px;
    }

    .cart-actions {
        grid-template-columns: 1fr;
    }

    .product-meta {
        grid-template-columns: 1fr;
    }

    .tabs-header {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .tab-btn {
        padding: 15px 20px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .add-to-cart-section {
        padding: 20px;
    }

    .reviews-summary {
        padding: 20px;
    }
}
