/* Shoe Detail Page Styles */
:root {
    --primary: #000000;
    --secondary: #2A7D8E;
    --text: #333333;
    --light-text: #666666;
    --background: #FFFFFF;
    --border: #E5E5E5;
    --hover: rgba(42, 125, 142, 0.05);
}

/* Smooth scrolling for anchor links on all devices */
html {
    scroll-behavior: smooth;
}

/* Layout */
.detail-page {
    background-color: var(--background);
    padding: 2rem 0 4rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Detailed Review Sections */
.review-details {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.review-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), #38bdf8);
    border-radius: 12px 12px 0 0;
}

.review-details h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.review-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), #38bdf8);
    border-radius: 2px;
}

.review-sections {
    display: grid;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.review-section {
    background: var(--background);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    position: relative;
}

.review-section:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: var(--secondary);
}

.review-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.review-section-title.pros {
    color: #16a34a;
}

.review-section-title.cons {
    color: #dc2626;
}

.review-section.bottom-line {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 12px rgba(42, 125, 142, 0.15);
}

.review-section.bottom-line .review-section-title {
    color: var(--secondary);
    font-weight: 700;
    border-bottom-color: var(--secondary);
}

.review-section-content {
    color: var(--text);
    line-height: 1.5;
    font-size: 0.875rem;
}

.review-section-content p {
    margin-bottom: 0.375rem;
}

.review-section-content p:last-child {
    margin-bottom: 0;
}

.pros-list,
.cons-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: none;
}

.pros-list li,
.cons-list li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
    line-height: 1.5;
}

.pros-list li:last-child,
.cons-list li:last-child {
    margin-bottom: 0;
}

.pros-list li::before {
    content: "✓";
    position: absolute;
    left: -1rem;
    color: #16a34a;
    font-weight: 600;
}

.cons-list li::before {
    content: "✗";
    position: absolute;
    left: -1rem;
    color: #dc2626;
    font-weight: 600;
}

.review-disclaimer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #000000;
    font-size: 0.75rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--light-text);
}

.breadcrumb a {
    text-decoration: none;
    color: var(--light-text);
    transition: color 0.2s ease;
}

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

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

/* Detail Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Image Section */
.image-section {
    position: relative;
}

.main-image {
    position: relative;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    margin-bottom: 1rem;
}

.main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Image badges */
.main-image .badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.05em;
    z-index: 2;
}

.main-image .badge.new {
    background: var(--secondary);
    color: #ffffff;
}

.main-image .badge.coming-soon {
    background: #111111;
    color: #ffffff;
}

@media (max-width: 768px) {
    .main-image .badge {
        top: 0.25rem;
        left: 0.25rem;
        font-size: 0.55rem;
        padding: 0.125rem 0.375rem;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    color: var(--primary);
    z-index: 2;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.thumbnail-images {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.9;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--secondary);
}

.thumbnail img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Details Section */
.details-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.brand {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    /* Use Bold for product titles */
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
    /* Adjust for regular Montserrat */
    line-height: 1.2;
}

/* Subheading near product title */
.product-header .page-subtitle {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--light-text);
    text-transform: uppercase;
}

.rating-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.stars {
    color: #FFC107;
    font-size: 1.125rem;
}

.rating-text {
    color: var(--light-text);
    font-size: 0.9rem;
}

.price {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
}

.price-note {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--light-text);
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Header meta row: subtitle + price (left) and critics score (right) */
.header-meta {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
}

.header-meta .meta-left {
    display: flex;
    flex-direction: column;
}

.header-meta .meta-right {
    display: flex;
    align-items: center;
}

/* Critics' Score circle */
.critics-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
    padding: 0.5rem;
    min-width: 80px;
}

.critics-score .value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.critics-score .label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    letter-spacing: 0.03em;
}

.critics-score .reviews-count {
    font-size: 0.7rem;
    font-style: italic;
    margin-top: 0.125rem;
}

.critics-score .reviews-count a {
    color: #ffffff;
    text-decoration: underline;
}

/* Desktop shows non-link circle, link only the count; mobile: entire circle is a link */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-block;
    }

    .critics-score-anchor {
        text-decoration: none;
    }

    html {
        scroll-behavior: smooth;
    }
}

/* Colors by range */
.critics-score.low {
    background: #dc2626;
}

.critics-score.mid {
    background: #e6b50a;
    /* slightly more yellow, keep contrast */
}

.critics-score.high {
    background: #16a34a;
}

/* N/A gray */
.critics-score.na {
    background: #9ca3af;
}

@media (max-width: 480px) {
    .critics-score {
        min-width: 64px;
        padding: 0.4rem;
    }

    .critics-score .value {
        font-size: 1.5rem;
    }

    .critics-score .label {
        font-size: 0.7rem;
    }
}

