/* ==========================================================================
   a2z Digital Store - Main Stylesheet
   Matching Reference UI Mockup Exactly
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #6366F1;
  --primary-hover: #4F46E5;
  --primary-gradient: linear-gradient(135deg, #7C3AED 0%, #6366F1 50%, #4F46E5 100%);
  --promo-gradient: linear-gradient(135deg, #7C3AED 0%, #9333EA 45%, #C026D3 100%);
  --hero-glow: radial-gradient(circle at 75% 30%, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.08) 35%, transparent 70%);
  
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.09);
  --shadow-hover: 0 20px 40px rgba(99, 102, 241, 0.16);
  
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-img: 16px;
  --radius-input: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

/* Global Minimalist Thin Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation (Exact Reference UI)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #4F46E5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.2px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Search Bar Pill */
.header-search {
  flex: 1;
  max-width: 340px;
  position: relative;
}

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

.search-input {
  width: 100%;
  height: 42px;
  background: #F1F5F9;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0 16px 0 38px;
  font-size: 13.5px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.search-input::placeholder {
  color: #94A3B8;
}

.search-input:focus {
  background: #FFFFFF;
  border-color: #C7D2FE;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  color: #94A3B8;
  pointer-events: none;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.action-icon-btn:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: var(--primary);
  transform: translateY(-1px);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.4);
}

.btn-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-signin:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
}

.btn-admin {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: var(--primary);
}

.btn-admin:hover {
  background: #E0E7FF;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section (Exact Reference UI)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--hero-glow);
  padding: 70px 0 40px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: #0F172A;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 32px;
  font-weight: 450;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  background: #6C5CE7;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-pill:hover {
  background: #5B4BC4;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(108, 92, 231, 0.45);
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  background: #FFFFFF;
  color: #334155;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-pill:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 540px;
  filter: drop-shadow(0 20px 30px rgba(99, 102, 241, 0.12));
  animation: floatSlow 6s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   Filter Pills Bar (Exact Reference UI)
   ========================================================================== */
.filter-pills-section {
  padding: 24px 0 16px;
}

.filter-pills-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-pills-wrapper::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}

.filter-pill.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.filter-pill svg, .filter-pill span.icon {
  font-size: 14px;
}

/* ==========================================================================
   Trending Digital Assets Grid (Exact Reference UI)
   ========================================================================== */
.trending-section {
  padding: 20px 0 60px;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
}

.view-all-link {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #F1F5F9;
  overflow: hidden;
}

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

.product-card:hover .card-media-wrapper img {
  transform: scale(1.04);
}

/* Floating Wishlist Heart */
.btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-wishlist:hover {
  color: #EF4444;
  transform: scale(1.1);
  background: #FFFFFF;
}

.btn-wishlist.active {
  color: #EF4444;
}

.btn-wishlist.active svg {
  fill: #EF4444;
}

/* Card Body */
.card-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a:hover {
  color: var(--primary);
}

.card-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.author-avatar-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
}

.card-rating {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}

.star-icon {
  color: #F59E0B;
}

.card-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748B;
  margin-bottom: 14px;
}

.card-stats-row.has-discount {
  justify-content: space-between;
}

.card-stats-row.no-discount {
  justify-content: flex-start;
}

.card-stats-meta,
.card-stats-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-stats-row .card-rating {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  color: #0F172A;
}

.card-stats-row .star-icon {
  color: #F59E0B;
  font-size: 13px;
}

.card-stats-row .rating-val {
  font-weight: 800;
  color: #0F172A;
}

.card-stats-row .reviews-count {
  color: #94A3B8;
  font-weight: 400;
  font-size: 11.5px;
}

.card-stats-row .stats-dot {
  color: #94A3B8;
  font-size: 11px;
}

.card-stats-row .card-sales-count {
  color: #475569;
  font-weight: 500;
  font-size: 12px;
}

/* Card Footer (Price & Add to Cart) */
.card-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.original-price {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 500;
}

.current-price {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 13px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.btn-add-cart.added {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
}

.btn-buy-now-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 16px;
  background: #0F172A;
  color: #FFFFFF !important;
  border: 1px solid #0F172A;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  text-decoration: none;
}

