/* ============================================================
   ZSE STORE — MASTER STYLESHEET
   Theme: Deep Black + Gold (#ffd700)
   Font: Poppins (Google Fonts)
============================================================ */

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

/* ---- CSS Variables ---- */
:root {
  --gold:        #ffd700;
  --gold-dark:   #e6c200;
  --gold-dim:    rgba(255, 215, 0, 0.12);
  --bg:          #0e0e0e;
  --bg2:         #141414;
  --bg3:         #1a1a1a;
  --bg4:         #222222;
  --border:      #2a2a2a;
  --border-lit:  #3a3a3a;
  --text:        #ffffff;
  --text-muted:  #999999;
  --text-dim:    #555555;
  --green:       #4caf50;
  --green-bg:    rgba(76,175,80,0.1);
  --orange:      #ff9800;
  --orange-bg:   rgba(255,152,0,0.1);
  --wa-green:    #25D366;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.8);
  --shadow-gold: 0 4px 20px rgba(255,215,0,0.15);
  --transition:  0.25s ease;
  --header-h:    80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER — sticky, shrinks on scroll
============================================================ */
.top-header-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: var(--header-h);
  transition: height var(--transition), box-shadow var(--transition);
}

.top-header-bar.scrolled {
  height: 64px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.8);
}

.top-header-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
  padding: 0;
}

/* Logo */
.logo a { display: flex; align-items: center; }
.logo-icon {
  height: 56px;
  width: auto;
  transition: height var(--transition);
}
.top-header-bar.scrolled .logo-icon { height: 44px; }

/* Search bar */
.search-bar {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 380px;
}

.search-bar input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-lit);
  background: var(--bg3);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.btn-search {
  background: var(--gold);
  color: #121212;
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.btn-search:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-search:active { transform: translateY(0); }

/* Browse All button */
.btn-shop-brands {
  background: var(--bg3);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--border-lit);
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn-shop-brands:hover {
  background: var(--gold);
  color: #121212;
  border-color: var(--gold);
}

/* Nav links */
.nav-categories {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-categories > a,
.nav-categories > .dropdown > .dropbtn {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  display: block;
}
.nav-categories > a:hover,
.nav-categories > a.active,
.nav-categories > .dropdown > .dropbtn:hover {
  color: var(--gold);
  background: var(--gold-dim);
}

/* Dropdown */
.dropdown { position: relative; }
.dropbtn { cursor: pointer; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg3);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius-md);
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  z-index: 200;
  animation: dropIn 0.15s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { list-style: none; }
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.dropdown-menu li a:hover {
  background: var(--gold-dim);
  color: var(--gold);
  padding-left: 24px;
}

/* Order hotline */
.order-hotline {
  text-align: right;
  font-size: 0.78rem;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--text-muted);
}
.order-hotline a {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}
.order-hotline a:hover { color: var(--gold-dark); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity 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 drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.97);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover { background: var(--gold-dim); color: var(--gold); }
.mobile-nav .mobile-category-heading {
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 16px 6px;
  font-weight: 600;
}

/* ============================================================
   HERO SLIDER
============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 480px;
  background: #000;
}

.slide {
  display: none;
  position: absolute;
  inset: 0;
  animation: fadeSlide 0.8s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.slide.faisal img,
.slide.master img {
  width: auto;
  height: 85%;
  object-fit: contain;
  margin: auto;
  position: absolute;
  inset: 0;
}

/* Blur overlay for brand slides */
.slider-container.blur-active::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.25);
  z-index: 1;
  pointer-events: none;
}

/* Slide gradient overlay */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  pointer-events: none;
}
.slide.faisal::after, .slide.master::after { display: none; }

.slide-text {
  position: absolute;
  bottom: 28%;
  left: 8%;
  z-index: 2;
  max-width: 520px;
}
.slide-text h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  margin-bottom: 12px;
}
.slide-text p {
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  user-select: none;
  text-decoration: none;
}
.prev { left: 20px; }
.next { right: 20px; }
.prev:hover, .next:hover {
  background: var(--gold);
  color: #121212;
  border-color: var(--gold);
}

/* ============================================================
   SHARED: CTA BUTTON
============================================================ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #121212;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.btn-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,215,0,0.3);
}
.btn-cta:active { transform: translateY(0); }

/* ============================================================
   SECTION HEADING
============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-heading p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 12px;
}

/* ============================================================
   SHOP BY DEPARTMENT
============================================================ */
.shop-by-department {
  background: var(--bg2);
  padding: 64px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.department-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  padding-bottom: 18px;
}
.department-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.department-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s ease;
}
.department-item:hover img { transform: scale(1.04); }

