/* Surfaces 9 - Design System */
/* Fonts (Inter + Playfair Display) are preconnected & loaded in each page's <head>
   with font-display:swap — not via @import — to protect LCP/CLS (Core Web Vitals). */

:root {
  --navy: #1a2332;
  --gold: #c4a55a;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #555b66;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(26, 35, 50, 0.1);
  --shadow-hover: 0 8px 30px rgba(26, 35, 50, 0.15);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--navy);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typography — Playfair Display for headings, Inter for body */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
  line-height: 1.75;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--medium-gray);
  z-index: 1000;
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

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

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--navy);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #b8954d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(196, 165, 90, 0.1) 0%, 
    rgba(26, 35, 50, 0.05) 50%,
    rgba(196, 165, 90, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Product Grid */
.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

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

.product-image {
  height: 200px;
  background: linear-gradient(45deg, var(--gold), #d4b36a);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%, 
    rgba(0, 0, 0, 0.1) 100%);
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.product-category {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product-details {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--light-gray);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--navy);
}

/* Filter Sidebar */
.filters {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-section h4 {
  margin-bottom: 1rem;
  color: var(--navy);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-option input[type="checkbox"] {
  accent-color: var(--gold);
}

/* Search */
.search-bar {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--medium-gray);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  margin-bottom: 2rem;
}

.search-bar:focus {
  outline: none;
  border-color: var(--gold);
}

/* Footer */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(196, 165, 90, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal for Product Details */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 35, 50, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  padding: 2rem;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark-gray);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--navy);
}

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--medium-gray);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .modal-content {
    padding: 2rem;
    margin: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Products Hero */
.products-hero {
  background: var(--navy);
  padding: 7rem 0 3rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(196,165,90,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(196,165,90,0.08) 0%, transparent 60%);
}

.products-hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  position: relative;
}

.products-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
  position: relative;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  position: relative;
}

.category-tab {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.category-tab:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

.category-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.tab-count {
  background: rgba(255,255,255,0.2);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.category-tab.active .tab-count {
  background: rgba(255,255,255,0.3);
}

/* Sticky Search Bar */
.sticky-search {
  background: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--medium-gray);
  transition: box-shadow 0.3s ease;
  position: relative;
  z-index: 90;
}

.sticky-search.stuck {
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  z-index: 500;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--dark-gray);
  pointer-events: none;
}

.sticky-search .search-bar {
  padding-left: 3rem;
  margin-bottom: 0;
  border-radius: 8px;
  border: 2px solid var(--medium-gray);
  background: var(--light-gray);
  font-size: 0.95rem;
}

.sticky-search .search-bar:focus {
  background: var(--white);
  border-color: var(--gold);
}

/* View Toggles */
.view-toggles {
  display: flex;
  gap: 0.25rem;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 0.25rem;
}

.view-toggle {
  background: none;
  border: none;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  color: var(--dark-gray);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-toggle svg {
  width: 18px;
  height: 18px;
}

.view-toggle.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Products Section */
.products-section {
  padding-top: 2rem;
}

/* Products Layout */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.products-main {
  min-height: 60vh;
}

/* Products Toolbar */
.products-toolbar {
  margin-bottom: 1.5rem;
}

.product-count {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* ── Products Grid View ── */
.products-grid.grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Products List View ── */
.products-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.products-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.products-grid.list-view .product-image-wrap {
  height: 100%;
  min-height: 180px;
}

.products-grid.list-view .product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.products-grid.list-view .product-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,35,50,0.06);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,35,50,0.12);
  border-color: rgba(196,165,90,0.2);
}

/* Product Image */
.product-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--light-gray);
}

.product-image-wrap.img-fallback {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3a4f 100%);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,35,50,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view-btn {
  background: var(--white);
  color: var(--navy);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transform: translateY(8px);
  transition: all 0.3s ease;
  font-family: inherit;
}

.product-card:hover .quick-view-btn {
  transform: translateY(0);
}

.quick-view-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--navy);
  color: var(--gold);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

/* Product Content */
.product-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--navy);
}

.product-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
}

