/* ==========================================================================
   PandaPack — design system
   Brand orange, marketplace style
   ========================================================================== */

:root {
  /* brand — orange */
  --brand-50:  #FFF7F1;
  --brand-100: #FEEBDD;
  --brand-200: #FCD3B4;
  --brand-300: #F9B183;
  --brand-400: #F58B4C;
  --brand-500: #EB6617;
  --brand-600: #D2540B;
  --brand-700: #AE4109;
  --brand-800: #8A340C;
  --brand-900: #6F2C0E;

  --ink:      #1A1614;
  --ink-2:    #3D3531;
  --muted:    #6E635C;
  --muted-2:  #998D86;
  --line:     #E9E3DE;
  --line-2:   #F4EFEB;
  --bg:       #FFFFFF;
  --bg-soft:  #FBF8F5;
  --bg-warm:  #FFF5ED;

  --ok:   #1E7F4F;
  --warn: #B7791F;

  --radius-sm: 3px;
  --radius:    6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --shadow-xs: 0 1px 2px rgba(26, 22, 20, .06);
  --shadow-sm: 0 2px 8px rgba(26, 22, 20, .07);
  --shadow:    0 8px 24px rgba(26, 22, 20, .09);
  --shadow-lg: 0 20px 48px rgba(26, 22, 20, .13);

  --wrap: 1240px;
  --gap: 24px;

  --font: "Manrope Variable", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", "Noto Sans SC",
          "Hiragino Kaku Gothic ProN", "Yu Gothic", "Malgun Gothic",
          "Noto Naskh Arabic", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; transition: color .16s var(--ease); }
a:hover { color: var(--brand-700); }

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

ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-200); color: var(--ink); }

/* ------------------------------------------------------------ layout ---- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 18px;
}

.section { padding: clamp(52px, 7vw, 92px) 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.stack > * + * { margin-top: var(--gap); }

/* ----------------------------------------------------------- headings --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--brand-500);
}

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head--split h2 small { color: var(--brand-600); font-size: .72rem; letter-spacing: .08em; }
.lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--muted); }

/* ----------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background-color .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 6px 18px rgba(235, 102, 23, .3);
}
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 10px 26px rgba(235, 102, 23, .38); }

.btn--ghost { border-color: var(--brand-500); color: var(--brand-600); background: transparent; }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-700); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: #fff; color: var(--brand-800); }

.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.14); color: #fff; }

.btn--sm { padding: 9px 18px; font-size: .86rem; }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------ header ---- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.86);
  font-size: .82rem;
}
.topbar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding-block: 6px;
}
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__tag { color: var(--brand-300); font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__logo { width: 44px; height: auto; display: block; flex: 0 0 auto; }
.brand__mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--brand-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  box-shadow: 0 4px 12px rgba(235,102,23,.32);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.14rem; color: var(--ink); letter-spacing: -.02em; }
.brand__sub { font-size: .68rem; color: var(--muted-2); letter-spacing: .09em; text-transform: uppercase; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.nav--bar { padding: 4px 20px; border-top: none; background: var(--brand-600); }
.nav__link {
  padding: 8px 13px;
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}
.nav__link:hover { background: var(--brand-700); color: #fff; }
.nav__link[aria-current="page"] { color: #fff; background: var(--brand-800); }
.nav__link--all { font-weight: 800; color: #fff; }

.search {
  flex: 1 1 320px;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline: auto;
  padding: 4px 4px 4px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.search:focus-within {
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-100);
}
.search__cat {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-2);
  padding-right: 12px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  flex: 0 0 auto;
}
.search svg { width: 18px; height: 18px; color: var(--muted-2); flex: 0 0 auto; }
.search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 0;
  font-size: .95rem;
  min-width: 0;
}
.search input:focus { outline: none; }
.search button {
  border: none;
  background: var(--brand-500);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
}
.search button:hover { background: var(--brand-600); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.inquiry-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-600);
  font-size: .72rem;
  font-weight: 800;
  margin-inline-start: 6px;
  line-height: 1;
}
.inquiry-count[hidden] { display: none; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .site-header__in { justify-content: space-between; }
}

/* mobile nav */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
@media (max-width: 1120px) { .nav-toggle { display: grid; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px 0 18px;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a {
  display: block;
  padding: 11px 4px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav a:hover { color: var(--brand-600); }

/* ---------------------------------------------------- language picker --- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .87rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.lang__btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.lang__btn svg { width: 15px; height: 15px; opacity: .6; }
.lang__menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 210px;
  max-height: 60vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 7px;
  display: none;
  z-index: 80;
}
.lang__menu[data-open="true"] { display: block; }
.lang__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
}
.lang__item:hover { background: var(--brand-50); color: var(--brand-700); }
.lang__item[aria-current="true"] { background: var(--brand-500); color: #fff; font-weight: 700; }
.lang__code { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }

/* --------------------------------------------- shop hero (menu + slider) -- */
.shop-hero { background: var(--bg-soft); padding: 22px 0 30px; }
.shop-hero__grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
  align-items: stretch;
}
.shop-col { display: flex; flex-direction: column; gap: 18px; }
.shop-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--brand-600);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 48px);
  overflow: hidden;
  min-height: 240px;
}
.banner__body { max-width: 520px; z-index: 2; }
.banner__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 10px;
}
.banner__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.16; margin-bottom: 10px; }
.banner__text { font-size: 1rem; color: rgba(255,255,255,.92); margin-bottom: 22px; max-width: 46ch; }
.banner__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-stack { display: flex; flex-direction: column; gap: 12px; flex: 0 0 auto; z-index: 1; min-width: 210px; }
.promo {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
}
.promo b { display: block; font-size: 1rem; margin-bottom: 2px; }
.promo span { font-size: .82rem; color: rgba(255,255,255,.85); }
.side-serve { background: var(--brand-50); border-color: var(--brand-200); }
.side-card__p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.55; }
.side-tel__phone {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-600);
  letter-spacing: -.01em;
}
.side-tel__mail { display: block; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.side-tel__mail:hover { color: var(--brand-600); }
.cat-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.cat-menu__head {
  padding: 13px 18px;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  background: var(--brand-500);
  color: #fff;
  flex: 0 0 auto;
}
.cat-menu__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  flex: 1;
}
.cat-menu__item { position: relative; }
.cat-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-2);
  border-radius: 4px;
}
.cat-menu__link:hover { background: var(--brand-50); color: var(--brand-700); }
.cat-menu__link i {
  font-style: normal;
  font-size: .76rem;
  color: var(--muted-2);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 1px 8px;
}
.cat-menu__link:hover i { color: var(--brand-600); background: var(--brand-100); }

