/* =========================================
   DEMONZ FRAMEHOUSE — Design System
   demonz.lk | Premium Wall Art
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS Variables ─── */
:root {
  --bg-primary: #080808;
  --bg-secondary: #101010;
  --bg-card: #151515;
  --bg-card-hover: #1c1c1c;
  --accent: #00AEEF;
  --accent-dark: #0090c8;
  --accent-glow: rgba(0, 174, 239, 0.12);
  --accent-glow-strong: rgba(0, 174, 239, 0.25);
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #808080;
  --border: #1e1e1e;
  --border-light: #282828;
  --border-accent: rgba(0, 174, 239, 0.3);
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.7);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.9);
  --shadow-accent: 0 0 40px rgba(0, 174, 239, 0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: 'Outfit', sans-serif; border: none; outline: none; }
input, select, textarea { font-family: 'Outfit', sans-serif; outline: none; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 { line-height: 1.15; font-weight: 700; }
.accent-text { color: var(--accent); }

/* ─── Layout ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary { background: var(--accent); color: #000; font-weight: 700; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,174,239,0.45); }

.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #000; transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,0.06); color: var(--text-primary); border: 1px solid var(--border-light); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-whatsapp { background: linear-gradient(135deg, #25D366, #1daa52); color: #fff; font-size: 16px; padding: 16px 32px; box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }

.btn-lg { padding: 18px 40px; font-size: 17px; }

/* ─── Navigation ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(8,8,8,0.97); box-shadow: var(--shadow-md); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.nav-logo img { height: 46px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 16px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 15px; color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: var(--accent-glow); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; }
.nav-phone span { color: var(--text-primary); font-weight: 600; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0; z-index: 999;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  padding: 8px 0 16px;
  transform: translateY(-20px); opacity: 0; pointer-events: none;
  transition: all 0.3s ease;
}
.mobile-nav.open { display: block; transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav a { display: block; padding: 14px 28px; font-weight: 500; font-size: 16px; color: var(--text-secondary); border-left: 3px solid transparent; transition: var(--transition); }
.mobile-nav a:hover { color: var(--accent); border-left-color: var(--accent); background: var(--accent-glow); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #060606 0%, #0a0a14 50%, #060606 100%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('../assets/hero_bg.png');
  background-size: cover; background-position: center;
  opacity: 0.42;
}
.hero-bg-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,8,8,0.88) 0%, rgba(8,8,8,0.55) 50%, rgba(8,8,8,0.2) 100%);
}
.hero-glow {
  position: absolute; top: 10%; left: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse, rgba(0,174,239,0.07) 0%, transparent 70%);
  animation: floatGlow 8s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute; bottom: 0; right: 5%;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse, rgba(0,174,239,0.04) 0%, transparent 70%);
  animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.6; }
  33% { transform: translate(3%,2%) scale(1.05); opacity: 1; }
  66% { transform: translate(-2%,3%) scale(0.98); opacity: 0.7; }
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  border-radius: 100px; font-size: 12px; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 28px; animation: fadeInUp 0.6s ease;
}
.hero-badge::before { content: '✦'; font-size: 10px; }

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900;
  line-height: 1.0; margin-bottom: 22px;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-subtitle {
  font-size: 17px; color: var(--text-muted); margin-bottom: 44px;
  max-width: 540px; line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; animation: fadeInUp 0.6s ease 0.3s backwards; }

.hero-stats { display: flex; gap: 48px; animation: fadeInUp 0.6s ease 0.4s backwards; }
.hero-stat-divider { width: 1px; background: var(--border-light); }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1; }
.hero-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* Scroll Indicator */
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  animation: fadeIn 1s ease 1s backwards;
}
.scroll-dot {
  width: 24px; height: 40px; border: 2px solid var(--border-light);
  border-radius: 100px; display: flex; align-items: flex-start;
  justify-content: center; padding-top: 6px;
}
.scroll-dot::before {
  content: ''; width: 4px; height: 8px;
  background: var(--accent); border-radius: 100px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ─── Section Headers ─── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* Decorative line */
.section-header .deco-line {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px;
}
.deco-line span { height: 1px; width: 40px; background: linear-gradient(to right, transparent, var(--accent)); }
.deco-line span:last-child { background: linear-gradient(to left, transparent, var(--accent)); }

/* ─── Category Scroll (Home) ─── */
.categories-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--border-light) transparent;
}
@media (min-width: 768px) {
  .categories-scroll {
    justify-content: center;
    overflow-x: visible;
  }
}
.categories-scroll::-webkit-scrollbar { height: 4px; }
.categories-scroll::-webkit-scrollbar-track { background: transparent; }
.categories-scroll::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 100px; }

