/*
Theme Name: LomVid
Theme URI: https://lomvid.id
Author: LomVid Team
Author URI: https://lomvid.id
Description: Platform video lokal Lombok dengan marketplace LomShop. Berbagi konten video budaya, wisata, kuliner, dan UMKM Lombok sambil berjualan produk lokal.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lomvid
Tags: video, marketplace, e-commerce, social, dark, mobile-first, lombok, indonesia

*/

/* ============================================================
   RESET & ROOT
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pr:       #E8354A;
  --pr-dark:  #c02030;
  --pr-glow:  rgba(232,53,74,0.25);
  --gold:     #F5A623;
  --gold-dim: rgba(245,166,35,0.15);
  --green:    #22c55e;
  --blue:     #3b82f6;

  --bg:     #0a0a0a;
  --s1:     #161616;
  --s2:     #1e1e1e;
  --s3:     #252525;
  --s4:     #2e2e2e;

  --tx:    #f0f0f0;
  --txm:   #888888;
  --txd:   #555555;

  --bdr:       rgba(255,255,255,0.07);
  --bdr-hover: rgba(255,255,255,0.15);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow:     0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.8);
  --shadow-pr:  0 4px 20px rgba(232,53,74,0.3);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Noto Sans', 'Plus Jakarta Sans', sans-serif;

  --topbar-h:  60px;
  --botnav-h:  64px;
  --max-w:     430px;

  --transition: all 0.2s ease;
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: var(--font-body); }
button { cursor: pointer; border: none; background: none; }

/* scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--s1); }
::-webkit-scrollbar-thumb { background: var(--s3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--pr); }

/* ============================================================
   LAYOUT WRAPPER
   ============================================================ */
#page {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  border-left:  0.5px solid var(--bdr);
  border-right: 0.5px solid var(--bdr);
  position: relative;
}

#content {
  padding-top: var(--topbar-h);
  padding-bottom: var(--botnav-h);
}

/* ============================================================
   TOPBAR / HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  height: var(--topbar-h);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--bdr);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

/* Logo */
.site-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pr), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.site-logo .logo-shop {
  background: linear-gradient(135deg, var(--gold), #ff9f00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header tabs */
.header-tabs {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}
.header-tab {
  color: var(--txm);
  cursor: pointer;
  padding-bottom: 2px;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.header-tab:hover,
.header-tab.active {
  color: var(--tx);
  border-bottom-color: var(--pr);
}

/* Header icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  background: var(--s2);
  border: 0.5px solid var(--bdr);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.icon-btn:hover {
  border-color: var(--bdr-hover);
  background: var(--s3);
}
.icon-btn .badge {
  position: absolute;
  top: -3px; right: -3px;
  background: var(--pr);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: var(--radius-full);
  width: 15px; height: 15px;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   BOTTOM NAVIGATION
   ============================================================ */
#bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  height: var(--botnav-h);
  background: rgba(10,10,10,0.98);
  border-top: 0.5px solid var(--bdr);
  display: flex;
  align-items: center;
  z-index: 1000;
  padding-bottom: 6px;
}

.nav-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  color: var(--txm);
  cursor: pointer;
  transition: var(--transition);
  padding: 6px 0;
  text-decoration: none;
}
.nav-item:hover,
.nav-item.active { color: var(--tx); }
.nav-item.active .nav-icon { color: var(--pr); }
.nav-icon { font-size: 20px; line-height: 1; }

.nav-post {
  flex: 1;
  display: flex; justify-content: center; align-items: center;
}
.post-btn {
  background: var(--pr);
  border-radius: var(--radius-sm);
  width: 44px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-pr);
}
.post-btn::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pr), var(--gold));
  z-index: -1;
  opacity: 0.5;
}
.post-btn:hover { transform: scale(1.05); }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.sec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--txm);
  text-transform: uppercase;
  padding: 16px 14px 8px;
}
.sec-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 14px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sec-title a {
  font-size: 12px;
  color: var(--pr);
  font-weight: 600;
}

/* ============================================================
   CATEGORY CHIPS
   ============================================================ */