.btn-buy-now-card:hover {
  background: #1E293B;
  border-color: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.28);
  color: #FFFFFF !important;
}

.btn-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 14px;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.btn-buy-now:hover {
  background: #1E293B;
  border-color: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.discount-badge-100 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #10B981;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  line-height: 1.2;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  white-space: nowrap;
  user-select: none;
}

.discount-badge-sale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F97316;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  line-height: 1.2;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
  white-space: nowrap;
  user-select: none;
}

.card-purchased-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: #10B981;
  user-select: none;
}

.card-purchased-badge svg {
  display: block;
  flex-shrink: 0;
}

/* Pagination Dots */
.pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: #0F172A;
}

/* ==========================================================================
   Promo Banner (Exact Reference UI)
   ========================================================================== */
.promo-section {
  padding: 30px 0 60px;
}

.promo-banner {
  background: var(--promo-gradient);
  border-radius: 28px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
}

.promo-content {
  position: relative;
  z-index: 2;
}

.promo-title {
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.promo-sub {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.5;
}

.btn-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  background: #FFFFFF;
  color: #6B21A8;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.btn-promo:hover {
  background: #FDF4FF;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.promo-pill-active {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
  color: #D1FAE5;
}

.promo-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-promo-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.btn-promo-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.promo-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.promo-visual img {
  max-width: 320px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

/* ==========================================================================
   Features Section ("Built for Creators, Designed for Quality")
   ========================================================================== */
.features-section {
  padding: 30px 0 70px;
}

.features-header {
  text-align: center;
  margin-bottom: 44px;
}

.features-title {
  font-size: 30px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.8px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.5;
}

/* ==========================================================================
   Testimonials Section ("Loved by Creators & Designers")
   ========================================================================== */
.testimonials-section {
  padding: 30px 0 80px;
  background: #F8FAFC;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 44px;
}

.testimonials-title {
  font-size: 30px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.8px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.user-avatar-lg {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
}

.user-info-role {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

/* ==========================================================================
   Footer (Exact Dark Slate Reference UI)
   ========================================================================== */
.site-footer {
  background: #0B0F19;
  color: #94A3B8;
  padding: 64px 0 32px;
  border-top: 1px solid #1E293B;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.6fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 13.5px;
  color: #94A3B8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* Newsletter Col */
.newsletter-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.newsletter-box {
  display: flex;
  align-items: center;
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: var(--radius-pill);
  padding: 4px 5px 4px 16px;
  margin-top: 10px;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 13px;
  color: #FFFFFF;
  outline: none;
}

.newsletter-input::placeholder {
  color: #64748B;
}

.btn-newsletter {
  padding: 8px 18px;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-newsletter:hover {
  background: #E2E8F0;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid #1E293B;
  font-size: 12.5px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-links a {
  color: #94A3B8;
  transition: color 0.2s ease;
}

.footer-social-links a:hover {
  color: #FFFFFF;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ==========================================================================
   Cart Drawer & Modal
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
}

.btn-close-cart {
  background: none;
  border: none;
  font-size: 22px;
  color: #64748B;
  cursor: pointer;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 60px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #F1F5F9;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.btn-remove-item {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.btn-remove-item:hover {
  color: #EF4444;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: #F8FAFC;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
}

.btn-checkout {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: #FFFFFF;
  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 0.2s ease;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-checkout:hover {
  background: linear-gradient(135deg, #4F46E5, #4338CA);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

/* ==========================================================================
   Checkout Popup Modal
   Triggered on "Buy Now" or "Proceed to Pay"
   ========================================================================== */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
  box-sizing: border-box;
}

.checkout-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkout-modal-container {
  background: #FFFFFF;
  border-radius: 22px;
  width: 100%;
  max-width: 530px;
  max-height: calc(100vh - 40px);
  margin: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(226, 232, 240, 0.8);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.checkout-modal-overlay.active .checkout-modal-container {
  transform: translateY(0) scale(1);
}

.checkout-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  flex-shrink: 0;
}

.checkout-modal-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-modal-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  color: #6366F1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.checkout-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.2;
}

.checkout-modal-subtitle {
  font-size: 12px;
  color: #64748B;
  margin-top: 3px;
}

.checkout-modal-close {
  background: #F1F5F9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkout-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.checkout-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.checkout-modal-body::-webkit-scrollbar {
  width: 5px;
}

.checkout-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.checkout-modal-body::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

.checkout-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Order Summary Box */
.checkout-order-summary {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.checkout-order-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
}

.checkout-summary-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkout-summary-badge {
  font-size: 11.5px;
  font-weight: 700;
  background: #EEF2FF;
  color: #4F46E5;
  padding: 2px 10px;
  border-radius: 9999px;
}

.checkout-items-list {
  max-height: none;
  overflow: visible;
  margin-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.checkout-items-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #F1F5F9;
}

.checkout-item-row:last-child {
  border-bottom: none;
}

.checkout-item-img {
  width: 44px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  background: #E2E8F0;
  flex-shrink: 0;
}

.checkout-item-details {
  flex: 1;
  min-width: 0;
}

.checkout-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item-sub {
  font-size: 11px;
  color: #94A3B8;
}

.checkout-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #6366F1;
  white-space: nowrap;
}

.checkout-pricing-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed #CBD5E1;
}

.checkout-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #64748B;
}

.checkout-discount-applied {
  background: #F0FDF4;
  border: 1px dashed #86EFAC;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  color: #16A34A;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coupon-pill-applied {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}

.coupon-pill-applied svg {
  stroke: #16A34A;
}

.discount-deduction {
  font-size: 14px;
  font-weight: 800;
  color: #16A34A;
}

.checkout-signin-incentive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EEF2FF;
  border: 1px dashed #A5B4FC;
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 2px 0;
}

.checkout-signin-incentive:hover {
  background: #E0E7FF;
  border-color: #818CF8;
}

.incentive-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #3730A3;
}

.incentive-badge {
  background: #4F46E5;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.btn-incentive-signin {
  background: #FFFFFF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed #CBD5E1;
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
}

.checkout-total-amount {
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
}

/* Cart Drawer Pricing Breakdown */
.cart-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #64748B;
  font-weight: 600;
}

.cart-discount-row {
  font-size: 12.5px;
  color: #16A34A;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F0FDF4;
  border: 1px dashed #86EFAC;
  border-radius: 8px;
  padding: 6px 10px;
}

.cart-discount-tag {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-discount-val {
  font-weight: 800;
}

.cart-guest-discount-tip {
  background: #EEF2FF;
  border: 1px dashed #A5B4FC;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: #4338CA;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.cart-guest-discount-tip:hover {
  background: #E0E7FF;
}

.cart-guest-discount-tip .tip-cta {
  font-weight: 800;
  text-decoration: underline;
}

.cart-final-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed #CBD5E1;
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
}

/* Success Popup Pricing Summary */
.success-pricing-breakdown {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 14px 0 20px;
  font-size: 13px;
  text-align: left;
}

.success-pricing-breakdown .price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  color: #64748B;
}

.success-pricing-breakdown .price-line.discount {
  color: #16A34A;
  font-weight: 700;
}

.success-pricing-breakdown .price-line.total {
  border-top: 1px dashed #CBD5E1;
  margin-top: 6px;
  padding-top: 6px;
  font-weight: 800;
  font-size: 14.5px;
  color: #0F172A;
}

/* Form Styles */
.checkout-form-group {
  margin-bottom: 16px;
}

.checkout-form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
}