.category-chip {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  min-width: 120px; cursor: pointer; transition: var(--transition);
  flex-shrink: 0;
}
.category-chip:hover { border-color: var(--border-accent); background: var(--bg-card-hover); transform: translateY(-4px); }
.category-chip.active { border-color: var(--accent); background: var(--accent-glow); }
.category-icon { font-size: 28px; }
.category-name { font-size: 13px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }

/* ─── Products Grid ─── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }

.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); cursor: pointer; position: relative;
}
.product-card:hover { border-color: var(--border-accent); transform: translateY(-8px); box-shadow: var(--shadow-accent), var(--shadow-md); }

.product-card-image {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  background: #0a0a0a;
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-image img { transform: scale(1.1); }

.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 12px; border-radius: 100px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px;
}
.badge-featured { background: var(--accent); color: #000; }
.badge-bundle { background: #22c55e; color: #000; }
.badge-new { background: #f59e0b; color: #000; }
.badge-bestseller { background: #a855f7; color: #fff; }

.product-card-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 55%);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 20px;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-overlay .btn { width: 100%; }

.product-card-body { padding: 18px 20px 20px; }
.product-card-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 6px; }
.product-card-name { font-size: 16px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.product-card-price { display: flex; align-items: baseline; gap: 6px; }
.price-from { font-size: 12px; color: var(--text-muted); }
.price-value { font-size: 20px; font-weight: 900; color: var(--accent); }
.price-unit { font-size: 11px; color: var(--text-muted); }

/* ─── Trust Section ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .trust-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.trust-card {
  text-align: center; padding: 28px 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: var(--transition);
}
.trust-card:hover { border-color: var(--border-accent); background: var(--bg-card-hover); transform: translateY(-4px); }
.trust-icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.trust-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.trust-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ─── Price Tables ─── */
.price-section { background: var(--bg-secondary); }
.price-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.price-table {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: var(--transition);
}
.price-table:hover { border-color: var(--border-accent); }

.price-table-header {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(0,174,239,0.1) 0%, rgba(0,174,239,0.03) 100%);
  border-bottom: 1px solid var(--border);
}
.price-table-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  background: var(--accent); color: #000;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
}
.price-table-title { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.price-table-subtitle { font-size: 13px; color: var(--text-muted); }

.price-table table { width: 100%; border-collapse: collapse; }
.price-table th {
  text-align: left; padding: 14px 32px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.price-table td { padding: 13px 32px; border-bottom: 1px solid var(--border); font-size: 15px; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: rgba(0,174,239,0.04); }
.price-size { font-weight: 600; color: var(--text-secondary); }
.price-amount { font-weight: 800; color: var(--accent); }
.price-original { text-decoration: line-through; color: var(--text-muted); font-size: 13px; margin-right: 8px; }
.price-save {
  display: inline-block; padding: 3px 10px;
  background: rgba(34,197,94,0.15); color: #22c55e;
  border-radius: 100px; font-size: 11px; font-weight: 700;
}

/* ─── CTA Banner ─── */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(0,174,239,0.1) 0%, rgba(0,90,130,0.08) 100%);
  border-top: 1px solid var(--border-accent); border-bottom: 1px solid var(--border-accent);
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(0,174,239,0.06) 0%, transparent 70%);
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; position: relative; }
.cta-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 16px; }
.cta-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 44px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.cta-contacts { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cta-contact-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.cta-contact-item a { color: var(--text-primary); font-weight: 600; transition: var(--transition); }
.cta-contact-item a:hover { color: var(--accent); }

/* ─── Footer ─── */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-brand img { height: 42px; margin-bottom: 18px; }
.footer-tagline { font-size: 13px; font-style: italic; color: var(--accent); margin-bottom: 14px; font-weight: 600; }
.footer-brand-desc { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: var(--transition); color: var(--text-muted);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); transform: translateY(-2px); }
.footer-col-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }
.footer-contact-item a { color: var(--text-secondary); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--text-muted); transition: var(--transition); }
.footer-legal a:hover { color: var(--accent); }

