/* =============================================
   VRINDAVAN ART GALLERY — SPIRITUAL LIGHT THEME
   Calm, Premium, Devotional
   ============================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #B8860B;
  --gold-light: #F5E6B8;
  --gold-dark: #8B6508;
  --gold-pale: #FFF8E7;
  --cream: #FDFAF4;
  --cream2: #F9F4EC;
  --white: #FFFFFF;
  --saffron: #FF9933;
  --saffron-light: #FFF3E0;
  --peacock: #1B6CA8;
  --peacock-light: #E8F4FD;
  --text-dark: #1A1205;
  --text-mid: #5C4A1E;
  --text-light: #9E8A5C;
  --border: #E8D9B5;
  --border-light: #F0E6CC;
  --green-wa: #25D366;
  --red: #C0392B;
  --shadow-sm: 0 2px 12px rgba(184,134,11,0.08);
  --shadow-md: 0 6px 24px rgba(184,134,11,0.14);
  --shadow-lg: 0 12px 40px rgba(184,134,11,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

body {
  font-family: 'Georgia', 'Segoe UI', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== TOPBAR ===== */
.topbar {
  background: linear-gradient(90deg, #1A0D05 0%, #2D1A08 50%, #1A0D05 100%);
  color: var(--gold-light);
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--gold-dark);
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo { display: flex; align-items: baseline; gap: 2px; }
.logo-v { font-size: 30px; font-weight: 800; color: var(--red); line-height: 1; font-family: Georgia, serif; }
.logo-art { font-size: 20px; font-weight: 700; color: var(--text-dark); font-family: Georgia, serif; }
.logo-sub { font-size: 10px; color: var(--text-light); margin-left: 3px; display: block; line-height: 1; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 4px; flex: 1; margin-left: 20px; }
.nav-links a { padding: 8px 16px; font-size: 14px; color: var(--text-mid); border-radius: var(--radius-sm); transition: all 0.2s; font-family: 'Segoe UI', sans-serif; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); background: var(--gold-pale); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-nav-login { padding: 9px 22px; background: var(--gold); color: var(--white); border-radius: 24px; font-size: 13px; font-weight: 600; transition: all 0.2s; letter-spacing: 0.3px; }
.btn-nav-login:hover { background: var(--gold-dark); box-shadow: var(--shadow-md); }
.btn-nav-admin { padding: 7px 16px; border: 1.5px solid var(--border); border-radius: 24px; font-size: 12px; color: var(--text-light); transition: all 0.2s; }
.btn-nav-admin:hover { border-color: var(--gold); color: var(--gold-dark); }
.nav-user { font-size: 13px; color: var(--text-mid); }
.btn-logout { padding: 7px 16px; border: 1.5px solid var(--border); border-radius: 24px; font-size: 13px; color: var(--text-light); transition: all 0.2s; }
.btn-logout:hover { background: #fee; color: var(--red); border-color: var(--red); }
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; margin-left: auto; color: var(--text-dark); }
.mobile-menu { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); padding: 12px 24px 20px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border-light); color: var(--text-mid); }
.btn-mobile-login { background: var(--gold) !important; color: var(--white) !important; padding: 12px 20px !important; border-radius: 24px; text-align: center; margin-top: 12px; border: none !important; font-weight: 600; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(184,134,11,0.12) 0%, transparent 65%); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 60px 24px; }
.hero-tag { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-family: 'Segoe UI', sans-serif; }
.hero-title { font-size: clamp(38px, 5vw, 68px); font-weight: 700; letter-spacing: -1px; margin-bottom: 18px; line-height: 1.1; font-family: Georgia, serif; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 40px; font-style: italic; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary { padding: 14px 36px; background: var(--gold); color: var(--white); border-radius: 30px; font-size: 15px; font-weight: 600; transition: all 0.25s; display: inline-block; letter-spacing: 0.3px; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { padding: 14px 32px; background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); border-radius: 30px; font-size: 15px; font-weight: 500; transition: all 0.2s; display: inline-block; }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ===== ABOUT STRIP ===== */
.about-strip { background: var(--white); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.strip-inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: flex; }
.strip-item { flex: 1; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-right: 1px solid var(--border-light); }
.strip-item:last-child { border-right: none; }
.strip-icon { font-size: 30px; }
.strip-item strong { display: block; font-size: 13px; color: var(--text-dark); font-family: 'Segoe UI', sans-serif; }
.strip-item p { font-size: 12px; color: var(--text-light); margin: 0; font-family: 'Segoe UI', sans-serif; }

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ===== CATALOGUE PAGE ===== */
.cat-header {
  background: linear-gradient(135deg, #2D1A08 0%, #1A0D05 60%, #0D0802 100%);
  padding: 56px 0 40px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.cat-header h1 { font-size: 36px; font-weight: 700; color: var(--gold); margin-bottom: 8px; font-family: Georgia, serif; }
.cat-header p { font-size: 15px; color: rgba(255,255,255,0.7); font-style: italic; margin-bottom: 16px; }
.cat-header-note {
  display: inline-block;
  background: rgba(184,134,11,0.15);
  border: 1px solid rgba(184,134,11,0.3);
  color: var(--gold-light);
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  font-family: 'Segoe UI', sans-serif;
}
.cat-caution {
  background: linear-gradient(135deg, var(--saffron-light), var(--gold-pale));
  border: 1px solid var(--gold-light);
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 20px;
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--text-mid);
  font-family: 'Segoe UI', sans-serif;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cat-caution strong { color: var(--red); display: block; margin-bottom: 4px; font-size: 13px; }

/* FILTERS */
.cat-filters { background: var(--white); border-bottom: 1px solid var(--border-light); padding: 14px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.04); position: sticky; top: 68px; z-index: 90; }
.cat-filters .container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.ftab { padding: 7px 18px; border-radius: 20px; font-size: 13px; border: 1.5px solid var(--border); color: var(--text-mid); transition: all 0.2s; font-family: 'Segoe UI', sans-serif; }
.ftab:hover { border-color: var(--gold); color: var(--gold-dark); }
.ftab.active { background: var(--text-dark); color: var(--white); border-color: var(--text-dark); }
.search-wrap { position: relative; }
.search-wrap input { padding: 9px 40px 9px 16px; border: 1.5px solid var(--border); border-radius: 24px; font-size: 13px; background: var(--cream2); outline: none; width: 240px; transition: border 0.2s; font-family: 'Segoe UI', sans-serif; }
.search-wrap input:focus { border-color: var(--gold); background: var(--white); }
.search-wrap .search-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--text-light); pointer-events: none; }
.search-results-live { position: absolute; top: 44px; left: 0; right: 0; background: white; border: 1.5px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); z-index: 200; max-height: 300px; overflow-y: auto; display: none; }
.search-results-live.show { display: block; }
.search-live-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; transition: background 0.15s; border-bottom: 1px solid var(--border-light); }
.search-live-item:hover { background: var(--gold-pale); }
.search-live-item img { width: 40px; height: 50px; object-fit: cover; border-radius: 4px; }
.search-live-item-info strong { font-size: 13px; color: var(--gold-dark); }
.search-live-item-info p { font-size: 11px; color: var(--text-light); }