.checkout-form-label small {
  font-size: 11px;
  font-weight: 500;
  color: #64748B;
}

.checkout-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.checkout-input-icon {
  position: absolute;
  left: 12px;
  color: #94A3B8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #0F172A;
  background: #FFFFFF;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.checkout-input:focus {
  border-color: #6366F1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.checkout-phone-group {
  display: flex;
  gap: 8px;
}

.checkout-country-select {
  width: 135px;
  flex-shrink: 0;
  height: 44px;
  padding: 0 10px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  background: #F8FAFC;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  box-sizing: border-box;
  cursor: pointer;
}

.checkout-country-select:focus {
  border-color: #6366F1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.checkout-phone-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: #0F172A;
  box-sizing: border-box;
}

.checkout-phone-input::placeholder,
.checkout-input::placeholder,
.signin-input::placeholder {
  color: #94A3B8 !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  opacity: 1;
}

.checkout-phone-input:focus {
  border-color: #6366F1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.checkout-form-hint {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Trust Pill */
.checkout-trust-pill {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #3730A3;
  line-height: 1.4;
}

.checkout-trust-pill svg {
  flex-shrink: 0;
}

/* Proceed to Pay CTA */
.btn-proceed-pay {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
  transition: all 0.2s ease;
}

.btn-proceed-pay:hover:not(:disabled) {
  background: linear-gradient(135deg, #4F46E5, #4338CA);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

.btn-proceed-pay:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   User Profile Dropdown & Google Sign-In Components
   ========================================================================== */
.user-profile-menu-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-avatar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 2px solid #E2E8F0;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-avatar-btn:hover,
.user-profile-menu-container:hover .user-avatar-btn {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  transform: scale(1.04);
}

.user-avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* User Profile Dropdown (Hover + Active state) */
.user-profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 14px 35px -5px rgba(15, 23, 42, 0.15), 0 8px 12px -6px rgba(15, 23, 42, 0.08);
  padding: 8px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  pointer-events: none;
}

/* Show on container hover or when class 'active' is present */
.user-profile-menu-container:hover .user-profile-dropdown,
.user-profile-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown Bridge to prevent cursor flicker */
.user-profile-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.user-dropdown-header {
  padding: 10px 12px 8px;
}

.user-dropdown-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.user-dropdown-email {
  font-size: 12px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.user-dropdown-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 6px 0;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.user-dropdown-item:hover {
  background: #F8FAFC;
  color: #6366F1;
  transform: translateX(2px);
}

.user-dropdown-item svg {
  color: #64748B;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.user-dropdown-item:hover svg {
  color: #6366F1;
}

.user-dropdown-item.admin-item {
  color: #4F46E5;
  background: #EEF2FF;
}

.user-dropdown-item.admin-item:hover {
  background: #E0E7FF;
  color: #4338CA;
}

.user-dropdown-item.admin-item svg {
  color: #4F46E5;
}

.user-dropdown-item.signout-item {
  color: #EF4444;
}

.user-dropdown-item.signout-item:hover {
  background: #FEF2F2;
  color: #DC2626;
}

.user-dropdown-item.signout-item svg {
  color: #EF4444;
}

/* ==========================================================================
   Purchased Product State Buttons
   ========================================================================== */
.btn-download-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  padding: 0 16px;
  background: #0F172A;
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid #0F172A;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-download-card:hover {
  background: #1E293B;
  border-color: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.28);
  color: #FFFFFF !important;
}

.btn-download-purchased-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: #0F172A;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  transition: all 0.2s ease;
}

