/* ============================================================
   MAQUINARIA SEMINUEVA — MAIN STYLESHEET
   Stack: Tailwind CSS + Custom CSS
   Fonts: Inter (body) · Sora (headings)
   Paleta: Primary #F26822 · Secondary #333A26 · Accent #F2B01E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&family=Sora:wght@400;600;700;800&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --primary:    #F26822;
  --primary-dk: #d95918;
  --secondary:  #333A26;
  --light:      #CFCAC6;
  --accent:     #F2B01E;
  --accent-dk:  #d99a10;
  --white:      #FFFFFF;
  --black:      #1A1A1A;
  --bg:         #F7F6F4;
  --card:       #FFFFFF;
  --border:     #DDD9D5;
  --text:       #1A1A1A;
  --muted:      #6B6560;
  --nav-h:      72px;
  --radius:     6px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.07);
  --shadow-md:  0 4px 16px rgba(0,0,0,.09);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --ease:       0.25s ease;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  line-height: 1.18;
  font-weight: 700;
  color: var(--black);
}

/* ── Layout helpers ──────────────────────────────────────── */
.ms-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.ms-section       { padding: 5rem 0; }
.ms-section-sm    { padding: 3rem 0; }
.ms-section-dark  { background: var(--secondary); }
.ms-section-light { background: var(--light); }
.ms-section-white { background: var(--white); }
.page-wrap        { padding-top: var(--nav-h); }

/* ── Buttons ─────────────────────────────────────────────── */
.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  font-family: 'Sora', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.ms-btn:hover { transform: translateY(-2px); }
.ms-btn-primary   { background: var(--primary); color: var(--white); }
.ms-btn-primary:hover { background: var(--primary-dk); }
.ms-btn-outline   { border-color: var(--primary); color: var(--primary); background: transparent; }
.ms-btn-outline:hover { background: var(--primary); color: var(--white); }
.ms-btn-secondary { background: var(--secondary); color: var(--white); }
.ms-btn-secondary:hover { background: var(--black); }
.ms-btn-white     { background: var(--white); color: var(--primary); }
.ms-btn-white:hover { background: var(--bg); }
.ms-btn-wa        { background: #25D366; color: var(--white); }
.ms-btn-wa:hover  { background: #1ebe5d; }
.ms-btn-sm { padding: .45rem 1rem; font-size: .8rem; }
.ms-btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.ms-btn-block { width: 100%; }

/* ── Badges ──────────────────────────────────────────────── */
.ms-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 3px;
}
.ms-badge-accent    { background: var(--accent);   color: var(--black); }
.ms-badge-primary   { background: var(--primary);  color: var(--white); }
.ms-badge-secondary { background: var(--secondary); color: var(--white); }
.ms-badge-green     { background: #D1FAE5; color: #065F46; }
.ms-badge-red       { background: #FEE2E2; color: #991B1B; }

/* ── ─────────────────────────────────────────────────────── */
/* ── NAVBAR ─────────────────────────────────────────────── */
/* ── ─────────────────────────────────────────────────────── */
#ms-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--secondary);
  z-index: 1000;
  transition: height var(--ease), box-shadow var(--ease), background var(--ease);
}
#ms-navbar.scrolled {
  height: 60px;
  background: var(--black);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: height var(--ease);
}
#ms-navbar.scrolled .nav-logo-img { height: 34px; }
.nav-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-text em {
  font-style: normal;
  color: var(--accent);
}
.nav-logo-sub {
  font-size: .65rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  display: block;
  letter-spacing: .04em;
}

/* Main menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .125rem;
  list-style: none;
  flex: 1;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem .875rem;
  font-size: .8375rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: color var(--ease), background var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.nav-link i.chevron { font-size: .65rem; transition: transform var(--ease); }
.nav-item:hover .nav-link { color: var(--white); }
.nav-link.active { color: var(--accent); }
.nav-item:hover .nav-link i.chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
  z-index: 200;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem 1rem;
  font-size: .8375rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--ease), background var(--ease), padding-left var(--ease);
}
.nav-dd-item:last-child { border-bottom: none; }
.nav-dd-item i { color: var(--primary); width: 16px; font-size: .75rem; flex-shrink: 0; }
.nav-dd-item:hover { color: var(--primary); background: #FFF8F5; padding-left: 1.25rem; }
.nav-dd-empty {
  padding: .875rem 1rem;
  font-size: .8rem;
  color: var(--muted);
  font-style: italic;
}

/* Search in nav */
.nav-search { position: relative; }
.nav-search-input {
  width: 190px;
  padding: .4rem 2.25rem .4rem .8rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  font-size: .8rem;
  color: var(--white);
  transition: width var(--ease), border-color var(--ease), background var(--ease);
}
.nav-search-input::placeholder { color: rgba(255,255,255,.45); }
.nav-search-input:focus {
  outline: none;
  width: 230px;
  border-color: var(--accent);
  background: rgba(255,255,255,.15);
}
.nav-search-btn {
  position: absolute;
  right: .6rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  transition: color var(--ease);
}
.nav-search-btn:hover { color: var(--accent); }

/* Nav CTA */
.nav-actions { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  transition: background var(--ease);
}
.nav-hamburger:hover { background: rgba(255,255,255,.08); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
  margin: 0 auto;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
#nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
#nav-mobile.open { transform: translateX(0); }

.mob-search {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.mob-search input {
  flex: 1;
  padding: .6rem 1rem;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .875rem;
}
.mob-search input::placeholder { color: rgba(255,255,255,.4); }
.mob-search input:focus { outline: none; border-color: var(--primary); }
.mob-search button {
  padding: .6rem .9rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: .875rem;
}

.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 0;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mob-link i.chevron { font-size: .75rem; transition: transform var(--ease); color: rgba(255,255,255,.4); }
.mob-link.sub-open i.chevron { transform: rotate(180deg); }

.mob-sub {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.mob-sub.open { max-height: 600px; }
.mob-sub a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .75rem .6rem 1.25rem;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color var(--ease);
}
.mob-sub a i { color: var(--primary); font-size: .75rem; width: 14px; }
.mob-sub a:hover { color: var(--accent); }

.mob-cta-area {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-top: 1.5rem;
}

/* ── ─────────────────────────────────────────────────────── */
/* ── HERO / SLIDER ───────────────────────────────────────── */
/* ── ─────────────────────────────────────────────────────── */
.ms-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--secondary);
  opacity: .48;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .325rem .875rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title .hl { color: var(--accent); }
.hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slide structure */
.hero-slides-wrap { position: relative; min-height: 88vh; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .75s ease;
  pointer-events: none;
  background: var(--secondary);
  overflow: hidden;
}
.hero-slide.active {
  opacity: 1;
  position: relative;
  min-height: 88vh;
  pointer-events: all;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: all var(--ease);
}
.slider-dot.active { background: var(--accent); width: 28px; border-radius: 4px; }

/* Slider arrows */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--ease), border-color var(--ease);
}
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
.slider-prev:hover, .slider-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ── Stats bar ───────────────────────────────────────────── */
.ms-stats-bar {
  background: var(--primary);
  padding: 1.375rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .25rem;
  display: block;
}

