/**
 * RNSSAFETY ? Premium Storefront Theme
 * Liquid Glass · Dark charcoal + amber gold · Safety accents
 * Design system: design-system/rnssafety/MASTER.md
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #0F172A;
  --color-secondary: #1E293B;
  --color-cta: #F59E0B;
  --color-cta-hover: #D97706;
  --color-accent: #EF4444;
  --color-accent-orange: #F97316;
  --color-glow: #FBBF24;
  --color-background: #F1F5F9;
  --color-surface: #FFFFFF;
  --color-text: #0F172A;
  --color-muted: #64748B;
  --color-border: rgba(15, 23, 42, 0.08);
  --color-footer: #0B1220;
  --color-footer-text: #CBD5E1;
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.55);
  --font-heading: 'Cormorant', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 8px 28px rgba(245, 158, 11, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 220ms var(--ease-out);
}

/* ---------- Base ---------- */
body.premium-storefront {
  font-family: var(--font-body) !important;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(245, 158, 11, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(239, 68, 68, 0.05), transparent 50%),
    linear-gradient(180deg, #F8FAFC 0%, var(--color-background) 40%, #EEF2F7 100%) !important;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

body.premium-storefront h1,
body.premium-storefront h2,
body.premium-storefront h3,
body.premium-storefront h4,
body.premium-storefront h5,
body.premium-storefront h6,
body.premium-storefront .section-title,
body.premium-storefront .products-section h2,
body.premium-storefront .categories-section h2 {
  font-family: var(--font-heading) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

body.premium-storefront main {
  min-height: 50vh;
}

/* ---------- Top bar ---------- */
body.premium-storefront .top-bar {
  background: linear-gradient(90deg, #0B1220 0%, #1E293B 45%, #0F172A 100%) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  height: 36px !important;
  z-index: 1040;
}

body.premium-storefront .top-bar-marquee {
  height: 36px !important;
}

body.premium-storefront .top-bar-marquee span {
  font-family: var(--font-body);
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-glow) !important;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

body.premium-storefront .navbar.fixed-top {
  top: 36px !important;
}

body.premium-storefront {
  padding-top: 116px !important;
}

/* ---------- Glass navbar ---------- */
body.premium-storefront .navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border-bottom: 1px solid var(--color-border) !important;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06) !important;
  padding: 0.85rem 0 !important;
  min-height: 72px;
}

body.premium-storefront .navbar-brand {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
  color: var(--color-primary) !important;
  letter-spacing: 0.04em !important;
}

body.premium-storefront .navbar-brand:hover {
  color: var(--color-cta) !important;
}

body.premium-storefront .nav-link {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--color-secondary) !important;
  position: relative;
  padding: 0.55rem 0.9rem !important;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition) !important;
  cursor: pointer;
}

body.premium-storefront .nav-link::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px;
}

body.premium-storefront .nav-link:hover,
body.premium-storefront .nav-link.active {
  color: var(--color-primary) !important;
  background: rgba(245, 158, 11, 0.08);
}

body.premium-storefront .nav-link:hover::after,
body.premium-storefront .nav-link.active::after {
  transform: scaleX(1);
}

body.premium-storefront .navbar-actions {
  gap: 0.35rem;
}

body.premium-storefront .navbar .nav-icon-btn {
  color: var(--color-primary) !important;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 0.15rem !important;
  background: transparent;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition) !important;
  cursor: pointer;
  flex-shrink: 0;
}

body.premium-storefront .navbar .nav-icon-btn:hover {
  background: rgba(245, 158, 11, 0.12) !important;
  color: var(--color-cta-hover) !important;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25);
}

body.premium-storefront .navbar .nav-account-btn {
  color: var(--color-primary) !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem !important;
  margin-left: 0.35rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--color-border);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition) !important;
  cursor: pointer;
  flex-shrink: 0;
}

body.premium-storefront .navbar .nav-account-btn:hover,
body.premium-storefront .navbar .nav-account-btn:focus,
body.premium-storefront .navbar .nav-account-btn.show {
  background: rgba(245, 158, 11, 0.12) !important;
  color: var(--color-cta-hover) !important;
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: none;
}

body.premium-storefront .navbar .badge.bg-danger,
body.premium-storefront .js-cart-count {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%) !important;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  font-weight: 700;
}

body.premium-storefront .btn-outline-dark {
  background: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  border-radius: 999px !important;
  padding: 0.55rem 1.25rem !important;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition) !important;
  cursor: pointer;
}

