/* ============================================================
   TRENDIT MODERN UI — Complete Design Overhaul
   Colors: Teal #0A4B3E | Gold #96722E #D4AF37 | White / Light-gray
   ============================================================ */

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --teal:        #0A4B3E;
  --teal-mid:    #0d6652;
  --teal-light:  #e8f2f0;
  --gold:        #96722E;
  --gold-mid:    #c9a96e;
  --gold-bright: #D4AF37;
  --gold-light:  #fdf6e3;
  --text-dark:   #1a1a2e;
  --text-mid:    #4a5568;
  --text-light:  #718096;
  --bg:          #f9fafb;
  --bg-card:     #ffffff;
  --border:      #e2e8f0;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 48px rgba(0,0,0,.14);
  --shadow-gold: 0 8px 24px rgba(150,114,46,.20);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 50px;
  --ease:        cubic-bezier(.4,0,.2,1);
}

/* ─── Body & Global ─────────────────────────────────────── */
body { background: var(--bg); color: var(--text-dark); }

/* ─── Smooth scrollbar ──────────────────────────────────── */
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--gold-mid); border-radius: 3px; }

/* ─── Typography ────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { color: var(--teal); letter-spacing: -.02em; }

/* ─── Modern Buttons ────────────────────────────────────── */
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10,75,62,.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,75,62,.40);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(150,114,46,.40);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: var(--radius-pill);
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius-pill);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  background: transparent !important;
  border: none !important;
  padding: 16px 0 !important;
}
.breadcrumb nav {
  font-size: 13px;
  gap: 6px !important;
}
.breadcrumb nav a {
  color: var(--text-light) !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb nav a:hover { color: var(--gold) !important; }
.breadcrumb nav span:last-child { color: var(--teal) !important; font-weight: 600; }

/* ─── Section Title ─────────────────────────────────────── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem !important;
  font-weight: 700;
  color: var(--teal) !important;
  letter-spacing: -.03em;
  margin-bottom: 16px !important;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: .95rem;
  margin-bottom: 48px !important;
}


/* ======================================================
   HOMEPAGE
   ====================================================== */

/* Hero Carousel */
.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.carousel-container {
  position: relative;
  min-height: 520px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.carousel-slide.active { opacity: 1; position: relative; }
.carousel-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.carousel-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,75,62,.85) 0%, rgba(10,75,62,.4) 60%, transparent 100%);
  padding: 80px 60px 60px;
  color: #fff;
}
.carousel-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  letter-spacing: -.02em;
}
.carousel-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9) !important;
  margin-bottom: 28px;
  max-width: 500px;
}
.carousel-content .btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #fff;
  padding: 14px 36px;
  font-size: 15px;
  box-shadow: var(--shadow-gold);
}
.carousel-content .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(150,114,46,.45);
}
.carousel-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: all .3s var(--ease);
  z-index: 10;
  backdrop-filter: blur(4px);
}
.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }
.carousel-nav button:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(150,114,46,.4);
}
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dots .dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.carousel-dots .dot.active {
  background: #fff;
  width: 28px;
  border-radius: 4px;
}

/* Featured Products Section */
.featured-products {
  background: var(--bg-card) !important;
  padding: 80px 0 !important;
  margin-top: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-top: 1px solid var(--border);
}

/* ─── Product Card (shared across pages) ──────────────── */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all .35s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Product Image */
.product-card .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gold-light);
}
.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}
.product-card:hover .product-image img {
  transform: scale(1.08);
}

/* Product Overlay (wishlist / quick-view) */
.product-card .product-overlay {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(12px);
  transition: all .3s var(--ease);
}
.product-card:hover .product-overlay {
  opacity: 1;
  transform: translateX(0);
}
.product-card .product-overlay button {
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--text-mid);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: all .25s var(--ease);
  backdrop-filter: blur(8px);
  padding: 0;
}
.product-card .product-overlay button:hover,
.product-card .product-overlay button.active {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}
.product-card .product-overlay .btn-wishlist.active {
  background: #e53e3e;
  color: #fff;
}

