/* ========== BASE ========== */
:root {
  --accent: #c9a87c;
  --dark: #1a1a1a;
  --light: #f8f7f5;
  --muted: #6c757d;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, .section-title, .brand-logo {
  font-family: 'Playfair Display', serif;
}

.brand-logo {
  letter-spacing: 3px;
  font-size: 1.4rem;
}

.text-accent {
  color: var(--accent);
}

.tracking-widest {
  letter-spacing: 3px;
  font-size: 0.75rem;
}

.min-vh-75 {
  min-height: 75vh;
}

/* ========== NAVBAR ========== */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent) !important;
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
}

.cart-count {
  font-size: 0.65rem;
  padding: 0.25em 0.5em;
}

/* ========== HERO ========== */
.hero-section {
  padding: 4rem 0 6rem;
  background: linear-gradient(135deg, #faf9f7 0%, #f0ebe3 100%);
  overflow: hidden;
}

.hero-content h1 {
  line-height: 1.15;
}

.hero-img-wrapper {
  position: relative;
}

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

@media (max-width: 991px) {
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }
  .hero-img-wrapper {
    margin-top: 2rem;
  }
  .hero-img-wrapper img {
    height: 350px;
  }
}

/* ========== CATEGORIES ========== */
.category-card {
  display: block;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 320px;
  text-decoration: none;
  color: white;
}

.category-img {
  height: 100%;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-img img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%);
}

.category-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.category-overlay span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ========== PRODUCTS ========== */
.product-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.product-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

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

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

.product-actions {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-actions .btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-actions .btn:hover {
  background: var(--dark);
  color: white;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 1.25rem;
}

.product-info h5 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-family: 'Inter', sans-serif;
}

.product-info .price {
  font-weight: 600;
  color: var(--dark);
}

.product-info .old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

/* ========== PROMO BANNER ========== */
.promo-banner {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: white;
}

/* ========== NEWSLETTER ========== */
.newsletter-box {
  background: var(--light);
}

/* ========== FOOTER ========== */
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--accent);
  color: white;
}

/* ========== CART ========== */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h6 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

/* ========== FILTERS ========== */
.filter-btn {
  border: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  color: var(--muted) !important;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--dark) !important;
  background: transparent !important;
}

.filter-btn.active {
  font-weight: 600;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: var(--light) !important;
}

/* ========== VALUE CARDS ========== */
.value-card {
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

/* ========== UTILITIES ========== */
.object-fit-cover {
  object-fit: cover;
}

.btn-dark {
  background: var(--dark);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: #333;
  border-color: #333;
}

.btn-outline-dark:hover {
  background: var(--dark);
  border-color: var(--dark);
}

/* ========== MODAL ========== */
#productModal .modal-content {
  border-radius: 1rem;
  overflow: hidden;
}

#modalImg {
  min-height: 400px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
  .product-img {
    height: 220px;
  }
  
  .category-card {
    height: 240px;
  }
}

/* ========== HERO SLIDER (Fade) ========== */
.hero-img-wrapper {
  position: relative;
  height: 500px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dots .dot.active {
  background: white;
  transform: scale(1.25);
}

@media (max-width: 991px) {
  .hero-img-wrapper {
    height: 350px;
    margin-top: 2rem;
  }
}

/* ========== PROMO FEATURES ========== */
.promo-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.promo-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.promo-feature:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}

.promo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 168, 124, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-icon i {
  font-size: 1.35rem;
  color: #c9a87c;
}

.promo-feature h6 {
  color: white;
  font-weight: 600;
  margin: 0;
}

.promo-feature p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}

@media (max-width: 575px) {
  .promo-features {
    grid-template-columns: 1fr;
  }
}
