/*
 * LuxDesign Theme - Main Stylesheet
 * Bulgarian Furniture E-Commerce (WordPress/WooCommerce)
 * =========================================================
 * Consolidated from static HTML templates into a single
 * unified stylesheet for the LuxDesign WP theme.
 * =========================================================
 */


/* ==========================================================================
   1. CSS Variables
   ========================================================================== */

:root {
  --green: #1a1a1a;
  --green-dark: #333;
  --green-light: #f5f5f5;
  --red: #E53935;
  --dark: #1a1a1a;
  --gray: #666;
  --light-gray: #999;
  --border: #e5e5e5;
  --bg-light: #f7f7f7;
  --bg-mint: #f0f0f0;
  --white: #fff;
  --shadow: 0 2px 16px rgba(0, 0, 0, .07);
  --radius: 8px;
  --transition: all .3s ease;
}


/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}


/* ==========================================================================
   3. Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ==========================================================================
   4. Topbar
   ========================================================================== */

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--gray);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-left .tag-icon {
  color: var(--green);
  font-size: 15px;
}

.topbar-left .sale-text {
  color: var(--red);
  font-weight: 600;
}

.topbar-left .arrow-sep {
  color: var(--light-gray);
  margin: 0 4px;
}

.topbar-left a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar-left a:hover {
  color: var(--green);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-right a:hover {
  color: var(--green);
}

.topbar-right .sep {
  color: var(--border);
}


/* ==========================================================================
   5. Header (sticky, scrolled, logo, nav, search, actions, phone, icons)
   ========================================================================== */

.header {
  background: var(--white);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

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

.header-logo img {
  height: 42px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .header-logo img {
  height: 34px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav li {
  list-style: none;
  display: inline-flex;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 4px 0;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width .3s ease;
}

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

.header-nav a:hover {
  color: var(--green);
}

.header-nav a svg {
  width: 16px;
  height: 16px;
  opacity: .6;
}

.header-search {
  position: relative;
  flex: 0 0 240px;
}

.header-search input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.header-search input:focus {
  border-color: var(--green);
}

.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.header-search button:hover {
  color: var(--green);
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  white-space: nowrap;
}

.header-phone svg {
  color: var(--green);
  flex-shrink: 0;
}

.header-phone span {
  font-weight: 600;
  color: var(--dark);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icons a {
  position: relative;
  color: var(--dark);
  transition: var(--transition);
}

.header-icons a:hover {
  color: var(--green);
}

.header-icons .badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}


/* ==========================================================================
   6. Secondary Nav with Mega Menu
   ========================================================================== */

.secondary-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: visible;
  position: relative;
  z-index: 900;
}

.secondary-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 10px;
  padding-bottom: 10px;
  white-space: nowrap;
}

.secondary-nav .container > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.secondary-nav .container > ul > li {
  list-style: none;
  display: inline-flex;
  position: relative;
}

.snav-item {
  position: relative;
}

.snav-item > a,
.secondary-nav > div > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
}

.snav-item > a:hover,
.secondary-nav > div > a:hover {
  color: var(--green);
}

.snav-item > a .drop {
  font-size: 10px;
  opacity: .5;
  transition: transform .3s ease;
}

.snav-item:hover > a .drop {
  transform: rotate(180deg);
}

.secondary-nav a.sale {
  color: var(--red);
  font-weight: 600;
}

.secondary-nav a.sale:hover {
  color: #c62828;
}

/* Mega menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  padding: 24px;
  display: grid;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  pointer-events: none;
  z-index: 910;
}

.snav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-menu.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  min-width: 340px;
}

.mega-menu.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  min-width: 480px;
}

.mega-menu.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  min-width: 600px;
}

.mega-menu.cols-5 {
  grid-template-columns: repeat(5, 1fr);
  min-width: 750px;
}

.mega-menu.cols-6 {
  grid-template-columns: repeat(6, 1fr);
  min-width: 900px;
}

.mega-menu.cols-7 {
  grid-template-columns: repeat(7, 1fr);
  min-width: 1050px;
}

.mega-menu.cols-8 {
  grid-template-columns: repeat(8, 1fr);
  min-width: 1200px;
}

.mega-item {
  text-align: center;
  white-space: normal;
  transition: var(--transition);
}

.mega-item:hover {
  transform: translateY(-4px);
}

.mega-item a {
  display: block;
  color: var(--dark);
}

.mega-item .mega-img {
  width: 130px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 10px;
  background: var(--bg-light);
}

.mega-item .mega-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.mega-item:hover .mega-img img {
  transform: scale(1.08);
}

.mega-item span {
  font-size: 13px;
  font-weight: 500;
}

/* Arrow indicator */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--white);
  rotate: 45deg;
  border-radius: 2px;
}


/* ==========================================================================
   7. Hero Slider
   ========================================================================== */

.hero {
  position: relative;
  height: 75vh;
  min-height: 460px;
  max-height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 60%, transparent 100%);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-content .container {
  color: var(--white);
  max-width: 100%;
  margin: 0;
  padding: 0 0 0 120px;
}

.hero-tag {
  display: inline-block;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  margin-bottom: 20px;
  animation: fadeInDown .8s ease .3s both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 600px;
  animation: fadeInDown .8s ease .5s both;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  opacity: .9;
  margin-bottom: 32px;
  animation: fadeInDown .8s ease .7s both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  animation: fadeInDown .8s ease .9s both;
}

