:root {
  --accent: #dba39a; /* rose gold blush */
  --accent2: #f7ede2; /* light beige background */
  --dark: #333;
  --light: #fff;
}

/* ===================== */
/* GLOBAL BASE STYLES */
/* ===================== */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--accent2);
  color: var(--dark);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================== */
/* NAVBAR */
/* ===================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.navbar-nav .nav-link {
  color: var(--dark);
  margin-left: 20px;
  font-weight: 500;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent);
}

/* ===================== */
/* HERO */
/* ===================== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 237, 226, 0.6);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}
.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 54px;
  color: var(--dark);
}
.hero-content p {
  font-size: 18px;
  margin: 20px 0;
}
.btn-modern {
  background: var(--accent);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-modern:hover {
  background: var(--dark);
  color: #fff;
}

/* ===================== */
/* DECORATIVE SHAPES */
/* ===================== */
.shape-top-left,
.shape-bottom-right,
.shape-left,
.shape-right,
.floating-shape {
  position: absolute;
  background: var(--accent);
  opacity: 0.15;
  border-radius: 50%;
  z-index: 2;
}
.shape-top-left {
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
}
.shape-bottom-right {
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
}
.shape-left {
  top: 0;
  left: -60px;
  width: 220px;
  height: 400px;
}
.shape-right {
  bottom: 0;
  right: -80px;
  width: 280px;
  height: 380px;
}
.floating-shape {
  opacity: 0.1;
  z-index: 0;
}
.shape1 {
  top: 40px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: var(--accent);
}
.shape2 {
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: #b5838d;
}

/* ===================== */
/* SECTION TITLES */
/* ===================== */
.section-title h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  margin-bottom: 10px;
  color: var(--dark);
}
.section-title p {
  color: #666;
}
.section-title .divider {
  width: 80px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #dba39a, #b5838d);
  border-radius: 3px;
}