/* Badges */
.sale-badge, .new-badge, .featured-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  z-index: 5;
}
.sale-badge {
  background: linear-gradient(135deg, #e53e3e, #c53030);
  color: #fff;
}
.new-badge {
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff;
}
.featured-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #fff;
}

/* Product Info */
.product-card .product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.product-card .product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.product-card .product-name a {
  color: var(--text-dark) !important;
  text-decoration: none;
}
.product-card .product-name a:hover { color: var(--teal) !important; }

.product-card .product-description {
  font-size: 13px;
  color: var(--text-light) !important;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price */
.product-card .product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.product-card .price,
.product-card .price-sale {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal) !important;
}
.product-card .price-original {
  font-size: .9rem;
  color: var(--text-light) !important;
  text-decoration: line-through;
}

/* Discount % badge inline */
.discount-tag {
  background: #fff0f0;
  color: #e53e3e;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

/* Add to Cart button */
.btn-add-cart {
  margin-top: auto;
  padding: 11px 20px;
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s var(--ease);
  letter-spacing: .02em;
  width: 100%;
}
.btn-add-cart:hover {
  background: var(--teal);
  color: #fff;
  transform: none;
  box-shadow: 0 4px 14px rgba(10,75,62,.25);
}
.btn-add-cart.added {
  background: var(--teal);
  color: #fff;
}

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

/* ─── Categories Showcase ──────────────────────────────── */
.categories-showcase {
  padding: 80px 0;
  background: var(--teal-light);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.category-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: all .35s var(--ease);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.category-card a { display: block; height: 100%; text-decoration: none; }
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}
.category-card:hover img { transform: scale(1.08); }
.category-card .category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,75,62,.85) 0%, rgba(10,75,62,.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transition: background .35s var(--ease);
}
.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(10,75,62,.92) 0%, rgba(10,75,62,.35) 50%, transparent 100%);
}
.category-card .category-overlay h3 {
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.category-card .category-overlay p {
  color: rgba(255,255,255,.82) !important;
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}


/* ======================================================
   CATEGORY PAGE
   ====================================================== */

.category-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%) !important;
  padding: 56px 0 !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}
.category-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.category-image {
  width: 100px !important;
  height: 100px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.25) !important;
  border: 3px solid rgba(255,255,255,.2);
}

.category-title {
  color: #fff !important;
  font-size: 2.6rem !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.category-description { color: rgba(255,255,255,.82) !important; }

.category-stats { gap: 32px !important; }
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-bright) !important;
  font-family: 'Playfair Display', serif;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.72) !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Category Filters Bar */
.filters-bar, .sort-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.filters-bar select, .sort-bar select {
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  background: var(--bg);
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color .2s;
  width: auto !important;
}
.filters-bar select:focus, .sort-bar select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,75,62,.1);
}

/* Products Section Layout */
.products-section {
  padding: 40px 0 80px;
}
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.products-count {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}
.products-count strong { color: var(--teal); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: all .25s var(--ease);
  background: var(--bg-card);
}
.pagination a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.pagination .active, .pagination .current {
  background: var(--teal);
  color: #fff !important;
  border-color: var(--teal);
}


/* ======================================================
   PRODUCT DETAIL PAGE
   ====================================================== */

.product-main { background: var(--bg) !important; padding: 48px 0 80px !important; }

.product-layout {
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
}

/* Main image box */
.main-image {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
  overflow: hidden;
  border: 1px solid var(--border);
}
.main-image img {
  height: 480px !important;
  object-fit: cover;
}

/* Thumbnails */
.image-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.thumb-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.thumb-item:hover, .thumb-item.active {
  border-color: var(--gold);
  transform: scale(1.05);
}
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info Panel */
.product-info-panel, .product-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold) !important;
  font-weight: 700;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem !important;
  font-weight: 700;
  color: var(--teal) !important;
  line-height: 1.25;
  margin: 0 !important;
}