.hero-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.hero-btn svg {
  transition: transform .3s ease;
}

.hero-btn:hover svg {
  transform: translateX(4px);
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: none;
  transition: var(--transition);
}

.hero-dots button.active {
  background: var(--white);
  transform: scale(1.2);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  cursor: pointer;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, .2);
  border-color: var(--white);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}


/* ==========================================================================
   8. Section Common
   ========================================================================== */

.section {
  padding: 72px 0;
}

.section-title {
  font-size: 28px;
  margin-bottom: 40px;
}

.section-title-green {
  color: var(--green);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}


/* ==========================================================================
   9. Shop by Categories
   ========================================================================== */

.categories-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-item {
  text-align: center;
  flex: 0 0 120px;
  transition: var(--transition);
  cursor: pointer;
}

.category-item:hover {
  transform: translateY(-6px);
}

.category-item .cat-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.category-item:hover .cat-img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.category-item .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

.category-item:hover span {
  color: var(--dark);
}


/* ==========================================================================
   10. Featured Offers
   ========================================================================== */

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

.offer-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 32px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-card .offer-tag {
  display: inline-block;
  width: fit-content;
  background: rgba(0, 0, 0, .08);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: .5px;
}

.offer-card h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
  max-width: 220px;
}

.offer-card p {
  font-size: 14px;
  color: var(--gray);
  max-width: 200px;
}

.offer-card .offer-img {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 45%;
  max-width: 200px;
  transition: transform .5s ease;
}

.offer-card:hover .offer-img {
  transform: scale(1.05);
}

.offer-1 {
  background: #e8c4c8;
}

.offer-2 {
  background: #c9a96e;
  color: var(--white);
}

.offer-2 p {
  color: rgba(255, 255, 255, .8);
}

.offer-3 {
  background: #e8e8e8;
}


/* ==========================================================================
   11. Product Cards (shared across all pages)
   ========================================================================== */

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
  border-color: var(--border);
}

.product-card .product-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-light);
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

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

.product-card .product-img .secondary-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease, transform .6s ease;
  pointer-events: none;
}

.product-card:hover .product-img .secondary-img {
  opacity: 1;
}

.product-card .sale-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}

/* Category page: sale badge on left */
.category-content .product-card .sale-badge {
  left: 12px;
  right: auto;
}

.product-card .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
  opacity: 0;
  transform: translateY(-10px);
}

.product-card:hover .wishlist-btn {
  opacity: 1;
  transform: translateY(0);
}

.product-card .wishlist-btn:hover {
  background: var(--red);
  color: var(--white);
}

.product-card .wishlist-btn.active {
  background: var(--red);
  color: var(--white);
}

.product-card .product-actions {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-card .product-actions button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.product-card .product-actions button:hover {
  background: var(--green);
  color: var(--white);
}

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

.product-card .product-cat {
  font-size: 11px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.product-card .product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-card .product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-card .price-sale {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}

.product-card .price-original {
  font-size: 13px;
  color: var(--light-gray);
  text-decoration: line-through;
}

.product-card .price-regular {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}


/* ==========================================================================
   12. Products Carousel
   ========================================================================== */

.products-carousel-wrap {
  position: relative;
}

.products-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  scrollbar-width: none;
}

.products-carousel::-webkit-scrollbar {
  display: none;
}

/* Carousel-specific card sizing */
.products-carousel .product-card {
  flex: 0 0 220px;
}

.products-carousel .product-card .product-info {
  padding: 14px;
}

.products-carousel .product-card .product-name {
  font-size: 14px;
  margin-bottom: 6px;
}

.products-carousel .product-card .price-sale {
  font-size: 15px;
}

.products-carousel .product-card .price-regular {
  font-size: 15px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--green);
  color: var(--white);
}

.carousel-arrow.left {
  left: -16px;
}

.carousel-arrow.right {
  right: -16px;
}


/* ==========================================================================
   13. Be Inspired Section
   ========================================================================== */

.inspired-section {
  background: var(--white);
}

.inspired-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.inspired-image {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.inspired-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.inspired-image:hover img {
  transform: scale(1.05);
}

.inspired-image .brand-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inspired-image .brand-badge img {
  height: 24px;
}

.inspired-products {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
}

.inspired-product {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.inspired-product:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.inspired-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.inspired-product .ip-cat {
  font-size: 11px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.inspired-product .ip-name {
  font-size: 14px;
  font-weight: 600;
  margin: 2px 0;
}

.inspired-product .ip-price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inspired-product .ip-price .sale {
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
}

.inspired-product .ip-price .orig {
  color: var(--light-gray);
  text-decoration: line-through;
  font-size: 13px;
}

.inspired-product .ip-price .regular {
  font-weight: 600;
  font-size: 15px;
}

.inspired-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.inspired-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.inspired-add-btn:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.inspired-total-price {
  font-size: 18px;
  font-weight: 700;
}


/* ==========================================================================
   14. Shop by Color
   ========================================================================== */

.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.color-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.color-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.color-card:hover img {
  transform: scale(1.08);
}

.color-card .color-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .3) 100%);
  z-index: 1;
}

.color-card .color-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-card .color-label svg {
  width: 20px;
  height: 20px;
  opacity: .8;
}

.color-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.color-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.color-tag:hover {
  border-color: var(--green);
  color: var(--green);
}

.color-tag .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}


/* ==========================================================================
   15. Featured Category / Bedrooms
   ========================================================================== */

.featured-cat {
  background: var(--white);
}

