/**
 * Glogglz Product Page Styles
 * 
 * Conversion-optimized single product page
 * 
 * @package Glogglz
 * @since 1.0.0
 */

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    --gl-product-gap: 3rem;
    --gl-product-radius: 12px;
    --gl-product-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --gl-product-accent: var(--gl-brand);
    --gl-product-success: #22c55e;
    --gl-product-warning: #f59e0b;
}

/* ==========================================================================
   MOBILE OVERFLOW FIX — prevent any child from blowing out the viewport
   ========================================================================== */
.gl-product-single,
.gl-product-single .gl-main {
    overflow-x: hidden;
    max-width: 100vw;
}

.gl-product-section .gl-container,
.gl-product-hero .gl-container,
.gl-product-hero__grid {
    max-width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   PRODUCT HERO - ABOVE THE FOLD
   ========================================================================== */
.gl-product-hero {
    padding: 2rem 0 3rem;
    background: var(--gl-white);
}

.gl-product-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gl-product-gap);
    max-width: var(--gl-container-max);
    margin: 0 auto;
    padding: 0 var(--gl-container-padding);
}

@media (max-width: 1024px) {
    .gl-product-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   PRODUCT GALLERY
   ========================================================================== */
.gl-product-gallery {
    position: sticky;
    top: calc(var(--gl-header-height) + 2rem);
}

.gl-product-gallery__main {
    position: relative;
    background: var(--gl-gray-50);
    border-radius: var(--gl-product-radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.gl-product-gallery__viewport {
    position: relative;
    width: 100%;
    height: 100%;
}

.gl-product-gallery__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gl-product-gallery__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.gl-product-gallery__slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

/* Gallery Navigation */
.gl-product-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gl-white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--gl-product-shadow);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.gl-product-gallery__nav:hover {
    background: var(--gl-brand);
    color: var(--gl-gray-900);
}

.gl-product-gallery__nav--prev {
    left: 1rem;
}

.gl-product-gallery__nav--next {
    right: 1rem;
}

/* Gallery Badge */
.gl-product-gallery__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 6px 12px;
    background: #ef4444;
    color: var(--gl-white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
}

/* Gallery Thumbnails */
.gl-product-gallery__thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gl-product-gallery__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    padding: 0;
    background: var(--gl-gray-50);
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.gl-product-gallery__thumb:hover,
.gl-product-gallery__thumb.is-active {
    border-color: var(--gl-brand);
}

@media (max-width: 768px) {
    .gl-product-gallery__thumbs {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .gl-product-gallery__thumb {
        scroll-snap-align: start;
        width: 64px;
        height: 64px;
    }
}

.gl-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   PRODUCT SUMMARY
   ========================================================================== */
.gl-product-hero__summary {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Breadcrumb */
/* Product Title */
.gl-product-title {
    font-family: var(--gl-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gl-primary, #0A1628);
    line-height: 1.15;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

/* Pitch Line */
.gl-product-pitch {
    font-size: 1.125rem;
    color: var(--gl-gray-600);
    line-height: 1.5;
    margin: 0;
}

/* Rating */
.gl-product-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gl-product-rating__stars {
    display: flex;
    color: var(--gl-brand);
}

.gl-product-rating__count {
    font-size: 0.875rem;
    color: var(--gl-gray-500);
}

/* Price */
.gl-product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gl-gray-900);
}

.gl-product-price del {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gl-gray-400);
    margin-right: 0.5rem;
}

.gl-product-price ins {
    text-decoration: none;
    color: #ef4444;
}

/* Price Row (price + hardcase inline) */
.gl-product-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.gl-product-hardcase {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gl-success, #22C55E);
    white-space: nowrap;
}

/* Urgency Block */
.gl-urgency {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 1rem 1.25rem;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 10px;
}

.gl-urgency__stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #16A34A;
}

.gl-urgency__stock--out {
    color: #ef4444;
}

.gl-urgency__dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: gl-pulse-dot 2s infinite;
}

@keyframes gl-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.gl-urgency__shipping {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gl-gray-600, #475569);
}

.gl-urgency__shipping svg {
    flex-shrink: 0;
    color: var(--gl-gray-500, #64748B);
}

/* Add to Cart */
.gl-product-add-to-cart,
.gl-product-variations {
    margin-top: 0.5rem;
}

.gl-product-add-to-cart .single_add_to_cart_button,
.gl-product-variations .single_add_to_cart_button {
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--gl-font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--gl-accent);
    color: var(--gl-white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.gl-product-add-to-cart .single_add_to_cart_button:hover,
.gl-product-variations .single_add_to_cart_button:hover {
    background: var(--gl-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

/* Variations */
.gl-product-variations .variations {
    margin-bottom: 1.5rem;
}

.gl-product-variations .variations td.label {
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.gl-product-variations .variations select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gl-border);
    border-radius: 8px;
    font-size: 1rem;
}

/* Trust Pills (compact row below ATC) */
.gl-product-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
}

.gl-product-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gl-gray-600, #475569);
    white-space: nowrap;
}

.gl-product-trust-pill svg {
    flex-shrink: 0;
    color: var(--gl-success, #22C55E);
}

/* ==========================================================================
   PRODUCT SECTIONS
   ========================================================================== */
.gl-product-section {
    padding: 4rem 0;
}

.gl-product-section:nth-child(even) {
    background: var(--gl-gray-50);
}

/* ==========================================================================
   MICRO REVIEWS
   ========================================================================== */
/* Using section element selector for higher specificity */
section.gl-micro-reviews,
.gl-product-section.gl-micro-reviews {
    background: var(--gl-gray-900);
    padding: 3rem 0;
}

.gl-micro-reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .gl-micro-reviews__grid {
        grid-template-columns: 1fr;
    }
}

.gl-micro-review {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--gl-product-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gl-micro-review__quote {
    position: relative;
}

.gl-micro-review__quote svg {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    color: var(--gl-brand);
}

.gl-micro-review__quote p {
    color: var(--gl-white);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    padding-left: 1.5rem;
}

.gl-micro-review__author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.gl-micro-review__name {
    color: var(--gl-white);
    font-weight: 600;
}

.gl-micro-review__sport {
    color: var(--gl-brand);
    font-size: 0.875rem;
}

/* ==========================================================================
   PROBLEMS SECTION
   ========================================================================== */
.gl-problems {
    text-align: center;
}

.gl-problems__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin-bottom: 2.5rem;
}

.gl-problems__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .gl-problems__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gl-problems__grid {
        grid-template-columns: 1fr;
    }
}

.gl-problem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.gl-problem__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: #ef4444;
    border-radius: 50%;
}

