/* Alba Custom Prints - Modern Wholesale Platform Styles
   Theme: Jacaranda Purple + Marigold Orange */
:root {
  --primary: #A78BFA;          /* Soft light Jacaranda */
  --primary-dark: #7C3AED;
  --primary-deeper: #6D28D9;
  --primary-light: #DDD6FE;
  --primary-soft: #F5F3FF;
  --primary-glow: rgba(167, 139, 250, 0.4);
  --secondary: #1E1B4B;
  --accent: #F59E0B;           /* Marigold */
  --accent-bright: #FCD34D;
  --accent-dark: #D97706;
  --accent-soft: #FEF3C7;
  --accent-glow: rgba(245, 158, 11, 0.45);
  --bg: #FAF8FF;
  --bg-card: rgba(255, 255, 255, 0.88);
  --text: #1E1B4B;
  --text-muted: #5B5675;
  --border: #DDD6FE;
  --success: #10B981;
  --danger: #EF4444;
  --shadow: 0 4px 20px -4px rgb(109 40 217 / 0.18), 0 2px 8px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 20px 50px -12px rgb(109 40 217 / 0.28), 0 10px 20px -8px rgb(245 158 11 / 0.15);
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: #FAF8FF;
  /* Soft light purple-peach sky + subtle floral feel */
  background-image:
    radial-gradient(ellipse 100% 60% at 10% 0%, rgba(196, 181, 253, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 90% 10%, rgba(253, 230, 138, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(221, 214, 254, 0.5) 0%, transparent 55%),
    linear-gradient(180deg, #F5F3FF 0%, #FAF8FF 40%, #FFFBEB 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.main {
  position: relative;
  z-index: 2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--primary-dark);
}

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

/* Header – frosted glass over photo background */
.header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(221, 214, 254, 0.7);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(76, 29, 149, 0.12);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary);
  white-space: nowrap;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}
.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: rgba(13, 148, 136, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-btn {
  position: relative;
  background: var(--secondary);
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.cart-btn:hover {
  background: var(--primary);
  transform: scale(1.05);
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

/* Main content */
.main {
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 1.5rem 1.25rem 3rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #5B21B6 0%, #6D28D9 40%, #7C3AED 70%, #D97706 140%);
  color: white;
  border-radius: var(--radius);
  padding: 3.5rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  max-width: 520px;
}
.hero-search {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  background: white;
  border-radius: 50px;
  padding: 0.35rem;
  box-shadow: var(--shadow-lg);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 50px;
  color: var(--text);
}
.hero-search button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-search button:hover {
  background: var(--primary-dark);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
  font-size: 0.875rem;
  opacity: 0.9;
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Sections */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--secondary);
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 560px;
}

/* Categories grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.category-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.category-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.category-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* How it works */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Product grid */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 900px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
}

.filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
}
.filters h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}
.filter-group {
  margin-bottom: 1.25rem;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  cursor: pointer;
  color: var(--text-muted);
}
.filter-group label:hover {
  color: var(--text);
}
.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
  accent-color: var(--primary);
}

