/*
Theme Name: Dynapharm Health Store
Theme URI: https://dynapharm.sale.co.ke
Author: Dynapharm Kenya
Author URI: https://dynapharm.sale.co.ke
Description: A premium health & wellness WooCommerce theme for Dynapharm Kenya — featuring clean orange branding, product grid layouts, WhatsApp ordering, and full mobile responsiveness. Built to match the Dynapharm store.link experience on WordPress.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dynapharm
Tags: woocommerce, health, wellness, e-commerce, orange, supplements

IMPORTANT: This theme does NOT modify any permalink structures.
All existing product and article URLs remain exactly the same.
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --orange-dark:   #c45600;
  --orange-main:   #e66700;
  --orange-mid:    #ff8c00;
  --orange-light:  #fff4e6;
  --orange-pale:   #fff9f2;
  --gold:          #c8971a;
  --gold-light:    #f0c040;
  --white:         #ffffff;
  --off-white:     #fafcfa;
  --gray-50:       #f7f7f7;
  --gray-100:      #eeeeee;
  --gray-200:      #dddddd;
  --gray-400:      #aaaaaa;
  --gray-600:      #666666;
  --gray-800:      #333333;
  --text-dark:     #2a2018;
  --text-body:     #4a4038;
  --red-sale:      #e53e3e;
  --whatsapp:      #25d366;
  --whatsapp-dark: #128c47;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  24px;
  --radius-full: 999px;

  --shadow-xs:  0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.09);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.11);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.13);
  --shadow-orange: 0 4px 20px rgba(230,103,0,0.25);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --container:  1240px;
  --header-h:   70px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

p { margin-bottom: 1rem; }

input, button, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad { padding: 64px 0; }
.section-pad-sm { padding: 40px 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--orange-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  padding: 7px 0;
  letter-spacing: 0.02em;
}

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

.top-bar a {
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}

.top-bar a:hover { color: var(--gold-light); }

.top-bar-left { display: flex; align-items: center; gap: 20px; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange-dark);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--gray-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Search bar */
.header-search {
  flex: 1;
  max-width: 440px;
}

.header-search form {
  display: flex;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header-search form:focus-within {
  border-color: var(--orange-main);
  box-shadow: 0 0 0 3px rgba(230,103,0,0.12);
}

.header-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 16px;
  font-size: 0.875rem;
  background: transparent;
  color: var(--text-dark);
}

.header-search button {
  background: var(--orange-main);
  border: none;
  padding: 9px 16px;
  cursor: pointer;
  color: white;
  transition: background var(--transition);
  display: flex;
  align-items: center;
}

.header-search button:hover { background: var(--orange-dark); }
.header-search button svg { width: 16px; height: 16px; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  position: relative;
  text-decoration: none;
}

.header-action-btn:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.header-action-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: 2px;
  right: 4px;
  background: var(--red-sale);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.whatsapp-header-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 10px rgba(37,211,102,0.35);
}