.product-meta span + span::before {
  content: '·';
  margin-right: 0.75rem;
  color: var(--medium-gray);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

/* Color Swatches */
.product-swatches {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.color-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.more-colors {
  font-size: 0.75rem;
  color: var(--dark-gray);
  margin-left: 0.25rem;
  font-weight: 500;
}

/* Filter Sidebar */
.filters {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(26,35,50,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 140px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}

.filters::-webkit-scrollbar {
  width: 4px;
}

.filters::-webkit-scrollbar-track {
  background: transparent;
}

.filters::-webkit-scrollbar-thumb {
  background: var(--medium-gray);
  border-radius: 3px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--medium-gray);
}

.filters-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
}

.clear-filters-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.clear-filters-btn:hover {
  background: rgba(196,165,90,0.1);
}

.filter-section {
  margin-bottom: 1.25rem;
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  user-select: none;
}

.filter-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.filter-heading.collapsed .filter-chevron {
  transform: rotate(-90deg);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow: hidden;
  max-height: 500px;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.filter-options.collapsed {
  max-height: 0;
  opacity: 0;
  margin: 0;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.filter-option label {
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.filter-count {
  background: var(--light-gray);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-left: auto;
}

/* No Results */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--dark-gray);
}

.no-results svg {
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.no-results h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Product Card Animations */
@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-card {
  animation: fadeInCard 0.4s ease forwards;
  opacity: 0;
}

.fade-out {
  opacity: 0;
  transform: scale(0.98);
  transition: all 0.2s ease;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(26,35,50,0.3);
}

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

.back-to-top:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Modal Product Styles ── */
.modal-product {
  max-width: 800px;
  padding: 0;
  overflow: hidden;
}

.modal-product .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.modal-product .modal-body {
  padding: 0;
}

.modal-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image-section {
  position: relative;
  min-height: 400px;
  background: var(--light-gray);
}

.modal-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--navy);
  color: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-details-section {
  padding: 2rem;
  overflow-y: auto;
  max-height: 80vh;
}

.modal-product-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.modal-product-subtitle {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.modal-product-description {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.modal-specs {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.modal-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.spec-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.spec-value {
  font-size: 0.85rem;
  color: var(--dark-gray);
  text-align: right;
}

.modal-colors h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.modal-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.modal-swatch-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--light-gray);
  padding: 0.3rem 0.6rem 0.3rem 0.3rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--dark-gray);
}

.modal-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.modal-swatch-label {
  white-space: nowrap;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-actions .btn {
  flex: 1;
  text-align: center;
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
}

/* ── Responsive: Products Page ── */
@media (max-width: 1200px) {
  .products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
  
  .filters {
    position: static;
    max-height: none;
  }

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

  .modal-image-section {
    min-height: 250px;
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .products-hero h1 {
    font-size: 2.2rem;
  }
  
  .category-tabs {
    gap: 0.35rem;
  }
  
  .category-tab {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .products-grid.grid-view {
    grid-template-columns: 1fr;
  }

  .products-grid.list-view .product-card {
    grid-template-columns: 1fr;
  }

  .search-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .view-toggles {
    align-self: flex-end;
  }

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

  .modal-image-section {
    min-height: 200px;
    max-height: 250px;
  }

  .modal-details-section {
    padding: 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .sticky-search.stuck {
    top: 46px;
  }
}

/* SVG Icon styles */
.icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  fill: currentColor;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--gold);
}

/* Team cards */
.team-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--gold);
}

/* Gallery grid with real images */
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26, 35, 50, 0.85));
  color: white;
}

/* Hero with background image */
.hero-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(26, 35, 50, 0.6) 100%);
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Gallery Hero */
.gallery-hero {
  background: var(--navy);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gallery-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(196,165,90,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 50%, rgba(196,165,90,0.08) 0%, transparent 60%);
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
}

.gallery-hero-label {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.gallery-hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.gallery-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Bar */
.gallery-filter-bar {
  background: var(--white);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--medium-gray);
  position: sticky;
  top: 65px;
  z-index: 500;
  transition: box-shadow 0.3s ease;
}

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

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery-tab {
  background: transparent;
  border: 1.5px solid var(--medium-gray);
  color: var(--navy);
  padding: 0.55rem 1.25rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.gallery-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.gallery-count {
  font-size: 0.88rem;
  color: var(--dark-gray);
  font-weight: 500;
  white-space: nowrap;
}

.gallery-count span {
  color: var(--navy);
  font-weight: 700;
}

/* Gallery Section */
.gallery-section {
  padding: 3rem 0 5rem;
  background: var(--light-gray);
  min-height: 60vh;
}

/* Masonry Grid */
.gallery-masonry {
  column-count: 3;
  column-gap: 1.5rem;
  transition: opacity 0.3s ease;
}

.gallery-masonry.gallery-fading {
  opacity: 0;
}

/* Gallery Card */
.gallery-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,35,50,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  animation: galleryCardIn 0.5s ease forwards;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,35,50,0.14);
}