.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  flex: 1;
  max-width: 360px;
}
.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
  background: transparent;
  padding: 0.35rem;
}
.results-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.sort-select {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.9rem;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateY(-3px);
}
.product-card .img-wrap {
  aspect-ratio: 1;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover img {
  transform: scale(1.05);
}
.product-card .badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.product-card .info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .sku {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
  margin-bottom: 0.25rem;
}
.product-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  color: var(--secondary);
}
.product-card .price {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.product-card .min-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.product-card .add-btn {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.55rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s;
}
.product-card .add-btn:hover {
  background: var(--primary);
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}
.product-detail .gallery {
  background: #f1f5f9;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.product-detail .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail .sku-label {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.product-detail h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}
.product-detail .price-range {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.product-detail .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.product-detail .desc {
  margin-bottom: 1.5rem;
  color: var(--text);
}
.specs {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  font-size: 0.9rem;
  gap: 0.5rem;
}
.spec-row strong {
  color: var(--text-muted);
  font-weight: 500;
}
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.swatch {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
}
.swatch:hover,
.swatch.selected {
  border-color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.qty-row label {
  font-weight: 500;
  font-size: 0.9rem;
}
.qty-input {
  width: 90px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  text-align: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-secondary {
  background: var(--secondary);
  color: white;
}
.btn-secondary:hover {
  background: #334155;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}
.cart-items {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
}
.cart-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.cart-item .sku {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}
.cart-item .line-price {
  font-weight: 600;
  color: var(--primary-dark);
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cart-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
.cart-qty input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem;
}
.remove-btn {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}
.cart-summary h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.summary-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  color: var(--primary-dark);
}
.empty-cart {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}
.empty-cart .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Checkout / Payment */
.checkout-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.payment-methods {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
}
.payment-option {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.9rem;
}
.payment-option:hover,
.payment-option.selected {
  border-color: var(--primary);
  background: rgba(13, 148, 136, 0.06);
}
.payment-option.selected {
  box-shadow: 0 0 0 2px var(--primary);
}

/* Pages: About, Contact, Suppliers */
.page-header {
  margin-bottom: 2rem;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.page-header p {
  color: var(--text-muted);
  max-width: 600px;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.content-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}
.content-card p,
.content-card li {
  color: var(--text);
  margin-bottom: 0.75rem;
}
.content-card ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.contact-item span,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: #cbd5e1;
  padding: 3rem 1.25rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
.footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.footer a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
}
.footer a:hover {
  color: var(--primary-light);
}
.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--secondary);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  max-width: 320px;
  font-size: 0.9rem;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success {
  background: var(--success);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pagination button {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}
.pagination button:hover,
.pagination button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Admin note */
.admin-note {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: #92400e;
}

/* Loading / empty states */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.empty-state h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero {
    padding: 2.5rem 1.25rem;
  }
  .hero-search {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 0.5rem;
  }
  .hero-search input,
  .hero-search button {
    border-radius: var(--radius-sm);
    width: 100%;
  }
}

/* ========== Security & Accessibility helpers ========== */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  tab-index: -1;
}

/* Better mobile touch targets & spacing */
@media (max-width: 768px) {
  .header-inner {
    padding: 0.65rem 1rem;
  }
  .logo {
    font-size: 1.05rem;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .main {
    padding: 1rem 0.9rem 2.5rem;
  }
  .hero {
    padding: 2rem 1.1rem;
    border-radius: 10px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.85rem;
  }
  .product-card .info {
    padding: 0.75rem;
  }
  .product-card h3 {
    font-size: 0.85rem;
  }
  .product-detail {
    padding: 1.25rem;
    gap: 1.5rem;
  }
  .cart-item {
    grid-template-columns: 70px 1fr;
    gap: 0.75rem;
  }
  .cart-item .line-price {
    grid-column: 1 / -1;
    text-align: right;
    padding-top: 0.35rem;
  }
  .btn, .btn-lg {
    min-height: 44px; /* touch target */
  }
  .nav a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .filters {
    position: static;
  }
  .page-header h1 {
    font-size: 1.5rem;
  }
  .content-card {
    padding: 1.25rem;
  }
  .footer-inner {
    gap: 1.5rem;
  }
}

/* Legal page specific */
.legal-content h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.legal-content h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}
.legal-content p, .legal-content li {
  font-size: 0.925rem;
  margin-bottom: 0.65rem;
}
.legal-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* Support page */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.support-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}
.support-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.support-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Security notice banner */
.security-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  text-align: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

/* ========== Dropdown Navigation ========== */
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-item {
  position: relative;
}
.nav-item > a,
.nav-item > button.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-item > a:hover,
.nav-item > button.nav-link:hover,
.nav-item > a.active,
.nav-item.open > button.nav-link {
  color: var(--primary);
  background: rgba(109, 40, 217, 0.08);
}
.nav-item .chevron {
  font-size: 0.65rem;
  transition: transform 0.2s;
}
.nav-item.open .chevron {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 200;
}
.nav-item.open .dropdown,
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: var(--text);
  font-size: 0.9rem;
  border-radius: 6px;
  font-weight: 500;
}
.dropdown a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.dropdown .dropdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem 0.2rem;
  font-weight: 600;
}

