/* ═══════════════════════════════════════════════════════════════════
   WIREOUT RADICAL THEME OVERHAUL v2.0
   إبهار بصري — هيدر خيالي — فوتر مذهل — تجربة تسوق استثنائية
   ═══════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────
   0 · GLOBAL ANIMATIONS & UTILITIES
   ────────────────────────────────────── */
@keyframes radical-glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes radical-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(0.5deg); }
  75% { transform: translateY(4px) rotate(-0.5deg); }
}
@keyframes radical-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes radical-border-dance {
  0% { border-color: color-mix(in srgb, var(--shop-accent) 40%, transparent); }
  50% { border-color: color-mix(in srgb, var(--shop-accent2) 50%, transparent); }
  100% { border-color: color-mix(in srgb, var(--shop-accent) 40%, transparent); }
}
@keyframes radical-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes radical-card-enter {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes radical-text-reveal {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes radical-rotate-hue {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
@keyframes radical-breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes radical-slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes radical-slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ──────────────────────────────────────
   1 · TOPBAR — PREMIUM STRIP
   ────────────────────────────────────── */
.shop-topbar {
  position: relative;
  overflow: hidden;
  padding: 11px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(100deg, var(--shop-accent2), var(--shop-accent), var(--shop-accent2));
  background-size: 200% auto;
  animation: radical-shimmer 8s linear infinite;
}
.shop-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  background-size: 200% auto;
  animation: radical-shimmer 3s linear infinite;
  pointer-events: none;
}

/* ──────────────────────────────────────
   2 · HEADER — GLASS IMMERSIVE
   ────────────────────────────────────── */
.shop-header {
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid color-mix(in srgb, var(--shop-accent) 18%, var(--shop-border));
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.shop-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in srgb, var(--shop-accent) 60%, transparent) 20%,
    var(--shop-accent) 50%,
    color-mix(in srgb, var(--shop-accent2) 60%, transparent) 80%,
    transparent
  );
  opacity: 0.7;
  transition: opacity 0.3s;
}
.shop-header:hover::after {
  opacity: 1;
}

/* Only enhance padding on desktop — mobile is handled by shop.css */
@media (min-width: 1025px) {
  .shop-header-inner {
    padding: 16px 28px;
    gap: 20px;
  }
}
.shop-logo {
  border-radius: 14px;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--shop-accent) 22%, rgba(0,0,0,0.2));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
@media (min-width: 901px) {
  .shop-logo:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--shop-accent) 35%, rgba(0,0,0,0.3));
  }
}
.shop-title {
  position: relative;
  transition: transform 0.3s ease;
}
.shop-tagline {
  transition: opacity 0.3s;
}

/* Search — enhanced only on desktop; mobile gets shop.css base */
@media (min-width: 901px) {
  .header-search {
    padding: 12px 18px 12px 44px;
    backdrop-filter: blur(10px);
    border: 1.5px solid color-mix(in srgb, var(--shop-border) 70%, transparent);
    transition: all 0.35s cubic-bezier(0.34, 1, 0.64, 1);
  }
}
@media (min-width: 901px) {
  .header-search:focus {
    border-color: var(--shop-accent);
    box-shadow:
      0 0 0 4px color-mix(in srgb, var(--shop-accent) 15%, transparent),
      0 8px 32px color-mix(in srgb, var(--shop-accent) 12%, transparent);
    transform: scale(1.01);
  }
}

/* Cart badge — glow */
.cart-badge {
  background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--shop-accent) 40%, transparent);
  animation: radical-glow-pulse 2s ease-in-out infinite;
}

/* ──────────────────────────────────────
   3 · NAVIGATION — FLUID & EXPRESSIVE
   ────────────────────────────────────── */
.shop-nav {
  position: relative;
  background: color-mix(in srgb, var(--shop-nav-bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--shop-border) 50%, transparent);
}
.shop-nav-link {
  position: relative;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.25s, background 0.25s, transform 0.2s;
}
.shop-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--shop-accent), var(--shop-accent2));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.shop-nav-link:hover::after,
.shop-nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}
@media (min-width: 901px) {
  .shop-nav-link:hover {
    color: var(--shop-accent);
    border-bottom-color: transparent;
    transform: translateY(-1px);
  }
  .shop-nav-link.active {
    color: var(--shop-accent);
    font-weight: 700;
    border-bottom-color: transparent;
  }
}