.featured-cat-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.featured-cat h2 {
  font-size: 32px;
  max-width: 700px;
  margin-bottom: 8px;
}

.featured-cat p {
  color: var(--gray);
  margin-bottom: 32px;
}

.featured-cat-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.featured-cat-scroll::-webkit-scrollbar {
  display: none;
}

.featured-cat-scroll .fc-item {
  flex: 0 0 150px;
  transition: var(--transition);
  cursor: pointer;
}

.featured-cat-scroll .fc-item:hover {
  transform: translateY(-4px);
}

.featured-cat-scroll .fc-item img {
  width: 150px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0;
}

.featured-cat-scroll .fc-item .fc-item-img {
  position: relative;
  display: block;
  width: 150px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
}

.featured-cat-scroll .fc-item .fc-item-img img {
  display: block;
  border-radius: 0;
}

.featured-cat-scroll .fc-item .fc-item-img .secondary-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.featured-cat-scroll .fc-item:hover .fc-item-img .secondary-img {
  opacity: 1;
}


/* ==========================================================================
   16. Delivery Banner
   ========================================================================== */

.delivery-banner {
  background: var(--bg-mint);
  overflow: hidden;
  padding: 36px 0;
}

.delivery-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.delivery-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.delivery-left h4 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.delivery-left svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.delivery-right {
  font-size: 16px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.delivery-right svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}


/* ==========================================================================
   17. Testimonials
   ========================================================================== */

.testimonials {
  background: var(--bg-mint);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 60px;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial-stars svg {
  width: 22px;
  height: 22px;
  color: #F5A623;
  fill: #F5A623;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeInDown .6s ease;
}

.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--dark);
}

.testimonial-author {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.testimonial-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  background: transparent;
  transition: var(--transition);
}

.testimonial-dots button.active {
  background: var(--dark);
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--dark);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  z-index: 3;
}

.testimonial-arrow:hover {
  background: var(--dark);
  color: var(--white);
}

.testimonial-arrow.prev {
  left: max(24px, calc(50% - 500px));
}

.testimonial-arrow.next {
  right: max(24px, calc(50% - 500px));
}


/* ==========================================================================
   18. About Section
   ========================================================================== */

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.about-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 20px;
  line-height: 1.15;
}

.about-text p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 480px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.about-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--green);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--green);
  color: var(--white);
}

.feature-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--green);
}

.feature-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}


/* ==========================================================================
   19. Instagram Section
   ========================================================================== */

.instagram-section {
  padding: 60px 0;
}

.instagram-title {
  font-size: 22px;
  margin-bottom: 28px;
}

.instagram-title a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.instagram-grid .insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.instagram-grid .insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.instagram-grid .insta-item:hover img {
  transform: scale(1.1);
}

.instagram-grid .insta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: var(--transition);
}

.instagram-grid .insta-item:hover::after {
  background: rgba(0, 0, 0, .15);
}


/* ==========================================================================
   20. Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  background: var(--bg-light);
  padding: 16px 0;
  font-size: 13px;
  color: var(--gray);
}

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

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

.breadcrumbs .sep {
  color: var(--light-gray);
}

.breadcrumbs .current {
  color: var(--dark);
  font-weight: 500;
}


/* ==========================================================================
   21. Product Page & Gallery
   ========================================================================== */

.product-page {
  padding: 40px 0 80px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  min-width: 0;
}

.product-grid > * {
  min-width: 0;
}

/* Product Gallery (sticky) */
.product-gallery {
  position: sticky;
  top: 100px;
  min-width: 0;
  overflow: hidden;
}

.gallery-main {
  position: relative;
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  z-index: 2;
}

.gallery-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.gallery-zoom:hover {
  background: var(--green);
  color: var(--white);
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-light);
}

.thumb-item:hover {
  border-color: var(--border);
}

