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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== BACKGROUND ===== */

:root {
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --brown: #2C1810;
  --brown-light: #5C4033;
  --brown-muted: #8B7355;
  --terracotta: #C4784A;
  --terracotta-dark: #A85D35;
  --terracotta-light: #E8A87C;
  --sage: #6B8F71;
  --sage-light: #E8F0E9;
  --peach: #F0D9C6;
  --peach-light: #FDF5EE;
  --warm-white: #FFFCF8;
  --gold: #D4A855;
  --gold-light: #E4C87A;
  --white: #ffffff;
  --primary: #1a1210;
  --gray-50: #F8F6F3;
  --gray-100: #EDE8E1;
  --gray-200: #D9D2C8;
  --gray-400: #9B8E80;
  --gray-600: #6B5E50;
  --gray-800: #3D2B1F;
  --red: #C0392B;
  --green: #6B8F71;
  --green-light: #E8F0E9;
  --teal: #5B8A8A;
  --teal-light: #E6F0F0;
  --shadow-sm: 0 1px 2px rgba(44, 24, 16, 0.03), 0 1px 3px rgba(44, 24, 16, 0.05);
  --shadow-card: 0 1px 3px rgba(44, 24, 16, 0.04), 0 4px 12px rgba(44, 24, 16, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(44, 24, 16, 0.1), 0 2px 8px rgba(44, 24, 16, 0.06);
  --shadow-elevated: 0 16px 48px rgba(44, 24, 16, 0.12), 0 4px 12px rgba(44, 24, 16, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--brown);
  line-height: 1.6;
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-content {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  text-wrap: balance;
  color: var(--brown);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

p, li, figcaption, blockquote, .dog-card-desc, .testimonial-text, .seller-bio {
  text-wrap: pretty;
}

.price, .dog-card-price, .detail-price {
  font-variant-numeric: tabular-nums;
}

a {
  color: var(--terracotta);
  text-decoration: none;
}

a:hover {
  color: var(--terracotta-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.header-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
  min-width: 0;
  transition: opacity var(--transition-fast);
}

.header-logo:hover {
  opacity: 0.85;
}

.usa-badge {
  font-size: 0.55rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(212, 168, 85, 0.2), rgba(212, 168, 85, 0.08));
  color: var(--gold-light);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  border: 1px solid rgba(212, 168, 85, 0.25);
  text-transform: uppercase;
}


/* ===== HEADER MENU (dropdown) ===== */
.header-menu {
  position: relative;
}

.menu-toggle {
  display: none;
}

.menu-dropdown {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  position: static;
  min-width: auto;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  z-index: auto;
}

.menu-dropdown a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--gray-200);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.menu-dropdown a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--gold);
}

.menu-dropdown-icon {
  display: none;
}

.menu-dropdown-cta {
  margin-top: 0;
  margin-left: 4px;
  background: var(--gold) !important;
  color: var(--primary) !important;
  justify-content: center;
  font-weight: 700;
}

.menu-dropdown-cta:hover {
  background: var(--gold-light) !important;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
  }

  .menu-toggle:hover {
    border-color: var(--gold);
  }

  .menu-toggle-icon {
    font-size: 0.65rem;
    transition: transform 0.2s;
    display: inline-block;
  }

  .header-menu.open .menu-toggle-icon {
    transform: rotate(180deg);
  }

  .menu-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 260px;
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    box-shadow: var(--shadow-elevated);
    padding: 8px;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 200;
  }

  .header-menu.open .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--gray-200);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    width: 100%;
  }

  .menu-dropdown a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--gold);
  }

  .menu-dropdown-icon {
    width: 16px;
    text-align: center;
    opacity: 0.85;
    display: inline;
  }

  .menu-dropdown-cta {
    margin-top: 6px;
  }

  .menu-dropdown {
    left: 0;
    right: 0;
    min-width: auto;
  }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #0d1117 0%, #151d2b 25%, #1a2740 50%, #1f2f48 75%, #162032 100%);
  color: var(--white);
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(circle 200px at 60% 70%, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-deco-line {
  position: absolute;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.12;
}

.hero-deco-line-1 {
  width: 1px;
  height: 180px;
  top: -20px;
  left: 12%;
  transform: rotate(15deg);
}

.hero-deco-line-2 {
  width: 1px;
  height: 140px;
  top: 30px;
  right: 15%;
  transform: rotate(-10deg);
}

.hero-deco-line-3 {
  width: 1px;
  height: 100px;
  bottom: 10px;
  left: 25%;
  transform: rotate(8deg);
}

.hero-deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.hero-deco-circle-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
}

