/* ==========================================================
   PRODUCT PAGE V24
   PHASE 24A
   ========================================================== */

:root{

    --primary:#1d1d1d;

    --secondary:#f5f5f5;

    --accent:#ffb400;

    --radius:18px;

    --shadow:0 10px 30px rgba(0,0,0,.08);

}

.product-detail{

    background:#f6f7fb;

    padding:50px 0;

}

/* ===========================================================
   PRODUCT V24 - TAB NAVIGATION (Phase 3)
   =========================================================== */

.pv24-tabs{

    display:flex;
    flex-wrap:wrap;
    gap:6px;
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:10px;
    margin:30px 0 20px 0;
    position:sticky;
    top:0;
    z-index:20;

}

.pv24-tab-btn{

    background:none;
    border:none;
    padding:12px 18px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    color:#666;
    cursor:pointer;
    white-space:nowrap;
    transition:.2s;

}

.pv24-tab-btn:hover{

    background:var(--secondary);
    color:var(--primary);

}

.pv24-tab-btn.active{

    background:var(--primary);
    color:var(--accent);

}

.pv24-tab-panel{

    display:none;

}

.pv24-tab-panel.active{

    display:block;

}

.pv24-empty-state{

    text-align:center;
    padding:60px 20px;
    color:#888;
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);

}

.pv24-empty-state p{

    margin:0;
    font-size:15px;

}

@media (max-width:768px){

    .pv24-tabs{
        position:static;
        overflow-x:auto;
        flex-wrap:nowrap;
    }

}

.product-detail-grid{

    display:grid;

    grid-template-columns:28% 44% 28%;

    gap:30px;

    align-items:start;

}

@media(max-width:1200px){

.product-detail-grid{

grid-template-columns:1fr;

}

}
/*=========================================
V24 HERO GRID
=========================================*/

.product-detail-grid{

display:grid;

grid-template-columns:

420px

1fr

320px;

gap:35px;

align-items:start;

}

.product-gallery-column{

position:relative;

}

.product-sidebar{

position:relative;

}