.thumb-item.active {
  border-color: var(--green);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   22. Product Info
   ========================================================================== */

.product-info {
  padding-top: 8px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.product-cat {
  font-size: 12px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-sku {
  font-size: 12px;
  color: var(--gray);
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.product-title {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 16px;
  line-height: 1.15;
}

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

.stars {
  display: flex;
  gap: 2px;
  color: #F5A623;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.rating-text {
  font-size: 14px;
  color: var(--gray);
}

.rating-text a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
}

.product-price .original {
  font-size: 20px;
  color: var(--light-gray);
  text-decoration: line-through;
  margin-left: 12px;
  font-weight: 500;
}

.product-price .save {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  margin-left: 12px;
  font-family: 'Inter', sans-serif;
  vertical-align: middle;
}

.product-short {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}


/* ==========================================================================
   23. Product Variants
   ========================================================================== */

.product-variants {
  margin-bottom: 28px;
}

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

.variant-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.variant-label span {
  color: var(--gray);
  font-weight: 400;
}

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

.variant-option {
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variant-option:hover {
  border-color: var(--green);
}

.variant-option.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.variant-color {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid transparent;
  position: relative;
}

.variant-color.active {
  border-color: var(--green);
}

.variant-color.active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--green);
  border-radius: 50%;
}


/* ==========================================================================
   24. Product Actions (Add to Cart, Quantity, Wishlist)
   ========================================================================== */

.product-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-selector button {
  width: 44px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark);
  transition: var(--transition);
}

.quantity-selector button:hover {
  background: var(--bg-light);
}

.quantity-selector input {
  width: 60px;
  height: 52px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
}

.add-to-cart,
.product-page form.cart .single_add_to_cart_button {
  width: auto;
  flex: 1;
  height: 55px;
  border-radius: 10px;
  background: #010101;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.add-to-cart:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

/* WooCommerce quantity override to match our design */
.product-page .woocommerce .quantity,
.product-page form.cart .quantity {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.product-page form.cart .quantity .qty {
  width: 60px;
  height: 52px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  -moz-appearance: textfield;
}

.product-page form.cart .quantity .qty::-webkit-inner-spin-button,
.product-page form.cart .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/* Product actions row */
.product-page .product-actions,
.product-page form.cart {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}

.wishlist-btn {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.wishlist-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.wishlist-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.product-meta-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray);
}

.meta-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.meta-item strong {
  color: var(--dark);
}


/* ==========================================================================
   25. Product Tabs
   ========================================================================== */

.product-tabs {
  margin-top: 80px;
}

.tabs-header {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.tab-btn {
  position: relative;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.tab-btn.active {
  color: var(--dark);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInDown .4s ease;
}

/* ==========================================================================
   Content Typography — shared across pages, posts, product tabs, WC pages
   ========================================================================== */

.tab-description,
.entry-content,
.page-content,
.woocommerce-Tabs-panel,
.woocommerce-order-details,
.woocommerce-customer-details,
.woocommerce-MyAccount-content,
.cart-collaterals,
.woocommerce-checkout {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray);
}

.cod-bank-notice {
  background: var(--bg-light);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
}

.cod-bank-notice h4 {
  margin: 16px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

.cod-bank-notice h4:first-child {
  margin-top: 0;
}

.cod-bank-notice p {
  margin: 0 0 12px;
}

.cod-bank-notice ul.bank-data-here {
  list-style: none;
  padding: 12px 16px;
  margin: 8px 0 12px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.cod-bank-notice ul.bank-data-here li {
  padding: 4px 0;
  font-size: 14px;
}

.cod-bank-notice .woocommerce-Price-amount {
  color: var(--red);
  font-size: 18px;
}

.tab-description h2, .entry-content h2, .page-content h2 {
  font-size: 26px;
  color: var(--dark);
  margin: 40px 0 16px;
  line-height: 1.25;
}

.tab-description h3, .entry-content h3, .page-content h3 {
  font-size: 20px;
  color: var(--dark);
  margin: 32px 0 12px;
  line-height: 1.3;
}

.tab-description h4, .entry-content h4, .page-content h4 {
  font-size: 17px;
  color: var(--dark);
  margin: 24px 0 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.tab-description p, .entry-content p, .page-content p {
  margin-bottom: 20px;
}

.tab-description ul, .entry-content ul, .page-content ul {
  margin: 16px 0 24px;
  padding-left: 24px;
  list-style: disc;
}

.tab-description ol, .entry-content ol, .page-content ol {
  margin: 16px 0 24px;
  padding-left: 24px;
  list-style: decimal;
}

.tab-description li, .entry-content li, .page-content li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.tab-description a, .entry-content a, .page-content a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.tab-description a:hover, .entry-content a:hover, .page-content a:hover {
  color: var(--green);
}

.tab-description blockquote, .entry-content blockquote, .page-content blockquote {
  border-left: 4px solid var(--green);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--dark);
}

.tab-description img, .entry-content img, .page-content img {
  border-radius: 12px;
  margin: 8px 0 24px;
}

.tab-description table, .entry-content table, .page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.tab-description table td, .entry-content table td, .page-content table td,
.tab-description table th, .entry-content table th, .page-content table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

.tab-description table th, .entry-content table th, .page-content table th {
  color: var(--dark);
  font-weight: 600;
  background: var(--bg-light);
}

.tab-description table tr:last-child td, .entry-content table tr:last-child td {
  border-bottom: none;
}

.tab-description hr, .entry-content hr, .page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* Page titles */
.page-title,
.entry-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 24px;
  line-height: 1.15;
}

/* Post cards (blog) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.post-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

.post-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-light);
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  border-radius: 0;
  margin: 0;
}

.post-card:hover .post-card-img img {
  transform: scale(1.05);
}

.post-card-content {
  padding: 20px 24px 24px;
}

.post-card-title {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.post-card-title a {
  text-decoration: none;
  color: var(--dark);
}

.post-card-title a:hover {
  color: var(--green);
}

.post-card-meta {
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 12px;
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
}

.post-card-link:hover {
  color: var(--green);
}

.post-card-link svg {
  transition: transform .3s ease;
}

.post-card-link:hover svg {
  transform: translateX(4px);
}

/* Comments */
.comments-area {
  font-size: 15px;
  line-height: 1.7;
}

.comments-area .comment-list {
  list-style: none;
  padding: 0;
}

.comments-area .comment-body {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.comments-area .comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comments-area .comment-author img {
  border-radius: 50%;
  margin: 0;
}

.comments-area .comment-author .fn {
  font-weight: 600;
  font-style: normal;
  color: var(--dark);
}

.comments-area .comment-metadata {
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 12px;
}

.comments-area .comment-metadata a {
  color: var(--light-gray);
  text-decoration: none;
}

.comments-area .comment-content {
  color: var(--gray);
}

.comments-area .comment-respond {
  margin-top: 32px;
}

.comments-area .comment-respond label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--dark);
}

.comments-area .comment-respond input[type="text"],
.comments-area .comment-respond input[type="email"],
.comments-area .comment-respond input[type="url"],
.comments-area .comment-respond textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  margin-bottom: 16px;
  transition: var(--transition);
}

.comments-area .comment-respond input:focus,
.comments-area .comment-respond textarea:focus {
  border-color: var(--green);
}

/* WooCommerce account, cart, checkout spacing */
.woocommerce-MyAccount-navigation {
  margin-bottom: 32px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--green);
  color: var(--white);
}

.woocommerce form .form-row {
  margin-bottom: 20px;
}

.woocommerce form .form-row label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--dark);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--green);
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-message {
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
}