.hero-deco-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -40px;
  left: -40px;
  border-color: rgba(201, 168, 76, 0.07);
}

.hero-deco-dots {
  position: absolute;
  bottom: 30px;
  right: 8%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  opacity: 0.15;
}

.hero-deco-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== FLOATING DOG PHOTOS ===== */
.bg-floating {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-floating::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(255,255,255,0.6) 100%);
  pointer-events: none;
}

.bg-floating-img {
  position: absolute;
  border-radius: 12px;
  object-fit: cover;
  opacity: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  outline: 1px solid rgba(255,255,255,0.06);
  outline-offset: -1px;
  will-change: transform, opacity;
  animation: floatBg var(--float-duration, 30s) ease-in-out var(--float-delay, 0s) infinite;
}

@keyframes floatBg {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0.95) rotate(-2deg);
  }
  12% {
    opacity: 0.2;
  }
  30% {
    opacity: 0.25;
    transform: translateY(-40px) translateX(60px) scale(1.02) rotate(2deg);
  }
  50% {
    opacity: 0.2;
    transform: translateY(-80px) translateX(-40px) scale(0.97) rotate(-1deg);
  }
  70% {
    opacity: 0.2;
    transform: translateY(-40px) translateX(70px) scale(1) rotate(3deg);
  }
  88% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
    transform: translateY(20px) translateX(0) scale(0.93) rotate(-2deg);
  }
}

.bg-floating-img:nth-child(1) { --float-duration: 32s; --float-delay: 0s; width: 180px; height: 130px; top: 3%; left: 2%; }
.bg-floating-img:nth-child(2) { --float-duration: 36s; --float-delay: -4s; width: 130px; height: 100px; top: 8%; left: 78%; }
.bg-floating-img:nth-child(3) { --float-duration: 28s; --float-delay: -8s; width: 160px; height: 115px; top: 50%; left: -4%; }
.bg-floating-img:nth-child(4) { --float-duration: 34s; --float-delay: -12s; width: 140px; height: 105px; top: 60%; left: 80%; }
.bg-floating-img:nth-child(5) { --float-duration: 38s; --float-delay: -16s; width: 110px; height: 85px; top: 25%; left: 60%; }
.bg-floating-img:nth-child(6) { --float-duration: 26s; --float-delay: -20s; width: 170px; height: 125px; top: 75%; left: 35%; }
.bg-floating-img:nth-child(7) { --float-duration: 30s; --float-delay: -24s; width: 100px; height: 80px; top: 35%; left: 12%; }
.bg-floating-img:nth-child(8) { --float-duration: 28s; --float-delay: -28s; width: 135px; height: 100px; top: 15%; left: 42%; }
.bg-floating-img:nth-child(9) { --float-duration: 33s; --float-delay: -32s; width: 120px; height: 95px; top: 85%; left: 5%; }
.bg-floating-img:nth-child(10) { --float-duration: 29s; --float-delay: -36s; width: 150px; height: 110px; top: 45%; left: 92%; }
.bg-floating-img:nth-child(11) { --float-duration: 35s; --float-delay: -40s; width: 95px; height: 75px; top: 70%; left: 55%; }
.bg-floating-img:nth-child(12) { --float-duration: 27s; --float-delay: -44s; width: 140px; height: 105px; top: 2%; left: 55%; }

