/* ==========================================================================
   DION GARDENS — Exact Editorial Nursery Target Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Dune Rise';
  src: url('../fonts/Dune_Rise.otf') format('opentype'),
       url('../fonts/Dune_Rise.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.site-brand-name,
.logo-title,
.logo-sub,
.brand-name,
.footer-brand-title,
.business-name {
  font-family: 'Dune Rise', 'Playfair Display', serif !important;
  letter-spacing: 2px;
}

:root {
  /* Exact Colors from Target Mockup */
  --header-bg: #1A3322;
  --header-search: #284431;
  --header-text: #E2E8E1;
  --header-active: #D9C385;
  
  --bg-page: #F4EFE6;
  --bg-card: #FFFFFF;
  --bg-card-img: #E8E3D8;
  
  --text-dark: #1A3322;
  --text-muted: #84827A;
  --price-sale: #246B38;
  
  --pill-bg: #E5DFC9;
  --btn-gold: linear-gradient(180deg, #DFB96E 0%, #BA9448 100%);
  --btn-gold-hover: linear-gradient(180deg, #ECC67B 0%, #C9A355 100%);
  
  --border-light: rgba(26, 51, 34, 0.12);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-card: 20px;
  --radius-img: 16px;
  --radius-btn: 30px;
}

/* ==========================================================================
   10 UNIQUE BOTANICAL THEMES
   ========================================================================== */
body.theme-botanical_luxury {
  --header-bg: #0B2B20;
  --header-search: #144031;
  --header-text: #E0EDE7;
  --header-active: #DFB96E;
  --bg-page: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-img: #EAE6DF;
  --text-dark: #0B2B20;
  --text-muted: #698278;
  --price-sale: #136348;
}

body.theme-terracotta_earth {
  --header-bg: #5C2A18;
  --header-search: #7A3922;
  --header-text: #FCECE6;
  --header-active: #F39C12;
  --bg-page: #FBF5F0;
  --bg-card: #FFFFFF;
  --bg-card-img: #F2E3D8;
  --text-dark: #421D10;
  --text-muted: #8C5847;
  --price-sale: #A04000;
}

body.theme-midnight_botanist {
  --header-bg: #0F1923;
  --header-search: #1D2D3D;
  --header-text: #E0E8F0;
  --header-active: #00E676;
  --bg-page: #16222F;
  --bg-card: #1D2D3D;
  --bg-card-img: #101B26;
  --text-dark: #E0E8F0;
  --text-muted: #8096AB;
  --price-sale: #00E676;
  --border-light: rgba(255, 255, 255, 0.1);
}

body.theme-rosewood_flora {
  --header-bg: #4A1525;
  --header-search: #631E33;
  --header-text: #FCE8EC;
  --header-active: #E8A598;
  --bg-page: #FAF0F2;
  --bg-card: #FFFFFF;
  --bg-card-img: #F2E1E5;
  --text-dark: #3B0E1B;
  --text-muted: #875765;
  --price-sale: #801D38;
}

body.theme-nordic_sage {
  --header-bg: #3E5641;
  --header-search: #506D53;
  --header-text: #EDF2EE;
  --header-active: #D9C385;
  --bg-page: #F4F6F4;
  --bg-card: #FFFFFF;
  --bg-card-img: #E3E8E3;
  --text-dark: #233325;
  --text-muted: #657A67;
  --price-sale: #2C4230;
}

body.theme-tropical_rainforest {
  --header-bg: #004D40;
  --header-search: #00695C;
  --header-text: #E0F2F1;
  --header-active: #FFB300;
  --bg-page: #E0F2F1;
  --bg-card: #FFFFFF;
  --bg-card-img: #B2DFDB;
  --text-dark: #00332C;
  --text-muted: #004D40;
  --price-sale: #00695C;
}

body.theme-obsidian_garden {
  --header-bg: #0D1610;
  --header-search: #192B1F;
  --header-text: #FFFFFF;
  --header-active: #DFB96E;
  --bg-page: #142419;
  --bg-card: #1A2F21;
  --bg-card-img: #0B130D;
  --text-dark: #FFFFFF;
  --text-muted: #88998B;
  --price-sale: #00E676;
  --border-light: rgba(255, 255, 255, 0.12);
}

body.theme-royal_orchard {
  --header-bg: #2A0845;
  --header-search: #3D0E63;
  --header-text: #F3E8FC;
  --header-active: #F1C40F;
  --bg-page: #F5EFFB;
  --bg-card: #FFFFFF;
  --bg-card-img: #E8D8F7;
  --text-dark: #210438;
  --text-muted: #6B4E85;
  --price-sale: #5B1F91;
}

body.theme-oceanic_nursery {
  --header-bg: #0A3A40;
  --header-search: #10525A;
  --header-text: #E0F7FA;
  --header-active: #F39C12;
  --bg-page: #E0F7FA;
  --bg-card: #FFFFFF;
  --bg-card-img: #B2EBF2;
  --text-dark: #05262B;
  --text-muted: #006064;
  --price-sale: #00838F;
}

body.theme-floward_gifting {
  --header-bg: #FFFFFF;
  --header-search: #F4F0E8;
  --header-text: #1A2E22;
  --header-active: #556B2F;
  --bg-page: #FFFFFF;
  --bg-card: #FAF7F2;
  --bg-card-img: #F2EDE4;
  --text-dark: #1A2E22;
  --text-muted: #7F8C8D;
  --price-sale: #1A2E22;
  --border-light: rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Leaf Watermark Overlay */
body::before {
  content: '';
  position: fixed;
  bottom: -50px;
  left: -50px;
  width: 500px;
  height: 500px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%231A3322' stroke-width='0.4' stroke-opacity='0.08'%3E%3Cpath d='M20,80 Q30,20 80,20 Q80,70 20,80 Z'/%3E%3Cpath d='M20,80 Q50,50 80,20'/%3E%3Cpath d='M40,60 Q55,45 65,40'/%3E%3Cpath d='M30,70 Q45,55 55,50'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER NAVBAR
   ========================================================================== */
.site-header {
  background: var(--header-bg);
  height: 85px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #FFFFFF;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: #FFFFFF;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.main-nav a {
  color: var(--header-text);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--header-active);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input {
  background: var(--header-search);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  color: #FFFFFF;
  font-size: 0.85rem;
  width: 180px;
  transition: width 0.3s ease;
}

.header-search input:focus {
  outline: none;
  width: 220px;
  border-color: var(--header-active);
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.header-search-icon {
  position: absolute;
  left: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  pointer-events: none;
}

.header-user-btn {
  color: #FFFFFF;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   SHOP LAYOUT & SIDEBAR
   ========================================================================== */
.shop-section {
  padding: 3rem 0 5rem;
  position: relative;
  z-index: 1;
}

.shop-grid-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Sidebar */
.shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--text-dark);
  border-radius: 4px;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
}

.checkbox-item input[type="checkbox"]:checked::before {
  content: "✓";
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
}

/* Price Range Slider Mockup */
.price-slider-wrap {
  margin-top: 0.5rem;
}

.price-slider-track {
  height: 6px;
  background: #D9D2C5;
  border-radius: 3px;
  position: relative;
  margin: 1rem 0;
}

.price-slider-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--text-dark);
  border-radius: 3px;
}

.price-slider-thumb {
  width: 16px;
  height: 16px;
  background: var(--text-dark);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.price-slider-thumb.left { left: 0; }
.price-slider-thumb.right { right: 0; }

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.btn-clear-all {
  width: 100%;
  padding: 0.65rem 1rem;
  background: transparent;
  border: 1px solid var(--text-dark);
  border-radius: 30px;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-clear-all:hover {
  background: var(--text-dark);
  color: #FFFFFF;
}

/* Sort Bar */
.shop-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* Pro Top Category Pill Bar Above Products Grid */
.top-category-pill-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.25rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.top-category-pill-strip::-webkit-scrollbar {
  height: 4px;
}
.top-category-pill-strip::-webkit-scrollbar-thumb {
  background: rgba(26, 51, 34, 0.2);
  border-radius: 4px;
}

.category-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 30px;
  background: #FFFFFF;
  border: 1px solid rgba(26, 51, 34, 0.12);
  color: #1A3322;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.category-pill-btn:hover {
  border-color: #1A3322;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 51, 34, 0.1);
  color: #1A3322;
}

.category-pill-btn.active {
  background: #1A3322;
  color: #FFFFFF;
  border-color: #1A3322;
  box-shadow: 0 6px 20px rgba(26, 51, 34, 0.25);
}

.category-pill-btn .pill-count-badge {
  background: rgba(0, 0, 0, 0.07);
  color: inherit;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 12px;
}

.category-pill-btn.active .pill-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.sort-label {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.sort-select {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ==========================================================================
   PRODUCT CARDS GRID
   ========================================================================== */
.product-grid-target {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

@media (max-width: 1400px) {
  .product-grid-target {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .product-grid-target {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid-target {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .product-grid-target {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}

.card-wishlist-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  font-size: 1.1rem;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
  z-index: 6;
}
.card-wishlist-heart-btn:hover {
  background: #FFFFFF;
  color: #E53935;
  transform: scale(1.12);
}

.card-floating-plus-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A2E22;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  z-index: 6;
}
.card-floating-plus-btn:hover {
  background: #1A2E22;
  color: #FFFFFF;
  transform: scale(1.12);
}

.target-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(26, 51, 34, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(26,51,34,0.08);
  position: relative;
}

.target-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(26, 51, 34, 0.1);
}

/* Compact Card Image Box */
.card-img-box {
  width: 100%;
  height: 190px;
  background: var(--bg-card-img);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  position: relative;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.target-card:hover .card-img-box img {
  transform: scale(1.06);
}

.card-discount-badge-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #E53935;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
  letter-spacing: 0.5px;
  z-index: 5;
  text-transform: uppercase;
}

.card-info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.card-title-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  text-decoration: none;
}

.card-title-text:hover {
  color: var(--price-sale);
}

.card-cat-pill {
  background: var(--pill-bg);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
  flex-shrink: 0;
}

.card-mrp-text {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.1rem;
}

.card-sale-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--price-sale);
  margin-bottom: 0.65rem;
}

/* Card Quantity & Piece Selector Row */
.card-piece-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FDFBF7;
  border: 1px solid rgba(26, 51, 34, 0.12);
  border-radius: 10px;
  padding: 0.3rem 0.6rem;
  margin-bottom: 0.75rem;
}

.piece-picker-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.piece-picker-btn {
  background: #FFFFFF;
  border: 1px solid rgba(26, 51, 34, 0.18);
  border-radius: 6px;
  width: 24px;
  height: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.piece-picker-btn:hover {
  background: var(--text-dark);
  color: #FFFFFF;
}

.piece-picker-input {
  width: 28px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  outline: none;
}

.piece-stock-badge {
  font-size: 0.725rem;
  font-weight: 600;
}

.piece-stock-badge.in-stock { color: var(--price-sale); }
.piece-stock-badge.out-stock { color: #E53935; }

/* Card Action Buttons Row */
.card-actions-flex {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-card-add-cart {
  flex: 1;
  padding: 0.6rem 0.75rem;
  background: var(--text-dark);
  border: none;
  border-radius: 25px;
  color: #FFFFFF;
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-card-add-cart:hover {
  background: #246B38;
}

.btn-card-details {
  padding: 0.6rem 0.75rem;
  background: #FDFBF7;
  border: 1px solid var(--text-dark);
  border-radius: 25px;
  color: var(--text-dark);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.btn-card-details:hover {
  background: var(--text-dark);
  color: #FFFFFF;
}

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

.target-card:hover .card-img-box img {
  transform: scale(1.06);
}

/* Card Content Header */
.card-info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.card-title-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.card-cat-pill {
  background: var(--pill-bg);
  color: var(--text-dark);
  font-size: 0.725rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
}

/* Pricing */
.card-mrp-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.15rem;
}

.card-sale-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--price-sale);
  margin-bottom: 1.25rem;
}

/* Buttons (Outline & Gold Gradient) */
.btn-card-outline {
  width: 100%;
  padding: 0.75rem;
  background: #FDFBF7;
  border: 1px solid var(--text-dark);
  border-radius: var(--radius-btn);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  margin-top: auto;
}

.btn-card-outline:hover {
  background: var(--text-dark);
  color: #FFFFFF;
}

.btn-card-gold {
  width: 100%;
  padding: 0.75rem;
  background: var(--btn-gold);
  border: none;
  border-radius: var(--radius-btn);
  color: #1A2E1E;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(186, 148, 72, 0.3);
  transition: all 0.2s ease;
  text-align: center;
  margin-top: auto;
}

.btn-card-gold:hover {
  background: var(--btn-gold-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   PAGINATION (Exact Match)
   ========================================================================== */
.target-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3.5rem;
}

.page-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--text-dark);
  background: transparent;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.page-circle.active {
  background: var(--text-dark);
  color: #FFFFFF;
}

.page-circle:hover:not(.active) {
  background: rgba(26, 51, 34, 0.08);
}

/* ==========================================================================
   FLOATING CART FAB BUTTON
   ========================================================================== */
.floating-cart-fab {
  position: fixed;
  bottom: 2rem;
  right: 2.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9999;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-fab:hover {
  transform: scale(1.1);
}

.fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--text-dark);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .product-grid-target { grid-template-columns: repeat(2, 1fr); }
  .shop-grid-wrapper { grid-template-columns: 200px 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .shop-grid-wrapper { grid-template-columns: 1fr; }
  .product-grid-target { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .header-search input { width: 130px; }
}

/* ==========================================================================
   CHECKOUT PAGE EDITORIAL STYLES
   ========================================================================== */
.checkout-section {
  padding: 2.5rem 0 5rem;
  position: relative;
  z-index: 1;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.5rem;
  align-items: start;
}

.checkout-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(26, 51, 34, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.6rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-group.half {
  flex: 1;
}

.form-row {
  display: flex;
  gap: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #FDFBF7;
  border: 1.5px solid rgba(26, 51, 34, 0.15);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--text-dark);
  box-shadow: 0 0 0 4px rgba(26, 51, 34, 0.08);
}

.checkbox-group {
  margin-top: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--text-dark);
}

.btn-pay-now {
  width: 100%;
  padding: 1.1rem 2rem;
  background: var(--btn-gold);
  border: none;
  border-radius: 30px;
  color: #1A2E1E;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(186, 148, 72, 0.35);
  transition: all 0.3s ease;
  margin-top: 2rem;
  text-align: center;
}

.btn-pay-now:hover {
  background: var(--btn-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(186, 148, 72, 0.45);
}

/* Order Summary Card */
.checkout-summary-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(26, 51, 34, 0.05);
  border: 1px solid var(--border-light);
  position: sticky;
  top: 105px;
}

.summary-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.item-img-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card-img);
  flex-shrink: 0;
}

.item-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  flex: 1;
}

.item-title {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.item-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.item-subtotal {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.summary-divider {
  height: 1px;
  background: var(--border-light);
  margin: 1.25rem 0;
}

.summary-cost-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.925rem;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.summary-cost-row.total-row {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.total-amount {
  color: var(--price-sale);
}

.trust-badge-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary-card {
    position: static;
  }
}

/* ==========================================================================
   CENTRALIZED AUTO-HIDING TOAST & NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
  position: fixed !important;
  top: 100px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.75rem !important;
  pointer-events: none !important;
  width: max-content !important;
  max-width: 90vw !important;
}

.toast, .alert {
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.85rem 1.5rem !important;
  border-radius: 40px !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 0.925rem !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
  margin: 0 auto !important;
  position: fixed !important;
  top: 100px !important;
  left: 50% !important;
  transform: translate(-50%, -20px) scale(0.95) !important;
  z-index: 999999 !important;
}

.toast-container .toast {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: translateY(-20px) scale(0.95) !important;
}

.toast.show, .alert.show {
  opacity: 1 !important;
  transform: translate(-50%, 0) scale(1) !important;
}

.toast-container .toast.show {
  transform: translateY(0) scale(1) !important;
}

.toast.hide, .alert.hide {
  opacity: 0 !important;
  transform: translate(-50%, -15px) scale(0.95) !important;
}

.toast-container .toast.hide {
  transform: translateY(-15px) scale(0.95) !important;
}

/* Success Toast Styling */
.toast-success, .alert-success {
  background: linear-gradient(135deg, rgba(20, 39, 28, 0.95) 0%, rgba(14, 28, 20, 0.98) 100%) !important;
  border: 1.5px solid rgba(223, 185, 110, 0.5) !important;
  color: #FDFBF7 !important;
}

/* Error / Warning Toast Styling */
.toast-error, .toast-danger, .toast-warning, .alert-danger, .alert-error, .alert-warning {
  background: linear-gradient(135deg, rgba(60, 20, 20, 0.96) 0%, rgba(40, 10, 10, 0.98) 100%) !important;
  border: 1.5px solid rgba(229, 57, 53, 0.6) !important;
  color: #FFEBEE !important;
}

.toast-icon {
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

.toast-message {
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 70vw !important;
}

.toast-close, .alert-close {
  background: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  color: #FFFFFF !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 0.5rem !important;
  transition: all 0.2s ease !important;
}

.toast-close:hover, .alert-close:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.1) !important;
}

.card-floating-plus-btn {
  display: none !important;
}

.card-discount-badge-overlay {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: #E53935 !important;
  color: #FFFFFF !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.35rem 0.65rem !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3) !important;
  z-index: 2 !important;
  font-family: 'Inter', sans-serif !important;
  pointer-events: none !important;
}

.card-wishlist-heart-btn {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  top: auto !important;
  left: auto !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #E53935 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  z-index: 3 !important;
  transition: all 0.2s ease !important;
}

.card-wishlist-heart-btn:hover {
  transform: scale(1.1) !important;
  background: #FFFFFF !important;
}

.card-wishlist-heart-btn.wishlist-active {
  background: #E53935 !important;
  color: #FFFFFF !important;
}

