/* =========================================================================
   Lighting & Hardware Distribution Inc. - style.css
   Marca: negro (#000000) + amarillo (#FFD20A)
   Secciones de producto/catalogo sobre fondo blanco (#FFFFFF)
   ========================================================================= */

:root {
  --c-black: #000000;
  --c-yellow: #FFD20A;
  --c-white: #FFFFFF;
  --c-gray-50: #f7f7f7;
  --c-gray-100: #eeeeee;
  --c-gray-300: #cccccc;
  --c-gray-600: #555555;
  --c-gray-900: #1a1a1a;
  --c-bnd-orange: #FF6720;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.18);
  --max-width: 1200px;
  --header-h: 78px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--c-gray-900);
  background: var(--c-white);
  line-height: 1.55;
  -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; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section--tight { padding: 40px 0; }
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: var(--c-gray-600);
  max-width: 640px;
  margin: 0 auto 36px;
}
.accent-bar {
  width: 64px;
  height: 5px;
  background: var(--c-yellow);
  margin: 0 auto 28px;
  border-radius: 3px;
}
.accent-bar--orange { background: var(--c-bnd-orange); }

/* Branded section titles (Stanley / Black+Decker category headers) */
.brand-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.brand-section-title__logo {
  height: 74px;
  width: auto;
  object-fit: contain;
}
.brand-section-title__logo--bnd { height: 74px; }
.brand-section-title__divider {
  width: 1px;
  height: 54px;
  background: var(--c-gray-300);
}
.brand-section-title .section-title {
  margin-bottom: 0;
}
.brand-section-title .section-title small {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--c-gray-600);
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Full-width colored band behind a brand section title (e.g. Black+Decker orange, Stanley yellow) */
.brand-band {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 14px 0 12px;
}
.brand-band .brand-section-title { margin-bottom: 0; }

.brand-band--bnd { background: var(--c-bnd-orange); }
.brand-band--bnd .brand-section-title__divider { background: rgba(255,255,255,.55); }
.brand-band--bnd .section-title,
.brand-band--bnd .section-title small { color: var(--c-white); }

