/* ==========================================================================
   BOHUI COMMODITY - HIGH-END COSMETIC PACKAGING - DESIGN SYSTEM & STYLESHEET
   1:1 Pixel-Accurate Reproduction & Modern Interactive Architecture
   ========================================================================== */

:root {
  --primary: #DB356B;
  --primary-gradient: linear-gradient(135deg, #E22B69 0%, #C91D58 100%);
  --primary-hover: #BE123C;
  --primary-wine: #770D32;
  --stat-red: #941035;
  --text-title: #1B212D;
  --text-body: #4A5568;
  --text-muted: #6B7280;
  --bg-hero-top: #FAF0F3;
  --bg-hero-bottom: #F6DDE3;
  --bg-quality: #FCF1F4;
  --card-bg: #FFFFFF;
  --card-border: #F3E8EC;
  --card-shadow: 0 8px 24px -6px rgba(219, 53, 107, 0.06), 0 2px 8px -2px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 16px 36px -8px rgba(219, 53, 107, 0.14), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --font-sans: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1480px;
  --radius-pill: 999px;
  --radius-card: 18px;
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: #FFFFFF;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button, a {
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: var(--transition-smooth);
}

/* Base Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(243, 232, 236, 0.8);
  height: 84px;
}

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

/* Brand Logo (Clean K-Beauty only - subtitle removed per request) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(219, 53, 107, 0.25);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.brand-logo:hover .logo-icon {
  transform: scale(1.05) rotate(4deg);
}

.brand-name {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1A202C;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.brand-logo:hover .brand-name {
  color: var(--primary);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 40px;
}

.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  padding: 8px 4px;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

/* Nav Actions (Search & CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.search-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1F2937;
  transition: var(--transition-smooth);
}

.search-btn:hover {
  background: #FDF2F4;
  color: var(--primary);
  transform: scale(1.08);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(219, 53, 107, 0.32);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(219, 53, 107, 0.42);
  filter: brightness(1.03);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary svg {
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1F2937;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #FDF0F3 0%, #F9DEE4 70%, #FFFFFF 100%);
  padding: 56px 0 68px;
  overflow: hidden;
}

/* Ambient glow & backdrop decoration */
.hero-ambient-glow {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 236, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Hero Left Content */
.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-overline {
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 300;
  color: #E22B69;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-title {
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17.5px;
  font-weight: 500;
  color: #4B5563;
  margin-bottom: 34px;
}

.hero-badges .bullet {
  color: #9CA3AF;
  font-size: 14px;
}

.hero-action-row {
  margin-bottom: 32px;
}

.hero-btn {
  padding: 15px 36px;
  font-size: 17px;
}

/* Hero Podium & Cosmetics Showcase */
.hero-showcase-wrapper {
  position: relative;
  margin-top: 10px;
  max-width: 580px;
}

.hero-podium-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(180, 50, 90, 0.12));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-podium-img:hover {
  transform: translateY(-4px) scale(1.015);
}

/* Hero Right Category Circles */
.hero-categories-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-left: 20px;
}

.cat-row-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.cat-row-bottom {
  display: flex;
  justify-content: center;
  gap: 48px;
  width: 100%;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  group: true;
}

