/* ============================================================
   theme.css — Welsh Home Custom Theme
   Brand styles · Header · Hero · Category Nav · Footer
   Builds on top of stylesheet.css (load stylesheet.css first)
   ============================================================ */

/* ── 1. CSS VARIABLES (Brand Tokens) ─────────────────────── */
:root {
  --wh-red:        #FF405F;
  --wh-red-dark:   #a93226;
  --wh-black:      #1a1a1a;
  --wh-grey-dark:  #444444;
  --wh-grey-mid:   #888888;
  --wh-grey-light: #f5f4f0;
  --wh-border:     #e2e0da;
  --wh-white:      #ffffff;

  --wh-font-body:    'Open Sans', Arial, sans-serif;
  --wh-font-heading: 'Playfair Display', Georgia, serif;

  --wh-header-h:   70px;
  --wh-transition: 0.25s ease;
  --wh-radius:     2px;
  --wh-shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --wh-shadow-md:  0 6px 24px rgba(0,0,0,0.12);
}

/* ── 2. GLOBAL BODY OVERRIDE ──────────────────────────────── */
body {
  background-color: var(--wh-white);
  color: var(--wh-black);
  font-family: var(--wh-font-body);
}

/* ── 3. HEADER ─────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--wh-header-h);
  background: var(--wh-white);
  border-bottom: 1px solid var(--wh-border);
  z-index: 7000;
  transition: box-shadow var(--wh-transition);
}

#header.scrolled {
  box-shadow: var(--wh-shadow-md);
}

#header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Left nav */
.header-nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.header-nav-left a {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wh-black);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--wh-transition);
}

.header-nav-left a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--wh-red);
  transition: width var(--wh-transition);
}

.header-nav-left a:hover,
.header-nav-left a.active {
  color: var(--wh-red);
}

.header-nav-left a:hover::after,
.header-nav-left a.active::after {
  width: 100%;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  text-align: center;
}

.header-logo a {
  display: inline-block;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-logo .logo-text {
  font-family: var(--wh-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--wh-black);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.header-logo .logo-sub {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--wh-grey-mid);
  display: block;
  margin-top: 2px;
}

/* Right icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
}

.header-actions .action-icon {
  position: relative;
  cursor: pointer;
  color: var(--wh-black);
  font-size: 17px;
  transition: color var(--wh-transition);
  background: none;
  border: none;
}

.header-actions .action-icon:hover {
  color: var(--wh-red);
}

/* Search bar (hidden by default, slides down) */
#search-bar-wrap {
  display: none;
  position: fixed;
  top: var(--wh-header-h);
  left: 0; right: 0;
  background: var(--wh-white);
  border-bottom: 1px solid var(--wh-border);
  padding: 14px 0;
  z-index: 6999;
  animation: fadeSlide 0.2s ease;
}

#search-bar-wrap.open {
  display: block;
}

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

#search-bar-wrap .search-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  gap: 0;
}

#search-bar-wrap input[type="text"] {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--wh-border);
  border-right: none;
  border-radius: var(--wh-radius) 0 0 var(--wh-radius);
  font-size: 13px;
}

#search-bar-wrap input[type="text"]:focus {
  border-color: var(--wh-black);
  outline: none;
}

#search-bar-wrap button[type="submit"] {
  height: 42px;
  width: 50px;
  background: var(--wh-black);
  color: var(--wh-white);
  border: 1px solid var(--wh-black);
  border-radius: 0 var(--wh-radius) var(--wh-radius) 0;
  cursor: pointer;
  font-size: 15px;
  transition: background var(--wh-transition);
}

#search-bar-wrap button[type="submit"]:hover {
  background: var(--wh-red);
  border-color: var(--wh-red);
}

/* Page body offset so content goes below fixed header */


/* ── 4. HERO SLIDER ─────────────────────────────────────── */
#hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--wh-header-h));
  min-height: 540px;
  overflow: hidden;
  background: var(--wh-grey-light);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Left panel */
.slide-left {
  flex: 0 0 38%;
  padding: 60px 40px 60px 60px;
  z-index: 2;
}

.slide-category-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--wh-red);
  margin-bottom: 14px;
  display: block;
}

.slide-left h2 {
  font-family: var(--wh-font-heading);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--wh-black);
  line-height: 1.15;
  margin-bottom: 16px;
}

.slide-left p {
  font-size: 14px;
  color: var(--wh-grey-dark);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 28px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: var(--wh-black);
  color: var(--wh-white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid var(--wh-black);
  border-radius: var(--wh-radius);
  transition: background var(--wh-transition), color var(--wh-transition);
}

.btn-view-all:hover {
  background: var(--wh-red);
  border-color: var(--wh-red);
  color: var(--wh-white);
}

/* Center product image */
.slide-center {
  flex: 0 0 34%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  height: 100%;
}

.slide-center img {
  max-height: 88%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
  transition: transform 0.8s ease;
}

.slide.active .slide-center img {
  transform: translateY(0);
}

/* Right panel */
.slide-right {
  flex: 0 0 28%;
  padding: 40px 30px 40px 20px;
  z-index: 2;
}

.slide-right-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--wh-grey-mid);
  margin-bottom: 14px;
}

