/* TheGiftItem.com - Master Emerald Gifting Theme System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --theme-emerald-dark: #064E3B;
  --theme-emerald: #047857;
  --theme-emerald-light: #059669;
  --theme-emerald-accent: #10B981;
  --theme-emerald-bg: #ECFDF5;
  --theme-cream: #FAF6F0;
  --theme-cream-card: #FFFFFF;
  --theme-beige: #F3EFE6;
  --theme-gold: #D97706;
  --theme-gold-light: #FBBF24;
  --theme-dark: #0F172A;
  --theme-slate: #334155;
  --theme-muted: #64748B;
  --theme-light-bg: #FAF9F6;
  --theme-shadow-sm: 0 4px 14px rgba(4, 120, 87, 0.06);
  --theme-shadow-md: 0 10px 30px rgba(4, 120, 87, 0.1);
  --theme-shadow-lg: 0 20px 45px rgba(4, 120, 87, 0.15);
  --theme-radius-sm: 12px;
  --theme-radius-md: 18px;
  --theme-radius-lg: 26px;
  --theme-radius-full: 9999px;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--theme-light-bg);
  color: var(--theme-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   FUTURISTIC STICKY HEADER & TOP STRIP
   ========================================================================== */
.futuristic-header {
  position: sticky;
  top: 0;
  z-index: 1080;
  background: var(--theme-emerald-dark);
  box-shadow: 0 10px 30px rgba(6, 78, 59, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-strip-announcement {
  background: #022C22;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.top-strip-announcement a {
  color: var(--theme-gold-light);
  text-decoration: none;
  font-weight: 600;
}

.navbar-main-row {
  padding: 12px 0;
}

.futuristic-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-sparkle-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--theme-radius-sm);
  background: linear-gradient(135deg, var(--theme-emerald-light) 0%, var(--theme-emerald) 100%);
  border: 1px solid var(--theme-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-gold-light);
  font-size: 1.4rem;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

.logo-text-title {
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
}

.logo-text-title span {
  color: var(--theme-gold-light);
}

.logo-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

/* Header Search */
.futuristic-searchbar {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--theme-radius-full);
  padding: 4px 6px 4px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.futuristic-searchbar input {
  background: transparent;
  border: none;
  color: var(--theme-dark);
  font-size: 0.92rem;
  width: 100%;
  outline: none;
}

.search-submit-btn {
  background: var(--theme-emerald);
  color: #FFFFFF;
  border: none;
  border-radius: var(--theme-radius-full);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.search-submit-btn:hover {
  background: var(--theme-emerald-dark);
  color: var(--theme-gold-light);
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--theme-radius-full);
  transition: var(--transition-fast);
}

.nav-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--theme-gold-light);
}

