/* Safe Hardware Tools – brand palette from logo */
:root {
  /* Logo primary – royal blue (SH monogram) */
  --sht-blue: #1565c0;
  --sht-blue-dark: #0d47a1;
  --sht-blue-darker: #0a3570;
  --sht-blue-light: #42a5f5;
  --sht-blue-pale: #e8f2fc;

  /* Complementary accent – warm gold (pairs with blue, not in logo) */
  --sht-accent: #c99700;
  --sht-accent-dark: #9a7600;
  --sht-accent-light: #f0c14b;

  /* Logo neutrals */
  --sht-black: #111111;
  --sht-dark: #1a1a1a;
  --sht-gray: #f4f6f8;
  --sht-gray-border: #dde4ec;
  --sht-gray-mid: #5c6b7a;
  --sht-white: #ffffff;

  /* Aliases – keeps existing btn-red / btn-amber classes working */
  --sht-red: var(--sht-blue);
  --sht-red-dark: var(--sht-blue-dark);
  --sht-amber: var(--sht-accent);
  --sht-amber-dark: var(--sht-accent-dark);

  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --font-main: var(--font-heading);
  --header-height: 72px;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--sht-black);
  margin: 0;
  background: var(--sht-white);
  line-height: 1.6;
}

h1, h2, h3, h4, .section-title, .header-nav-link, .btn, .product-card-title, .category-card .card-label, .price-tag {
  font-family: var(--font-heading);
}

body, p, label, input, select, textarea, .form-control {
  font-family: var(--font-body);
}

a { color: var(--sht-blue); text-decoration: none; }
a:hover { color: var(--sht-blue-dark); }

/* Header – brand-first, clean nav strip */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--sht-white);
  box-shadow: 0 2px 16px rgba(13, 71, 161, 0.07);
}

.header-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--sht-blue-dark), var(--sht-blue), var(--sht-blue-light));
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Brand block: logo only */
.header-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 1rem 0 .75rem;
}

.header-logo {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.header-logo img {
  height: 100px;
  width: auto;
  max-width: min(380px, 85vw);
  display: block;
}

.header-nav-cart {
  gap: .4rem;
}

.nav-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 .3rem;
  margin-left: .15rem;
  border-radius: 999px;
  background: var(--sht-accent);
  color: var(--sht-black);
  font-size: .65rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
  vertical-align: middle;
}

/* Floating WhatsApp */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  text-decoration: none;
  box-shadow:
    0 4px 14px rgba(37, 211, 102, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  color: #fff !important;
  transform: scale(1.08);
  box-shadow:
    0 6px 20px rgba(37, 211, 102, 0.5),
    0 10px 28px rgba(0, 0, 0, 0.18);
}

.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Nav strip – flat, no overlap into hero */
.header-nav {
  border-top: 1px solid var(--sht-gray-border);
  border-bottom: 3px solid var(--sht-blue);
  background: linear-gradient(180deg, #fafcfe 0%, var(--sht-white) 100%);
}

.header-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.header-nav-list > li {
  position: relative;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sht-gray-mid);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-nav-link:hover,
.header-nav-link.is-active,
.nav-dropdown.is-open > .header-nav-link {
  color: var(--sht-blue-dark);
  background: var(--sht-blue-pale);
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: .5rem;
  background: var(--sht-white);
  border: 1px solid var(--sht-gray-border);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(13, 71, 161, 0.16);
  z-index: 1002;
}

.nav-dropdown.is-open .dropdown-menu {
  display: block;
}

@media (min-width: 1025px) {
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-menu a {
  display: block;
  padding: .55rem .85rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--sht-black);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s;
}

.dropdown-menu a:hover {
  background: var(--sht-blue-pale);
  color: var(--sht-blue-dark);
}

.dropdown-menu-all {
  margin-top: .25rem;
  padding-top: .55rem !important;
  border-top: 1px solid var(--sht-gray-border);
  color: var(--sht-blue) !important;
  font-weight: 700 !important;
}

.btn {
  display: inline-block;
  padding: .55rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .88rem;
  font-family: var(--font-main);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2); }

/* Primary – logo blue */
.btn-red,
.btn-primary {
  background: var(--sht-blue);
  color: var(--sht-white) !important;
}
.btn-red:hover,
.btn-primary:hover {
  background: var(--sht-blue-dark);
  color: var(--sht-white) !important;
}

/* Secondary – warm gold accent */
.btn-amber,
.btn-accent {
  background: var(--sht-accent);
  color: var(--sht-black) !important;
}
.btn-amber:hover,
.btn-accent:hover {
  background: var(--sht-accent-dark);
  color: var(--sht-white) !important;
}

