/* =========================================================
   G132 — COMPLETE PRODUCT PAGE CSS
   Based on the proven GL100 layout
   Adapted to the actual G132 PHP structure
   Clean version — no patch overrides
   ========================================================= */


/* =========================================================
   PAGE BASE
   ========================================================= */

.g132-page {
    overflow-x: hidden;
}

.g132-page .container {
    width: min(92%, 1200px);
    margin: 0 auto;
}

.g132-page section {
    padding: 38px 0;
}

.g132-page h2 {
    margin: 0 0 10px;
    text-align: center;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
    color: #16452d;
}

.g132-page .section-intro {
    max-width: 820px;
    margin: 0 auto 24px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}


/* =========================================================
   HERO
   ========================================================= */

.g132-hero {
    padding: 36px 0 0;
}

.g132-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.g132-gallery {
    min-width: 0;
}

.g132-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
}

.g132-main-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 390px;
    height: auto;
    object-fit: contain;
}

.g132-thumbnails {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 12px;
}

.g132-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 58px;
    padding: 4px;
    border: 1px solid #d9ded9;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.g132-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.g132-thumbnail:hover {
    border-color: #16452d;
}

.g132-product-info {
    min-width: 0;
}

.g132-product-info .hero-subtitle {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .8px;
    color: #666;
}

.g132-product-info h1 {
    margin: 0 0 5px;
    font-size: clamp(44px, 5.5vw, 64px);
    line-height: 1;
    color: #16452d;
}

.g132-product-info h2 {
    margin: 0 0 14px;
    text-align: left;
    font-size: 24px;
    line-height: 1.2;
    color: #333;
}

.g132-product-info .product-lead {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.g132-key-features-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
    color: #16452d;
}

.g132-key-features {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #444;
}

.g132-key-features li {
    margin-bottom: 2px;
}

.g132-page .hero-buttons {
    margin-top: 18px;
}


/* =========================================================
   PRODUCT NAVIGATION
   ========================================================= */

.g132-product-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 20px;
    margin-top: 30px;
    padding: 13px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.g132-product-nav a {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #16452d;
    text-decoration: none;
}

.g132-product-nav a:hover {
    text-decoration: underline;
}


/* =========================================================
   GENERAL PRODUCT IMAGE
   ========================================================= */

.g132-image {
    text-align: center;
}

.g132-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.g132-overview {
    background: #f5f7f5;
}

.g132-overview .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    max-width: 1080px;
    margin: 0 auto;
}

.g132-overview .feature-card {
    padding: 18px;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.g132-overview .feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
    color: #16452d;
}

.g132-overview .feature-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}


/* =========================================================
   WIDE-BOARD DESIGN
   ========================================================= */

.g132-design {
    background: #fff;
}

.g132-design > .container > .g132-image img {
    max-width: 850px;
    max-height: 300px;
}

.g132-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 850px;
    margin: 22px auto 0;
}

.g132-detail-item {
    padding: 15px;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.g132-detail-item img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 150px;
    height: auto;
    margin: 0 auto 10px;
    object-fit: contain;
}

.g132-detail-item h3 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.2;
    color: #16452d;
}

.g132-detail-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}


/* =========================================================
   LENS & LIGHT DISTRIBUTION
   ========================================================= */

.g132-lens {
    background: #f5f7f5;
}

.g132-lens > .container > .g132-image img {
    max-width: 750px;
    max-height: 280px;
}

.g132-lens .g132-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 850px;
    margin: 22px auto 0;
}

.g132-lens .g132-detail-item {
    padding: 15px;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.g132-lens .g132-detail-item h3 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.2;
    color: #16452d;
}

.g132-lens .g132-detail-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}


/* =========================================================
   POWER & CONTROLS
   ========================================================= */

.g132-controls {
    background: #f5f7f5;
}

.g132-control-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    max-width: 1080px;
    margin: 0 auto;
}

.g132-control-item {
    padding: 15px;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.g132-control-item .g132-image {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.g132-control-item .g132-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 135px;
    height: auto;
    object-fit: contain;
}

.g132-control-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
    color: #16452d;
}

.g132-control-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}


/* =========================================================
   SPECTRUM
   STANDARD + CUSTOM
   MATCH GL100
   ========================================================= */

.g132-spectrum {
    background: #fff;
}

.g132-spectrum-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

.g132-standard-spectrum,
.g132-custom-spectrums {
    min-width: 0;
}

.g132-standard-spectrum h2,
.g132-custom-spectrums h2 {
    margin-bottom: 12px;
}

.g132-standard-spectrum .section-intro,
.g132-custom-spectrums > p {
    margin-bottom: 25px;
}


/* Standard Spectrum */

.g132-standard-spectrum .g132-spectrum-placeholder {
    width: 100%;
    text-align: center;
}

.g132-standard-spectrum .g132-spectrum-placeholder img {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 0 auto;
}


/* Custom Spectrum Grid */