.gl-problem__text {
    font-size: 0.9375rem;
    color: var(--gl-gray-700);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   USP BLOCK
   ========================================================================== */
.gl-usp-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gl-product-gap);
    align-items: center;
}

@media (max-width: 900px) {
    .gl-usp-block__grid {
        grid-template-columns: 1fr;
    }
}

.gl-usp-block__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gl-usp-block__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.gl-usp-block__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1.0625rem;
    color: var(--gl-gray-700);
    line-height: 1.5;
}

.gl-usp-block__list li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--gl-product-success);
}

.gl-usp-block__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gl-usp-block__image {
    border-radius: var(--gl-product-radius);
    overflow: hidden;
}

.gl-usp-block__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   VISUAL PROOF
   ========================================================================== */
.gl-visual-proof__title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin-bottom: 2.5rem;
}

.gl-visual-proof__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .gl-visual-proof__grid {
        grid-template-columns: 1fr;
    }
}

.gl-visual-proof__item {
    text-align: center;
}

.gl-visual-proof__image {
    aspect-ratio: 1;
    border-radius: var(--gl-product-radius);
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--gl-gray-100);
}

.gl-visual-proof__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gl-visual-proof__item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gl-gray-900);
    margin: 0 0 0.5rem 0;
}

.gl-visual-proof__item p {
    font-size: 0.9375rem;
    color: var(--gl-gray-600);
    margin: 0;
}