/* Quick Specs */
.quick-specs {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
    border-radius: 12px;
    border: 2px solid #dbeafe;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.quick-specs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, var(--secondary));
    border-radius: 12px 12px 0 0;
}

.quick-specs h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.quick-specs h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, var(--secondary));
    border-radius: 2px;
}

.specs-content {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(219, 234, 254, 0.8);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e7ff;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    background: var(--background);
    border-radius: 6px;
    border: 1px solid #e0e7ff;
    transition: all 0.3s ease;
}

.spec-item:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
    border-color: #3b82f6;
}

.spec-label {
    font-size: 0.7rem;
    color: var(--light-text);
    font-weight: 500;
}

.spec-value {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
}

.intended-uses-section {
    margin-top: 0;
}

.intended-uses-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e0e7ff;
}

/* Features (legacy styles retained for other uses) */
.features {
    margin-top: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: var(--secondary);
    color: white;
}

.badge.outline {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

/* Buy Buttons */
.buy-buttons-section {
    margin: 1.5rem 0;
}

.buy-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-buy {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: var(--secondary);
    color: white;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.btn-buy:hover {
    background: #236d7d;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 12px rgba(42, 125, 142, 0.2);
}

.btn-buy:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.btn-buy:active {
    transform: translateY(-1px);
}

.gender-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    margin-left: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.affiliate-disclosure {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.affiliate-disclosure p {
    font-size: 0.8rem;
    color: var(--light-text);
    line-height: 1.4;
    margin: 0;
    text-align: center;
    font-style: italic;
}

/* Buy Buttons Above Footer */
.buy-buttons-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 2rem 0;
    margin-top: 3rem;
}

.buy-buttons-footer .buy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.875rem 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

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

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #236d7d;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--light-text);
    transform: translateY(-2px);
}

/* Detail Tabs */
.detail-tabs {
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #dee2e6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.detail-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6c757d, var(--primary));
    border-radius: 12px 12px 0 0;
}

.tab-buttons {
    display: flex;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 0.375rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 1px solid rgba(222, 226, 230, 0.8);
}

.tab-buttons::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-text);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    margin: 0 0.125rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    transform: translateY(-1px);
}

.tab-btn.active {
    color: var(--primary);
    font-weight: 600;
    background: var(--background);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(222, 226, 230, 0.8);
    min-height: 150px;
}

.tab-panel h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Specs Table */
.specs-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.spec-row {
    display: flex;
    padding: 0.625rem 0.75rem;
    background: var(--background);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.spec-row:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #6c757d;
}

.spec-key {
    flex: 0 0 40%;
    font-weight: 500;
    color: var(--light-text);
    font-size: 0.8rem;
}

.spec-row .spec-value {
    flex: 0 0 60%;
    font-size: 0.8rem;
    color: var(--text);
    font-weight: 500;
}

/* Description */
.mt-6 {
    margin-top: 2.5rem;
}

