/* =========================================================
   Galiwater — Water · Solar · Power
   Theme: Professional water-blue + Solar gold (Hidrotek-inspired)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Professional water blues (kept dark same — wave dividers hardcoded to it) */
  --navy-900: #021C2E;   /* dark anchor — footer, dark sections */
  --navy-800: #04315A;   /* deep corporate blue */
  --navy-700: #0B5394;   /* Hidrotek-style strong blue */
  --navy-600: #1168C0;   /* vivid ocean */
  --navy-500: #1E87E5;   /* bright clear water */
  --navy-100: #BBDEFB;   /* sky blue */
  --navy-50:  #F8FAFC;   /* cool gray mist (was sky blue) */

  /* Solar gold */
  --amber:      #F59E0B;
  --amber-dark: #D97706;
  --amber-light: #FEF3C7;

  /* Water accents */
  --primary:    #1168C0;   /* strong corporate water blue */
  --teal:       #00BCD4;   /* bright aqua / cyan */
  --teal-dark:  #0097A7;
  --teal-light: #E0F7FA;

  /* Surfaces & type */
  --ink:     #021C2E;
  --muted:   #476280;
  --line:    #BBDEFB;
  /* Premium Surface Tokens */
  --bg:      #FAFAF7;
  --surface: #FAFAF7;
  --white:   #FFFFFF;
  --line:    #E2E8F0;
  --line-soft: rgba(187, 222, 251, 0.2);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 4px rgba(2, 28, 46, 0.04);
  --shadow:    0 8px 24px rgba(2, 28, 46, 0.06);
  --shadow-lg: 0 20px 48px rgba(2, 28, 46, 0.1);

  --font-display: 'Bricolage Grotesque', 'Archivo', sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --container: 1280px;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(12px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- TOP STRIP ---------- */
.top-strip {
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-strip a:hover { color: var(--amber); }
.top-strip .strip-left, .top-strip .strip-right {
  display: flex; gap: 20px; align-items: center;
}

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--amber);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-logo {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.site-footer .brand-logo {
  background: rgba(255,255,255,0.94);
  border-radius: 8px;
  padding: 4px;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: -4px;
}

.search-box {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 11px 16px 11px 44px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.search-box input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(17, 104, 192, 0.1), inset 0 2px 4px rgba(0,0,0,0.01);
}
.search-box svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--navy-800);
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--navy-50); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--amber);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--white);
}

