/* ==========================================================================
   Cure Exports — public site design system
   Athletic-industrial premium export brand: bold dark sections, editorial
   product photography, one confident brand red carried over from the
   original site, generous whitespace, condensed uppercase display type.
   ========================================================================== */

:root {
  --ink: #14100f;
  --ink-soft: #221c1a;
  --ink-line: rgba(20, 16, 15, .12);
  --paper: #f7f5f1;
  --paper-alt: #efebe4;
  --white: #ffffff;
  --primary: #b4031d;
  --primary-dark: #86021a;
  --primary-light: #e2394f;
  --accent: #c98a2c;
  --text: #201a18;
  --text-muted: #675e59;
  --text-on-dark: #f4f1ec;
  --text-on-dark-muted: #b7aca4;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 40px -12px rgba(20, 16, 15, .25);
  --shadow-sm: 0 4px 16px -6px rgba(20, 16, 15, .18);

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

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 575px) { .container { padding: 0 18px; } }

section { position: relative; }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--alt { background: var(--paper-alt); }

/* ---------------- Typography ---------------- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--primary); display: inline-block; }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .eyebrow::before { background: var(--accent); }

.h-display { font-size: clamp(2.4rem, 5.4vw, 4.4rem); text-transform: uppercase; letter-spacing: -.01em; }
.h-xl { font-size: clamp(2rem, 4vw, 3.1rem); text-transform: uppercase; }
.h-lg { font-size: clamp(1.6rem, 2.6vw, 2.3rem); text-transform: uppercase; }
.h-md { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-muted); line-height: 1.6; max-width: 60ch; }
.section--dark .lede { color: var(--text-on-dark-muted); }
p { line-height: 1.7; color: var(--text-muted); }
.section--dark p { color: var(--text-on-dark-muted); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .05em; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-alt); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn-outline { color: #fff; }
.section--dark .btn-outline:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .78rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247, 245, 241, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.site-header__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.site-header__logo img { height: 36px; width: auto; }
.site-header__logo-mark { color: var(--primary); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > li { position: relative; }
.site-nav > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 16px; font-weight: 600; font-size: .92rem;
  border-radius: 999px; transition: background-color .2s, color .2s;
}
.site-nav > li > a:hover, .site-nav > li.is-open > a { background: var(--ink); color: #fff; }

.site-nav > li.has-mega { padding-bottom: 14px; margin-bottom: -14px; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(880px, 82vw); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; display: none; grid-template-columns: repeat(3, 1fr); gap: 6px 24px;
  border: 1px solid var(--ink-line);
}
.site-nav > li.has-mega:hover .mega,
.site-nav > li.is-open .mega { display: grid; }
.mega a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: .9rem; color: var(--text); }
.mega a:hover { background: var(--paper-alt); color: var(--primary); }
.mega a i { width: 16px; text-align: center; color: var(--primary); flex-shrink: 0; }
.mega__cat { font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .03em; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1px solid var(--ink-line);
  transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--ink); color: #fff; }
.icon-btn__badge {
  position: absolute; top: -4px; right: -4px; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700;
  width: 19px; height: 19px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink-line); background: var(--white); align-items: center; justify-content: center; }
.nav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; }

/* Mobile nav */
@media (max-width: 991px) {
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); height: 100vh; background: var(--ink);
    flex-direction: column; align-items: stretch; padding: 90px 24px 24px; transform: translateX(100%);
    transition: transform .35s var(--ease); overflow-y: auto; gap: 2px; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > li > a { color: #fff; width: 100%; justify-content: space-between; }
  .site-nav > li > a:hover { background: rgba(255,255,255,.08); }
  .mega { position: static; transform: none; width: 100%; background: rgba(255,255,255,.05); box-shadow: none; border: none; grid-template-columns: 1fr; margin: 4px 0 10px; }
  .mega a { color: var(--text-on-dark-muted); }
  .mega a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .mega__cat { color: var(--accent); }
  .nav-toggle { display: inline-flex; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(20,16,15,.5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 999; }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
}

/* ---------------- Hero slider (admin-managed image/video slides) ---------------- */
.hero-slider { position: relative; background: var(--ink); color: #fff; height: min(86vh, 760px); min-height: 480px; overflow: hidden; }
.hero-slider .swiper-slide { position: relative; overflow: hidden; }
.hero-slide__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,15,.82) 0%, rgba(20,16,15,.55) 45%, rgba(20,16,15,.25) 100%); }
.hero-slide__body { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; }
.hero-slide__inner { padding-bottom: clamp(48px, 7vw, 84px); max-width: 640px; }
.hero-slide__title { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; line-height: 1.02; margin-bottom: 16px; }
.hero-slide__subtitle { color: var(--text-on-dark-muted); font-size: 1.05rem; margin-bottom: 26px; max-width: 50ch; }
.hero-slider .swiper-pagination-bullet { background: #fff; opacity: .5; }
.hero-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--primary); }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: #fff; opacity: .75; }
.hero-slider .swiper-button-next:hover, .hero-slider .swiper-button-prev:hover { opacity: 1; }

