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

:root {
  --font-brand: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Master Luxury Palette: Crisp Alabaster Canvas + Rich Emerald + Lustrous Gold */
  --bg-body: #f8faf8;
  --bg-white: #ffffff;
  --bg-subtle: #f0f4f1;
  --bg-emerald-deep: #062315;
  --bg-emerald: #0a3622;
  --bg-emerald-light: #104c31;
  
  /* Metallic Lustrous Gold */
  --gold: #c59b27;
  --gold-light: #f3df95;
  --gold-dark: #9a7415;
  --gold-gradient: linear-gradient(135deg, #f5df8e 0%, #c59b27 50%, #9a7415 100%);
  --gold-gradient-hover: linear-gradient(135deg, #fae9a8 0%, #d4aa33 50%, #ad841d 100%);
  --gold-glow: 0 4px 20px rgba(197, 155, 39, 0.28);
  --gold-border: rgba(197, 155, 39, 0.3);

  /* Text Colors */
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-emerald: #0a3622;
  --text-gold: #c59b27;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-emerald: rgba(10, 54, 34, 0.15);
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(10, 54, 34, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(10, 54, 34, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 45px -8px rgba(10, 54, 34, 0.18);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(48px, 6vw, 84px) 0;
}

.section-emerald {
  background-color: var(--bg-emerald-deep);
  color: #ffffff;
  position: relative;
  background-image: radial-gradient(circle at 50% 0%, rgba(16, 76, 49, 0.6) 0%, transparent 70%);
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* ── TOP ANNOUNCEMENT BAR ── */
.topbar {
  background: var(--bg-emerald-deep);
  color: #ffffff;
  padding: 8px 0;
  font-size: 12.5px;
  border-bottom: 1px solid var(--gold-border);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-weight: 500;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-link {
  color: #ffffff;
  font-weight: 600;
  transition: color 0.15s ease;
}
.topbar-link:hover {
  color: var(--gold-light);
}

/* ── MAIN HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 12px rgba(197, 155, 39, 0.3);
  object-fit: cover;
}

.brand-info b {
  font-family: var(--font-brand);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--bg-emerald-deep);
  display: block;
  line-height: 1.2;
}

.brand-info small {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
  display: block;
}

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

@media (max-width: 900px) {
  .header-search { display: none; }
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-input-wrap input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-dark);
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-wrap input:focus {
  border-color: var(--bg-emerald);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(10, 54, 34, 0.08);
}

.search-icon-svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1005;
  display: none;
}

.search-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background: var(--bg-subtle);
}

.search-result-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--bg-emerald);
}

@media (max-width: 992px) {
  .nav-menu { display: none; }
}

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

.cart-btn-trigger {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--bg-emerald-deep);
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.cart-btn-trigger:hover {
  border-color: var(--bg-emerald);
  background: var(--bg-subtle);
}

.cart-count-badge {
  background: var(--bg-emerald);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 992px) {
  .mobile-menu-btn { display: flex; }
}

/* ── TYPOGRAPHY ── */
.badge-luxury {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 54, 34, 0.08);
  color: var(--bg-emerald);
  border: 1px solid rgba(10, 54, 34, 0.15);
}

.badge-gold {
  background: rgba(197, 155, 39, 0.15);
  color: var(--gold-dark);
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.title-display {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}

.title-display span.emerald-txt {
  color: var(--bg-emerald);
}

.title-lg {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text-dark);
}

.title-md {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.text-lead {
  font-size: clamp(15px, 1.7vw, 17.5px);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-emerald {
  background: var(--bg-emerald);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 54, 34, 0.25);
}
.btn-emerald:hover {
  background: var(--bg-emerald-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 54, 34, 0.35);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-emerald-deep);
  font-weight: 800;
  box-shadow: var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(197, 155, 39, 0.4);
}

.btn-outline {
  background: #ffffff;
  color: var(--bg-emerald-deep);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--bg-emerald);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

/* ── HERO SECTION ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

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

.hero-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── STATS STRIP ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 48px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 20px; }
}

.stat-item b {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bg-emerald);
  display: block;
}

.stat-item span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── GRIDS & CARDS ── */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── CATEGORY TILES ── */
.cat-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.cat-card:hover {
  border-color: var(--bg-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.cat-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cat-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.55;
}

.cat-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── PRODUCT CARDS ── */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

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

.product-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f1f5f9;
  cursor: pointer;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: var(--bg-emerald-deep);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg-emerald);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-dark);
  cursor: pointer;
}

.product-title:hover {
  color: var(--bg-emerald);
}

.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-moq {
  font-size: 12px;
  color: var(--text-muted);
}
.product-moq b {
  color: var(--text-dark);
}

/* ── FORMS & INPUTS ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.input-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-dark);
  outline: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.input-control:focus {
  border-color: var(--bg-emerald);
  box-shadow: 0 0 0 3px rgba(10, 54, 34, 0.08);
}

/* ── CARDS (WHITE CLEAN) ── */
.card-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* ── WAREHOUSE LOCATION FOOTER CARD (Like Nexel) ── */
.footer-location-card {
  background: #ffffff;
  border: 2px solid var(--bg-emerald);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 820px) {
  .footer-location-card { grid-template-columns: 1fr; }
}

/* ── DRAWER & MODAL ── */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.2);
}

.drawer-backdrop.open .drawer-panel {
  transform: translateX(0);
}

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

.drawer-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--bg-emerald-deep);
  color: #ffffff;
  padding: 64px 0 32px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

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

.footer-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Toast */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-msg {
  background: var(--bg-emerald-deep);
  color: #ffffff;
  border: 1px solid var(--gold);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.2s ease;
}

@keyframes slideUp {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
