:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --surface-alt: #f0f2f5;
  --text: #1e2329;
  --muted: #666e78;
  --border: #e8ecf0;
  --primary: #2e6bc6;
  --primary-hover: #2356a4;
  --dark: #1e2329;
  --dark-hover: #111418;
  --whatsapp: #1b8f4e;
  --whatsapp-hover: #15743f;
  --badge-bg: #edf5ff;
  --badge-text: #1e54a3;
  --success-bg: #eaf8f0;
  --success-text: #156e3d;
  --warn-bg: #fff6e5;
  --warn-text: #945c00;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(20, 27, 38, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 27, 38, 0.08);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-wordmark {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.price-num {
  font-variant-numeric: tabular-nums;
}

/* Announcement bar */
.top-strip {
  background: var(--dark);
  color: #f4f6f9;
  font-size: 12.5px;
  padding: 8px 0;
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.top-strip a {
  color: #c9ddff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Sticky single-row header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 18px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.brand-dot {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.icon-btn:hover {
  border-color: #cbd3dd;
  background: var(--surface);
}

.cart-badge {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
}

/* Search bar dropdown */
.header-search-bar {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px 0;
}

.header-search-bar.is-open {
  display: block;
}

.search-form-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-form-inline input {
  flex: 1;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--surface);
  outline: none;
}

.search-form-inline input:focus {
  border-color: var(--primary);
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

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

.btn-primary:hover {
  background: var(--primary-hover);
}

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

.btn-dark:hover {
  background: var(--dark-hover);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.btn-outline {
  background: #fff;
  border-color: #d6dce3;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
  background: var(--surface);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
}

/* Studio Hero Banner (WoodMart Accessories look) */
.hero-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
  padding: 52px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--badge-text);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 26px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.hero-trust-inline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 540px;
}

/* Sections */
.section {
  padding: 54px 0;
}

.section-tight {
  padding: 36px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
}

.section-sub {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 14.5px;
}

/* Circular Category Row (exact WoodMart Accessories signature) */
.cat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 10px 6px;
  border-radius: var(--radius-md);
  transition: transform 0.16s ease;
}

.cat-tile:hover {
  transform: translateY(-3px);
}

.cat-circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.cat-tile:hover .cat-circle {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.cat-tile h3 {
  font-size: 14.5px;
  font-weight: 700;
}

.cat-count {
  font-size: 12.5px;
  color: var(--muted);
}

/* Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  border-color: #d4dce6;
  box-shadow: var(--shadow-sm);
}

.product-card-media {
  position: relative;
  display: block;
  background: var(--surface);
  aspect-ratio: 1 / 1;
  padding: 22px;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.card-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--badge-bg);
  color: var(--badge-text);
}

.card-pill-new {
  background: var(--dark);
  color: #fff;
}

.product-card-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.card-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: inline-block;
}

.card-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.card-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
}

.card-compare {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

.card-badge-line {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--success-text);
  background: var(--success-bg);
  padding: 4px 8px;
  border-radius: 5px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

/* 3-Column Trust Strip */
.trust-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.trust-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Promo Banners */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.promo-card-accent {
  background: linear-gradient(135deg, #1e2329 0%, #2a3444 100%);
  color: #fff;
  border-color: transparent;
}

.promo-card-accent h3,
.promo-card-accent .section-kicker {
  color: #fff;
}

.promo-card-accent p {
  color: #ced6e0;
}

/* Filter Bar (Shop page) */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.filter-pill.is-active,
.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--badge-bg);
}

.shop-search-sort {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.input-control,
.select-control,
.textarea-control {
  width: 100%;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  background: #fff;
  padding: 10px 13px;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.15s ease;
}

.input-control:focus,
.select-control:focus,
.textarea-control:focus {
  border-color: var(--primary);
}

/* Single Product Page (WoodMart Accessories Layout) */
.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0;
  flex-wrap: wrap;
}

.breadcrumbs-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
  padding-bottom: 48px;
}

.pdp-gallery {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: start;
}

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-thumb {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--surface);
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-thumb.is-active {
  border-color: var(--primary);
}

.pdp-main-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.pdp-main-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-zoom-hint {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.pdp-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.pdp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.pdp-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.pdp-compare {
  font-size: 17px;
  color: var(--muted);
  text-decoration: line-through;
}

.pdp-included-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pdp-short-desc {
  color: var(--muted);
  margin: 0 0 20px;
}

.variant-block {
  margin-bottom: 20px;
}

.variant-label {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 9px;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
}

.variant-btn.is-active {
  border-color: var(--primary);
  background: var(--badge-bg);
  color: var(--badge-text);
}

.pdp-buy-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6dce3;
  border-radius: var(--radius-sm);
  height: 48px;
  background: #fff;
}

.qty-stepper button {
  width: 38px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
}

.qty-stepper input {
  width: 38px;
  text-align: center;
  border: 0;
  font-weight: 700;
  background: transparent;
}

.pdp-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-width: 240px;
}

.delivery-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 18px;
}

.delivery-box-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.delivery-box-sub {
  font-size: 13px;
  color: var(--muted);
}

.cargozant-box {
  margin-top: 12px;
  background: var(--badge-bg);
  border: 1px solid #d3e3fc;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--badge-text);
}

.pay-badges-box {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}

.pay-badges-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}

.pay-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pay-pill {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
}

/* Tabs */
.tabs-wrap {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  margin-top: 16px;
}

.tab-nav {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn.is-active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.specs-table {
  width: 100%;
  max-width: 680px;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

.specs-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
}

/* Form Pages, Checkout, Quote & Track Order */
.page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.page-header h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}

.page-header p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 640px;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.panel-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.panel-card-soft {
  background: var(--surface);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.alert {
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #bce8ce;
}

.alert-error {
  background: #fdecec;
  color: #a61d24;
  border: 1px solid #f7c5c7;
}

.alert-info {
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid #cce0ff;
}

/* 5-Stage Tracking Timeline */
.timeline {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
}

.timeline-step.is-done {
  border-color: #bfe6cd;
  background: #f6fcf8;
}

.timeline-step.is-current {
  border-color: var(--primary);
  background: #f5f9ff;
}

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--muted);
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step.is-done .step-dot {
  background: var(--whatsapp);
  color: #fff;
}

.timeline-step.is-current .step-dot {
  background: var(--primary);
  color: #fff;
}

/* Slide-out Cart Drawer & Mobile Nav Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 28, 0.45);
  z-index: 90;
  display: none;
}

.drawer-backdrop.is-open {
  display: block;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.side-drawer.left-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  max-width: 320px;
}

.side-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}

.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.cart-item-row {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item-thumb {
  width: 66px;
  height: 66px;
  border-radius: 8px;
  background: var(--surface);
  padding: 6px;
  object-fit: contain;
}

/* Zoom Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 28, 0.85);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 720px;
  width: 100%;
  padding: 24px;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

/* Sticky mobile buy bar on product page */
.mobile-sticky-buy {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 52px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .cat-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-grid,
  .pdp-grid,
  .two-col-layout,
  .trust-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding: 32px 0;
  }
  .pdp-gallery {
    grid-template-columns: 1fr;
  }
  .pdp-thumbs {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
  }
  .pdp-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card-media {
    padding: 14px;
  }
  .product-card-body {
    padding: 12px;
  }
  .card-actions {
    grid-template-columns: 1fr;
  }
  .cat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .cat-circle {
    width: 82px;
    height: 82px;
    padding: 16px;
  }
  .form-grid,
  .pdp-cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  }
  body.has-sticky-buy {
    padding-bottom: 72px;
  }
}
