/* BG real update */

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

body {
  font-family: 'Poppins', sans-serif;
  background: url('../images/BG.jpg') repeat;
  background-size: 300px;
}

/* ── Top Bar ── */
.top-bar {
  background: #a855f7;
  color: white;
  text-align: center;
  padding: 14px 0;
  font-size: 0.95rem;
}
.code { font-weight: bold; letter-spacing: 0.05em; }

/* ── Navigation ── */
nav {
  background: white;
  border-bottom: 1px solid #d8b4fe;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2.3rem;
  font-weight: 700;
  color: #6b21a8;
}

.menu a {
  margin: 0 20px;
  text-decoration: none;
  color: #4c1d95;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c026d3;
  border-radius: 99px;
  transition: width 0.3s ease;
}

.menu a:hover { color: #c026d3; }
.menu a:hover::after { width: 100%; }

.icons i {
  font-size: 1.6rem;
  margin-left: 20px;
  cursor: pointer;
  color: #6b21a8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.icons i:hover {
  color: #c026d3;
  transform: scale(1.15);
}

/* ── Hero ── */
.hero {
  max-width: 1280px;
  margin: 30px auto;
  height: 520px;
  background: url('../images/hero.jpg') center/cover no-repeat;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(74, 4, 109, 0.55) 0%, transparent 60%);
  border-radius: 20px;
}

.hero-content {
  position: absolute;
  left: 80px;
  bottom: 80px;
  color: white;
  z-index: 1;
}

.hero-content h1 {
  font-family: 'Playfair Display', cursive;
  font-size: 3.5rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

.hero-content button {
  margin-top: 22px;
  background: #db2777;
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(219, 39, 119, 0.45);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.hero-content button:hover {
  background: #be185d;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(219, 39, 119, 0.55);
}

.hero-content button:active { transform: translateY(-1px); }

/* ── Main Container ── */
.main-container {
  max-width: 1280px;
  margin: 0 auto 60px;
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 60px;
}

/* ── Left Column ── */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.left-column .about {
  background: linear-gradient(135deg, #fdf4ff 0%, #f5f3ff 100%);
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  padding: 28px 24px;
}

.left-column .about h2 {
  font-family: 'Playfair Display', cursive;
  font-size: 1.6rem;
  color: #6b21a8;
  margin-bottom: 16px;
}

.left-column .about img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.left-column .about img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.3);
}

.left-column .about p {
  color: #4c1d95;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* Reviews */
.reviews {
  background: linear-gradient(135deg, #fdf4ff 0%, #fce7f3 100%);
  border: 1px solid #f0abfc;
  border-radius: 20px;
  padding: 28px 24px;
}

.reviews h2 {
  font-family: 'Playfair Display', cursive;
  font-size: 1.6rem;
  color: #6b21a8;
  margin-bottom: 18px;
}

.review {
  background: white;
  border-left: 4px solid #a855f7;
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin-bottom: 14px;
  color: #4c1d95;
  font-size: 0.92rem;
  line-height: 1.65;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review:last-child { margin-bottom: 0; }

.review:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.16);
}

/* ── Section Headings ── */
.products {
  margin-bottom: 48px;
}

.products:last-child { margin-bottom: 0; }

.products h2 {
  font-family: 'Playfair Display', cursive;
  font-size: 2rem;
  color: #6b21a8;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3e8ff;
  position: relative;
}

.products h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #a855f7, #c026d3);
  border-radius: 99px;
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: white;
  border: 1px solid #f3e8ff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(168, 85, 247, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(168, 85, 247, 0.18);
  border-color: #d8b4fe;
}

/* Image wrapper for lightbox overlay icon */
.product-card .img-wrap {
  position: relative;
  overflow: hidden;
}

.product-card .img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

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

.product-card .img-wrap .zoom-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 33, 168, 0.38);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 2rem;
  color: white;
}

.product-card:hover .img-wrap .zoom-icon {
  opacity: 1;
}

.product-card h3 {
  padding: 14px 16px 4px;
  font-size: 0.97rem;
  color: #1e1b4b;
  font-weight: 600;
}

.price {
  padding: 4px 16px 0;
  color: #0d9488;
  font-weight: 700;
  font-size: 1.05rem;
}

.product-card button {
  width: 100%;
  padding: 13px;
  background: #c026d3;
  color: white;
  border: none;
  margin-top: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, letter-spacing 0.2s ease, filter 0.25s ease;
}

.product-card button:hover {
  background: #a21caf;
  letter-spacing: 0.06em;
}

.product-card button:active {
  filter: brightness(0.95);
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 5, 30, 0.82);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  animation: lbFadeIn 0.25s ease;
}

.lightbox-overlay.open {
  display: flex;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-inner {
  position: relative;
  max-width: 82vw;
  max-height: 82vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: lbSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lbSlideUp {
  from { transform: translateY(30px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.lightbox-inner img {
  display: block;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(to top, rgba(74, 4, 109, 0.85), transparent);
  color: white;
  padding: 20px 22px 16px;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
}

/* ── Footer ── */
footer {
  background: #1e0a2e;
  color: #d8b4fe;
  padding: 60px 40px 30px;
  margin-top: 40px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(216, 180, 254, 0.15);
}

.footer-brand .logo {
  font-size: 1.8rem;
  color: #d8b4fe;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #a78bca;
  max-width: 280px;
}

.footer-brand .socials {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.footer-brand .socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d8b4fe;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-brand .socials a:hover {
  background: #a855f7;
  border-color: #a855f7;
  color: white;
}

.footer-col h4 {
  font-family: 'Playfair Display', cursive;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #a78bca;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: #e879f9;
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7c5fa0;
}

.footer-bottom span { color: #c084fc; }

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #6b21a8, #a855f7);
  color: white;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.45);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  z-index: 9998;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── Responsive / Mobile ── */

/* Tablet — 1024px and below */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }
}

/* Mobile — 768px and below */
@media (max-width: 768px) {
  .top-bar {
    font-size: 0.8rem;
    padding: 10px 16px;
    line-height: 1.6;
  }

  /* Nav */
  .nav-container {
    padding: 0 20px;
    height: 68px;
  }

  .logo {
    font-size: 1.6rem;
  }

  .menu {
    display: none;
  }

  .icons i {
    font-size: 1.3rem;
    margin-left: 14px;
  }

  /* Hero */
  .hero {
    margin: 16px;
    height: 380px;
    border-radius: 16px;
  }

  .hero-content {
    left: 28px;
    bottom: 36px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-content button {
    padding: 13px 30px;
    font-size: 1rem;
  }

  /* Main */
  .main-container {
    margin: 0 16px 40px;
    padding: 30px 20px;
    border-radius: 16px;
  }

  /* Stack columns */
  .content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Left column cards */
  .left-column .about img {
    max-height: 220px;
  }

  /* Product grid — 2 columns on mobile */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-card .img-wrap img {
    height: 160px;
  }

  .product-card h3 {
    font-size: 0.85rem;
    padding: 10px 12px 4px;
  }

  .price {
    font-size: 0.95rem;
    padding: 4px 12px 0;
  }

  .product-card button {
    padding: 11px;
    font-size: 0.82rem;
  }

  .products h2 {
    font-size: 1.6rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Lightbox */
  .lightbox-inner img {
    max-width: 95vw;
    max-height: 75vh;
  }

  .toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    text-align: center;
  }
}

/* Small mobile — 480px and below */
@media (max-width: 480px) {
  .hero {
    height: 300px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  /* Single column products on very small screens */
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card .img-wrap img {
    height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}