.brand-band--stanley { background: var(--c-yellow); }
.brand-band--stanley .brand-section-title__divider { background: rgba(0,0,0,.35); }
.brand-band--stanley .section-title,
.brand-band--stanley .section-title small { color: var(--c-black); }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: .85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn--primary {
  background: var(--c-yellow);
  color: var(--c-black);
  border-color: var(--c-yellow);
}
.btn--primary:hover { background: #e6bd00; border-color: #e6bd00; }
body.brand-bnd .product-detail__actions .btn--primary {
  background: var(--c-bnd-orange);
  border-color: var(--c-bnd-orange);
  color: var(--c-white);
}
body.brand-bnd .product-detail__actions .btn--primary:hover {
  background: #d9601f;
  border-color: #d9601f;
}
.btn--dark {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}
.btn--dark:hover { background: #262626; }
.btn--outline {
  background: transparent;
  color: var(--c-black);
  border-color: var(--c-black);
}
.btn--outline:hover { background: var(--c-black); color: var(--c-white); }

/* ---------- Topbar (info superior) ---------- */
.topbar {
  background: var(--c-black);
  color: var(--c-gray-300);
  font-size: .8rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--c-yellow); }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item + .topbar__item { margin-left: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--c-white);
  border-bottom: 3px solid var(--c-black);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.brand__text {
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.1;
}
.brand__text span { display: block; font-size: .65rem; font-weight: 600; color: var(--c-gray-600); text-transform: none; letter-spacing: 0; }

/* Right-side brand logos (Stanley + Black+Decker) */
.header-brands {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-brands__logo {
  width: auto;
  object-fit: contain;
}
.header-brands__logo--stanley {
  height: 44px;
}
.header-brands__logo--bnd {
  height: 56px;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.is-active {
  background: var(--c-yellow);
  color: var(--c-black);
}

/* Brand dropdowns (Stanley / Black+Decker submenus) */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  border-radius: var(--radius);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--c-black);
}
.nav-dropdown__toggle .caret {
  font-size: .6rem;
  transition: transform .15s ease;
}
.nav-dropdown.is-open .nav-dropdown__toggle .caret {
  transform: rotate(180deg);
}
.nav-dropdown__toggle:hover,
.nav-dropdown__toggle.is-active {
  background: var(--c-yellow);
  color: var(--c-black);
}
.nav-dropdown--bnd .nav-dropdown__toggle:hover,
.nav-dropdown--bnd .nav-dropdown__toggle.is-active {
  background: var(--c-bnd-orange);
  color: var(--c-white);
}
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  min-width: 220px;
  background: var(--c-white);
  border: 2px solid var(--c-black);
  border-radius: var(--radius);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 600;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.nav-dropdown__menu a {
  display: block;
  padding: 10px 12px;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.is-active {
  background: var(--c-yellow);
  color: var(--c-black);
}
.nav-dropdown--bnd .nav-dropdown__menu a:hover,
.nav-dropdown--bnd .nav-dropdown__menu a.is-active {
  background: var(--c-bnd-orange);
  color: var(--c-white);
}
.nav-dropdown.is-open .nav-dropdown__menu {
  display: flex;
}
@media (min-width: 761px) {
  .nav-dropdown:hover .nav-dropdown__menu {
    display: flex;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--c-black);
  border-radius: 2px;
}

/* ---------- Hero / Banner Slider ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  aspect-ratio: 2.5 / 1;
  max-height: 620px;
  min-height: 280px;
  overflow: hidden;
  background: var(--c-black);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: center;
}
.hero-slide__caption {
  color: var(--c-white);
  max-width: 560px;
  padding: 0 6vw;
}
.hero-slide__caption .tag {
  display: inline-block;
  background: var(--c-yellow);
  color: var(--c-black);
  font-weight: 800;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.hero-slide__caption .tag--bnd { background: var(--c-bnd-orange); color: var(--c-white); }
.hero-slide__caption h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
}
.hero-slide__caption p { color: var(--c-gray-300); }

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--c-white);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active { background: var(--c-yellow); border-color: var(--c-yellow); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.45);
  color: var(--c-white);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover { background: var(--c-yellow); color: var(--c-black); }
.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }

/* ---------- Page header (paginas internas) ---------- */
.page-header {
  background: var(--c-black);
  color: var(--c-white);
  padding: 46px 0;
  text-align: center;
  border-bottom: 5px solid var(--c-yellow);
}
body.brand-bnd .page-header { border-bottom-color: var(--c-bnd-orange); }
.page-header h1 {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
}
.breadcrumbs {
  color: var(--c-gray-300);
  font-size: .85rem;
  margin-top: 6px;
}
.breadcrumbs a { color: var(--c-yellow); }

/* ---------- Categories grid (home) ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.categories-grid--bnd {
  grid-template-columns: repeat(3, 1fr);
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 230px;
  background: var(--c-gray-900);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}
.cat-card__overlay h3 {
  color: var(--c-white);
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.cat-card__overlay p { color: var(--c-gray-300); font-size: .85rem; margin: 0; }
.cat-card__overlay .tag-arrow {
  color: var(--c-yellow);
  font-weight: 700;
  font-size: .8rem;
  margin-top: 8px;
  text-transform: uppercase;
}

/* ---------- Catalog download section ---------- */
.catalog-section {
  background: var(--c-black);
  color: var(--c-white);
  border-top: 5px solid var(--c-yellow);
  border-bottom: 5px solid var(--c-bnd-orange);
}
.catalog-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.catalog-box__text h2 {
  text-transform: uppercase;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.catalog-box__text p { color: var(--c-gray-300); margin: 0; max-width: 520px; }
.catalog-box__icon {
  font-size: 2.4rem;
}
.catalog-banner-link {
  display: block;
  line-height: 0;
  transition: opacity .2s ease;
}
.catalog-banner-link:hover { opacity: .92; }
.catalog-banner-link img { width: 100%; height: auto; display: block; }

.catalog-banner {
  position: relative;
  line-height: 0;
  max-width: 1050px;
  margin: 0 auto;
}
.catalog-banner img { width: 100%; height: auto; display: block; }
.catalog-banner__hotspot {
  position: absolute;
  display: block;
  border-radius: 6px;
  outline: none;
  transition: box-shadow .2s ease, background .2s ease;
}
.catalog-banner__hotspot:hover,
.catalog-banner__hotspot:focus-visible {
  box-shadow: 0 0 0 3px rgba(255,255,255,.55) inset;
  background: rgba(255,255,255,.08);
}
.catalog-banner__hotspot--stanley {
  left: 18.75%;
  top: 85.8%;
  width: 24.05%;
  height: 8.3%;
}
.catalog-banner__hotspot--bnd {
  left: 58.3%;
  top: 85.8%;
  width: 23.94%;
  height: 8.3%;
}

/* ---------- Product grid (category page) ---------- */
.products-section { background: var(--c-white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card__img {
  height: 210px;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-card__img .img-hover-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
}
.product-card__img:hover .img-hover-alt { opacity: 1; }
.product-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-meta--card { margin-bottom: 6px; }
.product-meta--card .badge { font-size: .65rem; padding: 3px 8px; }
.product-meta--card .badge--sku { font-size: .78rem; padding: 4px 10px; }
.product-card__body h3 { font-size: 1.05rem; font-weight: 700; }
.product-card__body p { color: var(--c-gray-600); font-size: .9rem; flex: 1; }
.product-card__footer {
  padding: 0 18px 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-card__footer .btn { padding: 10px 16px; font-size: .75rem; }

/* ---------- Product detail page ---------- */
.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 46px;
}
.product-detail__img {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  min-height: 320px;
  position: relative;
}

/* ---------- Product image + live 3D packaging viewer (stacked) ---------- */
.pdimg-photo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdimg-photo img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
}

/* ---------- Color/finish thumbnail selector (click to set main photo) ---------- */
.pdimg-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.pdimg-thumb {
  width: 60px;
  height: 60px;
  padding: 4px;
  background: var(--c-white);
  border: 2px solid var(--c-gray-300);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease;
}
.pdimg-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdimg-thumb:hover { border-color: var(--c-gray-600); }
.pdimg-thumb.is-active { border-color: var(--c-bnd-orange); }

.pkgfront {
  width: 100%;
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f4f5f7 0%, #e7e9ed 100%);
  padding: 52px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pkgfront > img { max-width: 100%; max-height: 340px; object-fit: contain; display: block; mix-blend-mode: multiply; }
.pkgfront__opts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pkgfront__opt {
  font: inherit; font-size: 12px; font-weight: 700;
  padding: 5px 12px;
  background: var(--c-white);
  border: 2px solid var(--c-gray-300);
  border-radius: 999px;
  cursor: pointer;
}
.pkgfront__opt:hover { border-color: var(--c-gray-600); }
.pkgfront__opt.is-active { border-color: var(--c-bnd-orange); }
.box3d-canvas-wrap {
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #f4f5f7 0%, #e7e9ed 100%);
  display: block;
}
.box3d-canvas-wrap--spin { background: #fff; box-shadow: inset 0 0 0 1px var(--c-gray-300); }
.box3d-canvas-wrap canvas { width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.box3d-canvas-wrap:active canvas { cursor: grabbing; }
.box3d-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--c-black);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.box3d-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-bnd-orange);
  display: inline-block;
}
.box3d-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,20,.72);
  color: #fff;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
  transition: opacity .5s ease;
  white-space: nowrap;
  z-index: 4;
}
.box3d-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.box3d-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--c-gray-100);
  border-top-color: var(--c-bnd-orange);
  animation: box3d-spin .8s linear infinite;
}
@keyframes box3d-spin { to { transform: rotate(360deg); } }
.box3d-error {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: .85rem;
  color: var(--c-gray-600);
  z-index: 3;
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.4;
}
.badge--brand-stanley { background: var(--c-yellow); color: var(--c-black); }
.badge--brand-bnd { background: var(--c-bnd-orange); color: var(--c-white); }
.badge--sku {
  background: var(--c-gray-100);
  color: var(--c-gray-700, #444);
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: none;
}
.product-detail__info .product-meta .badge--brand-stanley,
.product-detail__info .product-meta .badge--brand-bnd {
  font-size: 1.05rem;
  padding: 9px 20px;
  border-radius: 6px;
  letter-spacing: .8px;
}
.product-detail__info .product-meta .badge--sku {
  font-size: .9rem;
  padding: 9px 18px;
}
.product-detail__info h1 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
}
.product-detail__info .lead { color: var(--c-gray-600); font-size: 1.05rem; }
.product-detail__specs {
  margin: 22px 0;
  padding: 18px 20px;
  background: var(--c-gray-50);
  border-left: 4px solid var(--c-yellow);
  border-radius: var(--radius);
}
body.brand-bnd .product-detail__specs { border-left-color: var(--c-bnd-orange); }
.product-detail__specs h4 { text-transform: uppercase; font-size: .85rem; letter-spacing: .5px; }
.product-detail__specs ul { margin-top: 8px; }
.product-detail__specs li {
  padding: 6px 0;
  border-bottom: 1px solid var(--c-gray-100);
  font-size: .92rem;
}
.product-detail__specs li:last-child { border-bottom: none; }
.product-detail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; font-weight: 700; color: var(--c-gray-600); }
.back-link:hover { color: var(--c-black); }