body.premium-storefront .btn-outline-dark:hover {
  background: transparent !important;
  border-color: var(--color-cta) !important;
  color: var(--color-cta) !important;
  box-shadow: var(--shadow-gold);
}

body.premium-storefront .navbar .btn-dark,
body.premium-storefront .btn.btn-dark {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-accent-orange) 100%) !important;
  border: none !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  border-radius: 999px !important;
  padding: 0.55rem 1.35rem !important;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition) !important;
  cursor: pointer;
}

body.premium-storefront .navbar .btn-dark:hover,
body.premium-storefront .btn.btn-dark:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(245, 158, 11, 0.45);
  color: #0F172A !important;
  border: none !important;
}

body.premium-storefront .navbar-toggler .hamburger span {
  background: var(--color-primary) !important;
  border-radius: 3px;
}

/* Dropdowns ? glass */
body.premium-storefront .navbar-nav .dropdown-menu,
body.premium-storefront .mega-dropdown-menu {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0.75rem !important;
}

body.premium-storefront .navbar-nav .dropdown-item {
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body);
  font-size: 0.88rem !important;
  font-weight: 500;
  color: var(--color-secondary) !important;
  transition: background var(--transition), color var(--transition) !important;
  cursor: pointer;
}

body.premium-storefront .navbar-nav .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.06)) !important;
  color: var(--color-primary) !important;
}

body.premium-storefront .mega-dropdown-menu h6 {
  font-family: var(--font-heading) !important;
  font-size: 1.35rem;
  color: var(--color-primary);
  border-bottom: 2px solid rgba(245, 158, 11, 0.35);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem !important;
}

body.premium-storefront .mega-dropdown-menu .product-item a:hover span {
  color: var(--color-cta-hover);
}

body.premium-storefront .mega-dropdown-menu .product-item img {
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

/* Mobile drawer */
@media (max-width: 991.98px) {
  body.premium-storefront .navbar-collapse {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px);
    border-right: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg) !important;
    top: 108px !important;
  }

  body.premium-storefront .navbar-nav .nav-link:hover {
    background: rgba(245, 158, 11, 0.1) !important;
    color: var(--color-cta-hover) !important;
  }

  body.premium-storefront .navbar-nav .nav-link::after {
    display: none;
  }
}

/* ---------- Buttons (global) ---------- */
body.premium-storefront .btn-primary {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-accent-orange) 100%) !important;
  border: none !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition) !important;
  cursor: pointer;
}

body.premium-storefront .btn-primary:hover,
body.premium-storefront .btn-primary:focus {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #0F172A !important;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
}

body.premium-storefront .btn-outline-primary {
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  background: transparent !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition) !important;
  cursor: pointer;
}

body.premium-storefront .btn-outline-primary:hover {
  background: var(--color-primary) !important;
  color: var(--color-cta) !important;
  border-color: var(--color-primary) !important;
  box-shadow: var(--shadow-md);
}

body.premium-storefront .btn-warning {
  background: linear-gradient(135deg, var(--color-glow), var(--color-cta)) !important;
  border: none !important;
  color: #0F172A !important;
  font-weight: 600;
}

/* ---------- Forms ---------- */
body.premium-storefront .form-control,
body.premium-storefront .form-select {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}

body.premium-storefront .form-control:focus,
body.premium-storefront .form-select:focus {
  border-color: var(--color-cta) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22) !important;
  outline: none;
}

/* ---------- Cards & sections ---------- */
body.premium-storefront .category-card,
body.premium-storefront .card:not(.product-card-aevi):not(.account-sidebar) {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

body.premium-storefront .category-card:hover,
body.premium-storefront .card:not(.product-card-aevi):not(.account-sidebar):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.35) !important;
}

body.premium-storefront .category-card .text-primary,
body.premium-storefront .category-card i.fa-folder {
  color: var(--color-cta) !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.1));
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem !important;
}

body.premium-storefront .products-section,
body.premium-storefront .categories-section {
  position: relative;
}

body.premium-storefront .products-section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(241, 245, 249, 0.9) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

body.premium-storefront .products-section h2,
body.premium-storefront .categories-section h2,
body.premium-storefront .home-page h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

body.premium-storefront .products-section .text-center h2::after,
body.premium-storefront .categories-section .text-center h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.65rem auto 0;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent-orange), var(--color-accent));
  border-radius: 3px;
}

/* Features strip */
body.premium-storefront .features-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E293B 50%, #0B1220 100%);
  color: #F8FAFC;
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 !important;
}

body.premium-storefront .features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.18), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(239, 68, 68, 0.12), transparent 35%);
  pointer-events: none;
}