.features p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .detail-layout {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Make section wrappers invisible so their children become direct children */
    .image-section {
        display: contents;
    }

    .details-section {
        display: contents;
    }

    /* Order the now-direct children of detail-layout */
    .main-image {
        order: 1;
    }

    .thumbnail-images {
        order: 2;
    }

    .product-header {
        order: 3;
        margin-bottom: 1rem;
    }

    .quick-specs {
        order: 4;
    }

    .buy-buttons-section {
        order: 5;
    }

    .review-details {
        order: 6;
    }

    /* Adjust image height for mobile */
    .main-image {
        height: 400px;
        margin-bottom: 1rem;
    }

    .thumbnail-images {
        margin-bottom: 1rem;
    }

    .specs-table {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .spec-row {
        padding: 0.5rem 0.625rem;
        font-size: 0.8rem;
    }

    .spec-key {
        font-size: 0.75rem;
    }

    .spec-row .spec-value {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .detail-page {
        padding: 1rem 0 3rem;
    }

    .container {
        padding: 0 1rem;
    }

    .detail-layout {
        gap: 1rem;
    }

    .main-image {
        height: 350px;
        margin-bottom: 0.75rem;
    }

    .thumbnail-images {
        margin-bottom: 0.75rem;
    }

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

    .review-details {
        margin: 0.75rem 0;
        padding: 0.75rem;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .review-details::before {
        height: 2px;
    }

    .review-details h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.375rem;
    }

    .review-details h3::after {
        width: 30px;
        height: 2px;
    }

    .review-sections {
        gap: 0.5rem;
        padding: 0.375rem;
    }

    .review-section {
        padding: 0.75rem;
        border-radius: 6px;
    }

    .review-section-title {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
        padding-bottom: 0.25rem;
    }

    .review-section-content {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .review-section-content p {
        margin-bottom: 0.25rem;
    }

    .pros-list,
    .cons-list {
        padding-left: 1rem;
    }

    .pros-list li,
    .cons-list li {
        margin-bottom: 0.375rem;
        font-size: 0.8rem;
    }

    .review-disclaimer {
        font-size: 0.7rem;
        margin-top: 0.75rem;
        padding-top: 0.5rem;
    }

    .main-image {
        height: 350px;
    }

    .product-header h1 {
        font-size: 2rem;
    }

    .quick-specs {
        margin: 0.75rem 0;
        padding: 0.75rem;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .quick-specs::before {
        height: 2px;
    }

    .quick-specs h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.375rem;
    }

    .quick-specs h3::after {
        width: 30px;
        height: 2px;
    }

    .specs-content {
        padding: 0.375rem;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .spec-item {
        padding: 0.375rem;
    }

    .spec-label {
        font-size: 0.65rem;
    }

    .spec-value {
        font-size: 0.75rem;
    }

    .intended-uses-section h4 {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
        padding-bottom: 0.25rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .buy-buttons {
        gap: 0.5rem;
    }

    .btn-buy {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .product-header h1 {
        font-size: 1.75rem;
    }

    .product-header .page-subtitle {
        font-size: 0.85rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .price-note {
        font-size: 0.65rem;
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .spec-item {
        padding: 0.375rem;
    }

    .spec-label {
        font-size: 0.7rem;
    }

    .spec-value {
        font-size: 0.7rem;
    }

    .intended-uses-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
        padding-bottom: 0.25rem;
    }

    .detail-tabs {
        margin: 1rem 0;
        padding: 0.75rem;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .detail-tabs::before {
        height: 2px;
    }

    .tab-buttons {
        margin-bottom: 0.75rem;
        padding: 0.25rem;
    }

    .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        margin: 0 0.125rem;
    }

    .tab-content {
        padding: 0.5rem;
        min-height: 120px;
    }


    .btn-buy {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }

    .gender-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        margin-left: 0.5rem;
    }

    .affiliate-disclosure p {
        font-size: 0.75rem;
        text-align: left;
    }
}

/* Critic Reviews Styles - Simplified */
.critic-reviews-simple {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.critic-review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--background);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    position: relative;
}

.review-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.review-date {
    font-size: 0.875rem;
    color: var(--light-text);
    font-weight: 500;
    margin-left: 1rem;
    white-space: nowrap;
}

.critic-review-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #6c757d;
}

.critic-name {
    font-weight: 600;
    color: var(--text);
}

.separator {
    color: var(--light-text);
    margin: 0 0.25rem;
}

.review-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.review-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Critic review snippet */
.critic-snippet {
    margin-left: 0.5rem;
    font-style: italic;
    color: var(--light-text);
    font-weight: 400;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--light-text);
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* User Reviews Styles */
.user-reviews-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reviews-summary {
    background: var(--hover);
    border-radius: 12px;
    padding: 2rem;
}

.rating-overview {
    display: flex;
    justify-content: center;
}

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

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.rating-count {
    color: var(--light-text);
    font-size: 0.875rem;
}

.review-actions {
    display: flex;
    justify-content: center;
}

.user-reviews-list {
    text-align: center;
    padding: 2rem;
    color: var(--light-text);
}

/* YouTube Link Styling - Simplified */
.youtube-link {
    color: #FF0000 !important;
    font-weight: 600 !important;
}

.youtube-link:hover {
    color: #CC0000 !important;
    text-decoration: underline !important;
}

/* Responsive adjustments for reviews */
@media (max-width: 768px) {
    .critic-review-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
        padding: 0.625rem 0.75rem;
        font-size: 0.8rem;
    }

    .review-content {
        width: 100%;
    }

    .review-date {
        margin-left: 0;
        font-size: 0.8rem;
        align-self: flex-end;
    }

    .reviews-summary {
        padding: 1.5rem;
    }

    .rating-score {
        font-size: 2.5rem;
    }
}

/* Tighten header→buttons spacing on small screens */
@media (max-width: 768px) {
    .details-section {
        gap: 0.75rem;
    }

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

    .product-header h1 {
        margin-bottom: 0.5rem;
    }

    .price {
        margin-top: 0.25rem;
    }

    .buy-buttons-section {
        margin: 0.5rem 0 1rem;
    }

    .buy-buttons-footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }

    .buy-buttons-footer .buy-buttons {
        flex-direction: column;
        gap: 0.5rem;
        max-width: none;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .details-section {
        gap: 0.5rem;
    }

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

    .buy-buttons-section {
        margin: 0.25rem 0 0.75rem;
    }

    .buy-buttons-footer {
        padding: 1rem 0;
        margin-top: 1.5rem;
    }
}