/* ============================================================
   12 ANGRY MAN — Shop Styles
   ============================================================ */

@keyframes neonRingSpin {
  to { transform: rotate(360deg); }
}

/* ===== MOST POPULAR SECTION ===== */
.shop-popular-header {
  margin-bottom: 28px;
}
.shop-popular-title-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.shop-popular-flame {
  font-size: 28px;
  animation: flamePulse 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes flamePulse {
  0%,100% { transform: scale(1);    filter: drop-shadow(0 0 6px rgba(255,140,0,0.6)); }
  50%      { transform: scale(1.15); filter: drop-shadow(0 0 14px rgba(255,215,0,0.9)); }
}
.shop-popular-title {
  font-size: 1.7rem; font-weight: 900;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 40%, #FF8C00 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none;
  letter-spacing: -0.01em;
}
.shop-popular-badge {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,140,0,0.15));
  border: 1px solid rgba(255,215,0,0.35);
  color: #FFD700;
  box-shadow: 0 0 12px rgba(255,215,0,0.15);
}
.shop-popular-sub {
  font-size: 13px; color: var(--muted);
  padding-left: 2px;
}
.shop-popular-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
/* Popular cards get a gold ring */
.shop-popular-grid .shop-card {
  border-color: rgba(255,215,0,0.18);
  background: linear-gradient(160deg, rgba(255,215,0,0.04) 0%, rgba(255,255,255,0.03) 100%);
}
.shop-popular-grid .shop-card:hover {
  border-color: rgba(255,215,0,0.45) !important;
  box-shadow: 0 0 0 1px rgba(255,215,0,0.15),
              0 12px 40px rgba(255,215,0,0.15) !important;
  transform: translateY(-6px) !important;
}
/* Rank badge on popular cards */
.shop-popular-rank {
  position: absolute; top: 12px; left: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #1a0e00;
  font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(255,215,0,0.5);
  z-index: 2;
}

/* Responsive popular grid */
@media (max-width: 1100px) {
  .shop-popular-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .shop-popular-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-popular-title { font-size: 1.35rem; }
}
@media (max-width: 420px) {
  .shop-popular-grid { grid-template-columns: 1fr; }
}