@media (prefers-reduced-motion: reduce) {
  .bg-floating-img {
    animation: none;
    opacity: 0.08;
  }
}

@media (max-width: 768px) {
  .bg-floating {
    display: none;
  }
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  text-shadow: 0 2px 40px rgba(212, 168, 85, 0.2);
}

.hero p {
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 auto;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero-cta {
  margin-top: 40px;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
  display: inline-block;
  padding: 16px 40px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.hero-line {
  width: 48px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 28px auto;
  border-radius: 1px;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

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

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

/* ===== TRUST BADGES ===== */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  border-top: 1px solid var(--gray-100);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 22px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(107, 143, 113, 0.25);
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.trust-text strong {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
}

.trust-text span {
  font-size: 0.72rem;
  color: var(--gray-400);
}

/* ===== SECTION ===== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===== DOG CARDS ===== */
.dogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.dog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--card-index, 0) * 0.07s);
}

.dog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0,0,0,0.06);
}

.dog-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--gray-100);
  border-radius: 0;
  outline: 1px solid rgba(0,0,0,0.08);
  outline-offset: 0;
  transition: transform var(--transition-smooth);
}

.dog-card:hover .dog-card-image {
  transform: scale(1.04);
}

.dog-card-body {
  padding: 20px;
}

.dog-card-breed {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.dog-card-name {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.dog-card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dog-card-price {
  display: inline-block;
  background: var(--primary);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
}

.dog-card-age {
  color: var(--gray-600);
  font-size: 0.85rem;
}

.dog-card-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dog-card-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-available {
  background: var(--green-light);
  color: var(--green);
}

.status-unavailable {
  background: #fde8e8;
  color: var(--red);
}

.status-reserved {
  background: #fef3cd;
  color: #856404;
}

.status-sold {
  background: #1a2332;
  color: #fff;
}

.admin-status-sold {
  background: #1a2332;
  color: #fff;
}

/* ===== PRODUCTS GRID ===== */

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

.product-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--card-index, 0) * 0.06s);
}

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

.product-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

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

.product-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 2.5rem;
}

.product-card-body {
  padding: 16px;
}

.product-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 10px;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.product-card-btn {
  margin-top: 12px;
}

.product-card-hidden {
  display: none;
}

.product-card-btn.btn-active {
  background: var(--green, #28a745);
  color: #fff;
}

.selected-accessories {
  background: var(--gray-100, #f0f0f5);
  border: 1px solid var(--gray-300, #ccc);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  color: var(--gray-800, #1e1e2e);
}

.selected-accessories > label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.selected-accessory-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-300, #ddd);
}

.selected-accessory-item:last-of-type {
  border-bottom: none;
}

.selected-accessory-remove {
  background: none;
  border: none;
  color: var(--red, #dc3545);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}

.selected-accessory-total {
  margin-top: 8px;
  font-weight: 600;
  color: var(--green, #28a745);
}

.accessories-section {
  padding-top: 12px;
}

.app-cards-mobile {
  display: none;
}

.admin-table-desktop {
  display: block;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 0 16px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.accessories-section .section-title {
  margin-bottom: 6px;
}

/* ===== EMPTY STATE ===== */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.3rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--gray-400);
  max-width: 400px;
  margin: 0 auto;
}

.filter-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.filter-input {
  padding: 9px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  background: var(--white);
  color: var(--primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 85, 0.12);
}

.filter-input::placeholder {
  color: var(--gray-400);
}

.filter-price {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
}

.filter-price .filter-input {
  width: 100px;
}

.filter-price-sep {
  padding-bottom: 10px;
  color: var(--gray-400);
}

.dog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 2rem;
}

/* ===== SELLER INFO ===== */
.seller-section {
  background: var(--gray-50);
}

.seller-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.seller-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.01em;
}

.seller-bio {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 0.92rem;
  text-align: center;
  padding: 0 8px;
}

.seller-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  color: var(--gray-600);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition-fast);
}