/* Dropdown menus — glass */
@media (min-width: 901px) {
  .shop-more-menu,
  .shop-mega-menu {
    backdrop-filter: blur(20px) saturate(1.4);
    background: color-mix(in srgb, var(--shop-card) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--shop-accent) 15%, var(--shop-border));
    box-shadow:
      0 24px 48px rgba(0, 0, 0, 0.2),
      0 0 0 1px color-mix(in srgb, var(--shop-accent) 10%, transparent);
  }
}

/* ──────────────────────────────────────
   4 · HERO BANNER — CINEMATIC
   ────────────────────────────────────── */
.hero-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--shop-accent) 25%, var(--shop-border));
  transition: border-color 0.4s, box-shadow 0.4s;
}
@media (min-width: 901px) {
  .hero-banner:hover {
    border-color: color-mix(in srgb, var(--shop-accent) 45%, var(--shop-border));
    box-shadow: 0 24px 72px color-mix(in srgb, var(--shop-accent) 18%, rgba(0,0,0,0.3));
  }
}
.hero-title {
  animation: radical-text-reveal 0.8s ease-out both;
}
.hero-desc {
  animation: radical-text-reveal 0.8s ease-out 0.15s both;
}
.hero-cta {
  animation: radical-text-reveal 0.8s ease-out 0.3s both;
}
.hero-badge {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--shop-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--shop-accent) 40%, transparent);
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  background-size: 200% auto;
  animation: radical-shimmer 2.5s linear infinite;
}

/* ──────────────────────────────────────
   5 · PRODUCT CARDS — SHOW-STOPPING
   ────────────────────────────────────── */
.card-product {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
  animation: radical-card-enter 0.5s ease-out both;
}
.grid-products .card-product:nth-child(1) { animation-delay: 0s; }
.grid-products .card-product:nth-child(2) { animation-delay: 0.05s; }
.grid-products .card-product:nth-child(3) { animation-delay: 0.1s; }
.grid-products .card-product:nth-child(4) { animation-delay: 0.15s; }
.grid-products .card-product:nth-child(5) { animation-delay: 0.2s; }
.grid-products .card-product:nth-child(6) { animation-delay: 0.25s; }
.grid-products .card-product:nth-child(n+7) { animation-delay: 0.3s; }

.card-product::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--shop-accent) 30%, transparent),
    transparent 40%,
    transparent 60%,
    color-mix(in srgb, var(--shop-accent2) 30%, transparent)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
@media (min-width: 901px) {
  .card-product:hover::before {
    opacity: 1;
  }
  .card-product:hover {
    transform: translateY(var(--shop-card-hover-y, -6px)) scale(1.02);
    box-shadow:
      0 20px 60px color-mix(in srgb, var(--shop-accent) 10%, rgba(0,0,0,0.25)),
      0 0 0 1px color-mix(in srgb, var(--shop-accent) 20%, transparent);
    border-color: color-mix(in srgb, var(--shop-accent) 35%, var(--shop-border));
  }

  /* Image hover — zoom + overlay glow */
  .card-product:hover .card-img-wrap img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.03);
  }

  /* Image zone — accent glow on hover */
  .card-img-zone::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      transparent 50%,
      color-mix(in srgb, var(--shop-accent) 6%, transparent) 100%
    );
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
  }
  .card-product:hover .card-img-zone::after {
    opacity: 1;
  }

  /* Category badge hover */
  .card-product:hover .card-cat-badge {
    background: color-mix(in srgb, var(--shop-accent) 18%, var(--shop-card));
    transform: translateY(-2px);
  }

  /* Price — accent glow on hover */
  .card-product:hover .card-price {
    text-shadow: 0 0 20px color-mix(in srgb, var(--shop-accent) 35%, transparent);
  }
}

.card-img-wrap img {
  transition: transform 0.5s cubic-bezier(0.34, 1, 0.64, 1), filter 0.4s;
}

/* Category badge — glass effect */
.card-cat-badge {
  background: color-mix(in srgb, var(--shop-card) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--shop-accent) 30%, transparent);
  transition: background 0.3s, transform 0.3s;
}
@media (min-width: 901px) {
  .card-cat-badge {
    backdrop-filter: blur(12px) saturate(1.4);
  }
}