/* ===== GOLD NEON CARD ENHANCEMENTS ===== */
/* Give cards a faint gold shimmer border on hover */
.shop-card:hover {
  border-color: rgba(255,215,0,0.18) !important;
  box-shadow: 0 0 0 1px rgba(255,215,0,0.08),
              0 12px 40px rgba(255,215,0,0.08) !important;
}
/* Gold accent on section titles */
.shop-section-header h2 {
  text-shadow: 0 0 30px rgba(255,215,0,0.12);
}
/* Hero h1 gold shimmer */
.shop-hero h1 span {
  text-shadow: 0 0 40px rgba(255,215,0,0.25);
}
/* Pricing plan popular gold ring */
.prod-plan.popular {
  border-color: rgba(255,215,0,0.45) !important;
  box-shadow: 0 0 0 1px rgba(255,215,0,0.15),
              0 0 30px rgba(255,215,0,0.08);
}
.prod-plan-badge {
  background: linear-gradient(135deg, #FFD700, #FFA500) !important;
  color: #1a0e00 !important;
  box-shadow: 0 0 14px rgba(255,215,0,0.4);
}
/* Gold search focus glow */
.shop-search-wrap input:focus {
  border-color: rgba(255,215,0,0.35) !important;
  box-shadow: 0 0 0 3px rgba(255,215,0,0.08) !important;
}

:root {
  --ac:     #00c8ff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.shop-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2,3,9,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.shop-nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--text);
  text-decoration: none;
}
.shop-nav-logo-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  filter: brightness(1.3) saturate(1.2);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.shop-nav-logo-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    #ff0000, #ff8800, #ffff00, #00ff44, #00ffff, #4466ff, #cc00ff, #ff0000
  );
  animation: neonRingSpin 2.5s linear infinite;
  filter: blur(1px);
  z-index: -1;
}
.shop-nav-logo-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    #ff000066, #ff880066, #ffff0066, #00ff4466, #00ffff66, #4466ff66, #cc00ff66, #ff000066
  );
  animation: neonRingSpin 2.5s linear infinite;
  filter: blur(8px);
  z-index: -2;
}
.shop-nav-logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.shop-nav-logo:hover .shop-nav-logo-icon {
  filter: brightness(1.5) saturate(1.3);
  transform: scale(1.12);
}
.shop-nav-logo-text {
  background: linear-gradient(135deg, #00c8ff, #b400ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.shop-nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.shop-nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.shop-nav-links a:hover, .shop-nav-links a.active { color: var(--text); }
.shop-nav-links a.active { color: var(--ac); }
/* ── Profile + Auth (shared with main site) ── */
.nav-profile-link {
  display: flex; align-items: center; justify-content: center;
  margin-left: 2px; margin-right: 0; text-decoration: none;
  transition: transform 0.2s, filter 0.2s;
}
.nav-profile-link:hover { transform: scale(1.1); filter: drop-shadow(0 0 8px var(--ac)); }
.nav-profile-icon {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,0.15); transition: border-color 0.3s;
}
.nav-profile-link:hover .nav-profile-icon { border-color: var(--ac); }
/* ── Nav extras (theme, account group) ── */
.theme-switcher { display: flex; align-items: center; gap: 6px; margin-left: 8px; margin-right: 8px; }
.theme-btn { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); cursor: pointer; transition: all .3s; padding: 0; outline: none; }
.theme-btn:hover { transform: scale(1.15); }
.theme-btn.active { border-color: var(--ac); box-shadow: 0 0 12px var(--ac); }
.theme-btn[data-set-theme="dark"] { background: linear-gradient(135deg, #00ffff, #0066ff); }
.theme-btn[data-set-theme="light"] { background: linear-gradient(135deg, #f0f2f8, #c8d0e8); }
.theme-btn[data-set-theme="gold"] { background: linear-gradient(135deg, #66ff33, #b8e600); }
.nav-account-group { display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 4px; border-radius: 50px; border: 1px solid var(--border); background: rgba(255,255,255,.03); }

.shop-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none;
}
.shop-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--muted); border-radius: 2px; transition: 0.3s;
}

/* ===== SHOP HERO ===== */
.shop-hero {
  padding: 64px 24px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.shop-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,200,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.shop-hero-tag {
  display: inline-block;
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.25);
  color: var(--ac);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 20px;
}
.shop-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}
.shop-hero h1 span {
  background: linear-gradient(135deg, #00c8ff, #b400ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.shop-hero p {
  font-size: 1rem; color: var(--muted);
  max-width: 520px; margin: 0 auto 32px;
}

/* ===== SEARCH BAR ===== */
.shop-search-wrap {
  max-width: 520px; margin: 0 auto;
  position: relative;
}
.shop-search-wrap input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.shop-search-wrap input::placeholder { color: var(--muted); }
.shop-search-wrap input:focus {
  border-color: rgba(0,200,255,0.4);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.1);
}
.shop-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; font-size: 18px;
}

/* ===== FILTER TABS ===== */
.shop-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  padding: 0 24px 40px;
}
.shop-filter-btn {
  padding: 9px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--muted);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.shop-filter-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.shop-filter-btn.active {
  background: rgba(0,200,255,0.12);
  border-color: rgba(0,200,255,0.4);
  color: var(--ac);
}

/* ===== SECTION LABELS ===== */
.shop-section { padding: 0 24px 60px; max-width: 1200px; margin: 0 auto; }
.shop-section-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.shop-section-header h2 {
  font-size: 1.35rem; font-weight: 800; color: var(--text);
}
.shop-section-divider {
  flex: 1; height: 1px; background: var(--border);
}
.shop-section-count {
  font-size: 12px; color: var(--muted); font-weight: 600;
  background: var(--card); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 20px;
}

/* ===== PRODUCT GRID ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ===== PRODUCT CARD ===== */
.shop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none; color: inherit;
}
.shop-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}
.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}
.shop-card:hover::before { opacity: 1; }