@keyframes galleryCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Image */
.gallery-card-image {
  position: relative;
  overflow: hidden;
}

.gallery-card-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

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

/* Card Overlay */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,35,50,0.92) 0%,
    rgba(26,35,50,0.6) 40%,
    rgba(26,35,50,0.0) 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-cat {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.gallery-card-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.gallery-card-product {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.gallery-card-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.gallery-card-btn:hover {
  background: #b8954d;
}

/* ── Lightbox ── */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,35,50,0.92);
  backdrop-filter: blur(8px);
  z-index: 3000;
  padding: 2rem;
  overflow-y: auto;
}

.gallery-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.3);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-width: 1000px;
  width: 100%;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
  max-height: 85vh;
}

.lightbox-image-wrap {
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 400px;
}

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

.lightbox-details {
  padding: 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.lightbox-category {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.lightbox-details h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.lightbox-product {
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.lightbox-description {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--dark-gray);
  margin-bottom: 1.25rem;
}

.lightbox-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.lightbox-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--dark-gray);
}

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

.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.lightbox-tag {
  background: var(--light-gray);
  color: var(--navy);
  padding: 0.25rem 0.7rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

.lightbox-cta {
  margin-top: auto;
  text-align: center;
  width: 100%;
}

/* Back to Top */
.gallery-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(26,35,50,0.3);
}

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

.gallery-back-to-top:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Gallery Responsive ── */
@media (max-width: 1024px) {
  .gallery-masonry {
    column-count: 2;
  }

  .lightbox-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .lightbox-image-wrap {
    min-height: 250px;
    max-height: 350px;
  }
}