/* ==========================================================================
   PRODUCT CONTENT
   ========================================================================== */
.gl-product-content__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--gl-product-gap);
}

@media (max-width: 900px) {
    .gl-product-content__grid {
        grid-template-columns: 1fr;
    }
}

.gl-product-content__main h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin: 0 0 1.5rem 0;
}

.gl-product-content__main h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gl-gray-900);
    margin: 2rem 0 1rem 0;
}

.gl-product-content__main p {
    font-size: 1rem;
    color: var(--gl-gray-700);
    line-height: 1.7;
}

/* Target Audience */
.gl-target-audience {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .gl-target-audience {
        grid-template-columns: 1fr;
    }
}

.gl-target-audience__item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--gl-white);
    border-radius: 8px;
    box-shadow: var(--gl-product-shadow);
}

.gl-target-audience__icon {
    font-size: 2rem;
}

.gl-target-audience__item strong {
    display: block;
    font-size: 1rem;
    color: var(--gl-gray-900);
    margin-bottom: 0.25rem;
}

.gl-target-audience__item p {
    font-size: 0.875rem;
    color: var(--gl-gray-600);
    margin: 0;
    line-height: 1.4;
}

/* Specs Table */
.gl-specs-table {
    position: sticky;
    top: calc(var(--gl-header-height) + 2rem);
    padding: 1.5rem;
    background: var(--gl-white);
    border-radius: var(--gl-product-radius);
    box-shadow: var(--gl-product-shadow);
}

.gl-specs-table h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gl-gray-900);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gl-brand);
}

.gl-specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.gl-specs-table tr {
    border-bottom: 1px solid var(--gl-border-light);
}

.gl-specs-table tr:last-child {
    border-bottom: none;
}

.gl-specs-table th,
.gl-specs-table td {
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    text-align: left;
}

.gl-specs-table th {
    font-weight: 600;
    color: var(--gl-gray-600);
    width: 40%;
}

.gl-specs-table td {
    color: var(--gl-gray-900);
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.gl-comparison__title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin-bottom: 2.5rem;
}

.gl-comparison__table-wrapper {
    overflow-x: auto;
}

.gl-comparison__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--gl-white);
    border-radius: var(--gl-product-radius);
    overflow: hidden;
    box-shadow: var(--gl-product-shadow);
}

.gl-comparison__table th,
.gl-comparison__table td {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .gl-comparison__table-wrapper {
        -webkit-overflow-scrolling: touch;
        margin: 0 calc(-1 * var(--gl-container-padding, 16px));
        padding: 0 var(--gl-container-padding, 16px);
    }
    .gl-comparison__table {
        min-width: 580px;
    }
    .gl-comparison__table th,
    .gl-comparison__table td {
        padding: 0.65rem 0.75rem;
        font-size: 0.8rem;
    }
}

.gl-comparison__table thead {
    background: var(--gl-gray-900);
    color: var(--gl-white);
}

.gl-comparison__table thead th {
    font-weight: 600;
}

.gl-comparison__table tbody tr {
    border-bottom: 1px solid var(--gl-border-light);
}

.gl-comparison__table tbody tr:last-child {
    border-bottom: none;
}

.gl-comparison__table tbody tr.is-current {
    background: rgba(255, 215, 0, 0.1);
}

.gl-comparison__table tbody tr:hover {
    background: var(--gl-gray-50);
}

.gl-check {
    color: var(--gl-product-success);
    font-weight: 600;
}