/* ---------- Contact / Forms ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--c-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 3px rgba(255,210,10,.35);
}
.form-note { font-size: .8rem; color: var(--c-gray-600); margin-top: 10px; }
.form-status { margin-top: 14px; font-weight: 700; }
.form-status.ok { color: #157a1f; }
.form-status.err { color: #b3261e; }

.contact-info-card {
  background: var(--c-black);
  color: var(--c-white);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-info-card h3 { text-transform: uppercase; color: var(--c-yellow); font-size: 1rem; }
.contact-info-card ul li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.contact-info-card ul li:last-child { border-bottom: none; }
.contact-info-card a { color: var(--c-white); }
.contact-info-card a:hover { color: var(--c-yellow); }

/* ---------- Generic content page (about, warranty, terms, distribution) ---------- */
.content-page { max-width: 880px; margin: 0 auto; }
.content-page h2 { text-transform: uppercase; font-size: 1.3rem; margin-top: 34px; }
.content-page h2:first-child { margin-top: 0; }
.content-page ul { margin: 0 0 1em 1.2em; list-style: disc; }
.content-page li { margin-bottom: 6px; }
.content-page.text-center ul { list-style-position: inside; margin-left: 0; }
.content-page h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 22px 0 8px;
  color: var(--c-gray-700, #333);
}
.content-page h2.text-center { text-align: center; }

