/* ═══════════════════════════════════════════════════════════════
   PetsBigStore — Shared Theme CSS
   Design: "Velvet Paws" — Forest Green + Amber + Cream
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: #f7f1e3; color: #1a1a1a; overflow-x: hidden; cursor: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }

/* ── CSS VARIABLES ── */
:root {
  --forest: #0d3320;
  --forest-mid: #1a5c36;
  --forest-light: #2d7a4f;
  --amber: #f0a500;
  --amber-light: #f7c044;
  --cream: #f7f1e3;
  --cream-dark: #ede4d0;
  --cream-darker: #e0d6c0;
  --rust: #e05a28;
  --charcoal: #1a1a1a;
  --mid: #5c5c5c;
  --light: #9a9a9a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(13,51,32,0.10);
  --shadow-lg: 0 12px 48px rgba(13,51,32,0.18);
  --radius: 4px;
  --radius-lg: 12px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.15; }
p { line-height: 1.75; }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--amber); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s, opacity 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(240,165,0,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94), width 0.3s, height 0.3s, opacity 0.2s;
  transform: translate(-50%, -50%);
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.nav-solid, .nav.scrolled {
  background: rgba(13,51,32,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.18);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--white);
}
.nav-logo-mark {
  width: 38px; height: 38px; background: var(--amber); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  position: relative; padding-bottom: 2px; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--amber); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-icon-btn {
  background: none; border: none; cursor: none;
  color: rgba(255,255,255,0.85); font-size: 1.1rem; padding: 6px;
  position: relative; transition: color 0.2s;
}
.nav-icon-btn:hover { color: var(--amber); }
.nav-cart-badge {
  position: absolute; top: 0; right: 0;
  width: 16px; height: 16px; background: var(--amber); border-radius: 50%;
  font-size: 0.625rem; font-weight: 700; color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.nav-cta {
  background: var(--amber); color: var(--forest); border: none;
  padding: 10px 22px; font-family: 'Jost', sans-serif; font-weight: 600;
  font-size: 0.8125rem; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: none; border-radius: var(--radius); transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--amber-light); transform: translateY(-1px); }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 160px 48px 80px;
  background: var(--forest);
  position: relative; overflow: hidden; text-align: center;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(240,165,0,0.08) 0%, transparent 70%);
}
.page-header-eyebrow {
  display: inline-block; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.1rem; color: var(--amber); margin-bottom: 12px;
}
.page-header-title {
  font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); font-weight: 900; margin-bottom: 16px;
}
.page-header-desc { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 520px; margin: 0 auto 20px; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--amber); }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: block; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.125rem; color: var(--amber); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--forest);
  position: relative; display: inline-block;
}
.section-title::after {
  content: ''; position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%); width: 60px; height: 2px; background: var(--amber);
}
.section-desc { margin-top: 24px; font-size: 1rem; color: var(--mid); max-width: 520px; margin-left: auto; margin-right: auto; }
.section-title-left { text-align: left; }
.section-title-left .section-title::after { left: 0; transform: none; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--forest);
  padding: 14px 32px; border-radius: var(--radius); border: none;
  font-weight: 700; font-size: 0.875rem; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: none; transition: transform 0.2s, box-shadow 0.2s; font-family: 'Jost', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,165,0,0.35); }
.btn-forest {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--forest); color: var(--white);
  padding: 14px 32px; border-radius: var(--radius); border: none;
  font-weight: 700; font-size: 0.875rem; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: none; transition: background 0.2s, transform 0.15s; font-family: 'Jost', sans-serif;
}
.btn-forest:hover { background: var(--forest-mid); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--forest);
  padding: 13px 32px; border-radius: var(--radius); border: 1.5px solid var(--forest);
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: none; transition: background 0.2s, color 0.2s; font-family: 'Jost', sans-serif;
}
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 13px 32px; border-radius: var(--radius); border: 1.5px solid rgba(255,255,255,0.45);
  font-weight: 500; font-size: 0.875rem; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: none; transition: border-color 0.2s; font-family: 'Jost', sans-serif;
}
.btn-outline-white:hover { border-color: var(--white); }
.view-all {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border: 1.5px solid var(--forest); color: var(--forest);
  border-radius: var(--radius); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s, color 0.2s; cursor: none;
}
.view-all:hover { background: var(--forest); color: var(--white); }

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s; cursor: none;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f5f0e8; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px; background: var(--rust); color: var(--white);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; z-index: 1;
}
.product-badge.new { background: var(--forest-mid); }
.product-badge.hot { background: var(--amber); color: var(--forest); }
.product-actions {
  position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(10px); transition: opacity 0.3s, transform 0.3s; z-index: 1;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 34px; height: 34px; background: var(--white); border: none; border-radius: 50%; cursor: none;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--forest);
  transition: background 0.2s, color 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.product-action-btn:hover { background: var(--amber); color: var(--forest); }