.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  background: var(--brand-500);
  box-shadow: var(--shadow-sm);
}
.slider__track { position: relative; min-height: 380px; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(30px, 4.5vw, 60px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide--orange { background: var(--brand-500); }
.slide--blue { background: var(--brand-700); }
.slide--dark { background: #1f2937; }
.slide__body { max-width: 560px; color: #fff; }
.slide__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}
.slide__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: #fff; margin-bottom: 12px; line-height: 1.12; }
.slide__text { font-size: 1.04rem; color: rgba(255,255,255,.92); margin-bottom: 24px; max-width: 460px; }
.slider__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}
.slider__dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.42);
  cursor: pointer;
  padding: 0;
}
.slider__dot.is-active { background: #fff; }
.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,.22);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
}
.slider__nav:hover { background: rgba(0,0,0,.38); }
.slider__nav--prev { left: 14px; }
.slider__nav--next { right: 14px; }

.shop-side { display: flex; flex-direction: column; gap: 18px; }
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}
.side-card--quote {
  background: var(--brand-500);
  border: none;
  color: #fff;
}
.side-card__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 10px;
}
.side-card--quote h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.side-card--quote p { color: rgba(255,255,255,.9); font-size: .9rem; margin-bottom: 16px; }
.side-card__title { font-size: 1.02rem; margin-bottom: 12px; }
.side-card__links { display: flex; flex-direction: column; gap: 4px; }
.side-card__links a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--ink-2);
}
.side-card__links a:hover { background: var(--brand-50); color: var(--brand-700); }

@media (max-width: 960px) {
  .shop-hero__grid { grid-template-columns: 1fr; }
  .shop-col { display: none; }
  .promo-stack { display: none; }
}

/* -------------------------------------------------------------- hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-600);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -140px;
  bottom: -190px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  pointer-events: none;
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,.93); font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.28);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.25);
}
.hero__stat b { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.hero__stat span { font-size: .82rem; opacity: .84; }

.hero__media { position: relative; }
.hero__card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: 0 30px 70px rgba(90, 30, 0, .3);
}
.hero__card img { border-radius: var(--radius-lg); width: 100%; background: var(--bg-soft); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.hero__grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__media { order: -1; }
}

/* --------------------------------------------------------------- card --- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }

.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.06rem; margin-bottom: 8px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand-600); }
.card__text { font-size: .92rem; color: var(--muted); flex: 1; }
.card__foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-weight: 800; font-size: 1rem; color: var(--brand-600); letter-spacing: -.01em; }
.card__more { font-weight: 700; font-size: .89rem; color: var(--brand-600); display: inline-flex; align-items: center; gap: 6px; }
.card__more::after { content: "→"; transition: transform .18s var(--ease); }
.card:hover .card__more::after { transform: translateX(4px); }
.card__inquire {
  padding: 6px 13px;
  border: 1px solid var(--brand-500);
  border-radius: 6px;
  background: var(--brand-500);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.card__inquire:hover { background: var(--brand-600); border-color: var(--brand-600); }
.card__inquire.is-added { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-300); }

[dir="rtl"] .card__more::after { content: "←"; }
[dir="rtl"] .card:hover .card__more::after { transform: translateX(-4px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--brand-100);
  color: var(--brand-700);
}
.badge--dark { background: var(--ink); color: #fff; }
.badge--soft { background: var(--bg-soft); color: var(--muted); }

/* category tile */
.cat {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.cat__media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.06); }
.cat__body { padding: 16px 18px 20px; }
.cat__title { font-size: 1.04rem; color: var(--ink); margin-bottom: 6px; }
.cat__meta { font-size: .84rem; color: var(--muted-2); }