@media (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 2.2rem;
  }

  .gallery-masonry {
    column-count: 1;
  }

  .gallery-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-tab {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  .lightbox-content {
    grid-template-columns: 1fr;
  }

  .lightbox-image-wrap {
    min-height: 200px;
    max-height: 280px;
  }

  .lightbox-details {
    padding: 1.5rem;
  }

  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-filter-bar {
    top: 46px;
  }

  .gallery-section {
    padding: 2rem 0 3rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE 1: HOMEPAGE HERO UPGRADE
   ═══════════════════════════════════════════════════════════════ */

.hero-parallax {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-parallax .hero-content {
  position: relative;
  z-index: 2;
}

.hero-parallax .hero-content h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  font-size: 4.5rem;
  letter-spacing: -0.02em;
}

.hero-parallax .hero-content p {
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
  font-size: 1.3rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}

.scroll-indicator span {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-indicator-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 0.5; }
}

@media (max-width: 768px) {
  .hero-parallax {
    background-attachment: scroll;
    min-height: 90vh;
  }
  .hero-parallax .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-parallax .hero-content p {
    font-size: 1.1rem;
  }
  .scroll-indicator {
    bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-parallax .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-parallax .hero-content p {
    font-size: 1rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE 2: TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════ */

.testimonials-section {
  background: var(--navy);
  padding: 5rem 0;
  overflow: hidden;
}

.testimonials-section h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 0.5rem;
}

.testimonials-section > .container > p {
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-track-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .testimonial-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 1025px) {
  .testimonial-card {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

.testimonial-card-inner {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.testimonial-card-inner:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(196,165,90,0.3);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.testimonial-quote {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-quote::before {
  content: '"';
  font-size: 2rem;
  color: var(--gold);
  line-height: 0;
  display: inline;
  vertical-align: -0.3em;
  margin-right: 0.1em;
}

.testimonial-author {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

.testimonial-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.testimonial-title {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
}

.testimonial-company {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* Testimonial Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.testimonial-dot:hover {
  background: rgba(196,165,90,0.6);
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE 3: PRODUCT COMPARISON TOOL
   ═══════════════════════════════════════════════════════════════ */

/* Compare checkbox on product cards */
.compare-checkbox-wrap {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
}

.compare-checkbox-wrap input[type="checkbox"] {
  display: none;
}

.compare-checkbox-wrap label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.92);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  user-select: none;
}

.compare-checkbox-wrap label:hover {
  background: var(--gold);
  color: var(--white);
}

.compare-checkbox-wrap input:checked + label {
  background: var(--gold);
  color: var(--white);
}

.compare-checkbox-wrap .compare-check-icon {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.compare-checkbox-wrap input:checked + label .compare-check-icon {
  background: var(--white);
  border-color: var(--white);
}

.compare-checkbox-wrap input:checked + label .compare-check-icon svg {
  display: block;
}

.compare-checkbox-wrap .compare-check-icon svg {
  display: none;
  width: 10px;
  height: 10px;
  stroke: var(--gold);
  stroke-width: 3;
}

/* Floating Compare Bar */
.compare-bar {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 90%;
}

.compare-bar.visible {
  bottom: 2rem;
}

.compare-bar-count {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.compare-bar-count span {
  color: var(--gold);
}

.compare-bar-thumbs {
  display: flex;
  gap: 0.5rem;
}

.compare-bar-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
}

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

.compare-bar-actions {
  display: flex;
  gap: 0.5rem;
}

.compare-bar .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.compare-bar .btn-clear {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.compare-bar .btn-clear:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

/* Compare Modal */
.compare-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,35,50,0.85);
  backdrop-filter: blur(5px);
  z-index: 2500;
  padding: 2rem;
  overflow-y: auto;
}

.compare-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5rem;
}

.compare-modal-content {
  background: var(--white);
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

.compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--medium-gray);
}

.compare-modal-header h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.compare-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark-gray);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.compare-modal-close:hover {
  background: var(--light-gray);
  color: var(--navy);
}

.compare-table {
  width: 100%;
  overflow-x: auto;
  padding: 0 2rem 2rem;
}

.compare-grid {
  display: grid;
  gap: 0;
  min-width: 600px;
}

.compare-grid-2 { grid-template-columns: 180px repeat(2, 1fr); }
.compare-grid-3 { grid-template-columns: 180px repeat(3, 1fr); }

.compare-row {
  display: contents;
}

.compare-cell {
  padding: 1rem;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.compare-cell:first-child {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--light-gray);
  display: flex;
  align-items: center;
}

.compare-cell-image {
  padding: 1.5rem 1rem;
}

.compare-cell-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.compare-cell-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}

.compare-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.compare-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .compare-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    width: calc(100% - 2rem);
    max-width: none;
    left: 1rem;
    transform: none;
  }
  .compare-bar-thumbs {
    display: none;
  }
  .compare-modal-content {
    margin: 1rem;
  }
  .compare-modal-header {
    padding: 1rem 1.5rem;
  }
  .compare-table {
    padding: 0 1rem 1rem;
  }
  .compare-grid-2,
  .compare-grid-3 {
    grid-template-columns: 120px repeat(2, 1fr);
  }
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE 4: SAMPLE REQUEST FLOW
   ═══════════════════════════════════════════════════════════════ */

.samples-hero {
  background: var(--navy);
  padding: 7rem 0 3rem;
  text-align: center;
}

.samples-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.samples-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 550px;
  margin: 0 auto;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 3rem auto 2.5rem;
  max-width: 500px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.progress-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--medium-gray);
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.progress-step-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.progress-step.active .progress-step-number {
  background: var(--gold);
  color: var(--white);
}

.progress-step.active .progress-step-label {
  color: var(--navy);
  font-weight: 600;
}

.progress-step.completed .progress-step-number {
  background: var(--navy);
  color: var(--white);
}

.progress-step.completed .progress-step-label {
  color: var(--navy);
}

.progress-connector {
  width: 60px;
  height: 2px;
  background: var(--medium-gray);
  margin: 0 0.75rem;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.progress-connector.active {
  background: var(--gold);
}

/* Sample Step Panels */
.sample-step {
  display: none;
}

.sample-step.active {
  display: block;
  animation: fadeInStep 0.4s ease;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step 1: Product Selection */
.sample-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.sample-product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--medium-gray);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.sample-product-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,35,50,0.1);
}

.sample-product-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,165,90,0.2);
}

.sample-product-card .sample-check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
}

.sample-product-card.selected .sample-check {
  background: var(--gold);
  border-color: var(--gold);
}

.sample-product-card .sample-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sample-product-card.selected .sample-check svg {
  opacity: 1;
}

.sample-product-img {
  height: 150px;
  background: var(--light-gray);
  overflow: hidden;
}

.sample-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-product-info {
  padding: 1rem;
}