.woocommerce-info {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  color: #1565c0;
}

.woocommerce-error {
  background: #ffebee;
  border: 1px solid #ffcdd2;
  color: #c62828;
  list-style: none;
  padding-left: 20px;
}

.woocommerce-message a,
.woocommerce-info a {
  text-decoration: underline;
}

/* WooCommerce buttons */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.woocommerce .button.alt,
.woocommerce button.button.alt {
  background: var(--green);
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--green-dark);
}

/* Cart table */
.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: 12px;
  border-collapse: separate;
  overflow: hidden;
  margin-bottom: 32px;
}

.woocommerce table.shop_table th {
  background: var(--bg-light);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--dark);
}

.woocommerce table.shop_table td {
  padding: 16px;
  border-top: 1px solid var(--border);
  vertical-align: middle;
  font-size: 14px;
}

.woocommerce table.shop_table img {
  border-radius: 8px;
  margin: 0;
  width: 64px;
}

/* Coupon field */
.woocommerce .coupon input.input-text {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  max-width: 200px;
}

/* Cart totals */
.woocommerce .cart_totals {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
}

.woocommerce .cart_totals h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* Checkout */
.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.woocommerce #order_review_heading {
  font-size: 22px;
  margin-bottom: 16px;
}

.woocommerce-checkout #payment {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
}

.woocommerce-checkout #payment ul {
  list-style: none;
  padding: 0;
}

.woocommerce-checkout #payment .place-order {
  padding-top: 20px;
}

@media (max-width: 640px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
  }
}

/* Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table td {
  padding: 16px 0;
  font-size: 14px;
}

.specs-table td:first-child {
  color: var(--gray);
  width: 200px;
}

.specs-table td:last-child {
  color: var(--dark);
  font-weight: 500;
}


/* ==========================================================================
   26. Reviews
   ========================================================================== */

.reviews-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.reviews-score {
  text-align: center;
}

.score-number {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.score-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 12px 0;
  color: #F5A623;
}

.score-stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.score-text {
  font-size: 14px;
  color: var(--gray);
}

.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.rating-bar span {
  color: var(--gray);
  width: 60px;
}

.rating-bar .bar {
  flex: 1;
  height: 8px;
  background: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar .bar-fill {
  height: 100%;
  background: #F5A623;
  border-radius: 4px;
}

.rating-bar .count {
  color: var(--gray);
  width: 40px;
  text-align: right;
}

.review-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.reviewer-name {
  font-weight: 600;
  font-size: 15px;
}

.review-date {
  font-size: 13px;
  color: var(--light-gray);
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #F5A623;
  margin-bottom: 12px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green);
  margin-top: 12px;
}


/* ==========================================================================
   27. Related Products Section
   ========================================================================== */

.related-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.related-section .section-title {
  font-size: 28px;
  margin-bottom: 0;
}

/* Override any WooCommerce heading bloat */
.woocommerce h2,
.product-page h2,
.related-section h2 {
  font-size: 28px;
}

.woocommerce .product-page h1.product-title {
  font-size: clamp(28px, 3vw, 42px);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.view-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.view-all:hover {
  color: var(--green);
}

.view-all svg {
  transition: transform .3s ease;
}

.view-all:hover svg {
  transform: translateX(4px);
}


/* ==========================================================================
   28. Trust Badges
   ========================================================================== */

.trust-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.trust-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 13px;
  color: var(--gray);
}


/* ==========================================================================
   29. Category Page
   ========================================================================== */

.category-page {
  padding: 40px 0 80px;
}

.category-header {
  margin-bottom: 32px;
}

.category-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 8px;
}

.category-count {
  color: var(--gray);
  font-size: 15px;
}

.category-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}


/* ==========================================================================
   30. Sidebar Filters
   ========================================================================== */

.filters-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filter-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.filter-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.filter-clear {
  font-size: 12px;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.filter-clear:hover {
  color: #c62828;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.filter-label .count {
  color: var(--light-gray);
  font-weight: 400;
  font-size: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray);
  transition: var(--transition);
}

.filter-option:hover {
  color: var(--dark);
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  accent-color: var(--green);
  cursor: pointer;
}

.filter-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
}

.filter-color {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray);
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: var(--transition);
}

.filter-color:hover .color-dot {
  transform: scale(1.1);
}

.filter-color.active .color-dot {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--green);
}

.price-range {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.price-range input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.price-range input:focus {
  border-color: var(--green);
}

.price-range span {
  color: var(--gray);
}

/* Active Filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-light);
  border-radius: 50px;
  font-size: 13px;
  transition: var(--transition);
}

.filter-tag:hover {
  background: var(--border);
}

.filter-tag button {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
}

.filter-tag button:hover {
  color: var(--red);
}

.clear-all {
  color: var(--red);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 8px 0;
}

.clear-all:hover {
  color: #c62828;
}


/* ==========================================================================
   31. Category Toolbar
   ========================================================================== */

.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.view-toggle {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray);
}