.product-info { padding: 16px; }
.product-brand { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light); margin-bottom: 4px; }
.product-name { font-size: 0.9rem; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.stars { color: var(--amber); font-size: 0.75rem; letter-spacing: -1px; }
.rating-count { font-size: 0.7rem; color: var(--light); }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--forest); }
.product-price .was { font-size: 0.75rem; color: var(--light); text-decoration: line-through; margin-right: 4px; font-family: 'Jost', sans-serif; font-weight: 400; }
.product-cart-btn {
  width: 34px; height: 34px; background: var(--forest); color: var(--white);
  border: none; border-radius: 50%; cursor: none;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
  transition: background 0.2s, transform 0.15s;
}
.product-cart-btn:hover { background: var(--amber); color: var(--forest); transform: scale(1.1); }
.product-cart-btn.added { background: var(--forest-mid); }

/* ── TICKER ── */
.ticker { background: var(--amber); padding: 12px 0; overflow: hidden; }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest); padding: 0 40px;
}
.ticker-item::after { content: '✦'; opacity: 0.4; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--forest-mid); padding: 24px 48px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.trust-item { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.85); }
.trust-icon { font-size: 1.5rem; flex-shrink: 0; }
.trust-item-title { font-size: 0.85rem; font-weight: 700; color: var(--white); }
.trust-item-sub { font-size: 0.75rem; opacity: 0.6; margin-top: 2px; }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--forest); padding: 96px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.newsletter-content { flex: 1; max-width: 480px; }
.newsletter-eyebrow { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem; color: var(--amber); margin-bottom: 12px; display: block; }
.newsletter-title { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--white); margin-bottom: 16px; }
.newsletter-text { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.75; }
.newsletter-form { flex: 1; max-width: 480px; }
.newsletter-form form { display: flex; background: rgba(255,255,255,0.07); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.12); overflow: hidden; }
.newsletter-form input { flex: 1; background: none; border: none; outline: none; padding: 16px 20px; color: var(--white); font-family: 'Jost', sans-serif; font-size: 0.9rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { background: var(--amber); color: var(--forest); border: none; padding: 16px 28px; cursor: none; font-family: 'Jost', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--amber-light); }
.newsletter-perks { display: flex; gap: 24px; margin-top: 18px; font-size: 0.75rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.newsletter-perk { display: flex; align-items: center; gap: 6px; }
.newsletter-perk::before { content: '✓'; color: var(--amber); font-weight: 700; }

/* ── FOOTER ── */
.footer { background: #071a10; padding: 80px 48px 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-brand-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--amber); font-size: 0.9rem; margin-bottom: 16px; }
.footer-brand-text { color: rgba(255,255,255,0.4); font-size: 0.875rem; line-height: 1.8; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-social { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 0.8rem; transition: border-color 0.2s, color 0.2s; }
.footer-social:hover { border-color: var(--amber); color: var(--amber); }
.footer-col-title { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.5); }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(.25,.46,.45,.94), transform 0.7s cubic-bezier(.25,.46,.45,.94); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── HELPERS ── */
.container { max-width: 1400px; margin: 0 auto; }
.center-action { text-align: center; margin-top: 48px; }
.text-amber { color: var(--amber); }
.text-forest { color: var(--forest); }
.main-content { padding-top: 80px; }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; background: var(--white);
  border: 1.5px solid var(--cream-darker); border-radius: var(--radius);
  font-family: 'Jost', sans-serif; font-size: 0.9375rem; color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(13,51,32,0.08); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%230d3320' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* ── QTY STEPPER ── */
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--cream-darker); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 38px; height: 38px; background: none; border: none; cursor: none; font-size: 1.1rem; color: var(--forest); transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--cream); }
.qty-input { width: 48px; text-align: center; border: none; outline: none; font-family: 'Jost', sans-serif; font-size: 0.9375rem; font-weight: 600; color: var(--charcoal); background: none; padding: 0; }

/* ── TABLE ── */
.table { width: 100%; border-collapse: collapse; }
.table th { padding: 12px 16px; text-align: left; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); border-bottom: 2px solid var(--cream-darker); }
.table td { padding: 16px; border-bottom: 1px solid var(--cream-dark); }
