/* ============================================================
   MYLUXECART — Luxury Redesign (2026-08-13)
   Preserves every class/ID used by main.js. Only visual + size
   changes. Larger type, refined gold serif wordmark, more air.
   ============================================================ */

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

:root {
  --gold: #c9a961;
  --gold-dark: #8b6914;
  --gold-light: #e7cf94;
  --gold-soft: #d8bd7e;
  --dark: #080808;
  --dark-2: #121212;
  --dark-3: #1c1c1c;
  --light: #f6f2ea;
  --gray: #9a948a;
  --gray-light: #cfc9bf;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: 'Jost', 'Noto Sans SC', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ===== Preloader ===== */
/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.9rem 3.5rem;
  display: flex; align-items: center;
  transition: all 0.4s var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(22px);
  padding: 1.2rem 3.5rem;
  border-bottom: 1px solid rgba(201,169,97,0.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

/* --- Luxury wordmark (top-left) --- */
.nav-logo {
  display: inline-flex; align-items: baseline; text-decoration: none;
  white-space: nowrap; gap: 1px;
}
.nav-logo .logo-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.95rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 1px 14px rgba(201,169,97,0.18);
}
.nav-logo .logo-mark em { font-style: normal; color: var(--light); font-weight: 400; }
.nav-logo .logo-tld {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; color: var(--gray-light);
  margin-left: 4px; align-self: flex-start; margin-top: 5px; letter-spacing: 0.02em;
}

.nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-links a {
  color: var(--light); text-decoration: none;
  font-size: 0.98rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 300; transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-whatsapp {
  display: flex; align-items: center; gap: 0.55rem;
  background: #25D366; color: white; text-decoration: none;
  padding: 0.7rem 1.6rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em;
  transition: all 0.3s;
}
.nav-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--gold); transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.mobile-lang-switcher { display: none; }

/* ===== Nav Right (Lang Switcher + WhatsApp) ===== */
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.lang-switcher { display: flex; gap: 0.3rem; }
.lang-btn {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(201,169,97,0.2);
  color: var(--gray-light); padding: 0.4rem 0.8rem; border-radius: 4px;
  font-size: 0.8rem; cursor: pointer; transition: all 0.3s; font-family: 'Jost', sans-serif;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 500; }

/* ===== Hero ===== */
.hero {
  position: relative; height: 100vh; min-height: 760px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(201,169,97,0.10) 0%, transparent 60%),
    linear-gradient(135deg, #080808 0%, #1a130a 32%, #0a0a0a 62%, #15100a 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,97,0.10) 0%, transparent 70%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23c9a961' stroke-width='0.3' opacity='0.05'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 920px; padding: 0 2rem; }
.hero-tagline {
  font-size: 0.88rem; letter-spacing: 0.64em; color: var(--gold);
  margin-bottom: 2.3rem; opacity: 0; animation: fadeUp 1s 0.3s forwards;
  text-transform: uppercase; font-weight: 400;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.6rem, 12.5vw, 9.8rem);
  font-weight: 400; line-height: 0.95; letter-spacing: -0.028em;
  margin-bottom: 2.6rem;
  opacity: 0; animation: fadeUp 1s 0.5s forwards;
  position: relative;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero-title::after {
  content: ''; display: block; width: 120px; height: 1px; margin: 2.8rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-subtitle {
  font-size: 1.24rem; color: var(--gray-light); font-weight: 300;
  letter-spacing: 0.07em; line-height: 1.95; max-width: 640px; margin: 0 auto;
  opacity: 0; animation: fadeUp 1s 0.7s forwards;
}

/* ===== Hero Category Navigation ===== */
.hero-cat-nav {
  opacity: 0; animation: fadeUp 1s 0.8s forwards;
  margin-top: 3.6rem;
}
.hero-cat-prompt {
  font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem; font-weight: 400;
}
.hero-cat-list {
  display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap;
}
.hero-cat-chip {
  display: inline-block; padding: 0.7rem 2rem;
  border: 1px solid rgba(201,169,97,0.35); border-radius: 50px;
  color: var(--gray-light); text-decoration: none;
  font-size: 0.92rem; font-weight: 400; letter-spacing: 0.1em;
  transition: all 0.4s var(--transition);
  background: rgba(255,255,255,0.03); backdrop-filter: blur(4px);
}
.hero-cat-chip:hover {
  background: var(--gold); color: var(--dark); border-color: var(--gold);
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(201,169,97,0.28);
}
.hero-cat-chip:active { transform: translateY(-1px); }

/* ===== Hero Search ===== */
.hero-search {
  opacity: 0; animation: fadeUp 1s 0.9s forwards;
  margin-top: 3.6rem;
}
.search-box {
  display: flex; align-items: center; max-width: 560px; margin: 0 auto;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,97,0.35); border-radius: 50px;
  padding: 0.5rem 0.5rem 0.5rem 1.4rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.search-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,97,0.12); }
.search-icon { color: var(--gray); flex-shrink: 0; margin-right: 0.7rem; }
.search-box input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--light); font-size: 1.02rem; font-family: 'Jost', sans-serif;
  padding: 0.7rem 0;
}
.search-box input::placeholder { color: var(--gray); }
.search-btn {
  background: var(--gold); color: var(--dark); border: none;
  padding: 0.8rem 2rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.1em;
  cursor: pointer; transition: all 0.3s; font-family: 'Jost', sans-serif;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--gold-light); }