.builder-card{

background:#ffffff;

border-radius:18px;

padding:25px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.builder-card h3{

margin-bottom:10px;

font-size:22px;

}

.builder-card p{

margin-bottom:20px;

color:#666;

}

.builder-steps{

display:flex;

justify-content:space-between;

margin-bottom:25px;

}

.builder-step{

text-align:center;

font-size:12px;

}

.builder-step span{

width:34px;

height:34px;

display:flex;

align-items:center;

justify-content:center;

background:#ddd;

border-radius:50%;

margin:auto auto 8px;

font-weight:bold;

}

.builder-step.active span{

background:#16a34a;

color:#fff;

}

.builder-btn{

display:block;

text-align:center;

padding:14px;

background:#16a34a;

color:#fff;

text-decoration:none;

border-radius:10px;

font-weight:bold;

}
/*=====================================
Builder Sidebar
=====================================*/

.builder-card{

background:#fff;

border-radius:18px;

padding:25px;

box-shadow:0 12px 30px rgba(0,0,0,.08);

margin-bottom:30px;

}

.builder-card h3{

margin:0 0 12px;

font-size:22px;

}

.builder-card p{

color:#666;

line-height:1.7;

margin-bottom:25px;

}

.builder-progress{

display:flex;

flex-direction:column;

gap:15px;

margin-bottom:30px;

}

.progress-item{

display:flex;

align-items:center;

gap:15px;

}

.progress-item span{

width:34px;

height:34px;

border-radius:50%;

background:#e5e5e5;

display:flex;

align-items:center;

justify-content:center;

font-weight:bold;

}

.progress-item.active span{

background:#f4b400;

color:#fff;

}

.builder-button{

display:block;

text-align:center;

padding:14px;

background:#111;

color:#fff;

text-decoration:none;

border-radius:10px;

font-weight:600;

transition:.3s;

}

.builder-button:hover{

background:#333;

}
/*==================================
Product Description Card
==================================*/

.product-main-content{

margin-top:35px;

}

.product-description-card{

background:#ffffff;

border:1px solid #e8e8e8;

border-radius:16px;

padding:30px;

margin-bottom:35px;

box-shadow:0 8px 24px rgba(0,0,0,.05);

}

.product-description-card h2{

font-size:28px;

font-weight:700;

margin-bottom:20px;

color:#222;

}

.product-description{

font-size:16px;

line-height:1.9;

color:#555;

}
/*====================================================
V24 HERO LAYOUT FINAL
====================================================*/

.product-hero{

display:grid;

grid-template-columns:420px 1fr 320px;

gap:35px;

align-items:start;

max-width:1450px;

margin:40px auto;

padding:0 20px;

}

.hero-gallery{

position:sticky;

top:25px;

}

.hero-content{
    min-width:0;
}

.hero-sidebar{
    position:sticky;
    top:20px;
}

.hero-sidebar .builder-card{
    margin-bottom:0;
}

@media(max-width:1200px){

.product-hero{

grid-template-columns:360px 1fr;

}

.hero-sidebar{

grid-column:1/-1;

position:relative;

top:0;

}

}

@media(max-width:768px){

.product-hero{

grid-template-columns:1fr;

}

.hero-gallery,
.hero-sidebar{

position:relative;

top:0;

}

}
.builder-badge{

display:inline-block;

background:#111;

color:#fff;

padding:8px 14px;

border-radius:30px;

font-size:12px;

font-weight:700;

letter-spacing:1px;

margin-bottom:18px;

text-transform:uppercase;

}
/*==========================================
PREMIUM PRODUCT GALLERY
==========================================*/

.product-gallery-v24{

display:flex;

flex-direction:column;

gap:20px;

}

.gallery-thumbnails{

display:flex;

flex-direction:row;

gap:12px;

overflow-x:auto;

overflow-y:hidden;

padding-bottom:6px;

scrollbar-width:thin;

}

.gallery-thumb{

border:2px solid #ececec;

border-radius:10px;

overflow:hidden;

cursor:pointer;

transition:.25s;

background:#fff;

}

.gallery-thumb.active{

border-color:#18a058;

}

.gallery-thumb img{

display:block;

width:100%;

}

.gallery-main-image{

flex:1;

background:#fff;

border-radius:18px;

border:1px solid #ececec;

padding:18px;

box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.gallery-main-image img{

width:100%;

height:560px;

object-fit:cover;

display:block;

}

.gallery-no-image{

width:100%;

height:560px;

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

gap:12px;

background:#f7f7f7;

border-radius:12px;

color:#999;

}

.gallery-no-image i{

font-size:48px;

}

.gallery-no-image span{

font-size:14px;

font-weight:600;

}
/*=========================================
HEADER ACTION BUTTONS
=========================================*/

.product-action-buttons{

display:flex;

gap:15px;

margin:25px 0;

flex-wrap:wrap;

}

.product-action-buttons a{

text-decoration:none;

padding:14px 24px;

border-radius:10px;

font-weight:700;

transition:.25s;

display:inline-block;

}

.btn-build{

background:#0a9f4d;

color:#fff;

}

.btn-whatsapp{

background:#25D366;

color:#fff;

}

.btn-quote{

background:#111;

color:#fff;

}

.btn-spec-sheet{

background:var(--accent);

color:#111;

}

.product-sku-row{

display:flex;

align-items:center;

gap:14px;

margin:10px 0 18px 0;

font-size:14px;

}

.product-sku{

color:#666;

font-weight:600;

}

.product-stock-badge{

padding:4px 12px;

border-radius:20px;

font-size:12px;

font-weight:700;

text-transform:uppercase;

letter-spacing:.03em;

}

.product-stock-badge.in-stock{

background:#e6f7ec;

color:#0a9f4d;

}

.product-stock-badge.made-to-order{

background:#fff4e0;

color:#b8720a;

}

.product-action-buttons a:hover{

transform:translateY(-3px);

}

.product-feature-icons{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:12px;

margin-top:25px;

}

.feature-item{

background:#fff;

border:1px solid #e8e8e8;

border-radius:12px;

padding:18px;

text-align:center;

font-size:14px;

font-weight:600;

box-shadow:0 5px 18px rgba(0,0,0,.05);

}

.feature-item span{

display:block;

margin-top:8px;

font-size:13px;

color:#555;

}
/*=========================================
CURRENT BUILD
=========================================*/

.current-build-section{

margin-bottom:35px;

}

.current-build-section h3{

font-size:22px;

font-weight:700;

margin-bottom:20px;

}

.current-build-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:18px;

}

.build-card{

display:flex;

gap:15px;

background:#fff;

border:1px solid #e8e8e8;

border-radius:14px;

padding:15px;

transition:.25s;

}

.build-card:hover{

transform:translateY(-4px);

box-shadow:0 12px 28px rgba(0,0,0,.08);

}

.build-image{

width:80px;

height:80px;

overflow:hidden;

border-radius:10px;

flex-shrink:0;

}

.build-image img{

width:100%;

height:100%;

object-fit:cover;

}

.build-content h4{

margin:0 0 6px;

font-size:16px;

}

.build-content p{

margin:0;

font-size:13px;

color:#666;

line-height:1.5;

}

@media(max-width:992px){

.current-build-grid{

grid-template-columns:1fr;

}

}
.hero-content{

min-width:0;

}

.hero-sidebar{

position:sticky;

top:25px;

}
/* ===== PHASE 24D - CONTAINER FIX ===== */

.product-detail .container{

    max-width:1450px !important;

    width:100%;

    margin:0 auto;

    padding:0 20px;

}

.product-main-content{

    max-width:1450px;

    width:100%;

}
/*======================================
PHASE 24D
SPECIFICATIONS
======================================*/

.product-specifications{

margin:45px 0;

background:#fff;

border-radius:18px;

padding:30px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.product-specifications h2{

font-size:28px;

margin-bottom:25px;

font-weight:700;

}

.specification-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:18px;

}

.spec-item{

background:#fafafa;

border:1px solid #ececec;

border-radius:12px;

padding:18px;

transition:.25s;

}

.spec-item:hover{

transform:translateY(-4px);

box-shadow:0 10px 20px rgba(0,0,0,.08);

}

.spec-item span{

display:block;

font-size:12px;

color:#888;

margin-bottom:8px;

text-transform:uppercase;

}

.spec-item strong{

font-size:16px;

font-weight:700;

color:#222;

}
/*=========================================
PRODUCT COMPONENTS
=========================================*/

.product-components-v24{

margin:60px 0;

}

.product-components-v24 h2{

font-size:30px;

font-weight:700;

margin-bottom:10px;

}

.section-subtitle{

color:#666;

margin-bottom:30px;

}

.component-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:25px;

}