.btn-outline {
  border: 2px solid var(--sht-blue);
  color: var(--sht-blue) !important;
  background: transparent;
}
.btn-outline:hover {
  background: var(--sht-blue-pale);
  color: var(--sht-blue-dark) !important;
}

/* Legacy name – cart on light header */
.btn-outline-light {
  border: 2px solid var(--sht-blue);
  color: var(--sht-blue) !important;
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--sht-blue-pale);
  color: var(--sht-blue-dark) !important;
}

.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

.btn-sm {
  padding: .4rem .75rem;
  font-size: .75rem;
}

.cart-badge {
  background: var(--sht-blue);
  color: var(--sht-white);
  border-radius: 50%;
  font-size: .7rem;
  padding: 2px 6px;
  margin-left: 4px;
  font-weight: 800;
}

/* Hero slider */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sht-white);
  text-align: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.32) 100%
    ),
    linear-gradient(
      135deg,
      rgba(13, 71, 161, 0.62) 0%,
      rgba(21, 101, 192, 0.5) 50%,
      rgba(10, 53, 112, 0.65) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 .75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.75rem;
  opacity: .95;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero .btn-red { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); }
.hero .btn-amber { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); }

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--sht-white);
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.05);
}

.hero-nav-prev { left: 1rem; }
.hero-nav-next { right: 1rem; }

.hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.hero-dot.is-active,
.hero-dot:hover {
  background: var(--sht-white);
  border-color: var(--sht-white);
  transform: scale(1.15);
}

@media (max-width: 600px) {
  .hero { min-height: 400px; }
  .hero-nav { width: 40px; height: 40px; font-size: 1.1rem; }
  .hero-nav-prev { left: 0.5rem; }
  .hero-nav-next { right: 0.5rem; }
}

/* Sections */
.section { padding: 3.5rem 1.25rem; }
.section-alt { background: var(--sht-blue-pale); }
.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  color: var(--sht-blue-dark);
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 2rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--sht-blue);
  margin: .5rem auto 0;
}

.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: -0.75rem auto 2rem;
  color: var(--sht-gray-mid);
  line-height: 1.6;
}

.section-empty {
  text-align: center;
  color: var(--sht-gray-mid);
}

.search-bar-select {
  max-width: 200px;
}

/* Product & category grids */
.product-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--sht-white);
  border: 1px solid var(--sht-gray-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.product-card:hover {
  border-color: var(--sht-blue-light);
}

.product-card-media {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f6f8fa;
  border-bottom: 1px solid var(--sht-gray-border);
}

.product-card-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 1rem 1rem;
  gap: 0.35rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sht-blue-dark);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.product-card-title:hover {
  color: var(--sht-blue);
}

.product-card-price {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sht-accent-dark);
  font-family: var(--font-heading);
}

.product-card-price--quote {
  color: var(--sht-gray-mid);
  font-weight: 600;
  font-size: 0.8125rem;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: auto;
  padding-top: 0.65rem;
}

.product-card-actions .add-to-cart-form--compact {
  display: flex;
  min-width: 0;
  margin: 0;
}

/* Matched pair: View + Add */
.product-card-btn,
.product-card-actions .add-to-cart-form--compact .product-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.375rem;
  padding: 0.5rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 6px;
  box-sizing: border-box;
  text-align: center;
}

.product-card-actions a.product-card-btn.btn-outline {
  border: 1px solid var(--sht-blue);
  background: var(--sht-white);
  color: var(--sht-blue) !important;
  text-decoration: none;
}

.product-card-actions a.product-card-btn.btn-outline:hover {
  background: var(--sht-blue-pale);
  color: var(--sht-blue-dark) !important;
  transform: none;
  box-shadow: none;
}

.product-card-actions .product-card-btn.btn-red {
  border: 1px solid var(--sht-blue);
}

.product-card-actions .product-card-btn.btn-red:hover {
  transform: none;
  box-shadow: none;
}

/* Category card */
.category-card {
  background: var(--sht-white);
  border: 1px solid var(--sht-gray-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.category-card:hover {
  border-color: var(--sht-blue-light);
}

.category-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.category-card-image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f6f8fa;
}

.category-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.category-card .card-label {
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  font-family: var(--font-heading);
  color: var(--sht-blue-dark);
  background: var(--sht-white);
  border-top: 1px solid var(--sht-gray-border);
}

.add-to-cart-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.add-to-cart-form--compact {
  margin: 0;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

.product-actions .qty-label {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
}

.product-actions .qty-input {
  width: 72px;
}

.out-of-stock-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--sht-gray-mid);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  text-align: center;
  padding: 1.5rem;
  background: var(--sht-white);
  border-radius: 10px;
  border-top: 4px solid var(--sht-blue);
  box-shadow: 0 2px 12px rgba(13, 71, 161, 0.06);
}