.btn-download-purchased-lg:hover {
  background: #1E293B;
  border-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  color: #FFFFFF !important;
}

.purchased-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ==========================================================================
   Payment Success Modal & Direct Downloads
   ========================================================================== */
.success-popup-container {
  max-width: 500px !important;
  padding: 28px !important;
  border-radius: 20px !important;
}

.success-popup-header {
  text-align: center;
  margin-bottom: 18px;
}

.success-pulse-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ECFDF5;
  border: 2px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
  animation: pulseSuccess 2s infinite ease-in-out;
}

@keyframes pulseSuccess {
  0% { transform: scale(1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.08); }
  100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
}

.success-popup-title {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
}

.success-popup-subtitle {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.success-delivery-grid {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delivery-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.delivery-badge-icon {
  font-size: 16px;
  line-height: 1.3;
}

.delivery-badge-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #0F172A;
}

.delivery-badge-sub {
  font-size: 12px;
  color: #64748B;
  word-break: break-all;
}

.success-products-wrap {
  margin-bottom: 18px;
}

.success-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
}

.badge-total-items {
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.success-items-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
}

.success-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}

.success-item-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.success-item-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.success-item-details {
  flex: 1;
  min-width: 0;
}

.success-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.success-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748B;
  margin-top: 3px;
}

.format-badge {
  background: #F1F5F9;
  color: #475569;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
}

