/* =============================================
   Alutice — Metal Sheet Website
   Color palette from logo: Navy #1d2237 + Orange #ef7421
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy:         #1d2237;
  --navy-mid:     #2c3a5a;
  --navy-light:   #3d5080;
  --navy-dark:    #111520;
  --orange:       #ef7421;
  --orange-light: #f5955a;
  --orange-dark:  #c85e18;
  --silver:       #8496b0;
  --bg:           #ffffff;
  --bg-gray:      #f4f7fb;
  --bg-dark:      #0f1422;
  --text:         #1d2237;
  --text-mid:     #4a5370;
  --text-muted:   #6b7a9a;
  --text-light:   #9ba5bf;
  --border:       #dde4f0;
  --border-strong:#b8c4d8;
  --radius:       4px;
  --radius-lg:    10px;
  --shadow-sm:    0 1px 4px rgba(29,34,55,.08);
  --shadow:       0 4px 20px rgba(29,34,55,.12);
  --shadow-lg:    0 8px 40px rgba(29,34,55,.18);
  --font:         'IBM Plex Sans Thai','IBM Plex Sans',system-ui,sans-serif;
  --transition:   .2s ease;
}

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:var(--font)}
input,textarea,select{font-family:var(--font)}
ul{list-style:none}

/* ---- Typography ---- */
h1{font-size:clamp(2rem,4vw,3rem);font-weight:700;line-height:1.1;color:var(--navy)}
h2{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700;line-height:1.2;color:var(--navy)}
h3{font-size:1.15rem;font-weight:600;line-height:1.3;color:var(--navy)}
h4{font-size:.95rem;font-weight:600;color:var(--navy)}
p{color:var(--text-mid);line-height:1.7}
.label{font-size:.72rem;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:var(--text-muted)}
.mono{font-size:.8rem;font-family:'IBM Plex Sans',monospace;color:var(--text-muted)}

/* ---- Layout ---- */
.container{max-width:1280px;margin:0 auto;padding:0 32px}
.section{padding:72px 0}
.section-sm{padding:48px 0}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.flex{display:flex}
.flex-col{display:flex;flex-direction:column}
.aic{align-items:center}
.between{justify-content:space-between}
.gap-8{gap:8px}
.gap-12{gap:12px}
.gap-16{gap:16px}
.gap-24{gap:24px}
.gap-32{gap:32px}