.view-btn:hover {
  background: var(--bg-light);
}

.view-btn.active {
  background: var(--green);
  color: var(--white);
}

.sort-select {
  padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.sort-select:focus {
  border-color: var(--green);
  outline: none;
}

.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}


/* ==========================================================================
   32. Product Grid Variants (Grid & List views)
   ========================================================================== */

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

/* Category page uses 3 columns by default */
.category-content .products-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Category page product-img uses different aspect ratio */
.category-content .product-card .product-img {
  aspect-ratio: 4/3;
}

/* List view */
.products-grid.list {
  grid-template-columns: 1fr;
}

.products-grid.list .product-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.products-grid.list .product-img {
  aspect-ratio: auto;
  height: 100%;
}

.products-grid.list .product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 24px 24px 0;
}

.products-grid.list .product-name {
  font-size: 18px;
  -webkit-line-clamp: 3;
}


/* ==========================================================================
   33. Pagination
   ========================================================================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  background: var(--white);
}

.page-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.page-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.page-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.page-btn svg {
  width: 16px;
  height: 16px;
}


/* ==========================================================================
   34. Mobile Filter Drawer
   ========================================================================== */

.mobile-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.mobile-filter-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  background: var(--white);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}

.mobile-filter-drawer.open {
  transform: translateX(0);
}

.mobile-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}

.mobile-filter-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.mobile-filter-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 50%;
  transition: var(--transition);
}

.mobile-filter-close:hover {
  background: var(--bg-light);
}

.mobile-filter-body {
  padding: 20px 24px;
}

.mobile-filter-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--white);
  display: flex;
  gap: 12px;
}

.mobile-filter-footer button {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--dark);
}

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

.btn-primary {
  background: var(--green);
  color: var(--white);
}

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


/* ==========================================================================
   35. Footer
   ========================================================================== */

.footer {
  background: var(--bg-light);
  padding: 56px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
  height: 36px;
  margin-bottom: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--green);
}

.footer-contact a svg {
  color: var(--green);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.footer-address {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.6;
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--gray);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--green);
  padding-left: 4px;
}

.footer-social {
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.footer-social span {
  font-size: 14px;
  font-weight: 600;
}

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

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray);
}

.footer-social-links a:hover {
  border-color: var(--green);
  color: var(--green);
}

.footer-delivery {
  background: var(--bg-mint);
  margin: 0 -24px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  border-radius: 8px;
}

.footer-delivery svg {
  color: var(--green);
  flex-shrink: 0;
}

.footer-delivery strong {
  font-size: 14px;
}

.footer-delivery span {
  font-size: 13px;
  color: var(--gray);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--light-gray);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--light-gray);
  transition: var(--transition);
}

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

.payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray);
}


/* ==========================================================================
   36. Back to Top Button
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ===== QUICK VIEW MODAL ===== */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.qv-overlay.show {
  opacity: 1;
  visibility: visible;
}

.qv-inner {
  background: var(--white);
  border-radius: 16px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: fadeInDown .3s ease;
}

.qv-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
}

.qv-close:hover {
  background: var(--bg-light);
}

.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.qv-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  background: var(--bg-light);
}

.qv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qv-image .sale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.qv-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 640px) {
  .qv-grid {
    grid-template-columns: 1fr;
  }
  .qv-image {
    border-radius: 16px 16px 0 0;
    aspect-ratio: 16/10;
  }
  .qv-info {
    padding: 20px;
  }
}


/* ==========================================================================
   37. Mobile Nav Overlay
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  padding: 0;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 50%;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  background: var(--bg-light);
}

.mobile-nav-body {
  padding: 16px 24px 32px;
}

.mobile-nav-search {
  position: relative;
  margin-bottom: 20px;
}

.mobile-nav-search input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}

.mobile-nav-search input:focus {
  border-color: var(--dark);
}

.mobile-nav-search svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.mobile-nav-section {
  margin-bottom: 20px;
}

.mobile-nav-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-gray);
  padding: 8px 0;
  margin-bottom: 4px;
}

.mobile-nav ul {
  margin-bottom: 8px;
}

.mobile-nav ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-nav ul li a:active {
  background: var(--bg-light);
  margin: 0 -24px;
  padding: 13px 24px;
}

.mobile-nav ul li a .mn-arrow {
  color: var(--light-gray);
  font-size: 18px;
}

.mobile-nav ul li {
  position: relative;
}

.mobile-nav ul li.menu-item-has-children > a {
  padding-right: 48px;
}

.mobile-nav .mn-submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--light-gray);
  font-size: 20px;
  line-height: 1;
  z-index: 1;
}

.mobile-nav .mn-submenu-toggle .mn-arrow {
  font-size: 20px;
  font-weight: 600;
  transition: transform .2s ease;
}

.mobile-nav ul ul {
  display: none;
  padding-left: 16px;
  margin-bottom: 0;
  border-left: 2px solid var(--border);
  margin-left: 4px;
}

.mobile-nav ul li.submenu-open > ul {
  display: block;
}

.mobile-nav ul ul li a {
  font-size: 15px;
  font-weight: 400;
  padding: 11px 0;
  color: var(--gray);
}

.mobile-nav ul ul ul {
  padding-left: 14px;
}

.mobile-nav-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.mobile-nav-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray);
}

.mobile-nav-contact a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}


/* ==========================================================================
   38. WooCommerce Overrides
   ========================================================================== */