.chip-strip {
  display: flex;
  gap: 8px;
  padding: 0 14px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chip-strip::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.chip:hover { background: rgba(255,255,255,0.12); }
.chip.active {
  background: var(--pr);
  border-color: var(--pr);
  color: #fff;
  box-shadow: 0 2px 10px rgba(232,53,74,0.4);
}

/* ============================================================
   VIDEO FEED (Homepage)
   ============================================================ */
.video-feed {
  height: calc(100vh - var(--topbar-h) - var(--botnav-h));
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.video-feed::-webkit-scrollbar { display: none; }

.video-card {
  position: relative;
  height: calc(100vh - var(--topbar-h) - var(--botnav-h));
  scroll-snap-align: start;
  background: var(--s1);
  overflow: hidden;
}

.video-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.video-bg-content {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  opacity: 0.5;
}
.video-bg-icon { font-size: 90px; }
.video-bg-label {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* Play overlay */
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.play-btn {
  width: 60px; height: 60px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Location badge */
.loc-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.55);
  border: 0.5px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px; font-weight: 600;
  color: #fff;
}

/* Side actions */
.side-actions {
  position: absolute;
  right: 10px; bottom: 100px;
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
}
.action-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  cursor: pointer;
}
.action-circle {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 0.5px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}
.action-circle:hover { background: rgba(255,255,255,0.18); transform: scale(1.05); }
.action-liked .action-circle {
  background: rgba(232,53,74,0.2);
  border-color: var(--pr);
}
.action-count {
  font-size: 10px; font-weight: 600; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Creator avatar */
.creator-disc {
  width: 46px; height: 46px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--pr), var(--gold));
  border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  position: relative;
}
.creator-plus {
  position: absolute; bottom: -6px;
  width: 17px; height: 17px;
  border-radius: var(--radius-full);
  background: var(--pr);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  border: 1.5px solid var(--bg);
}

/* Video overlay info */
.video-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 56px;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.author-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.author-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--pr);
  background: var(--s2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 14px; font-weight: 700; color: #fff; }
.author-loc {
  font-size: 11px; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 4px;
}
.follow-btn {
  margin-left: auto;
  background: var(--pr);
  border-radius: var(--radius-sm);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px;
  transition: var(--transition);
  flex-shrink: 0;
}
.follow-btn:hover { background: var(--pr-dark); }
.follow-btn.following {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
}

.video-caption {
  font-size: 13px; line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255,255,255,0.9);
}
.hashtags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.hashtag {
  font-size: 12px; font-weight: 600;
  color: var(--gold);
  cursor: pointer;
}
.hashtag:hover { text-decoration: underline; }

.audio-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.65);
}
.audio-spin { animation: lomvid-spin 3s linear infinite; display: inline-block; }
@keyframes lomvid-spin { to { transform: rotate(360deg); } }

/* Progress bar */
.progress-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pr), var(--gold));
  width: 40%;
  transition: width 0.3s ease;
}

/* ============================================================
   LOMSHOP — MARKETPLACE
   ============================================================ */