body.premium-storefront .features-section .col-md-4 {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1rem;
}

body.premium-storefront .features-section i {
  color: var(--color-cta) !important;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.45));
  transition: transform var(--transition);
}

body.premium-storefront .features-section .col-md-4:hover i {
  transform: translateY(-3px);
}

body.premium-storefront .features-section h3 {
  font-family: var(--font-heading) !important;
  color: #fff !important;
  font-size: 1.65rem;
  margin-top: 0.75rem;
}

body.premium-storefront .features-section p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Newsletter */
body.premium-storefront .newsletter-section {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.98)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F59E0B' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
  border: none !important;
  color: #fff;
  padding: 4rem 0 !important;
  position: relative;
}

body.premium-storefront .newsletter-section h3 {
  font-family: var(--font-heading) !important;
  color: #fff !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
}

body.premium-storefront .newsletter-section .text-muted,
body.premium-storefront .newsletter-section p {
  color: #94A3B8 !important;
}

body.premium-storefront .newsletter-section .form-control {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

body.premium-storefront .newsletter-section .form-control::placeholder {
  color: #94A3B8;
}

body.premium-storefront .newsletter-section .btn-dark {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

/* Product cards lift */
body.premium-storefront .product-card-aevi {
  border: 1px solid var(--color-border) !important;
}

body.premium-storefront .product-card-aevi:hover {
  border-color: rgba(245, 158, 11, 0.4) !important;
}

body.premium-storefront .badge-sale {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-orange)) !important;
}

body.premium-storefront .badge-bestseller {
  background: linear-gradient(135deg, var(--color-cta), var(--color-glow)) !important;
  color: #0F172A !important;
}

/* ---------- Alerts ---------- */
body.premium-storefront .alert {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

body.premium-storefront .alert-success {
  background: linear-gradient(90deg, #ECFDF5, #F0FDF4);
  color: #065F46;
  border-left: 4px solid #10B981;
}

body.premium-storefront .alert-danger {
  background: linear-gradient(90deg, #FEF2F2, #FFF1F2);
  color: #991B1B;
  border-left: 4px solid var(--color-accent);
}

/* ---------- Breadcrumbs ---------- */
body.premium-storefront .breadcrumb {
  background: transparent;
  padding: 0.5rem 0;
}

body.premium-storefront .breadcrumb-item a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition);
}

body.premium-storefront .breadcrumb-item a:hover {
  color: var(--color-cta);
}

body.premium-storefront .breadcrumb-item.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ---------- Hero ---------- */
body.premium-storefront .hero-section .carousel-caption {
  background: linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.65)) !important;
  border-radius: 0 !important;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3rem 2rem 2rem !important;
}

body.premium-storefront .hero-section .carousel-caption h1,
body.premium-storefront .hero-section .carousel-caption h2,
body.premium-storefront .hero-section .carousel-caption h5 {
  font-family: var(--font-heading) !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

body.premium-storefront .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-cta);
}

/* ---------- Footer ---------- */
body.premium-storefront .cust-footer {
  background:
    radial-gradient(800px 400px at 0% 100%, rgba(245, 158, 11, 0.12), transparent 50%),
    radial-gradient(600px 300px at 100% 0%, rgba(239, 68, 68, 0.08), transparent 45%),
    linear-gradient(160deg, #0B1220 0%, #111827 55%, #0F172A 100%) !important;
  color: var(--color-footer-text) !important;
  padding: 4.5rem 0 2rem !important;
  margin-top: 0 !important;
  position: relative;
  border-top: 1px solid rgba(245, 158, 11, 0.25);
}

body.premium-storefront .cust-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 40%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-cta), var(--color-accent-orange), transparent);
}

body.premium-storefront .cust-footer h5,
body.premium-storefront .cust-footer h6 {
  font-family: var(--font-heading) !important;
  color: #fff !important;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

body.premium-storefront .cust-footer h5::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 0.5rem;
  background: var(--color-cta);
  border-radius: 2px;
}

body.premium-storefront .cust-footer ul li {
  margin-bottom: 0.55rem;
}

body.premium-storefront .cust-footer ul li a,
body.premium-storefront .cust-footer a {
  color: var(--color-footer-text) !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition), padding-left var(--transition);
  cursor: pointer;
}

body.premium-storefront .cust-footer ul li a:hover {
  color: var(--color-cta) !important;
  padding-left: 4px;
}

body.premium-storefront .cust-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 0.5rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

body.premium-storefront .cust-footer .social-links a:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--color-cta);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