/* ─── Shop Page ─── */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, rgba(0,174,239,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; margin-bottom: 10px; }
.page-hero-sub { font-size: 16px; color: var(--text-muted); }
.page-hero-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.page-hero-breadcrumb a:hover { color: var(--accent); }

/* Layout Tabs */
.layout-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
  margin-bottom: 28px;
}
.tab-btn {
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  padding: 14px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-btn:hover {
  color: var(--text-primary);
}
.tab-btn.active {
  color: var(--accent);
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 100px;
}

.shop-toolbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 20px 0;
  position: sticky; top: var(--nav-height); z-index: 100;
  background: var(--bg-primary); border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.filter-btn {
  padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); transition: var(--transition); cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { background: var(--accent); border-color: var(--accent); color: #000; }
.filter-divider { width: 1px; height: 28px; background: var(--border-light); flex-shrink: 0; }
.search-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 16px;
  flex: 1; min-width: 200px; max-width: 300px; transition: var(--transition);
}
.search-box:focus-within { border-color: var(--accent); }
.search-box input { background: none; border: none; color: var(--text-primary); font-size: 14px; width: 100%; }
.search-box input::placeholder { color: var(--text-muted); }

.products-count { font-size: 13px; color: var(--text-muted); margin-left: auto; white-space: nowrap; }
.products-count span { color: var(--accent); font-weight: 700; }

/* ─── Product Detail ─── */
.product-detail { padding: 120px 0 80px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.product-image-gallery { position: sticky; top: calc(var(--nav-height) + 24px); }
.product-main-image {
  aspect-ratio: 3/4; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--bg-card); margin-bottom: 14px; border: 1px solid var(--border);
  position: relative;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }

.product-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.product-breadcrumb a:hover { color: var(--accent); }

.product-detail-category { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 12px; }
.product-detail-name { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.product-detail-desc { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; }

/* Frame Type Selector */
.frame-type-selector { margin-bottom: 28px; }
.selector-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 12px; display: block; }
.frame-types { display: flex; gap: 10px; }
.frame-type-btn {
  flex: 1; padding: 14px 12px; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-card); cursor: pointer; transition: var(--transition);
}
.frame-type-btn.active { border-color: var(--accent); background: var(--accent-glow); }
.frame-type-btn:hover { border-color: var(--border-accent); }
.frame-type-name { font-size: 14px; font-weight: 700; display: block; }
.frame-type-note { font-size: 11px; color: var(--text-muted); }

