:root {
  --bg: #f5f2eb;
  --accent: #bfd730;
  --text: #1a1a1a;
  --text-muted: rgba(0, 0, 0, 0.55);
  --white: #ffffff;
  --dark: #1a1a1a;
  --page: 1650px;
  --radius-card: 16px;
  --font: "Archivo", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.ndi-scroll-lock {
  overflow: hidden;
  touch-action: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
}

.headings {
  font-weight: 900;
  font-size: clamp(30px, 5vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 40px;
}

.headings em {
  color: var(--accent);
  font-style: normal;
}

.page-width {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 15px;
}

@media (min-width: 1551px) {
  .page-width {
    padding: 0 50px;
  }
}

/* Announcement */
.utility-bar {
  background: var(--accent);
  padding: 10px 15px;
}

.announcement-bar {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.announcement-bar__message {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.header-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 10px 15px;
  display: grid;
  align-items: center;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "menu logo icons";
}

.header-search {
  display: none;
  align-items: center;
  background: var(--white);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  min-width: 0;
  outline: none;
}

.header-search button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  grid-area: menu;
}

.header-logo {
  grid-area: logo;
  min-width: 0;
  justify-self: start;
}

.header-search.big-search {
  grid-area: search;
}

.header-nav {
  grid-area: nav;
}

.header-icons {
  grid-area: icons;
  justify-self: end;
}

@media (min-width: 990px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "logo search nav icons";
  }
  .header-search.big-search {
    display: flex;
  }
  .header-icons .small_search {
    display: none;
  }
}

@media (max-width: 989px) {
  .header-search.big-search,
  .header-nav {
    display: none;
  }
}

.header-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  max-width: 100%;
}

.header-logo img,
.logo-img {
  width: auto;
  max-width: min(56px, 14vw);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  display: block;
}

.header-nav {
  display: none;
  justify-content: center;
}

@media (min-width: 990px) {
  .header-nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.header-nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.25s, color 0.25s;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  background: var(--accent);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s;
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--accent);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 200;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg);
  padding: 24px 16px;
  transform: translateX(-100%);
  transition: transform 0.3s;
  overflow-y: auto;
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Trust marquee */
.scroller {
  background: var(--accent);
  overflow: hidden;
}

.scroller-track {
  display: flex;
  width: max-content;
  animation: scroll-trust 35s linear infinite;
}

@keyframes scroll-trust {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-marquee {
  display: inline-flex;
  align-items: center;
  padding: 18px 48px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-text-img {
  display: flex;
  align-items: center;
  gap: 15px;
}

.marquee-text-img img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.marquee-text {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Match section */
.match-v2-section {
  padding: 40px 0;
  background: var(--white);
}

.match-page-width {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 15px;
}

.heading_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.match-v2-section .headings {
  margin-bottom: 0;
}

.head_text {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
}

.text-link {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: underline;
  transition: color 0.25s;
}

.text-link:hover {
  color: var(--accent);
}

.mv2-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .mv2-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .heading_content {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }
  .mv2-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }
  .match-v2-section {
    padding: 20px 0;
  }
}

.mv2-card {
  text-decoration: none;
}

.mv2-inner {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 393 / 270;
  border: 1px solid rgba(26, 26, 26, 0.1);
  transition: border 0.3s, background 0.3s;
}

.mv2-left-decor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  pointer-events: none;
  transition: transform 0.3s;
}

.mv2-top-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
}

.mv2_svg svg {
  padding: 9px;
  width: 30px;
  height: 30px;
  background: var(--bg);
  border-radius: 50%;
}

.mv2-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  font-weight: 600;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.mv2-card:hover .mv2-inner {
  border-color: var(--accent);
  background: rgba(191, 215, 48, 0.07);
}

.mv2-card:hover .mv2-left-decor {
  transform: scale(1.08);
}

.mv2-card:hover .mv2_svg svg {
  background: var(--accent);
}

/* Products */
.section-products {
  padding: 40px 0;
}

.heading_tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.heading_tab .headings {
  margin-bottom: 0;
}

.tab_desc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(0, 0, 0, 0.55);
  font-size: 15px;
}

#dynamic-view-all {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: underline;
}

#dynamic-view-all:hover {
  color: var(--accent);
}

.tabs-buttons {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-buttons button {
  padding: 12px 19px;
  background: var(--white);
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 25px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: #737373;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
}

.tabs-buttons button.active,
.tabs-buttons button:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Product grid layout lives in storefront.css */

.product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f3f3f3;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0 6px;
  line-height: 1.3;
}

.product-card .price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.product-card .price del {
  color: rgba(26, 26, 26, 0.3);
  font-weight: 700;
}

.product-card .badge {
  font-size: 12px;
  font-weight: 700;
  color: #2a9d2a;
  margin-top: 4px;
}

.featured_swiper {
  margin-top: 8px;
}

.featured_swiper .product-card {
  height: 100%;
}

.collection-nav {
  position: relative;
}