/* Price block */
.price-block, .product-pricing {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.price-main, .current-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal) !important;
  font-family: 'Playfair Display', serif;
  letter-spacing: -.02em;
}
.price-original-big, .original-price {
  font-size: 1.2rem;
  color: var(--text-light) !important;
  text-decoration: line-through;
}
.discount-badge {
  background: linear-gradient(135deg, #e53e3e, #c53030);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

/* Divider */
.product-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* Meta info rows */
.product-meta-row {
  display: flex;
  gap: 8px;
  font-size: 14px;
  align-items: center;
}
.product-meta-row .label {
  font-weight: 600;
  color: var(--text-mid);
  min-width: 80px;
}
.product-meta-row .value { color: var(--text-dark); }

/* Stock badge */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}
.stock-badge.in-stock {
  background: #f0fff4;
  color: #2f855a;
  border: 1px solid #9ae6b4;
}
.stock-badge.out-of-stock {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #feb2b2;
}

/* Quantity selector */
.qty-wrapper, .quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--bg-card);
}
.qty-btn, .quantity-btn {
  width: 42px; height: 42px;
  border: none;
  background: transparent;
  color: var(--teal);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.qty-btn:hover, .quantity-btn:hover { background: var(--teal-light); }
.qty-input, .quantity-input {
  width: 56px !important;
  text-align: center;
  border: none !important;
  border-left: 1px solid var(--border) !important;
  border-right: 1px solid var(--border) !important;
  border-radius: 0 !important;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  padding: 8px 0 !important;
  box-shadow: none !important;
}

/* Action buttons */
.product-actions, .action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cart-main {
  flex: 1;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 14px rgba(10,75,62,.3);
  letter-spacing: .02em;
}
.btn-cart-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,75,62,.4);
}
.btn-wishlist-main {
  width: 52px; height: 52px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text-light);
  transition: all .25s var(--ease);
}
.btn-wishlist-main:hover, .btn-wishlist-main.active {
  background: #fff0f0;
  border-color: #e53e3e;
  color: #e53e3e;
  transform: scale(1.08);
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
}
.trust-badge i { color: var(--gold); font-size: 16px; }

/* Related Products */
.related-products {
  padding: 64px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}


/* ======================================================
   CART PAGE
   ====================================================== */

.page-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%) !important;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header .header-content { padding: 48px 0 40px !important; }
.page-header h1 { text-shadow: 0 2px 8px rgba(0,0,0,.2); }

.cart-main { background: var(--bg) !important; padding: 40px 0 80px !important; }

.cart-layout {
  grid-template-columns: 1fr 360px !important;
  gap: 28px !important;
}

/* Cart Items Card */
.cart-items {
  background: var(--bg-card) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden;
}

/* Cart Table */
.cart-table { border-collapse: collapse; width: 100%; }
.cart-table th {
  padding: 16px 20px !important;
  background: var(--bg) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: var(--text-light) !important;
  border-bottom: 1px solid var(--border) !important;
}
.cart-table td {
  padding: 20px !important;
  border-bottom: 1px solid var(--border) !important;
  vertical-align: middle !important;
}
.cart-table tr:last-child td { border-bottom: none !important; }
.cart-table tr:hover td { background: var(--bg); }

/* Cart product thumbnail */
.cart-product-image {
  width: 80px !important; height: 80px !important;
  border-radius: var(--radius-sm) !important;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.cart-product-name {
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--text-dark) !important;
  margin-bottom: 4px;
}
.cart-product-name:hover { color: var(--teal) !important; }
.cart-product-sku {
  font-size: 12px;
  color: var(--text-light);
}

/* Quantity controls in cart */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  width: fit-content;
  background: var(--bg-card);
}
.quantity-control button {
  width: 34px; height: 34px;
  border: none;
  background: transparent;
  color: var(--teal);
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;
}
.quantity-control button:hover { background: var(--teal-light); }
.quantity-control input {
  width: 44px !important;
  text-align: center;
  border: none !important;
  border-left: 1px solid var(--border) !important;
  border-right: 1px solid var(--border) !important;
  border-radius: 0 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 0 !important;
  box-shadow: none !important;
}

