/* GOLDEN WILLOW - Master Stylesheet & Design System */

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

:root {
  /* Brand Palette */
  --primary-gold: #d4af37;
  --primary-gold-hover: #b89628;
  --primary-gold-light: rgba(212, 175, 55, 0.12);
  --primary-gold-glow: rgba(212, 175, 55, 0.25);

  /* Light Theme (Default) */
  --bg-main: #fcfcfc;
  --bg-surface: #ffffff;
  --bg-subtle: #f4f4f6;
  --text-main: #141416;
  --text-muted: #62626c;
  --border-color: #e4e4e8;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --header-bg: rgba(255, 255, 255, 0.95);
  --card-bg: #ffffff;
  --badge-bg: #141416;
  --badge-text: #ffffff;
}

[data-theme="dark"] {
  /* Dark Theme Overrides */
  --bg-main: #0d0d0f;
  --bg-surface: #151518;
  --bg-subtle: #1e1e24;
  --text-main: #f3f3f6;
  --text-muted: #a0a0ab;
  --border-color: #2a2a33;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --header-bg: rgba(21, 21, 24, 0.95);
  --card-bg: #151518;
  --badge-bg: var(--primary-gold);
  --badge-text: #0d0d0f;
}

/* Reset & Universal Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Layout Components */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
  background: #0d0d0f;
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mob-hamburger-btn {
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.brand-logo-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-logo span {
  color: var(--primary-gold);
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header-search form {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 4px 16px;
  transition: border-color 0.2s ease;
}

.header-search form:focus-within {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px var(--primary-gold-light);
}

.header-search input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 12px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.header-search button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  background: var(--primary-gold-light);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 14px var(--primary-gold-glow);
}

.icon-btn:active {
  transform: translateY(0) scale(0.94);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.icon-btn:hover .cart-badge {
  transform: scale(1.15);
}

/* Header Track Order Link */
.nav-track-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-track-link i {
  color: var(--primary-gold);
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.nav-track-link:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-2px) scale(1.03);
  background: var(--primary-gold-light);
  box-shadow: 0 4px 14px var(--primary-gold-glow);
}

.nav-track-link:hover i {
  transform: translateX(2px);
}

/* User & Account Dropdown */
.user-dropdown-container {
  position: relative;
}

.icon-btn.active-account {
  border-color: var(--primary-gold);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 1100;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-dropdown-menu.show {
  display: flex;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-subtle);
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}

.user-role-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.user-role-badge.badge-admin {
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.user-role-badge.badge-customer {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.dropdown-header .user-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.3;
}

.dropdown-header .user-email {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item i {
  width: 18px;
  text-align: center;
}

.dropdown-item:hover {
  background: var(--bg-subtle);
  color: var(--primary-gold);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 0;
}

.dropdown-admin-item {
  background: rgba(212, 175, 55, 0.08);
  font-weight: 600;
  color: var(--primary-gold);
}

.dropdown-admin-item:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-gold);
}

.dropdown-logout:hover {
  background: #fee2e2;
  color: #ef4444 !important;
}

/* Main Category Navigation Bar */
.category-nav {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  position: relative;
}

.cat-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 6px;
  width: 100%;
  box-sizing: border-box;
}

.cat-links::-webkit-scrollbar {
  display: none;
}

.cat-links li {
  flex-shrink: 0;
}

.cat-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  white-space: nowrap;
  background: transparent;
  border: 1.5px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-links a:hover {
  color: var(--primary-gold);
  background: var(--primary-gold-light);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--primary-gold-glow);
}

.cat-links a.active {
  color: #000000;
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  font-weight: 800;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.45);
}