body.premium-storefront .cust-footer .social-links a i {
  color: var(--color-glow) !important;
  font-size: 1.1rem;
}

body.premium-storefront .cust-footer .text-muted {
  color: #94A3B8 !important;
}

body.premium-storefront .cust-footer .newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
}

body.premium-storefront .cust-footer .newsletter-form .form-control::placeholder {
  color: #64748B;
}

body.premium-storefront .cust-footer .newsletter-form .btn-outline-dark {
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent-orange)) !important;
  border: none !important;
  color: #0F172A !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  font-weight: 700 !important;
}

body.premium-storefront .cust-footer .newsletter-form .btn-outline-dark:hover {
  filter: brightness(1.08);
  color: #0F172A !important;
}

body.premium-storefront .cust-footer .payment-methods i {
  font-size: 1.75rem;
  color: #94A3B8;
  transition: color var(--transition);
}

body.premium-storefront .cust-footer .payment-methods i:hover {
  color: var(--color-cta);
}

body.premium-storefront .cust-footer hr {
  border-color: rgba(255, 255, 255, 0.1) !important;
  opacity: 1;
  margin: 2.5rem 0 1.5rem !important;
}

body.premium-storefront .cust-footer .footer-bottom {
  color: #64748B;
  font-size: 0.85rem;
}

body.premium-storefront .cust-footer .footer-bottom a {
  color: var(--color-cta) !important;
  font-weight: 600;
}

body.premium-storefront .cust-footer .footer-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

body.premium-storefront .cust-footer .footer-tagline {
  color: #94A3B8;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 260px;
}

/* ---------- Shop / pages polish ---------- */
body.premium-storefront .shop-padding {
  padding-top: 2rem;
}

body.premium-storefront .pagination .page-link {
  color: var(--color-primary);
  border-color: var(--color-border);
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

body.premium-storefront .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent-orange));
  border-color: transparent;
  color: #0F172A;
  font-weight: 700;
}

body.premium-storefront .pagination .page-link:hover {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-cta-hover);
}

body.premium-storefront .table {
  border-radius: var(--radius-md);
  overflow: hidden;
}

body.premium-storefront .modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl, var(--shadow-lg));
  overflow: hidden;
}

body.premium-storefront .modal-header {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border-bottom: none;
}

body.premium-storefront .modal-header .btn-close {
  filter: invert(1);
}

body.premium-storefront .modal-title {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Verify prompt */
body.premium-storefront #verify-prompt.verify-account-prompt {
  background: linear-gradient(105deg, rgba(255, 251, 235, 0.95), rgba(255, 255, 255, 0.95)) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg) !important;
}

/* Focus a11y */
body.premium-storefront a:focus-visible,
body.premium-storefront button:focus-visible,
body.premium-storefront .btn:focus-visible,
body.premium-storefront .nav-link:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.premium-storefront *,
  body.premium-storefront *::before,
  body.premium-storefront *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.premium-storefront .top-bar-marquee span {
    animation: none !important;
    padding-left: 0 !important;
    width: 100%;
    text-align: center;
  }
}

/* Auth layout companion */
body.premium-auth {
  font-family: var(--font-body);
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(245, 158, 11, 0.15), transparent 50%),
    radial-gradient(700px 400px at 100% 100%, rgba(239, 68, 68, 0.1), transparent 45%),
    linear-gradient(160deg, #0B1220, #1E293B) !important;
  min-height: 100vh;
  color: var(--color-text);
}

body.premium-auth .auth-header {
  background: transparent !important;
  border: none !important;
  padding-top: 2.5rem !important;
}

body.premium-auth .auth-brand {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(90deg, #FBBF24, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.premium-auth main {
  background: transparent !important;
}

body.premium-auth .auth-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2rem 1.75rem;
}

body.premium-auth .auth-footer {
  background: transparent !important;
  border: none !important;
  color: #94A3B8 !important;
}

body.premium-auth .auth-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

body.premium-auth .auth-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

body.premium-auth .auth-link {
  color: #D97706 !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 200ms ease;
}

body.premium-auth .auth-link:hover {
  color: #F97316 !important;
  text-decoration: underline;
}

body.premium-auth .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

body.premium-auth .form-control,
body.premium-auth .form-select {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 0.7rem 0.95rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

body.premium-auth .form-control:focus,
body.premium-auth .form-select:focus {
  border-color: #F59E0B !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22) !important;
}

body.premium-auth .btn-primary,
body.premium-auth .auth-submit {
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%) !important;
  border: none !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.7rem 1.25rem !important;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.35);
  transition: filter 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