/* Size Selector */
.size-selector { margin-bottom: 28px; }
.size-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 10px; }
.size-option { position: relative; }
.size-option input[type="radio"] { position: absolute; opacity: 0; width: 0; }
.size-option label {
  display: block; padding: 12px 8px; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  cursor: pointer; transition: var(--transition); background: var(--bg-card);
}
.size-option label .size-dim { font-size: 13px; font-weight: 700; display: block; margin-bottom: 2px; }
.size-option label .size-price { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.size-option input:checked + label { border-color: var(--accent); background: var(--accent-glow); }
.size-option input:checked + label .size-dim { color: var(--accent); }
.size-option input:checked + label .size-price { color: var(--accent); }
.size-option label:hover { border-color: var(--border-accent); }

/* Selected Price Display */
.selected-price {
  background: linear-gradient(135deg, rgba(0,174,239,0.1), rgba(0,174,239,0.04));
  border: 1px solid var(--border-accent); border-radius: var(--radius-lg);
  padding: 24px 28px; margin-bottom: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.selected-price-info {}
.selected-price-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.selected-price-amount { font-size: 40px; font-weight: 900; color: var(--accent); line-height: 1.1; }
.selected-price-note { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.selected-price-badge { background: var(--accent); color: #000; padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }

.order-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.order-actions .btn { width: 100%; font-size: 16px; padding: 17px; }

.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-feature {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted);
  padding: 12px 14px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border);
}
.product-feature-icon { font-size: 16px; flex-shrink: 0; }

/* ─── Admin ─── */
.admin-login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg-primary); padding: 24px;
  background-image: radial-gradient(ellipse at 20% 50%, rgba(0,174,239,0.06) 0%, transparent 60%);
}
.admin-login-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 52px 44px;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
}
.admin-login-logo { text-align: center; margin-bottom: 36px; }
.admin-login-logo img { height: 52px; margin: 0 auto 14px; }
.admin-login-title { font-size: 24px; font-weight: 900; text-align: center; margin-bottom: 6px; }
.admin-login-sub { font-size: 14px; color: var(--text-muted); text-align: center; }

/* Form */
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 14px 16px;
  background: var(--bg-secondary); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary); font-size: 15px;
  transition: var(--transition);
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,174,239,0.1); }
.form-input::placeholder { color: var(--text-muted); }
.form-select {
  width: 100%; padding: 14px 40px 14px 16px;
  background: var(--bg-secondary); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary); font-size: 15px;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23606060' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  transition: var(--transition);
}
.form-select:focus { border-color: var(--accent); outline: none; }
.form-textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg-secondary); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary); font-size: 15px;
  resize: vertical; min-height: 100px; transition: var(--transition);
}
.form-textarea:focus { border-color: var(--accent); }
.form-helper { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-error { color: var(--error); font-size: 12px; margin-top: 6px; display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Admin Layout */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--bg-secondary);
  border-right: 1px solid var(--border); padding: 0;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 200; overflow-y: auto;
}
.admin-sidebar-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.admin-sidebar-logo { height: 36px; }
.admin-sidebar-badge {
  font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  background: var(--accent); color: #000; padding: 3px 8px; border-radius: 100px;
}
.admin-nav { padding: 16px 0; }
.admin-nav-section { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); padding: 14px 24px 8px; }
.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px; color: var(--text-muted); font-size: 14px; font-weight: 500;
  transition: var(--transition); cursor: pointer; border-left: 3px solid transparent; text-decoration: none;
}
.admin-nav-item:hover, .admin-nav-item.active { color: var(--accent); background: var(--accent-glow); border-left-color: var(--accent); }
.admin-nav-icon { font-size: 18px; width: 20px; text-align: center; flex-shrink: 0; }

.admin-sidebar-footer {
  padding: 20px 24px; border-top: 1px solid var(--border);
  margin-top: auto; position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--bg-secondary);
}

.admin-main { flex: 1; margin-left: 260px; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 72px;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.admin-topbar-left { display: flex; flex-direction: column; }
.admin-topbar-title { font-size: 18px; font-weight: 700; }
.admin-topbar-sub { font-size: 12px; color: var(--text-muted); }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #000; font-size: 14px;
}
.admin-user-info { text-align: right; }
.admin-user-name { font-size: 14px; font-weight: 600; }
.admin-user-role { font-size: 11px; color: var(--text-muted); }

.admin-content { padding: 32px; }

.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.admin-stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: flex-start; gap: 16px; transition: var(--transition);
}
.admin-stat-card:hover { border-color: var(--border-accent); }
.admin-stat-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.admin-stat-body {}
.admin-stat-num { font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1; }
.admin-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

.admin-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 28px;
}
.admin-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; border-bottom: 1px solid var(--border);
}
.admin-panel-title { font-size: 16px; font-weight: 700; }
.admin-panel-body { padding: 28px; }