.component-card{

background:#fff;

padding:30px;

border-radius:18px;

border:1px solid #ececec;

transition:.3s;

text-align:center;

}

.component-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.component-icon{

font-size:42px;

margin-bottom:18px;

}

.component-card h4{

margin-bottom:10px;

font-size:20px;

}

.component-card p{

font-size:14px;

color:#666;

line-height:1.7;

}

/*=========================================
RELATED PRODUCTS
=========================================*/

.related-products-v24{

margin:80px 0;

}

.related-products-v24 h2{

font-size:32px;

margin-bottom:12px;

font-weight:700;

}

.related-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:28px;

margin-top:35px;

}

.related-card{

display:block;

background:#fff;

border-radius:18px;

overflow:hidden;

text-decoration:none;

color:#222;

border:1px solid #ececec;

transition:.30s;

}

.related-card:hover{

transform:translateY(-8px);

box-shadow:0 18px 40px rgba(0,0,0,.10);

}

.related-image{

height:240px;

background:#f7f7f7;

display:flex;

align-items:center;

justify-content:center;

}

.related-image img{

width:100%;

height:100%;

object-fit:contain;

}

.related-card h3{

padding:20px;

font-size:20px;

}

.related-card span{

display:block;

padding:0 20px 20px;

font-size:14px;

font-weight:600;

color:#f0a500;

}
/*=========================================
PRODUCT VARIANTS
=========================================*/

.product-variants-v24{

margin:70px 0;

}

.variant-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:18px;

}

.variant-card{

background:#fff;

border:1px solid #ececec;

border-radius:14px;

padding:22px;

transition:.30s;

}

