/* Product Page Specific Styles */

/* Navigation Logo Fix */
.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-logo a:hover {
    text-decoration: none;
}

/* Navbar border for breadcrumb pages */
.navbar {
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin-top: 70px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
}

.breadcrumb i {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Product Detail Section */
.product-detail {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    margin-bottom: 1rem;
}

.image-container {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1;
}

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

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

.image-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.badge.new {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.badge.bestseller {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    color: white;
}

.zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .zoom-btn {
    opacity: 1;
}

.zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

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

.video-thumb .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Product Info */
.product-info {
    max-width: 500px;
}

.product-header {
    margin-bottom: 2rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.rating-text {
    font-weight: 600;
    color: var(--text-primary);
}

.review-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.review-link:hover {
    text-decoration: underline;
}

/* Product Pricing */
.product-pricing {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.original-price {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.savings {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Product Variations */
.product-variations {
    margin-bottom: 2rem;
}

.variation-group {
    margin-bottom: 2rem;
}

.variation-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.variation-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.variation-option {
    border: 2px solid rgba(249, 115, 22, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.variation-option:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.variation-option.active {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.option-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.option-specs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.popular,
.recommended {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.recommended {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

/* Accessory Options */
.accessory-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accessory-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accessory-option:hover {
    border-color: var(--accent-color);
    background: rgba(249, 115, 22, 0.02);
}

.accessory-option input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(249, 115, 22, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.accessory-option input:checked + .checkmark {
    background: #f97316;
    border-color: var(--accent-color);
}

.accessory-option input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.8rem;
}

.accessory-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accessory-name {
    font-weight: 500;
    color: var(--text-primary);
}

.accessory-price {
    font-weight: 600;
    color: var(--accent-color);
}

/* Purchase Section */
.purchase-section {
    margin-bottom: 2rem;
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quantity-label {
    font-weight: 600;
    color: var(--text-primary);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid rgba(249, 115, 22, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}

.qty-btn {
    background: var(--bg-secondary);
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #f97316;
    color: white;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#quantity {
    border: none;
    padding: 0.75rem;
    width: 60px;
    text-align: center;
    font-weight: 600;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.purchase-buttons .btn {
    width: 100%;
    justify-content: center;
}

.trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 0.75rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    flex: 1;
}

.trust-item i {
    color: #fb923c;
    font-size: 1.5rem;
}

.trust-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Key Features */
.key-features {
    background: rgba(249, 115, 22, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
}

.key-features h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.features-list i {
    color: #fb923c;
    font-size: 1.1rem;
}

/* Product Details Tabs */
.product-details-tabs {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.tabs-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.tab-panel {
    display: none;
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Overview Tab */
.overview-content h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.overview-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.overview-item {
    text-align: center;
}

.overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.overview-icon i {
    font-size: 2rem;
    color: white;
}

.overview-item h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.overview-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Specifications Tab */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-category h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.spec-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 0.5rem;
}

.spec-label {
    font-weight: 600;
    color: var(--text-primary);
}

.spec-value {
    color: var(--text-secondary);
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

/* Included Tab */
.included-content h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.included-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.included-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.included-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.included-icon i {
    font-size: 1.5rem;
    color: white;
}

.included-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.included-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Setup Tab */
.setup-content h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.setup-step {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.setup-step:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-image {
    background: rgba(249, 115, 22, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 1rem;
}

.step-image i {
    font-size: 3rem;
    color: var(--accent-color);
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.reviews-summary {
    margin-bottom: 3rem;
}

.rating-overview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.rating-score {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.rating-stars {
    margin-bottom: 0.5rem;
}

.rating-stars i {
    color: #fbbf24;
    font-size: 1.5rem;
    margin: 0 0.1rem;
}

.rating-count {
    color: var(--text-secondary);
    font-weight: 500;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-bar .stars {
    width: 50px;
    font-weight: 600;
    color: var(--text-secondary);
}

.bar {
    flex: 1;
    height: 8px;
    background: rgba(249, 115, 22, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-bar .count {
    width: 30px;
    text-align: right;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Review Cards */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.review-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.review-card.hidden-review {
    display: none;
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.reviewer-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.reviewer-type {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review-rating {
    text-align: right;
}

.review-rating .stars {
    margin-bottom: 0.25rem;
}

.review-rating .stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.review-content h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-helpful {
    display: flex;
    justify-content: flex-end;
}

.helpful-btn {
    background: none;
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.helpful-btn i {
    margin-right: 0.5rem;
}

.load-more-reviews {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Review Info Modal */
.review-modal-content {
    max-width: 600px;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

.review-info-content h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-info-content h3 i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.review-info-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.review-info-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(249, 115, 22, 0.1);
    border-left: 3px solid var(--accent-color);
    border-radius: 0.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.review-info-note i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.review-info-note p {
    margin: 0;
    font-size: 0.95rem;
}

/* Related Products */
.related-products {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(249, 115, 22, 0.2);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

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

.product-card .product-info {
    padding: 1.5rem;
    max-width: none;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 180px;
    justify-content: space-between;
}

.product-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Navigation Active State */
.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .rating-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .product-info {
        max-width: 100%;
    }

    .product-grid {
        gap: 1.5rem;
    }

    .product-detail {
        padding: 1.5rem 0;
    }

    .product-detail * {
        max-width: 100%;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    .product-detail h1,
    .product-detail h2,
    .product-detail h3,
    .product-detail p,
    .product-detail div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .product-title {
        font-size: 2rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .variation-options {
        gap: 0.75rem;
    }

    .variation-option {
        padding: 1rem;
    }

    .purchase-buttons {
        gap: 0.75rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }

    .trust-item {
        flex-direction: row;
        justify-content: center;
    }

    .tabs-nav {
        overflow-x: auto;
        gap: 0;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 1rem 1.5rem;
    }

    .tab-panel {
        padding: 1.5rem;
    }

    .overview-grid,
    .specs-grid,
    .included-grid,
    .setup-steps {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1rem;
    }

    .rating-overview {
        gap: 1.5rem;
    }

    .tab-panel {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .breadcrumb {
        padding: 0.75rem 0;
    }

    .product-detail {
        padding: 1rem 0;
    }

    .product-grid {
        gap: 1rem;
    }

    .product-pricing {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .current-price {
        font-size: 1.75rem;
    }

    .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .quantity-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .purchase-buttons {
        flex-direction: column;
        width: 100%;
    }

    .purchase-buttons .btn {
        width: 100%;
    }

    .thumbnail-gallery {
        justify-content: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .rating-score {
        font-size: 3rem;
    }

    .rating-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .rating-bars {
        max-width: 100%;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
} 