/* Shop Header */
.shop-header {
  background: var(--s1);
  border-bottom: 0.5px solid var(--bdr);
  padding: 12px 14px 0;
}
.shop-header-top {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.shop-logo {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.shop-logo span { color: var(--pr); }

.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--s2);
  border: 0.5px solid var(--bdr);
  border-radius: var(--radius);
  padding: 9px 12px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.search-bar:focus-within { border-color: var(--pr); }
.search-bar input {
  background: none; border: none; outline: none;
  color: var(--tx); font-size: 13px; flex: 1;
}
.search-bar input::placeholder { color: var(--txm); }
.search-filter {
  font-size: 11px; font-weight: 600; color: var(--gold);
  cursor: pointer;
  padding-left: 8px;
  border-left: 1px solid var(--bdr);
}

/* Shop tabs */
.shop-tabs {
  display: flex;
  border-bottom: 0.5px solid var(--bdr);
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tab {
  flex-shrink: 0;
  padding: 10px 14px;
  font-size: 12px; font-weight: 600;
  color: var(--txm);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.shop-tab:hover { color: var(--tx); }
.shop-tab.active {
  color: var(--pr);
  border-bottom-color: var(--pr);
}

/* Banner */
.promo-banner {
  background: linear-gradient(135deg, #1a0a10 0%, #2a0f18 100%);
  border-bottom: 0.5px solid var(--bdr);
  padding: 14px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.promo-text h2 {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  line-height: 1.3; margin-bottom: 4px;
}
.promo-text h2 .gold { color: var(--gold); }
.promo-text p { font-size: 11px; color: var(--txm); }
.promo-icon { font-size: 44px; flex-shrink: 0; }
.promo-cta {
  background: var(--pr);
  color: #fff; border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 12px; font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.promo-cta:hover { background: var(--pr-dark); }

/* Category circles */
.cat-circles {
  display: flex; gap: 10px;
  padding: 0 14px 14px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-circles::-webkit-scrollbar { display: none; }
.cat-item {
  flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  cursor: pointer;
}
.cat-circle {
  width: 54px; height: 54px;
  border-radius: var(--radius-full);
  background: var(--s2);
  border: 0.5px solid var(--bdr);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}
.cat-circle:hover { border-color: var(--pr); background: var(--s3); }
.cat-item.active .cat-circle {
  border: 2px solid var(--pr);
  background: rgba(232,53,74,0.1);
}
.cat-name {
  font-size: 10px; font-weight: 500;
  color: var(--txm); text-align: center;
  max-width: 60px;
}

/* Flash sale bar */
.flash-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 8px;
  background: var(--s1);
  border-top: 0.5px solid var(--bdr);
}
.flash-tag {
  background: var(--pr);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 4px;
}
.flash-label { font-size: 12px; color: var(--txm); }
.countdown {
  display: flex; gap: 4px;
  margin-left: auto;
  align-items: center;
}
.count-box {
  background: var(--s3);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 12px; font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.count-sep {
  color: var(--gold); font-weight: 700; font-size: 13px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px;
}
.product-card {
  background: var(--s1);
  border: 0.5px solid var(--bdr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.product-card:hover {
  border-color: var(--bdr-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.product-image {
  aspect-ratio: 1/1;
  background: var(--s2);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.prod-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--pr);
  color: #fff; font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: var(--radius-sm);
}
.prod-badge.gold { background: var(--gold); color: #000; }
.prod-badge.green { background: var(--green); }
.prod-fav {
  position: absolute; top: 6px; right: 6px;
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer;
  transition: var(--transition);
}
.prod-fav:hover { transform: scale(1.1); }

.product-info { padding: 10px; }
.product-name {
  font-size: 12px; font-weight: 600;
  line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-loc {
  font-size: 10px; color: var(--txm);
  display: flex; align-items: center; gap: 3px;
  margin-bottom: 5px;
}
.product-stars {
  color: var(--gold); font-size: 10px;
  display: flex; align-items: center; gap: 3px;
}
.product-stars span { color: var(--txm); }
.product-price-row {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.product-price {
  font-size: 14px; font-weight: 700;
  color: var(--pr);
}
.product-ori {
  font-size: 10px; color: var(--txd);
  text-decoration: line-through;
  margin-top: 1px;
}
.add-to-cart {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: var(--pr);
  color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(232,53,74,0.4);
}
.add-to-cart:hover { background: var(--pr-dark); transform: scale(1.1); }

/* Seller card */
.seller-card {
  background: var(--s1);
  border: 0.5px solid var(--bdr);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex; align-items: center; gap: 12px;
  margin: 0 14px 10px;
  transition: var(--transition);
}
.seller-card:hover { border-color: var(--bdr-hover); }
.seller-avatar {
  width: 46px; height: 46px;
  border-radius: var(--radius-full);
  background: var(--s2);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  overflow: hidden;
}
.seller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.seller-info { flex: 1; min-width: 0; }
.seller-name {
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 4px;
  flex-wrap: wrap;
}
.verified-badge {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(34,197,94,0.12);
  color: var(--green);
  font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}
.seller-meta {
  font-size: 10px; color: var(--txm);
  margin-top: 2px;
}
.seller-stats {
  display: flex; gap: 12px; margin-top: 7px;
}
.s-stat {
  font-size: 10px; color: var(--txm);
  text-align: center;
}
.s-stat strong {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--tx);
}
.follow-seller {
  background: none;
  border: 1px solid var(--pr);
  color: var(--pr);
  border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700;
  padding: 7px 14px;
  transition: var(--transition);
  flex-shrink: 0;
}
.follow-seller:hover {
  background: var(--pr);
  color: #fff;
}

/* Shoppable video */
.shoppable-card {
  background: var(--s1);
  border: 0.5px solid var(--bdr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 14px 14px;
  transition: var(--transition);
}
.shoppable-card:hover { border-color: var(--bdr-hover); }
.shoppable-thumb {
  background: var(--s2);
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.shoppable-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.shoppable-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
}
.shoppable-play-btn {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.shop-vid-tag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,0.6);
  border: 0.5px solid var(--gold);
  color: var(--gold);
  font-size: 9px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
}
.shoppable-product {
  padding: 10px;
  display: flex; align-items: center; gap: 10px;
}
.shop-prod-img {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  background: var(--s3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex-shrink: 0;
  overflow: hidden;
}
.shop-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-prod-info { flex: 1; min-width: 0; }
.shop-prod-name {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.shop-prod-price {
  font-size: 14px; font-weight: 700;
  color: var(--pr);
}
.buy-now {
  background: var(--pr);
  color: #fff; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700;
  padding: 9px 16px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.buy-now:hover { background: var(--pr-dark); }

/* Cart sticky bar */
.cart-bar {
  background: var(--s1);
  border-top: 0.5px solid var(--bdr);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.cart-icon { font-size: 24px; }
.cart-info { flex: 1; }
.cart-info p { font-size: 11px; color: var(--txm); }
.cart-info strong { font-size: 16px; font-weight: 700; }
.checkout-btn {
  background: var(--pr);
  color: #fff; border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  padding: 12px 22px;
  transition: var(--transition);
  box-shadow: var(--shadow-pr);
}
.checkout-btn:hover { background: var(--pr-dark); transform: translateY(-1px); }

/* ============================================================
   EXPLORE / DISCOVER PAGE
   ============================================================ */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding-bottom: 10px;
}
.explore-thumb {
  aspect-ratio: 1/1;
  background: var(--s2);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.explore-thumb img { width: 100%; height: 100%; object-fit: cover; }
.explore-thumb.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.explore-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex; align-items: flex-end;
  padding: 8px;
  opacity: 0;
  transition: var(--transition);
}
.explore-thumb:hover .explore-overlay { opacity: 1; }
.explore-views {
  font-size: 11px; font-weight: 600;
  color: #fff;
  display: flex; align-items: center; gap: 4px;
}

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-hero {
  background: linear-gradient(180deg, #1a0a10 0%, var(--bg) 100%);
  padding: 24px 14px 16px;
  text-align: center;
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: var(--radius-full);
  border: 3px solid var(--pr);
  background: var(--s2);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  margin: 0 auto 12px;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(232,53,74,0.2);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  margin-bottom: 4px;
}
.profile-handle { font-size: 13px; color: var(--txm); margin-bottom: 12px; }
.profile-stats {
  display: flex; justify-content: center; gap: 28px;
  margin-bottom: 16px;
}
.profile-stat { text-align: center; }
.profile-stat strong {
  display: block; font-size: 17px; font-weight: 700;
  font-family: var(--font-head);
}
.profile-stat span { font-size: 11px; color: var(--txm); }
.profile-actions {
  display: flex; gap: 8px; justify-content: center;
}
.btn-primary {
  background: var(--pr);
  color: #fff; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700;
  padding: 9px 22px;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--pr-dark); }
.btn-outline {
  background: none;
  border: 1px solid var(--bdr-hover);
  color: var(--tx);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  padding: 9px 22px;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--pr); color: var(--pr); }

/* Profile tabs */
.profile-tabs {
  display: flex;
  border-bottom: 0.5px solid var(--bdr);
}
.profile-tab {
  flex: 1; text-align: center;
  padding: 12px;
  font-size: 18px; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  color: var(--txm);
}
.profile-tab:hover { color: var(--tx); }
.profile-tab.active {
  color: var(--pr);
  border-bottom-color: var(--pr);
}

/* ============================================================
   LIVE BADGE
   ============================================================ */
.live-indicator {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--pr);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: var(--radius-full);
  background: #fff;
  animation: live-pulse 1.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notif-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border-bottom: 0.5px solid var(--bdr);
  cursor: pointer;
  transition: var(--transition);
}
.notif-item:hover { background: var(--s1); }
.notif-item.unread { background: rgba(232,53,74,0.04); }
.notif-ava {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--s2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.notif-body { flex: 1; }
.notif-text { font-size: 13px; line-height: 1.5; }
.notif-time { font-size: 11px; color: var(--txm); margin-top: 3px; }
.notif-thumb {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--s2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--s2) 25%, var(--s3) 50%, var(--s2) 75%);
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-load {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.hidden  { display: none !important; }
.flex    { display: flex; }
.flex-1  { flex: 1; }
.center  { display: flex; align-items: center; justify-content: center; }
.gap-1   { gap: 4px; }
.gap-2   { gap: 8px; }
.gap-3   { gap: 12px; }
.p-14    { padding: 14px; }
.px-14   { padding-left: 14px; padding-right: 14px; }
.py-10   { padding-top: 10px; padding-bottom: 10px; }
.mt-auto { margin-top: auto; }
.text-pr { color: var(--pr); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--txm); }
.fw-700  { font-weight: 700; }
.fs-12   { font-size: 12px; }
.fs-13   { font-size: 13px; }
.divider {
  height: 0.5px;
  background: var(--bdr);
  margin: 0 14px;
}
.section-divider {
  height: 8px;
  background: var(--s1);
  border-top: 0.5px solid var(--bdr);
  border-bottom: 0.5px solid var(--bdr);
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce #primary { max-width: 100%; }
.woocommerce-page .woocommerce { padding: 0; }

/* Product loop */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product {
  background: var(--s1) !important;
  border: 0.5px solid var(--bdr) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}
.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 12px !important; font-weight: 600 !important;
  padding: 10px 10px 4px !important;
  color: var(--tx) !important;
}
.woocommerce ul.products li.product .price {
  color: var(--pr) !important;
  font-size: 14px !important; font-weight: 700 !important;
  padding: 0 10px 8px !important;
}
.woocommerce ul.products li.product .price del {
  color: var(--txd) !important;
  font-size: 10px !important;
}
.woocommerce ul.products li.product .button {
  background: var(--pr) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-size: 11px !important; font-weight: 700 !important;
  margin: 0 10px 10px !important;
  padding: 7px 12px !important;
  border: none !important;
}

/* Single product */
.woocommerce div.product .woocommerce-product-gallery {
  background: var(--s2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.woocommerce div.product .product_title {
  font-family: var(--font-head) !important;
  font-size: 20px !important; font-weight: 700 !important;
  color: var(--tx) !important;
}
.woocommerce div.product p.price {
  color: var(--pr) !important;
  font-size: 22px !important; font-weight: 700 !important;
}
.woocommerce .single_add_to_cart_button {
  background: var(--pr) !important;
  color: #fff !important;
  border-radius: var(--radius-lg) !important;
  font-size: 15px !important; font-weight: 700 !important;
  border: none !important;
  width: 100% !important;
  padding: 14px !important;
}

/* Cart & Checkout */
.woocommerce table.cart,
.woocommerce-page table.cart {
  background: var(--s1) !important;
  border-radius: var(--radius-lg) !important;
  border-color: var(--bdr) !important;
}
.woocommerce-cart-form .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--pr) !important;
  color: #fff !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 700 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 431px) {
  #page { box-shadow: var(--shadow-lg); }
}
@media (max-width: 430px) {
  #page { border: none; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.4s ease both; }
.fade-up-delay-1 { animation-delay: 0.05s; }
.fade-up-delay-2 { animation-delay: 0.1s; }
.fade-up-delay-3 { animation-delay: 0.15s; }