/* Products Table */
.products-table { width: 100%; border-collapse: collapse; }
.products-table th {
  text-align: left; padding: 13px 16px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.products-table td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.products-table tr:last-child td { border-bottom: none; }
.products-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.table-thumb { width: 48px; height: 62px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); flex-shrink: 0; background: var(--bg-secondary); }
.table-product-info { display: flex; align-items: center; gap: 14px; }
.table-product-name { font-weight: 600; font-size: 14px; }
.table-product-cat { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.table-actions { display: flex; gap: 8px; align-items: center; }
.action-btn {
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; transition: var(--transition); cursor: pointer;
}
.action-edit { background: rgba(0,174,239,0.1); border: 1px solid rgba(0,174,239,0.3); color: var(--accent); }
.action-edit:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.action-delete { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--error); }
.action-delete:hover { background: var(--error); color: #fff; border-color: var(--error); }
.action-view { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-muted); }
.action-view:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

.status-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.status-active { background: rgba(34,197,94,0.15); color: #22c55e; }
.status-featured { background: rgba(0,174,239,0.15); color: var(--accent); }
.status-bundle { background: rgba(168,85,247,0.15); color: #a855f7; }

/* Image Upload */
.image-upload {
  border: 2px dashed var(--border-light); border-radius: var(--radius-lg);
  padding: 48px; text-align: center; cursor: pointer; transition: var(--transition);
  position: relative;
}
.image-upload:hover { border-color: var(--accent); background: var(--accent-glow); }
.image-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.image-upload-icon { font-size: 44px; margin-bottom: 14px; }
.image-upload-text { font-size: 14px; color: var(--text-muted); }
.image-upload-text strong { color: var(--accent); }
.image-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; margin-top: 18px; }
.image-preview-item { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--border); }
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-remove {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(239,68,68,0.9); color: #fff; border: none; font-size: 14px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; line-height: 1;
}

/* Price Inputs Grid */
.price-inputs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.price-input-item { display: flex; flex-direction: column; gap: 4px; }
.price-input-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Toggle */
.toggle-wrapper { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle { position: relative; width: 48px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--bg-secondary); border: 1.5px solid var(--border-light); border-radius: 100px; transition: var(--transition); }
.toggle-slider::before { content: ''; position: absolute; height: 17px; width: 17px; left: 3px; bottom: 2.5px; background: var(--text-muted); border-radius: 50%; transition: var(--transition); }
.toggle input:checked + .toggle-slider { background: var(--accent); border-color: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); background: #000; }
.toggle-label { font-size: 14px; font-weight: 500; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); width: 100%; max-width: 740px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.93) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 32px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg-card); z-index: 1;
}
.modal-title { font-size: 18px; font-weight: 800; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-secondary); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); line-height: 1;
}
.modal-close:hover { background: var(--error); color: #fff; border-color: var(--error); }
.modal-body { padding: 28px 32px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 20px 32px; border-top: 1px solid var(--border); }

/* Toast */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 3000;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); max-width: 360px; font-size: 14px; font-weight: 500;
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--error); }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-msg { flex: 1; }

/* Empty State */
.empty-state { text-align: center; padding: 80px 40px; }
.empty-state-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.25; }
.empty-state-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state-desc { font-size: 14px; color: var(--text-muted); }

/* Divider */
.section-divider { height: 1px; background: linear-gradient(to right, transparent, var(--border-light), transparent); margin: 0; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; opacity: 0; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Skeleton Loader */
.skeleton { background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%); background-size: 400% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1daa52);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  transition: var(--transition); cursor: pointer; animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 10px 36px rgba(37,211,102,0.65); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.whatsapp-float:hover { animation-play-state: paused; }

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .price-tables { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-image-gallery { position: relative; top: 0; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .nav-phone { display: none; }
  .section { padding: 60px 0; }
  .hero-stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 20px; }
  .admin-topbar { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 24px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-body { padding: 12px 14px 14px; }
  .product-card-name { font-size: 14px; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  .price-inputs-grid { grid-template-columns: 1fr 1fr; }
}
