:root {
  color-scheme: light;
  --ink: #17140f;
  --muted: #6f675e;
  --paper: #f6f1e8;
  --surface: #fffaf0;
  --surface-strong: #ffffff;
  --coal: #070604;
  --coal-soft: #15110c;
  --line: rgba(28, 22, 14, 0.12);
  --gold: #f1c45d;
  --cyan: #00a7c8;
  --green: #11a464;
  --orange: #ec6b1e;
  --shadow: 0 20px 60px rgba(29, 20, 8, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fffaf0;
  font-size: clamp(2.65rem, 5.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 18px;
  color: #fff8e8;
  background: linear-gradient(90deg, #d8a529, #eb6b1e, #0aa3c0);
  font-size: 0.86rem;
  font-weight: 850;
  flex-wrap: wrap;
}

.header-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.25fr) minmax(260px, auto);
  gap: 24px;
  align-items: center;
  padding: 24px clamp(18px, 6vw, 82px);
  color: #fffaf0;
  background: var(--coal);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-shell {
  display: grid;
  place-items: center;
  width: 84px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(241, 196, 93, 0.24);
  border-radius: var(--radius);
  background: #050403;
  box-shadow:
    0 0 34px rgba(0, 167, 200, 0.14),
    inset 0 0 18px rgba(241, 196, 93, 0.08);
  flex: 0 0 auto;
}

.brand-logo {
  width: 78px;
  height: auto;
  object-fit: contain;
}

.footer-logo {
  width: 96px;
  height: 66px;
}

.footer-logo .brand-logo {
  width: 90px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(241, 196, 93, 0.6);
  border-radius: var(--radius);
  color: var(--gold);
  background: linear-gradient(135deg, #100c07, #21190e);
  box-shadow: 0 0 30px rgba(241, 196, 93, 0.16);
  font-weight: 950;
}

.brand small,
.footer-brand span,
.site-footer span {
  display: block;
  color: #b7aa9a;
  font-size: 0.86rem;
}

.header-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #231b12;
  background: #fffaf0;
  outline: 0;
}

.header-search input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.account-form input:focus,
.account-form textarea:focus,
.track-form input:focus,
.header-track-form input:focus,
.sort-control select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 167, 200, 0.18);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.text-action {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: var(--radius);
  color: #fff4dc;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
}

.account-action {
  display: grid;
  align-content: center;
  gap: 2px;
  line-height: 1.1;
  text-align: left;
}

.account-action small {
  color: #f1c45d;
  font-size: 0.76rem;
  font-weight: 850;
}

.cart-button,
.primary-action,
.secondary-action,
.checkout-link,
.buy-button,
.add-button,
.filter,
.header-track-form button,
.track-form button {
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 950;
}

.header-track-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 210px) auto;
  gap: 8px;
  align-items: center;
}

.header-track-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff8e8;
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.header-track-form input::placeholder {
  color: rgba(255, 248, 232, 0.66);
}

.header-track-form button {
  padding: 0 14px;
  border: 0;
  color: #120d07;
  background: var(--cyan);
}

.header-track-form small {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: max-content;
  max-width: 280px;
  color: #ffe08a;
  font-size: 0.72rem;
  font-weight: 800;
}

.header-track-form a {
  color: #fff8e8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px 0 18px;
  border: 0;
  color: #070604;
  background: var(--gold);
}

.cart-button span {
  display: grid;
  gap: 1px;
  text-align: left;
}

.cart-button small {
  font-size: 0.76rem;
  font-weight: 950;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 12px 18px;
  color: #fff6e2;
  background: rgba(7, 6, 4, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), var(--orange), var(--cyan)) 1;
  font-size: 0.93rem;
  font-weight: 850;
  overflow-x: auto;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-track-form {
  align-self: center;
  width: min(360px, 100%);
}

.nav-bar a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-bar a:hover {
  border-color: var(--gold);
}