/* ---------------- Hero (static fallback, no admin slides yet) ---------------- */
.hero { background: var(--ink); color: #fff; padding: clamp(48px, 8vw, 60px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-bottom: clamp(40px, 6vw, 60px); }
.hero__kicker { color: var(--accent); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero__kicker::before { content: ''; width: 32px; height: 2px; background: var(--accent); }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.8rem); text-transform: uppercase; line-height: .98; margin-bottom: 22px; }
.hero__title em { font-style: normal; color: var(--primary-light); }
.hero__desc { color: var(--text-on-dark-muted); font-size: 1.08rem; max-width: 46ch; margin-bottom: 32px; line-height: 1.7; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__stats { display: flex; gap: clamp(24px, 4vw, 44px); flex-wrap: wrap; }
.hero__stat b { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.hero__stat span { color: var(--text-on-dark-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }

.hero__gallery { position: relative; height: clamp(360px, 46vw, 560px); }
.hero__tile {
  position: absolute; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow);
}
.hero__tile img { width: 100%; height: 100%; object-fit: cover; }
.hero__tile--a { width: 46%; height: 58%; top: 0; left: 0; z-index: 3; }
.hero__tile--b { width: 42%; height: 46%; top: 6%; right: 0; z-index: 2; }
.hero__tile--c { width: 50%; height: 44%; bottom: 0; right: 4%; z-index: 4; }
.hero__tile--d { width: 34%; height: 34%; bottom: 4%; left: 10%; z-index: 1; }
@media (max-width: 991px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__gallery { height: 340px; margin-top: 12px; }
}
@media (max-width: 575px) {
  .hero__ctas .btn { width: 100%; }
}

.hero__marquee-wrap { background: var(--ink); }
.hero__marquee { border-top: 1px solid rgba(255,255,255,.12); overflow: hidden; padding: 16px 0; }
.hero__marquee-track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.hero__marquee span { text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: .82rem; color: var(--text-on-dark-muted); display: inline-flex; align-items: center; gap: 56px; }
.hero__marquee span i { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero__marquee-track { animation: none; } }

/* ---------------- Category grid ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--ink); box-shadow: var(--shadow-sm); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,15,0) 30%, rgba(20,16,15,.88) 100%); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; color: #fff; }
.cat-card__count { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-on-dark-muted); margin-bottom: 6px; display: block; }
.cat-card__name { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; line-height: 1.2; margin: 0; }
.cat-card__arrow { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease); }
.cat-card:hover .cat-card__arrow { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---------------- Product grid & card ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 991px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink-line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); display: flex; flex-direction: column; height: 100%; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card__media { position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 999px; }
.product-card__body { padding: 16px 16px 18px; border-top: 1px solid var(--ink-line); flex-grow: 1; display: flex; flex-direction: column; }
.product-card__cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 4px; }
.product-card__name { font-size: .96rem; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.product-card__art { font-size: .78rem; color: var(--text-muted); margin-bottom: 12px; }
.product-card__footer { margin-top: auto; display: flex; gap: 8px; }
.product-card__footer .btn { flex: 1; padding: 10px 12px; font-size: .72rem; }

/* ---------------- Panels / feature cards ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 991px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { background: var(--white); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 28px 24px; }
.section--dark .feature-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.feature-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--paper-alt); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 18px; }
.section--dark .feature-card__icon { background: rgba(255,255,255,.08); color: var(--accent); }
.feature-card h3 { font-size: 1.02rem; text-transform: none; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: .92rem; }

/* ---------------- Split / about-intro ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media-badge { position: absolute; bottom: 20px; left: 20px; background: rgba(20,16,15,.85); backdrop-filter: blur(6px); color: #fff; padding: 14px 18px; border-radius: var(--radius); }
.split__media-badge b { display: block; font-size: 1.4rem; }
.split__media-badge span { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-on-dark-muted); }

/* ---------------- CTA band ---------------- */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 60px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 46ch; }
.cta-band .btn-light:hover { color: var(--primary); }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb-bar { border-bottom: 1px solid var(--ink-line); background: var(--paper-alt); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; font-size: .82rem; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ---------------- Page header ---------------- */
.page-header { padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); }
.page-header h1 { margin-bottom: 10px; }

/* ---------------- Subcategory pill list ---------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--ink-line); font-size: .84rem; font-weight: 600; background: #fff; transition: all .2s; }
.pill:hover, .pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- Subcategory grid (within category page) ---------------- */
.subcat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .subcat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .subcat-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.subcat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-sm); }
.subcat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.subcat-card:hover img { transform: scale(1.06); }
.subcat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,15,.05), rgba(20,16,15,.82)); }
.subcat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 2; color: #fff; }
.subcat-card__name { font-weight: 700; font-size: .95rem; margin: 0; }
.subcat-card__count { font-size: .72rem; color: var(--text-on-dark-muted); }