.sample-product-info h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.sample-product-info p {
  font-size: 0.8rem;
  color: var(--dark-gray);
  margin: 0;
}

/* Step 2: Shipping Form */
.shipping-form {
  max-width: 600px;
  margin: 0 auto;
}

.shipping-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Step 3: Success */
.sample-success {
  text-align: center;
  padding: 3rem 0;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: successPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.success-checkmark svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
  stroke-width: 3;
  animation: drawCheck 0.5s ease 0.3s both;
}

@keyframes drawCheck {
  0% { stroke-dashoffset: 50; }
  100% { stroke-dashoffset: 0; }
}

.sample-success h2 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.sample-success p {
  color: var(--dark-gray);
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* Sample Navigation Buttons */
.sample-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  gap: 1rem;
}

.sample-nav-buttons .btn {
  min-width: 140px;
}

.selected-count-badge {
  display: inline-block;
  background: rgba(196,165,90,0.15);
  color: var(--gold);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .progress-steps {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .progress-connector {
    width: 30px;
  }
  .progress-step-label {
    font-size: 0.75rem;
  }
  .sample-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .shipping-form .form-row {
    grid-template-columns: 1fr;
  }
  .samples-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .sample-products-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE 5: INTERACTIVE FLORIDA MAP
   ═══════════════════════════════════════════════════════════════ */

.florida-map-section {
  position: relative;
}

.florida-map-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.florida-map-svg-wrap {
  position: relative;
}

.florida-map-svg-wrap svg {
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.florida-map-svg-wrap svg path.map-region {
  fill: rgba(196,165,90,0.25);
  stroke: var(--navy);
  stroke-width: 0.15;
  cursor: pointer;
  transition: all 0.3s ease;
}

.florida-map-svg-wrap svg path.map-region:hover,
.florida-map-svg-wrap svg path.map-region.active {
  fill: var(--gold);
  stroke: var(--navy);
  stroke-width: 0.25;
  filter: drop-shadow(0 0.5px 2px rgba(196,165,90,0.4));
}

.florida-map-svg-wrap svg path.map-bg {
  fill: #e8e8e8;
  stroke: #8a9ab5;
  stroke-width: 0.1;
}

.map-tooltip {
  position: absolute;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.map-tooltip.visible {
  opacity: 1;
}

.map-tooltip-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.map-tooltip-rep {
  color: var(--gold);
  font-size: 0.8rem;
}

.map-legend {
  margin-top: 2rem;
}

.map-legend h3 {
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.map-rep-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.map-rep-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.map-rep-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.map-rep-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.map-rep-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0;
}

.map-rep-role {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
}

.map-rep-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.map-rep-area-tag {
  background: var(--light-gray);
  color: var(--navy);
  padding: 0.25rem 0.6rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .florida-map-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .florida-map-svg-wrap svg {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .florida-map-svg-wrap svg {
    max-width: 280px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE 6: CONTACT PAGE IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* Inline Form Validation */
.form-group .field-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
  align-items: center;
  gap: 0.3rem;
}

.form-group .field-error.visible {
  display: flex;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #dc2626;
}

.form-group input.valid,
.form-group textarea.valid {
  border-color: #16a34a;
}

/* Contact Success Animation */
.contact-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeInStep 0.5s ease;
}

.contact-success.visible {
  display: block;
}

.contact-success-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: successPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-success-check svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
  stroke-width: 3;
}

.contact-success h2 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-success p {
  color: var(--dark-gray);
  max-width: 400px;
  margin: 0 auto 0.5rem;
}

.contact-success .response-time {
  background: var(--light-gray);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--navy);
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--light-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--dark-gray);
  border: 2px dashed var(--medium-gray);
  margin-bottom: 2rem;
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--gold);
}

.map-placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Rep Contact Cards */
.rep-contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rep-contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.rep-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.rep-contact-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gold);
  margin-bottom: 1rem;
}

.rep-contact-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.rep-contact-role {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.rep-contact-email {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.rep-contact-email:hover {
  color: var(--gold);
}

.rep-contact-territory {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--dark-gray);
}

/* FAQ Accordion */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--medium-gray);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--dark-gray);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 768px) {
  .rep-contact-cards {
    grid-template-columns: 1fr;
  }
}

/* Request Sample button style on products page */
.btn-sample {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn-sample:hover {
  background: var(--gold);
  color: var(--white);
}

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


/* ═══════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE & FIX OVERRIDES
   ═══════════════════════════════════════════════════════════════ */

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
}