.gl-check--highlight {
    color: var(--gl-brand-dark);
    background: rgba(255, 215, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
.gl-reviews-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.gl-reviews-section__header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin: 0;
}

.gl-reviews-section__summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gl-reviews-section__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gl-reviews-section__rating .gl-stars {
    color: var(--gl-brand);
}

.gl-reviews-section__average {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gl-gray-900);
}

.gl-reviews-section__count {
    font-size: 0.875rem;
    color: var(--gl-gray-500);
}

/* Review Cards */
.gl-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

.gl-review-card {
    padding: 1.5rem;
    background: var(--gl-white);
    border-radius: var(--gl-product-radius);
    box-shadow: var(--gl-product-shadow);
}

.gl-review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.gl-review-card__stars {
    color: var(--gl-brand);
}

.gl-review-card__verified {
    font-size: 0.75rem;
    color: var(--gl-product-success);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 4px;
}

.gl-review-card__quote {
    font-size: 1rem;
    color: var(--gl-gray-700);
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 1rem 0;
}

.gl-review-card__author {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.gl-review-card__name {
    font-weight: 600;
    color: var(--gl-gray-900);
}

.gl-review-card__sport {
    font-size: 0.875rem;
    color: var(--gl-gray-500);
}

/* External Review (bol.com) styling */
.gl-review-card--external {
    border: 2px solid var(--gl-brand);
    position: relative;
}

.gl-review-card__source {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #0066cc;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 4px;
}

.gl-review-card__source svg {
    flex-shrink: 0;
}

.gl-review-card__pros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gl-gray-100);
}

.gl-review-card__pro {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--gl-product-success);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 4px;
}

.gl-review-card__pro svg {
    flex-shrink: 0;
    stroke: currentColor;
}

.gl-review-card__date {
    font-size: 0.75rem;
    color: var(--gl-gray-400);
}

/* ==========================================================================
   WOOCOMMERCE REVIEWS (custom styled override)
   ========================================================================== */