.card-price {
  transition: color 0.3s, text-shadow 0.3s;
}

/* Add to cart — enhanced interaction */
.btn-add-cart {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-add-cart::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}
@media (min-width: 901px) {
  .btn-add-cart:hover::before {
    width: 300%;
    height: 300%;
  }
  .btn-add-cart:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--shop-accent) 30%, rgba(0,0,0,0.2));
  }
  .btn-add-cart:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
  }
}

/* ──────────────────────────────────────
   6 · TRUST STRIP — PREMIUM
   ────────────────────────────────────── */
.trust-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--shop-accent) 15%, var(--shop-border));
}
.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--shop-accent) 4%, transparent),
    transparent 30%,
    transparent 70%,
    color-mix(in srgb, var(--shop-accent2) 4%, transparent)
  );
  pointer-events: none;
}
.trust-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
}
.trust-ico {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 901px) {
  .trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--shop-accent) 12%, rgba(0,0,0,0.1));
    background: color-mix(in srgb, var(--shop-accent) 6%, var(--shop-card));
  }
  .trust-item:hover .trust-ico {
    transform: scale(1.15);
  }
}

/* ──────────────────────────────────────
   7 · SECTION TITLES — DRAMATIC
   ────────────────────────────────────── */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--shop-accent), var(--shop-accent2));
  transition: width 0.4s cubic-bezier(0.34, 1, 0.64, 1);
}
[dir="rtl"] .section-title::after {
  left: auto;
  right: 0;
}
@media (min-width: 901px) {
  .section-block:hover .section-title::after {
    width: 80px;
  }
}

/* ──────────────────────────────────────
   8 · PILLS & BUTTONS — REFINED
   ────────────────────────────────────── */
.pill {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 901px) {
  .pill:hover {
    transform: translateY(-1px);
  }
}
.pill.accent {
  position: relative;
  overflow: hidden;
}
.pill.accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  background-size: 200% auto;
  animation: radical-shimmer 4s linear infinite;
  pointer-events: none;
}

.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg) translateY(-50%);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 120%;
}

/* ──────────────────────────────────────
   9 · FOOTER — MAJESTIC
   ────────────────────────────────────── */
.shop-footer {
  position: relative;
  overflow: hidden;
  border-top: none;
}
/* Only enhance footer padding on desktop */
@media (min-width: 1025px) {
  .shop-footer {
    padding: 56px 28px 32px;
  }
}
.shop-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    var(--shop-accent) 20%,
    var(--shop-accent2) 50%,
    var(--shop-accent) 80%,
    transparent
  );
  background-size: 200% auto;
  animation: radical-shimmer 6s linear infinite;
}
.shop-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at 50% 0%,
    color-mix(in srgb, var(--shop-accent) 8%, transparent),
    transparent 70%
  );
  pointer-events: none;
}

.shop-footer-inner {
  position: relative;
  z-index: 1;
}
@media (min-width: 1025px) {
  .shop-footer-inner {
    gap: 28px;
  }
}
.footer-heading {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--shop-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
[dir="rtl"] .footer-heading::after {
  left: auto;
  right: 0;
}
.footer-col:hover .footer-heading::after {
  width: 48px;
}

.footer-col a {
  position: relative;
  padding-inline-start: 0;
  transition: color 0.2s, transform 0.2s, padding-inline-start 0.3s;
}
.footer-col a:hover {
  color: var(--shop-accent);
  padding-inline-start: 8px;
  transform: none;
}

/* Social links — glowing hover */
.footer-social-link {
  border-radius: 10px;
  padding: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 901px) {
  .footer-social-link:hover {
    background: color-mix(in srgb, var(--shop-accent) 15%, transparent);
    color: var(--shop-accent);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--shop-accent) 25%, transparent);
  }
}

/* Copyright — subtle */
.shop-footer-copy {
  position: relative;
  z-index: 1;
  border-top: 1px solid color-mix(in srgb, var(--shop-border) 40%, transparent);
}
@media (min-width: 1025px) {
  .shop-footer-copy {
    margin-top: 40px;
    padding-top: 24px;
  }
}

/* ──────────────────────────────────────
   10 · CATEGORY PILLS — INTERACTIVE
   ────────────────────────────────────── */
