/* The Dog Director Shop — storefront styles */
:root {
  --ink: #1a1d23;
  --ink-soft: #5a6472;
  --bg: #fafaf7;
  --panel: #ffffff;
  --line: #e8e4dc;
  --accent: #c4842c;
  --accent-deep: #8a5618;
  --good: #3a7a3c;
  --radius: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 14px 32px; border-bottom: 1px solid var(--line); background: var(--panel);
  position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand-logo { display: block; object-fit: contain; flex: 0 0 auto; }
.brand-logo-primary { width: 118px; height: 48px; }
.brand-logo-secondary { width: 52px; height: 52px; border-radius: 50%; }
.brand-divider { width: 1px; height: 34px; background: var(--line); flex: 0 0 auto; }
.brand-sub { font-weight: 700; color: var(--accent-deep); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
header.site nav { display: flex; gap: 22px; font-size: 14px; }
header.site nav a { color: var(--ink-soft); }

.hero {
  padding: 60px 32px; max-width: 1100px; margin: 0 auto; text-align: center;
}
.hero h1 {
  font-size: 42px; line-height: 1.15; margin: 0 0 16px;
  font-family: "Playfair Display", Georgia, serif; letter-spacing: -0.5px;
}
.hero p { font-size: 17px; color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

main {
  padding: 0 32px 60px; max-width: 1200px; margin: 0 auto;
}
h2 { font-size: 22px; margin: 0 0 22px; }

.catalog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s, box-shadow .15s; color: var(--ink);
  text-decoration: none; display: block;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); text-decoration: none; }
.card .thumb {
  aspect-ratio: 1; background: #f0ece4; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card h3 {
  margin: 14px 16px 4px; font-size: 16px; font-weight: 600;
}
.card .sub { margin: 0 16px 8px; color: var(--ink-soft); font-size: 13px; min-height: 18px; }
.card .price {
  margin: 0 16px 14px; font-weight: 600; color: var(--accent-deep); font-size: 15px;
}

.loading {
  grid-column: 1 / -1; text-align: center; padding: 60px; color: var(--ink-soft);
}

/* Product page */
.product-layout {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding: 30px 0;
}
@media (max-width: 760px) { .product-layout { grid-template-columns: 1fr; } }
.gallery {
  background: #f0ece4; border-radius: var(--radius); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.gallery img { max-width: 100%; max-height: 100%; }
.info h1 {
  font-family: "Playfair Display", Georgia, serif; font-size: 34px; margin: 0 0 6px;
  line-height: 1.1;
}
.info .subtitle { color: var(--ink-soft); margin-bottom: 18px; }
.info .price-big { font-size: 28px; font-weight: 600; color: var(--accent-deep); margin: 18px 0; }
.info label { display: block; font-size: 12px; color: var(--ink-soft); margin: 12px 0 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.info select, .info input {
  width: 100%; max-width: 280px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--panel); font-size: 14px; font-family: inherit;
}
.btn-buy {
  display: inline-block; background: var(--accent); color: white; border: none;
  padding: 14px 28px; border-radius: 6px; font-size: 16px; font-weight: 600;
  cursor: pointer; margin-top: 22px; font-family: inherit;
  transition: background .15s;
}
.btn-buy:hover { background: var(--accent-deep); }
.btn-buy:disabled { opacity: 0.6; cursor: wait; }
.small { font-size: 12px; color: var(--ink-soft); margin-top: 12px; }

footer {
  padding: 30px 32px; border-top: 1px solid var(--line); background: var(--panel);
  text-align: center; color: var(--ink-soft); font-size: 13px;
}
footer .small { margin-top: 6px; }

.success { padding: 80px 32px; max-width: 600px; margin: 0 auto; text-align: center; }
.success-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 50px 30px; }
.success-card .big-mark { font-size: 48px; color: var(--accent); margin-bottom: 14px; }
.success-card h1 { font-family: "Playfair Display", Georgia, serif; font-size: 30px; margin: 0 0 12px; }
.success-card .quote { font-style: italic; color: var(--ink-soft); margin: 24px 0; }

@media (max-width: 720px) {
  header.site { align-items: flex-start; flex-direction: column; padding: 12px 18px; }
  .brand { width: 100%; }
  .brand-logo-primary { width: 102px; height: 42px; }
  .brand-logo-secondary { width: 44px; height: 44px; }
  header.site nav { width: 100%; justify-content: space-between; gap: 12px; }
  .hero { padding: 44px 20px; text-align: left; }
  .hero h1 { font-size: 34px; }
  .hero p { margin: 0; }
  main { padding: 0 20px 48px; }
}