/* ITEMS GRID */
.items-count { padding: 20px 0 12px; font-size: 13px; color: var(--text-light); font-family: 'Segoe UI', sans-serif; }
.items-grid { 
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding-bottom: 60px;
}
.item-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  position: relative;
}
.item-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.item-img-wrap { position: relative; overflow: hidden; background: var(--cream2); }
.item-img-wrap.portrait { aspect-ratio: 3/4; }
.item-img-wrap.landscape { aspect-ratio: 4/3; }
.item-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; background: var(--cream2); }
.item-card:hover .item-img-wrap img { transform: scale(1.04); }
.item-img-placeholder { display: flex; align-items: center; justify-content: center; height: 200px; font-size: 36px; color: var(--border); background: var(--cream2); }

/* WISHLIST + LIKE BADGES */
.item-top-actions { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.btn-wish { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.92); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.btn-wish:hover { transform: scale(1.15); }
.btn-wish.liked { background: #fee2e2; }
.btn-wish.wishlisted { background: #fef3cd; }

.item-info { padding: 10px 12px 12px; }
.item-serial { font-size: 15px; font-weight: 700; color: var(--gold-dark); letter-spacing: 0.5px; margin-bottom: 3px; font-family: 'Segoe UI', sans-serif; }
.item-title { font-size: 12px; color: var(--text-mid); margin-bottom: 3px; line-height: 1.4; font-family: 'Segoe UI', sans-serif; }
.item-size { font-size: 11px; color: var(--text-light); margin-bottom: 8px; font-family: 'Segoe UI', sans-serif; }
.item-price { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; font-family: 'Segoe UI', sans-serif; }
.btn-wa-item {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  background: var(--green-wa); color: var(--white); border-radius: 20px;
  font-size: 12px; font-weight: 600; transition: all 0.2s; justify-content: center;
  font-family: 'Segoe UI', sans-serif; border: none; cursor: pointer; width: 100%;
}
.btn-wa-item:hover { background: #1da851; transform: translateY(-1px); }

/* WISHLIST BAR */
.wishlist-bar {
  position: fixed; bottom: 100px; right: 28px;
  background: var(--gold); color: white;
  padding: 12px 20px; border-radius: 28px;
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lg); cursor: pointer;
  transition: all 0.2s; z-index: 998;
  display: none; align-items: center; gap: 8px;
  font-family: 'Segoe UI', sans-serif;
}
.wishlist-bar.has-items { display: flex; }
.wishlist-bar:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* WISHLIST MODAL */
.wl-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000; align-items: flex-end; justify-content: center; padding: 0; }
.wl-modal-overlay.open { display: flex; }
.wl-modal { background: white; border-radius: 20px 20px 0 0; width: 100%; max-width: 540px; max-height: 80vh; overflow-y: auto; padding: 28px; }
.wl-modal h2 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; font-family: Georgia, serif; }
.wl-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.wl-item-row img { width: 44px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--cream2); }
.wl-item-row strong { font-size: 14px; color: var(--gold-dark); }
.wl-item-row p { font-size: 12px; color: var(--text-light); }
.wl-remove { margin-left: auto; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-light); }
.btn-wa-wishlist { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; background: var(--green-wa); color: white; border: none; border-radius: 28px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 20px; transition: all 0.2s; font-family: 'Segoe UI', sans-serif; }
.btn-wa-wishlist:hover { background: #1da851; }

/* OFFLINE */
.offline-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1A0D05, #2D1A08); }
.offline-inner { text-align: center; color: white; padding: 60px 40px; }
.offline-inner h1 { font-size: 32px; color: var(--gold); margin-bottom: 16px; font-family: Georgia, serif; }
.offline-msg { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 24px; }

/* LOGIN PAGE */
.login-body { background: linear-gradient(135deg, var(--cream) 0%, var(--cream2) 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.login-page { width: 100%; max-width: 420px; padding: 24px; }
.login-back { font-size: 14px; color: var(--text-light); display: block; margin-bottom: 24px; }
.login-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-lg); }
.login-logo { font-size: 36px; margin-bottom: 8px; }
.login-title { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; font-family: Georgia, serif; }
.login-sub { font-size: 14px; color: var(--text-light); margin-bottom: 30px; font-family: 'Segoe UI', sans-serif; }
.login-error { background: #fee; border: 1px solid #fcc; color: var(--red); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 13px; font-family: 'Segoe UI', sans-serif; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-mid); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Segoe UI', sans-serif; }
.form-group input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; background: var(--cream2); color: var(--text-dark); outline: none; transition: border 0.2s; font-family: 'Segoe UI', sans-serif; }
.form-group input:focus { border-color: var(--gold); background: white; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 48px; }
.pass-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 18px; cursor: pointer; }
.btn-login-submit { width: 100%; padding: 14px; background: var(--text-dark); color: var(--white); border: none; border-radius: 28px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-top: 8px; font-family: 'Segoe UI', sans-serif; }
.btn-login-submit:hover { background: var(--gold-dark); }
.login-help { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-light); text-align: center; }
.login-help p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; font-family: 'Segoe UI', sans-serif; }
.btn-wa-small { display: inline-block; padding: 10px 24px; background: var(--green-wa); color: var(--white); border-radius: 20px; font-size: 14px; font-weight: 500; }
.login-footer-text { text-align: center; margin-top: 24px; font-size: 18px; color: var(--text-light); }
.login-caution { background: var(--saffron-light); border: 1px solid #FFD580; border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 20px; font-size: 12px; color: var(--text-mid); font-family: 'Segoe UI', sans-serif; line-height: 1.6; }
.login-caution strong { color: var(--red); display: block; margin-bottom: 4px; }

/* WHATSAPP FLOAT */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px; background: var(--green-wa); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); z-index: 999; transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.1); }