/* ── Section heading ─────────────────────────────────────── */
.ms-section-header { margin-bottom: 2.75rem; }
.ms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .625rem;
}
.ms-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--primary);
  flex-shrink: 0;
}
.ms-section-title {
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 800;
  color: var(--black);
}
.ms-section-title.on-dark { color: var(--white); }
.ms-section-sub {
  margin-top: .75rem;
  font-size: .9375rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.ms-section-sub.on-dark { color: rgba(255,255,255,.65); }

/* ── Category cards ──────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1rem;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--secondary);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  display: block;
}
.cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: opacity var(--ease), transform .4s ease;
}
.cat-card:hover .cat-card-img { opacity: .7; transform: scale(1.05); }
.cat-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .75rem .875rem;
  background: rgba(51,58,38,.85);
}
.cat-card-name {
  font-family: 'Sora', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.25;
}
.cat-card-count {
  font-size: .7rem;
  color: var(--accent);
  margin-top: .2rem;
  display: block;
}
.cat-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 2rem;
}
.cat-placeholder span { font-size: .7rem; margin-top: .375rem; }

/* ── Product card ────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.pc-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #F0EDEB;
}
.pc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.product-card:hover .pc-img-wrap img { transform: scale(1.05); }
.pc-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 3rem;
}
.pc-no-img span { font-size: .7rem; margin-top: .375rem; color: var(--muted); }
.pc-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  z-index: 1;
}
.pc-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pc-cat {
  font-size: .7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .3rem;
}
.pc-name {
  font-family: 'Sora', sans-serif;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: .5rem;
  flex: 1;
}
.pc-sku {
  font-size: .72rem;
  color: var(--muted);
  font-family: 'Inter', monospace;
  margin-bottom: .875rem;
}
.pc-actions {
  display: flex;
  gap: .5rem;
}
.pc-actions .ms-btn { flex: 1; padding: .55rem .625rem; font-size: .775rem; }

/* ── Filter bar ──────────────────────────────────────────── */
.ms-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.ms-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.ms-pill:hover  { border-color: var(--primary); color: var(--primary); }
.ms-pill.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.ms-pill i { font-size: .7rem; }

/* ── Search box ──────────────────────────────────────────── */
.ms-search-box { position: relative; }
.ms-search-box input {
  width: 100%;
  padding: .75rem 3rem .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.ms-search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242,104,34,.12);
}
.ms-search-btn {
  position: absolute;
  right: .875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.ms-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .375rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.ms-breadcrumb a { color: var(--muted); transition: color var(--ease); }
.ms-breadcrumb a:hover { color: var(--primary); }
.ms-breadcrumb .sep { color: var(--border); font-size: .7rem; }
.ms-breadcrumb .current { color: var(--primary); font-weight: 600; }

/* ── Page banner ─────────────────────────────────────────── */
.ms-page-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--secondary);
}
.ms-page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}
.ms-page-banner-body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 2rem;
}
.ms-page-banner-body h1 {
  color: var(--white);
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* ── Product detail ──────────────────────────────────────── */
.pd-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.pd-gallery { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.pd-main-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #F0EDEB;
  margin-bottom: .75rem;
  cursor: zoom-in;
}
.pd-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease;
}
.pd-thumbs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.pd-thumb {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--ease);
}
.pd-thumb.active { border-color: var(--primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-info {}
.pd-cat-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.pd-title {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.125rem;
}
.pd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.pd-meta-item {}
.pd-meta-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  display: block;
  margin-bottom: .2rem;
}
.pd-meta-val {
  font-size: .9rem;
  font-weight: 600;
  color: var(--black);
  display: block;
}
.pd-meta-val.ok   { color: #166534; }
.pd-meta-val.out  { color: #991B1B; }
.pd-meta-val.sku  { font-family: 'Inter', monospace; color: var(--muted); font-weight: 400; }

.pd-desc {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.pd-desc h1, .pd-desc h2, .pd-desc h3 {
  font-size: 1.05rem;
  color: var(--black);
  margin: 1.125rem 0 .5rem;
  font-weight: 700;
}
.pd-desc p  { margin-bottom: .875rem; }
.pd-desc ul, .pd-desc ol { padding-left: 1.375rem; margin-bottom: .875rem; }
.pd-desc li { margin-bottom: .35rem; }
.pd-desc strong { color: var(--black); font-weight: 600; }
.pd-desc a { color: var(--primary); text-decoration: underline; }
.pd-desc img { border-radius: var(--radius); margin: 1rem 0; }

.pd-cta { display: flex; flex-direction: column; gap: .75rem; }
.pd-cta .ms-btn { padding: .875rem; font-size: .9rem; }

/* ── Static page content ─────────────────────────────────── */
.page-body-wrap { max-width: 880px; margin: 0 auto; }
.page-body-wrap h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; color: var(--black); }
.page-body-wrap h3 { font-size: 1.175rem; margin: 1.5rem 0 .5rem; color: var(--primary); }
.page-body-wrap p  { margin-bottom: 1rem; color: var(--muted); line-height: 1.8; }
.page-body-wrap ul, .page-body-wrap ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-body-wrap li { margin-bottom: .5rem; color: var(--muted); line-height: 1.7; }
.page-body-wrap img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.page-body-wrap a  { color: var(--primary); text-decoration: underline; }
.page-body-wrap blockquote {
  border-left: 4px solid var(--primary);
  padding: .875rem 1.25rem;
  background: #FFF8F5;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-style: italic;
  margin: 1.5rem 0;
}
.page-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin-top: 2rem; }
.page-gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); cursor: pointer; transition: opacity var(--ease); }
.page-gallery img:hover { opacity: .85; }

