/* ============================================================
   Gridley Pharmacy — Main Stylesheet
   ============================================================ */

/* Custom Properties */
:root {
  --primary:      #1B3A6B;
  --primary-dark: #142D54;
  --accent:       #1A7A3D;
  --accent-dark:  #155f30;
  --secondary:    #333333;
  --background:   #F8F8F8;
  --foreground:   #1A1A1A;
  --white:        #ffffff;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-600:     #4b5563;
  --gray-700:     #374151;
  --red-600:      #dc2626;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.05);
  --shadow:       0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --radius:       0.5rem;
  --radius-full:  9999px;
  --transition:   150ms ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
.font-serif { font-family: 'Playfair Display', serif; }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
main { flex: 1; }
.section { padding-block: 5rem; }
.section-alt { background: var(--white); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9375rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

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

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }

.btn-sm {
  padding: .4rem 1rem;
  font-size: .875rem;
}

.btn-icon {
  padding: .5rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
}
.navbar-brand img {
  width: auto;
  height: 48px;
  object-fit: contain;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar-nav a {
  font-weight: 500;
  font-size: .9375rem;
  color: var(--gray-700);
  padding-bottom: .125rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.cart-btn {
  position: relative;
  padding: .5rem;
  border-radius: var(--radius);
  color: var(--gray-700);
  transition: color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
}
.cart-btn:hover { color: var(--primary); background: var(--gray-100); }
.cart-btn svg { width: 1.5rem; height: 1.5rem; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: var(--white);
  font-size: .6875rem;
  font-weight: 700;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .25rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
  gap: .5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-weight: 500;
  color: var(--gray-700);
  padding: .5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a.active { color: var(--primary); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #0d1f3c 100%);
  color: var(--white);
  padding-block: 6rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,122,61,.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: .375rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge svg { width: 1rem; height: 1rem; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: #7dd3a8; }
.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  flex-shrink: 0;
}
.hero-image img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.2);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}

/* ============================================================
   Service Cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(27,58,107,.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.service-icon svg { width: 1.75rem; height: 1.75rem; }
.service-card h3 { color: var(--primary); margin-bottom: .5rem; }
.service-card p { font-size: .9375rem; color: var(--gray-600); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .875rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: .9375rem;
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 240px; }
}

/* ============================================================
   About Strip
   ============================================================ */
.about-strip { background: var(--white); }
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-strip-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
}
.about-strip-content h2 {
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.about-strip-content h2 span { color: var(--accent); }
.about-strip-content p {
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-strip-image img { height: 260px; }
}

/* ============================================================
   Hours Grid
   ============================================================ */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.hours-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.hours-card .days { font-weight: 600; color: var(--primary); margin-bottom: .25rem; }
.hours-card .time { color: var(--gray-600); font-size: .9375rem; }
.hours-card.closed .time { color: var(--red-600); font-weight: 600; }

/* ============================================================
   Map
   ============================================================ */
#map {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

/* ============================================================
   Section Headings
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: .75rem;
  color: var(--primary);
}
.section-subheading {
  text-align: center;
  color: var(--gray-600);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.section-heading-left { margin-bottom: .75rem; color: var(--primary); }
.section-subheading-left { color: var(--gray-600); max-width: 42rem; margin-bottom: 2.5rem; }

/* ============================================================
   Flash Messages
   ============================================================ */
.flash {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.flash-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.flash-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================================
   Contact Page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-info-card h3 { color: var(--primary); margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  margin-bottom: 1.25rem;
}
.contact-detail svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: .1rem;
}
.contact-detail-label { font-weight: 600; font-size: .875rem; color: var(--gray-700); }
.contact-detail-value { color: var(--gray-600); font-size: .9375rem; }

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { color: var(--primary); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: .875rem;
  color: var(--gray-700);
  margin-bottom: .375rem;
}
.form-control {
  width: 100%;
  padding: .625rem .875rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9375rem;
  color: var(--foreground);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================================
   Shop Page
   ============================================================ */
.shop-header {
  background: var(--primary);
  color: var(--white);
  padding-block: 3rem;
}
.shop-header h1 { font-family: 'Playfair Display', serif; margin-bottom: .5rem; }
.shop-header p { color: rgba(255,255,255,.8); }

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.category-btn {
  display: inline-block;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 500;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
  background: var(--white);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.category-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.category-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.product-image {
  background: var(--gray-100);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image svg {
  width: 4rem;
  height: 4rem;
  color: var(--gray-400);
}
.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: .375rem;
}
.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: .5rem;
}
.product-name a { color: inherit; transition: color var(--transition); }
.product-name a:hover { color: var(--primary); }
.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: auto;
}
.product-add-form { margin-top: auto; }
.product-add-form .btn { width: 100%; }

/* ============================================================
   Product Detail Page
   ============================================================ */
.product-detail-header {
  background: var(--primary);
  color: var(--white);
  padding-block: 2rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--white); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-block: 4rem;
}
.product-detail-image {
  background: var(--gray-100);
  border-radius: var(--radius);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-image svg { width: 8rem; height: 8rem; color: var(--gray-400); }
.product-detail-content .product-category { font-size: .875rem; margin-bottom: .5rem; }
.product-detail-content h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.product-detail-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.product-detail-desc {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.qty-label { font-weight: 600; }
.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-controls button {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-700);
  transition: background var(--transition);
}
.qty-controls button:hover { background: var(--gray-200); }
.qty-controls input {
  width: 3rem;
  height: 2.25rem;
  text-align: center;
  border: none;
  border-inline: 1px solid var(--gray-200);
  font: inherit;
  font-weight: 600;
  color: var(--foreground);
  background: var(--white);
  outline: none;
  -moz-appearance: textfield;
}
.qty-controls input::-webkit-outer-spin-button,
.qty-controls input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ============================================================
   About Page
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding-block: 4rem;
}
.about-hero h1 { font-family: 'Playfair Display', serif; margin-bottom: 1rem; }
.about-hero p { color: rgba(255,255,255,.85); max-width: 40rem; font-size: 1.125rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(27,58,107,.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.value-icon svg { width: 1.75rem; height: 1.75rem; }
.value-card h3 { color: var(--primary); margin-bottom: .5rem; }
.value-card p { color: var(--gray-600); font-size: .9375rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gray-400);
}
.team-avatar svg { width: 2.5rem; height: 2.5rem; }
.team-card h3 { color: var(--primary); margin-bottom: .25rem; }
.team-role {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .75rem;
}
.team-bio { font-size: .9375rem; color: var(--gray-600); }

/* ============================================================
   Cart Drawer
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 300ms ease;
  box-shadow: -4px 0 20px rgba(0,0,0,.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.cart-drawer-header h2 { font-size: 1.125rem; color: var(--primary); }
.cart-close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--gray-600);
  transition: background var(--transition);
}
.cart-close:hover { background: var(--gray-100); }
.cart-close svg { width: 1.25rem; height: 1.25rem; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gray-400);
  gap: 1rem;
}
.cart-empty svg { width: 3rem; height: 3rem; }
.cart-empty p { font-size: .9375rem; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: .875rem;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item-thumb {
  width: 56px;
  height: 56px;
  background: var(--gray-100);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
}
.cart-item-thumb svg { width: 1.5rem; height: 1.5rem; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: .875rem; color: var(--gray-600); }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.cart-qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius);
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background var(--transition);
}
.cart-qty-btn:hover { background: var(--gray-200); }
.cart-qty { font-weight: 600; font-size: .9375rem; min-width: 1.5rem; text-align: center; }
.cart-remove {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  margin-left: .5rem;
  transition: background var(--transition);
}
.cart-remove:hover { background: #fee2e2; }
.cart-remove svg { width: 1rem; height: 1rem; }

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cart-footer .btn { width: 100%; margin-bottom: .5rem; }
.btn-disabled {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
}
.btn-disabled:hover { background: var(--gray-200); transform: none; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding-block: 3rem 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a {
  font-size: .9375rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-col p { font-size: .9375rem; line-height: 1.7; }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  margin-bottom: .375rem;
}
.footer-hours .day { color: rgba(255,255,255,.6); }
.footer-hours .time { color: var(--white); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}
.footer-credit {
  margin-top: .375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
}
.footer-credit a {
  display: flex;
  align-items: center;
  gap: .375rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-credit a:hover { color: var(--white); }
.goldmark-logo {
  height: 14px;
  width: auto;
}

/* ============================================================
   Page Hero (generic)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding-block: 3.5rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  margin-bottom: .5rem;
}
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.125rem; }

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }

  .hero-inner { flex-direction: column-reverse; text-align: center; gap: 2rem; }
  .hero-image img { width: 200px; height: 200px; }
  .hero-actions { justify-content: center; }

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

@media (max-width: 480px) {
  .btn { padding: .625rem 1.25rem; }
  .section { padding-block: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
}

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