/* ------------------------------------------------------------- prose ---- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 13px; text-align: start; }
.prose th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-inline-start: 4px solid var(--brand-500);
  background: var(--brand-50);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose ul { padding-inline-start: 1.3em; }

/* --------------------------------------------------------- spec table --- */
.specs { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.specs tr { border-bottom: 1px solid var(--line-2); }
.specs tr:last-child { border-bottom: 0; }
.specs th {
  text-align: start;
  padding: 12px 16px;
  background: var(--bg-soft);
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  width: 34%;
  vertical-align: top;
}
.specs td { padding: 12px 16px; font-size: .94rem; color: var(--ink-2); }

/* ------------------------------------------------------------ gallery --- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gallery__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: zoom-in;
  padding: 8px;
}
.gallery__item img { width: 100%; height: 100%; object-fit: contain; }

/* --------------------------------------------------------- breadcrumb --- */
.crumbs { font-size: .85rem; color: var(--muted-2); padding: 18px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-600); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------- form --- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .87rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .95rem;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.field__hint { font-size: .79rem; color: var(--muted-2); }

/* -------------------------------------------------------------- panel --- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
}
.panel--warm { background: var(--bg-warm); border-color: var(--brand-100); }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--brand-500); margin-top: 3px; }
.info-list b { display: block; color: var(--ink); font-size: .88rem; }
.info-list span { color: var(--muted); font-size: .95rem; }

.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.03rem; margin-bottom: 5px; }
.feature p { font-size: .92rem; color: var(--muted); }

.featbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.featbar__item { display: flex; gap: 14px; align-items: center; }
.featbar__item h3 { font-size: 1rem; margin: 0 0 3px; }
.featbar__item span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .featbar { grid-template-columns: repeat(2, 1fr); }
}

.hot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hcard {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.hcard-img { flex: 0 0 74px; }
.hcard-img img {
  width: 74px; height: 74px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.hcard-body { min-width: 0; }
.hcard-body h3 { font-size: .95rem; margin: 0 0 4px; }
.hcard-body h3 a:hover { color: var(--brand-600); }
.hcard-body p {
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hcard-price { font-weight: 800; color: var(--brand-600); font-size: .9rem; }
@media (max-width: 900px) {
  .hot-row { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------- footer --- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(46px, 6vw, 72px) 0 0; }
.site-footer h4 { color: #fff; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .93rem; }
.site-footer a:hover { color: var(--brand-300); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255,255,255,.5); }
.footer__brand p { font-size: .92rem; margin-top: 16px; max-width: 40ch; }
.footer__bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* --------------------------------------------------------------- misc --- */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.group-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  white-space: nowrap;
}
.pill:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pill[aria-current="page"] { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }

.cta-band {
  background: var(--brand-600);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(30px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 58ch; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; }
.stat { text-align: center; padding: 20px 12px; }
.stat b { display: block; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--brand-500); letter-spacing: -.03em; }
.stat span { font-size: .87rem; color: var(--muted); }

.visually-hidden {
  position: absolute; 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;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-500);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}
.skip-link:focus { inset-inline-start: 0; color: #fff; }

/* ---------------------------------------------------------------- rtl --- */
[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .card__more::after { content: "←"; }

@media print {
  .site-header, .topbar, .site-footer, .cta-band { display: none; }
}

/* -------------------------------------------------- product detail media --- */
/* 产品详情页主图 + 缩略图：限制尺寸，避免竖版大图撑破两列布局 */
#pdpMain {
  max-height: 560px;
  object-fit: contain;
}
.pdp-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  flex: 0 0 auto;
  transition: border-color .2s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { border-color: var(--brand-200, var(--brand-500)); }
.pdp-thumb.is-active { border-color: var(--brand-500); }
@media (max-width: 900px) {
  #pdpMain { max-height: 420px; }
}
