/* ══════════════════════════════════
   HOME PAGE STYLES
══════════════════════════════════ */

/* ── TOGGLE ── */
.toggle-section {
  display: flex; justify-content: center;
  padding-top: 36px; padding-bottom: 28px;
}
.toggle-wrap {
  display: flex; align-items: center;
  background: #E4E3E1; border-radius: 60px; padding: 6px;
  position: relative;
}
.toggle-btn {
  font-family: 'Mona Sans Wide', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300; font-size: 15px; letter-spacing: 0.02em;
  color: #666; padding: 14px 60px; border: none; border-radius: 54px;
  cursor: pointer; background: transparent; transition: color .22s; white-space: nowrap;
  position: relative; z-index: 1; outline: none;
}
.toggle-btn.active  { font-weight: 900; color: #fff; background: transparent !important; box-shadow: none !important; }
.toggle-btn:not(.active):hover { color: #333; }

.toggle-slider {
  position: absolute; top: 6px; left: 6px;
  height: calc(100% - 12px); border-radius: 54px;
  background: var(--brand);
  box-shadow: 0 4px 20px rgba(235,79,67,.32);
  transition: left .38s cubic-bezier(0.34,1.56,0.64,1),
              width .38s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 0; pointer-events: none;
}

/* ── WHEELS ── */
.wheels-section { max-width: 1480px; margin: 0 auto; padding: 0 20px 80px; }
.sec-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sec-title  { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 26px; color: #111; }
.sec-link   { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500; color: var(--brand); text-decoration: none; }
.sec-link:hover { text-decoration: underline; }

.pop-grid, .col-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pop-grid { margin-bottom: 56px; }
.wheels-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #999;
}
.company-copy {
  max-width: 760px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}
.company-copy p { margin-bottom: 18px; }
[data-theme="dark"] .company-copy { color: #bbb; }

.company-story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch;
}
.company-story-grid .company-copy { max-width: none; }
.company-story-img { min-height: 420px; border-radius: 18px; overflow: hidden; }
.company-story-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
@media (max-width: 860px) {
  .company-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .company-story-img { min-height: 280px; }
}

.legal-copy {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  line-height: 1.8;
  color: #444;
}
.legal-copy .legal-updated { font-size: 13px; color: #999; margin-bottom: 36px; }
.legal-copy h2 { font-size: 20px; font-weight: 700; color: #111; margin: 40px 0 14px; }
.legal-copy h2:first-of-type { margin-top: 0; }
.legal-copy h3 { font-size: 16px; font-weight: 700; color: #111; margin: 24px 0 10px; }
.legal-copy p { margin-bottom: 16px; }
.legal-copy ul, .legal-copy ol { margin: 0 0 16px 22px; }
.legal-copy li { margin-bottom: 8px; }
.legal-copy a { color: var(--brand); text-decoration: underline; }
.legal-copy strong { color: #222; }
[data-theme="dark"] .legal-copy { color: #bbb; }
[data-theme="dark"] .legal-copy h2,
[data-theme="dark"] .legal-copy h3 { color: #eee; }
[data-theme="dark"] .legal-copy strong { color: #ddd; }

.wcard {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07); cursor: pointer;
  transition: background .22s, transform .22s, box-shadow .22s;
  display: block; text-decoration: none; color: inherit;
}
.wcard:hover { background: #f9f1ef; transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.10); }

.wc-top { padding: 16px 16px 12px; display: flex; align-items: center; justify-content: space-between; }
.wc-top-left { display: flex; align-items: center; gap: 10px; }
.wc-tag { width: 30px; height: 30px; color: #111111; flex-shrink: 0; }
.wc-tag-group { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.wc-sub { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 13px; color: #888; }
.wc-pill {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 12px;
  color: #333; background: #fff; border: 1px solid #ddd;
  padding: 5px 14px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.wc-img { background: #F5F4F2; height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.wcard:hover .wc-img img { transform: scale(1.04); }
.wc-img .ph { font-family: 'Poppins', sans-serif; font-size: 12px; color: #ccc; }
.wc-bottom { padding: 14px 16px 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(0,0,0,.06); }
.wc-spname { font-family: 'Mona Sans Wide', sans-serif; font-weight: 900; font-size: 18px; color: #111; }
.wc-price  { text-align: right; }
.wc-from   { display: block; font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 11px; color: #888; line-height: 1; margin-bottom: 2px; }
.wc-amount { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: #111; }

/* ── HOW IT WORKS ── */
.how-section { max-width: 1480px; margin: 0 auto 80px; padding: 0 20px; }
.reviews-section { max-width: 1480px; margin: 0 auto 80px; padding: 0 20px; }
.reviews-summary {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px; font-weight: 500; line-height: 1.7; color: #444;
  max-width: 760px; margin-bottom: 32px;
}
[data-theme="dark"] .reviews-summary { color: #bbb; }

/* Elfsight Google Reviews widget override.
   Scoped to this specific app instance's stable class rather than the
   auto-generated styled-components hashes seen in devtools (those hash
   suffixes, e.g. "-sc-3bd813be-0", can change on Elfsight's end when the
   widget updates — the semantic part of the class name, e.g.
   "ReviewBackground__Container", tends to be more stable, so that's what
   these target via a partial-match selector). !important is needed since
   Elfsight's own CSS uses !important internally on several base rules. */
.elfsight-app-94e37d33-e0f9-4c78-8396-9b9a4b8161fc [class*="ReviewBackground__Container"] {
  background-color: #efefed !important;
  border-radius: 10px !important;
}
.elfsight-app-94e37d33-e0f9-4c78-8396-9b9a4b8161fc [class*="es-review"],
.elfsight-app-94e37d33-e0f9-4c78-8396-9b9a4b8161fc [class*="es-review"] * {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}
.how-inner   { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: stretch; }
.how-right   { position: relative; }
.how-header  { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.how-title   { font-family: 'Mona Sans Wide', sans-serif; font-weight: 900; font-size: clamp(28px,3.5vw,52px); line-height: 1.05; color: #111; }
.how-cta     { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: #fff; background: #111; padding: 12px 26px; border-radius: 60px; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: background .2s; align-self: center; }
.how-cta:hover { background: var(--brand); }
.how-sub     { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 500; color: #777; line-height: 1.65; max-width: 460px; margin-bottom: 28px; }
.how-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.how-box     { background: #EFEFED; border-radius: 12px; padding: 18px 20px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.how-box-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: #111; margin-bottom: 5px; }
.how-box-sub   { font-family: 'Poppins', sans-serif; font-size: 12px; color: #777; line-height: 1.5; }
.how-right img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }

/* ── SUPREME POWER ── */
.sp-section {
  position: relative; width: calc(100% - 40px);
  max-width: 1440px; margin: 0 auto 80px;
  border-radius: 40px; overflow: hidden; height: 550px;
}
.sp-img-wrap { position: absolute; inset: 0; z-index: 0; }
.sp-section img.sp-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.sp-section img.sp-logo { position: absolute; top: 36px; left: 40px; width: 340px; height: auto; z-index: 2; }
.sp-text { position: absolute; bottom: 40px; left: 40px; width: 55%; z-index: 2; }
.sp-text h3 { font-family: 'Mona Sans Wide', sans-serif; font-weight: 900; font-size: clamp(20px,2.4vw,36px); color: #fff; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; }
.sp-text p  { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: clamp(12px,1vw,14px); color: rgba(255,255,255,.75); line-height: 1.65; }

/* ── FAQ ── */
.faq-section { max-width: 1480px; margin: 0 auto 80px; padding: 0 20px; }
.faq-inner   { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-left-title { font-family: 'Mona Sans Wide', sans-serif; font-weight: 900; font-size: clamp(28px,3vw,46px); color: #111; line-height: 1.1; margin-bottom: 16px; }
.faq-left-sub   { font-family: 'Poppins', sans-serif; font-size: 14px; color: #777; line-height: 1.65; }
.faq-list    { display: flex; flex-direction: column; gap: 8px; }
.faq-item    { background: #EFEFED; border-radius: 12px; overflow: hidden; transition: background .25s; }
.faq-item.open { background: #111; }
.faq-q       { width: 100%; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; background: none; border: none; cursor: pointer; text-align: left; gap: 16px; }
.faq-q-text  { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: #111; transition: color .25s; }
.faq-item.open .faq-q-text { color: #fff; }
.faq-chevron { color: #888; flex-shrink: 0; transition: transform .25s, color .25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: rgba(255,255,255,.6); }
.faq-a       { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 22px 18px; }
.faq-a-text  { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.72); line-height: 1.72; }

/* ── SOCIAL GALLERY ── */
.insta-section { max-width: 1480px; margin: 0 auto 80px; padding: 0 20px; }
.insta-grid    { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr; gap: 12px; height: 260px; }
.insta-card    { border-radius: 16px; overflow: hidden; position: relative; background: #e8e7e5; }
.insta-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.insta-card:hover img { transform: scale(1.05); }

.insta-card-link { display: block; border-radius: 16px; overflow: hidden; position: relative; height: 100%; text-decoration: none; }
.insta-card-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.insta-card-link:hover img { transform: scale(1.07); }
.insta-ig-hover { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; transition: background .3s; }
.insta-ig-hover svg { color: #fff; opacity: 0; transform: scale(0.7); transition: opacity .3s, transform .3s; }
.insta-card-link:hover .insta-ig-hover { background: rgba(0,0,0,0.38); }
.insta-card-link:hover .insta-ig-hover svg { opacity: 1; transform: scale(1); }

.insta-center { cursor: pointer; }
.insta-overlay { position: absolute; inset: 0; background: rgba(10,10,10,.52); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.insta-socials { display: flex; gap: 4px; }
.insta-s-link  { font-family: 'Mona Sans Wide', sans-serif; font-weight: 900; font-size: clamp(20px,2.8vw,38px); color: #fff; text-decoration: none; letter-spacing: -0.01em; transition: color .2s; }
.insta-s-link:hover { color: var(--brand); }
.insta-handle  { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: clamp(11px,1vw,14px); color: rgba(255,255,255,.75); letter-spacing: .04em; }

/* ══════════════════════════════════
   MOBILE — under 860px
══════════════════════════════════ */
@media (max-width: 860px) {

  /* ── Wheel grids ── */
  .pop-grid, .col-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }

  /* ── How it works ── */
  .how-inner { grid-template-columns: 1fr; }
  .how-right { min-height: 240px; }
  .how-grid  { grid-template-columns: repeat(2,1fr); }
  .how-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* ── Supreme Power banner ── */
  .sp-section { height: auto; min-height: 420px; border-radius: 24px; }
  .sp-section img.sp-logo { width: 200px; top: 24px; left: 24px; }
  .sp-text { width: calc(100% - 48px); left: 24px; bottom: 24px; }

  /* ── FAQ ── */
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }

  /* ── Social gallery — horizontal scroll instead of a 5-col squeeze ── */
  .insta-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    height: 220px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .insta-card, .insta-card-link { scroll-snap-align: start; }
}

@media (max-width: 520px) {
  .pop-grid, .col-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
}

/* ── Lightbox (also used on individual wheel product pages) ── */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: background .4s;
}
.gallery-lightbox.open {
  background: rgba(0,0,0,0.92);
  pointer-events: auto;
}
.gallery-lightbox-imgwrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.gallery-lightbox img {
  max-width: 90vw; max-height: 82vh;
  border-radius: 12px; object-fit: contain;
  opacity: 0; transform: scale(0.95);
  transition: opacity .35s, transform .35s;
}
.gallery-lightbox.open img { opacity: 1; transform: scale(1); }
.gallery-lightbox-counter {
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.6); letter-spacing: .04em;
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, background .2s;
}
.gallery-lightbox.open .gallery-lightbox-close,
.gallery-lightbox.open .gallery-lightbox-nav {
  opacity: 1;
  pointer-events: auto;
}
.gallery-lightbox-close {
  position: absolute; top: 28px; right: 36px;
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 32px; line-height: 1;
  width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center;
}
.gallery-lightbox-close:hover { background: var(--brand); }
.gallery-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none;
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center;
}
.gallery-lightbox-nav:hover { background: rgba(255,255,255,.22); }
.gallery-lb-prev { left: 28px; }
.gallery-lb-next { right: 28px; }

/* ── Product page gallery grid ── */
.wheel-gallery-section { max-width: 1100px; margin: 60px auto 0; padding: 0 52px 80px; }
.wheel-gallery-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: #111; margin-bottom: 20px; }
[data-theme="dark"] .wheel-gallery-title { color: #eee; }
.wheel-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wheel-gallery-tile { border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: #f0f0f0; }
.wheel-gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.wheel-gallery-tile:hover img { transform: scale(1.05); }
@media (max-width: 760px) {
  .wheel-gallery-section { padding: 0 20px 56px; }
  .wheel-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