.hero-section {
  position: relative;
  min-height: 378px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 46%, rgba(241, 196, 93, 0.18), transparent 28%),
    radial-gradient(circle at 84% 36%, rgba(0, 167, 200, 0.12), transparent 30%),
    #090704;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 900ms ease, transform 6500ms ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 0;
  bottom: 6%;
  width: min(60vw, 720px);
  background-image: var(--hero-bg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: saturate(1.06) contrast(1.03);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 9%, #000 20%, #000 82%, rgba(0, 0, 0, 0.18) 94%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, #000 8%, #000 92%, rgba(0, 0, 0, 0.28) 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 9%, #000 20%, #000 82%, rgba(0, 0, 0, 0.18) 94%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, #000 8%, #000 92%, rgba(0, 0, 0, 0.28) 100%);
  mask-composite: intersect;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.03);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 74% 46%, rgba(236, 107, 30, 0.12), rgba(7, 6, 4, 0.1) 34%, rgba(7, 6, 4, 0.55) 78%),
    linear-gradient(90deg, rgba(7, 6, 4, 1) 0%, rgba(7, 6, 4, 0.96) 33%, rgba(7, 6, 4, 0.66) 56%, rgba(7, 6, 4, 0.34) 100%),
    linear-gradient(180deg, transparent 64%, rgba(246, 241, 232, 0.62) 100%);
}

.hero-content {
  width: min(790px, 100%);
  padding: 42px clamp(22px, 6vw, 82px) 30px;
}

.hero-content h1 {
  max-width: 590px;
  font-size: clamp(1.85rem, 3.55vw, 3.25rem);
  line-height: 1.02;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content p {
  max-width: 620px;
  color: #e2d7c6;
  font-size: 0.98rem;
}

.hero-actions,
.hero-proof,
.filter-group,
.product-actions,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action,
.checkout-link,
.buy-button,
.add-button,
.header-track-form button,
.track-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
}

.primary-action,
.checkout-link,
.buy-button,
.track-form button {
  color: #120d07;
  background: linear-gradient(135deg, var(--gold), #ffe08a);
  box-shadow: 0 18px 38px rgba(196, 126, 17, 0.2);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff8e8;
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  margin-top: 16px;
}

.hero-proof span {
  min-width: 118px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #cfc2af;
  background: rgba(10, 7, 4, 0.5);
}

.hero-proof strong {
  display: block;
  color: #fffaf0;
  font-size: 1.08rem;
}

.trust-strip,
.catalog-toolbar,
.products-section,
.categories-section,
.custom-section,
.payment-section,
.track-section,
.faq-section {
  padding: 58px clamp(18px, 6vw, 82px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-block: 18px;
}

.trust-strip article,
.category-grid article,
.payment-grid article,
.faq-list details,
.track-form,
.product-card,
.cart-panel,
.account-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 14px 36px rgba(29, 20, 8, 0.06);
}

.trust-strip article {
  padding: 14px;
}

.trust-strip strong,
.trust-strip span,
.category-grid span,
.site-footer a,
.site-footer strong {
  display: block;
}

.trust-strip span,
.category-grid p,
.payment-grid p,
.track-section p,
.faq-list p,
.product-info p,
.modal-copy p,
.steps-list span {
  color: var(--muted);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) 1.45fr;
  gap: 18px;
  align-items: end;
  padding-block: 30px;
  background: #fff7e8;
  border-block: 1px solid var(--line);
}

.catalog-toolbar h2 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.08;
  white-space: nowrap;
}

.filter-group {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.filter {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(30, 22, 12, 0.16);
  color: #30271d;
  background: #ffffff;
  font-size: 0.92rem;
}

.filter.is-active {
  color: #070604;
  border-color: var(--gold);
  background: var(--gold);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 12px;
}

.section-heading > div,
.section-heading.compact {
  max-width: 820px;
}

.payment-section .section-heading.compact,
.faq-section .section-heading.compact {
  display: grid;
  grid-template-columns: 132px minmax(0, 760px);
  gap: 24px 36px;
  align-items: start;
  max-width: 1040px;
  margin-bottom: 28px;
}

.payment-section .section-heading.compact .eyebrow,
.faq-section .section-heading.compact .eyebrow {
  grid-row: 1 / span 2;
  margin-top: 0.42rem;
}

.payment-section .section-heading.compact h2,
.faq-section .section-heading.compact h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.6vw, 3.8rem);
  line-height: 1.03;
}