/* ---------- NAV ---------- */
.main-nav {
  background: var(--navy-800);
  border-bottom: 3px solid var(--teal);
}
.main-nav .container {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--amber); }
.main-nav a.active {
  color: var(--white);
  background: rgba(0,188,212,0.15);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 3px; background: var(--teal);
}
.nav-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.15); margin: 0 8px; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(245,158,11,0.15) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(14,165,196,0.35) 0%, transparent 55%),
    radial-gradient(circle at 50% 110%, rgba(18,103,160,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,188,212,0.15);
  border: 1px solid rgba(0,188,212,0.4);
  color: var(--teal);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--amber);
}
.hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  /* justify-self: end; */
}
.hero-visual .panel {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  padding: 20px;
}
.hero-visual .panel-1 {
  top: 10%; left: 0;
  width: 60%;
  animation: float 6s ease-in-out infinite;
}
.hero-visual .panel-2 {
  bottom: 8%; right: 0;
  width: 55%;
  animation: float 6s ease-in-out infinite 1.5s;
}
.hero-visual .panel-3 {
  top: 40%; right: 12%;
  width: 45%;
  animation: float 6s ease-in-out infinite 3s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-visual .panel h4 {
  font-family: var(--font-display);
  color: var(--amber);
  font-size: 14px;
  margin-bottom: 6px;
}
.hero-visual .panel p {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin: 0;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 100px; /* Modern pill shape */
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.btn-primary:hover { 
  background: var(--amber-dark); 
  transform: translateY(-2px); 
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.4); 
}
.btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { 
  background: rgba(255,255,255,1); 
  color: var(--navy-900);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--navy-800);
  border-color: var(--line);
  background: var(--white);
}
.btn-ghost:hover { 
  background: var(--surface); 
  border-color: var(--navy-500); 
  transform: translateX(4px);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-item svg {
  width: 32px; height: 32px;
  color: var(--navy-700);
  flex-shrink: 0;
}
.trust-item h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.trust-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ---------- SECTIONS ---------- */
section { padding: 72px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-head .eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
}

/* ---------- CATEGORIES ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
}
.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0,188,212,0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.category-card:hover::before { opacity: 1; }
.category-card .icon-wrap {
  width: 56px; height: 56px;
  background: rgba(0,188,212,0.22);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--teal);
}
.category-card .icon-wrap svg { width: 30px; height: 30px; }
.category-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  position: relative;
}
.category-card .count {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: block;
}

/* alternate category card colors */
.category-card.solar     { background: linear-gradient(135deg, #C97D1A, #7C3F08); }
.category-card.water     { background: linear-gradient(135deg, var(--teal), var(--navy-800)); }
.category-card.treatment { background: linear-gradient(135deg, #047857, #064E3B); }
.category-card.power     { background: linear-gradient(135deg, #1F2937, #0F172A); }
.category-card.pool      { background: linear-gradient(135deg, #06B6D4, #0C4A6E); }
.category-card.borehole  { background: linear-gradient(135deg, #0891B2, #073350); }
.category-card.irrigation{ background: linear-gradient(135deg, #15803D, #14532D); }
.category-card.tank      { background: linear-gradient(135deg, #57534E, #1C1917); }

/* ---------- PRODUCT GRID (Squared Stacked View) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.product-grid .product-card {
  background: var(--white);
  border-radius: 0 !important;
  border: none !important;
  border-right: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0;
}
.product-grid .product-card:hover {
  background: #f8fafc;
  z-index: 2;
  box-shadow: inset 0 0 0 1px var(--primary) !important;
}
.product-grid .product-thumb {
  background: #fff !important;
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
}
.product-grid .product-thumb img {
  border-radius: 0 !important;
}
.product-grid .product-info {
  padding: 20px !important;
}
.product-thumb {
  aspect-ratio: 1;
  background: var(--navy-50);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-thumb img { transform: scale(1.1); }
.product-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-thumb svg {
  width: 50%; height: 50%;
  color: var(--navy-700);
  transition: transform 0.4s;
}
.product-card:hover .product-thumb svg { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--amber);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.product-badge.new { background: var(--success); color: white; }
.product-badge.hot { background: var(--danger); color: white; }
.product-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.product-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.product-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-800);
}
.product-price small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}
.add-btn {
  background: var(--navy-800);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.add-btn:hover { background: var(--amber); color: var(--navy-900); transform: scale(1.05); box-shadow: 0 4px 18px rgba(245,158,11,0.45); }
.add-btn svg { width: 18px; height: 18px; }
.add-btn.added { background: var(--success); }

/* ---------- FILTER BAR ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: flex-start;
}
.filter-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 140px;
}
.filter-group { margin-bottom: 24px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-50);
}
.filter-list { list-style: none; }
.filter-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.filter-list li:hover, .filter-list li.active {
  color: var(--navy-800);
  font-weight: 600;
}
.filter-list li.active::before {
  content: '→';
  color: var(--amber);
  margin-right: 8px;
  font-weight: 700;
}
.filter-list .count {
  font-size: 12px;
  color: var(--muted);
  background: var(--navy-50);
  padding: 1px 8px;
  border-radius: 100px;
  font-weight: 500;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-toolbar .result-count {
  color: var(--muted);
  font-size: 14px;
}
.shop-toolbar select {
  border: 1.5px solid var(--line);
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ---------- PAGE HEADER ---------- */
.page-head {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  padding: 56px 0 40px;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-head p {
  margin-top: 8px;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
}

/* ---------- CART ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: flex-start;
}
.cart-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 20px;
  padding: 20px 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 90px; height: 90px;
  background: var(--navy-50);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}
.cart-item-img svg { width: 50%; height: 50%; color: var(--navy-700); }
.cart-item-info h4 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 4px;
}
.cart-item-info .product-cat {
  margin-bottom: 4px;
}
.cart-item-info p { color: var(--muted); font-size: 13px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button {
  width: 34px; height: 34px;
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 18px;
  font-weight: 700;
  display: grid; place-items: center;
}
.qty-control button:hover { background: var(--navy-100); }
.qty-control input {
  width: 44px;
  height: 34px;
  text-align: center;
  border: none;
  font-weight: 600;
  outline: none;
}
.cart-item-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-800);
  text-align: right;
  min-width: 110px;
}
.cart-item-price small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-body);
}
.remove-btn {
  color: var(--muted);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.remove-btn:hover { color: var(--danger); background: rgba(220,38,38,0.08); }
.remove-btn svg { width: 18px; height: 18px; }

.cart-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 140px;
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy-50);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}
.cart-summary-row.total {
  border-top: 1.5px solid var(--line);
  margin-top: 12px;
  padding-top: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.empty-state svg {
  width: 80px; height: 80px;
  color: var(--navy-100);
  margin: 0 auto 24px;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------- CHECKOUT ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.checkout-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.checkout-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.checkout-form-wrap .step-num {
  display: inline-block;
  width: 28px; height: 28px;
  background: var(--amber);
  color: var(--navy-900);
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: 700;
  font-size: 13px;
  margin-right: 8px;
}
.checkout-form-wrap section {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.checkout-form-wrap section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(27,108,168,0.12);
}
.field textarea { resize: vertical; min-height: 90px; }

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.payment-option {
  position: relative;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.payment-option input { position: absolute; opacity: 0; }
.payment-option svg {
  width: 28px; height: 28px;
  color: var(--navy-700);
  margin-bottom: 8px;
}
.payment-option strong {
  display: block;
  font-size: 14px;
  font-family: var(--font-display);
  margin-bottom: 2px;
}
.payment-option small { color: var(--muted); font-size: 12px; }
.payment-option:has(input:checked) {
  border-color: var(--amber);
  background: var(--amber-light);
}

.order-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 140px;
}
.order-summary h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy-50);
}
.order-line {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.order-line:last-of-type { border-bottom: none; }
.order-line-img {
  width: 50px; height: 50px;
  background: var(--navy-50);
  border-radius: 8px;
  display: grid; place-items: center;
}
.order-line-img svg { width: 60%; height: 60%; color: var(--navy-700); }
.order-line h5 {
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 2px;
  line-height: 1.2;
}
.order-line p {
  font-size: 12px;
  color: var(--muted);
}
.order-line .line-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-800);
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(150%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 14px;
  max-width: 360px;
}
.toast.show { transform: translateY(0); }
.toast svg { width: 20px; height: 20px; color: var(--amber); flex-shrink: 0; }
.toast.success svg { color: var(--success); }
.toast.error svg { color: var(--danger); }

/* ---------- SUCCESS PAGE ---------- */
.success-screen {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  border: 1px solid var(--line);
  max-width: 640px;
  margin: 0 auto;
}
.success-icon {
  width: 96px; height: 96px;
  background: var(--success);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  margin: 0 auto 24px;
  animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-icon svg { width: 48px; height: 48px; }
@keyframes pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
.success-screen h1 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 12px;
}
.success-screen p {
  color: var(--muted);
  margin-bottom: 8px;
}
.success-order-num {
  display: inline-block;
  background: var(--navy-50);
  padding: 8px 20px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  margin: 16px 0 28px;
  font-size: 15px;
}
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* Footer credit link */
.footer-credit { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-credit a { color: rgba(255,255,255,0.65); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.footer-credit a:hover { color: var(--teal); }

.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.site-footer h5 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--amber); }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand small { color: rgba(255,255,255,0.55); }
.footer-about p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  /* Global Layout & Spacing */
  section { padding: 20px 0 !important; }
  .wave-divider, svg[preserveAspectRatio="none"], .hero-drops, .trust-bar, .about-section { display: none !important; }
  
  /* Global Typography & Sizing */
  h1 { font-size: 28px !important; margin-bottom: 8px !important; }
  h2 { font-size: 22px !important; margin-bottom: 8px !important; }
  p { font-size: 13px !important; line-height: 1.4 !important; }
  .btn { padding: 8px 16px !important; font-size: 12px !important; }
  .btn-lg { padding: 10px 20px !important; font-size: 13px !important; }
  .section-head { margin-bottom: 16px !important; }

  /* Header & Navigation */
  .top-strip, .main-nav, .brand small { display: none !important; }
  .site-header .container { padding: 12px 15px !important; flex-wrap: wrap !important; justify-content: space-between !important; }
  .brand { order: 1 !important; }
  .header-actions { order: 2 !important; margin-left: auto !important; }
  .search-box { order: 3 !important; flex: 1 1 100% !important; margin: 12px 0 0 !important; max-width: none !important; }
  
  .header-actions .btn-primary, .header-actions .btn-dark, .header-actions #crm-nav-link { display: none !important; }
  .header-actions #nav-login-link { display: block !important; margin: 0 !important; }
  .search-box input { padding: 10px 12px 10px 36px !important; font-size: 14px !important; border-radius: 8px !important; }
  .search-box svg { left: 10px !important; width: 16px !important; height: 16px !important; }

  /* Grid & Component Adjustments */
  .product-grid, .product-grid-squared, .category-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0 !important; }
  .product-grid .product-info { padding: 12px !important; }
  .product-name { font-size: 14px !important; line-height: 1.2 !important; margin-bottom: 4px !important; }
  .product-price { font-size: 16px !important; }
  .product-thumb { height: 140px !important; width: 100% !important; display: block !important; }
  .product-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  
  .category-section-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
  .category-section-layout h2 { font-size: 26px !important; margin-bottom: 12px !important; text-align: center; }
  .category-section-layout p { text-align: center; margin-bottom: 20px !important; }
  .category-section-layout div:first-child { position: static !important; text-align: center; }
  
  .hero-slider-wrap { height: 50vh !important; min-height: 400px !important; }
  .hero-slide-content { padding: 20px !important; margin: 0 10px !important; width: calc(100% - 20px) !important; }
  
  .contact-grid, .cart-layout, .checkout-layout, .shop-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
  .filter-panel, .cart-summary, .order-summary { position: static !important; padding: 15px !important; border-radius: 12px !important; margin-bottom: 0 !important; }
  .filter-group { margin-bottom: 20px !important; }
  .shop-toolbar { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; margin-bottom: 15px !important; }
  .sort-select { width: 100% !important; }
  
  .cart-item { grid-template-columns: 70px 1fr !important; grid-template-rows: auto auto auto !important; padding: 12px !important; gap: 12px !important; }
  .cart-item-img { width: 60px !important; height: 60px !important; }
  .qty-control { grid-column: 1 / -1 !important; margin-top: 8px !important; }
  .cart-item-price { grid-column: 1 / -1 !important; text-align: left !important; margin-top: 5px !important; font-size: 15px !important; }
  .remove-btn { top: 12px !important; right: 12px !important; }
  
  .cart-summary, .order-summary { padding: 20px !important; border-radius: 12px !important; }
  .page-head { padding: 32px 0 !important; }
  .page-head h1 { font-size: 26px !important; }
  
  .field-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
  .checkout-form-wrap { padding: 20px !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- WATER DROP DECORATIONS ---------- */

/* Footer floating drops */
.footer-water-deco { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:0; }
.footer-drop { position:absolute; }
.fd-1 { top:-110px; right:-70px; width:300px; height:370px; opacity:0.18; animation:dropFloat1 9s ease-in-out infinite; }
.fd-2 { bottom:-90px; left:-50px; width:200px; height:250px; opacity:0.15; animation:dropFloat2 11s ease-in-out infinite 3s; }
.fd-3 { top:38%; left:20%; width:64px; height:80px; opacity:0.12; animation:dropFloat1 14s ease-in-out infinite 6s; }
.fd-4 { bottom:20%; right:30%; width:44px; height:54px; opacity:0.12; animation:dropFloat2 16s ease-in-out infinite 9s; }
.footer-ripple { position:absolute; border-radius:50%; border:1px solid rgba(0,188,212,0.3); pointer-events:none; }
.fr-1 { top:18%; right:18%; width:150px; height:150px; animation:ripplePulse 6s ease-in-out infinite; }
.fr-2 { top:18%; right:18%; width:210px; height:210px; margin-top:-30px; margin-right:-30px; animation:ripplePulse 6s ease-in-out infinite 2s; }
.fr-3 { top:18%; right:18%; width:280px; height:280px; margin-top:-65px; margin-right:-65px; animation:ripplePulse 6s ease-in-out infinite 4s; }
/* Make sure footer content sits above decorations */
.site-footer .container { position:relative; z-index:1; }

/* Hero falling drops */
.hero-drops { position:absolute; inset:0; pointer-events:none; z-index:4; overflow:hidden; }
.hero-drop {
  position: absolute;
  top: 0;
  width: 2.2px;
  border-radius: 100px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.55) 60%, rgba(0,188,212,0.45) 100%);
  animation: heroDrop linear infinite;
  will-change: transform, opacity;
}
.hero-ripple {
  position: absolute;
  bottom: 6%;
  width: 60px; height: 60px;
  margin-left: -30px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,188,212,0.45);
  animation: heroRipple ease-out infinite;
  will-change: transform, opacity;
}

/* Keyframes */
@keyframes dropFloat1 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-22px) rotate(4deg); }
}
@keyframes dropFloat2 {
  0%, 100% { transform: translateY(0) rotate(7deg); }
  50% { transform: translateY(-15px) rotate(-5deg); }
}
@keyframes ripplePulse {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.1); }
}
@keyframes heroDrop {
  0%   { transform: translateY(-50px); opacity: 0; }
  8%   { opacity: 0.9; }
  88%  { opacity: 0.65; }
  100% { transform: translateY(115%); opacity: 0; }
}
@keyframes heroRipple {
  0%   { transform: scaleX(3) scaleY(0.4); opacity: 0.75; }
  100% { transform: scaleX(9) scaleY(1.2); opacity: 0; }
}

/* ---------- LOADING ---------- */
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- GLOBAL HIDDEN ELEMENTS ---------- */
.wave-divider { display: none !important; }

.category-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.category-grid .category-card {
  aspect-ratio: 1 / 1 !important;
  padding: 16px !important;
  border-radius: 0 !important;
  border: none !important;
  border-right: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.category-grid .category-card:hover {
  background: #f8fafc !important;
  transform: none !important;
  box-shadow: inset 0 0 0 1px var(--primary) !important;
  z-index: 2;
}
.category-grid .category-card h3 {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--navy-900) !important;
  margin-top: 12px !important;
}
.category-grid .category-card .count {
  font-size: 10px !important;
  color: var(--muted) !important;
}
.category-grid .category-card .icon-wrap {
  width: 40px !important;
  height: 40px !important;
  background: #f1f5f9 !important;
  border-radius: 10px !important;
}
.category-grid .category-card .icon-wrap svg {
  width: 20px !important;
  height: 20px !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