.cat-pill {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 901px) {
  .cat-pill:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--shop-accent) 18%, rgba(0,0,0,0.12));
  }
}

/* ──────────────────────────────────────
   11 · SCROLLBAR CUSTOM (WEBKIT)
   ────────────────────────────────────── */
@media (min-width: 901px) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--shop-accent) 25%, var(--shop-border));
    border-radius: 100px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--shop-accent) 45%, var(--shop-border));
  }
  /* Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--shop-accent) 25%, var(--shop-border)) transparent;
  }
}

/* ──────────────────────────────────────
   12 · PRODUCT DETAIL — IMMERSIVE
   ────────────────────────────────────── */
.pd-main-img {
  transition: transform 0.4s ease, filter 0.3s;
}
.pd-thumb {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 901px) {
  .pd-main-img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
  }
  .pd-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--shop-accent) 20%, rgba(0,0,0,0.15));
  }
}

/* ──────────────────────────────────────
   13 · FLOATING WHATSAPP — ENHANCED
   ────────────────────────────────────── */
@media (min-width: 901px) {
  .floating-whatsapp {
    animation: radical-float 3s ease-in-out infinite;
  }
  .floating-whatsapp:hover {
    animation-play-state: paused;
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
  }
}

/* ──────────────────────────────────────
   14 · SKELETON LOADING — PREMIUM
   ────────────────────────────────────── */
@keyframes radical-skeleton-wave {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-hero {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--shop-card) 90%, transparent) 25%,
    color-mix(in srgb, var(--shop-accent) 8%, var(--shop-card)) 50%,
    color-mix(in srgb, var(--shop-card) 90%, transparent) 75%
  );
  background-size: 200% 100%;
  animation: radical-skeleton-wave 1.5s ease infinite;
}

/* ──────────────────────────────────────
   15 · PAGE TRANSITIONS (desktop only)
   ────────────────────────────────────── */
@media (min-width: 901px) {
  .shop-main {
    animation: radical-text-reveal 0.4s ease-out;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   THEME-SPECIFIC RADICAL ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════ */

/* ────── TECH-LAB: Holographic HUD ────── */
html[data-theme="tech-lab"] .shop-header::after {
  background: linear-gradient(90deg,
    transparent, #22d3ee 20%, #c084fc 50%, #f472b6 80%, transparent
  );
  height: 2px;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.3);
}
html[data-theme="tech-lab"] .card-product {
  border: 1px solid rgba(34, 211, 238, 0.15);
}
html[data-theme="tech-lab"] .card-product:hover {
  box-shadow:
    0 0 40px rgba(34, 211, 238, 0.12),
    0 0 80px rgba(168, 85, 247, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.45);
}
html[data-theme="tech-lab"] .shop-footer::before {
  background: linear-gradient(90deg,
    transparent, #22d3ee 20%, #c084fc 50%, #f472b6 80%, transparent
  );
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}
html[data-theme="tech-lab"] .trust-item:hover {
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.1), 0 8px 24px rgba(0,0,0,0.2);
}

/* ────── FASHION-RUNWAY: Editorial Elegance ────── */
@media (min-width: 901px) {
  html[data-theme="fashion-runway"] .shop-header {
    background: color-mix(in srgb, #faf9f7 92%, transparent);
  }
}
html[data-theme="fashion-runway"] .shop-header::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--shop-border), transparent);
  opacity: 0.5;
}
html[data-theme="fashion-runway"] .card-product {
  border-radius: 0;
  transition: transform 0.4s ease, box-shadow 0.5s ease;
}
html[data-theme="fashion-runway"] .card-product:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.12);
}
html[data-theme="fashion-runway"] .card-product::before {
  display: none;
}
html[data-theme="fashion-runway"] .section-title::after {
  background: #1a1410;
  height: 1.5px;
}
html[data-theme="fashion-runway"] .shop-footer::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e7e2dc, transparent);
  animation: none;
}