/* ---------------- Pagination ---------------- */
.pt-pagination__list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding-top: 8px; }
.pt-pagination__link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ink-line); font-weight: 600; font-size: .88rem; }
.pt-pagination__link:hover { background: var(--paper-alt); }
.pt-pagination__link.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- Product detail ---------------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; gap: 28px; } }
.pd-gallery__main { border: 1px solid var(--ink-line); border-radius: var(--radius); background: #fff; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.pd-info__cat a { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: .76rem; letter-spacing: .06em; }
.pd-info h1 { margin: 10px 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: none; }
.pd-info__art { color: var(--text-muted); font-size: .92rem; margin-bottom: 20px; }
.pd-specs { border-top: 1px solid var(--ink-line); margin-top: 22px; padding-top: 18px; display: grid; gap: 10px; }
.pd-specs__row { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; padding: 8px 0; border-bottom: 1px dashed var(--ink-line); }
.pd-specs__row b { color: var(--text); font-weight: 600; }
.pd-specs__row span:last-child { color: var(--text-muted); text-align: right; }
.pd-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pd-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-line); border-radius: 999px; overflow: hidden; }
.pd-qty button { width: 42px; height: 46px; background: var(--paper-alt); border: 0; font-size: 1.1rem; cursor: pointer; }
.pd-qty input { width: 56px; height: 46px; border: 0; text-align: center; font-weight: 700; font-size: 1rem; -moz-appearance: textfield; }
.pd-qty input::-webkit-outer-spin-button, .pd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------------- Forms ---------------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--ink-line);
  font-family: inherit; font-size: .94rem; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(180,3,29,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
/* display:none (not just off-screen) is what browser autofill actually
   respects — an off-screen-but-visible input still gets autofilled by
   Chrome/Edge, which was defeating this honeypot for real visitors. */
.form-hp-wrap { display: none !important; }
.form-card { background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }

.alert { padding: 15px 20px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 20px; }
.alert-success { background: #e7f6ec; color: #1c6b39; border: 1px solid #bfe6cc; }
.alert-error { background: #fdeceb; color: #a3231a; border: 1px solid #f6c6c1; }

/* ---------------- Contact info blocks ---------------- */
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-row__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-alt); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.section--dark .info-row__icon { background: rgba(255,255,255,.08); color: var(--accent); }
.info-row b { display: block; margin-bottom: 2px; }
.info-row span, .info-row a { color: var(--text-muted); font-size: .92rem; }
.section--dark .info-row span, .section--dark .info-row a { color: var(--text-on-dark-muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink-line); height: 360px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------------- Cart / inquiry table ---------------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding: 10px 12px; border-bottom: 1px solid var(--ink-line); }
.cart-table td { padding: 14px 12px; border-bottom: 1px solid var(--ink-line); vertical-align: middle; }
.cart-table__product { display: flex; align-items: center; gap: 12px; }
.cart-table__product img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--ink-line); border-radius: 8px; background: #fff; padding: 4px; }
.cart-qty { width: 70px; padding: 8px 10px; border: 1px solid var(--ink-line); border-radius: 8px; text-align: center; }
.remove-btn { color: var(--primary); font-size: .82rem; font-weight: 600; background: none; border: 0; cursor: pointer; padding: 6px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; text-transform: uppercase; font-size: 1.1rem; margin-bottom: 16px; }
.footer-brand img { height: 32px; }
.footer-col h4 { color: #fff; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; font-size: .9rem; }
.footer-col li > a { display: inline-flex; align-items: center; gap: 8px; }
.footer-col li i { color: var(--accent); width: 14px; text-align: center; flex-shrink: 0; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: .82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: #fff; }

/* ---------------- Floating action stack (WhatsApp + Quick Inquiry) ---------------- */
.float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.wa-float, .quick-inquiry-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff;
  box-shadow: var(--shadow); transition: transform .25s;
}
.wa-float { background: #25D366; box-shadow: 0 8px 24px rgba(37,211,102,.4); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.quick-inquiry-toggle { background: var(--primary); box-shadow: 0 8px 24px rgba(180,3,29,.4); cursor: pointer; }
.quick-inquiry-toggle:hover { transform: scale(1.08); }

.quick-inquiry-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 901; width: min(340px, calc(100vw - 44px));
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px;
  transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none; transition: all .25s var(--ease);
}
.quick-inquiry-panel.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.quick-inquiry-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.quick-inquiry-panel__head h3 { margin: 0; font-size: 1.05rem; text-transform: none; }
.quick-inquiry-close { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink-line); background: #fff; cursor: pointer; }
.quick-inquiry-panel .form-field { margin-bottom: 12px; }
.quick-inquiry-panel textarea { resize: vertical; }
@media (max-width: 480px) { .quick-inquiry-panel { bottom: 90px; right: 14px; } .float-stack { right: 14px; bottom: 14px; } }

/* ---------------- 404 ---------------- */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page__code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: var(--primary); line-height: 1; }

/* ---------------- Rich admin-authored content (About/Contact) ---------------- */
.rich-content { font-size: 1rem; line-height: 1.8; color: var(--text-muted); max-width: 80ch; }
.rich-content h2, .rich-content h3, .rich-content h4 { color: var(--text); text-transform: none; margin-top: 1.4em; }
.rich-content a { color: var(--primary); text-decoration: underline; }
.rich-content ul, .rich-content ol { padding-left: 1.4em; margin-bottom: 1em; }
.rich-content p { margin-bottom: 1em; }

/* ---------------- Utilities ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 2.4rem; color: var(--ink-line); margin-bottom: 14px; }

[data-aos] { transition-property: opacity, transform; }

::selection { background: var(--primary); color: #fff; }

/* ---------------- Colorful scrollbar ---------------- */
html { scrollbar-color: var(--primary) var(--paper-alt); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-alt); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 999px; border: 2px solid var(--paper-alt);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--primary-light), var(--primary-dark)); }
