/* SMART HOME APPLIANCES PAGE — self-contained. Shared tokens (--primary, --secondary,
   --accent, --gray, --line, --white, --font-display) live in style.css.
   Includes the so-* shell classes (breadcrumb, compare table, FAQ) reused from the
   solar.html pattern, since this page does not load solar.css. */

/* ============ SHARED SHELL: BREADCRUMB / HERO ACTIONS ============ */
.so-breadcrumb{
  display:inline-flex; align-items:center; gap:8px;
  color:rgba(255,255,255,0.75);
  font-size:13.5px; font-weight:600;
  text-decoration:none;
  margin-bottom:18px;
  transition:.2s;
}
.so-breadcrumb:hover{ color:var(--accent); }
.so-hero-eyebrow{
  color:var(--accent);
  background:rgba(251,191,36,0.12);
  border:1px solid rgba(251,191,36,0.35);
  padding:8px 18px 8px 14px;
  border-radius:50px;
  display:inline-flex;
  width:fit-content;
}
.so-hero-eyebrow::before{ display:none; }
.so-hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:28px; }
.btn-outline{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 28px; border-radius:8px;
  border:2px solid rgba(255,255,255,0.5);
  color:var(--white); background:transparent;
  font-weight:700; font-size:14.5px; text-decoration:none;
  transition:.25s;
}
.btn-outline:hover{ background:var(--white); color:var(--primary); border-color:var(--white); }

/* ============ SHARED SHELL: COMPARISON TABLE ============ */
.so-compare-wrap{
  overflow-x:auto;
  border-radius:20px;
  border:1px solid var(--line);
  box-shadow:0 16px 40px rgba(11,31,58,.08);
}
.so-compare-table{
  width:100%;
  border-collapse:collapse;
  min-width:520px;
  background:var(--white);
}
.so-compare-table thead th{
  background:linear-gradient(120deg, var(--primary), #14304F);
  color:var(--white);
  text-align:left;
  padding:16px 20px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.so-compare-table thead th:first-child{ border-top-left-radius:20px; }
.so-compare-table thead th:last-child{ border-top-right-radius:20px; }
.so-compare-table thead th:not(:first-child){ text-align:center; }
.so-compare-table tbody tr{ transition:.2s; }
.so-compare-table tbody tr:nth-child(even){ background:#FAFBFC; }
.so-compare-table tbody tr:hover{ background:#F0F9FF; }
.so-compare-table tbody td{
  padding:14px 20px;
  font-size:13.5px;
  color:var(--ink);
  border-bottom:1px solid var(--line);
}
.so-compare-table tbody td:not(:first-child){ text-align:center; }
.so-compare-table tbody tr:last-child td{ border-bottom:none; }
.so-compare-table tbody td:first-child{ font-weight:700; color:var(--primary); }

/* ============ SHARED SHELL: FAQ ============ */
.so-faq-list{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.so-faq-item{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:.3s;
}
.so-faq-item:hover{ border-color:var(--accent); }
.so-faq-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  background:none; border:none; cursor:pointer;
  padding:22px 26px;
  font-size:15.5px; font-weight:600; color:var(--primary);
  text-align:left;
}
.so-faq-q i{ color:var(--secondary); transition:.3s; flex-shrink:0; margin-left:16px; }
.so-faq-item.open .so-faq-q i{ transform:rotate(45deg); color:var(--accent); }
.so-faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease, padding .35s ease;
  padding:0 26px;
}
.so-faq-item.open .so-faq-a{ max-height:260px; padding:0 26px 22px; }
.so-faq-a p{ color:var(--gray); font-size:14.5px; line-height:1.7; }

@media(max-width:600px){
  .so-compare-table thead th, .so-compare-table tbody td{ padding:11px 12px; font-size:12px; }
}

/* ============ HERO ============ */
.ld-hero{
  background:
    radial-gradient(circle at 85% 15%, rgba(251,191,36,0.22), transparent 45%),
    linear-gradient(120deg, rgba(11,31,58,0.92), rgba(30,58,95,0.85)),
    url('https://images.unsplash.com/photo-1565636192335-a37419eb7aa2?q=80&w=1600&auto=format&fit=crop')
    center/cover no-repeat;
}
.ld-hero-eyebrow{
  color:var(--accent);
  background:rgba(251,191,36,0.14);
  border:1px solid rgba(251,191,36,0.4);
}

.ap-strip-section{ padding-top:50px; padding-bottom:0; }

/* ============ FEATURE CARDS (premium, replaces plain pill strip) ============ */
.ap-feature-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}
@media(min-width:640px){ .ap-feature-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .ap-feature-grid{ grid-template-columns:repeat(3,1fr); } }

.ap-feature-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:20px;
  padding:30px 28px;
  position:relative;
  overflow:hidden;
  transition:.35s cubic-bezier(.2,.8,.2,1);
  box-shadow:0 6px 18px rgba(11,31,58,.05);
}
.ap-feature-card::before{
  content:"";
  position:absolute; top:0; left:0;
  width:100%; height:4px;
  background:linear-gradient(90deg, var(--secondary), var(--accent));
  transform:scaleX(0);
  transform-origin:left;
  transition:.35s;
}
.ap-feature-card:hover{
  transform:translateY(-8px);
  border-color:var(--accent);
  box-shadow:0 22px 44px rgba(11,31,58,.12);
}
.ap-feature-card:hover::before{ transform:scaleX(1); }
.ap-feature-icon{
  width:58px; height:58px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(37,99,235,0.12), rgba(251,191,36,0.18));
  color:var(--secondary);
  display:flex; align-items:center; justify-content:center;
  font-size:24px;
  margin-bottom:18px;
}
.ap-feature-card h4{
  font-size:17px;
  color:var(--primary);
  margin-bottom:8px;
}
.ap-feature-card p{
  font-size:13.5px;
  color:var(--gray);
  line-height:1.65;
}

