/* ============================================================
   PROFORGE — homepage styles
   Palette: charcoal #12161f / safety orange #ff6a00 / light gray #f5f6f8
   ============================================================ */

:root {
  --orange: #ff6a00;
  --orange-dark: #e35d00;
  --ink: #12161f;
  --ink-2: #1d2430;
  --gray: #6b7280;
  --line: #e6e8ec;
  --bg: #f5f6f8;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(18, 22, 31, 0.08);
  --shadow-lg: 0 16px 48px rgba(18, 22, 31, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", -apple-system, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 0, 0.32); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { box-shadow: var(--shadow); }
.btn--ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); }
.btn--lg { padding: 14px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink); color: #cbd2dd;
  font-size: 12.5px;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__divider { width: 1px; height: 12px; background: #333c4c; }
.topbar__right a:hover { color: #fff; }
.topbar__select { color: #cbd2dd; font-size: 12.5px; font-weight: 600; }
.topbar__select:hover { color: #fff; }
.chev { font-size: 10px; }

/* ---------- Header ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 60; transition: box-shadow 0.2s; }
.header--stuck { box-shadow: 0 4px 18px rgba(18,22,31,0.08); }
.header__inner { display: flex; align-items: center; gap: 26px; padding: 16px 0; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff9145 100%);
  color: #fff; font-weight: 800; font-size: 17px;
  display: grid; place-items: center;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(255,106,0,0.35);
}
.logo__text { font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 600; line-height: 1.02; letter-spacing: 0.5px; }
.logo__text strong { color: var(--orange); }
.logo__text small { display: block; font-family: "Manrope", sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 2.2px; color: var(--gray); }

/* search */
.search {
  flex: 1; display: flex; align-items: stretch;
  border: 2px solid var(--ink); border-radius: 12px; overflow: hidden;
  background: #fff; height: 46px;
}
.search__cat select {
  border: none; outline: none; background: #f2f3f6; color: var(--ink);
  font: 600 13px/1 "Manrope", sans-serif; padding: 0 12px; cursor: pointer;
  border-right: 1px solid var(--line); max-width: 170px;
}
.search input { flex: 1; border: none; outline: none; padding: 0 16px; font: 500 14px "Manrope", sans-serif; }
.search__btn { background: var(--orange); color: #fff; width: 58px; display: grid; place-items: center; transition: background 0.15s; }
.search__btn:hover { background: var(--orange-dark); }

.header__actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.icon-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink); }
.icon-action:hover { color: var(--orange); }
.icon-action__label { font-size: 11px; font-weight: 600; }
.badge {
  position: absolute; top: -6px; right: -10px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 800;
  display: grid; place-items: center;
}
.burger { display: none; flex-direction: column; gap: 4px; padding: 6px; }
.burger span { width: 20px; height: 2.4px; background: var(--ink); border-radius: 2px; }

/* nav */
.nav { border-top: 1px solid var(--line); background: #fff; }
.nav__inner { display: flex; align-items: center; gap: 26px; height: 48px; font-size: 14px; font-weight: 600; }
.nav__inner a { color: var(--ink-2); position: relative; padding: 4px 0; }
.nav__inner a:hover { color: var(--orange); }
.nav__hot { color: var(--orange) !important; }
.nav__cat {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  padding: 9px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
  cursor: pointer; margin: 0 -6px;
}
.nav__cat:hover { background: var(--ink-2); }
.nav__right { margin-left: auto; font-size: 12px; color: var(--gray); font-weight: 600; }

/* category dropdown */
.cat-dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: none; padding: 22px 0 26px;
}
.cat-dropdown--open { display: block; }
.cat-dropdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-dropdown__grid a {
  display: flex; flex-direction: column; padding: 12px 14px; border-radius: 10px;
  transition: background 0.15s;
}
.cat-dropdown__grid a:hover { background: #fff4ec; }
.cat-dropdown__grid b { font-size: 14px; }
.cat-dropdown__grid small { color: var(--gray); font-size: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero__track { display: flex; transition: transform 0.65s cubic-bezier(0.33, 0.8, 0.3, 1); }
.hero__slide {
  min-width: 100%; height: 520px; position: relative;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,13,20,0.88) 0%, rgba(10,13,20,0.55) 45%, rgba(10,13,20,0.1) 75%);
}
.hero__shade--right { background: linear-gradient(270deg, rgba(10,13,20,0.88) 0%, rgba(10,13,20,0.55) 45%, rgba(10,13,20,0.1) 75%); }
.hero__content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero__content--right { margin-left: auto; text-align: right; }
.hero__content--right .hero__cta { justify-content: flex-end; }
.hero__eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2.4px;
  color: #ffb37a; border: 1px solid rgba(255,179,122,0.45); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 18px; backdrop-filter: blur(4px);
}
.hero__title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(38px, 5vw, 58px); font-weight: 800; line-height: 1.06;
  text-transform: uppercase; letter-spacing: 0.5px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero__sub { margin: 16px 0 26px; font-size: 16.5px; color: #d7dce4; max-width: 480px; }
.hero__content--right .hero__sub { margin-left: auto; }
.hero__cta { display: flex; gap: 14px; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(6px);
  transition: background 0.15s;
}
.hero__arrow:hover { background: var(--orange); }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }
.hero__dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero__dots button { width: 26px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.35); transition: all 0.2s; }
.hero__dots button.is-active { background: var(--orange); width: 40px; }

/* ---------- Services strip ---------- */
.services {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: -42px; position: relative; z-index: 10;
}
.service {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
}
.service__ico { font-size: 26px; }
.service b { display: block; font-size: 14.5px; }
.service small { color: var(--gray); font-size: 12.5px; }

/* ---------- Sections ---------- */
.section { margin: 64px auto; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section__title { font-family: "Barlow Condensed", sans-serif; font-size: 34px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.section__title::after { content: ""; display: block; width: 46px; height: 4px; background: var(--orange); border-radius: 2px; margin-top: 8px; }
.section__sub { color: var(--gray); font-size: 14.5px; margin-top: 10px; }
.link-more { font-weight: 700; font-size: 14px; color: var(--orange); }
.link-more:hover { text-decoration: underline; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2);
  transition: all 0.15s;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip--active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: #fff; border-radius: var(--radius); padding: 24px 22px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card__ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: #fff1e7; color: var(--orange); margin-bottom: 16px;
  transition: background 0.2s, color 0.2s;
}
.cat-card__ico svg { width: 27px; height: 27px; }
.cat-card:hover .cat-card__ico { background: var(--orange); color: #fff; }
.cat-card b { display: block; font-size: 16px; margin-bottom: 3px; }
.cat-card small { color: var(--gray); font-size: 12.5px; display: block; }
.cat-card__count {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 700; color: var(--gray);
  background: var(--bg); border-radius: 999px; padding: 3px 10px;
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #eef0f3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.8px;
  padding: 4px 10px; border-radius: 7px; color: #fff;
}
.card__badge--hot { background: #e5322d; }
.card__badge--new { background: #0aa06e; }
.card__badge--sale { background: var(--orange); }
.card__wish {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: #b6bcc6;
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: color 0.15s, transform 0.15s;
}
.card__wish:hover { color: #e5322d; transform: scale(1.08); }
.card__wish.is-on { color: #e5322d; }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: -42px;
  background: rgba(18,22,31,0.88); color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px; border-radius: 10px; backdrop-filter: blur(6px);
  transition: bottom 0.25s ease;
}
.card:hover .card__quick { bottom: 12px; }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__sku { color: var(--gray); font-size: 11.5px; letter-spacing: 0.3px; }
.card__name {
  font-size: 14.5px; font-weight: 700; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 39px;
}
.card__stars { color: #f5a623; font-size: 13px; font-weight: 800; }
.card__stars small { color: var(--gray); font-weight: 600; }
.card__price { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 6px; }
.card__price b { font-size: 20px; color: var(--ink); }
.card__price s { color: #a7adb8; font-size: 13.5px; }
.card__price em { font-style: normal; color: #e5322d; font-size: 12.5px; font-weight: 800; }

.empty { text-align: center; color: var(--gray); padding: 60px 0; font-size: 15px; }

/* ---------- Promo ---------- */
.promo { margin: 72px 0; }
.promo__inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  background: radial-gradient(120% 160% at 0% 0%, #232b3a 0%, #12161f 60%);
  border-radius: 22px; overflow: hidden; color: #fff;
  position: relative;
}
.promo__content { padding: 56px 54px; }
.promo__tag {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  padding: 7px 14px; border-radius: 8px; margin-bottom: 22px;
}
.promo__title { font-family: "Barlow Condensed", sans-serif; font-size: clamp(36px, 4vw, 52px); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.promo__title em { color: var(--orange); font-style: normal; }
.promo__text { color: #c3cad6; margin: 18px 0 26px; max-width: 460px; font-size: 15px; }
.countdown { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.countdown__cell {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px; padding: 10px 14px; text-align: center; min-width: 64px;
}
.countdown__cell b { display: block; font-size: 26px; font-family: "Barlow Condensed", sans-serif; font-variant-numeric: tabular-nums; }
.countdown__cell small { font-size: 10.5px; letter-spacing: 1.4px; color: #9aa3b2; text-transform: uppercase; }
.countdown__sep { color: #59616f; font-size: 22px; font-weight: 800; }
.promo__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.promo__img { position: relative; min-height: 100%; }
.promo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #12161f 0%, rgba(18,22,31,0) 40%); }

.coupons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.coupon {
  background: #fff; border: 1.5px dashed #ffc9a3; border-radius: 14px;
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
}
.coupon__left {
  text-align: center; color: var(--orange); padding-right: 16px;
  border-right: 1.5px dashed #ffc9a3; min-width: 64px;
}
.coupon__left b { display: block; font-size: 24px; font-family: "Barlow Condensed", sans-serif; }
.coupon__left small { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.coupon__mid { flex: 1; }
.coupon__mid b { display: block; font-size: 14.5px; }
.coupon__mid small { color: var(--gray); font-size: 12.5px; }
.coupon__get {
  background: #fff1e7; color: var(--orange); font-weight: 800; font-size: 12.5px;
  padding: 9px 16px; border-radius: 9px; transition: all 0.15s;
}
.coupon__get:hover:not(:disabled) { background: var(--orange); color: #fff; }
.coupon__get:disabled { color: #0aa06e; background: #e6f7f1; cursor: default; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; margin: 72px auto; }
.about__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.stat {
  background: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.stat b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 36px; font-weight: 800; color: var(--orange); }
.stat small { color: var(--gray); font-weight: 600; font-size: 12.5px; }
.about__body h2 { font-family: "Barlow Condensed", sans-serif; font-size: 34px; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.about__body p { color: #4b5361; margin-bottom: 12px; font-size: 15px; }
.about__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.about__tags span {
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
}

/* ---------- Newsletter ---------- */
.newsletter { background: var(--ink); color: #fff; padding: 44px 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter h3 { font-family: "Barlow Condensed", sans-serif; font-size: 28px; text-transform: uppercase; letter-spacing: 0.5px; }
.newsletter p { color: #9aa3b2; font-size: 14px; margin-top: 4px; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  width: 300px; max-width: 60vw; padding: 13px 18px; border-radius: 10px;
  border: 1px solid #38414f; background: #1b2230; color: #fff; outline: none;
  font: 500 14px "Manrope", sans-serif;
}
.newsletter__form input:focus { border-color: var(--orange); }

/* ---------- Footer ---------- */
.footer { background: #0c1017; color: #98a1b0; padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0.4px; }
.footer__col a { display: block; font-size: 13.5px; margin-bottom: 11px; transition: color 0.15s; }
.footer__col a:hover { color: var(--orange); }
.footer__brand p { font-size: 13.5px; margin: 14px 0; line-height: 1.7; }
.logo--light { color: #fff; }
.logo--light .logo__text small { color: #6d7686; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; background: #1a212e;
  display: grid; place-items: center; font-size: 14px; color: #cfd6e0;
}
.footer__social a:hover { background: var(--orange); color: #fff; }
.footer__bottom {
  border-top: 1px solid #1c2330; padding: 20px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px;
}
.footer__pay { display: flex; gap: 8px; }
.footer__pay span {
  background: #1a212e; border: 1px solid #262f40; color: #cfd6e0;
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 7px; letter-spacing: 0.4px;
}

/* ---------- Drawer (cart) ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); z-index: 90;
  background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(105%); transition: transform 0.32s cubic-bezier(0.33, 0.8, 0.3, 1);
  display: flex; flex-direction: column;
}
.drawer--open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer__head h3 { font-size: 18px; }
.drawer__close, .modal__close {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg);
  font-size: 14px; color: var(--gray); display: grid; place-items: center;
}
.drawer__close:hover, .modal__close:hover { background: var(--ink); color: #fff; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__info b {
  display: block; font-size: 13px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item__info > span { color: var(--gray); font-size: 12.5px; }
.cart-item__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item__right b { font-size: 15px; }
.cart-item__del { color: #e5322d; font-size: 12px; font-weight: 700; }
.cart-empty { text-align: center; color: var(--gray); padding: 50px 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.cart-empty span { font-size: 44px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; font-size: 16px; }
.drawer__total b { font-size: 20px; }
.drawer__note { color: var(--gray); font-size: 12px; text-align: center; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button { width: 32px; height: 34px; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.qty button:hover { background: var(--bg); }
.qty b { min-width: 34px; text-align: center; font-size: 14px; }
.qty--sm button { width: 26px; height: 26px; font-size: 13px; }
.qty--sm b { min-width: 26px; font-size: 13px; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.modal--open { opacity: 1; pointer-events: auto; }
.modal__card {
  background: #fff; border-radius: 20px; width: min(420px, 100%);
  padding: 34px 32px 26px; position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px); transition: transform 0.25s;
  max-height: 92vh; overflow-y: auto;
}
.modal--open .modal__card { transform: translateY(0); }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal__head { text-align: center; margin-bottom: 20px; }
.modal__head .logo__mark { margin: 0 auto 12px; }
.modal__head h3 { font-size: 22px; }
.modal__head p { color: var(--gray); font-size: 13.5px; margin-top: 4px; }

.tabs { display: flex; background: var(--bg); border-radius: 11px; padding: 4px; margin-bottom: 22px; }
.tab { flex: 1; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--gray); transition: all 0.15s; }
.tab--active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); outline: none; font: 500 14px "Manrope", sans-serif;
  transition: border-color 0.15s;
}
.field input:focus { border-color: var(--orange); }
.field__err { color: #e5322d; font-size: 12.5px; margin-top: 8px; display: block; min-height: 16px; }

.modal__alt { text-align: center; margin-top: 22px; }
.modal__alt > span { color: var(--gray); font-size: 12.5px; }
.modal__oauth { display: flex; gap: 10px; margin: 14px 0 16px; }
.oauth-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px;
  font-weight: 700; font-size: 13.5px; transition: all 0.15s;
}
.oauth-btn:hover { border-color: var(--orange); color: var(--orange); }
.oauth-btn b { font-size: 13px; }
.modal__legal { color: #a7adb8; font-size: 11.5px; line-height: 1.5; display: block; }

/* quick view */
.modal__card--wide { width: min(860px, 100%); padding: 0; overflow: hidden; }
.quick { display: grid; grid-template-columns: 1fr 1.1fr; }
.quick__img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.quick__info { padding: 34px 30px; display: flex; flex-direction: column; gap: 10px; }
.quick__info h3 { font-size: 21px; line-height: 1.3; }
.quick__desc { color: #4b5361; font-size: 14px; }
.quick__specs { width: 100%; border-collapse: collapse; margin: 4px 0 8px; }
.quick__specs td { padding: 7px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.quick__specs td:first-child { color: var(--gray); width: 42%; }
.quick__row { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.quick__ship { color: var(--gray); font-size: 12.5px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 80px);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
  padding: 13px 22px; border-radius: 12px; z-index: 120;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.33, 0.8, 0.3, 1), opacity 0.3s;
  max-width: 90vw; text-align: center;
}
.toast--show { transform: translate(-50%, 0); opacity: 1; }
.toast--info { background: #2b3444; }

/* ---------- To top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 18px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: all 0.25s;
}
.to-top--show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--orange); }

/* ---------- Scrim ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(10, 13, 20, 0.55);
  z-index: 85; opacity: 0; pointer-events: none; transition: opacity 0.25s;
  backdrop-filter: blur(2px);
}
.scrim--show { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .header__inner { flex-wrap: wrap; gap: 14px; }
  .search { order: 3; width: 100%; flex-basis: 100%; }
  .icon-action__label { display: none; }
  .badge { top: -4px; right: -8px; }
}
@media (max-width: 860px) {
  .product-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .promo__inner, .about { grid-template-columns: 1fr; }
  .promo__img { min-height: 260px; order: -1; }
  .promo__img::after { background: linear-gradient(0deg, rgba(18,22,31,0.85) 0%, rgba(18,22,31,0.1) 60%); }
  .promo__content { padding: 34px 28px 40px; }
  .coupons { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cat-dropdown__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__inner { overflow-x: auto; gap: 18px; }
  .nav__right { display: none; }
  .hero__slide { height: 440px; }
  .hero__content--right { text-align: left; }
  .hero__content--right .hero__sub { margin-left: 0; }
  .hero__content--right .hero__cta { justify-content: flex-start; }
  .quick { grid-template-columns: 1fr; }
  .quick__img { min-height: 260px; max-height: 300px; }
  .burger { display: flex; }
  .topbar__left { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 520px) {
  .product-grid, .cat-grid { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; width: 100%; }
  .newsletter__form input { width: 100%; max-width: none; }
  .hero__slide { height: 480px; }
  .hero__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WordPress-specific additions
   ============================================================ */

/* accessibility */
.screen-reader-text {
  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:focus {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  width: auto; height: auto; clip: auto; padding: 10px 18px;
  background: var(--orange); color: #fff; border-radius: 8px; font-weight: 700;
}

/* sticky header vs. WP admin bar */
body.admin-bar .header { top: 32px; }

/* nav menu items rendered by wp_nav_menu */
.nav__inner li { list-style: none; display: inline-flex; }
.nav__inner li a { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.nav__inner li a:hover { color: var(--orange); }
.nav__inner ul { display: contents; margin: 0; padding: 0; }

/* account link that is plain text */
.icon-action--text { font-size: 12.5px; font-weight: 700; color: var(--gray); align-self: center; }
.icon-action--text:hover { color: var(--orange); }

/* page heads / breadcrumbs */
.page-head { padding: 44px 0 0; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-size: 12.5px; color: var(--gray); padding-top: 26px;
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb__current { color: var(--ink); font-weight: 600; }

/* product detail */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  margin-top: 28px; align-items: start;
}
.product-detail__media {
  border-radius: 18px; overflow: hidden; background: #eef0f3; border: 1px solid var(--line);
}
.product-detail__media img { width: 100%; display: block; }
.product-detail__info h1 { font-size: 30px; line-height: 1.25; margin: 6px 0 10px; }
.product-detail__excerpt { color: #4b5361; font-size: 15px; margin: 6px 0 16px; }
.product-detail__actions { display: flex; gap: 12px; margin: 18px 0 22px; flex-wrap: wrap; }
.card__price--lg b { font-size: 30px; }
.card__price--lg s { font-size: 16px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-row span {
  background: #eef1f5; color: #39404d; font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}
.btn--dark-outline { color: var(--ink); border-color: var(--ink); }
.btn--dark-outline:hover { background: var(--ink); color: #fff; }
.product-content { margin-top: 40px; }

/* generic content */
.entry-content { font-size: 15.5px; line-height: 1.75; color: #39404d; }
.entry-content h2, .entry-content h3 { margin: 28px 0 10px; color: var(--ink); }
.entry-content p { margin-bottom: 16px; }
.entry-content a { color: var(--orange); text-decoration: underline; }
.entry-content img { border-radius: 12px; height: auto; }
.page-body { max-width: 820px; margin: 30px auto 70px; }

.post-list { display: grid; gap: 16px; }
.post-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.post-item h2 { font-size: 19px; margin-bottom: 6px; }
.post-item h2 a:hover { color: var(--orange); }
.post-item p { color: var(--gray); font-size: 14px; }

.pf-pagination { display: flex; gap: 8px; justify-content: center; margin: 34px 0 10px; }
.pf-pagination .page-numbers {
  min-width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 9px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 14px;
}
.pf-pagination .page-numbers.current,
.pf-pagination .page-numbers:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* inquiry drawer form */
.field--tight { margin-bottom: 10px; }
.field--tight span { font-size: 12px; }
.field--tight input, .field--tight textarea {
  width: 100%; padding: 10px 12px; border-radius: 9px;
  border: 1.5px solid var(--line); outline: none;
  font: 500 13.5px "Manrope", sans-serif;
}
.field--tight textarea { resize: vertical; }
.field--tight input:focus, .field--tight textarea:focus { border-color: var(--orange); }
.checkline { display: flex; align-items: center; gap: 8px; margin: 4px 0 16px; font-size: 13px; color: var(--gray); }
.checkline input { accent-color: var(--orange); }

@media (max-width: 860px) {
  body.admin-bar .header { top: 46px; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-detail__info h1 { font-size: 24px; }
}