/* ────── GOURMET-MARKET: Warm & Organic ────── */
html[data-theme="gourmet-market"] .shop-header::after {
  background: linear-gradient(90deg,
    transparent, #ea580c 25%, #f97316 50%, #ea580c 75%, transparent
  );
  border-radius: 0 0 4px 4px;
}
html[data-theme="gourmet-market"] .card-product {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}
html[data-theme="gourmet-market"] .card-product:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 20px 48px rgba(194, 65, 12, 0.15);
}
@media (min-width: 901px) {
  html[data-theme="gourmet-market"] .shop-footer {
    border-radius: 32px 32px 0 0;
  }
  html[data-theme="gourmet-market"] .shop-footer::before {
    border-radius: 32px 32px 0 0;
  }
}
html[data-theme="gourmet-market"] .shop-footer::before {
  background: linear-gradient(90deg, transparent, #ea580c, #f97316, #ea580c, transparent);
}

/* ────── LUXURY-ATELIER: Gold Opulence ────── */
html[data-theme="luxury-atelier"] .shop-header::after {
  background: linear-gradient(90deg,
    transparent, #b8860b 15%, #d4af37 35%, #f4e4a6 50%, #d4af37 65%, #b8860b 85%, transparent
  );
  height: 1px;
}
html[data-theme="luxury-atelier"] .card-product {
  border: 1px solid rgba(212, 175, 55, 0.2);
}
html[data-theme="luxury-atelier"] .card-product:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow:
    0 0 32px rgba(212, 175, 55, 0.1),
    0 24px 64px rgba(0, 0, 0, 0.45);
}
html[data-theme="luxury-atelier"] .shop-footer::before {
  background: linear-gradient(90deg,
    transparent, #b8860b 15%, #d4af37 35%, #f4e4a6 50%, #d4af37 65%, #b8860b 85%, transparent
  );
}
html[data-theme="luxury-atelier"] .footer-heading::after {
  background: linear-gradient(90deg, #d4af37, #f4e4a6);
}

/* ────── KIDS-PLAYGROUND: Bouncy & Playful ────── */
html[data-theme="kids-playground"] .shop-header::after {
  height: 3px;
  background: linear-gradient(90deg,
    #db2777, #7c3aed, #2563eb, #10b981, #f59e0b, #ef4444, #db2777
  );
  background-size: 200% auto;
  animation: radical-shimmer 4s linear infinite;
}
html[data-theme="kids-playground"] .card-product {
  border-radius: 20px;
  border: 2px solid var(--shop-border);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, border-color 0.3s;
}
html[data-theme="kids-playground"] .card-product:hover {
  transform: translateY(-8px) rotate(-1deg) scale(1.03);
  border-color: var(--shop-accent);
  box-shadow: 0 16px 40px rgba(219, 39, 119, 0.15);
}
html[data-theme="kids-playground"] .btn-add-cart:hover {
  transform: translateY(-2px) scale(1.05) rotate(-1deg);
}
html[data-theme="kids-playground"] .shop-footer::before {
  height: 4px;
  background: linear-gradient(90deg,
    #db2777, #7c3aed, #2563eb, #10b981, #f59e0b, #ef4444, #db2777
  );
  background-size: 200% auto;
  animation: radical-shimmer 4s linear infinite;
}

/* ────── HOME-STUDIO: Clean Scandinavian ────── */
@media (min-width: 901px) {
  html[data-theme="home-studio"] .shop-header {
    background: color-mix(in srgb, #f8fafc 95%, transparent);
  }
}
html[data-theme="home-studio"] .shop-header::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, #0f766e 50%, transparent);
  opacity: 0.3;
}
html[data-theme="home-studio"] .card-product:hover {
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.1);
  border-color: rgba(15, 118, 110, 0.25);
}
html[data-theme="home-studio"] .section-title::after {
  background: #0f766e;
  height: 3px;
  border-radius: 2px;
}
html[data-theme="home-studio"] .shop-footer::before {
  height: 2px;
  background: linear-gradient(90deg, transparent, #0f766e, #14b8a6, #0f766e, transparent);
}

/* ────── SPORT-PULSE: Raw Energy ────── */
html[data-theme="sport-pulse"] .shop-header::after {
  height: 3px;
  background: linear-gradient(90deg, #a3e635, #22d3ee, #a3e635);
  background-size: 200% auto;
  animation: radical-shimmer 2s linear infinite;
}
@media (min-width: 901px) {
  html[data-theme="sport-pulse"] .card-product {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  }
}
html[data-theme="sport-pulse"] .card-product:hover {
  box-shadow: 8px 8px 0 rgba(163, 230, 53, 0.3), 0 20px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(-6px);
}
html[data-theme="sport-pulse"] .btn-add-cart:hover {
  box-shadow: 6px 6px 0 #0c0a09;
  transform: translateY(-3px);
}
html[data-theme="sport-pulse"] .shop-footer::before {
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #a3e635, #22d3ee);
  background-size: 200% auto;
  animation: radical-shimmer 2s linear infinite;
}

/* ────── BEAUTY-BLOOM: Ethereal Glass ────── */
@media (min-width: 901px) {
  html[data-theme="beauty-bloom"] .shop-header {
    background: color-mix(in srgb, #fdf2f8 85%, transparent);
    backdrop-filter: blur(24px) saturate(1.8);
  }
}
html[data-theme="beauty-bloom"] .shop-header::after {
  background: linear-gradient(90deg,
    transparent, #f472b6 25%, #a855f7 50%, #f472b6 75%, transparent
  );
  opacity: 0.6;
}
@media (min-width: 901px) {
  html[data-theme="beauty-bloom"] .card-product {
    backdrop-filter: blur(16px);
  }
}
html[data-theme="beauty-bloom"] .card-product {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
html[data-theme="beauty-bloom"] .card-product:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 40px rgba(219, 39, 119, 0.12), 0 24px 60px rgba(0, 0, 0, 0.1);
}
html[data-theme="beauty-bloom"] .shop-footer::before {
  background: linear-gradient(90deg,
    transparent, #f472b6 25%, #a855f7 50%, #f472b6 75%, transparent
  );
}

/* ────── CHRONO-VAULT: Precision Museum ────── */
html[data-theme="chrono-vault"] .shop-header::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, #34d399 50%, transparent);
  opacity: 0.5;
}
html[data-theme="chrono-vault"] .card-product {
  border: 1px solid var(--shop-border);
  transition: all 0.4s ease;
}
html[data-theme="chrono-vault"] .card-product:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.08), 0 20px 56px rgba(0, 0, 0, 0.35);
}
html[data-theme="chrono-vault"] .section-title::after {
  background: #34d399;
  height: 1.5px;
}
html[data-theme="chrono-vault"] .shop-footer::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, #34d399, #6ee7b7, #34d399, transparent);
}