/* Related thumbnails strip */
.related-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.related-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--wh-border);
  background: var(--wh-white);
  border-radius: var(--wh-radius);
  cursor: pointer;
  transition: box-shadow var(--wh-transition), border-color var(--wh-transition);
}

.related-thumb:hover {
  border-color: var(--wh-black);
  box-shadow: var(--wh-shadow-sm);
}

.related-thumb img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--wh-radius);
}

.related-thumb .rt-info span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wh-black);
  line-height: 1.3;
}

.related-thumb .rt-info small {
  font-size: 11px;
  color: var(--wh-red);
  font-weight: 700;
}

/* Featured product card */
.featured-card {
  border: 1px solid var(--wh-border);
  background: var(--wh-white);
  border-radius: var(--wh-radius);
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.featured-card-body {
  padding: 10px 12px 12px;
}

.featured-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wh-white);
  background: var(--wh-red);
  padding: 2px 7px;
  border-radius: 1px;
  display: inline-block;
  margin-bottom: 6px;
}

.featured-card-body h5 {
  font-size: 13px;
  font-family: var(--wh-font-body);
  font-weight: 600;
  margin-bottom: 2px;
}

.featured-card-body .price {
  font-size: 14px;
  font-weight: 700;
  color: var(--wh-red);
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: var(--wh-white);
  border: 1px solid var(--wh-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  color: var(--wh-black);
  box-shadow: var(--wh-shadow-sm);
  transition: background var(--wh-transition), color var(--wh-transition);
}

.slider-arrow:hover {
  background: var(--wh-black);
  color: var(--wh-white);
  border-color: var(--wh-black);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Category icon tabs (bottom-left) */
.slider-category-tabs {
  position: absolute;
  bottom: 28px;
  left: 60px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border: 1px solid var(--wh-border);
  background: rgba(255,255,255,0.92);
  border-radius: var(--wh-radius);
  cursor: pointer;
  transition: border-color var(--wh-transition), background var(--wh-transition);
  min-width: 62px;
}

.cat-tab i {
  font-size: 20px;
  color: var(--wh-grey-mid);
  transition: color var(--wh-transition);
}

.cat-tab span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wh-grey-mid);
}

.cat-tab:hover,
.cat-tab.active {
  border-color: var(--wh-red);
  background: var(--wh-white);
}

.cat-tab.active i,
.cat-tab:hover i {
  color: var(--wh-red);
}

.cat-tab.active span,
.cat-tab:hover span {
  color: var(--wh-red);
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 28px;
  right: 30px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wh-grey-mid);
  cursor: pointer;
  transition: background var(--wh-transition), transform var(--wh-transition);
}

.slider-dot.active {
  background: var(--wh-red);
  transform: scale(1.3);
}

/* ── 5. SECTION HEADING ──────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-family: var(--wh-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--wh-black);
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 14px;
  color: var(--wh-grey-mid);
  max-width: 480px;
  margin: 0 auto;
}

.section-heading .heading-line {
  width: 48px;
  height: 2px;
  background: var(--wh-red);
  margin: 12px auto 0;
}

/* ── 6. CATEGORY PAGE TOOLBAR ────────────────────────────── */
.page-title-bar {
  background: var(--wh-grey-light);
  border-bottom: 1px solid var(--wh-border);
  padding: 14px 0;
  margin-bottom: 28px;
}

.page-title-bar h1 {
  font-size: 1.5rem;
  font-family: var(--wh-font-heading);
  color: var(--wh-black);
  margin: 0;
}

.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 18px;
}

.toolbar-left {
  font-size: 13px;
  color: var(--wh-grey-mid);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-right label {
  font-size: 12px;
  font-weight: 600;
  color: var(--wh-grey-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toolbar-right select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  font-size: 12px;
  color: var(--wh-black);
  background: var(--wh-white);
  cursor: pointer;
}

/* Grid/List toggle */
.view-toggle {
  display: flex;
  gap: 4px;
}

.view-toggle button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--wh-border);
  background: var(--wh-white);
  border-radius: var(--wh-radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--wh-grey-mid);
  transition: all var(--wh-transition);
}

.view-toggle button.active,
.view-toggle button:hover {
  background: var(--wh-black);
  color: var(--wh-white);
  border-color: var(--wh-black);
}

/* ── 7. CATEGORY SIDEBAR ─────────────────────────────────── */
#column-left {
  padding-right: 10px;
}