/* ===== Search Results Overlay ===== */
.search-overlay { display: none; position: fixed; inset: 0; z-index: 4000; }
.search-overlay.active { display: flex; align-items: flex-start; justify-content: center; }
.search-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.88); backdrop-filter: blur(8px); }
.search-results-panel {
  position: relative; z-index: 1; background: var(--dark-2);
  border: 1px solid rgba(201,169,97,0.2); border-radius: 8px;
  width: 92%; max-width: 1100px; margin-top: 5vh; max-height: 88vh; overflow-y: auto;
  padding: 2.5rem;
}
.search-results-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,169,97,0.15);
}
.search-results-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold); font-weight: 500; }
.search-close {
  background: rgba(255,255,255,0.06); color: #fff; border: none;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; transition: background 0.3s;
}
.search-close:hover { background: rgba(231,76,60,0.8); }
.search-results-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
}
@media (max-width: 1024px) { .search-results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .search-results-grid { grid-template-columns: 1fr; }
  .search-results-panel { padding: 1.6rem; margin-top: 3vh; }
}

.hero-actions {
  display: flex; gap: 1.6rem; justify-content: center; margin-top: 3.9rem;
  opacity: 0; animation: fadeUp 1s 0.9s forwards; flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold); color: var(--dark); text-decoration: none;
  padding: 1.1rem 2.8rem; font-size: 0.9rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500; border: 1px solid var(--gold);
  transition: all 0.4s var(--transition);
}
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-outline {
  display: flex; align-items: center; gap: 0.6rem;
  background: transparent; color: var(--light); text-decoration: none;
  padding: 1.1rem 2.8rem; font-size: 0.9rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500; border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.4s var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.hero-scroll span { font-size: 0.75rem; letter-spacing: 0.35em; color: var(--gray); }
.scroll-line { width: 1px; height: 44px; background: var(--gold); animation: scrollLine 2s ease infinite; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Brand Strip ===== */
.brand-strip { overflow: hidden; padding: 3rem 0; border-top: 1px solid rgba(201,169,97,0.12); border-bottom: 1px solid rgba(201,169,97,0.12); background: var(--dark-2); -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.brand-track { display: flex; gap: 4.5rem; white-space: nowrap; animation: scroll 48s linear infinite; }
.brand-track span {
  font-family: 'Cormorant Garamond', serif; font-size: 1.7rem;
  color: var(--gray); letter-spacing: 0.22em; font-weight: 400;
  transition: color 0.3s;
}
.brand-track span:hover { color: var(--gold); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Category Sections ===== */
.category-section { padding: 8rem 3.5rem; max-width: 1440px; margin: 0 auto; }
.category-header { text-align: center; margin-bottom: 4.5rem; }
.cat-number {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem;
  color: var(--gold); letter-spacing: 0.4em; display: block; margin-bottom: 1.2rem;
}
.cat-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400; letter-spacing: -0.01em; margin-bottom: 1.6rem;
}
.cat-title::after {
  content: ''; display: block; width: 90px; height: 1px; margin: 1.6rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cat-desc { color: var(--gray); max-width: 640px; margin: 0 auto; font-weight: 300; font-size: 1.15rem; line-height: 1.85; }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem;
}
.product-card {
  background: var(--dark-2); border-radius: 4px; overflow: hidden;
  cursor: pointer; transition: all 0.5s var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}
.product-card:hover { transform: translateY(-10px); border-color: rgba(201,169,97,0.35); box-shadow: 0 24px 50px rgba(0,0,0,0.55); }
.product-img-wrap {
  width: 100%; height: 340px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #161616, #262626);
}
.product-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--transition);
}
.product-card:hover .product-img { transform: scale(1.08); }
.product-img-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at center, transparent 50%, rgba(0,0,0,0.3) 100%);
}
.product-img-wrap.no-img { background: linear-gradient(135deg, #161616, #262626); }
.product-info { padding: 2rem; }
.product-cat { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.product-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 500; margin: 0.6rem 0; line-height: 1.25; }
.product-price { color: var(--gray); font-size: 0.95rem; margin-bottom: 1.1rem; }
.product-cta { color: var(--gold); font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; transition: gap 0.3s; display: inline-block; }
.product-card:hover .product-cta { transform: translateX(5px); }
.product-img-wrap .img-count {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 600; backdrop-filter: blur(4px);
}
.product-summary { color: var(--gray); font-size: 0.85rem; font-weight: 300; line-height: 1.55; margin-bottom: 0.6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== Product Detail Modal ===== */
.product-detail-modal { display: none; position: fixed; inset: 0; z-index: 5000; }
.product-detail-modal.active { display: flex; align-items: center; justify-content: center; }
.detail-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); }
.detail-container {
  position: relative; z-index: 1; background: var(--dark-2);
  border: 1px solid rgba(201,169,97,0.2); border-radius: 8px;
  width: 92%; max-width: 920px; max-height: 92vh; overflow-y: auto;
  display: flex; flex-direction: row;
}
.detail-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.detail-close:hover { background: rgba(231,76,60,0.8); }
.detail-gallery { flex: 1.2; min-width: 0; display: flex; flex-direction: column; }
.detail-main-img-wrap { position: relative; width: 100%; height: 520px; background: #111; overflow: hidden; border-radius: 8px 0 0 0; }
.detail-main-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.detail-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.detail-nav:hover { background: rgba(201,169,97,0.6); }
.detail-prev { left: 14px; }
.detail-next { right: 14px; }
.detail-img-counter {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.6); color: #fff; padding: 0.35rem 0.9rem;
  border-radius: 20px; font-size: 0.82rem;
}
.detail-thumbs { display: flex; gap: 0.6rem; padding: 0.7rem; overflow-x: auto; }
.detail-thumb { flex-shrink: 0; width: 66px; height: 66px; border-radius: 4px; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.5; transition: all 0.3s; }
.detail-thumb.active { border-color: var(--gold); opacity: 1; }
.detail-thumb:hover { opacity: 1; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { flex: 0.8; min-width: 0; padding: 2.4rem; display: flex; flex-direction: column; justify-content: center; }
.detail-cat { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.detail-name { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 500; margin: 0.6rem 0 1.1rem; line-height: 1.2; }
.detail-summary { color: var(--gray); font-size: 1rem; font-weight: 300; line-height: 1.8; margin-bottom: 1.6rem; white-space: pre-wrap; }
.detail-price { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); margin-bottom: 2rem; }
.detail-wa-btn {
  display: inline-flex; align-items: center; gap: 0.6rem; justify-content: center;
  background: #25D366; color: white; text-decoration: none;
  padding: 1rem 2.2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 500; transition: all 0.3s; width: fit-content;
}
.detail-wa-btn:hover { background: #1fa854; transform: scale(1.03); }

@media (max-width: 768px) {
  .detail-container { flex-direction: column; max-height: 95vh; }
  .detail-main-img-wrap { height: 360px; border-radius: 8px 8px 0 0; }
  .detail-info { padding: 1.6rem; }
  .detail-name { font-size: 1.6rem; }
}

/* ===== About / Trust ===== */
.about-section { padding: 6rem 3.5rem; background: var(--dark-2); border-top: 1px solid rgba(201,169,97,0.12); border-bottom: 1px solid rgba(201,169,97,0.12); }
.about-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.5rem; }
.about-item { text-align: center; }
.about-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 1.2rem; }
.about-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 500; margin-bottom: 0.6rem; }
.about-item p { color: var(--gray); font-size: 0.95rem; font-weight: 300; }