.collection-nav .swiper-button-prev,
.collection-nav .swiper-button-next {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.25s;
}

.collection-nav:hover .swiper-button-prev,
.collection-nav:hover .swiper-button-next {
  opacity: 1;
}

/* Strip 24 */
.strip24 {
  background: var(--accent);
  overflow: hidden;
}

.strip24-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.s24panel {
  padding: 48px 28px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.s24panel:last-child {
  border-right: none;
}

.s24-ghost {
  position: absolute;
  top: -40px;
  right: -20px;
  font-size: clamp(72px, 12vw, 150px);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  pointer-events: none;
}

.s24-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s24-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--text);
}

.s24-num {
  font-size: clamp(38px, 8vw, 120px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.s24-unit {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
}

.s24-text {
  font-size: 13px;
  margin: 8px 0;
}

.s24-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.mobile_view { display: none; }

@media (max-width: 1024px) {
  .strip24-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .strip24-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .desk_view { display: none; }
  .mobile_view { display: inline; }
  .s24panel { padding: 26px 16px; }
}

/* Feature bar */
.feature-bar {
  padding: 22px 0;
  background: var(--bg);
}

.feature-marquee {
  overflow: hidden;
}

.feature-bar-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-bar-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.feature-bar-text {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.feature-bar .duplicate-marquee {
  display: none;
}

@media (max-width: 768px) {
  .feature-marquee {
    display: flex;
  }
  .feature-bar .duplicate-marquee {
    display: flex;
  }
  .feature-bar-list {
    flex-shrink: 0;
    animation: marqueeScroll 25s linear infinite;
    gap: 24px;
    justify-content: flex-start;
    padding: 0 16px;
  }
  @keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
  }
}

/* Stats */
.stats-section {
  padding: 80px 0;
  background: var(--dark);
  color: var(--white);
}

.stats-section .headings {
  color: var(--white);
  margin-bottom: 14px;
}

.stats-header {
  max-width: 520px;
  margin-bottom: 40px;
}

.stats-header > p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 12px;
  }
  .stats-card {
    min-width: 0;
  }
}

.stats-card {
  background: #1c1c1c;
  padding: 28px 24px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}

.stats-card:not(.special-card):hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.counter {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
}

.stats-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 12px 0 40px;
  line-height: 1.4;
}

.stats-source {
  font-size: 12px;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.special-card {
  background: transparent;
  border: none;
  padding: 0;
  justify-content: center;
}

.switch-box {
  border: 20px solid var(--accent);
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.switch-box p {
  font-size: clamp(24px, 3vw, 35px);
  font-weight: 900;
  line-height: 1;
  margin-left: -20px;
  padding: 10px 0;
  background: var(--dark);
}

/* How built */
.how-built-section {
  padding: 40px 0;
}

.hb-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.how-built-section .headings {
  margin-bottom: 0;
  max-width: 380px;
}

.hb-desc {
  max-width: 42%;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.5);
}

.hb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hb-item {
  padding: 24px 32px;
  border-right: 1px solid rgba(26, 26, 26, 0.12);
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
  transition: background 0.25s;
}

.hb-item:nth-child(3n) {
  border-right: none;
}

.hb-item:nth-last-child(-n + 3) {
  border-bottom: none;
}

.hb-item:hover {
  background: rgba(191, 215, 48, 0.1);
}

.hb-title {
  font-size: 18px;
  font-weight: 800;
  margin: 14px 0 8px;
}

.hb-text {
  font-size: 14px;
  color: #777;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .hb-top {
    flex-direction: column;
  }
  .hb-desc {
    max-width: 100%;
    font-size: 14px;
  }
  .hb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ */
.faq-section {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-container {
  max-width: 1470px;
  margin: 0 auto;
  padding: 0 15px;
}

.faq-img {
  display: flex;
  gap: 30px;
}

.faq-inner-img,
.faq-items {
  flex: 1;
}

.faq-inner-img img {
  max-width: 280px;
  margin-top: 16px;
}

.faq-item {
  border-bottom: 1px solid rgba(26, 26, 26, 0.09);
  padding: 16px 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.faq-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
  flex-shrink: 0;
}

.faq-item.active {
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  background: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a4a4a;
}

@media (max-width: 768px) {
  .faq-img {
    flex-direction: column;
  }
}

/* Footer */
.site-footer {
  background: var(--accent);
  padding: 48px 0 24px;
  color: var(--text);
}

.footer-grid {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.footer-block__heading {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  max-width: 420px;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  padding: 4px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font: inherit;
  outline: none;
  background: transparent;
}

/* Newsletter submit: theme.css (.newsletter-btn) */

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.footer-links h4 {
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 8px;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1680px;
  margin: 32px auto 0;
  padding: 20px 15px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.footer-bottom__copy {
  margin: 0;
}

.footer-credit {
  margin: 0;
}

.footer-credit a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  opacity: 1;
}

.footer-credit__sep {
  margin: 0 0.35em;
  opacity: 0.6;
}