/* ========== Ad / Sponsor slots ========== */
.ad-slot {
  background: linear-gradient(135deg, rgba(109,40,217,0.04), rgba(245,158,11,0.05));
  border: 1px dashed rgba(109, 40, 217, 0.25);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
  min-height: 90px;
  padding: 1rem;
}
.ad-slot::before {
  content: "Advertisement";
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0.7;
}
.ad-slot.banner {
  min-height: 100px;
  margin-bottom: 1.5rem;
}
.ad-slot.sidebar {
  min-height: 250px;
  margin-bottom: 1.25rem;
}
.ad-slot.inline {
  min-height: 80px;
  margin: 1.5rem 0;
}
.ad-slot .ad-placeholder {
  font-weight: 600;
  color: var(--primary);
  opacity: 0.6;
  font-size: 0.9rem;
}
.ad-slot .ad-cta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
}
.sponsor-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 2rem 0;
}
.sponsor-bar .sponsor-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  margin-bottom: 0.25rem;
}
.sponsor-logo {
  width: 100px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-dark);
  opacity: 0.85;
}

/* Hero with new theme */
.hero {
  background: linear-gradient(135deg, #5B21B6 0%, #6D28D9 40%, #7C3AED 70%, #D97706 140%);
  color: white;
  border-radius: var(--radius);
  padding: 3.5rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 180%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.hero-search button {
  background: var(--accent);
  color: #1E1B4B;
}
.hero-search button:hover {
  background: var(--accent-dark);
  color: white;
}

/* Buttons use new primary */
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-secondary {
  background: var(--secondary);
  color: white;
}
.cart-btn {
  background: var(--secondary);
}
.cart-btn:hover {
  background: var(--primary);
}
.cart-count {
  background: var(--accent);
  color: #1E1B4B;
}
.logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.logo span {
  color: var(--primary);
}
.product-card:hover {
  border-color: var(--primary-light);
}
.product-card .badge {
  background: var(--accent);
  color: #1E1B4B;
}
.product-card .add-btn:hover,
.step-num {
  background: var(--primary);
}
.category-card:hover {
  border-color: var(--primary);
}
.security-banner {
  background: var(--primary-soft);
  border-color: #C4B5FD;
  color: var(--primary-dark);
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item {
    width: 100%;
  }
  .nav-item > a,
  .nav-item > button.nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(109, 40, 217, 0.04);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0 0.5rem 0.5rem;
  }
  .nav-item.open .dropdown {
    display: block;
  }
  .nav-item:hover .dropdown {
    /* only open on click for mobile */
  }
}

/* ========== SPICED UP COMPONENTS ========== */
.header {
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(243,232,255,0.8) 55%, rgba(255,248,235,0.75) 100%);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #8B5CF6, #F59E0B, #8B5CF6) 1;
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.15);
}

.logo-icon {
  background: linear-gradient(135deg, #7C3AED, #A78BFA) !important;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary, .cart-btn, #hero-search-btn, .nav-link:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 50%, #5B21B6 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px var(--primary-glow);
  border: none;
}
.btn-primary:hover, #hero-search-btn:hover {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
  box-shadow: 0 6px 20px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-accent, .add-to-cart-btn {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #1E1B4B !important;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-accent:hover, .add-to-cart-btn:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
  transform: translateY(-1px);
}

.product-card, .category-card, .step, .card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover, .category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.hero {
  background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(245,158,11,0.1) 50%, rgba(167,139,250,0.08) 100%) !important;
  border: 1px solid rgba(124,58,237,0.2);
  box-shadow: var(--shadow-lg);
}