/* FOOTER */
.footer { background: linear-gradient(135deg, #1A0D05 0%, #0D0802 100%); color: rgba(255,255,255,0.8); margin-top: 60px; border-top: 2px solid var(--gold-dark); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 60px 28px 40px; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; }
.footer-col h3 { font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; font-family: 'Segoe UI', sans-serif; }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 8px; color: rgba(255,255,255,0.65); font-family: 'Segoe UI', sans-serif; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 10px; transition: color 0.2s; font-family: 'Segoe UI', sans-serif; }
.footer-col a:hover { color: var(--gold); }
.footer-radhe { color: var(--gold) !important; font-size: 17px !important; margin-top: 10px; font-family: Georgia, serif !important; }
.btn-wa-footer { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--green-wa); color: white; border-radius: 20px; font-size: 13px; font-weight: 500; margin-top: 12px; font-family: 'Segoe UI', sans-serif; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 28px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); font-family: 'Segoe UI', sans-serif; max-width: 1280px; margin: 0 auto; }

/* NO ITEMS */
.no-items { text-align: center; padding: 80px 0; color: var(--text-light); font-size: 16px; }

/* SECTION */
.section-catalogue { padding: 80px 0; }
.section-tag { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-family: 'Segoe UI', sans-serif; }
.section-title { font-size: 38px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; font-family: Georgia, serif; }
.section-sub { font-size: 16px; color: var(--text-mid); margin-bottom: 52px; font-family: 'Segoe UI', sans-serif; }
.cat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 48px; }
.cat-card { background: var(--white); border: 1.5px solid var(--border-light); border-radius: var(--radius); padding: 32px 20px; text-align: center; transition: all 0.25s; cursor: pointer; }
.cat-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); background: var(--gold-pale); }
.cat-icon { font-size: 38px; margin-bottom: 12px; }
.cat-name { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; font-family: 'Segoe UI', sans-serif; }
.cat-arrow { font-size: 18px; color: var(--gold); }
.catalogue-login-prompt { text-align: center; }
.catalogue-login-prompt p { color: var(--text-mid); margin-bottom: 20px; font-family: 'Segoe UI', sans-serif; }

/* RESPONSIVE */
@media (max-width: 1200px) { .items-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1024px) { .items-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .strip-inner { flex-direction: column; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .strip-item:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 400px; }
  .items-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-filters .container { gap: 8px; }
  .search-wrap input { width: 180px; }
  .cat-filters { top: 0; }
  .wishlist-bar { bottom: 80px; right: 16px; }
  .wl-modal { border-radius: 20px; margin: 16px; }
}
@media (max-width: 480px) {
  .items-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .login-card { padding: 32px 24px; }
}

/* SCREENSHOT PROTECTION MOBILE */
@media (max-width: 768px) {
  body { -webkit-user-select: none; user-select: none; }
  img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
}
@media print { body { display: none !important; } }