/* Remove button */
.btn-remove, .remove-item {
  color: var(--text-light) !important;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  padding: 8px;
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.btn-remove:hover, .remove-item:hover {
  color: #e53e3e !important;
  background: #fff5f5;
}

/* Cart Summary Card */
.cart-summary {
  background: var(--bg-card) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.cart-summary .summary-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
}
.cart-summary .summary-body { padding: 24px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}
.summary-row .label { color: var(--text-mid); }
.summary-row .value { font-weight: 600; color: var(--text-dark); }
.summary-row.total {
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--border);
}
.summary-row.total .label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}
.summary-row.total .value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  font-family: 'Playfair Display', serif;
}
.free-shipping-note {
  background: #f0fff4;
  color: #2f855a;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #9ae6b4;
}
.btn-checkout {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px;
  text-decoration: none;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 14px rgba(10,75,62,.3);
  letter-spacing: .02em;
}
.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,75,62,.4);
  color: #fff !important;
}

/* Coupon input */
.coupon-section {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.coupon-form {
  display: flex;
  gap: 8px;
}
.coupon-form input {
  flex: 1;
  padding: 10px 16px !important;
  border-radius: var(--radius-pill) !important;
  border: 1px solid var(--border) !important;
  font-size: 13px;
}
.coupon-form button {
  padding: 10px 20px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s;
}
.coupon-form button:hover { background: var(--gold-bright); }

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 80px 24px;
}
.cart-empty i { font-size: 64px; color: var(--border); margin-bottom: 20px; }
.cart-empty h3 { color: var(--teal); font-family: 'Playfair Display', serif; }
.cart-empty p { color: var(--text-light) !important; }


/* ======================================================
   CHECKOUT PAGE
   ====================================================== */

.checkout-page { background: var(--bg) !important; padding: 40px 0 80px !important; }

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem !important;
  color: var(--teal) !important;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 40px !important;
}
.page-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

/* Checkout Sections */
.checkout-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.section-header-checkout {
  padding: 18px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-header-checkout .step-num {
  width: 32px; height: 32px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.section-header-checkout h3 {
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
}
.section-body-checkout { padding: 24px; }

/* Address Cards */
.address-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all .25s var(--ease);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.address-option:hover { border-color: var(--teal); background: var(--teal-light); }
.address-option.selected {
  border-color: var(--teal);
  background: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(10,75,62,.1);
}
.address-option input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--teal);
  width: auto !important;
}
.address-option .addr-details { flex: 1; }
.address-option .addr-name { font-weight: 700; color: var(--text-dark); font-size: 15px; }
.address-option .addr-text { font-size: 13px; color: var(--text-mid); margin-top: 4px; line-height: 1.5; }
.default-badge {
  padding: 2px 10px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
}

/* Add address form */
.add-address-form {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
  border: 1px dashed var(--border);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 14px;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(10,75,62,.08) !important;
}

/* Payment Methods */
.payment-method {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all .25s var(--ease);
  display: flex;
  align-items: center;
  gap: 14px;
}
.payment-method:hover { border-color: var(--teal); background: var(--teal-light); }
.payment-method.selected {
  border-color: var(--teal);
  background: var(--teal-light);
}
.payment-method input[type="radio"] {
  accent-color: var(--teal);
  width: auto !important;
}
.payment-icon {
  width: 40px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 18px;
  color: var(--teal);
  flex-shrink: 0;
}
.payment-details .method-name { font-weight: 700; color: var(--text-dark); font-size: 14px; }
.payment-details .method-desc { font-size: 12px; color: var(--text-light); }

/* Order Summary (checkout sidebar) */
.order-summary-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.order-summary-header {
  padding: 18px 24px;
  background: var(--teal);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.order-item-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.order-item-row:last-of-type { border-bottom: none; }
.order-item-img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.order-item-info { flex: 1; min-width: 0; }
.order-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-item-qty { font-size: 12px; color: var(--text-light); }
.order-item-price {
  font-weight: 700;
  color: var(--teal);
  font-size: 14px;
  flex-shrink: 0;
}

.btn-place-order {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: .03em;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
}
.btn-place-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(150,114,46,.45);
  color: #fff !important;
}