.feature-box .icon {
  font-size: 2.5rem;
  color: var(--sht-blue);
  margin-bottom: .5rem;
}

.feature-box h3 {
  font-family: var(--font-main);
  color: var(--sht-blue-dark);
}

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-preview { grid-template-columns: 1fr; }
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; }
}

.product-detail img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(13, 71, 161, 0.12);
  border: 1px solid var(--sht-gray-border);
}

.product-detail img[src*="product-placeholder"] {
  object-fit: contain;
  padding: 2rem;
  background: linear-gradient(145deg, #e8f2fc 0%, #f4f8fc 100%);
  max-height: 420px;
}

.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.spec-table th, .spec-table td {
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--sht-gray-border);
  text-align: left;
}
.spec-table th { width: 35%; color: var(--sht-gray-mid); font-weight: 600; }

.badge {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
}
.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-warning { background: #fff8e1; color: #9a7600; }
.badge-danger { background: #ffebee; color: #b71c1c; }

.price-tag {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sht-blue-dark);
  margin: 1rem 0;
  font-family: var(--font-main);
}

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--sht-black); }
.form-control {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--sht-gray-border);
  border-radius: 6px;
  font-size: 1rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--sht-blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}

.alert {
  padding: .85rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.alert-success { background: #e8f5e9; color: #1b5e20; }
.alert-danger { background: #ffebee; color: #b71c1c; }
.alert-info { background: var(--sht-blue-pale); color: var(--sht-blue-dark); }

/* Cart page */
.cart-page .section-title { display: none; }

.cart-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--sht-gray-border);
}

.cart-page-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--sht-blue-dark);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.cart-page-subtitle {
  margin: .35rem 0 0;
  color: var(--sht-gray-mid);
  font-size: .95rem;
}

.cart-header-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--sht-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.cart-header-link:hover { color: var(--sht-blue-dark); }

.cart-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 440px;
  margin: 0 auto;
  background: var(--sht-white);
  border-radius: 8px;
  border: 1px solid var(--sht-gray-border);
}

.cart-empty-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sht-blue-pale);
  border-radius: 50%;
  color: var(--sht-blue);
  font-size: 2.25rem;
}

.cart-empty h2 {
  font-family: var(--font-heading);
  color: var(--sht-blue-dark);
  margin: 0 0 .5rem;
  font-size: 1.35rem;
}

.cart-empty p {
  color: var(--sht-gray-mid);
  margin: 0 0 1.5rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 340px);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-live-status {
  font-size: .8125rem;
  color: var(--sht-blue);
  font-weight: 600;
  margin: 0 0 .75rem;
  min-height: 1.25rem;
}

.cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--sht-white);
  border: 1px solid var(--sht-gray-border);
  border-radius: 8px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cart-item-card.is-updating {
  opacity: 0.65;
  pointer-events: none;
}

.cart-item-card.is-removing {
  opacity: 0;
  transform: translateX(-8px);
}

.cart-item-image {
  display: block;
  line-height: 0;
}

.cart-item-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--sht-gray-border);
  background: var(--sht-blue-pale);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--sht-blue-dark);
  text-decoration: none;
  line-height: 1.35;
}

.cart-item-name:hover { color: var(--sht-blue); }

.cart-item-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--sht-gray-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.cart-item-remove:hover {
  background: #ffebee;
  color: #b71c1c;
}

.cart-item-unit {
  margin: .35rem 0 .85rem;
  font-size: .875rem;
  color: var(--sht-gray-mid);
}

.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

/* Quantity stepper – no native number arrows */
.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--sht-gray-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--sht-white);
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--sht-white);
  color: var(--sht-blue-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.qty-btn:hover:not(:disabled) {
  background: var(--sht-blue-pale);
  color: var(--sht-blue);
}

.qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-value {
  width: 44px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--sht-gray-border);
  border-right: 1px solid var(--sht-gray-border);
  background: var(--sht-white);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sht-blue-dark);
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-value:focus { outline: none; }

.cart-item-subtotal {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sht-blue-dark);
  white-space: nowrap;
}

.cart-footer-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.cart-clear-btn {
  border: none;
  background: none;
  color: var(--sht-gray-mid);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem 0;
}

.cart-clear-btn:hover { color: #b71c1c; }

.cart-summary-inner {
  background: var(--sht-white);
  border: 1px solid var(--sht-gray-border);
  border-radius: 8px;
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}

.cart-summary-inner h2 {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--sht-blue-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--sht-gray-mid);
  margin-bottom: 1rem;
}