/* ===================== */
/* CATEGORY CARDS */
/* ===================== */
.category-card {
  border-radius: 15px;
  overflow: hidden;
  background: var(--light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}
.category-card:hover {
  transform: translateY(-5px);
}
.category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.category-card h4 {
  padding: 15px;
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  color: var(--accent);
}

/* ===================== */
/* PRODUCT CARDS (Consolidated) */
/* ===================== */
.product-card,
.new-arrival-card,
.related-card {
  position: relative;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.new-arrival-card {
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.related-card {
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.product-card:hover,
.new-arrival-card:hover,
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
.new-arrival-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.product-card img,
.category-card img,
.new-arrival-card img,
.related-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.related-card img {
  height: 220px;
}
.product-card .p-3 h5,
.product-card h5,
.new-arrival-card h5,
.related-card h5 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 10px 0 5px;
  transition: color 0.3s;
}
.related-card h5 {
  font-size: 18px;
  margin-bottom: 5px;
}
.product-card:hover h5,
.new-arrival-card:hover h5,
.related-card:hover h5 {
  color: var(--accent);
}
.product-card .p-3 p.price,
.product-card .price,
.new-arrival-card .price,
.related-card .price {
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

/* Product Image Wrapper and Overlay (Consolidated) */
.product-img-wrapper,
.new-arrival-card .product-img-wrapper {
  position: relative;
  overflow: hidden;
}
.product-img-wrapper img,
.new-arrival-card .product-img-wrapper img {
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrapper img,
.new-arrival-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  gap: 10px;
  transition: opacity 0.3s ease;
}
.product-card:hover .overlay,
.new-arrival-card:hover .overlay {
  opacity: 1;
}

/* Make full card clickable */
.product-card .product-link,
.new-arrival-card .product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ===================== */
/* BLOG CARDS (Consolidated) */
/* ===================== */
.card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.card img {
  transition: transform 0.5s ease;
  width: 100%;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.card:hover img {
  transform: scale(1.08);
}
.card .overlay-blog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100%;
  height: 100%;
  background: rgba(219, 163, 154, 0.8); /* rose-gold transparent */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: bottom 0.4s ease;
}
.card:hover .overlay-blog {
  bottom: 0;
}

/* ===================== */
/* BUTTONS (Consolidated) */
/* ===================== */
.btn-add,
.btn-checkout,
.btn-modern,
.btn-outline {
  border: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
}
.btn-add,
.btn-checkout {
  background: linear-gradient(135deg, #dba39a, #b5838d);
  width: auto;
}
.btn-modern {
  background: var(--accent);
  padding: 12px 30px;
  font-size: 16px;
  text-transform: none;
}
.btn-outline {
  background: transparent;
  color: #ec4899;
  border: 2px solid #ec4899;
  padding: 12px 25px;
  text-transform: none;
}
.btn-add:hover,
.btn-checkout:hover,
.btn-modern:hover {
  background: linear-gradient(135deg, #b5838d, #6d6875);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.btn-modern:hover {
  background: var(--dark);
  transform: translateY(-2px);
}
.btn-outline:hover {
  background: #ec4899;
  color: #fff;
  transform: translateY(-2px);
}
.btn-add:active,
.btn-checkout:active,
.btn-modern:active {
  transform: scale(0.98);
}
.btn-wishlist,
.btn-quickview {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.3s, color 0.3s;
  color: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
}
.btn-wishlist:hover,
.btn-quickview:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}
.btn-wishlist.active {
  background: #dba39a;
  color: #fff;
}
.btn-clear {
  width: 100%;
  border-radius: 30px;
  padding: 12px;
  border: 2px solid #e63946;
  color: #e63946;
  font-weight: 500;
  background: transparent;
  transition: 0.3s ease;
  cursor: pointer;
}
.btn-clear:hover {
  background: #e63946;
  color: #fff;
}

/* ===================== */
/* FILTER BUTTONS (Consolidated) */
/* ===================== */
.btn-filter {
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 14px;
}
.btn-filter:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-filter.active {
  background: linear-gradient(135deg, #dba39a, #b5838d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(219, 163, 154, 0.4);
}

/* ===================== */
/* FOOTER */
/* ===================== */
footer {
  background: var(--light);
  border-top: 3px solid var(--accent);
  padding: 40px 0;
  color: #666;
  width: 100%;
}
footer h5 {
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 600;
}
footer a {
  color: #666;
  text-decoration: none;
}
footer a:hover {
  color: var(--accent);
}
footer .social a {
  margin: 0 8px;
  font-size: 20px;
  color: var(--dark);
}
footer .social a:hover {
  color: var(--accent);
}

/* ===================== */
/* CART & CHECKOUT STYLES */
/* ===================== */
.cart-page,
.checkout-page {
  background: #fef9f8;
  min-height: 70vh;
}
.cart-page .cart-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cart-page .cart-item img {
  border-radius: 8px;
  width: 90px;
  height: 90px;
  object-fit: cover;
}
.cart-page .cart-item h6 {
  font-weight: 600;
  margin: 0 0 5px;
}
.cart-page .cart-item p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #555;
}
.qty-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}
.qty-controls button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  padding: 0;
}
.cart-page .btn-danger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 6px;
  font-size: 20px;
  line-height: 1;
  background-color: #e63946;
  border: none;
  transition: background 0.3s ease;
}
.cart-page .btn-danger:hover {
  background-color: #c82333;
}
.cart-page .summary-box,
.checkout-page .summary-box {
  position: sticky;
  top: 100px;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.btn-checkout {
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}

/* ===================== */
/* TOAST POPUP */
/* ===================== */
.cart-toast {
  position: fixed !important;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}
.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== */
/* TRENDING / NEW ARRIVAL */
/* ===================== */
.trending-section {
  background: linear-gradient(135deg, #f7ede2, #fff);
  position: relative;
  overflow: hidden;
}
.trending-section .shape-top-left,
.trending-section .shape-bottom-right {
  background: var(--accent);
  opacity: 0.12;
}

/* ===================== */
/* ABOUT SECTION */
/* ===================== */
.about-preview {
  background: linear-gradient(135deg, #fff, #f7ede2);
  position: relative;
  overflow: hidden;
}
.about-preview .subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
}
.about-preview h2 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin-top: 10px;
}
.about-preview p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* ===================== */
/* PARALLAX BACKGROUNDS */
/* ===================== */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.list-group-item.active {
  background: var(--accent);
  border-color: var(--accent);
}
.text-accent {
  color: var(--accent);
}
/* === BASE STYLES === */
body {
  background-color: #f9f2eb;
  font-family: "Poppins", sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* === PRODUCT CONTAINER === */
#productContainer {
  background-color: #fffaf7;
  border-radius: 16px;
  padding: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

#productContainer .row {
  align-items: center;
}

/* === IMAGE SECTION === */
#productContainer img.img-fluid {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#productContainer .d-flex {
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#productContainer .img-thumbnail {
  border: 2px solid #e7d7cf;
  border-radius: 8px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

#productContainer .img-thumbnail:hover {
  transform: scale(1.05);
  border-color: #d48b76;
}

/* === TEXT STYLES === */
#productContainer h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #3a2927;
  margin-bottom: 0.5rem;
}

#productContainer p.text-accent {
  color: #c97a6a;
  font-weight: 600;
  font-size: 1.2rem;
}

#productContainer p {
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
}

/* === BUTTON STYLES === */
.btn-add {
  background-color: #d48b76;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-add:hover {
  background-color: #c3735e;
  transform: translateY(-2px);
}

.btn-wishlist {
  background-color: #fff;
  border: 2px solid #d48b76;
  color: #d48b76;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-wishlist:hover {
  background-color: #d48b76;
  color: #fff;
}

/* === FIX: BUTTON ALIGNMENT === */
#productContainer .mt-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* === TOAST MESSAGE === */
.cart-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #4a2c2a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* === RESPONSIVENESS === */
@media (max-width: 992px) {
  #productContainer {
    padding: 2rem;
  }

  #productContainer .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #productContainer h2 {
    font-size: 1.8rem;
  }

  #productContainer .mt-3 {
    justify-content: center;
  }

  .btn-add,
  .btn-wishlist {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  #productContainer {
    padding: 1.5rem;
  }

  #productContainer h2 {
    font-size: 1.6rem;
  }

  #productContainer img.img-fluid {
    max-height: 300px;
  }

  .btn-add,
  .btn-wishlist {
    padding: 10px 22px;
  }
}
