/* ==========================================================================
   FISH PRODUCTS - PREMIUM AQUARIUM STORE STYLESHEET
   Theme: White & Watercolor Aquatic Elegance (Clean White + Soft Teal/Cyan & Watercolor Gradients)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Core Color Palette - White & Watercolor Soft Theme */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.90);
  --bg-glass-nav: rgba(255, 255, 255, 0.92);

  /* Primary & Watercolor Accent Colors */
  --accent-teal: #0891b2;
  --accent-teal-light: #06b6d4;
  --accent-teal-dark: #0e7490;
  --accent-blue-watercolor: #38bdf8;
  --accent-orange: #0891b2;
  --accent-orange-light: #06b6d4;
  --accent-orange-dark: #0e7490;
  --accent-orange-glow: rgba(8, 145, 178, 0.15);
  --accent-gold: #eab308;
  --accent-blue-glow: rgba(56, 189, 248, 0.2);

  /* Text Colors */
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-orange: #a5f3fc;
  --shadow-sm: 0 2px 8px rgba(14, 116, 144, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 116, 144, 0.08);
  --shadow-glow: 0 4px 20px rgba(6, 182, 212, 0.15);
  --shadow-glass: 0 10px 30px rgba(15, 23, 42, 0.06);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-orange {
  color: var(--accent-teal);
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-orange);
  color: var(--accent-teal-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-sub);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.btn-outline {
  background: transparent;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
}

.btn-outline:hover,
.btn-outline.active {
  background: var(--accent-teal);
  color: #ffffff;
}

.btn-outline-teal {
  background: transparent;
  color: var(--accent-teal);
  border: 1.5px solid var(--accent-teal);
  border-radius: var(--radius-pill);
}

.btn-outline-teal:hover,
.btn-outline-teal.active {
  background: var(--accent-teal);
  color: #ffffff;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
  border: 1px solid var(--border-subtle);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0891b2, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-sub);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-teal);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-teal);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* Mobile Menu Toggle Button - Hidden on Desktop & Laptop */
.menu-toggle,
.mobile-toggle,
#mobile-menu-btn {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.menu-toggle:hover,
.mobile-toggle:hover,
#mobile-menu-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-teal);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.mobile-toggle {
  display: none;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.4) 0%, rgba(248, 250, 252, 0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-orange);
  color: var(--accent-teal-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--accent-teal);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 500;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.hero-image-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  border-color: var(--border-orange);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-sub);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-teal);
}

.product-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Catalog Filter Controls */
.catalog-controls {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.search-box {
  position: relative;
  margin-bottom: 1.2rem;
}

.search-box i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.search-box input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: #f8fafc;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.search-box input:focus {
  border-color: var(--accent-teal);
  background: #ffffff;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.chip {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-sub);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.chip:hover,
.chip.active {
  background: var(--accent-teal);
  color: #ffffff;
  border-color: var(--accent-teal);
}

.sort-dropdown select {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

/* About Section Box */
.about-content-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  background-image: radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-container {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #f8fafc;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-teal);
  background: #ffffff;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--text-sub);
  font-size: 0.95rem;
}

.contact-info-list i {
  color: var(--accent-teal);
  font-size: 1.2rem;
  margin-top: 2px;
}

.map-card {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: 1.5rem;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   FULL-PAGE PRODUCT DETAIL STYLES
   ========================================== */
.product-detail-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.main-product-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: block;
}

.product-gallery-thumbs {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--accent-teal);
}

.product-detail-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.product-stars {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.product-detail-desc {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: #f8fafc;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  text-align: center;
  margin-bottom: 2rem;
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.spec-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.pair-selection-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pair-card-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pair-card-option:hover {
  border-color: var(--accent-teal-light);
}

.pair-card-option.active {
  border-color: var(--accent-teal);
  background: rgba(6, 182, 212, 0.05);
}

.pair-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.pair-card-sub {
  font-size: 0.82rem;
  color: var(--text-sub);
}

.pair-card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-teal);
}

.action-buy-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.detail-qty-control {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #f8fafc;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.detail-qty-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-main);
}

.detail-qty-btn:hover {
  color: var(--accent-teal);
}

.detail-qty-val {
  font-weight: 700;
  font-size: 1rem;
}

/* Slide-Over Cart Drawer & Cart Items */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 2001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-item-pair {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 0.3rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--accent-teal);
  font-size: 0.95rem;
}

/* Quantity Control Buttons (+ and -) */
.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: #f8fafc;
  overflow: hidden;
  margin-top: 0.4rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: #ffffff;
  border: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--accent-teal);
  color: #ffffff;
}

.qty-val {
  padding: 0 0.6rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: #f8fafc;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin: 1.2rem 0;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--accent-teal);
  color: #ffffff;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 0.9rem;
  cursor: pointer;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
}

.toast {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-orange);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Media Queries for Perfect Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

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

@media (max-width: 768px) {
  .header {
    height: 70px;
  }

  .nav-container {
    padding: 0 1rem;
  }

  /* Slide-over Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    align-items: stretch;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-right: 1px solid var(--border-subtle);
    gap: 0.5rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(6, 182, 212, 0.08);
    color: var(--accent-teal);
  }

  .nav-menu .nav-link.active::after {
    display: none;
  }

  .menu-toggle,
  .mobile-toggle,
  #mobile-menu-btn {
    display: inline-flex !important;
  }

  /* Responsive Hero & Headlines */
  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 0.98rem !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Responsive Controls & Product Grid */
  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .filter-chips {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .product-card-body {
    padding: 0.85rem !important;
  }

  .product-card-title {
    font-size: 0.92rem !important;
  }

  .product-card-price {
    font-size: 1.05rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

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

  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }

  .logo span {
    font-size: 1.1rem;
  }

  .logo-img {
    height: 32px;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-actions .btn-outline-teal,
  .nav-actions #btn-nav-login {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
}