/* TempTint — brand tokens carried over from the WordPress theme */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --ink: #2C313F;        /* headings */
  --orange: #F7941D;     /* brand accent */
  --night: #171717;      /* buttons, dark sections */
  --fog: #F5F5F5;        /* page background */
  --steel: #83939C;      /* secondary headings */
  --mist: #E1E3E9;       /* soft panels */
  --white: #FFFFFF;
  --text: #333333;
  --muted: #5E6B73;
  --focus: #1A73E8;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
  --gutter: 20px;
  --radius-lg: 24px;
  --radius-md: 14px;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fog);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 1.875rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--night); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--night); color: var(--white);
  border: 0; border-radius: var(--pill);
  padding: 14px 26px;
  font: 700 1rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: #000; color: var(--white); }
.btn-arrow { padding-right: 10px; }
.btn-arrow::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .15s ease;
}
.btn-arrow:hover::after { transform: rotate(45deg); }
.btn-small { padding: 10px 18px; font-size: .875rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.site-header { background: var(--fog); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--mist); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand img { width: 160px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.site-nav a:hover { color: var(--orange); }
.site-nav a[aria-current="page"] { color: var(--orange); }
.nav-cart { border: 2px solid var(--night); border-radius: var(--pill); padding: 6px 16px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; background: var(--night); position: relative; transition: transform .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--fog); border-bottom: 1px solid var(--mist); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav li a { display: block; padding: 12px 0; }
  .nav-cart { text-align: center; margin-top: 8px; }
}

/* ---------- home ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); text-align: center; }
.hero-title {
  font-size: clamp(2.6rem, 1.2rem + 7vw, 6.25rem);
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95;
  margin: 0 auto .45em; max-width: 11ch;
}
.trust-line { margin: 12px 0 0; font-size: .9rem; font-weight: 600; color: var(--muted); }
.trust-line a { color: var(--ink); }
.trust-line::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7941D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6l-8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.night .trust-line, .testimonial .trust-line { color: var(--muted); }
.hero-price { margin: 18px auto 0; display: grid; gap: 2px; justify-items: center; color: var(--ink); }
.hero-price-name { font-weight: 600; color: var(--steel); }
.hero-price-amount { font-size: 1.15rem; }
.hero-price-amount strong { font-size: 1.75rem; font-weight: 900; color: var(--night); }
.hero-price-amount del { color: var(--muted); margin-right: 4px; }
.hero-price-pitch { margin-top: 4px; font-weight: 600; }
del:empty { display: none; }
.strip { margin: 0; background: var(--orange); color: var(--night); font-weight: 700; text-align: center; padding: 12px 0; font-size: 1.05rem; }
.strip .wrap { display: block; }

.video-section { padding: clamp(24px, 4vw, 48px) 0; }
.demo-video { width: 100%; aspect-ratio: 16 / 9; background: var(--night); border-radius: var(--radius-lg); object-fit: cover; }

.night { background: var(--night); color: #D7DADF; padding: clamp(48px, 7vw, 96px) 0; }
.night-inner { display: grid; gap: 28px; grid-template-columns: 1fr; max-width: 900px; }
.night h2 { color: var(--orange); margin: 0; }
.night-img { width: 100%; border-radius: var(--radius-lg); }
.night strong { color: var(--white); }

.unlike { padding: clamp(48px, 7vw, 96px) 0; }
.unlike-inner { max-width: 820px; }
.unlike h2 { color: var(--steel); }
.unlike-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.unlike-list li {
  font-weight: 800; color: var(--ink); font-size: clamp(1.25rem, 1rem + 1.3vw, 1.75rem);
  padding: 6px 20px 6px 16px; background: var(--white); border-radius: var(--pill);
  border-left: 6px solid var(--orange);
}
.lede { font-size: 1.25rem; color: var(--ink); font-weight: 600; }

.steps { padding: clamp(48px, 7vw, 96px) 0; background: var(--white); }
.steps h2 { color: var(--night); text-align: center; margin-bottom: 40px; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps-list li { counter-increment: step; position: relative; }
.steps-list img { width: 100%; aspect-ratio: 23 / 12; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 18px; }
.steps-list li::before {
  content: counter(step); position: absolute; top: 12px; left: 12px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--night); font-weight: 900; font-size: 1.25rem;
}
.steps-list h3 { color: var(--night); font-size: 1.5rem; }
@media (max-width: 820px) { .steps-list { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.compare-section { padding: clamp(48px, 7vw, 96px) 0; }
.compare-inner { max-width: 900px; text-align: center; }
.compare { --pos: 27%; position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-top: 24px; user-select: none; }
.compare > img, .compare-after img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px;
  background: var(--orange); pointer-events: none;
}
.compare-tag { position: absolute; z-index: 2; top: 14px; padding: 4px 12px; border-radius: var(--pill); font-size: .85rem; font-weight: 700; background: rgba(23,23,23,.8); color: var(--white); pointer-events: none; }
.compare-tag-before { right: 14px; }
.compare-tag-after { left: 14px; background: var(--orange); color: var(--night); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare-range:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }

.everyone { padding: 0 0 clamp(48px, 7vw, 96px); text-align: center; }
.everyone h2 { color: var(--night); }
.everyone .lede { color: var(--steel); font-size: clamp(1.15rem, 1rem + .6vw, 1.375rem); max-width: 30ch; margin: 0 auto; }

.testimonial { background: var(--mist); padding: clamp(48px, 7vw, 96px) 0; }
.testimonial-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.testimonial h2 { color: var(--steel); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); max-width: 12ch; }
.testimonial figure { margin: 0; }
.testimonial blockquote { margin: 0 0 12px; font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); line-height: 1.45; color: var(--ink); font-weight: 600; }
.testimonial figcaption { font-weight: 700; color: var(--muted); }
.testimonial figcaption::before { content: "— "; }
@media (max-width: 760px) { .testimonial-inner { grid-template-columns: 1fr; gap: 28px; } }

.daynight { padding: clamp(48px, 7vw, 96px) 0; }
.daynight-inner { max-width: 820px; }
.daynight h2 { color: var(--night); text-transform: uppercase; font-weight: 900; }

.marquee { background: var(--orange); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-weight: 900; font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); color: var(--night); white-space: nowrap; text-transform: uppercase; letter-spacing: -0.01em; }
.marquee span:nth-child(even) { font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.page-hero h1 { font-size: clamp(2.2rem, 1.2rem + 4vw, 3.75rem); font-weight: 900; letter-spacing: -0.025em; margin: 0; }
.page-body { padding-bottom: clamp(48px, 7vw, 96px); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--orange); font-weight: 800; }
.effective { color: var(--muted); font-weight: 600; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding-bottom: clamp(48px, 7vw, 96px); }
.contact address { font-style: normal; margin-bottom: 1em; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* forms */
.tt-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.tt-form input, .tt-form textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; color: var(--text); background: var(--white);
  border: 1.5px solid #C9CED6; border-radius: 10px; padding: 11px 13px;
}
.tt-form input:focus, .tt-form textarea:focus { border-color: var(--night); outline: none; box-shadow: 0 0 0 3px rgba(247,148,29,.35); }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.is-ok { color: #1E7B3A; }
.form-status.is-error { color: #B42318; }
.fine { font-size: .85rem; color: var(--muted); }

/* ---------- product ---------- */
.product { padding-top: 20px; padding-bottom: clamp(48px, 7vw, 96px); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.product-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .product-top { grid-template-columns: 1fr; } }

.gallery { min-width: 0; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius-lg); background: var(--white); scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 1; position: relative; }
.gallery-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px 2px; }
.gallery-thumb { flex: none; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--white); }
.gallery-thumb img { width: 72px; height: 72px; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--orange); }