.variant-card:hover{

transform:translateY(-5px);

box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.variant-card h4{

margin-bottom:8px;

font-size:18px;

}

.variant-card p{

margin:0;

color:#666;

}
/*=========================================
OEM CTA
=========================================*/

.oem-inquiry-section{

margin:70px 0;

padding:45px;

background:#111;

color:#fff;

border-radius:20px;

display:grid;

grid-template-columns:2fr 1fr;

gap:40px;

align-items:center;

}

.oem-tag{

display:inline-block;

padding:8px 16px;

background:#ffb400;

color:#111;

border-radius:30px;

font-weight:700;

margin-bottom:20px;

}

.oem-inquiry-section h2{

font-size:34px;

margin-bottom:18px;

}

.oem-inquiry-section p{

line-height:1.8;

opacity:.9;

}

.oem-right{

display:flex;

flex-direction:column;

gap:18px;

}

.btn-build-large,

.btn-quote-large{

display:block;

padding:18px;

border-radius:12px;

text-align:center;

font-weight:700;

text-decoration:none;

}

.btn-build-large{

background:#18a058;

color:#fff;

}

.btn-quote-large{

background:#fff;

color:#111;

}
/*=========================================
GALLERY FINAL
=========================================*/

.gallery-thumb{

flex:0 0 82px;    

cursor:pointer;

transition:.30s;

}

.gallery-thumb:hover{

transform:scale(1.05);

}

.gallery-thumb.active{

border:2px solid #18a058;

box-shadow:0 0 15px rgba(24,160,88,.25);

}

.gallery-main-image img{

transition:opacity .25s ease-in-out;

}
/* ==========================================================
   PRODUCT HIGHLIGHTS
========================================================== */

.product-highlights{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:3px;
    margin-top:10px;
}

.highlight-item{

    display:flex;
    align-items:center;
    gap:3px;

    padding:12px 16px;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:50px;

    transition:all .30s ease;

    cursor:pointer;

    min-height:48px;

    position:relative;

    overflow:hidden;
}

.highlight-item:hover{

    transform:translateY(-3px);

    border-color:#f4b400;

    box-shadow:0 10px 24px rgba(0,0,0,.10);

}

.highlight-icon{

    width:34px;

    height:34px;

    border-radius:50%;

    background:#f8f9fa;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.30s;

    flex-shrink:0;
}

.highlight-item:hover .highlight-icon{

    background:#f4b400;

    transform:rotate(-8deg) scale(1.08);

}

.highlight-icon i{

    font-size:15px;

    color:#555;

    transition:.30s;
}

.highlight-item:hover .highlight-icon i{

    color:#fff;

}

.highlight-title{

    font-size:13px;

    font-weight:600;

    color:#2d2d2d;

    line-height:1.1;

    transition:.30s;
}

.highlight-item:hover .highlight-title{

    color:#111;

    letter-spacing:.3px;

}

@media(max-width:991px){

.product-highlights{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:3px;

    margin-top:15px;

}
}

@media(max-width:575px){

.product-highlights{

grid-template-columns:1fr;

}

.highlight-item{

padding:11px 14px;

}

}
/*==================================================
PRODUCT HIGHLIGHTS
==================================================*/

.product-highlights{

display:grid;

grid-template-columns:repeat(2,minmax(0,1fr));

gap:3px;

margin-top:18px;

}

.highlight-item{

    display:flex;
    align-items:center;
    gap:10px;

    padding:2px 0;
    min-height:auto;

    background:transparent;
    border:none;
    border-radius:0;

    cursor:pointer;

    transition:all .30s ease;

}

.highlight-item:hover{

    transform:translateX(8px);

}
.highlight-icon{

    width:30px;
    height:30px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:transparent;

    transition:.30s;

}
.highlight-item:hover .highlight-icon{

    background:#f4b400;
    color:#fff;
    transform:scale(1.15) rotate(-10deg);

}
.highlight-icon i{

font-size:15px;

color:#555;

transition:.30s;

}

.highlight-item:hover .highlight-icon i{

color:#fff;

}

.highlight-title{

    font-size:14px;
    font-weight:600;
    color:#333;

    transition:.30s;

}
@media(max-width:768px){

.product-highlights{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:3px;

    margin-top:15px;

}

}
/*=============================================
PRODUCT META BAR
=============================================*/

.product-meta-bar{

display:flex;
align-items:center;
flex-wrap:wrap;
gap:10px;
margin-bottom:14px;

}

.meta-item{

display:flex;

align-items:center;

gap:8px;

padding:8px 14px;

background:#f7f7f7;

border-radius:30px;

font-size:13px;

font-weight:600;

color:#444;

border:1px solid #ececec;

transition:.3s;

}

.meta-item:hover{

background:#d8aa39;

color:#fff;

border-color:#d8aa39;

transform:translateY(-2px);

}

.meta-item i{

font-size:13px;

}
/*======================================================
HEADER V3
======================================================*/

.product-header-v3{

display:flex;

flex-direction:column;

gap:12px;

}

.product-short-description{

font-size:15px;

line-height:1.8;

color:#555;

margin:0;

}

.product-action-buttons{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:12px;

margin-top:5px;

}

.product-action-buttons a{

display:flex;

align-items:center;

justify-content:center;

gap:10px;

height:52px;

border-radius:12px;

text-decoration:none;

font-weight:700;

transition:.30s;

}

.btn-build{

background:#111;

color:#fff;

}

.btn-build:hover{

transform:translateY(-3px);

}

.btn-whatsapp{

background:#25D366;

color:#fff;

}

.btn-whatsapp:hover{

transform:translateY(-3px);

}

.btn-quote{

background:#fff;

color:#111;

border:2px solid #111;

}

.btn-quote:hover{

background:#111;

color:#fff;

}

@media(max-width:900px){

.product-action-buttons{

grid-template-columns:1fr;

}

}
/* ==========================================================
   HERO RECOVERY V1
   ========================================================== */

.hero-wrapper{
    width:100%;
    max-width:1450px;
    margin:40px auto;
}

.hero-layout-v3{
    display:grid;
    grid-template-columns:420px minmax(0,1fr) 320px;
    gap:35px;
    align-items:start;
}

.hero-left{
    min-width:0;
}

.hero-center{
    min-width:0;
}

.hero-right{
    min-width:0;
}

.hero-current-build{
    margin-top:40px;
}

/* Gallery */

.hero-left .product-gallery-v24{
    display:flex;
    gap:18px;
    width:100%;
}

.hero-left .gallery-main-image{
    flex:1;
}

/* Header */

.hero-center{
    display:flex;
    flex-direction:column;
    gap:20px;
}

/* Builder */

.hero-right .builder-card{
    position:sticky;
    top:20px;
}

/* Responsive */

@media (max-width:1200px){

.hero-layout-v3{

grid-template-columns:1fr;

}

.hero-right .builder-card{

position:relative;
top:0;

}

}
/* ==========================================================
   HERO RECOVERY V2
   ========================================================== */

.hero-left{
    width:100%;
    max-width:none;
}

.hero-center{
    width:100%;
    max-width:none;
}

.hero-right{
    width:100%;
    max-width:none;
}

.hero-left .gallery-main-image img{
    width:100%;
    height:auto;
    display:block;
}

.hero-center > *{
    width:100%;
}

.hero-right > *{
    width:100%;
}

.product-gallery-v24{
    width:100%;
}

.gallery-main-image{

width:100%;

aspect-ratio:1/1;

background:#fff;

border-radius:18px;

border:1px solid #ececec;

display:flex;

align-items:center;

justify-content:center;

overflow:hidden;

}
/*=========================================
FULL SCREEN LIGHTBOX
=========================================*/

.gallery-lightbox{

display:none;

position:fixed;

inset:0;

width:100vw;

height:100vh;

background:rgba(0,0,0,.92);

justify-content:center;

align-items:center;

z-index:999999;

overflow:hidden;

isolation:isolate;

}

.gallery-lightbox img{

max-width:90%;
max-height:90%;

object-fit:contain;

}

.lightbox-close{

position:absolute;

top:25px;
right:35px;

font-size:42px;

color:#fff;

cursor:pointer;

z-index:100000;

}

.lightbox-nav{

position:absolute;

top:50%;

transform:translateY(-50%);

font-size:45px;

background:rgba(255,255,255,.15);

color:#fff;

border:none;

width:60px;
height:60px;

cursor:pointer;

border-radius:50%;

}

.lightbox-prev{

left:25px;

}

.lightbox-next{

right:25px;

}
.gallery-main-image img{

width:100%;

height:100%;

object-fit:contain;

}
.product-breadcrumb{

margin-bottom:6px;

font-size:13px;

color:#777;

line-height:1.4;

}
.product-title-v24{

font-size:46px;

font-weight:700;

line-height:1.15;

margin:4px 0 8px;

color:#1f2937;

}
.product-rating{

margin:0 0 12px;

display:flex;

align-items:center;

gap:8px;

font-size:14px;

}
.product-action-buttons{

display:flex;

flex-wrap:wrap;

gap:12px;

margin:20px 0 22px;

align-items:center;

}
.product-action-buttons .btn,
.product-action-buttons a{

height:44px;

min-width:165px;

padding:0 22px;

display:flex;

align-items:center;

justify-content:center;

border-radius:10px;

font-size:14px;

font-weight:600;

transition:.25s ease;

}
.product-action-buttons .btn:hover,
.product-action-buttons a:hover{

transform:translateY(-2px);

box-shadow:0 8px 18px rgba(0,0,0,.12);

}
.current-build-intro{

    margin:8px 0 24px;

    max-width:800px;

    font-size:15px;

    line-height:1.7;

    color:#990202;

}
.material-quick-view{

display:inline-flex;

align-items:center;

gap:8px;

padding:8px 14px;

background:#111;

color:#fff;

border:none;

border-radius:8px;

font-size:12px;

font-weight:600;

cursor:pointer;

transition:.25s ease;

box-shadow:0 3px 10px rgba(0,0,0,.10);

}
.material-quick-view:hover{

background:#f4b400;

color:#111;

transform:translateY(-2px);

box-shadow:0 8px 20px rgba(244,180,0,.30);

}
.material-quick-view i{

font-size:11px;

}

/* ===========================================================
   PRODUCT V24 - VISUAL CONSISTENCY PASS (Phase 5)
   ---------------------------------------------------------------
   Targeted overrides only, not a rewrite. These classes are
   confirmed used exclusively on this page (verified before
   touching anything) - .info-card and .section-title were
   deliberately left alone since they're shared with
   customization.php / index.php / material.php and out of scope
   for a Product V24-only polish pass.
   =========================================================== */

/* .variant-box previously stood out as visually flat/unstyled
   next to every other card on the page (no shadow, 6px radius,
   half the padding of its siblings). Brought in line with the
   same radius/shadow/padding language already used by
   .component-card-v2, .resource-card and .packaging-card. */
.variant-box{

border:1px solid #eee;
border-radius:12px;
padding:24px;
box-shadow:0 8px 25px rgba(0,0,0,.06);
transition:.25s;

}

.variant-box:hover{

transform:translateY(-4px);
box-shadow:0 12px 28px rgba(0,0,0,.09);

}

/* .action-card was the one outlier at 14px/35px against the
   12px/30px pattern shared by every other card family on this
   page - normalized for consistency. */
.action-card{

padding:30px;
border-radius:12px;

}

/* ===========================================================
   TWO-COLUMN LAYOUT + STICKY SIDEBAR (this phase)
   =========================================================== */

.pv24-layout{

display:grid;
grid-template-columns:1fr 280px;
gap:24px;
align-items:start;

}

.pv24-main-col{

min-width:0;

}

.pv24-sidebar{

position:sticky;
top:16px;

}

.pv24-sidebar-card{

background:#fff;
border:1px solid #ececec;
border-radius:var(--radius);
box-shadow:var(--shadow);
padding:22px;

}

.pv24-sidebar-card h3{

font-size:17px;
margin:0 0 10px 0;

}

.pv24-sidebar-trust{

display:flex;
flex-direction:column;
gap:6px;
margin:12px 0 16px 0;
font-size:13px;
color:#0a9f4d;
font-weight:600;

}

.pv24-sidebar-btn{

display:flex;
align-items:center;
justify-content:center;
gap:8px;
width:100%;
padding:12px;
border-radius:10px;
font-weight:700;
text-decoration:none;
margin-bottom:10px;
box-sizing:border-box;

}

.pv24-sidebar-updated{

font-size:12px;
color:#999;
margin:6px 0 14px 0;

}

.pv24-sidebar-share{

display:flex;
align-items:center;
gap:10px;
padding-top:14px;
border-top:1px solid #eee;
font-size:13px;
color:#666;

}

.pv24-sidebar-share a{

color:#555;
font-size:16px;
transition:.2s;

}

.pv24-sidebar-share a:hover{

color:var(--accent);

}

/* ===========================================================
   MOBILE STICKY BOTTOM BAR
   =========================================================== */

.pv24-mobile-bar{

display:none;

}

@media (max-width:900px){

.pv24-layout{
grid-template-columns:1fr;
}

.pv24-sidebar{
position:static;
order:-1;
margin-bottom:20px;
}

.pv24-mobile-bar{
display:flex;
position:fixed;
left:0;
right:0;
bottom:0;
z-index:999;
background:#fff;
box-shadow:0 -4px 20px rgba(0,0,0,.12);
padding:10px 14px;
gap:10px;
}

.pv24-mobile-bar-quote{

flex:1;
display:flex;
align-items:center;
justify-content:center;
gap:8px;
background:var(--primary);
color:var(--accent);
padding:12px;
border-radius:10px;
font-weight:700;
text-decoration:none;

}

.pv24-mobile-bar-whatsapp{

width:48px;
display:flex;
align-items:center;
justify-content:center;
background:#25D366;
color:#fff;
border-radius:10px;
font-size:20px;

}

body{

padding-bottom:70px;

}

}

/* ===========================================================
   PRODUCT HIGHLIGHTS - real per-product data (this phase)
   ---------------------------------------------------------------
   Flexible pill layout instead of a fixed-column grid. Each pill
   only takes the width its own text needs and wraps naturally,
   so a product with 4 highlights and one with 10 both look
   correct with no leftover blank space.
   =========================================================== */

.pv24-highlights{

display:flex;
flex-wrap:wrap;
gap:8px;
margin-top:14px;

}

.pv24-highlight-pill{

display:inline-flex;
align-items:center;
gap:6px;
padding:8px 14px;
background:#f7f7f7;
border:1px solid #ececec;
border-radius:30px;
font-size:13px;
font-weight:600;
color:#333;

}

.pv24-highlight-pill i{

color:var(--accent);
font-size:13px;

}

/* ===========================================================
   BUILD-YOUR-OWN VISUAL POLISH (this phase)
   ---------------------------------------------------------------
   CSS-only overrides targeting classes already output by the
   protected builder-sidebar.php / builder-selection.php files.
   Neither protected file is touched - only how their existing
   markup is styled. The old vertical 4-row stepper was also the
   single biggest reason the builder column ran much taller than
   the product-info column next to it, creating the blank-space
   gap before the tab bar; the horizontal stepper below is both
   a visual improvement and a real height reduction.
   =========================================================== */

.builder-badge{

background:var(--accent) !important;
color:#111 !important;
font-weight:700;
border-radius:20px;

}

/* Horizontal stepper, replacing the old 4-row vertical stack */
.builder-progress{

flex-direction:row !important;
justify-content:space-between;
gap:0 !important;
margin-bottom:20px !important;
position:relative;

}

.progress-item{

flex-direction:column !important;
align-items:center !important;
gap:6px !important;
flex:1;
position:relative;
text-align:center;

}

.progress-item:not(:last-child)::after{

content:'';
position:absolute;
top:16px;
left:50%;
width:100%;
height:2px;
background:#eee;
z-index:1;

}

.progress-item span{

width:32px !important;
height:32px !important;
position:relative;
z-index:2;
font-size:13px;

}

.progress-item strong{

font-size:11px;
font-weight:600;
color:#999;

}

.progress-item.active strong{

color:#111;

}

.builder-button{

background:var(--primary) !important;
color:var(--accent) !important;

}

/* Quick / Full / Upload option cards - previously had zero styling at all */
.custom-build-header{

margin-bottom:16px;

}

.custom-build-eyebrow{

display:inline-block;
background:rgba(244,180,0,.15);
color:#b8860a;
font-size:11px;
font-weight:700;
letter-spacing:.04em;
padding:4px 10px;
border-radius:20px;
margin-bottom:8px;

}

.custom-build-modes{

display:flex;
flex-direction:column;
gap:10px;

}

.custom-build-mode{

display:flex;
align-items:flex-start;
gap:12px;
width:100%;
text-align:left;
background:#fff;
border:1px solid #ececec;
border-radius:12px;
padding:14px;
cursor:pointer;
transition:.2s;

}

.custom-build-mode:hover{

border-color:var(--accent);
box-shadow:0 6px 18px rgba(0,0,0,.06);
transform:translateY(-2px);

}

.build-mode-icon{

font-size:0;
width:36px;
height:36px;
border-radius:50%;
background:rgba(244,180,0,.15);
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0;

}

.build-mode-icon::before{

font-family:"Font Awesome 6 Free";
font-weight:900;
font-size:15px;
color:#b8860a;

}

.custom-build-mode[data-builder-mode="quick"] .build-mode-icon::before{content:"\f0e7";}
.custom-build-mode[data-builder-mode="full"] .build-mode-icon::before{content:"\f013";}
.custom-build-mode[data-builder-mode="upload"] .build-mode-icon::before{content:"\f093";}

.build-mode-content strong{

display:block;
font-size:14px;
margin-bottom:2px;

}

.build-mode-content small{

color:#888;
font-size:12px;
line-height:1.5;

}

/* ===========================================================
   HERO-TO-TABS SPACING FIX
   =========================================================== */

.hero-wrapper{

margin:20px auto !important;

}

.pv24-tabs{

margin:16px 0 20px 0 !important;

}

/* ===========================================================
   STICKY SIDEBAR - fix stacking with the sticky tab bar,
   simplified content (name/badges removed - already in hero)
   =========================================================== */

.pv24-sidebar{

top:84px;
z-index:10;

}

.pv24-whatsapp-caption{

font-size:11px;
color:#888;
text-align:center;
margin:-4px 0 10px 0;

}

/* ===========================================================
   HERO-RIGHT COMPACTING (round 2) - the stepper alone wasn't
   enough; the whole Build-Your-Own column stacks a badge,
   heading, description, button, a SECOND card with its own
   heading/description, three option cards, and a workspace
   placeholder - all still CSS-only, protected files untouched.
   =========================================================== */

.builder-card{

padding:18px !important;
margin-bottom:14px !important;

}

.builder-card h3{

font-size:16px !important;
margin:8px 0 4px 0 !important;

}

.builder-card p{

font-size:12px !important;
line-height:1.5 !important;
margin-bottom:12px !important;

}

.builder-badge{

font-size:10px !important;
padding:3px 8px !important;

}

.builder-button{

padding:10px !important;
font-size:13px !important;

}

.custom-build-header h2,
.custom-build-header h3{

font-size:15px !important;
margin-bottom:4px !important;

}

.custom-build-header p{

font-size:12px !important;
line-height:1.5 !important;

}

.custom-build-mode{

padding:10px !important;

}

.build-mode-content strong{

font-size:13px !important;

}

.build-mode-content small{

font-size:11px !important;
line-height:1.4 !important;

}

.custom-build-workspace{

margin-top:10px !important;

}

.custom-build-placeholder{

padding:12px !important;
font-size:12px !important;

}

.custom-build-placeholder span{

font-size:13px !important;

}

/* ===========================================================
   CUSTOMIZATION CARDS AS LINKS (Phase 5 - Product Workspace
   integration). Scoped to .product-customizations-box only, so
   .info-card's shared use elsewhere (customization.php) is
   completely unaffected - these properties are safe no-ops on a
   plain <div> but required now that this specific card is an <a>.
   =========================================================== */

.product-customizations-box .info-card{

display:block;
text-decoration:none;
color:inherit;

}

.product-customizations-box .info-card:hover{

border-color:var(--accent);

}
