/* PRODUCTS PAGE — page-specific styles only. Shared tokens live in style.css */

/* ============ HERO ============ */
.pr-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 140px 8vw 80px;
  background:
    linear-gradient(120deg, rgba(11, 31, 58, 0.90), rgba(37, 99, 235, 0.75)),
    url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  overflow: hidden;
}

.pr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.15), rgba(11, 31, 58, 0.55));
}

.pr-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.pr-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  color: var(--white);
  line-height: 1.15;
  margin: 14px 0 18px;
}

.pr-hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 620px;
}

/* ============ CATEGORY SELECTOR ============ */
.pr-categories {
  background: var(--white);
  padding: 90px 8vw;
  text-align: center;
}

.pr-categories .eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.pr-categories h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  color: var(--primary);
  margin-bottom: 12px;
}

.pr-categories .ab-lead {
  margin: 0 auto 55px;
  text-align: center;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media(min-width:700px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1100px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================
 PREMIUM PRODUCT CARDS
========================== */


.cat-card{

    background:white;

    border:1px solid #e5e7eb;

    border-radius:22px;

    overflow:hidden;

    text-decoration:none;

    display:block;

    position:relative;

    transition:.4s ease;

    box-shadow:
    0 10px 30px rgba(11,31,58,.06);

}



.cat-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:5px;

    background:
    linear-gradient(
    90deg,
    var(--secondary),
    var(--accent)
    );

    z-index:3;

}



/* IMAGE */

.cat-thumb{

    height:190px;

    overflow:hidden;

    position:relative;

}



.cat-thumb::after{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
    180deg,
    transparent,
    rgba(11,31,58,.25)
    );

}



.cat-thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s ease;

}



.cat-card:hover .cat-thumb img{

    transform:scale(1.08);

}




/* CONTENT */


.cat-content{

    padding:28px 25px 32px;

    text-align:left;

}




/* ICON */


.cat-icon{

    width:65px;

    height:65px;

    border-radius:18px;

    background:
    rgba(251,191,36,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

}



.cat-icon i{

    color:var(--secondary);

    font-size:28px;

}




.cat-card h3{

    font-size:22px;

    color:var(--primary);

    margin-bottom:12px;

}



.cat-card p{

    font-size:14.5px;

    line-height:1.7;

    color:#64748b;

    margin-bottom:20px;

}



.cat-arrow{

    color:var(--secondary);

    font-size:13px;

    font-weight:700;

    display:inline-flex;

    gap:8px;

    align-items:center;

}



.cat-arrow i{

    transition:.3s;

}



.cat-card:hover .cat-arrow i{

    transform:translateX(6px);

}




.cat-card:hover{

    transform:translateY(-12px);

    border-color:#fbbf24;

    box-shadow:
    0 25px 55px rgba(11,31,58,.15);

}

/* ============ PRODUCT SECTION SHELL ============ */
.pr-section {
  padding: 100px 8vw;
  scroll-margin-top: 90px;
}

.pr-section.alt {
  background: #F8FAFC;
}

.pr-section .eyebrow {
  color: var(--secondary);
  margin-bottom: 15px;
}

.pr-section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  color: var(--primary);
  margin-bottom: 14px;
}

.pr-section .ab-lead {
  max-width: 620px;
  margin-bottom: 45px;
}

/* ============ SUB-CATEGORY TABS (Solar: On-Grid/Off-Grid/Hybrid) ============ */
.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

.tab-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--primary);
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: .25s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tab-btn i {
  color: var(--secondary);
  font-size: 14px;
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.tab-btn.active i {
  color: var(--accent);
}

.tab-btn:hover:not(.active) {
  border-color: var(--accent);
}

.subtab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.subtab-btn {
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--gray);
  padding: 9px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: .2s;
}

.subtab-btn.active {
  border: 1px solid var(--accent);
  background: rgba(251, 191, 36, 0.12);
  color: var(--primary);
}

/* ============ SOLAR SYSTEM CARDS ============ */
.solar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media(min-width:700px) {
  .solar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1150px) {
  .solar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solar-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: .3s;
}

.solar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(11, 31, 58, .13);
  border-color: var(--accent);
}

.solar-card-head {
  background: var(--primary);
  padding: 22px 24px 20px;
  border-bottom: 3px solid var(--accent);
}