.contact-item:hover {
  background: var(--gray-50);
}

.contact-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.contact-item:nth-child(odd) {
  border-right: 1px solid var(--gray-100);
}

.contact-icon {
  font-size: 1rem;
  color: var(--gray-400);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-400);
}

.contact-detail a {
  color: var(--primary);
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
}

.social-btn:hover {
  opacity: 0.85;
}

.social-btn:active {
  transform: scale(0.97);
}

.btn-facebook {
  background: #1877f2;
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

/* ===== SQUIGGLY TEXT ===== */
.squiggly-text {
  filter: url(#squiggly);
  display: inline-block;
}

.squiggly-text:hover {
  animation: squiggly-pause 0.3s ease forwards;
}

@keyframes squiggly-pause {
  to {
    filter: none;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: var(--gray-400);
  text-align: center;
  padding: 36px 0;
  font-size: 0.83rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer p {
  line-height: 1.6;
}

.footer-admin-link {
  color: var(--gray-600);
  font-size: 0.75rem;
  margin-left: 10px;
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer-admin-link:hover {
  color: var(--gray-400);
  opacity: 1;
}

.footer-usa {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--gray-200);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  color: var(--gray-600);
  margin-bottom: 8px;
}

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0d1117 0%, #1a2740 50%, #162032 100%);
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-elevated);
}

.login-card h1 {
  font-size: 1.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 28px;
}

.login-card .form-group {
  margin-bottom: 16px;
}

.login-card label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.login-card input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.login-card input:focus {
  border-color: var(--gold);
}

.login-error {
  background: #fde8e8;
  color: var(--red);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-smooth), background var(--transition-smooth);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.btn:active {
  transform: scale(0.96);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(212, 168, 85, 0.25);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(212, 168, 85, 0.35);
}

.btn-danger {
  background: var(--red);
  color: var(--white);
}

.btn-danger:hover {
  opacity: 0.9;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-back {
  background: var(--gray-200);
  color: var(--gray-800);
}

.btn-back:hover {
  background: var(--gray-400);
  color: var(--white);
}

/* ===== ADMIN PAGE ===== */
.admin-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 0;
}

.admin-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h1 {
  font-size: 1.3rem;
  color: var(--gold);
}

.admin-header nav a {
  color: var(--gray-200);
  margin-left: 16px;
  font-size: 0.9rem;
}

.admin-body {
  padding: 40px 0;
  background: var(--gray-50);
  min-height: calc(100vh - 80px);
}

.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--gray-100);
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-tab-btn:hover {
  color: var(--primary);
}

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--gold);
}

.admin-tab-btn .badge {
  background: var(--gray-100);
  color: var(--gray-600);
}

.admin-tab-btn.active .badge {
  background: var(--gold);
  color: var(--white);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.admin-search-bar {
  margin-bottom: 16px;
  max-width: 320px;
}

.admin-img-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.admin-img-preview img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
}

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

.admin-card {
  background: var(--white);
  border-radius: 16px;
  padding: 0 28px 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.admin-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -28px 16px;
  padding: 16px 28px;
  border-bottom: 2px solid var(--gray-100);
}