/* ── Features / why us ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.125rem;
}
.feature-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  transition: transform var(--ease), box-shadow var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feat-icon {
  width: 50px; height: 50px;
  background: #FFF3EE;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1.125rem;
}
.feat-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--black);
}
.feat-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA section ─────────────────────────────────────────── */
.ms-cta-section {
  background: var(--secondary);
  text-align: center;
  padding: 5.5rem 0;
}
.ms-cta-section h2 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .875rem; }
.ms-cta-section p  { color: rgba(255,255,255,.68); max-width: 520px; margin: 0 auto 2rem; font-size: .9375rem; line-height: 1.75; }
.ms-cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
#ms-footer {
  background: var(--black);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-logo-img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}
.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 1.375rem;
}
.footer-socials { display: flex; gap: .5rem; }
.footer-soc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  transition: all var(--ease);
}
.footer-soc-link:hover { border-color: var(--primary); color: var(--primary); }
.footer-col-title {
  font-family: 'Sora', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.125rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: .375rem;
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.footer-links a i { font-size: .65rem; color: var(--primary); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
  line-height: 1.5;
}
.footer-contact-item i { color: var(--primary); flex-shrink: 0; margin-top: .15rem; }
.footer-contact-item a { color: rgba(255,255,255,.55); transition: color var(--ease); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  padding: 1.125rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--ease); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── Cookie banner ───────────────────────────────────────── */
#ms-cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.25rem 1.375rem;
  z-index: 9000;
  box-shadow: var(--shadow-lg);
  display: none;
}
#ms-cookie-banner.show {
  display: block;
  animation: msSlideUp .4s ease forwards;
}
.cookie-title {
  font-family: 'Sora', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .375rem;
}
.cookie-text {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cookie-actions { display: flex; gap: .5rem; }
.cookie-actions .ms-btn { padding: .475rem 1.125rem; font-size: .78rem; }

/* ── WhatsApp float ──────────────────────────────────────── */
#ms-wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 8500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.wa-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
  transition: transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
}
.wa-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}
.wa-float-tooltip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .45rem .875rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(6px);
  transition: all var(--ease);
  pointer-events: none;
}
#ms-wa-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── Pagination ──────────────────────────────────────────── */
.ms-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .375rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.ms-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 .5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  transition: all var(--ease);
}
.ms-page-link:hover { border-color: var(--primary); color: var(--primary); }
.ms-page-link.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.ms-page-link.disabled { opacity: .4; pointer-events: none; }