/* Ensure touch-friendly tap targets on mobile */
@media (max-width: 768px) {
  .filter-option label {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
  }

  .filter-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  .nav-menu a {
    padding: 0.75rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .faq-question {
    min-height: 52px;
    padding: 1rem 0;
  }

  .gallery-tab {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .category-tab {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .testimonial-dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
  }
}

/* About page: story section grid responsive */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* About page: "Why Choose Us" grid responsive */
.about-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .about-why-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact page layout responsive */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .contact-layout .form-group input,
  .contact-layout .form-group textarea,
  .contact-layout .form-group select {
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
}

/* Contact form name row responsive */
@media (max-width: 480px) {
  #contact-form [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Samples form rows responsive */
@media (max-width: 480px) {
  .shipping-form .form-row,
  .shipping-form [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Compare mobile fixes */
@media (max-width: 768px) {
  /* Make compare checkbox always visible & tappable on mobile */
  .compare-checkbox-wrap {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .compare-checkbox-wrap label {
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .compare-modal.active {
    padding: 0.5rem;
    padding-top: 1rem;
    align-items: flex-start;
  }

  .compare-modal-content {
    margin: 0;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .compare-grid-2,
  .compare-grid-3 {
    grid-template-columns: 90px repeat(2, 1fr);
    font-size: 0.8rem;
  }

  .compare-grid-3 {
    grid-template-columns: 90px repeat(3, 1fr);
  }

  .compare-cell {
    padding: 0.5rem;
    font-size: 0.78rem;
  }

  .compare-cell-image img {
    height: 80px;
  }

  .compare-cell:first-child {
    font-size: 0.7rem;
  }

  .compare-modal-header h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .compare-grid-2 {
    grid-template-columns: 70px repeat(2, 1fr);
  }

  .compare-grid-3 {
    grid-template-columns: 70px repeat(3, 1fr);
  }

  .compare-cell {
    padding: 0.3rem;
    font-size: 0.7rem;
  }

  .compare-cell-image img {
    height: 60px;
  }

  .compare-cell:first-child {
    font-size: 0.65rem;
  }

  .compare-bar {
    bottom: -120px;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    border-radius: 10px;
  }

  .compare-bar.visible {
    bottom: 1rem;
  }

  .compare-bar-actions {
    width: 100%;
    justify-content: center;
  }

  .compare-bar .btn,
  .compare-bar .btn-clear {
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
  }
}

/* Product modal mobile scroll fix */
@media (max-width: 768px) {
  .modal {
    padding: 0;
  }

  .modal-content {
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
    height: 100vh;
    max-width: 100%;
  }

  .modal-product {
    max-width: 100%;
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
  }

  .modal-product .modal-body {
    height: 100%;
    overflow-y: auto;
  }

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

  .modal-details-section {
    max-height: none;
    overflow-y: visible;
    padding: 1.25rem;
    padding-bottom: 2rem;
  }

  .modal-product-title {
    font-size: 1.4rem;
  }

  .modal-product .modal-close {
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
    top: 0.5rem;
    right: 0.5rem;
  }
}

/* Gallery lightbox mobile improvements */
@media (max-width: 480px) {
  .gallery-lightbox {
    padding: 0;
  }

  .lightbox-content {
    border-radius: 0;
    max-height: 100vh;
    height: 100vh;
    overflow-y: auto;
  }

  .lightbox-image-wrap {
    min-height: 180px;
    max-height: 240px;
  }

  .lightbox-details h2 {
    font-size: 1.2rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* Footer section list items — ensure consistent spacing */
.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li:last-child {
  margin-bottom: 0;
}

.footer-section p {
  color: rgba(255,255,255,0.7);
}

/* iOS form input zoom prevention */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px;
  }
}

/* Ensure hero buttons wrap properly on very small screens */
@media (max-width: 380px) {
  .hero-parallax .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-parallax .hero-content p {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .products-hero h1,
  .gallery-hero h1,
  .samples-hero h1 {
    font-size: 1.8rem;
  }
}

/* 1200px breakpoint — layout adjustments */
@media (max-width: 1200px) {
  .florida-map-container {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Ensure images don't overflow their containers */
img:not(.product-img):not(.modal-product-img) {
  max-width: 100%;
}

/* Prevent map tooltip from overflowing on mobile */
@media (max-width: 768px) {
  .map-tooltip {
    display: none;
  }
}