/* === PRODUCT PAGE STYLES === */


/* Product Section */
.product-section{
  padding:clamp(16px,3vw,24px) var(--pad) clamp(32px,5vw,48px);
}
.product-grid{
  display:grid;
  grid-template-columns:6fr 6fr;
  gap:clamp(24px,3vw,40px);
  margin-bottom:clamp(48px,7vw,72px);
}

/* Gallery */
.product-gallery{min-width:0}
.product-info{min-width:0}.gallery-main{
  background:var(--wb);
  border-radius:16px;
  padding:clamp(32px,5vw,48px);
  margin-bottom:16px;
  display:flex;align-items:center;justify-content:center;
  aspect-ratio:630/584;
}

.gallery-main {
  background: var(--wb);
  border-radius: 16px;
  padding: 0; 
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 630/584;
  overflow: hidden; 
}
.gallery-main img {
  width: 100%;        
  height: 100%;       
  max-width: 100%;
  max-height: 100%;
  object-fit: cover; 
  display: block;
}
.gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.thumb {
  background: var(--wb);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;         
  cursor: pointer;
  transition: border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  min-width: 0;
  overflow: hidden;   
}
.thumb:hover,.thumb.active{
  border-color:var(--gold);
}

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

/* Product Info */
.product-info{}
.product-title{
  font-family:'Bai Jamjuree',sans-serif;
  font-size:clamp(32px,4vw,48px);
  font-weight:700;
  color:var(--dark);
  margin-bottom:8px;
  letter-spacing:-.5px;
}
.product-code{
  font-size:14px;
  color:var(--blue);
  margin-bottom:20px;
}
.product-price-row{
  display:flex;align-items:center;gap:16px;
  margin-bottom:24px;
}
.product-price{
  font-size:36px;
  font-weight:700;
  color:var(--gold);
}
.product-stock {
  display: inline-flex;
  align-items: center;    
  justify-content: center;
  gap: 6px;
  padding: 4px 12px;      
  background: #E8F5E9;
  color: #2E7D32;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;         
  margin: 1px 0 24px;
}

.product-stock svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;          
}

/* Key Features */
.key-features{
  margin-bottom:28px;
}
.key-features h3{
  font-size:16px;
  font-weight:600;
  color:var(--dark);
  margin-bottom:16px;
}
.features-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.feature-item{
  display:flex;align-items:center;gap:8px;
  font-size:13px;
  color:var(--dark);
  background:var(--wb);
  padding:8px 12px;
  border-radius:8px;
}
.feature-item svg{
  width:16px;height:16px;
  flex-shrink:0;
}

/* Action Buttons */
.product-actions{
  display:flex;flex-direction:column;gap:12px;
  margin-bottom:28px;
}
.btn-primary{
  padding:16px 24px;
  background:var(--gold);
  color:#fff;
  border:none;
  border-radius:10px;
  font-size:16px;
  font-weight:600;
  display:flex;align-items:center;justify-content:center;gap:8px;
  transition:background .2s,transform .1s;
}
.btn-primary:hover{
  background:var(--gold-hover);
  transform:translateY(-1px);
}
.btn-primary svg{width:18px;height:18px}
.btn-secondary{
  padding:14px 24px;
  background:transparent;
  color:var(--blue);
  border:1px solid var(--border);
  border-radius:10px;
  font-size:15px;
  font-weight:500;
  display:flex;align-items:center;justify-content:center;gap:8px;
  transition:all .2s;
}
.btn-secondary:hover{
  border-color:var(--gold);
  color:var(--dark);
}
.btn-secondary svg{width:16px;height:16px}

/* USPs */
.product-usps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  padding:20px;
  background:var(--wb);
  border-radius:12px;
  max-width:100%;
}
.usp-item{
  display:flex;flex-direction:column;
  align-items:center;
  text-align:center;
  gap:8px;
}
.usp-icon{
  display:flex;align-items:center;justify-content:center;
}
.usp-icon svg{width:24px;height:24px;stroke:var(--gold)}
.usp-text{
  font-size:11px;
  font-weight:600;
  color:var(--dark);
}