.admin-card-head h2 {
  font-size: 1.15rem;
  color: var(--white);
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-card-icon {
  font-size: 1.3rem;
}

.head-add { background: #2d7d46; }
.head-seller { background: #2c5282; }
.head-list { background: var(--primary); }
.head-testi { background: #805ad5; }

.admin-card-desc {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-bottom: 20px;
  line-height: 1.5;
}

.badge {
  background: rgba(255,255,255,0.25);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.admin-card.full {
  grid-column: 1 / -1;
}

.label-hint {
  font-weight: 400;
  color: var(--gray-400);
  font-size: 0.8rem;
}

.label-required {
  color: var(--red);
  font-weight: 700;
}

.label-optional {
  color: var(--gray-400);
  font-weight: 400;
  text-transform: none;
}

.btn-add {
  background: #2d7d46;
  color: #fff;
}
.btn-add:hover {
  background: #236835;
}

.btn-seller {
  background: #2c5282;
  color: #fff;
}
.btn-seller:hover {
  background: #1f3f68;
}

.btn-testi {
  background: #805ad5;
  color: #fff;
}
.btn-testi:hover {
  background: #6b47b8;
}

.testimonial-stars-cell {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin: 0;
}

/* ===== ADMIN TABLE ===== */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--gray-50);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-dog-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gray-100);
}

.admin-table-actions {
  display: flex;
  gap: 8px;
}

/* ===== ADMIN PUPPY CARDS ===== */
.admin-puppy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 4px 0;
}

.admin-puppy-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s;
}

.admin-puppy-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.admin-puppy-photo {
  position: relative;
  height: 160px;
  background: var(--gray-100);
  overflow: hidden;
}

.admin-puppy-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-puppy-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.4;
}

.admin-puppy-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.admin-puppy-body {
  padding: 14px;
}

.admin-puppy-breed {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.admin-puppy-details {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.admin-puppy-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-weight: 500;
}

.admin-puppy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.admin-puppy-meta strong {
  color: var(--gray-800);
  font-weight: 600;
}

.admin-puppy-price {
  font-weight: 700;
  color: var(--green);
  font-size: 0.95rem;
  margin-left: auto;
}

.admin-puppy-actions {
  display: flex;
  gap: 6px;
}

/* ===== EDIT FORM (hidden by default) ===== */
.edit-form {
  display: none;
  margin-top: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}

.edit-form.visible {
  display: block;
}

/* ===== CAROUSEL ===== */
.dog-card-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-hidden {
  display: none !important;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dog-card-carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-prev { left: 6px; }
.carousel-next { right: 6px; }

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: #fff;
}

.dog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ===== FILTERS ===== */
.filters-section {
  padding-bottom: 0;
}

.filters-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}

.filter-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}

.filter-input:focus {
  border-color: var(--gold);
}

.filter-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1.5;
  min-width: 200px;
}

.filter-price .filter-input {
  min-width: 0;
}

.filter-price-sep {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.filter-count {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--testi-index, 0) * 0.08s + 0.15s);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

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

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 0;
}

.testimonial-author {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

/* ===== DETAIL PAGE ===== */
.detail-section {
  padding: 60px 0;
}

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

.detail-gallery {
  position: sticky;
  top: 100px;
}

.detail-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}

.detail-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.detail-placeholder {
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 16px;
  font-size: 4rem;
  color: var(--gray-400);
}

