/* PawBloom - Premium Eco-Friendly Pet Boutique Styles */
:root {
  --cream: #FFF9F1;
  --sage: #C9DCC5;
  --blush: #F6D6DA;
  --lavender: #E9DFF5;
  --beige: #E8D6C3;
  --cocoa: #42372F;
  --soft-shadow: 0 8px 32px rgba(66, 55, 47, 0.08);
  --radius: 20px;
}

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

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--cocoa);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--cocoa);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #6a5a50;
}

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

/* Header */
header {
  background: rgba(255, 249, 241, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(66, 55, 47, 0.05);
  padding: 15px 0;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cocoa);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: #8a9a82;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav a {
  font-weight: 600;
  font-size: 0.95rem;
}

.icons {
  display: flex;
  gap: 18px;
  align-items: center;
}

.icons a {
  font-size: 1.3rem;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--blush);
  color: var(--cocoa);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blush) 0%, var(--lavender) 50%, var(--sage) 100%);
  overflow: hidden;
  padding: 60px 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 550px;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 20px;
  color: var(--cocoa);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #5a4a42;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: url('assets/images/hero-puppy-kitten.jpg') center/cover no-repeat;
  border-radius: 40px 0 0 40px;
  box-shadow: var(--soft-shadow);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--cocoa);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  margin-right: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(66, 55, 47, 0.2);
  background: #5a4a42;
}

.btn-secondary {
  background: transparent;
  color: var(--cocoa);
  border: 2px solid var(--cocoa);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 50px;
}

/* Category Cards */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.category-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.category-card h3 {
  padding: 16px;
  font-size: 1.1rem;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
}

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

.product-info {
  padding: 18px;
}

.product-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.price {
  font-weight: 700;
  font-size: 1.2rem;
  color: #6a5a50;
  margin-bottom: 12px;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.product-actions button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 50px;
  background: var(--sage);
  color: var(--cocoa);
  font-weight: 600;
  cursor: pointer;
}

.wishlist {
  background: var(--blush) !important;
  width: 42px;
  flex: none !important;
  border-radius: 50% !important;
}

/* Footer */
footer {
  background: var(--cocoa);
  color: var(--cream);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

footer a {
  color: var(--beige);
}

footer h4 {
  margin-bottom: 16px;
  color: white;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger { display: block; }
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--soft-shadow);
  }
  nav ul.active { display: flex; }
  .hero h1 { font-size: 2.6rem; }
  .hero-image { width: 100%; height: 40vh; position: relative; border-radius: 20px; margin-top: 30px; }
  .hero { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner.hidden { display: none; }