.gl-wc-reviews {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gl-gray-100);
}
.gl-wc-reviews__header {
    margin-bottom: 1.5rem;
}
.gl-wc-reviews__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gl-gray-900);
    margin: 0;
}
.gl-wc-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.gl-wc-review {
    background: var(--gl-white);
    border: 1px solid var(--gl-gray-100);
    border-radius: var(--gl-product-radius);
    padding: 1.25rem 1.5rem;
}
.gl-wc-review__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.gl-wc-review__stars .gl-stars {
    font-size: 0;
}
.gl-wc-review__verified {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gl-product-success, #22c55e);
    background: rgba(34, 197, 94, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}
.gl-wc-review__source {
    font-size: 0.75rem;
    color: var(--gl-gray-400);
    font-style: italic;
}
.gl-wc-review__content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gl-gray-700, #334155);
    margin-bottom: 0.75rem;
}
.gl-wc-review__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--gl-gray-400);
}
.gl-wc-review__author {
    font-weight: 600;
    color: var(--gl-gray-600, #475569);
}

/* Review form */
.gl-wc-reviews__form-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gl-gray-100);
}
.gl-wc-reviews__form-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gl-gray-900);
    margin-bottom: 1.25rem;
}
.gl-wc-review-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gl-wc-review-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gl-gray-700, #334155);
    margin-bottom: 0.35rem;
}
.gl-wc-review-form abbr {
    color: var(--gl-ocean, #06B6D4);
    text-decoration: none;
}
.gl-wc-review-form select,
.gl-wc-review-form textarea,
.gl-wc-review-form input[type="text"],
.gl-wc-review-form input[type="email"],
.gl-wc-review-form input[type="url"] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--gl-gray-200, #E2E8F0);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--gl-gray-800, #1E293B);
    background: var(--gl-white, #fff);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gl-wc-review-form select:focus,
.gl-wc-review-form textarea:focus,
.gl-wc-review-form input:focus {
    outline: none;
    border-color: var(--gl-ocean, #06B6D4);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}
.gl-wc-review-form textarea {
    resize: vertical;
    min-height: 100px;
}
.gl-wc-review-form select {
    max-width: 200px;
    cursor: pointer;
    appearance: auto;
}
.gl-wc-review-form .comment-notes {
    font-size: 0.8rem;
    color: var(--gl-gray-400);
    margin-bottom: 0.5rem;
}
.gl-wc-review-form .comment-form-author,
.gl-wc-review-form .comment-form-email {
    margin-bottom: 0;
}
.gl-wc-review-form .comment-form-author label,
.gl-wc-review-form .comment-form-email label,
.gl-wc-review-form .comment-form-url label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gl-gray-700, #334155);
    margin-bottom: 0.35rem;
}
.gl-wc-review-form .comment-form-url {
    display: none;
}
.gl-wc-review-form .form-submit {
    margin-top: 0.5rem;
}
.gl-wc-review-form .form-submit input[type="submit"] {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--gl-white, #fff);
    background: var(--gl-ocean, #06B6D4);
    border: none;
    border-radius: 8px;
    transition: background 0.15s ease, transform 0.1s ease;
}
.gl-wc-review-form .form-submit input[type="submit"]:hover {
    background: var(--gl-ocean-dark, #0891b2);
    transform: translateY(-1px);
}
.gl-wc-review-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gl-gray-500);
}
.gl-wc-review-form .comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
}
.gl-wc-reviews__login {
    font-size: 0.9rem;
    color: var(--gl-gray-500);
}
.gl-wc-reviews__login a {
    color: var(--gl-ocean, #06B6D4);
    text-decoration: underline;
}

/* Hide any leftover unstyled WC review elements */
#reviews .woocommerce-Reviews-title,
#reviews .commentlist,
#reviews .woocommerce-noreviews {
    display: none !important;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.gl-faq-section__title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin-bottom: 2.5rem;
}

.gl-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.gl-faq-item {
    margin-bottom: 1rem;
    background: var(--gl-white);
    border-radius: var(--gl-product-radius);
    box-shadow: var(--gl-product-shadow);
    overflow: hidden;
}

.gl-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gl-gray-900);
    transition: background 0.2s ease;
}

.gl-faq-question:hover {
    background: var(--gl-gray-50);
}

.gl-faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.gl-faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.gl-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.gl-faq-answer > div {
    padding: 0 1.5rem 1.25rem;
}

.gl-faq-answer p {
    font-size: 0.9375rem;
    color: var(--gl-gray-700);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   GUARANTEE SECTION
   ========================================================================== */
/* Using section element selector for higher specificity */
section.gl-guarantee,
.gl-product-section.gl-guarantee {
    background: linear-gradient(135deg, var(--gl-gray-900) 0%, #1e293b 100%);
}

.gl-guarantee__content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--gl-product-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .gl-guarantee__content {
        flex-direction: column;
        text-align: center;
    }
}

.gl-guarantee__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gl-brand);
    color: var(--gl-gray-900);
    border-radius: 50%;
}

.gl-guarantee__text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gl-white);
    margin: 0 0 0.75rem 0;
}

.gl-guarantee__text p {
    font-size: 1rem;
    color: var(--gl-gray-300);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   BOTTOM CTA
   ========================================================================== */
/* Using section element selector for higher specificity */
section.gl-bottom-cta,
.gl-product-section.gl-bottom-cta {
    text-align: center;
    background: var(--gl-white);
}

.gl-bottom-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.gl-bottom-cta__content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin: 0 0 1rem 0;
}

.gl-bottom-cta__price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gl-gray-900);
    margin: 0 0 0.5rem 0;
}

.gl-bottom-cta__offer {
    font-size: 1.125rem;
    color: var(--gl-brand-dark);
    font-weight: 600;
    margin: 0 0 2rem 0;
}