/* ---- Image placeholder ---- */
.img-placeholder{
  background:
    repeating-linear-gradient(90deg,rgba(29,34,55,.04) 0,rgba(29,34,55,.04) 4px,transparent 4px,transparent 16px),
    linear-gradient(160deg,#e8eef8 0%,#d4ddf0 100%);
  border:1.5px dashed var(--border-strong);
  border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  font-size:.75rem;color:var(--text-light);text-align:center;padding:8px;
}
.img-placeholder::before{content:attr(data-label);display:block}

/* ---- Buttons ---- */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:11px 24px;border-radius:var(--radius);
  font-size:.9rem;font-weight:600;transition:var(--transition);
  white-space:nowrap;border:2px solid transparent;
}
.btn-primary{background:var(--orange);color:#fff;border-color:var(--orange)}
.btn-primary:hover{background:var(--orange-dark);border-color:var(--orange-dark)}
.btn-navy{background:var(--navy);color:#fff;border-color:var(--navy)}
.btn-navy:hover{background:var(--navy-mid);border-color:var(--navy-mid)}
.btn-outline{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn-outline:hover{background:var(--navy);color:#fff}
.btn-outline-white{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.btn-outline-white:hover{background:rgba(255,255,255,.1);border-color:#fff}
.btn-ghost{background:transparent;color:var(--navy);padding:11px 16px;font-size:.85rem}
.btn-ghost:hover{color:var(--orange)}
.btn-sm{padding:8px 16px;font-size:.82rem}
.btn-lg{padding:14px 32px;font-size:1rem}

/* ---- Chips / Tags ---- */
.chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 12px;border-radius:20px;
  font-size:.78rem;font-weight:500;
  background:var(--bg-gray);color:var(--text-mid);
  border:1.5px solid var(--border);transition:var(--transition);cursor:pointer;
}
.chip:hover{border-color:var(--navy);color:var(--navy)}
.chip.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.chip.orange{background:var(--orange);color:#fff;border-color:var(--orange)}
.chip.outline{background:transparent}

/* ---- Color swatch ---- */
.swatch{
  width:28px;height:28px;border-radius:50%;
  border:2px solid var(--border);cursor:pointer;
  transition:transform var(--transition),border-color var(--transition);
  flex-shrink:0;
}
.swatch:hover{transform:scale(1.15)}
.swatch.selected{border-color:var(--orange);box-shadow:0 0 0 2px rgba(239,116,33,.35)}

/* ---- Form fields ---- */
.form-group{display:flex;flex-direction:column;gap:6px}
.form-label{font-size:.8rem;font-weight:600;color:var(--text-mid);letter-spacing:.3px}
.form-input{
  border:1.5px solid var(--border);border-radius:var(--radius);
  padding:10px 14px;font-size:.9rem;color:var(--text);
  background:var(--bg);transition:border-color var(--transition);width:100%;
}
.form-input:focus{outline:none;border-color:var(--navy)}
.form-textarea{min-height:100px;resize:vertical;line-height:1.5}
.form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231d2237' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px;cursor:pointer}

/* ---- Cards ---- */
.card{
  background:var(--bg);border:1.5px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;
  transition:box-shadow var(--transition),transform var(--transition);
}
.card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}

/* ---- ===== NAVBAR ===== ---- */
.navbar{
  background:#fff;
  border-bottom:2px solid var(--border);
  box-shadow:0 2px 12px rgba(29,34,55,.07);
  position:sticky;top:0;z-index:100;
}
.navbar .container{display:flex;align-items:center;justify-content:space-between;height:68px;gap:24px}
.navbar-logo{display:flex;align-items:center;gap:12px;flex-shrink:0}
.navbar-logo img{height:56px;width:auto}
.navbar-logo .logo-text{font-size:1.25rem;font-weight:800;color:var(--navy);letter-spacing:.5px}
.navbar-links{display:flex;align-items:center;gap:4px;flex:1;justify-content:center}
.navbar-links a{
  font-size:.88rem;font-weight:500;color:var(--text-mid);
  padding:7px 14px;border-radius:var(--radius);transition:var(--transition);
}
.navbar-links a:hover{color:var(--navy);background:var(--bg-gray)}
.navbar-links a.active{color:var(--orange);font-weight:700}
.navbar-right{display:flex;align-items:center;gap:16px;flex-shrink:0}
.navbar-phone{font-size:.85rem;color:var(--text-muted);font-weight:500}
.navbar-phone span{color:var(--navy);font-weight:700}
.nav-cta{font-size:.85rem;padding:9px 20px}

/* Mobile hamburger */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none}
.hamburger span{width:22px;height:2px;background:var(--navy);border-radius:2px;transition:var(--transition);display:block}
.mobile-menu{display:none;background:#fff;border-top:1px solid var(--border);box-shadow:var(--shadow)}
.mobile-menu a{display:block;padding:14px 24px;font-size:.95rem;color:var(--text-mid);border-bottom:1px solid var(--border)}
.mobile-menu a:hover,.mobile-menu a.active{color:var(--orange)}

/* ---- ===== HERO (Homepage) ===== ---- */
.hero{background:var(--navy);color:#fff;padding:72px 0 0;overflow:hidden;position:relative}
.hero-factory-bg{
  position:absolute;inset:0;
  background:url('../images/hero-factory.jpg') center/cover no-repeat;
  opacity:.13;
  pointer-events:none;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 28px);
  pointer-events:none;
}
.hero-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:end;max-width:1280px;margin:0 auto;padding:0 32px}
.hero-label{font-size:.75rem;font-weight:600;letter-spacing:1.8px;text-transform:uppercase;color:var(--orange-light);margin-bottom:18px}
.hero h1{font-size:clamp(2.4rem,4.5vw,3.6rem);line-height:1.08;color:#fff;margin-bottom:20px}
.hero h1 .highlight{color:var(--orange)}
.hero-desc{font-size:1.05rem;color:rgba(255,255,255,.7);line-height:1.7;max-width:480px;margin-bottom:32px}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:48px}
.hero-stats{display:flex;gap:40px;padding:28px 0;border-top:1px solid rgba(255,255,255,.12)}
.hero-stat-num{font-size:1.9rem;font-weight:800;color:#fff;line-height:1}
.hero-stat-label{font-size:.78rem;color:rgba(255,255,255,.55);margin-top:4px;letter-spacing:.3px}
.hero-visual{position:relative;display:flex;align-items:flex-end;padding-bottom:0}
.hero-main-img{
  width:100%;aspect-ratio:4/3;object-fit:cover;
  border-radius:var(--radius-lg) var(--radius-lg) 0 0;
  border:2px solid rgba(255,255,255,.12);
}
.hero-badge{
  position:absolute;bottom:32px;left:-20px;
  background:#fff;border-radius:var(--radius-lg);
  padding:14px 18px;box-shadow:var(--shadow-lg);
  display:flex;align-items:center;gap:12px;
}
.hero-badge-icon{width:40px;height:40px;background:var(--orange);border-radius:50%;display:grid;place-items:center}
.hero-badge-icon svg{fill:#fff}
.hero-badge-text{font-size:.8rem;color:var(--text-muted)}
.hero-badge-text strong{display:block;font-size:1rem;color:var(--navy);font-weight:700}

/* ---- Trust Band ---- */
.trust-band{background:#fff;padding:24px 0;border-bottom:1.5px solid var(--border)}
.trust-band .container{display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.trust-label{font-size:.72rem;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--text-light);white-space:nowrap}
.trust-logos{display:flex;align-items:center;gap:28px;flex-wrap:wrap;flex:1}
.trust-logo{
  height:32px;min-width:80px;max-width:120px;
  border:1.5px dashed var(--border-strong);border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  font-size:.7rem;color:var(--text-light);padding:0 10px;
}

/* ---- Section headers ---- */
.section-header{margin-bottom:40px}
.section-header .label{margin-bottom:8px}
.section-header p{color:var(--text-muted);font-size:.95rem;margin-top:8px;max-width:560px}

/* ---- Product cards ---- */
.product-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow var(--transition),transform var(--transition);position:relative}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.product-card .badge{position:absolute;top:12px;right:12px;background:var(--orange);color:#fff;font-size:.68rem;font-weight:700;padding:3px 9px;border-radius:20px;letter-spacing:.5px;z-index:1}
.product-card-img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--bg-gray)}
.product-card-img.placeholder{
  aspect-ratio:4/3;
  background:repeating-linear-gradient(90deg,rgba(29,34,55,.04) 0,rgba(29,34,55,.04) 4px,transparent 4px,transparent 16px),linear-gradient(160deg,#e8eef8,#d0daf0);
  display:flex;align-items:center;justify-content:center;
  font-size:.72rem;color:var(--text-light);text-align:center;
}
.product-card-body{padding:16px;flex:1;display:flex;flex-direction:column;gap:8px}
.product-card-code{font-size:.72rem;font-weight:600;letter-spacing:.8px;color:var(--text-light);text-transform:uppercase}
.product-card-name{font-size:1rem;font-weight:700;color:var(--navy)}
.product-card-sub{font-size:.82rem;color:var(--text-muted)}
.product-card-swatches{display:flex;gap:5px;flex-wrap:wrap;margin-top:4px}
.product-card-swatch{width:16px;height:16px;border-radius:50%;border:1.5px solid rgba(255,255,255,.4);box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.product-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:12px;border-top:1px solid var(--border)}
.product-card-price{font-size:.82rem;font-weight:600;color:var(--text-mid)}
.product-card-price strong{font-size:.95rem;color:var(--navy)}
.product-card-link{font-size:.82rem;font-weight:600;color:var(--orange);display:flex;align-items:center;gap:4px}
.product-card-link:hover{color:var(--orange-dark)}

/* ---- Why us ---- */
.why-us{background:var(--bg-gray);padding:64px 0}
.why-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px}
.why-card{background:#fff;border-radius:var(--radius-lg);padding:32px 28px;border:1.5px solid var(--border)}
.why-card-num{width:44px;height:44px;background:var(--orange);border-radius:50%;display:grid;place-items:center;font-size:1.1rem;font-weight:800;color:#fff;margin-bottom:18px}
.why-card h3{margin-bottom:8px}
.why-card p{font-size:.88rem;color:var(--text-muted)}

/* ---- Reviews ---- */
.reviews-section{background:var(--navy);padding:64px 0}
.reviews-section .section-header .label{color:var(--orange-light)}
.reviews-section h2{color:#fff}
.rating-hero{font-size:3.5rem;font-weight:800;color:#fff;line-height:1}
.rating-hero span{color:var(--orange)}
.rating-sub{font-size:.82rem;color:rgba(255,255,255,.5);margin-top:6px}
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
.review-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-lg);padding:24px}
.review-stars{color:var(--orange);font-size:.9rem;margin-bottom:10px}
.review-text{font-size:.88rem;color:rgba(255,255,255,.8);line-height:1.6;margin-bottom:14px}
.review-author{font-size:.78rem;color:rgba(255,255,255,.45)}

/* ---- ===== ALL PRODUCTS PAGE ===== ---- */
.page-header{background:var(--bg-gray);padding:32px 0;border-bottom:1.5px solid var(--border)}
.page-header .breadcrumb{font-size:.78rem;color:var(--text-muted);margin-bottom:8px;display:flex;align-items:center;gap:6px}
.page-header .breadcrumb a:hover{color:var(--navy)}
.page-header h1{font-size:1.8rem}
.page-header .page-meta{font-size:.85rem;color:var(--text-muted);margin-left:8px;font-weight:400}

.products-layout{display:grid;grid-template-columns:240px 1fr;gap:32px;max-width:1280px;margin:0 auto;padding:36px 32px}

/* Sidebar filters */
.filters-sidebar{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:24px;height:fit-content;position:sticky;top:88px}
.filter-section{margin-bottom:28px}
.filter-section:last-child{margin-bottom:0}
.filter-title{font-size:.75rem;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--text-muted);margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.filter-item{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-radius:var(--radius);cursor:pointer;transition:var(--transition)}
.filter-item:hover{background:var(--bg-gray)}
.filter-item.active{background:var(--navy);color:#fff}
.filter-item.active .filter-count{color:rgba(255,255,255,.6)}
.filter-item-label{font-size:.88rem;font-weight:500}
.filter-count{font-size:.75rem;color:var(--text-light)}
.filter-swatches{display:flex;gap:7px;flex-wrap:wrap;padding:4px 0}
.filter-checkbox{display:flex;align-items:center;gap:10px;padding:6px 0;cursor:pointer}
.filter-checkbox input{width:16px;height:16px;accent-color:var(--navy);cursor:pointer}
.filter-checkbox span{font-size:.85rem;color:var(--text-mid)}
.filter-clear{font-size:.8rem;color:var(--text-muted);cursor:pointer;padding:8px 0;display:block;text-align:center;border-top:1px solid var(--border);margin-top:12px}
.filter-clear:hover{color:var(--orange)}

/* Products grid area */
.products-area{}
.products-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.products-count{font-size:.88rem;color:var(--text-muted)}
.products-sort{display:flex;align-items:center;gap:12px}
.sort-select{border:1.5px solid var(--border);border-radius:var(--radius);padding:7px 32px 7px 12px;font-size:.85rem;background:var(--bg);color:var(--text);cursor:pointer}
.sort-select:focus{outline:none;border-color:var(--navy)}
.view-toggle{display:flex;gap:4px}
.view-btn{background:var(--bg-gray);border:1.5px solid var(--border);border-radius:var(--radius);width:34px;height:34px;display:grid;place-items:center;cursor:pointer;transition:var(--transition)}
.view-btn.active,.view-btn:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.view-btn svg{pointer-events:none}

/* Pagination */
.pagination{display:flex;justify-content:center;gap:8px;padding:32px 0;border-top:1px solid var(--border)}
.page-btn{
  width:38px;height:38px;display:grid;place-items:center;
  border-radius:var(--radius);border:1.5px solid var(--border);
  font-size:.88rem;font-weight:600;cursor:pointer;
  background:var(--bg);color:var(--text-mid);transition:var(--transition);
}
.page-btn:hover{border-color:var(--navy);color:var(--navy)}
.page-btn.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.page-btn.arrow{font-size:1rem}

/* ---- ===== PRODUCT DETAIL PAGE ===== ---- */
.product-detail-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;max-width:1280px;margin:0 auto;padding:36px 32px}

/* Gallery Slider */
.product-gallery{}
.gallery-slider{
  position:relative;overflow:hidden;
  border-radius:var(--radius-lg);
  background:var(--bg-gray);
  border:1.5px solid var(--border);
  margin-bottom:14px;
  user-select:none;
}
.gallery-track{
  display:flex;
  transition:transform .38s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
.gallery-slide{flex:0 0 100%;aspect-ratio:4/3}
.gallery-slide img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-prev,.gallery-next{
  position:absolute;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border-radius:50%;border:none;
  cursor:pointer;background:rgba(0,0,0,.42);color:#fff;
  display:flex;align-items:center;justify-content:center;
  z-index:10;transition:background .18s;
}
.gallery-prev:hover,.gallery-next:hover{background:rgba(0,0,0,.65)}
.gallery-prev{left:10px}
.gallery-next{right:10px}
.gallery-dots{
  position:absolute;bottom:10px;left:50%;transform:translateX(-50%);
  display:flex;gap:6px;
}
.gallery-dot{
  width:7px;height:7px;border-radius:50%;border:none;
  cursor:pointer;background:rgba(255,255,255,.5);
  padding:0;transition:.22s;flex-shrink:0;
}
.gallery-dot.active{background:#fff;width:18px;border-radius:4px}
.gallery-slider.single .gallery-prev,
.gallery-slider.single .gallery-next,
.gallery-slider.single .gallery-dots{display:none}
.gallery-downloads{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}

/* Product info */
.product-info-header .product-category{margin-bottom:10px}
.product-info-header h1{font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:12px}
.product-rating{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.product-stars{color:var(--orange);font-size:.9rem}
.product-rating-text{font-size:.82rem;color:var(--text-muted)}
.product-rating-sep{color:var(--border-strong)}
.product-desc{font-size:.92rem;color:var(--text-mid);line-height:1.75;margin-bottom:20px}

/* Options */
.product-option{margin-bottom:20px}
.product-option-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.product-option-label{font-size:.78rem;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:var(--text-muted)}
.product-option-value{font-size:.82rem;color:var(--navy);font-weight:600}
.product-swatches{display:flex;gap:8px;flex-wrap:wrap}
.product-swatches .swatch{width:34px;height:34px}
.thickness-options{display:flex;gap:8px;flex-wrap:wrap}
.thickness-chip{
  padding:8px 16px;border-radius:var(--radius);
  border:1.5px solid var(--border);font-size:.85rem;font-weight:500;
  cursor:pointer;transition:var(--transition);
}
.thickness-chip:hover{border-color:var(--navy)}
.thickness-chip.active{background:var(--navy);color:#fff;border-color:var(--navy)}

/* Price calculator box */
.price-calc{
  background:var(--bg-gray);border:1.5px solid var(--border);
  border-radius:var(--radius-lg);padding:20px;margin-top:24px;margin-bottom:20px;
}
.price-calc-title{font-size:.78rem;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:var(--text-muted);margin-bottom:14px}
.price-calc-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.price-calc-result{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}
.price-est-label{font-size:.8rem;color:var(--text-muted)}
.price-est-value{font-size:1.5rem;font-weight:800;color:var(--navy)}

.product-ctas{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.product-cta-full{grid-column:1/-1}
.contact-channels{display:flex;gap:10px;margin-top:14px}

/* Product tabs */
.product-tabs{border-top:1.5px solid var(--border);max-width:1280px;margin:0 auto;padding:0 32px 64px}
.tab-nav{display:flex;gap:0;border-bottom:1.5px solid var(--border);margin-bottom:32px}
.tab-btn{
  padding:16px 24px;font-size:.9rem;font-weight:600;
  color:var(--text-muted);border-bottom:2.5px solid transparent;
  cursor:pointer;transition:var(--transition);background:none;
  margin-bottom:-1.5px;
}
.tab-btn:hover{color:var(--navy)}
.tab-btn.active{color:var(--navy);border-bottom-color:var(--orange)}
.tab-content{display:none}
.tab-content.active{display:block}

/* Spec table */
.spec-table{width:100%;border-collapse:collapse;font-size:.88rem}
.spec-table th,.spec-table td{padding:12px 16px;border:1px solid var(--border);text-align:left}
.spec-table th{background:var(--bg-gray);font-weight:600;color:var(--text-mid);width:240px}
.spec-table td{color:var(--text)}
.spec-table-2col{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}
.spec-cell{padding:14px 18px;border-bottom:1px solid var(--border);border-right:1px solid var(--border)}
.spec-cell:nth-child(even){border-right:none}
.spec-cell .spec-label{font-size:.73rem;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--text-muted);margin-bottom:4px}
.spec-cell .spec-val{font-size:.92rem;font-weight:600;color:var(--navy)}

/* ---- ===== CONTACT PAGE ===== ---- */
.contact-layout{display:grid;grid-template-columns:1.15fr 1fr;max-width:1280px;margin:0 auto}
.contact-form-side{padding:48px 40px;border-right:1.5px solid var(--border)}
.contact-form-side h2{margin-bottom:28px}
.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.contact-form-full{margin-bottom:18px}
.product-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.contact-form-footer{display:flex;align-items:center;justify-content:space-between;margin-top:24px}
.form-agree{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--text-muted)}
.form-agree input{accent-color:var(--navy)}

.contact-info-side{background:var(--bg-gray);padding:48px 36px}
.contact-info-side h3{font-size:1.6rem;margin:8px 0}
.contact-info-hours{font-size:.85rem;color:var(--text-muted);margin-bottom:24px}
.contact-channel{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}
.contact-channel:last-of-type{border-bottom:none}
.channel-icon{width:38px;height:38px;background:var(--navy);border-radius:50%;display:grid;place-items:center;color:#fff;font-size:1rem;flex-shrink:0}
.channel-name{font-size:.78rem;color:var(--text-muted)}
.channel-value{font-size:.95rem;font-weight:600;color:var(--navy)}
.map-placeholder{
  width:100%;height:220px;margin-top:20px;
  background:linear-gradient(135deg,#e0e8f5,#c8d8f0);
  border:1.5px solid var(--border);border-radius:var(--radius-lg);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;color:var(--text-muted);font-size:.85rem;text-align:center;
}
.map-placeholder svg{opacity:.4}

/* ---- ===== BLOG PAGE ===== ---- */
.blog-header{padding:48px 0 32px;border-bottom:1.5px solid var(--border)}
.blog-header .container{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;flex-wrap:wrap}
.blog-header h1{margin-bottom:16px}
.blog-search{border:1.5px solid var(--border);border-radius:var(--radius);padding:10px 16px;font-size:.9rem;width:280px;background:var(--bg)}
.blog-search:focus{outline:none;border-color:var(--navy)}
.blog-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}

.blog-featured{display:grid;grid-template-columns:1.4fr 1fr;gap:32px;padding:36px 0}
.blog-featured-main{}
.blog-featured-img{
  width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-lg);
  background:linear-gradient(160deg,#dce8f8,#c4d4ec);
  display:flex;align-items:center;justify-content:center;
  font-size:.85rem;color:var(--text-light);margin-bottom:18px;
  border:1.5px solid var(--border);
}
.blog-featured-main h2{font-size:1.6rem;margin:12px 0 10px}
.blog-featured-meta{font-size:.78rem;color:var(--text-muted);display:flex;align-items:center;gap:12px;margin-top:10px}
.blog-featured-meta span{display:flex;align-items:center;gap:4px}

.blog-recent-list{display:flex;flex-direction:column;gap:16px}
.blog-recent-item{display:flex;gap:14px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--border)}
.blog-recent-item:last-child{border-bottom:none}
.blog-recent-thumb{
  width:80px;height:60px;flex-shrink:0;object-fit:cover;border-radius:var(--radius);
  background:var(--bg-gray);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-size:.62rem;color:var(--text-light);
}
.blog-recent-meta{font-size:.72rem;color:var(--text-muted);margin-bottom:4px}
.blog-recent-title{font-size:.88rem;font-weight:600;color:var(--navy);line-height:1.4}

.blog-grid-section{padding:8px 0 64px}
.blog-grid-title{font-size:1rem;font-weight:700;color:var(--text-muted);margin-bottom:24px;text-transform:uppercase;letter-spacing:.8px}
.blog-card{}
.blog-card-img{
  width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-lg) var(--radius-lg) 0 0;
  background:linear-gradient(160deg,#dce8f8,#c4d4ec);
  display:flex;align-items:center;justify-content:center;
  font-size:.72rem;color:var(--text-light);border:1.5px solid var(--border);
  border-bottom:none;
}
.blog-card-body{padding:18px;border:1.5px solid var(--border);border-top:none;border-radius:0 0 var(--radius-lg) var(--radius-lg)}
.blog-card-meta{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.blog-card-title{font-size:1rem;font-weight:700;color:var(--navy);line-height:1.4;margin-bottom:8px}
.blog-card-excerpt{font-size:.82rem;color:var(--text-muted);line-height:1.6;margin-bottom:12px}
.blog-card-read{font-size:.82rem;font-weight:600;color:var(--orange);display:flex;align-items:center;gap:4px}
.blog-card-read:hover{color:var(--orange-dark)}

.newsletter-band{background:var(--navy);padding:52px 0}
.newsletter-band .container{display:flex;align-items:center;gap:40px;flex-wrap:wrap}
.newsletter-text{flex:1}
.newsletter-text .label{color:var(--orange-light)}
.newsletter-text h2{color:#fff;margin-top:6px}
.newsletter-form{display:flex;gap:12px;flex-shrink:0}
.newsletter-input{padding:11px 18px;border:none;border-radius:var(--radius);font-size:.9rem;width:260px;font-family:var(--font)}
.newsletter-input:focus{outline:2px solid var(--orange)}

/* ---- ===== FOOTER ===== ---- */
.footer{background:var(--navy-dark);color:rgba(255,255,255,.7);padding:56px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand .logo-text{color:#fff;font-size:1.25rem;font-weight:800}
.footer-brand p{font-size:.85rem;margin-top:12px;line-height:1.7;max-width:300px}
.footer-chips{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.footer-chip{
  font-size:.75rem;padding:4px 12px;border-radius:20px;
  border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.6);
}
.footer-col-title{font-size:.72rem;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:16px}
.footer-col ul{display:flex;flex-direction:column;gap:10px}
.footer-col ul li a{font-size:.85rem;color:rgba(255,255,255,.6);transition:var(--transition)}
.footer-col ul li a:hover{color:#fff}
.footer-bottom{padding:20px 0;display:flex;align-items:center;justify-content:space-between;font-size:.78rem;color:rgba(255,255,255,.3)}
.footer-bottom a{color:rgba(255,255,255,.5)}
.footer-bottom a:hover{color:#fff}

/* ---- FAQ accordion ---- */
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:8px;overflow:hidden}
.faq-question{
  display:flex;align-items:center;justify-content:space-between;
  padding:15px 18px;cursor:pointer;font-weight:600;font-size:.9rem;color:var(--navy);
  background:var(--bg);transition:background var(--transition);
}
.faq-question:hover{background:var(--bg-gray)}
.faq-question.open{background:var(--bg-gray)}
.faq-icon{font-size:1.2rem;color:var(--text-muted);transition:transform var(--transition)}
.faq-question.open .faq-icon{transform:rotate(45deg)}
.faq-answer{display:none;padding:14px 18px;font-size:.88rem;color:var(--text-muted);line-height:1.7;border-top:1px solid var(--border);background:#fff}
.faq-answer.open{display:block}

/* ─── Filter Drawer (mobile / tablet) ──────────────────── */
.filter-toggle-btn{display:none}
.filter-close-btn{display:none}

/* ---- Responsive ---- */
@media(max-width:1024px){
  .hero-inner{grid-template-columns:1fr;padding-top:56px}
  .hero-visual{display:none}
  .products-layout{grid-template-columns:1fr;padding:24px}

  /* Drawer */
  .filters-sidebar{
    position:fixed !important;
    top:0;left:-300px;
    width:280px;height:100vh;
    overflow-y:auto;
    z-index:1200;
    border-radius:0;
    border:none;
    border-right:1.5px solid var(--border);
    box-shadow:6px 0 24px rgba(29,34,55,.12);
    transition:left .3s cubic-bezier(.4,0,.2,1);
  }
  .filters-sidebar.filter-drawer-open{left:0}
  .filter-toggle-btn{
    display:inline-flex;align-items:center;gap:6px;
    white-space:nowrap;flex-shrink:0
  }
  .filter-close-btn{
    display:flex;align-items:center;justify-content:space-between;
    padding:14px 18px;
    border-bottom:1.5px solid var(--border);
    font-weight:700;font-size:.88rem;color:var(--navy);
    background:var(--bg-gray);
    cursor:pointer;border-radius:0;
    margin:-24px -24px 16px -24px;
  }
  .filter-close-btn span{font-size:1.1rem;line-height:1}

  .product-detail-layout{grid-template-columns:1fr;padding:24px}
  .contact-layout{grid-template-columns:1fr}
  .contact-info-side{border-left:none;border-top:1.5px solid var(--border)}
  .blog-featured{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .container{padding:0 20px}
  .section{padding:48px 0}
  .grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}
  .why-cards{grid-template-columns:1fr}
  .reviews-grid{grid-template-columns:1fr}
  .navbar-links,.navbar-right{display:none}
  .hamburger{display:flex}
  .mobile-menu.open{display:block}
  .hero h1{font-size:2rem}
  .hero-stats{gap:24px;flex-wrap:wrap}
  .contact-form-grid{grid-template-columns:1fr}
  .trust-logos{gap:16px}
}
@media(max-width:480px){
  .grid-3,.grid-2{grid-template-columns:1fr}
  .newsletter-form{flex-direction:column;width:100%}
  .newsletter-input{width:100%}
  .product-detail-layout,.products-layout{padding:16px}
}