/* ============ ABOUT — PREMIUM (single column, bigger) ============ */
.ap-about-section{ position:relative; overflow:hidden; }
.ap-about-section::before{
  content:"";
  position:absolute; top:-120px; right:-120px;
  width:420px; height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(251,191,36,0.10), transparent 70%);
  pointer-events:none;
}
.ap-about-wrap{
  max-width:920px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

.ap-about-content h2{
  font-size:clamp(30px,4vw,44px);
  margin-bottom:24px;
}
.ap-about-content .eyebrow{ font-size:14px; }
.ap-about-quote{
  font-family:var(--font-display);
  font-size:21px;
  font-style:italic;
  color:var(--primary);
  line-height:1.55;
  padding:26px 32px;
  margin:0 0 40px;
  border-left:4px solid var(--accent);
  background:linear-gradient(120deg, #FFFBEB, transparent);
  border-radius:0 18px 18px 0;
}
.ap-about-block{ margin-bottom:34px; }
.ap-about-block:last-child{ margin-bottom:0; }
.ap-about-block h4{
  font-family:var(--font-display);
  font-size:20px;
  color:var(--primary);
  margin-bottom:12px;
  display:flex; align-items:center; gap:12px;
}
.ap-about-block h4 i{
  width:38px; height:38px; flex-shrink:0;
  border-radius:11px;
  background:linear-gradient(135deg, var(--primary), #14304F);
  color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-size:15px;
}
.ap-about-block p{ font-size:15.5px; color:var(--gray); line-height:1.85; }
.ap-why-pills{ display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.ap-why-pills span{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px;
  border-radius:50px;
  background:#F8FAFC;
  border:1px solid var(--line);
  font-size:13px; font-weight:700;
  color:var(--primary);
}
.ap-why-pills i{ color:var(--secondary); font-size:12px; }

/* ============ FOUNDER PHOTO (standalone section, before About) ============ */
.ap-founder-section{ padding-top:20px; padding-bottom:20px; }
.ap-founder-photo-card{
  position:relative;
  max-width:640px;
  margin:0 auto;
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 30px 60px rgba(11,31,58,.18);
}
.ap-founder-photo-card img{
  width:100%;
  display:block;
  min-height:380px;
  object-fit:cover;
}
.ap-founder-caption{
  position:absolute; bottom:0; left:0; right:0;
  padding:28px 30px 24px;
  background:linear-gradient(0deg, rgba(11,31,58,0.85), transparent);
  display:flex; flex-direction:column; gap:4px;
}
.ap-founder-caption strong{
  font-family:var(--font-display);
  font-size:22px;
  color:var(--white);
}
.ap-founder-caption span{
  font-size:13px;
  color:rgba(255,255,255,0.8);
}
.ap-founder-badge{
  position:absolute; top:20px; right:20px;
  background:var(--white);
  border-radius:16px;
  padding:12px 20px;
  display:flex; flex-direction:column;
  box-shadow:0 16px 34px rgba(11,31,58,.28);
}
.ap-founder-badge strong{ font-family:var(--font-display); font-size:22px; color:var(--primary); line-height:1.1; }
.ap-founder-badge span{ font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--secondary); }

/* ============ CATEGORY CARDS (premium, bigger, clickable) ============ */
.ap-tabs-section{ padding-bottom:6px; }
.ap-cat-card-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
  max-width:1100px;
  margin:40px auto 0;
}
@media(min-width:640px){ .ap-cat-card-grid{ grid-template-columns:repeat(3, 1fr); } }
@media(min-width:920px){ .ap-cat-card-grid{ grid-template-columns:repeat(5, 1fr); } }

.ap-cat-card{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:10px;
  padding:28px 16px 24px;
  border-radius:20px;
  background:var(--white);
  border:1.5px solid var(--line);
  cursor:pointer;
  transition:.3s cubic-bezier(.2,.8,.2,1);
  font-family:inherit;
  box-shadow:0 6px 18px rgba(11,31,58,.05);
}
.ap-cat-card:hover{
  transform:translateY(-6px);
  border-color:var(--secondary);
  box-shadow:0 20px 40px rgba(37,99,235,.14);
}
.ap-cat-card-icon{
  width:58px; height:58px;
  border-radius:16px;
  background:#F0F9FF;
  color:var(--secondary);
  display:flex; align-items:center; justify-content:center;
  font-size:22px;
  transition:.3s;
}
.ap-cat-card-name{ font-size:14.5px; font-weight:700; color:var(--primary); }
.ap-cat-card-count{ font-size:11px; font-weight:600; color:var(--gray); }
.ap-cat-card.active{
  background:linear-gradient(150deg, var(--primary), #14304F);
  border-color:var(--primary);
  transform:translateY(-4px);
  box-shadow:0 20px 44px rgba(11,31,58,.28);
}
.ap-cat-card.active .ap-cat-card-icon{
  background:rgba(251,191,36,0.15);
  color:var(--accent);
  transform:scale(1.08);
}
.ap-cat-card.active .ap-cat-card-name{ color:var(--white); }
.ap-cat-card.active .ap-cat-card-count{ color:rgba(255,255,255,0.65); }
.ap-cat-card.active::after{
  content:"✓ Showing";
  font-size:9.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  color:var(--accent);
}

/* ============ CATEGORY PANELS ============ */
.ap-cat-panel{ display:none; }
.ap-cat-panel.active{ display:block; }

.ap-cat-intro{
  max-width:760px;
  margin:0 auto 46px;
  text-align:center;
}
.ap-cat-intro .model-tag{ margin-bottom:14px; }
.ap-cat-intro h3{
  font-family:var(--font-display);
  font-size:30px;
  color:var(--primary);
  margin-bottom:12px;
}
.ap-cat-intro p{ font-size:14.5px; color:var(--gray); line-height:1.7; }

/* ============ PER-PRODUCT ZIG-ZAG (scooters.html pattern) ============ */
.ap-item-list{
  display:flex;
  flex-direction:column;
  gap:70px;
}
.ap-item{
  display:grid;
  grid-template-columns:1fr;
  gap:30px;
  align-items:center;
}
@media(min-width:900px){
  .ap-item{ grid-template-columns:1fr 1fr; gap:56px; }
  .ap-item.reverse .ap-item-media{ order:2; }
  .ap-item.reverse .ap-item-info{ order:1; }
}

.ap-item-media{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  background: linear-gradient(
        135deg,
        #9eacc2,
        #c3cfdf
    );
  border:1px solid var(--line);
  padding:22px;
  display:flex; align-items:center; justify-content:center;
  min-height:280px;
}
.ap-item-media img{
  width:100%; max-width:420px; height:auto;
  max-height:340px;
  object-fit:contain;
  filter:drop-shadow(0 20px 26px rgba(11,31,58,.16));
  transition:transform .5s cubic-bezier(.2,.8,.2,1);
}
.ap-item:hover .ap-item-media img{ transform:scale(1.04) translateY(-4px); }

.ap-item-info h4{
  font-family:var(--font-display);
  font-size:24px;
  color:var(--primary);
  margin-bottom:18px;
  line-height:1.25;
}

.ap-item-specs{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-bottom:22px;
}
@media(min-width:500px){ .ap-item-specs{ grid-template-columns:repeat(3,1fr); } }
.ap-item-specs > div{
  background:#F8FAFC;
  border-radius:14px;
  padding:14px 15px;
  transition:.25s;
  position:relative;
  padding-left:44px;
}
.ap-item-specs > div:hover{ background:#F0F9FF; transform:translateY(-2px); }
.ap-item-specs i{
  position:absolute; left:14px; top:14px;
  width:22px; height:22px;
  border-radius:8px;
  background:linear-gradient(135deg, var(--secondary), #1D4ED8);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:10px;
}
.ap-item-specs span{
  display:block;
  font-size:10px;
  font-weight:700;
  color:#64748B;
  text-transform:uppercase;
  letter-spacing:.03em;
  margin-bottom:3px;
}
.ap-item-specs strong{ font-size:13px; color:var(--primary); line-height:1.3; }

.ap-item-highlights{ list-style:none; padding:0; margin:0 0 24px; display:flex; flex-direction:column; gap:9px; }
.ap-item-highlights li{ font-size:13.5px; color:var(--primary); display:flex; align-items:center; gap:10px; }
.ap-item-highlights li i{
  width:18px; height:18px; flex-shrink:0;
  border-radius:50%;
  background:#DCFCE7; color:#16A34A;
  display:flex; align-items:center; justify-content:center;
  font-size:9px;
}

.ap-item-footer{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.ap-price-placeholder{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; font-weight:700;
  color:#92600A;
  background:#FFFBEB;
  border:1px dashed var(--accent);
  border-radius:9px;
  padding:9px 14px;
}
.ap-enquire{
  display:inline-flex; align-items:center;
  padding:13px 26px;
  border-radius:11px;
  background:linear-gradient(90deg, var(--secondary), #1D4ED8);
  color:var(--white);
  font-weight:700;
  font-size:13.5px;
  text-decoration:none;
  box-shadow:0 10px 22px rgba(37,99,235,.26);
  transition:.3s;
}
.ap-enquire:hover{ transform:translateY(-3px); box-shadow:0 16px 30px rgba(37,99,235,.38); }

/* ============ COMING SOON PANEL (Street / Outdoor categories) ============ */
.ld-soon-panel{
  max-width:640px;
  margin:0 auto;
  text-align:center;
  background:var(--white);
  border:1px dashed var(--line);
  border-radius:24px;
  padding:70px 40px;
}
.ld-soon-icon{
  width:76px; height:76px;
  border-radius:50%;
  background:rgba(251,191,36,0.14);
  color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-size:32px;
  margin:0 auto 24px;
}
.ld-soon-panel h3{
  font-family:var(--font-display);
  font-size:24px;
  color:var(--primary);
  margin-bottom:12px;
}
.ld-soon-panel p{
  font-size:14.5px;
  color:var(--gray);
  line-height:1.7;
  margin-bottom:26px;
}
.ld-soon-badge{
  display:inline-block;
  background:var(--accent);
  color:var(--primary);
  font-size:11px;
  font-weight:700;
  padding:5px 14px;
  border-radius:50px;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:20px;
}

@media(max-width:600px){
  .ld-soon-panel{ padding:50px 24px; }
}

/* ==========================================================
   STREET LIGHTS CATALOGUE — group headers, image placeholders,
   embedded model tables, notes, section-level compare tables
========================================================== */

/* ---- Item description paragraph (used above specs) ---- */
.ap-item-desc{
  font-size:14.5px;
  color:var(--gray);
  line-height:1.75;
  margin-bottom:20px;
}

/* ---- Image placeholder (swap the inner content for a real <img> later) ----
   Usage: add ONE optional layout modifier class alongside "ap-item-media" on
   any item to control its shape once a photo is dropped in:
     (none)          → standard box, good for most product shots
     .ld-media-tall  → tall/portrait shots (e.g. poles, full-height fixtures)
     .ld-media-wide  → wide/landscape shots (e.g. installed banner photos)
     .ld-media-square→ forces a perfect square
   These classes work whether the box still shows the placeholder icon or
   already contains a real <img> — just add the class, nothing else to change. */
.ld-placeholder-media{
  background:
    radial-gradient(circle at 25% 15%, rgba(251,191,36,0.10), transparent 55%),
    linear-gradient(150deg, var(--primary), #14304F);
  border:1px dashed rgba(251,191,36,0.45);
}
.ld-placeholder-inner{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; text-align:center; padding:30px;
}
.ld-placeholder-inner i{
  font-size:34px; color:var(--accent);
}
.ld-placeholder-inner span{
  font-size:13px; font-weight:700; color:rgba(255,255,255,0.85);
  text-transform:uppercase; letter-spacing:.04em;
}
.ld-placeholder-inner code{
  font-size:11px; color:rgba(255,255,255,0.6);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:6px;
  padding:4px 10px;
  word-break:break-all;
}
.ld-placeholder-media img{
  filter:drop-shadow(0 20px 30px rgba(0,0,0,.45));
}

/* ---- Flexible aspect-ratio modifiers ---- */
.ld-media-tall{
  aspect-ratio:3 / 4.2;
  min-height:460px;
}
.ld-media-tall img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.ld-media-wide{
  aspect-ratio:16 / 9;
  min-height:300px;
}
.ld-media-wide img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.ld-media-square{
  aspect-ratio:1 / 1;
  min-height:360px;
}
.ld-media-square img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
@media(max-width:600px){
  .ld-media-tall{ min-height:360px; }
  .ld-media-wide{ min-height:200px; }
  .ld-media-square{ min-height:280px; }
}

/* ---- Group headers (numbered catalogue sections) ---- */
.ld-group-header{
  display:flex; align-items:flex-start; gap:20px;
  max-width:820px;
  margin:70px auto 40px;
  padding-top:50px;
  border-top:1px solid var(--line);
}
.ld-group-header:first-of-type{ margin-top:20px; padding-top:0; border-top:none; }
.ld-group-num{
  width:52px; height:52px; flex-shrink:0;
  border-radius:50%;
  background:linear-gradient(135deg, var(--primary), #14304F);
  color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display);
  font-weight:700; font-size:20px;
  box-shadow:0 8px 20px rgba(11,31,58,.2);
}
.ld-group-icon{
  color:var(--secondary);
  font-size:18px;
  margin-bottom:8px;
}
.ld-group-header h3{
  font-family:var(--font-display);
  font-size:24px;
  color:var(--primary);
  margin-bottom:8px;
}
.ld-group-header p{
  font-size:14px;
  color:var(--gray);
  line-height:1.6;
}

/* ---- Sub-list spacing (tighter than the main Home LED list) ---- */
.ld-sub-list{
  gap:56px;
  margin-top:0;
}
.ld-single-item{ max-width:1100px; margin:0 auto; }

/* ---- Note callout (solar panel/battery sizing note) ---- */
.ld-note{
  max-width:820px;
  margin:0 auto 36px;
  background:#FFFBEB;
  border:1px dashed var(--accent);
  border-radius:12px;
  padding:14px 18px;
  font-size:13.5px;
  color:#92600A;
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.ld-note i{ margin-top:2px; flex-shrink:0; }

/* ---- Embedded model table (inside each item, smaller than section-level) ---- */
.ld-model-table-wrap{
  margin-bottom:22px;
  box-shadow:none;
  border:1px solid var(--line);
}
.ld-model-table-wrap .so-compare-table thead th{
  padding:12px 16px;
  font-size:11px;
}
.ld-model-table-wrap .so-compare-table tbody td{
  padding:11px 16px;
  font-size:13px;
}

/* ---- Section-level "Compare X" summary tables ---- */
.ld-group-compare{
  max-width:900px;
  margin:0 auto 30px;
}
.ld-group-compare h5{
  display:flex; align-items:center; gap:10px;
  font-size:15px;
  color:var(--primary);
  margin-bottom:16px;
}
.ld-group-compare h5 i{ color:var(--accent); }

@media(max-width:600px){
  .ld-group-header{ flex-direction:column; align-items:flex-start; gap:14px; }
  .ld-placeholder-inner i{ font-size:26px; }
  .ld-placeholder-inner code{ font-size:10px; }
}

/* ==============================================================
   STREET LIGHTS SECTION — MOBILE RESPONSIVENESS FIX
   Tightens the grouped catalogue layout (numbered group headers,
   tall/square/wide media boxes, embedded model tables, footer
   actions) so it reads cleanly on small screens instead of
   feeling oversized and cramped.
   ============================================================== */
@media(max-width:600px){

  /* Category intro */
  .ap-cat-intro{ margin-bottom:30px; padding:0 4px; }
  .ap-cat-intro h3{ font-size:22px; margin-bottom:8px; }
  .ap-cat-intro p{ font-size:13.5px; }

  /* Numbered group headers (Street Lights / Flood Lights / Solar / Poles) */
  .ld-group-header{
    margin:44px auto 26px;
    padding-top:30px;
    gap:12px;
  }
  .ld-group-header:first-of-type{ margin-top:8px; }
  .ld-group-num{ width:40px; height:40px; font-size:16px; }
  .ld-group-icon{ font-size:15px; margin-bottom:5px; }
  .ld-group-header h3{ font-size:19px; margin-bottom:5px; }
  .ld-group-header p{ font-size:12.5px; line-height:1.5; }

  /* Sub-list rhythm tighter than desktop */
  .ap-item-list{ gap:36px; }
  .ld-sub-list{ gap:34px; }
  .ap-item{ gap:18px; }

  /* Media boxes — shrink so they don't dominate the screen */
  .ap-item-media{ padding:14px; border-radius:16px; min-height:0; }
  .ap-item-media img{ max-height:240px; }
  .ld-media-tall{ aspect-ratio:auto; min-height:0; height:260px; }
  .ld-media-wide{ aspect-ratio:auto; min-height:0; height:190px; }
  .ld-media-square{ aspect-ratio:auto; min-height:0; height:230px; }

  /* Product info block */
  .ap-item-info h4{ font-size:18px; margin-bottom:12px; }
  .ap-item-desc{ font-size:13px; }

  .ap-item-specs{ gap:8px; margin-bottom:16px; }
  .ap-item-specs > div{ padding:11px 12px 11px 38px; border-radius:11px; }
  .ap-item-specs i{ width:18px; height:18px; left:11px; top:11px; font-size:9px; }
  .ap-item-specs span{ font-size:9px; margin-bottom:2px; }
  .ap-item-specs strong{ font-size:12px; }

  /* Embedded per-model tables inside each product */
  .ld-model-table-wrap{ margin-bottom:16px; border-radius:12px; }
  .ld-model-table-wrap .so-compare-table{ min-width:340px; }
  .ld-model-table-wrap .so-compare-table thead th{ padding:9px 12px; font-size:10px; }
  .ld-model-table-wrap .so-compare-table tbody td{ padding:9px 12px; font-size:12px; }

  .ap-item-highlights{ margin-bottom:16px; gap:7px; }
  .ap-item-highlights li{ font-size:12.5px; }

  /* Footer: price + enquire button stack cleanly and go full width */
  .ap-item-footer{ gap:10px; }
  .ap-price-placeholder{ font-size:11px; padding:8px 12px; }
  .ap-enquire{
    width:100%;
    justify-content:center;
    padding:12px 20px;
    font-size:13px;
  }

  /* Section-level "Compare X" summary tables */
  .ld-group-compare{ margin-bottom:20px; }
  .ld-group-compare h5{ font-size:13.5px; margin-bottom:10px; }
  .so-compare-table{ min-width:400px; }

  /* Note callouts */
  .ld-note{ font-size:12.5px; padding:12px 14px; }
}

@media(max-width:380px){
  .ld-media-tall{ height:220px; }
  .ld-media-wide{ height:170px; }
  .ld-media-square{ height:200px; }
  .ap-item-info h4{ font-size:16.5px; }
}
