/* FurAway theme — base styles */
:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --ink: #1e1b16;
  --muted: #6b655b;
  --line: #e9e2d6;
  --accent: #f2b705;
  --accent-ink: #1e1b16;
  --accent-soft: #fff3c4;
  --dark: #17150f;
  --success: #2f7d4f;
  --danger: #b3261e;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(30, 27, 22, 0.08);
  --font: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
svg { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.muted { color: var(--muted); }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .eyebrow, .section--dark .muted { color: rgba(255,255,255,0.7); }
.section--surface { background: var(--surface); }
.section__head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 0.95rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(242,183,5,.35); }
.btn--primary:hover { background: #ffc61a; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--outline { background: transparent; border-color: currentColor; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Announcement */
.announcement { background: var(--dark); color: #fff; text-align: center; font-size: .9rem; font-weight: 700; padding: .55rem 1rem; }
.announcement a { color: var(--accent); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,240,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.header__logo { font-weight: 900; font-size: 1.5rem; text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: .5rem; }
.header__logo img { max-height: 44px; width: auto; }
.header__logo-dot { width: .6em; height: .6em; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; color: var(--ink); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 800; padding: .5rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.cart-link__count { background: var(--accent); color: var(--accent-ink); font-size: .75rem; min-width: 1.4em; height: 1.4em; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 .35em; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem; gap: .25rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem 0; }
}

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent-soft); border: 1px solid #f5d76a; padding: .35rem .8rem; border-radius: 999px; font-weight: 800; font-size: .85rem; margin-bottom: 1.2rem; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #d99a00, #f2b705); -webkit-background-clip: text; background-clip: text; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero__price { display: flex; align-items: baseline; gap: .6rem; margin: 1.2rem 0 1.4rem; }
.hero__price .price { font-size: 1.9rem; font-weight: 900; }
.hero__price .compare { text-decoration: line-through; color: var(--muted); }
.hero__price .save { background: var(--dark); color: #fff; font-size: .8rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero__note { font-size: .9rem; color: var(--muted); margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img { border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.hero__float { position: absolute; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: .7rem 1rem; font-weight: 800; font-size: .95rem; display: flex; gap: .5rem; align-items: center; white-space: nowrap; }
.hero__float svg { width: 1.4em; height: 1.4em; color: #c99700; }
.hero__note svg { color: var(--success); }
.hero__float--tl { top: 1rem; left: -1rem; }
.hero__float--br { bottom: 1.5rem; right: -1rem; }
.stars { color: #f2b705; letter-spacing: .05em; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__float--tl { left: .5rem; } .hero__float--br { right: .5rem; }
}

/* Trust bar */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; padding: 1.1rem 0; }
.trust__item { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .95rem; justify-content: center; }
.trust__item svg { width: 26px; height: 26px; flex: none; color: #c99700; }

/* Problem section */
.problem__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.4rem; }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--muted); }
.section--dark .card p { color: rgba(255,255,255,.75); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.5rem 1.5rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.step__num { position: absolute; top: -18px; left: 1.5rem; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(242,183,5,.4); }
.step h3 { margin-top: .4rem; }
.step p { margin: 0; color: var(--muted); }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; display: grid; place-items: center; font-size: .85rem; margin-top: .1rem; }
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }

/* Comparison */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table th { background: #f4eee3; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.compare-table th.is-us { background: var(--accent); }
.compare-table td.is-us { background: var(--accent-soft); font-weight: 800; }
.compare-wrap { overflow-x: auto; }
.yes { color: var(--success); font-weight: 900; }
.no { color: var(--danger); font-weight: 900; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.review__text { font-size: 1.02rem; margin: 0; }
.review__meta { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--muted); margin-top: auto; }
.review__meta strong { color: var(--ink); }
.verified { color: var(--success); font-weight: 800; font-size: .8rem; }
.rating-summary { display: flex; align-items: center; gap: .8rem; justify-content: center; margin-bottom: 2rem; font-weight: 800; }
.rating-summary .stars { font-size: 1.3rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-weight: 800; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.2rem; color: var(--muted); }

/* CTA */
.cta { text-align: center; }
.cta__box { background: var(--dark); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; position: relative; overflow: hidden; }
.cta__box::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242,183,5,.35), transparent 65%); }
.cta__box > * { position: relative; }
.cta__box p { color: rgba(255,255,255,.75); max-width: 50ch; margin-inline: auto; }