.section-title {
  background: linear-gradient(90deg, #7C3AED, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* ========== ROLLING HOT PRODUCTS BANNER ========== */
.hot-banner {
  background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 35%, #D97706 70%, #F59E0B 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(91, 33, 182, 0.35);
}
.hot-banner-label {
  flex-shrink: 0;
  background: rgba(0,0,0,0.25);
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  gap: 0.4rem;
}
.hot-track {
  display: flex;
  gap: 2.5rem;
  animation: hot-scroll 35s linear infinite;
  white-space: nowrap;
  padding-left: 1.5rem;
}
.hot-track:hover { animation-play-state: paused; }
.hot-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.95;
}
.hot-item:hover { opacity: 1; text-decoration: underline; }
.hot-item .hot-price {
  background: rgba(255,255,255,0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
@keyframes hot-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== DESIGNER TOOL ========== */
.designer-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}
.designer-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .designer-grid { grid-template-columns: 1fr; }
}
.designer-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.designer-panel h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}
.designer-panel label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.6rem 0 0.25rem;
  color: var(--text-muted);
}
.designer-panel input[type="text"],
.designer-panel input[type="number"],
.designer-panel select {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.designer-panel input[type="color"] {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.canvas-wrap {
  background: #1E1B4B;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
#design-canvas {
  background: #fff;
  border-radius: 8px;
  max-width: 100%;
  cursor: crosshair;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.designer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.tool-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}
.tool-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--accent);
}
.tool-btn:hover { filter: brightness(1.05); }

/* Stronger ad slots */
.ad-slot {
  background: linear-gradient(135deg, #EDE9FE 0%, #FEF3C7 100%);
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius);
}
.ad-placeholder {
  color: var(--primary-dark) !important;
  font-weight: 700;
}

/* Smart Pricing Assistant */
.pricing-assistant {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #EDE9FE 0%, #FEF3C7 100%);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pricing-assistant h4 {
  margin: 0 0 0.35rem;
  color: var(--primary-dark);
  font-size: 1.05rem;
}
.pa-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.pa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.pa-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  border: 1px solid var(--border);
}
.pa-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}
.pa-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.pa-card strong {
  font-size: 1.15rem;
  color: var(--secondary);
}
.pa-card.highlight strong {
  color: var(--accent-dark);
}
.pa-margin {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}
.pa-margin.ok { color: #047857; }
.pa-margin.warn { color: #B45309; }
.pa-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}


/* ========== PHOTO BACKGROUND POLISH ========== */
.footer {
  background: linear-gradient(180deg, #F5F3FF 0%, #EDE9FE 100%) !important;
  color: var(--secondary) !important;
  border-top: 1px solid var(--border);
}
.footer a { color: var(--primary-dark) !important; }
.footer a:hover { color: var(--accent-dark) !important; }
.footer h4 { color: var(--primary-dark) !important; }
.footer-bottom { border-top-color: var(--border) !important; color: var(--text-muted) !important; }

.product-card,
.category-card,
.step,
.card,
.filters,
.designer-panel,
.pricing-assistant {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-card:hover,
.category-card:hover {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Hero with richer glow over photo */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.92) 0%, rgba(109, 40, 217, 0.85) 40%, rgba(217, 119, 6, 0.75) 100%) !important;
  border: 1px solid rgba(196, 181, 253, 0.4) !important;
  box-shadow: 0 20px 60px rgba(76, 29, 149, 0.35) !important;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(252, 211, 77, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.3) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

.security-banner {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.35);
  backdrop-filter: blur(8px);
}

.hot-banner {
  box-shadow: 0 4px 20px rgba(91, 33, 182, 0.4) !important;
}

/* Mobile: fixed backgrounds can be heavy — simplify */
@media (max-width: 768px) {
  .float-decor { opacity: 0.55; }
}

/* ========== FLOATING FLOWERS & BUTTERFLIES ========== */
.float-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.float-item {
  position: absolute;
  font-size: 1.45rem;
  opacity: 0.6;
  animation: float-drift linear infinite;
  will-change: transform;
  filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.12));
  user-select: none;
}
.float-item.f2 { font-size: 1.15rem; opacity: 0.45; }
.float-item.f3 { font-size: 1.8rem; opacity: 0.55; }
.float-item.butterfly { font-size: 1.3rem; opacity: 0.7; }

@keyframes float-drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%  { transform: translate3d(14px, -28vh, 0) rotate(10deg); }
  50%  { transform: translate3d(-12px, -55vh, 0) rotate(-8deg); }
  75%  { transform: translate3d(20px, -80vh, 0) rotate(12deg); }
  100% { transform: translate3d(0, -115vh, 0) rotate(0deg); }
}