/* Product Content Tabs */
.product-content{
  margin-bottom:clamp(48px,7vw,72px);
}
.content-section{
  margin-bottom:48px;
}
.content-section h2{
  font-family:'Bai Jamjuree',sans-serif;
  font-size:clamp(24px,3vw,32px);
  font-weight:700;
  color:var(--dark);
  margin-bottom:16px;
  letter-spacing:-.3px;
}
.content-section h3{
  font-size:clamp(18px,2.2vw,22px);
  font-weight:600;
  color:var(--dark);
  margin-bottom:12px;
  margin-top:24px;
}
.content-section p{
  font-size:16px;
  line-height:1.7;
  color:var(--blue);
  margin-bottom:16px;
}

/* Applications */
.applications-section{
  background:var(--wb);
  padding:clamp(32px,5vw,48px) 0;
  margin:0 0 48px 0;
  border-radius:16px;
}
.applications-section > h2,
.applications-section > p,
.applications-section .applications-grid{
  padding-left:var(--pad);
  padding-right:var(--pad);
}
.applications-section h2{
  font-family:'Bai Jamjuree',sans-serif;
  font-size:clamp(24px,3vw,32px);
  font-weight:700;
  color:var(--dark);
  margin-bottom:16px;
  letter-spacing:-.3px;
}
.applications-section p{
  font-size:16px;
  line-height:1.7;
  color:var(--blue);
  margin-bottom:24px;
}
.applications-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.app-item{
  display:flex;flex-direction:column;
  align-items:center;text-align:center;
  gap:12px;
  padding:24px 16px;
  background:transparent;
  border-radius:12px;
  transition:transform .2s,box-shadow .2s;
}
.app-item:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(26,38,59,.08);
}
.app-icon{
  width:56px;height:56px;
  background:#fff;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.app-icon svg{width:32px;height:32px;stroke:var(--gold);fill:none}
.app-name{
  font-size:15px;
  font-weight:600;
  color:var(--dark);
}

/* Technical Specs Table */
.specs-table{
  width:100%;
  border-collapse:collapse;
  margin-top:24px;
}
.specs-table thead{
  background:#fff;
  border-bottom:1px solid var(--border);
}
.specs-table th{
  padding:16px;
  text-align:left;
  font-size:14px;
  font-weight:600;
  color:var(--dark);
  letter-spacing:.3px;
}
.specs-table td{
  padding:16px;
  font-size:15px;
  background:#fff;
}
.specs-table td:first-child{
  color:var(--blue);
  font-weight:500;
}
.specs-table td:last-child{
  color:var(--dark);
  font-weight:600;
}

/* Related Products */
.related-products{
  margin-bottom:clamp(48px,7vw,72px);
  padding:clamp(48px,7vw,80px) var(--pad);
}
.related-products h2{
  font-family:'Bai Jamjuree',sans-serif;
  font-size:clamp(26px,3.5vw,36px);
  font-weight:700;
  color:var(--dark);
  margin-bottom:32px;
  letter-spacing:-.3px;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.product-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s;
  position:relative;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(26,38,59,.12);
}
.product-badge{
  position:absolute;
  top:12px;right:12px;
  padding:4px 10px;
  background:var(--gold);
  color:#fff;
  font-size:10px;
  font-weight:700;
  border-radius:8px;
  text-transform:uppercase;
  letter-spacing:.5px;
  display:flex;
  align-items:center;
  gap:4px;
}
.product-badge svg{
  width:12px;
  height:12px;
  flex-shrink:0;
}
 
.product-card-image {
  background: var(--wb);
  padding: 0;            
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;    
  overflow: hidden;      
}
 
.product-card-image img {
  width: 100%;        
  height: 100%;      
  max-width: 100%;
  max-height: 100%;    
  object-fit: cover;    
}
.product-card-body{
  padding:20px;
}
.product-card-title{
  font-size:18px;
  font-weight:600;
  color:var(--dark);
  margin-bottom:8px;
}
.product-card-price{
  font-size:24px;
  font-weight:700;
  color:var(--gold);
  margin-bottom:12px;
}
.product-card-desc{
  font-size:14px;
  line-height:1.6;
  color:var(--blue);
  margin-bottom:16px;
}
.product-card-specs{
  display:flex;flex-direction:column;gap:6px;
  padding:12px 0;
  border-top:1px solid var(--border);
  margin-bottom:16px;
  font-size:13px;
}
.product-card-specs span{
  display:flex;justify-content:space-between;
}
.product-card-specs .spec-label{
  color:var(--blue);
}
.product-card-specs .spec-value{
  color:var(--dark);
  font-weight:600;
}
.btn-view{
  width:100%;
  padding:12px;
  background:transparent;
  color:var(--gold);
  border:1px solid var(--gold);
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  transition:all .2s;
}
.btn-view:hover{
  background:var(--gold);
  color:#fff;
}

/* CTA Section */
.cta-section{
  background:var(--gold);
  padding:clamp(48px,8vw,72px) var(--pad);
  text-align:center;
  margin-bottom:0;
}
.cta-content{
  max-width:640px;
  margin:0 auto;
}
.cta-section h2{
  font-family:'Bai Jamjuree',sans-serif;
  font-size:clamp(28px,4vw,46px);
  font-weight:700;
  color:#fff;
  margin-bottom:16px;
  letter-spacing:-.4px;
}
.cta-section p{
  font-size:17px;
  color:rgba(255,255,255,.9);
  margin-bottom:32px;
}
.btn-cta{
  padding:16px 32px;
  background:#fff;
  color:var(--gold);
  border:none;
  border-radius:10px;
  font-size:16px;
  font-weight:700;
  display:inline-flex;align-items:center;gap:8px;
  transition:all .2s;
}
.btn-cta:hover{
  background:var(--gold);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.15);
}
.btn-cta svg{width:20px;height:20px;transition:stroke .2s}
.btn-cta:hover svg path{stroke:#fff}

/* Form */
.form-check{margin-bottom:16px}

/* Responsive */
@media(max-width:1024px){
  .product-grid{grid-template-columns:1fr}
  .related-grid{grid-template-columns:repeat(2,1fr)}
  .applications-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .faq-title,.faq-sub{text-align:center}
  .features-grid{grid-template-columns:1fr}
  .related-grid{grid-template-columns:1fr}
  .applications-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .breadcrumb{font-size:12px;padding:12px var(--pad) 8px}
  .gallery-thumbs{grid-template-columns:repeat(3,1fr)}
  .applications-grid{grid-template-columns:1fr 1fr}
}

/* ─── FAQ SECTION ─── */
.faq{
  background:var(--wb);
  padding:clamp(48px,7vw,80px) var(--pad);
}
.faq-title{
  font-family:'Bai Jamjuree',sans-serif;
  font-weight:700;font-size:clamp(28px,3.5vw,46px);
  color:var(--dark);margin-bottom:12px;letter-spacing:.37px;
}
.faq-sub{
  font-size:clamp(15px,1.5vw,18px);color:var(--blue);
  margin-bottom:clamp(32px,5vw,48px);letter-spacing:.26px;
}
.faq-list{max-width:850px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.faq-item{
  background:#fff;border:1px solid var(--border);border-radius:12px;
  overflow:hidden;transition:box-shadow .2s;
}
.faq-item.open{box-shadow:0 4px 16px rgba(26,38,59,.08)}
.faq-q{
  padding:20px 24px;display:flex;justify-content:space-between;align-items:center;
  cursor:pointer;gap:16px;transition:background .15s;
}
.faq-q:hover{background:rgba(26,38,59,.03)}
.faq-q-text{
  font-family:'Bai Jamjuree',sans-serif;
  font-weight:600;font-size:18px;color:var(--dark);letter-spacing:-.2px;
}
.faq-toggle{
  width:40px;height:40px;min-width:40px;
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  transition:transform .2s;flex-shrink:0;
}
.faq-item.open .faq-toggle{transform:rotate(180deg)}
.faq-toggle svg{width:24px;height:24px;transition:stroke .2s}
.faq-a{
  max-height:0;overflow:hidden;transition:max-height .35s ease;
}
.faq-item.open .faq-a{max-height:500px}
.faq-a-inner{
  padding:0 24px 24px;font-size:16px;line-height:1.6;
  color:var(--blue);letter-spacing:.26px;
}
.faq-a-inner p{margin:0}
.faq-a-inner p+p{margin-top:12px}