.department-item span {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: color var(--transition);
}
.department-item:hover span { color: var(--gold); }

/* ============================================================
   CONTACT INFO (homepage)
============================================================ */
.contact-info {
  padding: 60px 24px;
  background: var(--bg);
}

.contact-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.contact-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 6px; }
.contact-box .btn-cta { margin-top: 16px; }

/* ============================================================
   PRODUCTS PAGE
============================================================ */
.page-hero {
  background: var(--bg2);
  padding: 48px 24px 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.page-hero p { color: var(--text-muted); font-size: 0.95rem; }

/* Filter bar */
.filter-section {
  background: var(--bg2);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  backdrop-filter: blur(8px);
}
.filter-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-label {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-btn {
  background: var(--bg3);
  color: var(--text-muted);
  border: 1px solid var(--border-lit);
  padding: 7px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.filter-btn.active {
  background: var(--gold);
  color: #121212;
  border-color: var(--gold);
}

/* Sort + count bar */
.products-toolbar {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.product-count {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.sort-select {
  padding: 8px 14px;
  background: var(--bg3);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition);
}
.sort-select:focus { outline: none; border-color: var(--gold); }

/* Products grid */
.products-grid-wrap {
  max-width: 1200px;
  margin: 24px auto 60px;
  padding: 0 24px;
}
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* Product card */
.product-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s ease;
}
.product-card:hover img { transform: scale(1.04); }

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.product-category-tag {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}
.product-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.product-variant {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.product-sku {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2px;
}
.product-stock {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
  margin-bottom: 4px;
}
.product-stock.in-stock  { color: var(--green);  background: var(--green-bg); }
.product-stock.out-stock { color: var(--orange); background: var(--orange-bg); }

.quote-btn {
  margin-top: auto;
  background: var(--gold);
  color: #121212;
  border: none;
  padding: 11px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  width: 100%;
  transition: background var(--transition), transform var(--transition);
}
.quote-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* ============================================================
   QUOTE MODAL
============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-content {
  background: var(--bg3);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
}
.modal-header h2 { font-size: 1.2rem; color: var(--text); margin: 0; }
.modal-product-name { color: var(--gold); font-size: 0.875rem; margin-top: 4px; }
.close {
  background: var(--bg4);
  border: 1px solid var(--border-lit);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.close:hover { background: var(--gold); color: #121212; border-color: var(--gold); }

.modal form { display: flex; flex-direction: column; gap: 12px; }
.modal input, .modal textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-lit);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.modal input:focus, .modal textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.modal input::placeholder, .modal textarea::placeholder { color: var(--text-dim); }
.modal button[type="submit"] {
  background: var(--wa-green);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
}
.modal button[type="submit"]:hover { background: #1ebe57; transform: translateY(-1px); }
.modal-hint { font-size: 0.75rem; color: var(--text-dim); text-align: center; }

/* ============================================================
   PRODUCT DETAIL PAGE
============================================================ */
.breadcrumb {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-dim); }

.detail-layout {
  display: flex;
  gap: 48px;
  max-width: 1100px;
  margin: 32px auto 80px;
  padding: 0 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.detail-image-wrap {
  flex: 1;
  min-width: 280px;
  max-width: 460px;
}
.detail-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-lit);
  background: var(--bg3);
}
.detail-info {
  flex: 1;
  min-width: 280px;
}
.detail-cat-badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  border: 1px solid rgba(255,215,0,0.2);
}
.detail-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.detail-variant { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 6px; }
.detail-sku { color: var(--text-dim); font-size: 0.82rem; margin-bottom: 20px; font-family: monospace; }
.detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.detail-availability {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}
.detail-availability.in-stock  { background: var(--green-bg);  color: var(--green);  border: 1px solid rgba(76,175,80,0.25); }
.detail-availability.out-stock { background: var(--orange-bg); color: var(--orange); border: 1px solid rgba(255,152,0,0.25); }

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp:hover { background: #1ebe57; transform: translateY(-2px); }
.btn-call {
  background: var(--gold);
  color: #121212;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition), transform var(--transition);
}
.btn-call:hover { background: var(--gold-dark); transform: translateY(-2px); }

.detail-meta {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-meta p { color: var(--text-dim); font-size: 0.82rem; margin: 0; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-page-wrap {
  max-width: 1100px;
  margin: 48px auto 72px;
  padding: 0 24px;
}
.contact-page-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-page-subtitle {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-form-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form-card h2 { color: var(--gold); margin: 0 0 22px; font-size: 1.15rem; }
.contact-form-card label {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--border-lit);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: var(--text-dim); }
.contact-form-card textarea { resize: vertical; }

.btn-submit {
  background: var(--gold);
  color: #121212;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--gold-dark); transform: translateY(-1px); }

.form-success {
  display: none;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(76,175,80,0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.875rem;
  text-align: center;
}

.contact-info-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info-card h2 { color: var(--gold); margin: 0; font-size: 1.15rem; }

.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-icon { font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.info-text { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }
.info-text a { color: var(--gold); }
.info-text a:hover { text-decoration: underline; }
.info-text strong { color: var(--text); }

.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
.whatsapp-cta:hover {
  background: rgba(37,211,102,0.15);
  border-color: rgba(37,211,102,0.4);
}
.whatsapp-cta span { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.whatsapp-cta small { color: var(--text-muted); font-size: 0.78rem; display: block; }

.map-wrap {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe { display: block; width: 100%; height: 260px; border: none; }

.social-row { display: flex; gap: 10px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg4);
  border: 1px solid var(--border-lit);
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
.social-row a:hover { background: var(--gold-dim); border-color: var(--gold); }

/* ============================================================
   FLOATING WHATSAPP
============================================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  line-height: 0;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.footer-nav a:hover { color: var(--gold); background: var(--gold-dim); }
.footer p { color: var(--text-dim); font-size: 0.8rem; margin-top: 6px; }
.footer-gold { color: var(--gold); font-weight: 600; }

/* ============================================================
   FEATURED IN-STOCK SECTION (homepage)
============================================================ */
.featured-section {
  background: var(--bg);
  padding: 64px 24px;
  border-top: 1px solid var(--border);
}
.featured-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* ============================================================
   PRODUCT IMG WRAP (badge overlay)
============================================================ */
.product-img-wrap {
  position: relative;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.product-stock.in-stock  { background: rgba(76,175,80,0.9);  color: #fff; }
.product-stock.out-stock { background: rgba(255,152,0,0.88); color: #fff; }

/* ============================================================
   SKELETON LOADER
============================================================ */
.skeleton-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: shimmer 1.6s ease-in-out infinite;
}
.skeleton-img  { height: 200px; background: var(--bg4); }
.skeleton-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.skeleton-line { height: 12px; background: var(--bg4); border-radius: 4px; }
.skeleton-line.short { width: 55%; }
.skeleton-line.price { width: 40%; height: 16px; }
.skeleton-btn  { height: 40px; background: var(--bg4); border-radius: var(--radius-md); margin-top: 6px; }
@keyframes shimmer {
  0%   { opacity: 1; }
  50%  { opacity: 0.45; }
  100% { opacity: 1; }
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--text); font-size: 1.3rem; margin-bottom: 8px; }
.empty-state p  { font-size: 0.9rem; }

/* Sort select */
.sort-select {
  padding: 8px 14px;
  background: var(--bg3);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition);
}
.sort-select:focus { outline: none; border-color: var(--gold); }
.sort-select option { background: var(--bg3); }

/* Products toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
}
.product-count { color: var(--text-dim); font-size: 0.85rem; }

/* Toast */
#zseToast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .search-bar { max-width: 280px; }
  .btn-shop-brands { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .top-header-bar { padding: 0 16px; }
  .logo-icon { height: 44px !important; }
  .search-bar { display: none; }
  .nav-categories { display: none; }
  .order-hotline { display: none; }
  .hamburger { display: flex; }
  .btn-shop-brands { display: none; }

  .hero-slider .slider-container { height: 54vh; min-height: 320px; }
  .slide-text { bottom: 20%; left: 5%; right: 5%; }

  .department-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .products-container { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .contact-grid { grid-template-columns: 1fr; }
  .detail-layout { flex-direction: column; }

  .filter-section { top: 64px; }
  .products-toolbar { margin-top: 16px; }
}

@media (max-width: 480px) {
  .department-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-container { grid-template-columns: 1fr; }
  .modal-content { padding: 24px 20px; }
  .detail-actions { flex-direction: column; }
  .detail-actions .btn-whatsapp,
  .detail-actions .btn-call { text-align: center; width: 100%; }
  .contact-form-card, .contact-info-card { padding: 24px 20px; }
  .filter-wrap { gap: 6px; }
  .filter-btn { padding: 6px 12px; font-size: 0.78rem; }
}

@media (max-width: 360px) {
  .department-grid { grid-template-columns: 1fr; }
}