body.premium-auth .btn-primary:hover,
body.premium-auth .auth-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #0F172A !important;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
}

body.premium-auth .alert {
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
}

body.premium-auth .g-recaptcha {
  transform-origin: center;
}


/* =========================================================
   Account / User Panel
   ========================================================= */
body.premium-storefront .account-panel {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

body.premium-storefront .account-sidebar {
  background: linear-gradient(165deg, #0B1220 0%, #0F172A 55%, #1E293B 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  overflow: hidden;
  color: #F1F5F9 !important;
  transform: none !important;
}

body.premium-storefront .account-sidebar:hover {
  transform: none !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
}

body.premium-storefront .account-sidebar .card-body {
  padding: 1.5rem 1.25rem !important;
  background: transparent !important;
  color: #F1F5F9 !important;
}

body.premium-storefront .account-sidebar .account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

body.premium-storefront .account-sidebar .account-avatar-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F59E0B, #F97316);
  color: #0F172A;
  font-size: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

body.premium-storefront .account-sidebar h5 {
  font-family: var(--font-heading) !important;
  color: #FFFFFF !important;
  font-size: 1.35rem;
  margin-top: 0.75rem;
}

body.premium-storefront .account-sidebar .account-email {
  color: #CBD5E1 !important;
  font-size: 0.8rem;
  word-break: break-word;
}

body.premium-storefront .account-sidebar .nav-link {
  color: #F8FAFC !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-transform: none !important;
  border-radius: 10px !important;
  padding: 0.7rem 0.9rem !important;
  margin: 0.15rem 0;
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  background: transparent !important;
  transition: background var(--transition), color var(--transition), padding-left var(--transition) !important;
  cursor: pointer;
}

body.premium-storefront .account-sidebar .nav-link::after {
  display: none !important;
}

body.premium-storefront .account-sidebar .nav-link i {
  width: 18px;
  text-align: center;
  color: #FBBF24 !important;
  opacity: 1 !important;
}

body.premium-storefront .account-sidebar .nav-link:hover {
  background: rgba(245, 158, 11, 0.16) !important;
  color: #FFFFFF !important;
  padding-left: 1.1rem !important;
}

body.premium-storefront .account-sidebar .nav-link:hover i {
  color: #FDE68A !important;
}

body.premium-storefront .account-sidebar .nav-link.active {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.28), rgba(249, 115, 22, 0.12)) !important;
  color: #FDE68A !important;
  box-shadow: inset 3px 0 0 #F59E0B;
  font-weight: 600 !important;
}

body.premium-storefront .account-sidebar .nav-link.active i {
  color: #FDE68A !important;
}

body.premium-storefront .account-main.card,
body.premium-storefront .account-panel .account-main {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: #fff;
}

body.premium-storefront .account-main > .card-header,
body.premium-storefront .account-panel .account-main .card-header {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.03), rgba(245, 158, 11, 0.06)) !important;
  border-bottom: 1px solid var(--color-border) !important;
  padding: 1.15rem 1.5rem;
}

body.premium-storefront .account-main > .card-header h4,
body.premium-storefront .account-panel .account-main h3,
body.premium-storefront .account-panel .account-main h4 {
  font-family: var(--font-heading) !important;
  font-weight: 600;
  color: var(--color-primary);
}

body.premium-storefront .account-main .card-body {
  padding: 1.5rem !important;
}

body.premium-storefront .profile-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
}

body.premium-storefront .account-panel .table thead th {
  background: #F8FAFC;
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-primary);
}

body.premium-storefront .account-panel .table-hover tbody tr:hover {
  background: rgba(245, 158, 11, 0.05);
}

body.premium-storefront .text-primary {
  color: #D97706 !important;
}

body.premium-storefront .account-panel .badge.bg-primary {
  background: linear-gradient(135deg, #F59E0B, #F97316) !important;
  color: #0F172A !important;
}

/* Pagination arrows ? constrain Tailwind SVG leftovers on storefront too */
body.premium-storefront .pagination svg,
body.premium-storefront nav[role="navigation"] svg {
  width: 1rem !important;
  height: 1rem !important;
  max-width: 1rem !important;
  max-height: 1rem !important;
}

body.premium-storefront .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0.35rem 0.65rem;
  line-height: 1;
}

/* Checkout / cart / thank-you polish */
body.premium-storefront .checkout-page .card,
body.premium-storefront .cart-item-row {
  border-color: var(--color-border);
}

body.premium-storefront .address-card {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

body.premium-storefront .address-card:hover,
body.premium-storefront .address-card:has(input:checked) {
  border-color: rgba(245, 158, 11, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}