.cat-links a:active {
  transform: translateY(0) scale(0.96);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn:active {
  transform: translateY(0) scale(0.96) !important;
}

.btn-gold {
  background: var(--primary-gold);
  color: #0d0d0f;
  box-shadow: 0 4px 14px var(--primary-gold-glow);
}

.btn-gold:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 8px 24px var(--primary-gold-glow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  background: var(--primary-gold-light);
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 6px 18px var(--primary-gold-glow);
}

/* Hero Carousel Section */
.hero-carousel {
  position: relative;
  background: #0d0d0f;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 2px solid var(--primary-gold);
}

.hero-slides-wrapper {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  padding: 70px 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 520px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 3.2rem;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-text h1 span {
  color: var(--primary-gold);
}

.hero-text p {
  font-size: 1.1rem;
  color: #a0a0ab;
  margin-bottom: 30px;
}

.hero-image-wrapper {
  text-align: center;
}

.hero-image-wrapper img {
  max-height: 380px;
  width: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  object-fit: cover;
}

/* Slider Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(21, 21, 24, 0.7);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--primary-gold);
  color: #000000;
  box-shadow: 0 0 15px var(--primary-gold-glow);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* Carousel Dots Indicator */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--primary-gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  background: var(--primary-gold);
  width: 32px;
  border-radius: 20px;
}

/* Category Grid Section */
.section-padding {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-title {
  font-size: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-gold);
  margin-top: 8px;
}

/* Horizontally Scrollable Category Showcase */
.cat-scroll-wrapper {
  position: relative;
  width: 100%;
}

.cat-scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-gold) var(--bg-subtle);
}

.cat-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.cat-scroll-container::-webkit-scrollbar-track {
  background: var(--bg-subtle);
  border-radius: 10px;
}

.cat-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 10px;
}

.cat-card-scroll {
  flex: 0 0 230px;
  min-width: 230px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.cat-card-scroll:hover {
  border-color: var(--primary-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.cat-scroll-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-scroll-btn:hover {
  background: var(--primary-gold);
  color: #000000;
  border-color: var(--primary-gold);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.cat-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  background: var(--primary-gold-light);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.cat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.cat-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 10;
}

.product-thumb {
  height: 240px;
  background: #f8f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.product-thumb img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.product-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--primary-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.current-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.mrp-price {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.discount-tag {
  font-size: 0.8rem;
  color: #2e7d32;
  font-weight: 700;
}

.product-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.product-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.88rem;
}

/* Trust Pillars */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.trust-item i {
  font-size: 2.2rem;
  color: var(--primary-gold);
  margin-bottom: 12px;
}

.trust-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
/* Compact Footer */
.site-footer {
  background: #09090b;
  color: #94a3b8;
  padding: 36px 0 18px;
  border-top: 2px solid var(--primary-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-gold);
  margin-top: 4px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.footer-col ul a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col ul a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-search {
    display: none;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ── Utility Helpers ─────────────────────────── */
.text-gold  { color: var(--primary-gold) !important; }
.text-muted { color: var(--text-muted) !important; }
.me-1 { margin-right:  4px; }
.me-2 { margin-right:  8px; }
.me-3 { margin-right: 12px; }
.ms-1 { margin-left:   4px; }
.ms-2 { margin-left:   8px; }
.ms-3 { margin-left:  12px; }
.mb-0 { margin-bottom:  0; }
.mt-1 { margin-top:   4px; }

/* ── Frontend Form Controls ──────────────────── */
.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px var(--primary-gold-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

/* ── Page wrapper below sticky header ────────── */
.page-main {
  padding-top: 0;
  min-height: 60vh;
}

/* ── Breadcrumb ──────────────────────────────── */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary-gold);
}

/* ── Loading Skeleton ────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-subtle) 25%, var(--border-color) 50%, var(--bg-subtle) 75%);
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s infinite;
  border-radius: 6px;
}

@keyframes skeleton-wave {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Floating WhatsApp Direct Chat Widget ─────── */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6), 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff !important;
}

.whatsapp-float-btn:active {
  transform: scale(0.95);
}

/* Pulse animation ring */
.whatsapp-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: whatsapp-pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* WhatsApp Hover Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background: #18181b;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #18181b;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.whatsapp-online-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #25D366;
}

/* WhatsApp Inquire Button for Product Pages */
.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-whatsapp:hover {
  background: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* ──────────────────────────────────────────────────────────
   OFF-CANVAS CATEGORY SIDE DRAWER (GLOBAL)
────────────────────────────────────────────────────────── */
.mob-category-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mob-category-backdrop.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mob-category-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  z-index: 99995;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  display: none;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mob-category-drawer.open {
  display: flex !important;
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mob-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-subtle);
}

.mob-drawer-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.mob-drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}

.mob-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
}

.mob-drawer-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.mob-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mob-category-list li {
  margin-bottom: 4px;
}

.mob-category-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s ease;
}

.mob-category-list a:hover,
.mob-category-list a.active {
  background: var(--bg-subtle);
  color: var(--primary-gold);
}

.mob-category-list a i {
  width: 18px;
  text-align: center;
}


@media (max-width: 600px) {
  .whatsapp-float-btn {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}