.shop-card-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(0,200,255,0.15); color: var(--ac);
  border: 1px solid rgba(0,200,255,0.3);
}
.shop-card-badge.hot  { background: rgba(255,68,0,0.15); color: #ff4400; border-color: rgba(255,68,0,0.3); }
.shop-card-badge.new  { background: rgba(0,255,136,0.1); color: #00ff88; border-color: rgba(0,255,136,0.25); }
.shop-card-badge.prem { background: rgba(180,0,255,0.12); color: #c060ff; border-color: rgba(180,0,255,0.3); }
.shop-card-badge.dev  { background: rgba(99,102,241,0.15); color: #818cf8; border-color: rgba(99,102,241,0.3); }
.shop-card-badge.best { background: rgba(245,158,11,0.12); color: #fbbf24; border-color: rgba(245,158,11,0.3); }

.shop-card-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900;
  margin-bottom: 16px; flex-shrink: 0;
  position: relative;
}
.shop-card-icon-letter {
  font-size: 18px; font-weight: 900; color: #fff;
  letter-spacing: -0.03em; line-height: 1;
}

.shop-card-name {
  font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.shop-card-tagline {
  font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.4;
}
.shop-card-desc {
  font-size: 13px; color: var(--muted);
  line-height: 1.55; flex: 1; margin-bottom: 16px;
}

.shop-card-includes {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 14px;
}
.shop-card-include-pill {
  font-size: 10px; font-weight: 600;
  padding: 3px 9px; border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}

.shop-card-footer {
  border-top: 1px solid var(--border); padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.shop-card-price-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.shop-card-price { font-size: 18px; font-weight: 800; color: var(--text); margin-top: 2px; }
.shop-card-period { font-size: 11px; color: var(--muted); }
.shop-card-btn {
  padding: 9px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, #00c8ff, #0066ff);
  color: #020309;
  border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}
.shop-card-btn:hover { opacity: 0.9; transform: scale(1.03); }

/* ===== NO RESULTS ===== */
.shop-no-results {
  text-align: center; padding: 60px 24px; color: var(--muted);
  font-size: 15px; display: none;
}
.shop-no-results .icon { font-size: 40px; margin-bottom: 12px; }

/* ===== PRODUCT DETAIL PAGE ===== */
.prod-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted);
  margin: 0 0 28px; transition: color 0.2s;
  text-decoration: none;
}
.prod-back:hover { color: var(--text); }

.prod-page { max-width: 960px; margin: 0 auto; padding: 32px 24px 80px; }

.prod-hero {
  display: flex; gap: 28px; align-items: flex-start;
  margin-bottom: 40px; flex-wrap: wrap;
}
.prod-icon {
  width: 90px; height: 90px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 900; flex-shrink: 0;
}
.prod-icon-letter { font-size: 26px; font-weight: 900; color: #fff; }
.prod-info { flex: 1; min-width: 200px; }
.prod-category-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ac); background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.2);
  padding: 4px 12px; border-radius: 20px;
  display: inline-block; margin-bottom: 10px;
}
.prod-name { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--text); line-height: 1.15; margin-bottom: 6px; }
.prod-tagline { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.prod-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.prod-badge-pill {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 6px;
}
.prod-badge-pill.instant { background: rgba(0,255,136,0.1); color: #00ff88; border: 1px solid rgba(0,255,136,0.2); }
.prod-badge-pill.safe    { background: rgba(0,200,255,0.1); color: var(--ac); border: 1px solid rgba(0,200,255,0.2); }
.prod-badge-pill.nepali  { background: rgba(180,0,255,0.1); color: #c060ff; border: 1px solid rgba(180,0,255,0.2); }

.prod-desc {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 36px;
  font-size: 15px; line-height: 1.7; color: var(--text);
}

/* Pricing section */
.prod-section-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px;
}
.prod-section-title::before {
  content: ''; display: block;
  width: 3px; height: 18px; border-radius: 2px;
  background: var(--ac);
}

.prod-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.prod-plan {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.prod-plan:hover { transform: translateY(-3px); }
.prod-plan.popular {
  border-color: rgba(0,200,255,0.5);
  background: rgba(0,200,255,0.05);
}
.prod-plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ac); color: #020309;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em;
  padding: 4px 12px; border-radius: 20px; white-space: nowrap;
}
.prod-plan-badge.save {
  background: linear-gradient(135deg, #00ff88, #00c8ff); color: #020309;
}
.prod-plan-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.prod-plan-price { font-size: 28px; font-weight: 900; color: var(--text); line-height: 1; }
.prod-plan-period { font-size: 12px; color: var(--muted); margin-top: 4px; margin-bottom: 16px; }
.prod-plan-order-btn {
  width: 100%; padding: 11px;
  border: none; border-radius: 10px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.prod-plan-order-btn:hover { opacity: 0.9; transform: scale(1.02); }

/* Includes */
.prod-includes-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.prod-include-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 12px 20px;
  font-size: 14px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}

/* Features */
.prod-features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px; margin-bottom: 36px;
}
.prod-feature-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  font-size: 13px; font-weight: 500; color: var(--text);
}
.prod-feature-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,255,136,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; color: #00ff88;
}

/* How to Order */
.prod-steps-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 40px;
}
.prod-step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.prod-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,200,255,0.12);
  border: 1px solid rgba(0,200,255,0.25);
  color: var(--ac); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.prod-step-text { font-size: 13px; color: var(--text); line-height: 1.5; }

/* CTA */
.prod-cta {
  background: rgba(37,211,102,0.07);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: 18px; padding: 28px;
  text-align: center;
}
.prod-cta h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.prod-cta p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.prod-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; font-size: 16px; font-weight: 700;
  border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  text-decoration: none;
}
.prod-cta-btn:hover { opacity: 0.9; transform: scale(1.02); }