/* Soft blossom pattern across the page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%23A78BFA' fill-opacity='0.22'%3E%3Ccircle cx='24' cy='24' r='3.5'/%3E%3Ccircle cx='33' cy='17' r='3'/%3E%3Ccircle cx='33' cy='31' r='3'/%3E%3Ccircle cx='15' cy='17' r='3'/%3E%3Ccircle cx='15' cy='31' r='3'/%3E%3Ccircle cx='24' cy='24' r='1.8' fill='%23F59E0B' fill-opacity='0.55'/%3E%3C/g%3E%3Cg fill='%23F59E0B' fill-opacity='0.14'%3E%3Ccircle cx='95' cy='85' r='3'/%3E%3Ccircle cx='102' cy='79' r='2.4'/%3E%3Ccircle cx='102' cy='91' r='2.4'/%3E%3Ccircle cx='88' cy='79' r='2.4'/%3E%3Ccircle cx='88' cy='91' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px;
}

/* =========================================================
   FORCE LIGHT THEME — every page
   ========================================================= */
:root {
  --primary: #A78BFA !important;
  --primary-dark: #8B5CF6 !important;
  --primary-light: #DDD6FE !important;
  --primary-soft: #F5F3FF !important;
  --bg: #FAF8FF !important;
  --bg-card: #FFFFFF !important;
  --text: #2E1065 !important;
  --text-muted: #6B7280 !important;
  --border: #E9D5FF !important;
}

html, body {
  background-color: #FAF8FF !important;
  color: #2E1065 !important;
}