.sidebar-widget {
  margin-bottom: 28px;
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  overflow: hidden;
}

.sidebar-widget-title {
  background: var(--wh-black);
  color: var(--wh-white);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-widget-body {
  padding: 14px 16px;
}

/* Category tree links */
.category-tree li {
  border-bottom: 1px solid var(--wh-border);
}

.category-tree li:last-child { border-bottom: none; }

.category-tree li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 13px;
  color: var(--wh-grey-dark);
  transition: color var(--wh-transition);
}

.category-tree li a:hover,
.category-tree li a.active {
  color: var(--wh-red);
}

.category-tree li a span.count {
  font-size: 11px;
  color: var(--wh-grey-mid);
}

/* Price range */
.price-range-slider { padding: 6px 0 10px; }

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.price-inputs input {
  width: 72px;
  height: 32px;
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

/* Colour swatches in sidebar */
.filter-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0;
}

.filter-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--wh-transition), transform var(--wh-transition);
}

.filter-swatch:hover,
.filter-swatch.active {
  border-color: var(--wh-black);
  transform: scale(1.15);
}

/* ── 8. PRODUCT DETAIL PAGE ──────────────────────────────── */
#product-detail {
  padding: 30px 0 60px;
}

/* Left: image grid */
.product-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-images-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--wh-radius);
  cursor: pointer;
  transition: opacity var(--wh-transition), transform var(--wh-transition);
}

.product-images-grid img:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.product-images-grid img:first-child {
  grid-column: span 2;
  height: 320px;
}

/* Right: product info */
.product-info {
  padding-left: 30px;
}

.product-info h1 {
  font-family: var(--wh-font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--wh-black);
  margin-bottom: 8px;
}

.product-info .product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.product-info .product-rating .stars {
  color: #f0a500;
  font-size: 14px;
}

.product-info .product-rating .review-count {
  font-size: 12px;
  color: var(--wh-grey-mid);
}

.product-info .product-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--wh-grey-dark);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wh-border);
}

.product-info .product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wh-red);
  margin-bottom: 20px;
}

.product-info .product-price .price-old {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--wh-grey-mid);
  text-decoration: line-through;
  margin-left: 10px;
}

/* Colour swatches */
.option-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--wh-grey-dark);
  margin-bottom: 10px;
}

.color-swatches {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color var(--wh-transition), transform var(--wh-transition);
}

.color-swatch.active,
.color-swatch:hover {
  border-color: var(--wh-black);
  transform: scale(1.1);
}

/* Size selector */
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.size-btn {
  min-width: 48px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--wh-border);
  background: var(--wh-white);
  border-radius: var(--wh-radius);
  font-size: 12px;
  font-weight: 700;
  color: var(--wh-grey-dark);
  cursor: pointer;
  transition: all var(--wh-transition);
}

.size-btn:hover {
  border-color: var(--wh-black);
  color: var(--wh-black);
}

.size-btn.active {
  background: var(--wh-black);
  border-color: var(--wh-black);
  color: var(--wh-white);
}

.size-btn.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Quantity + CTA row */
.add-to-cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-add-cart {
  flex: 1;
  height: 48px;
  background: transparent;
  color: var(--wh-black);
  border: 2px solid var(--wh-black);
  border-radius: var(--wh-radius);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--wh-transition);
}

.btn-add-cart:hover {
  background: var(--wh-black);
  color: var(--wh-white);
}

.btn-buy-now {
  flex: 1;
  height: 48px;
  background: var(--wh-red);
  color: var(--wh-white);
  border: 2px solid var(--wh-red);
  border-radius: var(--wh-radius);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background var(--wh-transition);
}

.btn-buy-now:hover {
  background: var(--wh-red-dark);
  border-color: var(--wh-red-dark);
}

/* Wishlist / share row */
.product-secondary-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--wh-border);
}

.product-secondary-actions a {
  font-size: 12px;
  font-weight: 600;
  color: var(--wh-grey-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--wh-transition);
}

.product-secondary-actions a:hover {
  color: var(--wh-red);
}

/* ── 9. FOOTER ───────────────────────────────────────────── */
#footer {
  background: var(--wh-black);
  color: #ccc;
  margin-top: 60px;
}

/* Newsletter band */
.footer-newsletter {
  background: #111;
  padding: 36px 0;
  border-bottom: 1px solid #2a2a2a;
}

.footer-newsletter .newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-newsletter h4 {
  font-family: var(--wh-font-heading);
  font-size: 1.3rem;
  color: var(--wh-white);
  margin-bottom: 4px;
}

.footer-newsletter p {
  font-size: 13px;
  color: #999;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 0;
  flex: 0 0 auto;
}