.cart-summary-row span:last-child {
  font-weight: 700;
  color: var(--sht-black);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid var(--sht-gray-border);
  border-bottom: 1px solid var(--sht-gray-border);
}

.cart-summary-total span:first-child {
  font-weight: 600;
  color: var(--sht-blue-dark);
}

.cart-summary-total strong {
  font-size: 1.35rem;
  color: var(--sht-blue-dark);
  font-family: var(--font-heading);
  font-weight: 800;
}

.cart-summary-note {
  font-size: .8125rem;
  color: var(--sht-gray-mid);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.cart-checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.cart-summary-trust {
  margin: 0;
  font-size: .75rem;
  color: var(--sht-gray-mid);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.cart-summary-trust i { color: var(--sht-blue); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 2.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

.checkout-form h2 {
  font-size: 1rem;
  font-family: var(--font-heading);
  color: var(--sht-blue-dark);
  margin: 0 0 1rem;
}

.checkout-summary {
  background: var(--sht-blue-pale);
  border-radius: 10px;
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}

.checkout-summary h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: var(--sht-blue-dark);
}

.checkout-items {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.checkout-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: .65rem;
  align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(21, 101, 192, 0.12);
  font-size: .875rem;
}

.checkout-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.checkout-item strong { display: block; }

.checkout-item-price {
  font-weight: 700;
  color: var(--sht-blue-dark);
  white-space: nowrap;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sht-blue-dark);
  font-family: var(--font-heading);
}

.cart-toast {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 1100;
  max-width: 320px;
  padding: .85rem 1.1rem;
  background: var(--sht-blue-dark);
  color: var(--sht-white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-size: .9rem;
  font-weight: 500;
  animation: cart-toast-in 0.25s ease;
}

.cart-toast.is-error { background: #b71c1c; }

@keyframes cart-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .cart-item-card {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .cart-item-image img {
    width: 80px;
    height: 80px;
  }

  .cart-item-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .cart-item-subtotal { align-self: flex-end; }
}

/* Footer */
.site-footer {
  background: var(--sht-black);
  color: #b0bec5;
  padding: 3rem 1.25rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--sht-white);
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: var(--font-main);
  letter-spacing: .05em;
}

.site-footer a { color: #90a4ae; }
.site-footer a:hover { color: var(--sht-accent-light); }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  font-size: .9rem;
}

.footer-admin-link {
  display: inline-block;
  margin-left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #4a5568;
  opacity: 0.35;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.footer-admin-link:hover {
  opacity: 0.65;
  color: #718096;
  text-decoration: none;
}

.brand-strip {
  height: 6px;
  background: linear-gradient(90deg, var(--sht-blue-dark), var(--sht-blue), var(--sht-blue-light));
}

/* Search bar */
.search-bar {
  display: flex;
  gap: .5rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
}
.search-bar .form-control { flex: 1; min-width: 160px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: .5rem .85rem;
  border: 1px solid var(--sht-gray-border);
  border-radius: 6px;
  color: var(--sht-blue);
}
.pagination a:hover { background: var(--sht-blue-pale); }
.pagination .active {
  background: var(--sht-blue);
  color: white;
  border-color: var(--sht-blue);
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--sht-white);
  border: 1px solid var(--sht-gray-border);
  color: var(--sht-blue-dark);
  font-size: 1.35rem;
  border-radius: 10px;
  cursor: pointer;
}

@media (min-width: 1025px) {
  .header-logo img {
    height: 108px;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 1rem;
  }

  .header-brand {
    min-height: 88px;
    padding: .75rem 3rem .65rem 0;
  }

  .header-logo img {
    height: 76px;
  }

  .menu-toggle {
    display: flex;
  }

  .whatsapp-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
    font-size: 1.65rem;
  }

  .header-nav {
    display: none;
  }

  .header-nav.open {
    display: block;
  }

  .header-nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .header-nav-link {
    width: 100%;
    justify-content: space-between;
  }

  .header-nav-link:hover,
  .header-nav-link.is-active,
  .nav-dropdown.is-open > .header-nav-link {
    color: var(--sht-blue-dark);
    background: var(--sht-blue-pale);
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0 0 .5rem 1rem;
    background: transparent;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: block;
  }

  @media (hover: hover) {
    .nav-dropdown:hover .dropdown-menu {
      display: none;
    }
    .nav-dropdown.is-open:hover .dropdown-menu {
      display: block;
    }
  }
}

@media (max-width: 640px) {
  .header-logo img {
    height: 68px;
  }
}
