/* ============================================================
   TEACUP MALTESE VILLAGE — Main Stylesheet
   Classic Premium Pet Breeder
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #F9F7F4;
  --cream: #FFFDF9;
  --primary: #8B1A4A;
  --primary-dark: #5C1130;
  --accent: #E8C4D0;
  --dark: #1C1C2E;
  --gold: #C9A84C;
  --gold-light: #F0E6C8;
  --success: #2E7D52;
  --warning: #B45309;
  --sold: #9CA3AF;
  --text-muted: #6B6B7A;
  --border: #E5E0D8;
  --white: #ffffff;
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.22s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', sans-serif;
  --font-ui: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   LANGUAGE MODAL
   ============================================================ */
#lang-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(28, 28, 46, 0.80);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
#lang-modal.hidden { display: none; }

.lang-modal-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 500px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
}
.lang-modal-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.lang-modal-card p { color: var(--text-muted); margin-bottom: 28px; }

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px; margin-bottom: 24px;
}
.lang-option {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.82rem;
  font-family: var(--font-ui);
  color: var(--dark);
  background: white;
}
.lang-option:hover { border-color: var(--primary); }
.lang-option.selected { border-color: var(--primary); background: #f7e6ee; color: var(--primary); font-weight: 600; }
.lang-option .flag { font-size: 1.6rem; }

.btn-continue {
  background: var(--primary);
  color: white;
  padding: 13px 40px;
  border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600;
  font-family: var(--font-ui);
  letter-spacing: 0.03em;
  transition: all var(--transition);
  width: 100%;
}
.btn-continue:hover { background: var(--primary-dark); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--cream);
  padding: 0 32px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
header.scrolled { box-shadow: var(--shadow-sm); }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.logo svg { width: 30px; height: 30px; flex-shrink: 0; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 7px 14px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
nav a:hover { color: var(--primary); background: #f7e6ee; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 8px 16px;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.85rem; font-weight: 600;
  transition: all var(--transition);
}
.cart-btn:hover { background: var(--primary-dark); }

#cart-count {
  background: var(--gold);
  color: var(--dark);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.72rem; font-weight: 700;
  transition: transform 0.2s;
  min-width: 18px; text-align: center;
}
#cart-count.bump { animation: bump 0.3s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(160deg, rgba(22,22,42,0.90) 0%, rgba(59,10,34,0.78) 50%, rgba(92,17,48,0.62) 100%),
    url('https://images.unsplash.com/photo-1587300003388-59208cc962cb?auto=format&fit=crop&w=1920&q=85') center 40%/cover no-repeat;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px;
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 5px 14px;
  border-radius: 4px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  font-style: italic;
  font-family: var(--font-display);
}

.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem;
  font-family: var(--font-ui);
  letter-spacing: 0.03em;
  transition: all var(--transition);
}
.btn-hero:hover { background: #b8963d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }

.hero-paws {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
@keyframes floatPaw {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(12deg); }
}

/* ============================================================
   DIVIDER
   ============================================================ */
.section-divider {
  text-align: center;
  padding: 12px 0 0;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  opacity: 0.6;
}

/* ============================================================
   BREED CATEGORIES
   ============================================================ */
#breeds {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
#breeds h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--dark);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: 44px;
  font-size: 1rem;
}

.breed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.breed-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.breed-card:hover, .breed-card.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.breed-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  opacity: 0.85;
}
.breed-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.breed-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* ============================================================
   PUPPIES SECTION
   ============================================================ */
#puppies {
  padding: 80px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.puppies-inner { max-width: 1200px; margin: 0 auto; }

#puppies h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 6px;
}

.puppies-controls {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
  margin-bottom: 32px;
  margin-top: 32px;
}

.search-bar { flex: 1; min-width: 220px; position: relative; }
.search-bar input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
  color: var(--dark);
}
.search-bar input:focus { border-color: var(--primary); }
.search-bar .search-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: #bbb; pointer-events: none;
}

.filter-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-muted);
  background: var(--cream);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

.puppies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}