/* ======================================================
   GENERAL UI COMPONENTS
   ====================================================== */

/* Section wrapper with background alternation */
.section-light { background: var(--bg-card); }
.section-tint  { background: var(--teal-light); }
.section-gold  { background: var(--gold-light); }

/* Alerts */
.alert {
  border-radius: var(--radius-md) !important;
  border: none !important;
  border-left: 4px solid !important;
  font-weight: 500;
}
.alert-success { border-left-color: #38a169 !important; background: #f0fff4 !important; color: #276749 !important; }
.alert-error   { border-left-color: #e53e3e !important; background: #fff5f5 !important; color: #c53030 !important; }
.alert-info    { border-left-color: var(--teal) !important; background: var(--teal-light) !important; color: var(--teal) !important; }
.alert-warning { border-left-color: var(--gold) !important; background: var(--gold-light) !important; color: var(--gold) !important; }

/* Form inputs - global override */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border-radius: var(--radius-sm) !important;
  border: 1.5px solid var(--border) !important;
  transition: border-color .2s, box-shadow .2s;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(10,75,62,.10) !important;
  outline: none !important;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.empty-state i { font-size: 64px; color: var(--border); }
.empty-state h3 { color: var(--teal); font-family: 'Playfair Display', serif; margin: 0; }
.empty-state p { color: var(--text-light) !important; margin: 0; }

/* Footer */
.main-footer {
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-top-border {
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--gold-bright), var(--teal));
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Back to top */
#backToTop {
  width: 44px !important; height: 44px !important;
  background: var(--teal) !important;
  border-radius: 50% !important;
  border: none;
  box-shadow: var(--shadow-md) !important;
  transition: all .3s var(--ease) !important;
}
#backToTop:hover {
  background: var(--gold) !important;
  transform: translateY(-4px) !important;
}

/* Notification toasts */
.notification, .toast {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  font-weight: 500;
  font-size: 14px;
}

/* ──────────────── RESPONSIVE ──────────────────────── */
@media (max-width: 992px) {
  .cart-layout     { grid-template-columns: 1fr !important; }
  .checkout-layout { grid-template-columns: 1fr !important; }
  .product-layout  { grid-template-columns: 1fr !important; gap: 32px !important; }
  .order-summary-card { position: static; }
  .cart-summary    { position: static; }
}

@media (max-width: 768px) {
  .carousel-slide img     { height: 320px !important; }
  .carousel-content       { padding: 40px 24px 36px; }
  .carousel-content h2    { font-size: 1.8rem; }
  .carousel-content p     { display: none; }
  .carousel-nav button    { width: 40px; height: 40px; font-size: 18px; }
  .products-grid          { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .categories-grid        { grid-template-columns: repeat(2, 1fr) !important; }
  .category-header-content{ grid-template-columns: 1fr !important; gap: 20px; }
  .category-title         { font-size: 2rem !important; }
  .form-grid              { grid-template-columns: 1fr !important; }
  .product-actions        { flex-direction: column; }
  .btn-cart-main          { flex: none; width: 100%; }
  .section-title          { font-size: 1.8rem !important; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr !important; }
  .categories-grid { grid-template-columns: 1fr !important; }
  .trust-badges { flex-direction: column; gap: 10px; }
}


/* ======================================================
   WISHLIST PAGE
   ====================================================== */

.wishlist-main {
  background: var(--bg) !important;
  padding: 40px 0 80px !important;
}

/* Page Header */
.wishlist-header {
  text-align: center;
  padding: 32px 0 24px;
}
.wishlist-header .page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem !important;
  color: var(--teal) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px !important;
}
.wishlist-header .page-title i { color: var(--gold); font-size: 1.8rem; }
.wishlist-header .page-subtitle {
  color: var(--text-light) !important;
  font-size: 15px;
}