/* --- General WooCommerce page wrapper --- */
.woocommerce,
.woocommerce-page {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
}

/* --- WooCommerce Breadcrumbs --- */
.woocommerce-breadcrumb {
  background: var(--bg-light);
  padding: 16px 0;
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.woocommerce-breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
}

.woocommerce-breadcrumb a:hover {
  color: var(--green);
}

.woocommerce-breadcrumb .breadcrumb-separator,
.woocommerce-breadcrumb > span {
  color: var(--light-gray);
}

/* --- WooCommerce Product Grid (archive/shop) --- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
  border-color: var(--border);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  margin: 0;
  transition: transform .6s ease;
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.08);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px 4px;
  color: var(--dark);
  font-family: 'Inter', sans-serif;
}

.woocommerce ul.products li.product .price {
  padding: 0 16px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.woocommerce ul.products li.product .price del {
  color: var(--light-gray);
  font-size: 13px;
  font-weight: 400;
}

.woocommerce ul.products li.product .price ins {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

/* --- WooCommerce Sale badge --- */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  min-width: auto;
  min-height: auto;
  line-height: 1.5;
  z-index: 2;
}

/* --- WooCommerce Buttons --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  transition: var(--transition);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.woocommerce a.button.alt.disabled,
.woocommerce a.button.alt:disabled,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled {
  background: var(--border);
  color: var(--gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* "Add to cart" on archive pages */
.woocommerce ul.products li.product .button {
  margin: 0 16px 16px;
  display: block;
  text-align: center;
  border-radius: 4px;
}

/* --- WooCommerce Price (single product) --- */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-size: 20px;
  color: var(--light-gray);
  font-weight: 500;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
  color: var(--red);
}

/* --- WooCommerce Quantity Input --- */
.woocommerce .quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.woocommerce .quantity .qty {
  width: 60px;
  height: 52px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  -moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- WooCommerce Notices / Messages --- */
.woocommerce-message {
  border-top-color: var(--green);
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 24px;
}

.woocommerce-message::before {
  color: var(--green);
}

.woocommerce-message a.button {
  padding: 8px 16px;
  font-size: 13px;
}

.woocommerce-error {
  border-top-color: var(--red);
  background: #fef2f2;
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 24px;
}

.woocommerce-error::before {
  color: var(--red);
}

.woocommerce-info {
  border-top-color: var(--green);
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 24px;
}

.woocommerce-info::before {
  color: var(--green);
}

/* --- WooCommerce Cart --- */
.woocommerce-cart-form {
  margin-bottom: 40px;
}

.woocommerce-cart-form table.shop_table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  border-collapse: collapse;
}

.woocommerce-cart-form table.shop_table th {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.woocommerce-cart-form table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}

.woocommerce-cart-form table.shop_table img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.woocommerce table.shop_table td.actions {
  padding: 20px 16px;
}

.woocommerce .cart-collaterals .cart_totals {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: var(--bg-light);
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.woocommerce .cart-collaterals .cart_totals table {
  border: none;
}

.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block;
  text-align: center;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 16px;
}

/* --- WooCommerce Checkout --- */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-checkout .form-row {
  margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: var(--dark);
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: var(--green);
}

.woocommerce-checkout #order_review {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: var(--bg-light);
}

.woocommerce-checkout #payment {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
}

.woocommerce-checkout #payment .place-order .button {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
}

/* --- WooCommerce My Account --- */
.woocommerce-MyAccount-navigation {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 32px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  border-radius: 8px;
  transition: var(--transition);
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--white);
  color: var(--green);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
}

.woocommerce-MyAccount-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

/* --- WooCommerce Tables (Orders, etc.) --- */
.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  border-collapse: collapse;
}

.woocommerce table.shop_table th {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--bg-light);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

/* --- WooCommerce Star Ratings --- */
.woocommerce .star-rating {
  color: #F5A623;
}

.woocommerce .star-rating::before {
  color: var(--border);
}

/* --- WooCommerce Tabs (single product) --- */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--border);
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  position: relative;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--dark);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--dark);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}

.woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  padding: 0;
}

/* --- WooCommerce Form Fields --- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--green);
}

/* --- WooCommerce Pagination --- */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  margin-top: 48px;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
  margin: 0;
  padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--white);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* --- WooCommerce Widget areas --- */
