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

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --accent: #1a1a1a;
  --accent-foreground: #ffffff;
  --muted-foreground: #737373;
  --secondary: #f5f5f5;
  --border: #e5e5e5;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background-color: var(--background);
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ========== Layout ========== */
.page-wrapper {
  min-height: 100vh;
  background-color: var(--background);
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
}


/* ========== Hero ========== */
.hero {
  padding-top: 5rem;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.2);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  max-width: 48rem;
}

.hero-cta {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

.hero-cta:hover {
  background-color: rgba(26, 26, 26, 0.9);
}

/* ========== Products Section ========== */
.products-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.products-header {
  text-align: center;
  margin-bottom: 4rem;
}

.products-header .label {
  color: var(--muted-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.products-header .title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* ========== Product Card ========== */
.product-card {
  cursor: pointer;
}

.product-card-img-wrapper {
  overflow: hidden;
  background-color: var(--secondary);
  margin-bottom: 1.25rem;
  aspect-ratio: 1 / 1;
}

.product-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.product-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.product-card-price {
  color: var(--muted-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.product-card-cart-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: background-color 0.2s, color 0.2s;
}

.product-card-cart-btn:hover {
  background-color: var(--foreground);
  color: var(--background);
}

.product-card-cart-btn svg {
  width: 1rem;
  height: 1rem;
}

.no-products {
  color: var(--muted-foreground);
  font-family: var(--font-body);
  text-align: center;
  grid-column: 1 / -1;
}

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
}

.footer-copy {
  color: var(--muted-foreground);
  font-family: var(--font-body);
  font-size: 0.75rem;
}

/* ========== Responsive ========== */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: row;
  }
}