.newsletter-form input[type="email"] {
  width: 260px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #333;
  border-right: none;
  background: #1a1a1a;
  color: var(--wh-white);
  font-size: 13px;
  border-radius: var(--wh-radius) 0 0 var(--wh-radius);
}

.newsletter-form input[type="email"]::placeholder { color: #666; }

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--wh-red);
}

.newsletter-form button {
  height: 44px;
  padding: 0 22px;
  background: var(--wh-red);
  color: var(--wh-white);
  border: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 0 var(--wh-radius) var(--wh-radius) 0;
  transition: background var(--wh-transition);
}

.newsletter-form button:hover {
  background: var(--wh-red-dark);
}

/* Footer columns */
.footer-columns {
  padding: 50px 0 36px;
}

.footer-col h5 {
  font-family: var(--wh-font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--wh-white);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #888;
  transition: color var(--wh-transition);
}

.footer-col ul li a:hover {
  color: var(--wh-white);
}

.footer-col .brand-tagline {
  font-family: var(--wh-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--wh-white);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  background: #2a2a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  transition: background var(--wh-transition), color var(--wh-transition);
}

.social-links a:hover {
  background: var(--wh-red);
  color: var(--wh-white);
}

/* Payment methods */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.payment-icons span {
  display: inline-block;
  padding: 4px 10px;
  background: #2a2a2a;
  border-radius: var(--wh-radius);
  font-size: 11px;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 0.5px;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 16px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.footer-bottom a {
  color: #888;
  transition: color var(--wh-transition);
}

.footer-bottom a:hover {
  color: var(--wh-white);
}

/* ── 10. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 991px) {
  .slide-left  { flex: 0 0 46%; padding: 40px 20px 40px 30px; }
  .slide-center { flex: 0 0 30%; }
  .slide-right { flex: 0 0 24%; padding: 30px 14px 30px 10px; }

  .product-info { padding-left: 16px; }
}

@media (max-width: 767px) {
  :root { --wh-header-h: 58px; }

  .header-nav-left { display: none; }

  #hero-slider { height: 80vh; }

  .slide { flex-direction: column; justify-content: center; }

  .slide-left {
    flex: none;
    padding: 30px 20px 0;
    text-align: center;
  }

  .slide-left p { margin: 0 auto 22px; }

  .slide-center {
    flex: none;
    height: 260px;
    width: 100%;
  }

  .slide-right { display: none; }

  .slider-category-tabs {
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
  }

  .cat-tab { min-width: 52px; padding: 8px 10px; }

  .product-images-grid img:first-child { height: 240px; }

  .product-info { padding-left: 0; margin-top: 20px; }

  .add-to-cart-row { flex-wrap: wrap; }

  .footer-col { margin-bottom: 28px; }

  .footer-newsletter .newsletter-inner { flex-direction: column; }
  .newsletter-form input[type="email"] { width: 200px; }
}



/* =========================================================
   FOOTER & NEWSLETTER (Matches Design)
   ========================================================= */

/* ── Newsletter Banner ── */
#newsletter-banner {
  background-color: var(--wh-green, #499b7b); /* Ensure you have --wh-green in your :root */
  padding: 80px 0;
  text-align: center;
}

#newsletter-banner h2 {
  color: #ffffff;
  font-family: var(--wh-font-heading);
  font-size: 2.8rem;
  margin-bottom: 35px;
  line-height: 1.2;
}

.nl-form-wrap {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  display: flex;
}

.nl-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  opacity: 0.8;
  font-size: 16px;
  z-index: 2;
}

.nl-input {
  width: 100%;
  height: 54px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid transparent;
  padding: 0 130px 0 50px; /* Space for icon and button */
  color: #ffffff;
  font-size: 14px;
}

.nl-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.nl-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
}

.nl-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: #ffffff;
  color: var(--wh-black);
  border: none;
  padding: 0 30px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.nl-btn:hover {
  background: #f0f0f0;
}

/* ── Main Footer ── */
#main-footer {
  background-color: #fbfcfc; /* Very light, cool off-white from image */
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Brand Column */
.footer-logo {
  font-family: var(--wh-font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--wh-black);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--wh-red);
}

.brand-col p {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 25px;
  padding-right: 40px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #888;
  font-size: 16px;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--wh-black);
}

/* Link Columns */
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--wh-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  font-family: var(--wh-font-body);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 16px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #777;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--wh-red);
}

/* Payment Methods */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 15px;
  align-items: center;
}

.payment-grid img {
  height: 24px;
  object-fit: contain;
}

.cod-badge {
  font-size: 10px;
  font-weight: 700;
  color: #555;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #888;
  margin: 0;
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nl-form-wrap { flex-direction: column; }
  .nl-input { padding-right: 20px; margin-bottom: 10px; }
  .nl-btn { position: relative; width: 100%; height: 50px; right: 0; top: 0; }
}