.detail-carousel .carousel-btn {
  opacity: 1;
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.detail-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.detail-thumb {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.detail-thumb:hover {
  opacity: 0.8;
}

.detail-thumb.active {
  opacity: 1;
  border-color: var(--gold);
}

.detail-info {
  padding-top: 8px;
}

.detail-breed {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detail-category {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.detail-name {
  font-size: 1.05rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
  padding: 20px;
  background: var(--gray-50);
  border-radius: 12px;
}

.detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.detail-age, .detail-gender {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.detail-age strong, .detail-gender strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-400);
  font-weight: 600;
}

.detail-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-400);
  font-weight: 600;
}

.detail-status {
  margin-bottom: 24px;
}

.detail-desc {
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.detail-desc h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.detail-desc p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.detail-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-application {
  margin-top: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.detail-application h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.detail-application p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.detail-application-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 24px 0;
}

.detail-application-divider::before,
.detail-application-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}

.detail-application-divider span {
  padding: 0 12px;
  white-space: nowrap;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition-fast);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-100);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.faq-toggle-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--gray-600);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast), border-color var(--transition-fast);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--gold);
  border-color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 8px 22px;
  color: var(--gray-600);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .trust-badges {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-deco {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    margin-bottom: 32px;
  }

  .dogs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .header-logo {
    font-size: 1rem;
  }

  .seller-card {
    padding: 32px 20px;
  }

  .seller-card h3 {
    font-size: 1.25rem;
  }

  .seller-bio {
    font-size: 0.9rem;
  }

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

  .contact-item:nth-child(odd) {
    border-right: none;
  }

  .contact-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--gray-100);
  }

  .contact-item:last-child {
    border-bottom: none;
  }

  .social-links {
    flex-direction: column;
  }

  .social-btn {
    justify-content: center;
  }

  .admin-table {
    font-size: 0.8rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px 10px;
  }

  .app-cards-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
  }

  .app-card-mobile {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  }

  .app-card-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .app-card-mobile-name {
    font-weight: 700;
    font-size: 1rem;
  }

  .app-card-mobile-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 4px;
  }

  .app-card-mobile-row:last-child {
    border-bottom: none;
  }

  .app-card-mobile-label {
    color: var(--brown-muted);
    min-width: 80px;
  }

  .app-card-mobile-value {
    text-align: right;
    flex: 1;
  }

  .app-card-mobile-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
  }

  .app-card-mobile-actions select {
    flex: 1;
  }

  .app-card-mobile-actions .btn {
    white-space: nowrap;
  }

  .app-table-desktop {
    display: none !important;
  }

  .admin-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 0;
    gap: 0;
    scrollbar-width: none;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-tab-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .admin-tab-btn .tab-label {
    display: none;
  }

  .admin-tab-btn .badge {
    font-size: 0.7rem;
  }

  .admin-search-bar {
    flex-direction: column;
  }

  .admin-search-bar .filter-input {
    width: 100%;
  }

  .admin-puppy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .admin-puppy-card {
    margin-bottom: 0;
  }

  .admin-puppy-actions {
    flex-wrap: wrap;
    gap: 6px;
  }

  .admin-puppy-actions .btn {
    flex: 1;
    min-width: 80px;
    text-align: center;
  }

  .admin-puppy-meta {
    flex-wrap: wrap;
    gap: 6px;
  }

  .btn {
    min-height: 38px;
    padding: 10px 16px;
  }

  .btn-sm {
    min-height: 34px;
    padding: 8px 12px;
  }

  .app-status-form select {
    min-height: 38px;
    font-size: 0.85rem;
  }

  .filters-bar {
    flex-direction: column;
    padding: 12px 16px;
  }

  .filter-group {
    width: 100%;
    min-width: 0;
  }

  .filter-price {
    width: 100%;
    min-width: 0;
  }

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

  .testimonial-card {
    padding: 24px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-gallery {
    position: static;
  }

  .detail-image {
    height: 280px;
  }

  .detail-placeholder {
    height: 280px;
  }

  .detail-breed {
    font-size: 1.5rem;
  }

  .detail-price {
    font-size: 1.3rem;
  }

  .detail-meta {
    padding: 16px;
    gap: 14px;
  }

  .detail-contact-buttons {
    flex-direction: column;
  }

  .detail-contact-buttons .btn,
  .detail-contact-buttons .social-btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    padding: 40px 0 30px;
  }

  .dog-card-image {
    height: 200px;
  }

  .dog-card-body {
    padding: 16px;
  }

  .admin-card {
    padding: 20px;
  }

  .detail-image {
    height: 220px;
  }

  .detail-placeholder {
    height: 220px;
  }

  .detail-breed {
    font-size: 1.3rem;
  }

  .detail-price {
    font-size: 1.1rem;
  }

  .detail-meta {
    padding: 12px;
    gap: 10px;
  }

  .section {
    padding: 32px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 0.85rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 6px 8px;
    font-size: 0.75rem;
  }

  .login-card {
    padding: 24px 20px;
    margin: 20px 16px;
  }

  .admin-header .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .admin-header h1 {
    font-size: 1.1rem;
  }

  .admin-header nav {
    display: flex;
    gap: 16px;
  }

  .admin-header nav a {
    margin-left: 0;
    font-size: 0.85rem;
  }

  .admin-body {
    padding: 20px 0;
  }

  .admin-card {
    padding: 16px;
    margin-bottom: 12px;
  }

  .admin-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .admin-card-head h2 {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .admin-puppy-actions .btn {
    flex: 1;
  }

  .app-status-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .app-status-tabs::-webkit-scrollbar {
    display: none;
  }

  .app-status-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .app-filters {
    gap: 8px;
  }

  .app-search {
    max-width: none;
  }

  .app-card-mobile-actions {
    flex-direction: column;
  }

  .app-card-mobile-actions select {
    width: 100%;
  }

  .app-card-mobile-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--gray-800);
  color: #fff;
  box-shadow: var(--shadow-elevated);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  max-width: 400px;
}
.toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.toast-info { background: var(--gray-800); }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}