.btn-ai-curate-glow {
  background: linear-gradient(135deg, var(--theme-gold) 0%, #B45309 100%);
  color: #FFFFFF !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.cart-badge-pulse {
  background: var(--theme-gold-light);
  color: var(--theme-emerald-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
}

/* Header Sub-Nav */
.header-sub-nav {
  background: rgba(2, 44, 34, 0.95);
  padding: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-category-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--theme-radius-full);
  transition: var(--transition-fast);
}

.nav-category-link:hover, .nav-category-link.active {
  background: var(--theme-emerald);
  color: #FFFFFF;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.emerald-hero-section {
  background: linear-gradient(135deg, #FAF6F0 0%, #F0FDF4 50%, #FAF6F0 100%);
  padding: 55px 0 45px 0;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--theme-emerald-bg);
  color: var(--theme-emerald);
  border: 1px solid rgba(4, 120, 87, 0.2);
  padding: 6px 16px;
  border-radius: var(--theme-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-main-title {
  font-size: 3rem;
  line-height: 1.15;
  color: var(--theme-emerald-dark);
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 14px;
}

.hero-main-title span {
  background: linear-gradient(90deg, var(--theme-emerald) 0%, var(--theme-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub-text {
  font-size: 1.08rem;
  color: var(--theme-slate);
  max-width: 580px;
  margin-bottom: 24px;
}

/* Benefit Badges */
.benefit-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  max-width: 540px;
}

.benefit-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(4, 120, 87, 0.12);
  padding: 8px 14px;
  border-radius: var(--theme-radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--theme-emerald-dark);
  box-shadow: var(--theme-shadow-sm);
}

.benefit-pill i {
  color: var(--theme-emerald);
  font-size: 1.1rem;
}

/* AI Prompt Input Card */
.hero-ai-box {
  background: #FFFFFF;
  border: 2px solid var(--theme-emerald-light);
  border-radius: var(--theme-radius-md);
  padding: 8px 8px 8px 20px;
  box-shadow: var(--theme-shadow-md);
  display: flex;
  align-items: center;
  max-width: 620px;
}

.hero-ai-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: var(--theme-dark);
}

.hero-ai-btn {
  background: linear-gradient(135deg, var(--theme-emerald) 0%, var(--theme-emerald-dark) 100%);
  color: #FFFFFF;
  border: none;
  padding: 12px 26px;
  border-radius: var(--theme-radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.hero-ai-btn:hover {
  background: var(--theme-emerald-dark);
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.3);
}

/* Hero Right Collage */
.hero-image-composition {
  position: relative;
  text-align: center;
}

.hero-main-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow-lg);
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  background: #FFFFFF;
  border-radius: var(--theme-radius-sm);
  padding: 12px 18px;
  box-shadow: var(--theme-shadow-md);
  border: 1px solid rgba(4, 120, 87, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-floating-card.top-right {
  top: -15px;
  right: 10px;
}

.hero-floating-card.bottom-left {
  bottom: -15px;
  left: 10px;
}

/* ==========================================================================
   OCCASION QUICK NAV CHIPS
   ========================================================================== */
.occasion-quick-section {
  padding: 30px 0;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.occasion-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--theme-dark);
  transition: var(--transition-normal);
}

.occasion-chip-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--theme-cream);
  border: 2px solid rgba(4, 120, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--theme-emerald);
  transition: var(--transition-normal);
}

.occasion-chip:hover .occasion-chip-icon {
  background: var(--theme-emerald);
  color: #FFFFFF;
  border-color: var(--theme-emerald);
  transform: translateY(-4px);
  box-shadow: var(--theme-shadow-md);
}

.occasion-chip-title {
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   PRODUCT CARDS GRID (FEATURED & POPULAR)
   ========================================================================== */
/* ==========================================================================
   PRODUCT CARDS GRID (FEATURED & POPULAR)
   ========================================================================== */
.product-card-premium {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(4, 120, 87, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(4, 120, 87, 0.15);
  border-color: rgba(4, 120, 87, 0.3);
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: #F1F5F9;
  display: block;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  border: none;
}

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

/* Product Badges */
.badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge-status.bestseller { background: rgba(6, 78, 59, 0.92); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.2); }
.badge-status.trending { background: rgba(217, 119, 6, 0.92); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.2); }
.badge-status.mostloved { background: rgba(225, 29, 72, 0.92); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.2); }
.badge-status.new { background: rgba(37, 99, 235, 0.92); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.2); }