/* ===== FOOTER ===== */
.shop-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.shop-footer a { color: var(--ac); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .shop-nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(2,3,9,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 32px; z-index: 99; }
  .shop-nav-links.open { display: flex; }
  .shop-nav-links a { font-size: 18px; }
  .shop-hamburger { display: flex; }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .prod-hero { flex-direction: column; gap: 16px; }
  .prod-icon { width: 70px; height: 70px; font-size: 30px; border-radius: 18px; }
}
@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
  .prod-plans-grid { grid-template-columns: 1fr; }
  .prod-features-grid { grid-template-columns: 1fr; }
  .prod-steps-grid { grid-template-columns: 1fr; }
  .shop-tpl-grid { grid-template-columns: 1fr; }
}

/* ===== WEBSITE TEMPLATES SECTION ===== */
.shop-tpl-chips {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.shop-tpl-chip {
  padding: 7px 16px; border-radius: 50px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); font-size: 12px;
  font-weight: 700; letter-spacing: .04em; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.shop-tpl-chip:hover { border-color: rgba(123,47,255,.4); color: var(--text); }
.shop-tpl-chip.active {
  background: linear-gradient(135deg, #7b2fff, #00c8ff);
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 16px rgba(123,47,255,.3);
}

.shop-tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.shop-tpl-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; transition: all .3s ease; cursor: pointer;
  text-decoration: none; color: inherit; position: relative; display: block;
}
.shop-tpl-card:hover {
  border-color: rgba(123,47,255,.4); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123,47,255,.15);
}
.shop-tpl-card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  background: rgba(255,255,255,.03);
}
.shop-tpl-card-body { padding: 18px; }
.shop-tpl-card-cat {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: #a855f7; margin-bottom: 8px;
}
.shop-tpl-card-title {
  font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3;
}
.shop-tpl-card-desc {
  font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-tpl-card-tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px;
}
.shop-tpl-card-tag {
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 6px;
  background: rgba(123,47,255,.08); border: 1px solid rgba(123,47,255,.2); color: #a855f7;
}
.shop-tpl-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.shop-tpl-card-price {
  font-family: 'Orbitron', sans-serif; font-size: 18px; font-weight: 800; color: var(--text);
}
.shop-tpl-card-price .free { color: #00ff88; }
.shop-tpl-card-actions { display: flex; gap: 8px; }
.shop-tpl-card-btn {
  padding: 8px 16px; border-radius: 10px; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 4px;
}
.shop-tpl-btn-preview {
  background: rgba(123,47,255,.1); border: 1px solid rgba(123,47,255,.3); color: #a855f7;
}
.shop-tpl-btn-preview:hover { background: rgba(123,47,255,.2); }
.shop-tpl-btn-order {
  background: linear-gradient(135deg, #7b2fff, #00c8ff); color: #fff; border: none;
}
.shop-tpl-btn-order:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(123,47,255,.4); }

.shop-tpl-badge {
  position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 6px;
  font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
.shop-tpl-badge-premium {
  background: linear-gradient(135deg, #ffd700, #ff8c00); color: #1a0e00;
  box-shadow: 0 2px 8px rgba(255,215,0,.4);
}
.shop-tpl-badge-free {
  background: rgba(0,255,136,.15); border: 1px solid rgba(0,255,136,.4); color: #00ff88;
}

.shop-tpl-empty {
  text-align: center; padding: 60px 20px; color: var(--muted);
}

.shop-tpl-viewall {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 28px; border-radius: 12px;
  background: rgba(123,47,255,.08); border: 1px solid rgba(123,47,255,.25);
  color: #a855f7; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all .2s;
}
.shop-tpl-viewall:hover {
  background: rgba(123,47,255,.15); border-color: rgba(123,47,255,.5);
  box-shadow: 0 4px 20px rgba(123,47,255,.2);
}

.shop-tpl-skeleton {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  min-height: 340px; animation: tplPulse 1.5s ease-in-out infinite;
}
@keyframes tplPulse { 0%,100% { opacity: .6; } 50% { opacity: .3; } }

/* Card header (gradient icon banner used when no preview image) */
.shop-tpl-card-header {
  flex-shrink: 0;
}

/* Override tag color inside template cards to use purple accent */
#shopTemplatesGrid .shop-tpl-card-tag {
  background: rgba(123,47,255,.08);
  border: 1px solid rgba(123,47,255,.2);
  color: #a855f7;
}

/* Ensure template section is never hidden when it has cards */
#shopTemplatesSection:not([style*="none"]) { display: block; }

@media (max-width: 768px) {
  .shop-tpl-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