.warranty-badges {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 36px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.warranty-badges img {
  height: 170px;
  width: auto;
  object-fit: contain;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  margin: 40px 0;
}
.stats-row .stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--c-black); }
.stats-row .stat span { color: var(--c-gray-600); font-size: .85rem; text-transform: uppercase; }

/* ---------- Image placeholder fallback ---------- */
.img-fallback {
  background: repeating-linear-gradient(45deg, var(--c-gray-100), var(--c-gray-100) 10px, var(--c-white) 10px, var(--c-white) 20px);
  color: var(--c-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 10px;
  width: 100%;
  height: 100%;
  min-height: 80px;
  border: 1px dashed var(--c-gray-300);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-black);
  color: var(--c-gray-300);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 50px 0 30px;
}
.footer-col h4 {
  color: var(--c-white);
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .5px;
  margin-bottom: 16px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  background: var(--c-yellow);
  margin-top: 8px;
}
.footer-col p, .footer-col a { color: var(--c-gray-300); font-size: .9rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--c-yellow); }
.footer-col a.btn--primary,
.footer-col a.btn--primary:hover { color: var(--c-black); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 34px; height: 34px;
  border: 1px solid var(--c-gray-600);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.social-row a:hover { background: var(--c-yellow); color: var(--c-black); border-color: var(--c-yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  font-size: .78rem;
  color: var(--c-gray-600);
  line-height: 1.7;
  text-align: center;
}
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom strong { color: var(--c-gray-300); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 992px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pdimg-gallery--dual { flex-direction: column; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    border-bottom: 3px solid var(--c-black);
    flex-direction: column;
    align-items: stretch;
    flex: none;
    justify-content: flex-start;
    padding: 8px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }
  .nav-dropdown__menu {
    position: static;
    margin-top: 0;
    border: none;
    box-shadow: none;
    padding: 0 0 6px 16px;
  }
  .header-brands { gap: 10px; }
  .header-brands__logo--stanley { height: 26px; }
  .header-brands__logo--bnd { height: 34px; }
  .brand__logo-img { height: 32px; }
  .nav-toggle { display: flex; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar__item + .topbar__item { margin-left: 12px; }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .catalog-box { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