/* ===== Contact Section ===== */
.contact-section { padding: 9rem 3.5rem; text-align: center; }
.contact-inner { max-width: 740px; margin: 0 auto; }
.contact-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 5rem); font-weight: 400; margin-bottom: 1.6rem; }
.contact-subtitle { color: var(--gray); font-size: 1.2rem; font-weight: 300; line-height: 1.85; margin-bottom: 3rem; }
.btn-whatsapp-big {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: #25D366; color: white; text-decoration: none;
  padding: 1.3rem 3.2rem; border-radius: 50px;
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.05em;
  transition: all 0.4s var(--transition); box-shadow: 0 10px 30px rgba(37,211,102,0.2);
}
.btn-whatsapp-big:hover { background: #128C7E; transform: translateY(-3px); box-shadow: 0 15px 40px rgba(37,211,102,0.3); }

/* ===== Footer ===== */
.footer { background: var(--dark-2); border-top: 1px solid rgba(201,169,97,0.12); padding: 4.5rem 3.5rem 2.2rem; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold); letter-spacing: 0.05em; margin-bottom: 1rem; word-break: break-word; }
.footer-brand p { color: var(--gray); font-weight: 300; font-size: 1rem; }
.footer-links h4 { font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.3rem; }
.footer-links a { display: block; color: var(--gray-light); text-decoration: none; font-size: 0.95rem; margin-bottom: 0.7rem; font-weight: 300; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { color: var(--gray); font-size: 0.88rem; }

/* ===== Floating WhatsApp ===== */
.float-whatsapp {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 64px; height: 64px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 20px rgba(37,211,102,0.4);
  transition: all 0.3s; animation: floatPulse 2s ease infinite;
}
.float-whatsapp:hover { transform: scale(1.1); background: #128C7E; }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 5px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 5px 30px rgba(37,211,102,0.7); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  .navbar { padding: 1.1rem 1.5rem; }
  .navbar.scrolled { padding: 0.9rem 1.5rem; }
  .nav-logo .logo-mark { font-size: 1.5rem; }
  .nav-logo .logo-tld { font-size: 0.75rem; margin-top: 4px; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--dark); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.4rem; }
  .mobile-lang-switcher { display: flex; gap: 0.5rem; margin-top: 1rem; }
  .mobile-lang-switcher .lang-btn { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-whatsapp span { display: none; }
  .nav-whatsapp { padding: 0.55rem 0.85rem; }
  .lang-switcher { gap: 0.15rem; }
  .lang-btn { padding: 0.3rem 0.5rem; font-size: 0.7rem; }
  .nav-right { gap: 0.45rem; }
  .category-section { padding: 5rem 1.5rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .product-img-wrap { height: 200px; }
  .product-info { padding: 1rem; }
  .product-info h3 { font-size: 1rem; line-height: 1.2; margin: 0.35rem 0; min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-price { font-size: 0.78rem; margin-bottom: 0.45rem; }
  .product-cta { font-size: 0.7rem; }
  .product-brand { font-size: 0.75rem; }
  .about-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 320px; justify-content: center; }
  .hero-cat-list { gap: 0.6rem; }
  .hero-cat-chip { padding: 0.5rem 1.3rem; font-size: 0.8rem; }
  .hero-cat-prompt { font-size: 0.75rem; margin-bottom: 0.9rem; }
  .hero-cat-nav { margin-top: 2rem; }
  .hero-search { margin-top: 2rem; }
  .search-box { padding: 0.4rem 0.4rem 0.4rem 1rem; }
  .search-btn { padding: 0.65rem 1.3rem; font-size: 0.85rem; }
  .search-icon { width: 18px; height: 18px; margin-right: 0.45rem; }
  .contact-section { padding: 5rem 1.5rem; }
  .footer { padding: 3rem 1.5rem 1.5rem; }
  .float-whatsapp { bottom: 22px; right: 22px; width: 54px; height: 54px; }
}

/* ===== RTL Support for Arabic ===== */
html[dir="rtl"] body { font-family: 'Noto Naskh Arabic', 'Jost', sans-serif; }
html[dir="rtl"] .nav-logo { letter-spacing: 0; }
html[dir="rtl"] .nav-links a { letter-spacing: 0; }
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
html[dir="rtl"] .product-card:hover .product-cta { transform: translateX(-5px); }
html[dir="rtl"] .float-whatsapp { right: auto; left: 32px; }
@media (max-width: 768px) {
  html[dir="rtl"] .float-whatsapp { right: auto; left: 22px; }
}

/* ===== Collection (Brand + Gender Browse) ===== */
.collection-section { padding: 8rem 3.5rem; max-width: 1440px; margin: 0 auto; }
.cat-tabs { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.cat-tab {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  background: var(--dark-2); border: 1px solid rgba(201,169,97,0.15);
  border-radius: 8px; padding: 1.2rem 1.8rem; cursor: pointer;
  transition: all 0.4s var(--transition); min-width: 120px;
}
.cat-tab img { width: 56px; height: 56px; object-fit: contain; }
.cat-tab span { font-size: 0.95rem; letter-spacing: 0.1em; color: var(--gray-light); font-weight: 300; }
.cat-tab:hover { border-color: rgba(201,169,97,0.4); transform: translateY(-3px); }
.cat-tab.active { border-color: var(--gold); background: rgba(201,169,97,0.08); }
.cat-tab.active span { color: var(--gold); }

.filter-row { display: flex; align-items: flex-start; gap: 1.2rem; max-width: 1140px; margin: 0 auto 1.8rem; flex-wrap: wrap; }
.filter-label { font-size: 0.85rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); padding-top: 0.6rem; flex-shrink: 0; }
.brand-chips { display: flex; gap: 0.7rem; flex-wrap: wrap; flex: 1; }
.brand-chip {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(201,169,97,0.18);
  color: var(--gray-light); padding: 0.5rem 1.2rem; border-radius: 50px;
  font-size: 0.85rem; cursor: pointer; transition: all 0.3s; font-family: 'Jost', sans-serif;
}
.brand-chip:hover { border-color: var(--gold); color: var(--gold); }
.brand-chip.active { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 500; }

.gender-toggle { display: flex; gap: 0.6rem; justify-content: center; margin: 0 auto 2.8rem; max-width: 1140px; }
.gender-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(201,169,97,0.18);
  color: var(--gray-light); padding: 0.55rem 1.8rem; border-radius: 50px;
  font-size: 0.88rem; cursor: pointer; transition: all 0.3s; font-family: 'Jost', sans-serif; letter-spacing: 0.06em;
}
.gender-btn:hover { border-color: var(--gold); color: var(--gold); }
.gender-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 500; }