/* Wishlist count + actions bar */
.wishlist-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}
.wishlist-header-info .items-count {
  font-weight: 600;
  color: var(--teal);
  font-size: 15px;
}
.wishlist-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-share-wishlist {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all .25s var(--ease);
}
.btn-share-wishlist:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.btn-add-all-to-cart {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all .25s var(--ease);
  box-shadow: 0 3px 10px rgba(10,75,62,.25);
}
.btn-add-all-to-cart:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(10,75,62,.35); }
.btn-clear-wishlist {
  padding: 8px 18px;
  border: 1.5px solid #fed7d7;
  border-radius: var(--radius-pill);
  background: #fff5f5;
  color: #c53030;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all .25s var(--ease);
}
.btn-clear-wishlist:hover { background: #fed7d7; border-color: #fc8181; }

/* Layout */
.wishlist-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* Table container */
.wishlist-table {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Table header row */
.wishlist-table .table-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1.2fr 1.6fr 56px;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}

/* Each wishlist row */
.wishlist-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1.2fr 1.6fr 56px;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background .2s var(--ease);
}
.wishlist-item:last-child { border-bottom: none; }
.wishlist-item:hover { background: var(--bg); }

/* Product column */
.wishlist-item .col-product .product-info {
  display: flex;
  gap: 14px;
  align-items: center;
}
.wishlist-item .item-image {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.wishlist-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease);
}
.wishlist-item:hover .item-image img { transform: scale(1.04); }
.wishlist-item .item-image .sale-badge {
  position: absolute;
  top: 4px; left: 4px;
  background: #e53e3e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.wishlist-item .product-details { min-width: 0; }
.wishlist-item .product-name {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 0 4px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wishlist-item .product-name a { color: var(--text-dark) !important; text-decoration: none; }
.wishlist-item .product-name a:hover { color: var(--teal) !important; }
.wishlist-item .product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--gold);
}
.wishlist-item .added-date {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Category column */
.wishlist-item .col-category .category-link {
  font-size: 13px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}
.wishlist-item .col-category .category-link:hover { text-decoration: underline; }

/* Price column */
.wishlist-item .item-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wishlist-item .item-price .sale-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal) !important;
}
.wishlist-item .item-price .original-price {
  font-size: 12px;
  color: var(--text-light) !important;
  text-decoration: line-through;
}
.wishlist-item .item-price .regular-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal) !important;
}

/* Action buttons */
.wishlist-item .item-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wishlist-item .btn-add-to-cart {
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: all .25s var(--ease);
  box-shadow: 0 2px 8px rgba(10,75,62,.25);
  white-space: nowrap;
}
.wishlist-item .btn-add-to-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,75,62,.35);
}
.wishlist-item .btn-notify-me {
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.wishlist-item .btn-view-details {
  padding: 7px 14px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid) !important;
  text-decoration: none;
  display: flex; align-items: center; gap: 5px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.wishlist-item .btn-view-details:hover {
  border-color: var(--teal);
  color: var(--teal) !important;
  background: var(--teal-light);
}

/* Remove button */
.wishlist-item .btn-remove-wishlist {
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  color: var(--text-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all .2s var(--ease);
}
.wishlist-item .btn-remove-wishlist:hover {
  background: #fff5f5;
  color: #e53e3e;
  transform: scale(1.1);
}

/* Wishlist Summary sidebar */
.wishlist-summary {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.wishlist-summary .summary-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 !important;
}
.wishlist-summary .summary-body { padding: 20px 22px; }
.wishlist-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.wishlist-summary .summary-row:last-of-type { border-bottom: none; }
.wishlist-summary .summary-row span:first-child { color: var(--text-mid); }
.wishlist-summary .summary-row span:last-child { font-weight: 700; color: var(--teal); }
.wishlist-summary .savings-row span:last-child { color: #2f855a !important; }
.wishlist-summary .btn-add-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 14px rgba(10,75,62,.3);
  text-decoration: none;
}
.wishlist-summary .btn-add-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,75,62,.4);
}

/* Login Required state */
.login-required {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}
.login-required-content {
  text-align: center;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-md);
}
.login-required-content .login-icon {
  width: 80px; height: 80px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  color: var(--teal);
}
.login-required-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 10px;
}
.login-required-content p { color: var(--text-light) !important; margin-bottom: 24px; }
.btn-login {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 14px rgba(10,75,62,.3);
}
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,75,62,.4); }