.buybox h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 2.9rem); font-weight: 900; letter-spacing: -0.025em; margin-bottom: .2em; }
.buybox-tagline { color: var(--steel); font-weight: 600; font-size: 1.1rem; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; }
.price-now { font-size: 2rem; font-weight: 900; color: var(--night); }
.price del { color: var(--muted); font-size: 1.15rem; }
.price del:empty { display: none; }
.rating a { color: var(--orange); font-weight: 700; text-decoration: none; }
.rating a:empty { display: none; }
.attrs { display: grid; gap: 8px; margin: 18px 0 24px; padding: 16px 18px; background: var(--white); border-radius: var(--radius-md); }
.attrs div { display: flex; justify-content: space-between; gap: 16px; }
.attrs dt { font-weight: 700; color: var(--ink); }
.attrs dd { margin: 0; text-align: right; }
.buy-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.qty { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.qty input { width: 88px; font: 600 1.05rem var(--font); padding: 13px 12px; border: 1.5px solid #C9CED6; border-radius: var(--pill); text-align: center; background: var(--white); }
.stock { margin-top: 14px; font-weight: 700; color: #1E7B3A; }
.stock.is-out { color: #B42318; }

.product-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.product-body .prose h2:first-child { margin-top: 0; }
.custom-size { background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); position: sticky; top: 96px; }
.custom-size h2 { font-size: 1.4rem; }
@media (max-width: 860px) { .product-body { grid-template-columns: 1fr; } .custom-size { position: static; } }

.reviews { margin-top: clamp(40px, 6vw, 72px); max-width: 760px; }
.review-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.review { background: var(--white); border-radius: var(--radius-md); padding: 18px 20px; }
.review-stars { color: var(--orange); letter-spacing: 2px; margin: 0 0 4px; font-size: 1.1rem; }
.review blockquote { margin: 0; font-weight: 600; color: var(--ink); }
.review blockquote p { margin: 0 0 6px; }
.review-by { margin: 0; color: var(--muted); font-size: .9rem; }

/* shop index */
.shop { padding-bottom: clamp(48px, 7vw, 96px); }
.shop-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.shop-card a { display: block; text-decoration: none; background: var(--white); border-radius: var(--radius-lg); padding: 16px; height: 100%; }
.shop-card img { aspect-ratio: 1; object-fit: contain; width: 100%; margin-bottom: 12px; }
.shop-card h2 { font-size: 1.2rem; margin-bottom: 4px; }
.shop-card .price span { font-weight: 800; color: var(--night); }

/* ---------- footer ---------- */
.site-footer { background: var(--white); padding: clamp(40px, 6vw, 72px) 0 24px; border-top: 1px solid var(--mist); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand > img { width: 150px; margin-bottom: 20px; }
.site-footer h2 { font-size: 1rem; font-weight: 800; color: var(--night); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav li { margin-bottom: 8px; }
.site-footer nav a { text-decoration: none; color: var(--muted); }
.site-footer nav a:hover { color: var(--orange); }
.newsletter { max-width: 420px; }
.newsletter label { margin-bottom: 6px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row button { white-space: nowrap; }
.newsletter-row input { margin-top: 0; border-radius: var(--pill); padding-left: 16px; }
.social { display: flex; gap: 18px; margin-top: 8px !important; }
.social a { font-weight: 700; color: var(--ink); }
.copyright { margin-top: 40px; color: var(--muted); font-size: .875rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