.solar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.solar-card-head h3 {
  font-size: 21px;
  color: var(--white);
  margin-bottom: 10px;
}

.phase-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}

.solar-card-body {
  padding: 24px 24px 26px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 20px;
}

.spec-item {
  background: #F8FAFC;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 10px 12px;
}

.spec-item span {
  display: block;
  font-size: 10.5px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 3px;
}

.spec-item strong {
  font-size: 13.5px;
  color: var(--primary);
}

.price-block {
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-bottom: 16px;
}

.price-main {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--primary);
  font-weight: 700;
}

.price-main small {
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
  margin-left: 6px;
}

.subsidy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  margin-top: 8px;
}

.warranty-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.warranty-pill {
  border: 1px solid var(--accent);
  background: rgba(251, 191, 36, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.why-this {
  margin-bottom: 22px;
}

.why-this-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.why-this ul {
  display: grid;
  gap: 7px;
}

.why-this li {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.why-this li i {
  color: #16A34A;
  font-size: 12px;
  margin-top: 2px;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.card-actions a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.btn-quote {
  background: linear-gradient(90deg, #F59E0B, var(--accent));
  color: var(--primary);
}

.btn-whatsapp {
  background: #22C55E;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Subsidy note */
.subsidy-note {
  font-size: 13px;
  color: var(--gray);
  background: #FFFBEB;
  border: 1px dashed var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 8px;
  margin-bottom: 40px;
}

/* ============ SCOOTER FEATURE STRIP ============ */
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.feature-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-pill i {
  color: var(--secondary);
}

/* ============ SCOOTER CARDS ============ */
.scooter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media(min-width:700px) {
  .scooter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1150px) {
  .scooter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scooter-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: .3s;
}

.scooter-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(11, 31, 58, .13);
}

.scooter-card.premium {
  border: 2px solid var(--accent);
}

.scooter-img {
  background: linear-gradient(160deg, #D8F3EE, #EAF6F3);
  padding: 18px;
  text-align: center;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scooter-img img {
  max-width: 92%;
  max-height: 310px;
  width: auto;
  object-fit: contain;
}

.scooter-info-head {
  background: var(--secondary);
  padding: 16px 22px;
  position: relative;
}

.scooter-card.premium .scooter-info-head {
  background: var(--primary);
}

.scooter-info-head h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 6px;
}

.model-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.model-tag i {
  color: var(--accent);
  margin-left: 4px;
}

.scooter-body {
  padding: 22px;
}

.scooter-specs {
  margin-bottom: 18px;
}

.scooter-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.scooter-specs li:last-child {
  border-bottom: none;
}

.scooter-specs li i {
  color: var(--accent);
  font-size: 12px;
  width: 14px;
}

.scooter-price-row {
  background: #F1F5F9;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.scooter-price-row div span {
  display: block;
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.scooter-price-row div strong {
  font-size: 15.5px;
  color: var(--secondary);
}

.scooter-price-row div:last-child {
  text-align: right;
}

.scooter-price-row div:last-child strong {
  color: var(--primary);
}

.scooter-warranty-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

/* ============ LED SECTION — SUBSECTION HEADERS ============ */
.pled-subhead {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pled-subhead:first-of-type {
  margin-top: 36px;
}

.pled-subhead-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #14304F);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 10px 22px rgba(11,31,58,.2);
}

.pled-subhead-text {
  flex: 1;
  min-width: 0;
}

.pled-subhead-text h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 4px;
}

.pled-subhead-text p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.5;
}

.pled-subhead-count {
  flex-shrink: 0;
  background: #F0F9FF;
  color: var(--secondary);
  border: 1px solid rgba(37,99,235,.2);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pled-subhead-count-soon {
  background: rgba(251,191,36,.12);
  color: #92600A;
  border-color: rgba(251,191,36,.4);
}

@media(max-width: 600px) {
  .pled-subhead {
    flex-wrap: wrap;
    gap: 14px;
  }
  .pled-subhead-count {
    margin-left: 68px;
  }
}

/* Taller product image variant, for portrait-shaped photos (e.g. street lights) */
.ap-product-image-tall {
  height: 300px;
}
.ap-product-image-tall img {
  max-height: 260px;
}

/* Single centered coming-soon card */
.soon-grid-single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}

/* ============ COMING SOON PLACEHOLDER ============ */
.soon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media(min-width:700px) {
  .soon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.soon-card {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
}

.soon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.soon-card h3 {
  font-size: 19px;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.soon-card h3 i {
  color: var(--secondary);
  font-size: 20px;
}

.soon-card p {
  font-size: 14.5px;
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.7;
}

.soon-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.soon-card li {
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.soon-card li i {
  color: var(--accent);
  font-size: 11px;
}

.soon-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--gray);
  font-style: italic;
}

/* =========================
SMART APPLIANCES PRODUCT CARDS
========================= */


.ap-product-grid {

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;

}



.ap-product-card {

  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: .35s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);

}


.ap-product-card:hover {

  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .12);
  border-color: var(--accent);

}



.ap-product-image {

  height: 220px;

  background:
    linear-gradient(135deg, #f8fafc, #e2e8f0);

  display: flex;
  align-items: center;
  justify-content: center;

}



.ap-product-image img {

  max-width: 80%;
  max-height: 170px;
  object-fit: contain;

}



.ap-product-content {

  padding: 28px;

}


.ap-product-content h3 {

  font-size: 24px;
  color: var(--primary);
  margin-bottom: 12px;

}


.ap-product-content p {

  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;

}



.ap-product-content ul {

  margin: 20px 0;

}


.ap-product-content li {

  font-size: 14px;
  margin-bottom: 10px;
  color: #475569;

}



.ap-product-content li::before {

  content: "✓";
  color: #f4b400;
  font-weight: bold;
  margin-right: 10px;

}



.ap-explore-btn {

  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: var(--primary);
  color: white;

  padding: 12px 25px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 700;

  transition: .3s;

}



.ap-explore-btn:hover {

  background: #f4b400;
  color: #111;

}



.ap-explore-btn i {

  transition: .3s;

}


.ap-explore-btn:hover i {

  transform: translateX(5px);

}

/* ============ WHY CHOOSE (dark band, reused per section) ============ */
.pr-why {
  background: var(--primary);
  border-radius: 22px;
  padding: 55px 40px;
  margin-top: 20px;
}

.pr-why-head {
  text-align: center;
  margin-bottom: 38px;
}

.pr-why-head h3 {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pr-why-head p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.pr-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media(min-width:700px) {
  .pr-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pr-why-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px 22px;
}

.pr-why-box .icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

.pr-why-box h4 {
  color: var(--accent);
  font-size: 15.5px;
  margin-bottom: 8px;
}

.pr-why-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============ WHY CHOOSE SG SANATAN PRODUCTS ============ */
.pr-benefits {
  background: var(--white);
  padding: 100px 8vw;
  text-align: center;
}

.pr-benefits .eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.pr-benefits h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  color: var(--primary);
  margin-bottom: 14px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pr-benefits .ab-lead {
  margin: 0 auto 55px;
  text-align: center;
  max-width: 620px;
}

.pr-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  text-align: left;
}

@media(min-width:700px) {
  .pr-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1100px) {
  .pr-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pr-benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: .35s;
}

.pr-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: .35s;
}

.pr-benefit-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 45px rgba(11, 31, 58, .12);
}

.pr-benefit-card:hover::before {
  transform: scaleX(1);
}

.pr-benefit-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: .3s;
}

.pr-benefit-icon i {
  font-size: 26px;
  color: var(--secondary);
}

.pr-benefit-card:hover .pr-benefit-icon {
  background: var(--accent);
}

.pr-benefit-card:hover .pr-benefit-icon i {
  color: var(--primary);
}

.pr-benefit-card h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}

.pr-benefit-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* Hidden state used by JS filters */
.is-hidden {
  display: none !important;
}

@media(max-width:600px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .soon-card ul {
    grid-template-columns: 1fr;
  }

  .tab-btn{ padding:11px 18px; font-size:13px; }
  .subtab-btn{ padding:8px 14px; font-size:12px; }
  .solar-card-body, .scooter-body{ padding:20px 18px; }
  .pr-hero-content h1{ font-size:clamp(26px,7vw,36px); }
  .cat-card{ padding:30px 22px; }
}