/* ===== MENU OVERLAY ===== */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}

.menu-overlay.open {
  display: block;
}

@media (min-width: 769px) {
  .menu-overlay {
    display: none !important;
  }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elevated);
}

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

.back-to-top:hover {
  background: var(--gold);
  color: var(--primary);
}

/* ===== CONFIRMATION PAGE ===== */
.confirmation-card {
  max-width: 540px;
  margin: 60px auto;
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow-elevated);
  text-align: center;
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--sage);
}

.confirmation-card h1 {
  font-size: 1.6rem;
  color: var(--brown);
  margin-bottom: 8px;
}

.confirmation-subtitle {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 28px;
}

.confirmation-summary {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: left;
}

.confirmation-summary h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.confirmation-row:last-child {
  border-bottom: none;
}

.confirmation-label {
  color: var(--gray-400);
  font-weight: 500;
}

.confirmation-value {
  color: var(--brown);
  font-weight: 600;
  text-align: right;
}

.confirmation-status {
  color: var(--gold);
}

.confirmation-message {
  margin-bottom: 28px;
}

.confirmation-message p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 8px;
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===== ADMIN APPLICATION FILTERS ===== */
.app-filters {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-search {
  max-width: 400px;
}

.app-search .filter-input {
  width: 100%;
}

.app-status-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.app-status-tab {
  padding: 6px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.app-status-tab:hover {
  border-color: var(--gold);
  color: var(--brown);
}

.app-status-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown);
}

.app-status-count {
  font-weight: 700;
  margin-left: 4px;
  opacity: 0.8;
}

/* ===== ADMIN APPLICATION STATUS SELECT ===== */
.app-status-form {
  display: inline;
}

.app-status-select {
  padding: 4px 8px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s;
  background: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.app-status-select:focus {
  border-color: var(--gold);
  outline: none;
}

.app-status-select.status-pending {
  background: #fef3cd;
  color: #856404;
  border-color: #f0e1a5;
}

.app-status-select.status-contacted {
  background: var(--teal-light);
  color: var(--teal);
  border-color: #b8d8d8;
}

.app-status-select.status-approved {
  background: var(--green-light);
  color: var(--green);
  border-color: #c2d9c5;
}

.app-status-select.status-rejected {
  background: #fde8e8;
  color: var(--red);
  border-color: #f0bfbf;
}

/* ===== ADMIN APPLICATION DETAIL TAGS ===== */
.app-detail-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin: 2px 4px 2px 0;
}

.app-reason, .app-note {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 4px;
  line-height: 1.4;
}

.app-note {
  color: var(--gray-400);
}

/* ===== ADMIN PAGINATION ===== */
.app-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}

.app-page-link {
  padding: 6px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--brown);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.app-page-link:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.app-page-info {
  font-size: 0.85rem;
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .confirmation-card {
    margin: 30px 16px;
    padding: 32px 24px;
  }

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

  .app-status-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .app-status-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
