/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #8b2020;
  --red-bright: #a52a2a;
  --navy: #0f1d2e;
  --navy-mid: #1a2d42;
  --slate: #2c3e50;
  --cream: #f5f0eb;
  --warm-white: #faf8f5;
  --dark: #111111;
  --white: #ffffff;
  --text: #3a3a3a;
  --text-muted: #7a7a7a;
  --border: #e2ddd7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ===== Top Bar ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: var(--navy);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-icon {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.topbar-name {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-link {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.topbar-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Shop Hero ===== */
.shop-hero {
  background: var(--navy);
  padding: 80px 0 100px;
  text-align: center;
}

.shop-hero-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.shop-hero h1 {
  font-family: 'Georgia', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.shop-hero-sub {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: rgba(255, 255, 255, 0.45);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Products ===== */
.products {
  padding: 100px 0;
  background: var(--warm-white);
}

.products h2 {
  text-align: center;
  font-family: 'Georgia', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 56px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.placeholder-img span {
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  color: var(--navy-mid);
  opacity: 0.4;
  font-style: italic;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-price {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
}

.buy-btn {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: block;
  width: 100%;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  background: var(--red);
  color: var(--white);
}

.buy-btn:hover:not(:disabled) {
  background: var(--red-bright);
}

.buy-btn:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ===== Shop Info ===== */
.shop-info {
  padding: 80px 0;
  background: var(--white);
}

.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.shop-info-item h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 12px;
}

.shop-info-item p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 40px 32px;
}

footer p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.footer-sub {
  margin-top: 8px;
  font-size: 0.75rem;
}

.footer-sub a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-sub a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .topbar {
    padding: 20px 24px;
  }

  .topbar-name {
    font-size: 0.85rem;
  }

  .shop-hero {
    padding: 60px 0 80px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .shop-info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .products,
  .shop-info {
    padding: 72px 0;
  }

  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .topbar-link {
    display: none;
  }
}