/* Product page */
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.gallery__main { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: .6rem; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface); cursor: pointer; aspect-ratio: 1; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { border-color: var(--accent); }
.product__info { position: sticky; top: 90px; }
.product__title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: .4rem; }
.product__rating { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.product__price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.2rem; }
.product__price .price { font-size: 2rem; font-weight: 900; }
.product__price .compare { text-decoration: line-through; color: var(--muted); }
.product__price .save { background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; }
.product__desc { color: var(--muted); margin-bottom: 1.4rem; }
.variant-picker { margin-bottom: 1.2rem; }
.variant-picker legend { font-weight: 800; margin-bottom: .6rem; }
.variant-picker__opts { display: flex; flex-wrap: wrap; gap: .6rem; }
.variant-picker input { position: absolute; opacity: 0; pointer-events: none; }
.variant-picker label { border: 2px solid var(--line); background: var(--surface); border-radius: 12px; padding: .7rem 1.1rem; cursor: pointer; font-weight: 800; display: flex; flex-direction: column; min-width: 130px; }
.variant-picker label small { font-weight: 600; color: var(--muted); }
.variant-picker input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.variant-picker input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.variant-picker .tag { align-self: flex-start; background: var(--dark); color: #fff; font-size: .7rem; padding: .1rem .5rem; border-radius: 999px; margin-bottom: .3rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); margin-bottom: 1rem; }
.qty button { background: none; border: 0; font-size: 1.2rem; width: 42px; height: 44px; cursor: pointer; font-weight: 800; }
.qty input { width: 48px; text-align: center; border: 0; font: inherit; font-weight: 800; background: transparent; }
.product__guarantee { display: grid; gap: .6rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .95rem; }
.product__guarantee div { display: flex; gap: .6rem; align-items: center; }
.product__guarantee svg { width: 22px; height: 22px; color: #c99700; flex: none; }
.product__body { max-width: 760px; margin: 3rem auto 0; }
.product__body h2 { font-size: 1.5rem; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product__info { position: static; } .gallery__thumbs { grid-template-columns: repeat(4, 1fr); } }

/* Product grid / cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.product-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-card__body { padding: 1rem 1.2rem 1.2rem; }
.product-card__title { font-weight: 800; margin-bottom: .3rem; }
.product-card__price { font-weight: 800; }
.product-card__price s { color: var(--muted); font-weight: 600; margin-left: .4rem; }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .6rem 0; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 1rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 1rem; align-items: center; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.cart-item a { text-decoration: none; font-weight: 800; }
.cart-item small { display: block; color: var(--muted); }
.cart-summary { margin-top: 1.5rem; margin-left: auto; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.cart-summary__row { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.2rem; margin-bottom: .5rem; }
.cart-empty { text-align: center; padding: 3rem 0; }
.remove-link { font-size: .85rem; color: var(--muted); }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; margin-bottom: .8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__brand { font-weight: 900; font-size: 1.4rem; color: #fff; margin-bottom: .5rem; display: block; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: rgba(255,255,255,.55); }
.newsletter { display: flex; gap: .5rem; margin-top: .8rem; }
.newsletter input { flex: 1; padding: .8rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* Generic page */
.rte { max-width: 760px; margin: 0 auto; }
.rte img { border-radius: var(--radius-sm); }
.page-title { text-align: center; margin-bottom: 2rem; }
.form-field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.form-field input, .form-field textarea { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--surface); }
.errors { color: var(--danger); font-weight: 700; }
.search-form { display: flex; gap: .5rem; max-width: 560px; margin: 0 auto 2rem; }
.search-form input { flex: 1; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.pagination a, .pagination span { padding: .5rem .9rem; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