.g132-custom-spectrums .hero-spectrum-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.g132-custom-spectrums .hero-spectrum-card {
    padding: 10px;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.g132-custom-spectrums .hero-spectrum-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.g132-custom-spectrums .hero-spectrum-card h3 {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.2;
    color: #16452d;
}


/* =========================================================
   DIMENSIONS
   ========================================================= */

.g132-dimensions {
    background: #fff;
}

.g132-dimension-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 20px;
}

.g132-dimension-card {
    padding: 17px;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.g132-dimension-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.2;
    color: #16452d;
}

.g132-dimension-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    color: #333;
}

.g132-dimension-card p {
    margin: 5px 0 0;
    font-size: 12px;
    color: #777;
}

.g132-dimensions > .container > .g132-image img {
    max-width: 800px;
    max-height: 300px;
}


/* =========================================================
   SPECIFICATIONS
   ========================================================= */

.g132-specifications {
    background: #f5f7f5;
}

.g132-spec-table {
    max-width: 950px;
    margin: 0 auto;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.g132-spec-row {
    display: grid;
    grid-template-columns: 32% 68%;
    border-bottom: 1px solid #e5e5e5;
}

.g132-spec-row:last-child {
    border-bottom: 0;
}

.g132-spec-row strong,
.g132-spec-row span {
    padding: 10px 13px;
    font-size: 12px;
    line-height: 1.4;
}

.g132-spec-row strong {
    background: #f1f3f1;
    color: #16452d;
}

.g132-spec-row span {
    color: #555;
}


/* =========================================================
   PRODUCT DETAILS
   ========================================================= */

.g132-product-details {
    background: #fff;
}

.g132-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 800px;
    margin: 0 auto;
}

.g132-detail-gallery .g132-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 14px;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    background: #fff;
}

.g132-detail-gallery .g132-detail-item img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 220px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}


/* =========================================================
   PPFD
   ONE 12-INCH MAP ONLY
   ========================================================= */

.g132-ppfd {
    background: #fff;
}

.g132-ppfd-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

.g132-ppfd-card {
    padding: 16px;
    border: 1px solid #dfe4df;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.g132-ppfd-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.25;
    color: #16452d;
}

.g132-ppfd-card > span {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    color: #777;
}

.g132-ppfd-card img {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}


/* =========================================================
   CTA
   ========================================================= */

.g132-page .product-cta {
    padding: 42px 0;
    background: #123f2b;
    text-align: center;
}

.g132-page .product-cta h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(26px, 3vw, 34px);
}

.g132-page .product-cta p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

.g132-page .product-cta .btn-primary {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 5px;
    background: #fff;
    color: #16452d;
    font-weight: 700;
    text-decoration: none;
}

.g132-page .product-cta .btn-primary:hover {
    background: #f2f2f2;
    color: #16452d;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .g132-product-layout {
        gap: 30px;
    }

    .g132-main-image {
        min-height: 330px;
    }

    .g132-main-image img {
        max-height: 330px;
    }

    .g132-overview .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .g132-control-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .g132-spectrum-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .g132-page section {
        padding: 30px 0;
    }

    .g132-product-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .g132-main-image {
        min-height: 270px;
    }

    .g132-main-image img {
        max-height: 270px;
    }

    .g132-product-info h1 {
        font-size: 46px;
    }

    .g132-product-info h2 {
        font-size: 22px;
    }

    .g132-product-info .product-lead {
        font-size: 14px;
    }

    .g132-overview .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .g132-control-grid {
        grid-template-columns: 1fr;
    }

    .g132-ppfd-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .g132-custom-spectrums .hero-spectrum-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .g132-page section {
        padding: 26px 0;
    }

    .g132-page h2 {
        font-size: 27px;
    }

    .g132-page .section-intro {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .g132-main-image {
        min-height: 230px;
    }

    .g132-main-image img {
        max-height: 230px;
    }

    .g132-product-info h1 {
        font-size: 42px;
    }

    .g132-product-info h2 {
        font-size: 20px;
    }

    .g132-key-features {
        font-size: 12px;
    }

    .g132-overview .feature-grid {
        grid-template-columns: 1fr;
    }

    .g132-detail-grid,
    .g132-dimension-grid,
    .g132-detail-gallery {
        grid-template-columns: 1fr;
    }

    .g132-standard-spectrum .g132-spectrum-placeholder img {
        max-height: 210px;
    }

    .g132-lens > .container > .g132-image img {
        max-height: 220px;
    }

    .g132-dimensions > .container > .g132-image img {
        max-height: 240px;
    }

    .g132-spec-row {
        grid-template-columns: 38% 62%;
    }

    .g132-spec-row strong,
    .g132-spec-row span {
        padding: 8px 9px;
        font-size: 10px;
    }

    .g132-ppfd-card img {
        max-height: 250px;
    }

    .g132-product-nav {
        gap: 6px 11px;
    }

    .g132-product-nav a {
        font-size: 10px;
    }

}