/* Empty Wishlist state */
.empty-wishlist {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}
.empty-wishlist-content {
  text-align: center;
  max-width: 440px;
}
.empty-wishlist-content .empty-icon {
  width: 100px; height: 100px;
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-size: 44px;
  color: var(--border);
  transition: all .3s var(--ease);
}
.empty-wishlist-content .empty-icon:hover {
  border-color: var(--gold-mid);
  color: var(--gold);
}
.empty-wishlist-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 10px;
}
.empty-wishlist-content p { color: var(--text-light) !important; margin-bottom: 28px; }
.btn-continue-shopping {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-gold);
}
.btn-continue-shopping:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(150,114,46,.45);
  color: #fff !important;
}

/* Wishlist responsive */
@media (max-width: 992px) {
  .wishlist-layout { grid-template-columns: 1fr !important; }
  .wishlist-summary { position: static; }
}
@media (max-width: 768px) {
  .wishlist-table .table-header { display: none; }
  .wishlist-item {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 16px;
  }
  .wishlist-item .col-product .product-info { align-items: flex-start; }
  .wishlist-item .item-actions { flex-direction: row; flex-wrap: wrap; }
}


/* ======================================================
   SEARCH RESULTS PAGE
   ====================================================== */

/* Search Header hero */
.search-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%) !important;
  padding: 64px 0 48px !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}
.search-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.search-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 2.4rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 8px !important;
  text-align: center;
  position: relative;
  z-index: 1;
}
.search-query {
  color: var(--gold-bright) !important;
  font-style: italic;
}
.search-info {
  text-align: center !important;
  font-size: 1rem !important;
  color: rgba(255,255,255,.75) !important;
  margin-top: 10px !important;
  position: relative;
  z-index: 1;
}

/* Search results section */
.search-results {
  padding: 40px 0 80px !important;
  background: var(--bg) !important;
}

/* Sort controls bar */
.sort-controls {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 28px !important;
  padding: 16px 20px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  flex-wrap: wrap;
  gap: 12px;
}
.sort-label {
  font-weight: 600 !important;
  color: var(--text-mid) !important;
  font-size: 14px;
}
.sort-select {
  padding: 8px 16px 8px 12px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-pill) !important;
  background: var(--bg) !important;
  color: var(--text-dark) !important;
  font-size: 13px !important;
  cursor: pointer !important;
  font-weight: 500;
  transition: border-color .2s, box-shadow .2s !important;
}
.sort-select:hover, .sort-select:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(10,75,62,.08) !important;
  outline: none;
}

/* No results state */
.no-results {
  text-align: center !important;
  padding: 80px 20px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.no-results i {
  font-size: 72px !important;
  color: var(--border) !important;
  margin-bottom: 8px !important;
}
.no-results h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  color: var(--teal) !important;
  margin-bottom: 8px !important;
}
.no-results p {
  font-size: 1rem !important;
  color: var(--text-light) !important;
  max-width: 480px;
  line-height: 1.6;
}

/* Search Suggestions chips */
.search-suggestions {
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-top: 24px !important;
}
.suggestion-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 9px 20px !important;
  background: var(--teal-light) !important;
  color: var(--teal) !important;
  text-decoration: none !important;
  border-radius: var(--radius-pill) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: 1.5px solid transparent;
  transition: all .25s var(--ease) !important;
}
.suggestion-link:hover {
  background: var(--teal) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10,75,62,.25);
}

/* Pagination */
.pagination-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.btn-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn-page:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-1px);
}
.btn-page.active, .btn-page.current {
  background: var(--teal) !important;
  color: #fff !important;
  border-color: var(--teal) !important;
  box-shadow: 0 3px 10px rgba(10,75,62,.3);
}
.btn-page:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}

/* Search responsive */
@media (max-width: 768px) {
  .search-title { font-size: 1.8rem !important; }
  .sort-controls { flex-direction: column; align-items: flex-start !important; }
}