.gl-bottom-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gl-bottom-cta__buttons .single_add_to_cart_button {
    width: 100%;
    padding: 1.25rem 2rem;
    font-family: var(--gl-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gl-accent);
    color: var(--gl-white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.gl-bottom-cta__buttons .single_add_to_cart_button:hover {
    background: var(--gl-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

.gl-bottom-cta__badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gl-border-light);
}

.gl-bottom-cta__badges img {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.gl-bottom-cta__badges img:hover {
    opacity: 1;
}

/* ==========================================================================
   STICKY MOBILE ADD-TO-CART
   ========================================================================== */
.gl-sticky-atc {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--gl-white);
    border-top: 1px solid var(--gl-border, #E2E8F0);
    box-shadow: 0 -4px 20px rgba(10, 22, 40, 0.1);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gl-sticky-atc--visible {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gl-sticky-atc {
        display: flex;
    }
}

.gl-sticky-atc__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.gl-sticky-atc__name {
    font-family: var(--gl-font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gl-primary, #0A1628);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gl-sticky-atc__price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gl-accent, #FF6B35);
}

.gl-sticky-atc__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: var(--gl-accent, #FF6B35);
    color: var(--gl-white) !important;
    font-family: var(--gl-font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.gl-sticky-atc__btn:hover {
    background: var(--gl-accent-dark, #E85D2C);
}

/* 
 * GALLERY LIGHTBOX - Consolidated in custom-features.css
 * See custom-features.css for .gl-lightbox styles
 */

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 768px) {
    .gl-product-section {
        padding: 3rem 0;
        overflow: hidden;
    }

    .gl-product-hero,
    .gl-product-hero__gallery,
    .gl-product-hero__summary {
        max-width: 100vw;
        overflow: hidden;
    }

    .gl-product-hero {
        padding: 1rem 0 2rem;
    }

    .gl-product-hero__gallery img {
        max-width: 100%;
        height: auto;
    }

    .gl-product-gallery {
        position: static;
    }

    .gl-product-title {
        font-size: 1.5rem;
        word-break: break-word;
        hyphens: auto;
    }

    .gl-product-gallery__thumbs {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        flex-wrap: nowrap;
        scrollbar-width: none;
        gap: 8px;
        padding-bottom: 4px;
    }

    .gl-product-gallery__thumbs::-webkit-scrollbar {
        display: none;
    }

    .gl-product-gallery__thumb {
        flex-shrink: 0;
    }

    .gl-specs-table {
        position: static;
    }

    .gl-product-content__main h2 {
        font-size: 1.35rem;
        word-break: break-word;
    }

    .gl-product-content__main h3 {
        font-size: 1.1rem;
        word-break: break-word;
    }

    .gl-bottom-cta__title {
        font-size: 1.25rem;
        word-break: break-word;
    }

    .gl-heritage-bar__number {
        font-size: 1.5rem;
    }

    .gl-team-riders__title {
        font-size: 1.35rem;
    }
}

/* ==========================================================================
   BRAND HERITAGE BAR
   ========================================================================== */
.gl-heritage-bar {
    background: var(--gl-dark, #111);
    color: var(--gl-white, #fff);
    padding: 3rem 0;
}

.gl-heritage-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.gl-heritage-bar__number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--gl-brand, #FFD700);
}

.gl-heritage-bar__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
    margin-top: 0.35rem;
}

.gl-heritage-bar__tagline {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .gl-heritage-bar__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ==========================================================================
   TEAM RIDERS / LOOKBOOK SECTION
   ========================================================================== */
.gl-team-riders {
    background: linear-gradient(135deg, var(--gl-bg-muted, #f8f9fa) 0%, var(--gl-white, #fff) 100%);
    text-align: center;
}

.gl-team-riders__content {
    max-width: 640px;
    margin: 0 auto;
}

.gl-team-riders__title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.gl-team-riders__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gl-text-muted, #6b7280);
    margin-bottom: 1.5rem;
}

.gl-team-riders__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