.badge-discount {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 5;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-wishlist-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-wishlist-heart:hover {
  background: #FFFFFF;
  color: #E11D48;
  transform: scale(1.12);
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.product-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-title:hover {
  color: #047857;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.star-rating {
  color: #F59E0B;
  font-weight: 700;
}

.reviews-count {
  color: #64748B;
  font-size: 0.78rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.price-current {
  font-size: 1.3rem;
  font-weight: 800;
  color: #064E3B;
  font-family: 'Outfit', sans-serif;
}

.price-mrp {
  font-size: 0.88rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.btn-add-to-cart, .btn-add-cart {
  width: 100%;
  background: linear-gradient(135deg, #064E3B 0%, #047857 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 50px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.25);
  cursor: pointer;
}

.btn-add-to-cart:hover, .btn-add-cart:hover {
  background: linear-gradient(135deg, #022C22 0%, #064E3B 100%);
  color: #FBBF24 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.35);
}

/* ==========================================================================
   OCCASION CARDS SECTION
   ========================================================================== */
.occasion-card {
  position: relative;
  border-radius: var(--theme-radius-md);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--theme-shadow-md);
}

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

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

.occasion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 78, 59, 0.9) 0%, rgba(6, 78, 59, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #FFFFFF;
}

.occasion-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.occasion-card-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.occasion-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--theme-gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

/* ==========================================================================
   WHY CHOOSE US (BENEFITS)
   ========================================================================== */
.why-choose-card {
  background: #FFFFFF;
  border-radius: var(--theme-radius-md);
  padding: 24px;
  border: 1px solid rgba(4, 120, 87, 0.1);
  box-shadow: var(--theme-shadow-sm);
  transition: var(--transition-normal);
}

.why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--theme-shadow-md);
  border-color: var(--theme-emerald);
}

.why-choose-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--theme-radius-sm);
  background: var(--theme-emerald-bg);
  color: var(--theme-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   PROMOTIONAL BANNER (10% OFF)
   ========================================================================== */
.promo-emerald-banner {
  background: linear-gradient(135deg, #064E3B 0%, #047857 100%);
  border-radius: var(--theme-radius-lg);
  padding: 40px;
  color: #FFFFFF;
  box-shadow: var(--theme-shadow-lg);
}

.promo-badge-gold {
  background: var(--theme-gold-light);
  color: var(--theme-emerald-dark);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--theme-radius-full);
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.futuristic-footer {
  background: #022C22;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px 0;
  border-top: 1px solid rgba(251, 191, 36, 0.15);
}

.footer-section-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--theme-gold-light);
}

@media (max-width: 991px) {
  .hero-main-title { font-size: 2.2rem; }
  .benefit-pills-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PAGINATION SVG CONTAINMENT (PREVENTS LARGE UNSTYLED ICONS)
   ========================================================================== */
svg.w-5.h-5, .pagination svg, p.text-sm.text-gray-700 svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  max-width: 1.25rem !important;
  max-height: 1.25rem !important;
  display: inline-block !important;
}

.pagination .page-item .page-link {
  color: var(--theme-emerald);
  border-radius: var(--theme-radius-sm);
  margin: 0 2px;
  font-weight: 600;
}

.pagination .page-item.active .page-link {
  background-color: var(--theme-emerald);
  border-color: var(--theme-emerald);
  color: #FFFFFF;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE BREAKPOINTS (375px, 480px, 768px, 1024px)
   ========================================================================== */
@media (max-width: 767px) {
  /* Top strip announcement hidden on mobile */
  .top-strip-announcement {
    display: none !important;
  }
  
  /* Header logo scaling */
  .logo-text-title {
    font-size: 1.25rem !important;
  }
  .logo-sparkle-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
  }
  .logo-tagline {
    font-size: 0.55rem !important;
    letter-spacing: 0.12em !important;
  }

  /* Hero title & text scaling */
  .hero-main-title {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
  }
  .hero-sub-text {
    font-size: 0.92rem !important;
  }
  .hero-ai-box {
    flex-direction: column;
    padding: 10px;
    gap: 8px;
    border-radius: var(--theme-radius-sm);
  }
  .hero-ai-btn {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  /* Product Cards 2-column mobile optimization */
  .product-card-img-wrap {
    height: 160px !important;
  }
  .product-card-body {
    padding: 12px !important;
  }
  .product-title {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    height: 2.6em !important;
  }
  .price-current {
    font-size: 1.08rem !important;
  }
  .price-mrp {
    font-size: 0.78rem !important;
  }
  .btn-add-to-cart, .btn-add-cart {
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
  }

  /* Floating Review button mobile positioning */
  .position-fixed.bottom-0.end-0 {
    margin: 1rem !important;
  }
  .position-fixed.bottom-0.end-0 button {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
  }

  /* Table touch scrolling */
  .table-responsive {
    border-radius: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-main-title {
    font-size: 2.3rem !important;
  }
  .product-card-img-wrap {
    height: 190px !important;
  }
}
