/* Product Detail Page Specific Styles */

.breadcrumb-section {
    border-bottom: 1px solid var(--border-color);
}
.breadcrumb-item a {
    color: var(--muted-text);
}
.breadcrumb-item.active {
    color: var(--dark-text);
    font-weight: 500;
}

.product-gallery .main-image-container {
    position: relative; /* For zoom button positioning */
}
.product-gallery .main-image-container img {
    cursor: zoom-in;
}
.product-gallery .thumbnail-strip img {
    width: 80px; /* Adjust as needed */
    height: 96px; /* Maintain aspect ratio or set fixed */
    object-fit: cover;
    margin-right: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: border-color 0.2s ease;
}
.product-gallery .thumbnail-strip img.active,
.product-gallery .thumbnail-strip img:hover {
    border-color: var(--primary-color);
}

.product-details .product-title-main {
    font-size: 2rem;
    font-weight: 700;
}
.product-details .product-meta .product-rating a:hover {
    text-decoration: underline;
}
.product-details .current-price {
    font-weight: 700;
}
.product-details .discount-badge {
    font-size: 0.9rem;
    font-weight: 500;
}

.product-options .option-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.product-options .color-swatches .color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: 0.5rem;
    cursor: pointer;
    box-shadow: 0 0 0 1px var(--border-color);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-options .color-swatches .color-swatch:hover {
    transform: scale(1.1);
}
.product-options .color-swatches .color-swatch.active {
    box-shadow: 0 0 0 2px var(--primary-color);
    transform: scale(1.1);
}
.product-options .size-selector .size-option {
    margin-right: 0.5rem;
    min-width: 40px;
    padding: 0.3rem 0.75rem;
}
.product-options .size-selector .size-option.active {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.product-actions .quantity-selector {
    display: flex;
    align-items: center;
}
.product-actions .quantity-selector .quantity-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    line-height: 30px; /* Adjust for icon centering */
}
.product-actions .quantity-selector .quantity-input {
    width: 50px;
    height: 34px;
    text-align: center;
    border-left: none;
    border-right: none;
    border-radius: 0;
}
.product-actions .quantity-selector .quantity-input::-webkit-outer-spin-button,
.product-actions .quantity-selector .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-actions .quantity-selector .quantity-input[type=number] {
  -moz-appearance: textfield; /* Firefox */
}
.product-actions .add-to-cart-main-btn {
    padding: 0.75rem 1.5rem;
}
.product-actions .wishlist-btn {
    padding: 0.75rem 1rem; /* Make it slightly smaller or equal */
}

.product-meta-extra .badge {
    font-weight: 400;
    padding: 0.3em 0.6em;
}
.social-share .social-icon-share i {
    transition: transform 0.2s ease;
}
.social-share .social-icon-share:hover i {
    transform: scale(1.2);
}

.product-details-tabs-section .product-info-tabs .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-text);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.25rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.product-details-tabs-section .product-info-tabs .nav-link.active,
.product-details-tabs-section .product-info-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.product-details-tabs-section .tab-content {
    min-height: 300px; /* Ensure content area has some height */
}
.product-details-tabs-section .tab-content h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.review-item .product-rating {
    font-size: 0.9rem; /* Make review stars slightly smaller */
}
.review-item img {
    width: 40px;
    height: 40px;
}

#reviewForm .rating-stars-input i {
    font-size: 1.5rem;
    color: var(--muted-text);
    cursor: pointer;
    margin-right: 0.25rem;
    transition: color 0.2s ease;
}
#reviewForm .rating-stars-input i:hover,
#reviewForm .rating-stars-input i.selected,
#reviewForm .rating-stars-input i.hovered {
    color: var(--accent-color);
}


#imageZoomModal .modal-content {
    max-height: 90vh; /* Limit modal height */
}
#imageZoomModal .modal-body img {
    max-height: calc(90vh - 70px); /* Adjust for header/padding */
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