/* ── Empty state ─────────────────────────────────────────── */
.ms-empty-state {
  text-align: center;
  padding: 4.5rem 2rem;
  color: var(--muted);
}
.ms-empty-state i { font-size: 3.5rem; margin-bottom: 1.125rem; opacity: .35; display: block; }
.ms-empty-state h3 { font-size: 1.2rem; color: var(--black); margin-bottom: .5rem; }
.ms-empty-state p { font-size: .9rem; }

/* ── Divider ─────────────────────────────────────────────── */
.ms-divider {
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}
.ms-divider-accent {
  height: 3px;
  background: var(--primary);
  width: 48px;
  border-radius: 2px;
  margin: 1rem 0 2rem;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes msSlideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes msFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes msShimmer {
  to { transform: translateX(100%); }
}

/* Anime.js target classes (start state) */
[data-anim] { opacity: 0; }

/* Skeleton */
.ms-skeleton {
  background: var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.ms-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.45);
  transform: translateX(-100%);
  animation: msShimmer 1.5s infinite;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu, .nav-search { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .ms-hero, .hero-slides-wrap { min-height: 72vh; }
  .hero-slide.active { min-height: 72vh; }
  .ms-page-banner { height: 220px; }
}
@media (max-width: 540px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .ms-btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  #ms-cookie-banner { left: .75rem; right: .75rem; max-width: none; bottom: .75rem; }
  .ms-cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ── ─────────────────────────────────────────────────────── */
/* ── CONTACT PAGE ────────────────────────────────────────── */
/* ── ─────────────────────────────────────────────────────── */
.contact-hero {
  background: var(--secondary);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-form-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.contact-form-body { padding: 1.75rem; }
.contact-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.contact-label i { color: var(--primary); margin-right: .3rem; }
.contact-input {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.contact-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242,104,34,.1);
}
.contact-input::placeholder { color: var(--light); }
.contact-input option { background: var(--white); }
.contact-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.contact-type-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem .875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: all var(--ease);
}
.contact-type-card i { color: var(--primary); }
.contact-type-card:hover,
.contact-type-card.selected {
  border-color: var(--primary);
  background: #FFF8F5;
  color: var(--primary);
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-info-header {
  padding: 1.25rem 1.5rem;
  background: var(--secondary);
}
.contact-info-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.contact-info-body { padding: 0 1.5rem; }
.contact-info-row {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-icon {
  width: 36px; height: 36px;
  background: #FFF3EE;
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .875rem;
}
.contact-info-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .2rem;
}
.contact-info-value {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}
.contact-info-value a { color: var(--muted); transition: color var(--ease); }
.contact-info-value a:hover { color: var(--primary); }
.contact-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-alert-ok {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-left: 4px solid #22C55E;
}
.contact-alert-ok i { color: #22C55E; }
.contact-alert-err {
  background: #FFF8F5;
  border: 1px solid #FDBA74;
  border-left: 4px solid var(--primary);
}
.contact-alert-err i { color: var(--primary); }
.contact-alert-title { font-family: 'Sora',sans-serif; font-size: .875rem; font-weight: 700; }
.contact-alert-msg   { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
@media (max-width: 768px) {
  .contact-type-grid { grid-template-columns: 1fr 1fr; }
}