.whatsapp-header-btn:hover {
  background: var(--whatsapp-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
}

.whatsapp-header-btn svg { width: 20px; height: 20px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

.menu-toggle svg { width: 24px; height: 24px; }

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.nav-bar {
  background: var(--orange-main);
  position: relative;
  z-index: 999;
}

.nav-bar .container {
  display: flex;
  align-items: stretch;
}

.nav-menu {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.nav-menu > li {
  position: relative;
  flex-shrink: 0;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a {
  background: rgba(0,0,0,0.18);
  color: white;
}

.nav-menu > li > a .nav-arrow {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform var(--transition);
}

.nav-menu > li:hover > a .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
border-top: 3px solid var(--orange-main);
  background: var(--orange-light);
  color: var(--orange-dark);
  padding-left: 24px;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-main) 60%, var(--orange-mid) 100%);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255,255,255,0.06) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

.hero-content { color: white; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-white {
  background: white;
  color: var(--orange-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 3px 14px rgba(37,211,102,0.4);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.btn-green {
  background: var(--orange-main);
  color: white;
  box-shadow: var(--shadow-orange);
}

.btn-green:hover {
  background: var(--orange-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230,103,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--orange-main);
  border: 2px solid var(--orange-main);
}

.btn-outline:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-height: 340px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  animation: heroFloat 4s ease-in-out infinite;
}

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

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat-item { color: white; }
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   PROMO STRIP
   ============================================================ */
.promo-strip {
  background: var(--gold);
  padding: 10px 0;
  overflow: hidden;
}

.promo-strip-inner {
  display: flex;
  gap: 48px;
  animation: scrollPromo 30s linear infinite;
  width: max-content;
}

.promo-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.promo-strip-item svg { width: 16px; height: 16px; flex-shrink: 0; }

@keyframes scrollPromo {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-desc {
  color: var(--gray-600);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
}

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

.category-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 12px 18px;
  text-align: center;
  border: 1px solid var(--gray-100);
  position: relative;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-light);
}

.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-main);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.category-card:hover::after { transform: scaleX(1); }

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background var(--transition);
}

.category-card:hover .category-icon { background: var(--orange-main); }

.category-icon svg {
  width: 28px;
  height: 28px;
  color: var(--orange-main);
  transition: color var(--transition);
}

.category-card:hover .category-icon svg { color: white; }

.category-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.72rem;
  color: var(--gray-400);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-50);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.badge-sale { background: var(--red-sale); color: white; }
.badge-new { background: var(--orange-main); color: white; }
.badge-hot { background: var(--gold); color: white; }

.product-actions-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: row;
  gap: 6px;
  z-index: 10;
}

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

.product-action-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}

.product-action-btn:hover { background: var(--orange-main); color: white; }
.product-action-btn svg { width: 16px; height: 16px; }

.product-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category-tag {
  font-size: 0.68rem;
  color: var(--orange-main);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  flex: 1;
}

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

.product-name a:hover { color: var(--orange-main); }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.price-current {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange-dark);
  font-family: var(--font-display);
}