body {
  background-image:
    radial-gradient(ellipse 100% 55% at 0% 0%, rgba(216, 180, 254, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(254, 243, 199, 0.55) 0%, transparent 50%),
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(233, 213, 255, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #F5F3FF 0%, #FAF8FF 35%, #FFFBEB 100%) !important;
  background-attachment: fixed !important;
}

/* Hero — light soft purple/peach, not dark */
.hero {
  background: linear-gradient(135deg, #EDE9FE 0%, #F5F3FF 40%, #FEF3C7 100%) !important;
  color: #2E1065 !important;
  border: 1px solid #E9D5FF !important;
  box-shadow: 0 12px 40px rgba(167, 139, 250, 0.2) !important;
}
.hero h1, .hero p, .hero .hero-content {
  color: #2E1065 !important;
}
.hero h1 {
  background: linear-gradient(90deg, #7C3AED, #D97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-badges span {
  background: rgba(255,255,255,0.85) !important;
  color: #5B21B6 !important;
  border: 1px solid #E9D5FF;
}
.hero-search {
  background: #fff !important;
  border: 1px solid #E9D5FF !important;
}
.hero-search button {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6) !important;
  color: #fff !important;
}

/* Header already glass — reinforce light */
.header {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid #E9D5FF !important;
}

/* Cards / panels */
.product-card, .category-card, .step, .card, .filters,
.designer-panel, .pricing-assistant, .spec-row,
.empty-state, .legal-content, .support-card {
  background: #FFFFFF !important;
  color: #2E1065 !important;
  border-color: #E9D5FF !important;
}

/* Buttons — soft purple / marigold, not near-black */
.btn-primary, .cart-btn, #hero-search-btn {
  background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(167, 139, 250, 0.35) !important;
}
.btn-accent, .add-to-cart-btn {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
  color: #1E1B4B !important;
}

/* Hot banner — lighter gradient */
.hot-banner {
  background: linear-gradient(90deg, #C4B5FD 0%, #A78BFA 30%, #FBBF24 70%, #F59E0B 100%) !important;
  color: #1E1B4B !important;
}
.hot-banner-label {
  background: rgba(255,255,255,0.35) !important;
  color: #4C1D95 !important;
}
.hot-item { color: #1E1B4B !important; }
.hot-item .hot-price {
  background: rgba(255,255,255,0.5) !important;
  color: #5B21B6 !important;
}

/* Footer — light */
.footer {
  background: linear-gradient(180deg, #F5F3FF 0%, #EDE9FE 100%) !important;
  color: #2E1065 !important;
  border-top: 1px solid #E9D5FF !important;
}
.footer h4 { color: #7C3AED !important; }
.footer p, .footer a { color: #5B5675 !important; }
.footer a:hover { color: #D97706 !important; }
.footer-bottom {
  border-top: 1px solid #E9D5FF !important;
  color: #6B7280 !important;
}

/* Section titles stay gradient but readable */
.section-title {
  background: linear-gradient(90deg, #8B5CF6, #F59E0B) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Logo icon softer */
.logo-icon {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6) !important;
}

/* Nav links */
.nav a, .nav-link {
  color: #2E1065 !important;
}
.nav a:hover, .nav a.active, .nav-link:hover {
  color: #7C3AED !important;
}
.dropdown {
  background: #fff !important;
  border: 1px solid #E9D5FF !important;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15) !important;
}

/* Security banner light */
.security-banner {
  background: rgba(209, 250, 229, 0.9) !important;
  color: #065F46 !important;
  border: 1px solid #6EE7B7 !important;
}

/* Ad slots light */
.ad-slot {
  background: linear-gradient(135deg, #F5F3FF 0%, #FEF3C7 100%) !important;
  border: 2px dashed #C4B5FD !important;
}
.ad-placeholder { color: #7C3AED !important; }

/* Ensure float layer sits behind content but visible */
.float-decor {
  z-index: 1 !important;
}
.header, .main, .footer, .hot-banner {
  position: relative;
  z-index: 2;
}
.header { z-index: 100 !important; }

/* Product silhouette wash (subtle, transparent) */
body {
  background-image:
    radial-gradient(ellipse 100% 55% at 0% 0%, rgba(216, 180, 254, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(254, 243, 199, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(233, 213, 255, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #F5F3FF 0%, #FAF8FF 35%, #FFFBEB 100%),
    url("https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?w=900&q=40"),
    url("https://images.unsplash.com/photo-1602143407151-7111542de6e8?w=900&q=40") !important;
  background-size: auto, auto, auto, auto, 420px, 380px !important;
  background-repeat: no-repeat !important;
  background-position: 0 0, 100% 0, 50% 100%, center, 5% 70%, 92% 40% !important;
  background-blend-mode: normal, normal, normal, normal, soft-light, soft-light !important;
  background-attachment: fixed !important;
}

#d-upload {
  width: 100%;
  padding: 0.5rem;
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  font-size: 0.85rem;
  cursor: pointer;
}
#d-upload:hover {
  border-color: var(--primary);
  background: #fff;
}
.canvas-wrap canvas {
  max-width: 100%;
  height: auto;
  background: #fff;
  border-radius: 12px;
}


.designer-hero-note {
  background: linear-gradient(135deg, #EDE9FE, #FEF3C7);
  border: 2px solid #C4B5FD;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  color: #2E1065;
  font-size: 0.95rem;
  line-height: 1.5;
}
.designer-panel h3 {
  color: #7C3AED !important;
  font-size: 1rem !important;
  border-bottom: 2px solid #E9D5FF;
  padding-bottom: 0.35rem;
  margin-top: 0.5rem;
}
#d-mockup, #d-scale, #d-text, #d-size {
  border: 2px solid #E9D5FF !important;
  border-radius: 10px !important;
  padding: 0.55rem 0.65rem !important;
  background: #fff !important;
}
.canvas-wrap {
  background: linear-gradient(160deg, #EDE9FE, #FFF7ED) !important;
  border: 2px solid #C4B5FD !important;
}

/* Designer pro tools */
.icon-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.icon-chip {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid #E9D5FF;
  background: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.icon-chip:hover {
  border-color: #A78BFA;
  background: #F5F3FF;
  transform: scale(1.08);
}
.designer-panel input[type="range"] {
  width: 100%;
  accent-color: #8B5CF6;
  margin: 0.15rem 0 0.55rem;
}
.designer-panel label span {
  font-weight: 700;
  color: #7C3AED;
}