.product-brand { display: inline-block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.2rem; }
/* 品牌 Logo 统一样式（chips / 商品卡 / 详情弹窗共用） */
.brand-logo {
  display: inline-block;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  flex-shrink: 0;
}
.brand-chip { display: inline-flex; align-items: center; }
.brand-chip .brand-logo { margin-right: 6px; }
.detail-cat { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.detail-cat .brand-logo { margin-right: 2px; }
.collection-empty { text-align: center; color: var(--gray); font-size: 1.1rem; padding: 4rem 0; font-weight: 300; }

@media (max-width: 768px) {
  .collection-section { padding: 5rem 1.5rem; }
  .cat-tab { min-width: 88px; padding: 0.9rem 1.1rem; }
  .cat-tab img { width: 44px; height: 44px; }
  .filter-row { flex-direction: column; gap: 0.6rem; }
  .gender-toggle .gender-btn { padding: 0.55rem 1.3rem; font-size: 0.82rem; }
}

/* ===== 视图模式 + 品牌分组 + 品牌中心（2026-08-15 改版） ===== */
/* 手机端默认双列；紧凑三列；横滑分行 */
@media (max-width: 768px) {
  .product-grid.view-grid3 { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
  .product-grid.view-grid3 .product-img-wrap { height: 140px; }
  .product-grid.view-grid3 .product-info { padding: 0.7rem; }
  .product-grid.view-grid3 .product-info h3 { font-size: 0.78rem; -webkit-line-clamp: 2; min-height: 2.2em; }
  .product-grid.view-grid3 .product-price { font-size: 0.7rem; margin-bottom: 0.2rem; }
  .product-grid.view-grid3 .product-cta { font-size: 0.65rem; }
  .product-grid.view-rows { grid-auto-columns: 46%; gap: 0.7rem; }
  .product-grid.view-rows .product-img-wrap { height: 180px; }
  .product-grid.view-rows .product-info { padding: 0.9rem; }
  .product-grid.view-rows .product-info h3 { font-size: 0.85rem; }
}

.product-grid.view-rows {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 46%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.product-grid.view-rows .product-card { scroll-snap-align: start; max-width: none; }
.product-grid.view-rows .product-img-wrap { height: 230px; }
.product-grid.view-rows .product-info { padding: 1.2rem; }

/* 集合区工具条 */
.collection-toolbar { display: flex; align-items: center; gap: 0.8rem; max-width: 1140px; margin: 0 auto 1.6rem; flex-wrap: wrap; }
.view-toggle { display: inline-flex; gap: 0.3rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,169,97,0.18); border-radius: 50px; padding: 0.25rem; }
.view-btn { width: 38px; height: 34px; border: none; background: transparent; color: var(--gray-light); border-radius: 40px; cursor: pointer; font-size: 1.1rem; line-height: 1; transition: all .25s; display: inline-flex; align-items: center; justify-content: center; }
.view-btn:hover { color: var(--gold); }
.view-btn.active { background: var(--gold); color: var(--dark); }

/* 品牌折叠：「更多品牌」 */
.brand-more-btn { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,169,97,0.18); color: var(--gray-light); padding: 0.5rem 1.1rem; border-radius: 50px; font-size: 0.85rem; cursor: pointer; font-family: 'Jost', sans-serif; transition: all .25s; }
.brand-more-btn:hover { border-color: var(--gold); color: var(--gold); }
.brand-more { display: flex; gap: 0.7rem; flex-wrap: wrap; width: 100%; margin-top: 0.7rem; }

/* 品牌中心：跨品类子筛选 */
.hub-cats { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-left: auto; }
.hub-brand { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.08em; }
.hub-cat { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,169,97,0.18); color: var(--gray-light); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.82rem; cursor: pointer; font-family: 'Jost', sans-serif; transition: all .25s; }
.hub-cat:hover { border-color: var(--gold); color: var(--gold); }
.hub-cat.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.hub-cat-n { opacity: 0.7; font-size: 0.78rem; margin-left: 2px; }

@media (max-width: 768px) {
  .hub-cats { margin-left: 0; width: 100%; }
  .view-toggle { margin: 0 auto 0 0; }
}