.payment-section .section-heading.compact > p:not(.eyebrow),
.faq-section .section-heading.compact > p:not(.eyebrow) {
  grid-column: 2;
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.sort-control {
  display: grid;
  gap: 8px;
  min-width: 190px;
  color: var(--muted);
  font-weight: 850;
}

.sort-control select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.results-line {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 850;
}

.products-section {
  padding-top: 36px;
}

.products-section .section-heading {
  margin-bottom: 8px;
}

.products-section .section-heading h2 {
  max-width: 690px;
  font-size: clamp(1.5rem, 3.15vw, 2.5rem);
  line-height: 1.08;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  overflow: hidden;
}

.product-media {
  position: relative;
  min-height: 220px;
  border: 0;
  background:
    linear-gradient(135deg, var(--tone-a, #231b12), var(--tone-b, #6c5430)),
    #241c12;
}

.photo-card {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.2));
}

.photo-object {
  width: 42%;
  height: 72%;
  border-radius: 46% 46% 10% 10%;
  background:
    radial-gradient(circle at 50% 12%, var(--detail, #fff2c0) 0 13%, transparent 14%),
    linear-gradient(90deg, transparent 43%, rgba(0, 0, 0, 0.16) 43% 57%, transparent 57%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.04) 36%, rgba(0, 0, 0, 0.26)),
    var(--mini, #d3aa55);
  clip-path: polygon(31% 0, 69% 0, 84% 18%, 95% 100%, 5% 100%, 16% 18%);
  box-shadow: 0 24px 28px rgba(0, 0, 0, 0.28);
}

.product-firefighter { --tone-a: #2d1209; --tone-b: #d29a26; --mini: #d7a739; --detail: #ffe19b; }
.product-doctor { --tone-a: #f7fbff; --tone-b: #9bd4e1; --mini: #f8fbff; --detail: #9bd4e1; }
.product-teacher { --tone-a: #ede0ca; --tone-b: #9b6f3a; --mini: #bc7a46; --detail: #fff1ca; }
.product-family { --tone-a: #e6cfa5; --tone-b: #70533a; --mini: #f0d2aa; --detail: #3a2618; }
.product-dog { --tone-a: #ead7ba; --tone-b: #a56c3f; --mini: #c98852; --detail: #fff1d8; }
.product-vehicle { --tone-a: #151515; --tone-b: #6a7b83; --mini: #2d3336; --detail: #d9e2e6; }
.product-tactical { --tone-a: #090b0f; --tone-b: #293849; --mini: #111827; --detail: #c5cbd1; }
.product-sniper { --tone-a: #172011; --tone-b: #6c7a3f; --mini: #3f552a; --detail: #cbd6a4; }
.product-desk { --tone-a: #0f2730; --tone-b: #20a3bf; --mini: #1d7d95; --detail: #d7fbff; }
.product-keyholder { --tone-a: #251910; --tone-b: #c0944c; --mini: #d9b25e; --detail: #fff1bf; }
.product-truck { --tone-a: #1a2225; --tone-b: #bd4e23; --mini: #46545b; --detail: #f7c45d; }
.product-avatar { --tone-a: #19120c; --tone-b: #b8862b; --mini: #f1c45d; --detail: #fff0b8; }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #120d07;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.product-info {
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
}

.product-meta,
.price-row,
.cart-head,
.cart-row,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.price-row {
  justify-content: flex-start;
}

.price-row strong {
  color: var(--green);
  font-size: 1.38rem;
}

.price-row del {
  color: #a1978b;
}

.installments {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.94rem;
  font-weight: 900;
}

.product-note {
  min-height: 58px;
  padding: 10px;
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  background: #fff4e7;
  font-size: 0.88rem;
  font-weight: 800;
}

.product-question-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
}

.product-question-box strong {
  display: block;
  font-size: 1rem;
}

.product-question-box p,
.product-question-box small {
  margin: 0;
  color: var(--muted);
}

.product-question-box .secondary-action {
  width: fit-content;
  min-height: 40px;
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}

.add-button {
  color: #fffaf0;
  background: var(--coal);
}

.buy-button,
.add-button {
  flex: 1;
}

.categories-section,
.payment-section,
.faq-section {
  background: #fffaf0;
}

.categories-section .section-heading.compact {
  max-width: none;
  align-items: center;
  justify-content: flex-start;
}

.categories-section .section-heading.compact h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  white-space: nowrap;
}

.category-grid,
.payment-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.payment-grid article,
.security-grid article {
  min-height: 176px;
  padding: 22px;
}

.payment-grid span,
.security-grid span {
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #120d07;
  background: #f0cf79;
  font-weight: 950;
}

.payment-grid article p,
.security-grid article p {
  margin: 0;
  max-width: 33ch;
  line-height: 1.55;
}

.category-card {
  position: relative;
  min-height: auto;
  aspect-ratio: 1.39;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(29, 20, 8, 0.14);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  pointer-events: none;
}

.security-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.security-grid article {
  min-height: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(29, 20, 8, 0.05);
}

.security-grid span {
  margin-bottom: 16px;
  color: #fffaf0;
  background: var(--coal);
}

.security-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.security-grid p {
  color: var(--muted);
}

.custom-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: center;
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.1)),
    linear-gradient(135deg, #100c07, #2d2114 55%, #132d34);
}

.custom-copy p {
  color: #dccfbd;
}

.custom-alert {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(241, 196, 93, 0.38);
  border-radius: var(--radius);
  color: #fff8e7;
  background: rgba(241, 196, 93, 0.1);
  font-weight: 900;
}

.steps-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  color: #120d07;
  background: var(--gold);
  font-weight: 950;
}

.steps-list strong,
.steps-list span {
  grid-column: 2;
}

.payment-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.track-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 30px;
  align-items: center;
}

.track-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.track-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.track-form input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.track-form p {
  margin: 0;
}

.track-form a {
  color: var(--cyan);
  font-weight: 900;
}

.faq-list {
  display: grid;
  max-width: 940px;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 950;
}

.faq-list p {
  margin: 12px 0 0;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.58);
}

.cart-drawer.is-open {
  display: flex;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(460px, 100%);
  height: 100%;
  padding: 24px;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.cart-items {
  overflow: auto;
  padding: 18px 0;
}

.cart-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row strong {
  display: block;
}

.cart-row small {
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button,
.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}

.icon-button {
  width: 44px;
  height: 44px;
  font-size: 1.65rem;
}

.cart-footer {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checkout-link {
  width: 100%;
}

.checkout-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.checkout-item,
.checkout-total-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.checkout-item strong,
.checkout-total-line strong {
  color: var(--ink);
}

.checkout-total-line {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 950;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-options legend {
  margin-bottom: 10px;
  font-weight: 950;
}

.payment-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 850;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.product-modal,
.account-modal,
.checkout-modal,
.custom-modal {
  width: min(880px, calc(100% - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.product-modal::backdrop,
.account-modal::backdrop,
.checkout-modal::backdrop,
.custom-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 28px;
}

.modal-media {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
}

.modal-copy {
  align-self: center;
  padding-right: 24px;
}

.account-box {
  padding: 42px;
}

.account-box h2 {
  max-width: 680px;
}

.account-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.account-form,
.account-session,
.account-required-note {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.account-form[data-login-form] {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  height: fit-content;
}

.account-form[data-login-form] h3 {
  margin-bottom: 2px;
}

.account-form[data-login-form] label {
  gap: 6px;
}

.account-form[data-login-form] input {
  min-height: 48px;
}

.account-form[data-login-form] .primary-action {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
}

.account-form h3 {
  margin-bottom: 0;
}

.account-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.account-form input,
.account-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.account-form textarea {
  min-height: 96px;
  padding-block: 12px;
  resize: vertical;
}

.account-session {
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-top: 20px;
}

.account-session .secondary-action {
  grid-column: 2;
  grid-row: 1;
  min-height: 40px;
  color: #120d07;
  border-color: rgba(30, 22, 12, 0.18);
  background: #f1c45d;
  box-shadow: none;
}

.account-details {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
}

.account-details div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
}

.account-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.account-session strong,
.account-session span {
  display: block;
}

.account-session span,
.account-required-note span {
  color: var(--muted);
}

.account-required-note {
  background: #fff8ea;
}

.custom-form {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.checkout-form {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.custom-form label,
.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

.custom-form input,
.custom-form select,
.custom-form textarea,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.custom-form textarea,
.checkout-form textarea {
  min-height: 130px;
  padding-block: 12px;
  resize: vertical;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 167, 200, 0.18);
}

.file-field {
  position: relative;
  padding: 18px;
  border: 1px dashed rgba(30, 22, 12, 0.24);
  border-radius: var(--radius);
  background: #fff8ea;
}

.file-field input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-field strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  color: #fffaf0;
  background: var(--coal);
}

.file-field small,
.form-note {
  color: var(--muted);
}

.image-preview {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.image-preview img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #eee;
}

.image-preview span {
  color: var(--muted);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.custom-open-button {
  margin-top: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(170px, 1fr));
  gap: 30px;
  padding: 42px clamp(18px, 6vw, 82px);
  color: #fff8e8;
  background: var(--coal);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), var(--orange), var(--cyan)) 1;
}

.site-footer a,
.site-footer span {
  margin-top: 8px;
}

.payment-badges {
  display: flex;
  max-width: 340px;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.payment-badges span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(255, 248, 232, 0.2);
  border-radius: 6px;
  color: #111827;
  background: #fff8e8;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.08),
    0 6px 14px rgba(0, 0, 0, 0.18);
}

.payment-badges i {
  display: inline-block;
  flex: 0 0 auto;
}

.flag-pix {
  color: #007f67;
}

.flag-pix i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #00b894;
  transform: rotate(45deg);
}

.flag-visa {
  color: #1434cb;
  font-style: italic;
}

.flag-mastercard i {
  width: 13px;
  height: 13px;
  margin-right: -8px;
  border-radius: 999px;
}

.flag-mastercard i:first-child {
  background: #eb001b;
}

.flag-mastercard i:nth-child(2) {
  background: #f79e1b;
}

.flag-elo i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.flag-elo i:first-child { background: #ffd200; }
.flag-elo i:nth-child(2) { background: #00a4e4; }
.flag-elo i:nth-child(3) { background: #ef4123; }

.flag-amex {
  color: #fff !important;
  background: #2e77bc !important;
}

.flag-hiper {
  color: #fff !important;
  background: #b81d24 !important;
}

.flag-boleto i {
  width: 22px;
  height: 13px;
  background:
    repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px),
    #fff;
}

.flag-mercado {
  color: #006fb9;
}

.flag-infinite {
  color: #fff !important;
  background: #111827 !important;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 42px rgba(17, 164, 100, 0.32);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .nav-track-form {
    width: 100%;
  }

  .header-actions,
  .filter-group {
    justify-content: flex-start;
  }

  .filter-group {
    flex-wrap: wrap;
  }

  .header-track-form {
    grid-template-columns: minmax(180px, 1fr) auto;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .catalog-toolbar,
  .section-heading,
  .custom-section,
  .track-section,
  .modal-grid,
  .form-grid,
  .account-forms,
  .account-session {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: stretch;
  }

  .payment-section .section-heading.compact,
  .faq-section .section-heading.compact {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
  }

  .payment-section .section-heading.compact .eyebrow,
  .faq-section .section-heading.compact .eyebrow,
  .payment-section .section-heading.compact > p:not(.eyebrow),
  .faq-section .section-heading.compact > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .product-grid,
  .category-grid,
  .payment-grid,
  .security-grid,
  .payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-copy {
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.4rem, 14vw, 4.2rem);
  }

  .top-strip {
    justify-content: flex-start;
    gap: 8px;
  }

  .brand-logo-shell {
    width: 72px;
    height: 50px;
  }

  .brand-logo {
    width: 66px;
  }

  .footer-logo {
    width: 86px;
    height: 60px;
  }

  .footer-logo .brand-logo {
    width: 82px;
  }

  .header-main,
  .trust-strip,
  .catalog-toolbar,
  .products-section,
  .categories-section,
  .custom-section,
  .payment-section,
  .track-section,
  .faq-section,
  .site-footer {
    padding-inline: 18px;
  }

  .hero-section {
    min-height: 420px;
  }

  .hero-slide {
    transform: scale(0.98);
  }

  .hero-slide::before {
    top: 26px;
    right: -6%;
    bottom: auto;
    width: 112%;
    height: 210px;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, #000 8%, #000 92%, rgba(0, 0, 0, 0.45) 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, #000 8%, #000 92%, rgba(0, 0, 0, 0.45) 100%);
  }

  .hero-slide.is-active {
    transform: scale(1);
  }

  .nav-links {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-section::after {
    background:
      linear-gradient(180deg, rgba(7, 6, 4, 0.16), rgba(7, 6, 4, 0.9) 42%, rgba(7, 6, 4, 0.98) 78%, var(--paper) 100%);
  }

  .hero-content {
    padding: 150px 18px 34px;
  }

  .hero-actions a,
  .hero-actions button,
    .cart-button,
    .text-action,
    .header-track-form,
    .product-actions > *,
  .modal-actions > *,
  .custom-form .primary-action {
    width: 100%;
  }

  .header-actions,
  .product-actions,
  .modal-actions {
    align-items: stretch;
  }

  .header-track-form {
    grid-template-columns: 1fr auto;
  }

  .header-track-form small {
    position: static;
    grid-column: 1 / -1;
    max-width: none;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .account-session .secondary-action {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .catalog-toolbar h2,
  .categories-section .section-heading.compact h2 {
    white-space: normal;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .trust-strip,
  .product-grid,
  .category-grid,
  .payment-grid,
  .security-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 240px;
  }
}

/* ===== M3 v02: fotos reais ===== */
.product-media { background: #fff; cursor: zoom-in; }
.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform 400ms ease; }
.product-card:hover .product-photo { transform: scale(1.04); }
.product-media .badge { z-index: 2; }
.modal-gallery { display: grid; gap: 10px; align-content: start; }
.modal-media { position: relative; aspect-ratio: 1; min-height: 0; border-radius: var(--radius); overflow: hidden; }
.modal-media .product-photo { padding: 0; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-thumb.is-active { border-color: var(--cyan, #00a7c8); }
.category-grid-m3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-grid-m3 .category-card { aspect-ratio: 1; display: block; color: #fff; text-decoration: none; }
.category-grid-m3 .category-card img { transition: transform 500ms ease; }
.category-grid-m3 .category-card:hover img { transform: scale(1.05); }
.category-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; display: grid; gap: 2px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.category-label strong { font-size: 1.25rem; }
.category-label small { color: #e2d7c6; }
@media (max-width: 760px) { .category-grid-m3 { grid-template-columns: 1fr; } }

/* logo nova (quadrada) */
.brand-logo-shell { width: 76px; height: 76px; padding: 0; border-radius: 12px; }
.brand-logo { width: 100%; height: 100%; object-fit: cover; }
.footer-logo { width: 96px; height: 96px; }
.footer-logo .brand-logo { width: 100%; }
@media (max-width: 760px) { .brand-logo-shell { width: 56px; height: 56px; } }

/* banner carrossel v03 */
.banner-carousel { position: relative; display: grid; background: #060708; overflow: hidden; }
.banner-slide { grid-area: 1 / 1; opacity: 0; transition: opacity 800ms ease; pointer-events: none; display: block; }
.banner-slide.is-active { opacity: 1; pointer-events: auto; }
.banner-slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.banner-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.banner-dots button.is-active { background: #f1c45d; width: 26px; border-radius: 6px; }
.hero-section { min-height: 0; }
@media (max-width: 760px) { .banner-slide img { aspect-ratio: 1 / 1; } .hero-section { min-height: 0; } }

/* opcoes de pagamento com selo */
.payment-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.payment-options legend { grid-column: 1 / -1; }
.pay-option { position: relative; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; }
.pay-card { display: grid; gap: 6px; padding: 12px; border: 2px solid rgba(0,0,0,.12); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pay-option input:checked + .pay-card { border-color: #00a7c8; box-shadow: 0 0 0 3px rgba(0,167,200,.18); }
.pay-option input:focus-visible + .pay-card { outline: 2px solid #00a7c8; outline-offset: 2px; }
.pay-card small { color: #5b5346; font-size: .8rem; }
.pay-badge { justify-self: start; padding: 6px 12px; border-radius: 999px; font-weight: 900; font-size: .95rem; letter-spacing: .01em; }
.pay-badge-mp { background: #009ee3; color: #fff; box-shadow: inset 0 -3px 0 #ffe600; }
.pay-badge-ip { background: #111; color: #3fe07a; }
.flag-mercado { background: #009ee3 !important; color: #fff !important; }
.flag-infinite { background: #111 !important; color: #3fe07a !important; }
@media (max-width: 520px) { .payment-options { grid-template-columns: 1fr; } }
.pay-logo { height: 40px; width: auto; display: block; }
.flag-logo { display: inline-flex; align-items: center; padding: 4px 8px !important; background: #fff !important; border-radius: 6px; }
.flag-logo img { height: 22px; width: auto; display: block; }
.product-link { color: inherit; text-decoration: none; }
.product-link:hover { text-decoration: underline; }
/* frete */
.shipping-box { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.shipping-box legend { font-weight: 900; margin-bottom: 6px; }
.ship-free-note { margin: 0; padding: 8px 12px; border-radius: 10px; background: #e7f7ee; color: #0c6b3c; font-weight: 800; font-size: .9rem; }
.ship-cep { display: flex; gap: 8px; }
.ship-cep input { flex: 1; min-width: 0; }
.ship-options { display: grid; gap: 8px; }
.ship-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid rgba(0,0,0,.12); border-radius: 12px; background: #fff; cursor: pointer; }
.ship-option:has(input:checked) { border-color: #00a7c8; box-shadow: 0 0 0 3px rgba(0,167,200,.15); }
.ship-option span { display: grid; }
.ship-option small { color: #5b5346; }
.ship-option b { color: #0c8a4c; }
.ship-msg { margin: 0; color: #5b5346; font-size: .9rem; }
.ship-cep button { padding: 0 16px; border: 0; border-radius: 10px; background: #070604; color: #f1c45d; font-weight: 900; cursor: pointer; white-space: nowrap; }