.woocommerce .widget_price_filter .ui-slider {
  background: var(--bg-light);
  border-radius: 4px;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background: var(--green);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  background: var(--green);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* --- WooCommerce Loading / Overlay --- */
.woocommerce .blockUI.blockOverlay {
  background: rgba(255, 255, 255, .7) !important;
}

/* --- WooCommerce Select2 Dropdown (if used) --- */
.woocommerce .select2-container .select2-selection--single {
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 48px;
  padding-left: 16px;
  font-size: 14px;
}


/* ==========================================================================
   39. Responsive Breakpoints
   ========================================================================== */

/* --- 1200px: Category layout adjustment --- */
@media (max-width: 1200px) {
  .category-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .category-content .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 1024px: Tablet breakpoint (shared) --- */
@media (max-width: 1024px) {
  /* Header */
  .header-nav,
  .header-search,
  .header-phone,
  .topbar {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header .container {
    padding: 0 16px;
  }

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

  .header-icons {
    gap: 12px;
  }

  /* Secondary Nav */
  .secondary-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .secondary-nav::-webkit-scrollbar {
    display: none;
  }

  .secondary-nav .container {
    justify-content: flex-start;
    gap: 20px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .mega-menu {
    display: none !important;
  }

  .snav-item > a .drop {
    display: none;
  }

  /* Hero */
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-content .container {
    padding: 0 0 0 40px;
  }

  /* Homepage sections */
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .inspired-grid {
    grid-template-columns: 1fr;
  }

  .inspired-image {
    min-height: 300px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .color-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonial-arrow {
    width: 38px;
    height: 38px;
  }

  /* Product page */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: relative;
    top: 0;
  }

  .gallery-main {
    aspect-ratio: 1;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .reviews-bars {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Category page */
  .filters-sidebar {
    display: none;
  }

  .category-layout {
    grid-template-columns: 1fr;
  }

  .mobile-filter-toggle {
    display: flex;
  }

  .category-toolbar {
    position: sticky;
    top: 70px;
    background: var(--white);
    z-index: 100;
    padding-top: 16px;
    margin-top: -16px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  /* WooCommerce */
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 640px: Mobile breakpoint (shared) --- */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    height: 55vh;
    min-height: 320px;
  }

  .hero-content .container {
    padding: 0 0 0 24px;
  }

  .hero-title {
    font-size: 26px;
    max-width: 85%;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 20px;
  }

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

  .section-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  /* Categories */
  .categories-grid {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 14px;
  }

  .categories-grid::-webkit-scrollbar {
    display: none;
  }

  .category-item {
    flex: 0 0 85px;
  }

  .category-item .cat-img {
    width: 68px;
    height: 68px;
  }

  .category-item span {
    font-size: 12px;
  }

  /* Offers */
  .offer-card {
    min-height: 200px;
    padding: 24px;
  }

  .offer-card h3 {
    font-size: 20px;
  }

  .offer-card .offer-img {
    width: 40%;
    max-width: 140px;
  }

  /* Product cards (carousel) */
  .products-carousel .product-card {
    flex: 0 0 165px;
  }

  .product-card .product-info {
    padding: 10px;
  }

  .product-card .product-name {
    font-size: 13px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow.left {
    left: -8px;
  }

  .carousel-arrow.right {
    right: -8px;
  }

  /* Inspired */
  .inspired-products {
    padding: 20px;
  }

  .inspired-product img {
    width: 64px;
    height: 64px;
  }

  /* Color */
  .color-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .color-card {
    aspect-ratio: 3/3.5;
  }

  .color-card .color-label {
    font-size: 18px;
    top: 14px;
    left: 14px;
  }

  .color-tags {
    gap: 6px;
  }

  .color-tag {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* Featured cat */
  .featured-cat h2 {
    font-size: 22px;
  }

  .featured-cat-scroll .fc-item {
    flex: 0 0 120px;
  }

  .featured-cat-scroll .fc-item img {
    width: 120px;
    height: 150px;
  }

  .featured-cat-scroll .fc-item .fc-item-img {
    width: 120px;
    height: 150px;
  }

  /* Testimonials */
  .testimonials {
    padding: 48px 0;
  }

  .testimonials-inner {
    padding: 0 16px;
  }

  .testimonial-text {
    font-size: 20px !important;
  }

  .testimonial-arrow {
    display: none;
  }

  .testimonial-dots button {
    width: 10px;
    height: 10px;
  }

  /* About */
  .about-text h2 {
    font-size: 24px;
  }

  .about-btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-item h4 {
    font-size: 12px;
  }

  .feature-item p {
    font-size: 12px;
  }

  /* Instagram */
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  /* Product page */
  .product-page {
    padding: 24px 0 60px;
  }

  .product-title {
    font-size: 24px;
  }

  .product-price {
    font-size: 28px;
  }

  .product-actions {
    flex-wrap: wrap;
  }

  .add-to-cart {
    width: 100%;
    order: 3;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-card .product-info {
    padding: 12px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .tabs-header {
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tabs-header::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    padding: 12px 0;
    font-size: 14px;
  }

  .specs-table td:first-child {
    width: 120px;
  }

  .related-section {
    padding: 60px 0;
  }

  /* Category page */
  .category-page {
    padding: 24px 0 60px;
  }

  .category-title {
    font-size: 28px;
  }

  .category-content .product-card .price-sale,
  .category-content .product-card .price-regular {
    font-size: 15px;
  }

  .pagination {
    flex-wrap: wrap;
  }

  /* Secondary Nav */
  .secondary-nav .container {
    gap: 16px;
    padding-left: 16px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .payment-icons {
    justify-content: center;
  }

  .footer-social {
    flex-wrap: wrap;
  }

  .footer-delivery {
    margin: 0 -16px;
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  /* Back to top */
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  /* WooCommerce */
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    padding: 10px 12px 4px;
  }

  .woocommerce ul.products li.product .price {
    padding: 0 12px 12px;
    font-size: 14px;
  }

  .woocommerce ul.products li.product .button {
    margin: 0 12px 12px;
    font-size: 12px;
    padding: 10px 16px;
  }
}

/* --- 480px: Small mobile (category) --- */
@media (max-width: 480px) {
  .category-content .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .toolbar-left {
    width: 100%;
    justify-content: space-between;
  }
}

/* --- 380px: Smallest breakpoint (shared) --- */
@media (max-width: 380px) {
  .hero-title {
    font-size: 22px;
  }

  .hero-tag {
    font-size: 11px;
    padding: 5px 14px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* WooCommerce */
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}