.price-original {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-save {
  font-size: 0.65rem;
  background: #fff0f0;
  color: var(--red-sale);
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.product-footer {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.add-to-cart-btn {
  flex: 1;
  background: var(--orange-main);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
}

.add-to-cart-btn:hover {
  background: var(--orange-dark);
  color: white;
  transform: translateY(-1px);
}

.add-to-cart-btn svg { width: 14px; height: 14px; }

.whatsapp-buy-btn {
  width: 32px;
  height: 32px;
  background: var(--whatsapp);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
  text-decoration: none;
}

.whatsapp-buy-btn:hover { background: var(--whatsapp-dark); color: white; }
.whatsapp-buy-btn svg { width: 16px; height: 16px; }

/* ============================================================
   FEATURED BANNER
   ============================================================ */
.featured-banner {
  background: linear-gradient(120deg, var(--orange-dark), var(--orange-main));
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: white;
  overflow: hidden;
  position: relative;
  margin: 40px 0;
}

.featured-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.featured-banner-text { flex: 1; position: relative; z-index: 1; }

.featured-banner-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.featured-banner-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.featured-banner-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-bar {
  background: white;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 24px 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange-main);
}

.trust-icon svg { width: 24px; height: 24px; }

.trust-text-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.trust-text-sub {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 20px;
  font-size: 4rem;
  color: var(--orange-light);
  font-family: var(--font-display);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
  color: var(--gold);
}

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

.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-main);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-location {
  font-size: 0.72rem;
  color: var(--gray-600);
}

/* ============================================================
   BLOG / ARTICLE CARDS
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

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

.article-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-50);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.article-card-body { padding: 18px; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.article-meta .cat-tag {
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.68rem;
}

.article-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.article-card:hover .article-title { color: var(--orange-main); }

.article-excerpt {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }

.sidebar-widget {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  margin-bottom: 20px;
}

.widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange-light);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--orange-main);
}

.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-widget ul li:last-child { border-bottom: none; }

.sidebar-widget ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-body);
  transition: color var(--transition);
}

.sidebar-widget ul li a:hover { color: var(--orange-main); }

.sidebar-cat-count {
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

/* Sidebar WhatsApp CTA */
.sidebar-whatsapp {
  background: linear-gradient(135deg, #2a2018, #4a4038);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.sidebar-whatsapp svg { width: 40px; height: 40px; margin: 0 auto 10px; display: block; }
.sidebar-whatsapp h4 { font-size: 0.95rem; margin-bottom: 6px; }
.sidebar-whatsapp p { font-size: 0.78rem; opacity: 0.9; margin-bottom: 14px; }
.sidebar-whatsapp a {
  display: block;
  background: white;
  color: var(--whatsapp-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
  text-decoration: none;
}

.sidebar-whatsapp a:hover { background: var(--orange-light); }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius-md) !important;
  border-left: 4px solid var(--orange-main) !important;
  padding: 14px 18px !important;
  margin-bottom: 20px !important;
  font-size: 0.88rem !important;
}

.woocommerce-error { border-left-color: var(--red-sale) !important; }

/* ============================================================
   LOADING SKELETON
   ============================================================ */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .footer-compact { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .top-bar { display: none; }

  .header-search { display: none; }

  .logo-tagline { display: none; }

  .whatsapp-header-btn span { display: none; }
  .whatsapp-header-btn { padding: 9px 12px; }

  .menu-toggle { display: flex; }

  .nav-bar { display: none; }
  .nav-bar.open { display: block; }

  .nav-menu {
    flex-direction: column;
    background: var(--orange-dark);
  }

  .nav-menu > li > a { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .nav-menu .sub-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: rgba(0,0,0,0.2);
  }

  .hero-title { font-size: 1.7rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }

  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .category-card { padding: 16px 8px 12px; }
  .category-icon { width: 48px; height: 48px; }
  .category-icon svg { width: 22px; height: 22px; }
  .category-name { font-size: 0.72rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  .article-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .featured-banner { flex-direction: column; padding: 28px 24px; text-align: center; }

  .woocommerce div.product { grid-template-columns: 1fr; }

  .float-whatsapp { bottom: 18px; right: 18px; width: 50px; height: 50px; }

  .promo-strip { display: none; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}

/* ============================================================
   WOOCOMMERCE PRODUCT PAGE - MOBILE FIXES
   ============================================================ */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.woocommerce div.product div.images {
  margin-bottom: 0;
}

.woocommerce div.product div.images img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
}

.woocommerce div.product form.cart {
  margin-bottom: 20px;
}

.woocommerce div.product p.price {
  font-size: 1.5rem;
  color: var(--orange-dark);
  margin-bottom: 16px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.woocommerce div.product .product_meta {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.woocommerce div.product .product_meta a {
  color: var(--orange-main);
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 48px;
  clear: both;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: 2px solid var(--gray-100);
  list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none;
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 20px;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--orange-main);
  border-bottom-color: var(--orange-main);
}

.woocommerce div.product .woocommerce-tabs .panel {
  padding: 24px 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* Related & Up-Sells Products */
.woocommerce div.product .related,
.woocommerce div.product .up-sells {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.woocommerce div.product .related h2,
.woocommerce div.product .up-sells h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.woocommerce ul.products li.product {
  text-align: center;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
  padding-bottom: 16px;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product a img {
  margin: 0;
  border-radius: 0;
}

.woocommerce ul.products li.product a.button {
  background: var(--orange-main);
  color: white;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 12px;
  transition: background var(--transition);
}

.woocommerce ul.products li.product a.button:hover {
  background: var(--orange-dark);
  color: white;
}

/* Quantity Input */
.woocommerce .quantity .qty {
  width: 70px;
  height: 44px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0 8px;
  font-size: 1rem;
  text-align: center;
}

.woocommerce .single_add_to_cart_button {
  background: var(--orange-main);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.woocommerce .single_add_to_cart_button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

/* Star Rating */
.woocommerce .star-rating {
  color: var(--gold);
  font-size: 0.9rem;
}

.woocommerce .woocommerce-product-rating {
  margin-bottom: 12px;
}

/* Sale Badge */
.woocommerce span.onsale {
  background: var(--red-sale);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  min-width: auto;
  min-height: auto;
  line-height: 1.4;
  top: 12px;
  left: 12px;
}

/* ============================================================
   RESPONSIVE FIXES - TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }

  .woocommerce ul.products li.product {
    padding-bottom: 12px;
  }
}

/* ============================================================
   RESPONSIVE FIXES - MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .woocommerce div.product div.images {
    margin-bottom: 20px;
  }

  .woocommerce div.product p.price {
    font-size: 1.3rem;
  }

  .woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 0.9rem;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .woocommerce ul.products li.product {
    padding-bottom: 10px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.8rem;
    padding: 0 8px;
  }

  .woocommerce ul.products li.product .price {
    font-size: 0.9rem;
  }

  .woocommerce ul.products li.product a.button {
    padding: 8px 12px;
    font-size: 0.7rem;
    margin-top: 8px;
  }

  .woocommerce .quantity .qty {
    width: 60px;
    height: 40px;
    font-size: 0.9rem;
  }

  .woocommerce .single_add_to_cart_button {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .woocommerce div.product .woocommerce-tabs .panel {
    padding: 16px 0;
    font-size: 0.9rem;
  }

  .woocommerce div.product .related h2,
  .woocommerce div.product .up-sells h2 {
    font-size: 1.1rem;
  }

  .woocommerce ul.products li.product {
    font-size: 0.85rem;
  }

  .woocommerce .star-rating {
    font-size: 0.8rem;
  }
}

/* ============================================================
   RESPONSIVE FIXES - SMALL MOBILE
   ============================================================ */
@media (max-width: 480px) {
  .woocommerce div.product {
    gap: 16px;
    margin-bottom: 24px;
  }

  .woocommerce div.product p.price {
    font-size: 1.2rem;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .woocommerce ul.products li.product {
    padding-bottom: 8px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.75rem;
    padding: 0 6px;
  }

  .woocommerce ul.products li.product .price {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 2px;
  }

  .woocommerce ul.products li.product a.button {
    padding: 6px 8px;
    font-size: 0.65rem;
  }

  .woocommerce .quantity .qty {
    width: 50px;
    height: 36px;
    font-size: 0.85rem;
  }

  .woocommerce .single_add_to_cart_button {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    display: inline-block;
    float: none;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .woocommerce span.onsale {
    padding: 2px 8px;
    font-size: 0.65rem;
    top: 8px;
    left: 8px;
  }

  /* Product Thumbnails - ensure proper sizing */
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    display: block;
  }

  .woocommerce div.product div.images .woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .woocommerce div.product div.images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ============================================================
   CART PAGE - MOBILE FIXES
   ============================================================ */
@media (max-width: 768px) {
  .woocommerce-cart table.cart {
    font-size: 0.85rem;
  }

  .woocommerce-cart table.cart img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }

  .woocommerce-cart table.cart td {
    padding: 10px 8px;
  }

  .woocommerce-cart .cart-collaterals {
    margin-top: 24px;
  }

  .woocommerce-cart .cart_totals {
    width: 100%;
  }

  .woocommerce-checkout #payment ul.payment_methods {
    font-size: 0.85rem;
  }

  .woocommerce-checkout #payment div.place-order {
    padding: 16px;
  }

  .woocommerce-checkout #payment button {
    width: 100%;
    font-size: 1rem;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .woocommerce-cart table.cart img {
    width: 50px;
    height: 50px;
  }

  .woocommerce-cart table.cart .product-name {
    font-size: 0.8rem;
  }

  .woocommerce-cart .coupon {
    flex-direction: column;
    gap: 10px;
  }

  .woocommerce-cart .coupon input {
    width: 100%;
  }

  .woocommerce-checkout form.checkout {
    font-size: 0.9rem;
  }

  .woocommerce-checkout #customer_details {
    margin-bottom: 20px;
  }

  .woocommerce-checkout .col2-set {
    width: 100%;
  }
}

/* ============================================================
   FOOTER MOBILE FIXES
   ============================================================ */
.footer-compact {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 32px;
}

.footer-brand-col .footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.footer-brand-col .footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-contact-mini {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-contact-mini a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.footer-contact-mini a:hover {
  color: var(--gold-light);
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.footer-links li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer-links li a:hover {
  color: var(--gold-light);
}

.footer-bottom-bar {
  background: rgba(0,0,0,0.2);
  padding: 16px 0;
  margin-top: 32px;
}

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

.footer-bottom-left {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

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

.footer-bottom-right a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-bottom-right a:hover {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .footer-compact {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-contact-mini {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-compact {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0 20px;
  }

  .footer-brand-col {
    text-align: center;
  }

  .footer-brand-col .footer-brand-name {
    font-size: 1.1rem;
  }

  .footer-contact-mini {
    justify-content: center;
  }

  .footer-links-col,
  .footer-cats-col {
    text-align: center;
  }

  .footer-col-title {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .footer-links li {
    margin-bottom: 6px;
  }

  .footer-links li a {
    font-size: 0.8rem;
  }

  .footer-bottom-left,
  .footer-bottom-right a {
    font-size: 0.7rem;
  }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition);
  z-index: 999;
}

.float-whatsapp svg {
  width: 32px;
  height: 32px;
}

.float-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

@media (max-width: 768px) {
  .float-whatsapp {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }

  .float-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .float-whatsapp {
    bottom: 14px;
    right: 14px;
    width: 50px;
    height: 50px;
  }

  .float-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================================
   BREADCRUMBS MOBILE FIXES
   ============================================================ */
.breadcrumb-bar {
  background: white;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.breadcrumbs::-webkit-scrollbar {
  display: none;
}

.breadcrumbs a {
  color: var(--gray-600);
  white-space: nowrap;
  transition: color var(--transition);
}

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

.breadcrumbs .sep svg {
  width: 12px;
  height: 12px;
  color: var(--gray-400);
}

.breadcrumbs .current {
  color: var(--text-dark);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .breadcrumb-bar {
    padding: 10px 0;
  }

  .breadcrumbs {
    font-size: 0.72rem;
    gap: 4px;
  }

  .breadcrumbs .sep svg {
    width: 10px;
    height: 10px;
  }
}

/* ============================================================
   GENERAL MOBILE IMPROVEMENTS
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section-pad {
    padding: 40px 0;
  }

  .section-pad-sm {
    padding: 28px 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .section-pad {
    padding: 32px 0;
  }

  .section-pad-sm {
    padding: 20px 0;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.9rem;
  }
}

/* ============================================================
   SINGLE PRODUCT PAGE - MOBILE FIRST
   ============================================================ */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

/* Product Images Column */
.woocommerce div.product div.images {
  margin-bottom: 0;
  float: none;
  width: 100%;
}

/* Product Summary Column */
.woocommerce div.product div.summary {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ============================================================
   PRODUCT GRID - CONSISTENT SIZING
   ============================================================ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product a img {
  margin: 0;
  border-radius: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 12px 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.woocommerce ul.products li.product .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange-dark);
  padding: 0 12px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

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

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product a.button {
  display: inline-block;
  margin: 12px;
  padding: 10px 16px;
  background: var(--orange-main);
  color: white;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.woocommerce ul.products li.product a.button:hover {
  background: var(--orange-dark);
  color: white;
}

/* ============================================================
   PRODUCT PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .woocommerce div.product {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

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

  .woocommerce ul.products li.product {
    border-radius: 12px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.85rem;
    padding: 10px 10px 4px;
  }

  .woocommerce ul.products li.product .price {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .woocommerce ul.products li.product a.button {
    margin: 10px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .woocommerce div.product {
    gap: 20px;
    margin-bottom: 24px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .woocommerce ul.products li.product {
    border-radius: 10px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.8rem;
    padding: 8px 8px 4px;
    -webkit-line-clamp: 1;
  }

  .woocommerce ul.products li.product .price {
    font-size: 0.85rem;
    padding: 0 8px;
    flex-direction: column;
    gap: 2px;
  }

  .woocommerce ul.products li.product .price del {
    font-size: 0.7rem;
  }

  .woocommerce ul.products li.product a.button {
    margin: 8px;
    padding: 8px 10px;
    font-size: 0.7rem;
    width: calc(100% - 16px);
    text-align: center;
  }
}

/* ============================================================
   CART PAGE - STORE.LINK STYLE
   ============================================================ */
.woocommerce-cart table.cart {
  border-collapse: collapse;
  width: 100%;
}

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

.woocommerce-cart table.cart td {
  padding: 16px 12px;
  vertical-align: middle;
  border-bottom: 1px solid var(--gray-100);
}

.woocommerce-cart table.cart td.product-name {
  font-weight: 600;
  color: var(--text-dark);
}

.woocommerce-cart table.cart td.product-name a {
  color: var(--text-dark);
}

.woocommerce-cart table.cart td.product-name a:hover {
  color: var(--orange-main);
}

.woocommerce-cart table.cart .quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.woocommerce-cart table.cart .quantity input {
  width: 60px;
  height: 40px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.woocommerce-cart table.cart .product-remove a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.woocommerce-cart table.cart .product-remove a:hover {
  background: var(--red-sale);
  color: white;
}

/* Cart Collaterals */
.woocommerce-cart .cart-collaterals {
  margin-top: 32px;
}

.woocommerce-cart .cart_totals {
  max-width: 480px;
  margin-left: auto;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

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

.woocommerce-cart .cart_totals table {
  width: 100%;
  margin-bottom: 20px;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.woocommerce-cart .cart_totals table th {
  font-weight: 600;
  color: var(--text-dark);
}

.woocommerce-cart .cart_totals table td {
  text-align: right;
  font-weight: 700;
  color: var(--orange-dark);
}

.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 20px;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  padding: 16px;
  background: var(--orange-main);
  color: white;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: var(--orange-dark);
  color: white;
}

/* Cart responsive */
@media (max-width: 768px) {
  .woocommerce-cart table.cart {
    font-size: 0.9rem;
  }

  .woocommerce-cart table.cart img {
    width: 60px;
    height: 60px;
  }

  .woocommerce-cart table.cart td {
    padding: 12px 8px;
  }

  .woocommerce-cart .cart_totals {
    max-width: 100%;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .woocommerce-cart table.cart thead {
    display: none;
  }

  .woocommerce-cart table.cart tbody tr {
    display: block;
    margin-bottom: 16px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-xs);
  }

  .woocommerce-cart table.cart td {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border: none;
  }

  .woocommerce-cart table.cart td::before {
    content: attr(data-title) ": ";
    font-weight: 600;
    color: var(--text-dark);
  }

  .woocommerce-cart table.cart td.product-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0;
  }

  .woocommerce-cart table.cart tr {
    position: relative;
  }

  .woocommerce-cart .cart_totals {
    padding: 16px;
  }
}

/* ============================================================
   CHECKOUT PAGE - STORE.LINK STYLE
   ============================================================ */
.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.woocommerce-checkout #customer_details {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.woocommerce-checkout h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

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

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: var(--orange-main);
  outline: none;
}

.woocommerce-checkout #order_review_heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.woocommerce-checkout #order_review {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.woocommerce-checkout table.order_details {
  width: 100%;
  margin-bottom: 20px;
}

.woocommerce-checkout table.order_details th,
.woocommerce-checkout table.order_details td {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.woocommerce-checkout table.order_details img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 12px 0;
}

.woocommerce-checkout #payment div.place-order {
  padding: 20px 0 0;
  background: transparent;
  border: none;
}

.woocommerce-checkout #payment button {
  width: 100%;
  padding: 16px;
  background: var(--orange-main);
  color: white;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.woocommerce-checkout #payment button:hover {
  background: var(--orange-dark);
}

/* Checkout responsive */
@media (max-width: 1024px) {
  .woocommerce-checkout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review {
    padding: 20px;
    border-radius: 12px;
  }

  .woocommerce-checkout h3 {
    font-size: 1.1rem;
  }

  .woocommerce-checkout .form-row input,
  .woocommerce-checkout .form-row textarea,
  .woocommerce-checkout .form-row select {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review {
    padding: 16px;
    border-radius: 10px;
  }

  .woocommerce-checkout h3 {
    font-size: 1rem;
    margin-bottom: 16px;
  }

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

  .woocommerce-checkout .form-row input,
  .woocommerce-checkout .form-row textarea,
  .woocommerce-checkout .form-row select {
    padding: 10px 12px;
  }
}

/* ============================================================
   STICKY BOTTOM BAR - MOBILE CHECKOUT
   ============================================================ */
@media (max-width: 768px) {
  .single-product .site-content {
    padding-bottom: 100px;
  }

  .single-product .product-summary-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
  }

  .single-product .product-summary-container.visible {
    display: block;
  }

  .single-product .product-actions-container {
    flex-direction: row;
    margin-bottom: 0;
  }

  .single-product .woocommerce div.product {
    padding-bottom: 160px;
  }
}

/* ============================================================
   PAGINATION - STORE.LINK STYLE
   ============================================================ */
.woocommerce nav.woocommerce-pagination {
  margin-top: 40px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: none;
}

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

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  background: white;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--orange-main);
  color: white;
}

@media (max-width: 480px) {
  .woocommerce nav.woocommerce-pagination {
    margin-top: 24px;
  }

  .woocommerce nav.woocommerce-pagination ul {
    gap: 6px;
  }

  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span {
    min-width: 38px;
    height: 38px;
    padding: 6px 10px;
    font-size: 0.85rem;
    border-radius: 8px;
  }
}

/* ============================================================
   SALE BADGE
   ============================================================ */
.woocommerce span.onsale {
  background: var(--red-sale);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: auto;
  min-height: auto;
  line-height: 1.4;
  top: 12px;
  left: 12px;
}

/* ============================================================
   STAR RATING
   ============================================================ */
.woocommerce .star-rating {
  color: var(--gold);
  font-size: 0.9rem;
}

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

/* ============================================================
   BUTTONS - STORE.LINK STYLE
   ============================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--orange-main);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--orange-dark);
  color: white;
}

/* ============================================================
   NOTICES - STORE.LINK STYLE
   ============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px !important;
  border: none !important;
  padding: 16px 20px !important;
  margin-bottom: 20px !important;
  font-size: 0.9rem !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-message {
  background: #e8f5e9 !important;
  color: #2e7d32 !important;
  border-left: 4px solid #2e7d32 !important;
}

.woocommerce-info {
  background: var(--orange-pale) !important;
  color: var(--orange-dark) !important;
  border-left: 4px solid var(--orange-main) !important;
}

.woocommerce-error {
  background: #ffebee !important;
  color: #c62828 !important;
  border-left: 4px solid #c62828 !important;
}

.woocommerce-error li {
  margin: 0;
}