/* ======================================================
   STATIC PAGES (About, FAQ, Shipping, etc.)
   ====================================================== */

/* Hero banner */
.static-page-hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  padding: 64px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.static-page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
}
.static-page-hero .hero-subtitle {
  color: rgba(255,255,255,.80);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* Main section */
.static-page-main {
  background: var(--bg);
  padding: 56px 0 80px;
}

/* Content card */
.static-page-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 48px 52px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-dark);
  font-size: 15px;
}
.static-page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--teal);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-light);
}
.static-page-content h2:first-child { margin-top: 0; }
.static-page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 20px 0 8px;
}
.static-page-content p { margin-bottom: 14px; }
.static-page-content ul,
.static-page-content ol {
  margin: 12px 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.static-page-content li { line-height: 1.7; }
.static-page-content strong { color: var(--teal); font-weight: 700; }
.static-page-content a { color: var(--teal); text-decoration: underline; }
.static-page-content a:hover { color: var(--gold); }

/* Policy / legal page date notice */
.policy-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 28px !important;
}
.policy-date i { font-size: 12px; }

/* Tables in page content */
.static-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.static-page-content table th {
  background: var(--teal);
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  letter-spacing: .04em;
}
.static-page-content table td {
  padding: 11px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.static-page-content table tr:last-child td { border-bottom: none; }
.static-page-content table tr:nth-child(even) td { background: var(--bg); }

/* FAQ items */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: var(--teal-light); border-radius: var(--radius-sm); }
.faq-item h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--teal) !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: none !important;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-item h3 i { color: var(--gold); font-size: 12px; margin-top: 4px; flex-shrink: 0; }
.faq-item p { margin: 0; color: var(--text-mid); font-size: 14px; line-height: 1.7; padding-left: 22px; }

/* Contact info cards grid */
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 0 0 8px;
}
.contact-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: all .25s var(--ease);
}
.contact-detail-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.contact-detail-icon {
  width: 54px; height: 54px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--teal);
  transition: all .25s;
}
.contact-detail-card:hover .contact-detail-icon { background: var(--teal); color: #fff; }
.contact-detail-card h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--teal) !important;
  margin: 0 0 8px !important;
  border: none !important;
  padding: 0 !important;
}
.contact-detail-card p { font-size: 13px; color: var(--text-mid) !important; margin: 0 !important; line-height: 1.6; }
.contact-detail-card .detail-note { font-size: 12px !important; color: var(--text-light) !important; margin-top: 4px !important; }

/* Contact form section */
.contact-info-section { max-width: 900px; margin: 0 auto 40px; }
.contact-form-wrapper { max-width: 900px; margin: 0 auto; }
.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 40px 48px;
}
.contact-form-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--teal);
  margin: 0 0 8px;
  display: flex; align-items: center; gap: 12px;
}
.contact-form-card h2 i { color: var(--gold); }
.contact-form-card > p { color: var(--text-light); margin-bottom: 28px; }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.contact-form-field { display: flex; flex-direction: column; gap: 6px; }
.contact-form-field.full { grid-column: 1 / -1; }
.contact-form-field label { font-size: 13px; font-weight: 600; color: var(--text-mid); }
.contact-form-field input,
.contact-form-field textarea {
  padding: 11px 14px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: var(--bg) !important;
  color: var(--text-dark) !important;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(10,75,62,.08) !important;
  outline: none !important;
}
.btn-contact-submit {
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 14px rgba(10,75,62,.3);
}
.btn-contact-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,75,62,.4); }
.btn-contact-submit:disabled { opacity: .65; transform: none; cursor: default; }
.contact-form-msg {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.msg-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.msg-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Responsive */
@media (max-width: 768px) {
  .static-page-hero h1  { font-size: 2rem; }
  .static-page-content  { padding: 28px 20px; }
  .contact-form-grid    { grid-template-columns: 1fr; }
  .contact-form-card    { padding: 24px 20px; }
  .contact-details-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .contact-details-grid { grid-template-columns: 1fr; }
}