.btn-success-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 12.5px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-success-download:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}

.payment-success-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-download-all-files {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: all 0.2s ease;
}

.btn-download-all-files:hover {
  background: linear-gradient(135deg, #4F46E5, #4338CA);
  transform: translateY(-1px);
}

.success-footer-links {
  display: flex;
  gap: 8px;
  width: 100%;
}

.btn-whatsapp-quick {
  flex: 1;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-whatsapp-quick:hover {
  background: #1EBE5D;
}

.btn-view-receipt-link {
  flex: 1;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  color: #334155 !important;
  font-weight: 700;
  font-size: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-view-receipt-link:hover {
  background: #E2E8F0;
  color: #0F172A !important;
}

.btn-continue-shopping {
  flex: 1;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0F172A;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-continue-shopping:hover {
  background: #1E293B;
}

/* ==========================================================================
   Sign In Modal Overlay & Container
   ========================================================================== */
.signin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.signin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.signin-modal-container {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid #E2E8F0;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 28px;
  box-sizing: border-box;
}

/* Auth Tabs Navigation */
.auth-tabs {
  display: flex;
  background: #F1F5F9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748B;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.auth-tab-btn:hover {
  color: #1E293B;
}

.auth-tab-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

.auth-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  display: none;
  align-items: center;
  gap: 8px;
}

.auth-alert:empty {
  display: none !important;
}

.auth-alert.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.auth-alert.success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.otp-box-input {
  width: 100%;
  height: 52px;
  text-align: center;
  font-size: 26px;
  letter-spacing: 12px;
  font-family: Courier, monospace;
  font-weight: 800;
  border: 2px solid #CBD5E1;
  border-radius: 12px;
  background: #F8FAFC;
  color: #4338CA;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.otp-box-input:focus {
  border-color: #6366F1;
  background: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.auth-switch-link {
  font-size: 13px;
  color: #6366F1;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.auth-switch-link:hover {
  text-decoration: underline;
  color: #4F46E5;
}

.auth-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 5px;
}

.auth-label small {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}

.signin-modal-overlay.active .signin-modal-container {
  transform: scale(1) translateY(0);
}

.signin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.signin-modal-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EEF2FF;
  color: #6366F1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signin-modal-close {
  background: #F1F5F9;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #64748B;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.signin-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.signin-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.signin-modal-subtitle {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 22px 0;
}

.btn-google-action {
  width: 100%;
  height: 48px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  color: #1E293B;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}

.btn-google-action:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.signin-modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.signin-modal-divider::before,
.signin-modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

.signin-modal-divider span {
  padding: 0 10px;
}

.signin-input {
  width: 100%;
  height: 42px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13.5px;
  color: #0F172A;
  background: #FFFFFF;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s ease;
}

.signin-input:focus {
  border-color: #6366F1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.btn-signin-submit {
  width: 100%;
  height: 44px;
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-signin-submit:hover {
  background: #1E293B;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.signin-modal-footer-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.4;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.signin-modal-footer-note svg {
  color: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   User Settings & My Products Dashboard Pages
   ========================================================================== */
.user-dashboard-wrapper {
  padding: 40px 0 60px;
  min-height: 70vh;
}

.user-dashboard-header {
  margin-bottom: 32px;
}

.user-dashboard-title {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
}

.user-dashboard-subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.settings-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  padding: 32px;
  max-width: 680px;
}

.user-profile-badge-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #F1F5F9;
}

.user-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #EEF2FF;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.my-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.purchased-product-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.purchased-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

.purchased-card-media {
  width: 100%;
  height: 180px;
  background: #F1F5F9;
  position: relative;
  overflow: hidden;
}

.purchased-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purchased-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.purchased-card-meta {
  font-size: 11.5px;
  color: #64748B;
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-weight: 600;
}

.purchased-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 14px 0;
  line-height: 1.35;
}

.purchased-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.empty-purchased-notice {
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  max-width: 540px;
  margin: 0 auto;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-title {
    font-size: 40px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px;
  }
  .promo-actions {
    justify-content: center;
  }
  .promo-visual {
    justify-content: center;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-search {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 32px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