/* Puppy Card */
.puppy-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(16px);
}
.puppy-card.visible { animation: fadeUp 0.45s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

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

.puppy-img-wrap {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; background: #f0e8ec;
}
.puppy-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.puppy-card:hover .puppy-img-wrap img { transform: scale(1.04); }

.status-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.status-badge.available { background: #d1fae5; color: #065f46; }
.status-badge.reserved { background: #fef3c7; color: #92400e; }
.status-badge.sold { background: #f3f4f6; color: #6b7280; }

.fb-share-btn {
  position: absolute; top: 10px; right: 10px;
  background: #1877F2; color: white;
  border-radius: 4px; padding: 5px 8px;
  font-size: 0.72rem; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  opacity: 0; transition: opacity var(--transition);
}
.puppy-card:hover .fb-share-btn { opacity: 1; }

.puppy-info { padding: 16px 18px; }
.puppy-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--dark); margin-bottom: 8px;
}
.puppy-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.puppy-tag {
  background: var(--gold-light);
  color: #7a5a1a;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.75rem; font-weight: 600;
  font-family: var(--font-ui);
}

.puppy-price-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.puppy-price {
  font-size: 1.35rem; font-weight: 700;
  color: var(--primary); font-family: var(--font-ui);
}
.down-badge {
  background: var(--gold-light);
  color: #7a5a1a;
  padding: 3px 9px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700;
  font-family: var(--font-ui);
  border: 1px solid var(--gold);
}

.btn-add-cart {
  width: 100%;
  background: var(--primary); color: white;
  padding: 11px;
  border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-add-cart:hover:not(:disabled) { background: var(--primary-dark); }
.btn-add-cart:disabled { background: var(--sold); cursor: not-allowed; opacity: 0.65; }

/* Skeleton */
.skeleton-card { background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.skeleton-img { aspect-ratio: 4/3; }
.skeleton-body { padding: 16px; }
.skeleton-line {
  height: 13px; border-radius: 4px; margin-bottom: 10px;
  background: linear-gradient(90deg, #ede8e3 25%, #e0dbd4 50%, #ede8e3 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-line.short { width: 55%; }
.skeleton-line.medium { width: 75%; }
.skeleton-img {
  background: linear-gradient(90deg, #ede8e3 25%, #e0dbd4 50%, #ede8e3 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Empty State */
.empty-state {
  grid-column: 1 / -1; text-align: center;
  padding: 72px 24px; color: var(--text-muted);
}
.empty-state .paw-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--dark); margin-bottom: 8px; }

/* ============================================================
   CART DRAWER
   ============================================================ */
#cart-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(28,28,46,0.45);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
#cart-overlay.open { opacity: 1; pointer-events: all; }

#cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 2001;
  width: 380px; max-width: 100%; height: 100%;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
}
#cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 20px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--dark); }
.cart-close {
  width: 34px; height: 34px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-muted);
  transition: background var(--transition);
}
.cart-close:hover { background: #f0ebe5; }

.cart-items { flex: 1; overflow-y: auto; padding: 14px; }
.cart-item {
  display: flex; gap: 12px;
  padding: 12px; border-radius: var(--radius);
  margin-bottom: 8px;
  background: white;
  border: 1px solid var(--border);
  align-items: center;
}
.cart-item-img { width: 60px; height: 60px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; background: #f0e8ec; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.cart-item-breed { color: var(--text-muted); font-size: 0.8rem; }
.cart-item-price { font-weight: 700; color: var(--primary); font-size: 0.9rem; margin-top: 4px; }
.cart-remove {
  width: 26px; height: 26px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #bbb; flex-shrink: 0;
  transition: all var(--transition);
}
.cart-remove:hover { background: #fee2e2; color: #dc2626; }

.cart-empty { text-align: center; padding: 60px 24px; color: #ccc; }
.cart-empty .paw { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }
.cart-empty p { font-size: 0.9rem; color: var(--text-muted); }

.cart-footer { padding: 18px 22px; border-top: 1px solid var(--border); }
.cart-totals { margin-bottom: 14px; }
.cart-total-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-ui); font-size: 0.875rem;
  padding: 4px 0; color: var(--text-muted);
}
.cart-total-row.highlight {
  font-size: 0.95rem; font-weight: 700;
  color: var(--primary);
  border-top: 1px solid var(--border);
  padding-top: 10px; margin-top: 6px;
}

.btn-checkout {
  width: 100%;
  background: var(--primary); color: white;
  padding: 13px; border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.btn-checkout:hover { background: var(--primary-dark); }
.btn-checkout:disabled { background: var(--sold); cursor: not-allowed; }

/* ============================================================
   CHECKOUT OVERLAY
   ============================================================ */
#checkout-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(28,28,46,0.7);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
}
#checkout-overlay.open { display: flex; }

.checkout-modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.28s ease;
  border-top: 3px solid var(--primary);
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.checkout-header {
  padding: 22px 28px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.checkout-header h2 { font-family: var(--font-display); font-size: 1.4rem; }
.checkout-close {
  width: 34px; height: 34px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-muted);
  transition: background var(--transition);
}
.checkout-close:hover { background: #f0ebe5; }

.checkout-steps {
  display: flex; padding: 14px 28px;
  border-bottom: 1px solid var(--border);
}
.checkout-step {
  flex: 1; text-align: center;
  font-family: var(--font-ui); font-size: 0.78rem; color: #bbb;
  position: relative;
}
.checkout-step::after {
  content: ''; position: absolute;
  top: 13px; left: 50%; right: -50%;
  height: 1px; background: var(--border); z-index: -1;
}
.checkout-step:last-child::after { display: none; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: #eee; color: #bbb;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  margin: 0 auto 4px;
  transition: all var(--transition);
}
.checkout-step.active .step-num { background: var(--primary); color: white; }
.checkout-step.active { color: var(--primary); font-weight: 600; }
.checkout-step.done .step-num { background: var(--success); color: white; }

.checkout-body { padding: 22px 28px; }
.checkout-panel { display: none; }
.checkout-panel.active { display: block; }

.order-review-item {
  display: flex; gap: 14px; align-items: center;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; margin-bottom: 10px;
}
.order-review-img { width: 68px; height: 68px; border-radius: var(--radius); object-fit: cover; background: #f0e8ec; }
.order-review-info h4 { font-weight: 700; margin-bottom: 4px; }
.order-review-info p { color: var(--text-muted); font-size: 0.82rem; }
.order-review-price { font-weight: 700; color: var(--primary); font-size: 0.95rem; }

.checkout-totals {
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: var(--radius); padding: 14px; margin: 14px 0;
}
.checkout-total-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-ui); font-size: 0.875rem; padding: 3px 0;
  color: #7a5a1a;
}
.checkout-total-row.main {
  font-weight: 700; font-size: 1rem;
  color: var(--primary);
  border-top: 1px solid rgba(201,168,76,0.3);
  padding-top: 9px; margin-top: 5px;
}

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.92rem;
  background: white; color: var(--dark);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group input.error { border-color: #dc2626; }
.form-error { color: #dc2626; font-size: 0.78rem; margin-top: 3px; display: none; }
.form-error.visible { display: block; }
.phone-field {
  display: flex; align-items: stretch;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: white; overflow: hidden;
  transition: border-color var(--transition);
}
.phone-field:focus-within { border-color: var(--primary); }
.pcp { flex: 0 0 auto; }
.pcp-btn {
  height: 100%; width: 108px;
  padding: 11px 8px 11px 12px;
  border: none; border-right: 1.5px solid var(--border);
  background: #faf9f8; color: var(--dark);
  font-family: var(--font-body); font-size: 0.88rem; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap; outline: none;
  transition: background 0.15s;
}
.pcp-btn:hover { background: #f0eeeb; }
.pcp-chev { font-size: 0.72rem; margin-left: auto; flex-shrink: 0; transition: transform 0.2s; }
.pcp.open .pcp-chev { transform: rotate(180deg); }
.pcp-dropdown {
  width: 100%; background: white;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  margin-top: 4px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  z-index: 50;
}
.pcp-search {
  display: block; width: 100%; padding: 9px 12px;
  border: none; border-bottom: 1px solid var(--border);
  font-family: var(--font-body); font-size: 0.88rem; color: var(--dark);
  background: #faf9f8; outline: none; box-sizing: border-box;
}
.pcp-list {
  list-style: none; margin: 0; padding: 4px 0;
  max-height: 200px; overflow-y: auto;
}
.pcp-opt {
  padding: 8px 14px; cursor: pointer; font-size: 0.87rem;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.1s;
}
.pcp-opt:hover { background: #f5f0f5; }
.pcp-opt.selected { font-weight: 600; color: var(--primary); }
.pcp-opt-code { margin-left: auto; color: #999; font-size: 0.82rem; }
.phone-field input {
  flex: 1; min-width: 0;
  padding: 11px 13px;
  border: none; background: transparent;
  font-family: var(--font-body); font-size: 0.92rem; color: var(--dark);
  outline: none;
}

.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.payment-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 10px 12px;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 0.875rem; font-weight: 500;
  background: white;
}
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected { border-color: var(--primary); background: #f7e6ee; color: var(--primary); }
.payment-option input[type="radio"] { display: none; }
.payment-icon { font-size: 1.2rem; }

.checkout-nav { display: flex; gap: 10px; margin-top: 20px; }
.btn-back {
  flex: 1; padding: 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 600; color: var(--text-muted);
  transition: all var(--transition);
}
.btn-back:hover { border-color: var(--dark); color: var(--dark); }
.btn-next, .btn-submit {
  flex: 2; padding: 12px;
  background: var(--primary); color: white;
  border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700;
  transition: all var(--transition);
}
.btn-next:hover, .btn-submit:hover { background: var(--primary-dark); }

.confirm-animation { text-align: center; padding: 16px 0; }
.confirm-paw { font-size: 3.5rem; animation: celebratePaw 0.9s ease; }
@keyframes celebratePaw {
  0% { transform: scale(0) rotate(-30deg); }
  60% { transform: scale(1.15) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}
.confirm-animation h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); margin: 14px 0 8px; }
.confirm-animation p { color: var(--text-muted); }

.order-summary-print {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; margin: 18px 0;
  font-size: 0.9rem; line-height: 1.8;
}

.btn-print {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  width: 100%; padding: 11px;
  border: 1.5px solid var(--primary); border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 600; color: var(--primary);
  transition: all var(--transition);
}
.btn-print:hover { background: #f7e6ee; }

.step3-summary {
  background: #f9f7f4; border-radius: var(--radius);
  padding: 16px 18px; font-size: 0.88rem; line-height: 1.8;
  border: 1px solid var(--border);
}
.send-options { display: flex; gap: 12px; margin-top: 16px; }
.btn-wa, .btn-send-email {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 10px; border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 700; font-size: 0.92rem;
  border: none; cursor: pointer; transition: opacity 0.18s, transform 0.15s;
}
.btn-wa { background: #25D366; color: #fff; }
.btn-send-email { background: var(--primary); color: #fff; }
.btn-wa:hover, .btn-send-email:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-wa:disabled, .btn-send-email:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.send-note { font-size: 0.77rem; color: #999; text-align: center; margin-top: 10px; }
.step3-sent { text-align: center; padding: 24px 0 8px; }
.step3-sent .confirm-paw { font-size: 3rem; animation: celebratePaw 0.9s ease; }
.step3-sent h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); margin: 12px 0 8px; }
.step3-sent p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.btn-close-sent {
  display: inline-block; margin-top: 20px; padding: 10px 28px;
  border: 1.5px solid var(--primary); border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 600; color: var(--primary);
  transition: background var(--transition);
}
.btn-close-sent:hover { background: #f7e6ee; }
@media (max-width: 480px) {
  .send-options { flex-direction: column; }
}

/* See More Puppies */
.see-more-wrap { text-align: center; padding: 32px 0 8px; }
.btn-see-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border-radius: 50px;
  border: 2px solid var(--primary); background: transparent;
  color: var(--primary); font-family: var(--font-ui); font-weight: 700;
  font-size: 0.95rem; cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.15s;
}
.btn-see-more:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-see-more i { font-size: 1.1rem; }

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  padding: 100px 24px;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: 940px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem; color: var(--dark);
  margin-bottom: 18px; line-height: 1.2;
}
.about-text p {
  color: var(--text-muted); line-height: 1.8;
  margin-bottom: 16px; font-size: 1rem;
}
.about-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about-badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--gold-light);
  color: #7a5a1a;
  padding: 7px 14px; border-radius: 4px;
  font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--gold);
}

.about-visual {
  background: linear-gradient(145deg, #f7e6ee, var(--gold-light));
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.about-visual-inner {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary);
  font-style: italic;
  line-height: 1.8;
}
.about-visual-inner strong { display: block; font-size: 2.4rem; font-style: normal; margin-bottom: 8px; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: 100px 24px;
  background: var(--dark);
  color: white;
}
.contact-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
#contact h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 8px; }
#contact .subtitle { color: rgba(255,255,255,0.55); margin-bottom: 32px; font-style: italic; font-family: var(--font-display); }

.contact-links { margin-bottom: 32px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
  color: rgba(255,255,255,0.8);
}
.contact-link:hover { color: var(--gold); }
.contact-link-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-link-text { font-size: 0.88rem; }
.contact-link-text > span:first-child { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 2px; font-family: var(--font-ui); }
#contact-email { display: block; text-transform: none; }

.contact-form { background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); padding: 30px; border: 1px solid rgba(255,255,255,0.08); }
.contact-form h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 22px; }
.contact-form .form-group input,
.contact-form .form-group textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: white;
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus { border-color: var(--gold); }
.contact-form .form-group label { color: rgba(255,255,255,0.6); }

.btn-send {
  width: 100%;
  background: var(--gold); color: var(--dark);
  padding: 13px; border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.03em;
  transition: all var(--transition);
}
.btn-send:hover { background: #b8963d; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #12121F;
  color: rgba(255,255,255,0.5);
  padding: 48px 24px 28px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 860px; margin: 0 auto; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.2rem;
  color: white; margin-bottom: 10px;
}
.footer-tagline { color: rgba(255,255,255,0.35); margin-bottom: 24px; font-size: 0.85rem; font-style: italic; font-family: var(--font-display); }

.footer-nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px;
  margin-bottom: 24px;
}
.footer-nav a {
  padding: 5px 12px; border-radius: var(--radius);
  font-size: 0.85rem; transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.footer-copy {
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
#whatsapp-btn {
  position: fixed;
  bottom: max(28px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  left: max(28px, env(safe-area-inset-left, 28px));
  z-index: 1500;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: all var(--transition);
  animation: pulse 2.8s infinite;
}
#whatsapp-btn:hover { transform: scale(1.1); animation: none; box-shadow: 0 6px 22px rgba(37,211,102,0.5); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 26px rgba(37,211,102,0.6); }
}

#back-top {
  position: fixed;
  bottom: max(92px, calc(env(safe-area-inset-bottom, 0px) + 76px));
  left: max(28px, env(safe-area-inset-left, 28px));
  z-index: 1500;
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================================
   PAW CURSOR TRAIL
   ============================================================ */
@keyframes pawFade {
  0% { opacity: 0.3; transform: scale(0.9) rotate(var(--rotation)); }
  100% { opacity: 0; transform: scale(0.3) rotate(var(--rotation)); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .breed-grid { grid-template-columns: 1fr; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  #cart-drawer { width: 100%; max-width: 400px; }
}
@media (max-width: 700px) {
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 12px; box-shadow: var(--shadow-md); gap: 2px; border-bottom: 1px solid var(--border); }
  nav.open { display: flex; }
  nav a { padding: 11px 14px; }
  .hamburger { display: flex; }
  .puppies-grid { grid-template-columns: 1fr 1fr; }
  .payment-methods { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .puppies-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .logo span { display: none; }
  header { padding: 0 16px; }
  #cart-drawer { width: 100%; }
  .breed-card { padding: 24px 20px; }
  .breed-card h3 { font-size: 1.1rem; }
  .lang-modal-card { padding: 36px 24px; }
}

/* ============================================================
   RESPONSIVE — EXTENDED DEVICE SUPPORT
   ============================================================ */

/* Tablets + phones landscape: checkout as bottom-sheet, search stack */
@media (max-width: 600px) {
  #breeds h2, #puppies h2, .about-text h2, #contact h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .puppies-controls { flex-direction: column; gap: 12px; }
  .search-bar { min-width: 0; width: 100%; }
  .filter-btns { width: 100%; flex-wrap: wrap; }
  #checkout-overlay { padding: 0; align-items: flex-end; }
  .checkout-modal {
    border-radius: 20px 20px 0 0;
    max-height: 95dvh;
    max-height: 95vh;
    width: 100%;
    max-width: 100%;
    border-top: 3px solid var(--primary);
  }
  .checkout-body, .checkout-header { padding-left: 18px; padding-right: 18px; }
  .checkout-steps { padding-left: 18px; padding-right: 18px; }
  #about { padding: 64px 20px; }
  #contact { padding: 64px 20px; }
  #breeds { padding: 60px 20px; }
  #puppies { padding: 60px 20px; }
}

/* Touch targets: 44px minimum for all interactive controls */
@media (max-width: 768px) {
  .btn-add-cart { min-height: 44px; }
  .filter-btn { min-height: 44px; }
  nav a { min-height: 44px; display: flex; align-items: center; }
  .hamburger { min-height: 44px; min-width: 44px; justify-content: center; }
  .cart-close, .checkout-close { width: 44px; height: 44px; }
  .btn-next, .btn-submit, .btn-back { min-height: 44px; }
  .fb-share-btn { padding: 8px 12px; opacity: 1; }
  .cart-btn { min-height: 44px; }
}

/* Landscape phones: shrink hero so it doesn't dominate */
@media (max-height: 500px) and (orientation: landscape) {
  #hero { padding: 36px 24px; min-height: auto; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-content p { display: none; }
  .hero-eyebrow { margin-bottom: 12px; }
}

/* ============================================================
   PREMIUM POLISH
   ============================================================ */

/* Section heading gold underlines */
#breeds h2, #puppies h2 {
  position: relative;
  padding-bottom: 18px;
}
#breeds h2::after, #puppies h2::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}
.about-text h2, #contact h2 {
  position: relative;
  padding-bottom: 18px;
}
.about-text h2::after, #contact h2::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 44px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Down payment row on puppy cards */
.puppy-down-row {
  background: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius);
  padding: 9px 12px;
  margin-bottom: 12px;
}
.down-amount {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.875rem; font-family: var(--font-ui);
  color: #7a5a1a; line-height: 1.3;
}
.down-amount i { color: var(--gold); font-size: 1rem; flex-shrink: 0; line-height: 1; }
.down-amount strong { color: var(--primary); font-weight: 700; }
.remaining-amount {
  font-size: 0.72rem; color: #a07830;
  font-family: var(--font-ui);
  padding-left: 23px; margin-top: 3px;
  letter-spacing: 0.02em;
}

/* Remove the old single-line down badge */
.down-badge { display: none; }

/* Payment method icons */
.payment-option .payment-icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; flex-shrink: 0;
}
.payment-option .payment-icon i { font-size: 1.15rem; line-height: 1; }
.payment-option .payment-icon svg { display: block; }

/* Share button icon */
.fb-share-btn i { font-size: 0.75rem; line-height: 1; }

/* Empty state icon */
.empty-state .paw-icon { font-size: 2.8rem; margin-bottom: 16px; opacity: 0.4; color: var(--primary); }

/* Paw trail (now BI icon) */
.paw-trail {
  position: fixed; pointer-events: none; z-index: 9999;
  font-size: 0.85rem; color: var(--accent);
  opacity: 0; animation: pawFade 0.6s ease forwards;
  transform: rotate(var(--rotation)); line-height: 1;
}

/* Hero paw decorations (now BI icon) */
.hero-paw {
  position: absolute; font-size: 1.4rem;
  color: white; opacity: 0.06;
  animation: floatPaw 9s ease-in-out infinite;
}

/* Btn add-to-cart icon */
.btn-add-cart i { font-size: 0.95rem; line-height: 1; }

/* Premium puppy price row — remove flex-justify, price block now standalone */
.puppy-price-row { margin-bottom: 8px; }

/* ============================================================
   BOOTSTRAP ICONS SIZING
   ============================================================ */
.search-bar .search-icon { font-size: 15px; line-height: 1; }
.cart-btn i { font-size: 1rem; line-height: 1; }
.cart-close i, .checkout-close i { font-size: 1rem; line-height: 1; }
.contact-link-icon i { font-size: 1.15rem; line-height: 1; }
.about-badge i { font-size: 12px; line-height: 1; }
.social-btn i { font-size: 1rem; line-height: 1; }
#whatsapp-btn i { font-size: 1.65rem; line-height: 1; }
#back-top i { font-size: 1rem; line-height: 1; }
.btn-hero i { font-size: 1rem; line-height: 1; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  header, footer, #whatsapp-btn, #back-top, .checkout-nav, .btn-print { display: none !important; }
  .order-summary-print { border: 1px solid #ccc; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .paw-trail { display: none !important; }
}