/* ────── COASTAL-TIDE: Ocean Breeze ────── */
@media (min-width: 901px) {
  html[data-theme="coastal-tide"] .shop-header {
    background: color-mix(in srgb, #f0fdfa 88%, transparent);
  }
}
html[data-theme="coastal-tide"] .shop-header::after {
  background: linear-gradient(90deg,
    transparent, #0d9488 25%, #06b6d4 50%, #0d9488 75%, transparent
  );
  opacity: 0.5;
}
html[data-theme="coastal-tide"] .card-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.3);
}
@media (min-width: 901px) {
  html[data-theme="coastal-tide"] .shop-footer {
    border-radius: 24px 24px 0 0;
  }
  html[data-theme="coastal-tide"] .shop-footer::before {
    border-radius: 24px 24px 0 0;
  }
}
html[data-theme="coastal-tide"] .shop-footer::before {
  background: linear-gradient(90deg,
    transparent, #0d9488 25%, #06b6d4 50%, #0d9488 75%, transparent
  );
}

/* ────── GAMING-NEON: Cyberpunk Arena ────── */
html[data-theme="gaming-neon"] .shop-header::after {
  height: 2px;
  background: linear-gradient(90deg,
    #ff00e5 0%, #00ff87 25%, #00e5ff 50%, #ff00e5 75%, #00ff87 100%
  );
  background-size: 200% auto;
  animation: radical-shimmer 2s linear infinite;
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.4);
}
html[data-theme="gaming-neon"] .card-product {
  border: 1px solid rgba(0, 255, 135, 0.15);
}
@media (min-width: 901px) {
  html[data-theme="gaming-neon"] .card-product {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  }
}
html[data-theme="gaming-neon"] .card-product:hover {
  border-color: rgba(0, 255, 135, 0.5);
  box-shadow:
    0 0 40px rgba(0, 255, 135, 0.15),
    0 0 80px rgba(255, 0, 229, 0.08),
    inset 0 0 30px rgba(0, 255, 135, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.5);
}
html[data-theme="gaming-neon"] .btn-add-cart:hover {
  box-shadow: 0 0 24px rgba(0, 255, 135, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
}
html[data-theme="gaming-neon"] .shop-footer::before {
  height: 2px;
  background: linear-gradient(90deg,
    #ff00e5, #00ff87, #00e5ff, #ff00e5
  );
  background-size: 200% auto;
  animation: radical-shimmer 2s linear infinite;
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.3);
}
html[data-theme="gaming-neon"] .footer-heading::after {
  background: linear-gradient(90deg, #00ff87, #00e5ff);
}

/* ────── INTEX-MODERN: Clean Corporate ────── */
@media (min-width: 901px) {
  html[data-theme="intex-modern"] .shop-header {
    background: color-mix(in srgb, #ffffff 94%, transparent);
  }
}
html[data-theme="intex-modern"] .shop-header::after {
  background: linear-gradient(90deg,
    transparent, #c44a1f 25%, #f16c2f 50%, #c44a1f 75%, transparent
  );
  height: 2px;
}
html[data-theme="intex-modern"] .card-product {
  border-radius: 18px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
html[data-theme="intex-modern"] .card-product:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(196, 74, 31, 0.1);
  border-color: rgba(196, 74, 31, 0.25);
}
html[data-theme="intex-modern"] .shop-footer::before {
  background: linear-gradient(90deg,
    transparent, #c44a1f 25%, #f16c2f 50%, #c44a1f 75%, transparent
  );
}


/* ═══════════════════════════════════════════════════════════════════
   MOBILE — RADICAL MOBILE EXPERIENCE (Complete Rewrite)
   ═══════════════════════════════════════════════════════════════════ */

/* -------- TABLET (≤1024px) -------- */
@media (max-width: 1024px) {
  /* Lighter glass on tablet */
  .shop-header {
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
  }
  .shop-header::after { height: 2px; }
  .shop-footer::after { height: 80px; }

  /* Kill stagger — instant cards */
  .card-product { animation: none; }
}

/* -------- MOBILE (≤900px) — ULTRA-LIGHT -------- */
@media (max-width: 900px) {
  /* ═══ KILL ALL GPU-HEAVY EFFECTS ═══ */
  .shop-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .shop-header::after {
    height: 1px;
    opacity: 0.5;
    animation: none;
  }

  /* Topbar — kill shimmer animation */
  .shop-topbar {
    animation: none;
    background-size: auto;
  }
  .shop-topbar::before {
    display: none;
  }

  /* ═══ KILL ALL PSEUDO-ELEMENT DECORATIONS ═══ */
  .card-product::before,
  .btn-add-cart::before,
  .trust-strip::before,
  .pill.accent::after,
  .btn-primary::after,
  .card-img-zone::after,
  .hero-badge::before {
    display: none !important;
  }

  /* ═══ KILL ALL ANIMATIONS ═══ */
  .card-product,
  .cart-badge,
  .floating-whatsapp,
  .shop-main,
  .skeleton-hero {
    animation: none !important;
  }

  .hero-title,
  .hero-desc,
  .hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* ═══ KILL ALL HOVER TRANSFORMS ═══ */
  .card-product:hover,
  .card-product:hover .card-img-wrap img,
  .card-product:hover .card-cat-badge,
  .btn-add-cart:hover,
  .trust-item:hover,
  .trust-item:hover .trust-ico,
  .pill:hover,
  .cat-pill:hover,
  .shop-nav-link:hover,
  .footer-social-link:hover,
  .pd-main-img:hover,
  .pd-thumb:hover,
  .floating-whatsapp:hover {
    transform: none !important;
    box-shadow: inherit;
    filter: none;
  }
  .card-product:hover .card-price {
    text-shadow: none;
  }
  .trust-item:hover {
    background: inherit;
  }

  /* Active press = only feedback on mobile */
  .card-product:active {
    transform: scale(0.98) !important;
    transition-duration: 0.1s;
  }
  .btn-add-cart:active {
    transform: scale(0.97) !important;
    transition-duration: 0.1s;
  }

  /* ═══ SIMPLIFY TRANSITIONS (reduce repaints) ═══ */
  .card-product,
  .trust-item,
  .pill,
  .cat-pill,
  .btn-add-cart,
  .footer-social-link,
  .shop-nav-link {
    transition: color 0.15s, background 0.15s !important;
  }

  /* Cart badge — simple */
  .cart-badge {
    box-shadow: none;
  }

  /* ═══ NAV ═══ */
  .shop-nav-link::after {
    display: none !important;
  }
  .shop-nav-link:hover,
  .shop-nav-link.active {
    border-bottom-color: transparent;
  }
  .shop-nav-link.active {
    background: color-mix(in srgb, var(--shop-accent) 12%, transparent);
    color: var(--shop-accent);
  }

  /* ═══ SECTION TITLES — static ═══ */
  .section-title::after {
    width: 24px;
    height: 2px;
    transition: none;
  }
  .section-block:hover .section-title::after {
    width: 24px;
  }

  /* ═══ FOOTER — lightweight ═══ */
  .shop-footer::before {
    height: 1.5px;
    animation: none;
  }
  .shop-footer::after {
    display: none;
  }
  .footer-heading::after {
    width: 18px;
    height: 2px;
    transition: none;
  }
  .footer-col:hover .footer-heading::after {
    width: 18px;
  }
  .footer-col a:hover {
    padding-inline-start: 0;
  }
  .shop-footer-copy {
    margin-top: 20px;
    padding-top: 12px;
  }

  /* ═══ SCROLLBAR — native ═══ */
  * {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
}

/* -------- SMALL PHONE (≤600px) -------- */
@media (max-width: 600px) {
  .shop-header::after { display: none; }
  .shop-footer::before { height: 1px; }
  .section-title::after { width: 20px; }
}

/* -------- TINY PHONE (≤420px) -------- */
@media (max-width: 420px) {
  .shop-footer::before { display: none; }
  .section-title::after { display: none; }
  .footer-heading::after { display: none; }
}

/* ═══════════════════════════════════
   Touch devices (any size)
   ═══════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  /* ── Kill ALL hover transforms ── */
  .card-product:hover {
    transform: none !important;
    box-shadow: var(--shop-shadow) !important;
    border-color: var(--shop-border) !important;
  }
  .card-product:hover::before {
    display: none;
  }
  .card-product:hover .card-img-wrap img {
    transform: none !important;
    filter: none !important;
  }
  .card-product:hover .card-cat-badge {
    transform: none !important;
    background: color-mix(in srgb, var(--shop-card) 78%, transparent) !important;
  }
  .card-product:hover .card-price {
    text-shadow: none !important;
  }
  .card-img-zone::after {
    display: none !important;
  }

  /* Active = pressed feedback */
  .card-product:active {
    transform: scale(0.97) !important;
    transition-duration: 0.12s !important;
  }

  .btn-add-cart:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
  .btn-add-cart:active {
    transform: scale(0.96) !important;
    transition-duration: 0.1s !important;
  }

  .trust-item:hover {
    transform: none !important;
    box-shadow: none !important;
    background: inherit !important;
  }
  .trust-item:hover .trust-ico {
    transform: none !important;
  }

  .pill:hover {
    transform: none !important;
  }
  .cat-pill:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .footer-social-link:hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .pd-main-img:hover {
    transform: none !important;
    filter: none !important;
  }
  .pd-thumb:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .floating-whatsapp {
    animation: none !important;
  }
  .floating-whatsapp:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .hero-banner:hover {
    border-color: var(--shop-border) !important;
    box-shadow: var(--shop-shadow) !important;
  }

  /* Remove all shimmer pseudo-elements */
  .pill.accent::after,
  .btn-primary::after,
  .btn-add-cart::before,
  .hero-badge::before,
  .trust-strip::before,
  .card-product::before {
    display: none !important;
  }

  /* Nav link underline — hide on touch */
  .shop-nav-link::after {
    display: none !important;
  }
}

/* ═══════════════════════════════════
   Reduced motion preference
   ═══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
  .shop-topbar,
  .shop-topbar::before,
  .shop-header::after,
  .shop-footer::before,
  .hero-badge::before,
  .pill.accent::after,
  .btn-primary::after,
  .btn-add-cart::before,
  .card-product::before,
  .trust-strip::before {
    animation: none !important;
  }
  .card-product {
    animation: none !important;
  }
}