.circle-disc {
  position: relative;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(190, 40, 80, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.cat-row-top .circle-disc {
  width: 124px;
  height: 124px;
}

.cat-row-bottom .circle-disc {
  width: 164px;
  height: 164px;
}

.circle-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .circle-disc {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 16px 36px rgba(190, 40, 80, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.category-card:hover .circle-disc img {
  transform: scale(1.08);
}

.category-label {
  margin-top: 14px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-title);
  transition: var(--transition-smooth);
}

.cat-row-bottom .category-label {
  font-size: 18px;
}

.category-card:hover .category-label {
  color: var(--primary);
}

/* ==========================================================================
   3. ABOUT US & 3x3 STATS CARDS
   ========================================================================== */
.about-section {
  padding: 88px 0 96px;
  background: #FFFFFF;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Left Content */
.about-left {
  display: flex;
  flex-direction: column;
}

.section-label {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.03em;
  line-height: 1.16;
  margin-bottom: 26px;
}

.section-desc {
  font-size: 17.5px;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 540px;
}

/* Right 3x3 Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  min-height: 110px;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: #E8D3DC;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-main {
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.25;
}

.stat-sub {
  font-size: 13.5px;
  color: #4B5563;
  line-height: 1.35;
}

.stat-red {
  color: var(--stat-red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Center Solid TEAM Accent Card */
.team-accent-card {
  background: linear-gradient(135deg, #DE316A 0%, #CD225B 100%);
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 28px rgba(222, 49, 106, 0.35);
}

.team-accent-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(222, 49, 106, 0.46);
}

.team-icon-svg {
  width: 52px;
  height: 38px;
  fill: #FFFFFF;
  margin-bottom: 2px;
}

.team-accent-title {
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* ==========================================================================
   4. HIGH QUALITY STANDARDS & 4M1E WHEEL
   ========================================================================== */
.quality-section {
  padding: 88px 0 96px;
  background: var(--bg-quality);
  position: relative;
}

.quality-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: center;
}

.quality-left {
  display: flex;
  flex-direction: column;
}

.quality-diagram-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(219, 53, 107, 0.07), 0 2px 8px rgba(0, 0, 0, 0.02);
  border: 1px solid #F6E7EB;
  transition: var(--transition-smooth);
}

.quality-diagram-card:hover {
  box-shadow: 0 18px 48px rgba(219, 53, 107, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.quality-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.quality-watermark {
  text-align: center;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   5. PRODUCTS — catalog plates + beauty tools
   ========================================================================== */
.tools-section {
  padding: 88px 0 108px;
  background:
    radial-gradient(880px 380px at 0% 0%, rgba(219, 53, 107, 0.07), transparent 68%),
    #FBF7F8;
}

.products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.products-copy {
  max-width: 680px;
}

.products-copy .section-title {
  margin-bottom: 12px;
  text-wrap: balance;
}

.products-lead {
  max-width: 58ch;
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: #4B5563;
}

.showcase-tabs {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin-bottom: 6px;
  padding: 4px;
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 0 rgba(27, 33, 45, 0.04), 0 8px 24px -16px rgba(27, 33, 45, 0.4);
}

.showcase-tab {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #4B5563;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.showcase-tab:hover {
  background: #FCE8ED;
  color: var(--primary);
  border-color: #F8D3DC;
}

.showcase-tab.active {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(219, 53, 107, 0.25);
}

.showcase-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.catalog-stage,
.tools-stage {
  display: none;
}

.catalog-stage.is-active:not([hidden]) {
  display: block;
}

.catalog-spread,
.catalog-lower {
  display: grid;
  gap: 16px;
}

.catalog-spread {
  grid-template-columns: 1fr 1fr;
}

.catalog-lower {
  grid-template-columns: 1.08fr 0.92fr;
  margin-top: 16px;
}

.catalog-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: inherit;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 16px 36px -22px rgba(27, 33, 45, 0.45);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.catalog-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -18px rgba(219, 53, 107, 0.28);
}

.catalog-panel:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.catalog-panel:active {
  transform: translateY(-1px) scale(0.995);
}

.catalog-frame {
  display: block;
  overflow: hidden;
  background: #eef3f8;
  line-height: 0;
}

.catalog-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.01;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-panel:hover .catalog-frame img {
  transform: scale(1.028);
}

.catalog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 16px;
  background: #FFFFFF;
}

.catalog-index {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.catalog-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.catalog-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-title);
}

.catalog-text span {
  font-size: 13.5px;
  line-height: 1.4;
  color: #6B7280;
}

.catalog-panel:hover .catalog-text strong {
  color: var(--primary);
}

.tools-stage.is-active:not([hidden]) {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 36px 28px 28px;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 16px 36px -22px rgba(27, 33, 45, 0.4);
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.tool-circle {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #FFFFFF;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 7px #FCE8ED, 0 8px 20px rgba(219, 53, 107, 0.08);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.tool-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tool-item:hover .tool-circle {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 0 0 9px #F8D3DC, 0 14px 32px rgba(219, 53, 107, 0.16);
}

.tool-item:hover .tool-circle img {
  transform: scale(1.09);
}

.tool-label {
  margin-top: 15px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-title);
  transition: var(--transition-smooth);
}

.tool-item:hover .tool-label {
  color: var(--primary);
}

/* ==========================================================================
   6. SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #181B22;
  color: #9CA3AF;
  padding: 64px 0 36px;
  font-size: 14.5px;
  border-top: 1px solid #282C35;
}

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

.footer-brand .brand-name {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-bio {
  color: #9CA3AF;
  line-height: 1.6;
  max-width: 320px;
  margin-top: 10px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: #9CA3AF;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #F43F5E;
}

.compliance-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.compliance-tag {
  background: #252A34;
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid #333B49;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #282C35;
  padding-top: 28px;
  font-size: 13.5px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: #9CA3AF;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   7. MODALS & INTERACTIVE COMPONENTS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F3F4F6;
}

.modal-header h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-title);
}

.modal-close {
  font-size: 26px;
  color: #9CA3AF;
  line-height: 1;
  padding: 4px;
  border-radius: 8px;
}

.modal-close:hover {
  color: #111827;
  background: #F3F4F6;
}

.modal-body {
  padding: 30px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(219, 53, 107, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111827;
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 3000;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Search Modal Specifics */
.search-box-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box-input-wrap input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  font-size: 18px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  outline: none;
}

.search-box-input-wrap input:focus {
  border-color: var(--primary);
}

.search-box-input-wrap svg {
  position: absolute;
  left: 18px;
  color: #9CA3AF;
}

.quick-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.search-tag {
  background: #F3F4F6;
  color: #4B5563;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tag:hover {
  background: #FCE8ED;
  color: var(--primary);
}

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

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

.mobile-drawer-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85%;
  height: 100%;
  background: #FFFFFF;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open .mobile-drawer-inner {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: auto;
}

.drawer-link {
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
  padding: 8px 0;
  display: block;
  transition: color 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
  color: var(--primary);
}

.drawer-cta {
  padding-top: 24px;
}

.w-full {
  width: 100% !important;
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-showcase-wrapper {
    margin: 0 auto;
  }
  .hero-categories-wrap {
    padding-left: 0;
    margin-top: 20px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-left {
    text-align: center;
    align-items: center;
  }

  .quality-layout {
    grid-template-columns: 1fr;
  }
  .quality-left {
    text-align: center;
    align-items: center;
  }

  .products-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .catalog-lower {
    grid-template-columns: 1fr 1fr;
  }
  .tools-stage.is-active:not([hidden]) {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 36px;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .cat-row-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-row-bottom {
    flex-direction: column;
    align-items: center;
  }
  .catalog-spread,
  .catalog-lower {
    grid-template-columns: 1fr;
  }
  .showcase-tabs {
    width: 100%;
    justify-content: stretch;
  }
  .showcase-tab {
    flex: 1;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
