* { margin:0; padding:0; box-sizing:border-box; }

:root {
  --white: #ffffff;
  --cream: #f5f3ee;
  --light-cream: #faf9f6;
  --olive: #2c3328;
  --olive-mid: #4a5c3a;
  --olive-light: #6b7c5a;
  --black: #1a1a1a;
  --gray: #888888;
  --light-gray: #e8e8e8;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;
}

body {
  background-color: #2c3328;
  background-image: none;
  font-family: var(--font-sans);
  color: var(--black);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ANNOUNCEMENT BAR */
.announcement-bar {
  background: var(--olive);
  color: var(--white);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  z-index: 1001;
}

.ticker-wrap { overflow: hidden; }

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

.ticker span {
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 300;
  display: inline;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* NAVBAR */
.navbar {
  background-color: rgba(30, 35, 26, 0.97);
  background-image: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 0.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: white;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo a img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.nav-logo a span {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: white;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon {
  position: relative;
  font-size: 16px;
  color: white;
  transition: color 0.3s;
}

.nav-icon:hover { color: rgba(255,255,255,0.7); }

.badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--olive-mid);
  color: white;
  font-size: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: white;
  border: 1px solid white;
  padding: 7px 16px;
  transition: all 0.3s;
  background: transparent;
}

.btn-login:hover {
  background: white;
  color: var(--black);
}

#langSwitcher button {
  color: white !important;
  background: transparent !important;
  border: none !important;
}

#langSwitcher button i,
#langSwitcher button span { color: white !important; }

/* SEARCH BAR */
.search-bar {
  display: none;
  background: rgba(44,51,40,0.95);
  padding: 15px 40px;
  border-top: 0.5px solid rgba(255,255,255,0.2);
}

.search-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-inner input {
  flex: 1;
  border: none;
  border-bottom: 1px solid white;
  background: transparent;
  padding: 8px 0;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  color: white;
}

.search-inner input::placeholder { color: rgba(255,255,255,0.5); }
.search-inner button { background: none; border: none; cursor: pointer; font-size: 16px; color: white; padding: 5px; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: white;
  transition: all 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  background: rgba(44,51,40,0.97);
  border-top: 0.5px solid rgba(255,255,255,0.2);
}

.mobile-menu ul { padding: 20px 40px; display: flex; flex-direction: column; gap: 15px; }
.mobile-menu a { font-size: 13px; letter-spacing: 0.1em; color: white; }

/* HERO */
.hero {
  position: relative;
  height: calc(100vh - 110px);
  overflow: hidden;
}

.hero-slides { width: 100%; height: 100%; position: relative; }

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active { opacity: 1; pointer-events: all; z-index: 2; }

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 80px;
  color: white;
  z-index: 3;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 300;
  margin-bottom: 30px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--black);
  padding: 14px 30px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-hero:hover { background: var(--black); color: white; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.25);
  border: none;
  color: white;
  font-size: 40px;
  width: 50px; height: 50px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover { background: rgba(255,255,255,0.5); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active { background: white; }

/* CATEGORIES */
.categories-section {
  padding: 80px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.cat-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  height: 420px;
  cursor: pointer;
}

.cat-card img { will-change: transform; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover img { transform: scale(1.02); }

.cat-card-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: white;
}

.cat-card-content h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cat-card-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
}

/* PRODUCTS */
.products-section {
  padding: 40px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
  background: transparent;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  clear: both;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 300;
  font-style: italic;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.view-all-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid white;
  padding-bottom: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card { cursor: pointer; contain: layout style; }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--cream);
  margin-bottom: 15px;
}

.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease, opacity 0.25s ease;
}

.product-card .product-img-wrap img { will-change: transform; }
.product-card:hover .product-img-wrap img { transform: scale(1.03); }

.discount-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--olive-mid);
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0; right: 0;
  display: flex;
  gap: 8px;
  padding: 10px;
  transition: bottom 0.3s ease;
}

.product-card:hover .product-actions { bottom: 0; }

.btn-add-cart {
  flex: 1;
  background: var(--black);
  color: white;
  border: none;
  padding: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.3s;
}

.btn-add-cart:hover { background: var(--olive); }

.btn-wishlist {
  background: white;
  border: 1px solid var(--light-gray);
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-wishlist:hover { background: var(--black); color: white; border-color: var(--black); }

.product-brand { font-size: 10px; letter-spacing: 0.15em; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
.product-name { font-size: 15px; font-weight: 400; color: white; margin-bottom: 8px; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.price-current { font-size: 14px; font-weight: 500; color: white; }
.price-original { font-size: 12px; color: rgba(255,255,255,0.6); text-decoration: line-through; }
.product-price { display: flex; align-items: center; gap: 10px; }

/* BANNER */
.banner-section {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin: 20px 0;
}

.banner-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.banner-content h2 {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 15px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.banner-content p { font-size: 14px; letter-spacing: 0.06em; margin-bottom: 25px; }

/* FOOTER */
.footer {
  background: var(--olive);
  color: white;
  padding: 70px 40px 0;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 0.5px solid rgba(255,255,255,0.15);
}

.footer-logo { font-family: var(--font-serif); font-size: 28px; font-weight: 400; font-style: italic; margin-bottom: 8px; color: white; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.7); margin-bottom: 15px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.7); transition: all 0.3s; }
.social-links a:hover { background: white; color: var(--olive); border-color: white; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.15em; font-weight: 500; margin-bottom: 25px; color: white; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color 0.3s; }
.footer-col ul a:hover { color: white; }
.footer-newsletter p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 20px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.4); padding: 10px 0; color: white; font-size: 13px; font-family: var(--font-sans); outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { background: var(--olive-mid); color: white; border: none; padding: 12px; font-size: 12px; letter-spacing: 0.1em; cursor: pointer; font-family: var(--font-sans); transition: background 0.3s; }
.newsletter-form button:hover { background: var(--olive-light); }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }

/* PAGE HERO */
.page-hero { background: transparent; padding: 60px 40px; text-align: center; }
.page-hero h1 { font-family: var(--font-serif); font-size: 52px; font-weight: 300; font-style: italic; margin-bottom: 10px; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.page-hero p { font-size: 14px; color: rgba(255,255,255,0.85); letter-spacing: 0.06em; }

/* SHOP LAYOUT */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; max-width: 1400px; margin: 0 auto; padding: 50px 40px; }
.filter-sidebar h3 { font-size: 11px; letter-spacing: 0.15em; font-weight: 500; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 0.5px solid rgba(255,255,255,0.3); color: white; }
.filter-group { margin-bottom: 30px; }
.filter-group h4 { font-size: 11px; letter-spacing: 0.1em; margin-bottom: 15px; color: rgba(255,255,255,0.7); }
.filter-group label { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 10px; cursor: pointer; color: white; }

/* AUTH */
.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.auth-box { background: rgba(255,255,255,0.97); padding: 50px; width: 100%; max-width: 440px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.auth-box h2 { font-family: var(--font-serif); font-size: 36px; font-weight: 300; font-style: italic; text-align: center; margin-bottom: 35px; color: var(--black); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; letter-spacing: 0.1em; margin-bottom: 8px; color: var(--gray); }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: none; border-bottom: 1px solid var(--light-gray); padding: 10px 0; font-size: 14px; font-family: var(--font-sans); outline: none; background: transparent; color: var(--black); transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--black); }
.btn-submit { width: 100%; background: var(--black); color: white; border: none; padding: 15px; font-size: 12px; letter-spacing: 0.15em; cursor: pointer; font-family: var(--font-sans); margin-top: 10px; transition: background 0.3s; }
.btn-submit:hover { background: var(--olive); }
.auth-switch { text-align: center; margin-top: 20px; font-size: 13px; color: var(--gray); }
.auth-switch a { color: var(--black); text-decoration: underline; }
.alert { padding: 12px 15px; margin-bottom: 20px; font-size: 13px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border-left: 3px solid #2e7d32; }
.alert-error { background: #fce4ec; color: #c62828; border-left: 3px solid #c62828; }

/* BREADCRUMB */
.breadcrumb { padding: 15px 40px; max-width: 1400px; margin: 0 auto; font-size: 12px; color: rgba(255,255,255,0.8); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }

/* TOAST */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--black); color: white; padding: 14px 24px; font-size: 13px; z-index: 9999; opacity: 0; transition: all 0.4s; display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--font-sans); }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* CART */
.cart-layout { max-width: 1200px; margin: 0 auto; padding: 40px; display: grid; grid-template-columns: 1fr 360px; gap: 60px; background: rgba(255,255,255,0.92); }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; padding: 25px 0; border-bottom: 0.5px solid var(--light-gray); align-items: center; }
.cart-item img { width: 100px; height: 130px; object-fit: cover; }
.order-summary { background: var(--cream); padding: 30px; height: fit-content; }
.order-summary h3 { font-size: 13px; letter-spacing: 0.12em; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 0.5px solid var(--light-gray); }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 12px; }
.summary-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; padding-top: 15px; margin-top: 15px; border-top: 0.5px solid var(--light-gray); }
.btn-checkout { display: block; width: 100%; background: var(--black); color: white; border: none; padding: 16px; font-size: 12px; letter-spacing: 0.15em; cursor: pointer; font-family: var(--font-sans); margin-top: 20px; text-align: center; }
.btn-checkout:hover { background: var(--olive); }

/* PRODUCT DETAIL */
.product-detail { max-width: 1400px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; background: rgba(255,255,255,0.92); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 100px 20px; }
.empty-state i { font-size: 48px; color: rgba(255,255,255,0.3); margin-bottom: 20px; display: block; }
.empty-state h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 300; font-style: italic; margin-bottom: 10px; color: white; }
.empty-state p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 25px; }

/* TEXT WHITE ON ALL SECTIONS */
.filter-sidebar *, .filter-sidebar h3, .filter-sidebar h4, .filter-sidebar label, .filter-sidebar a { color: white !important; }
.shop-layout > div > p { color: white !important; }
.sort-options a, .sort-by a { color: rgba(255,255,255,0.8) !important; }
.sort-options a:hover, .sort-by a:hover { color: white !important; }
section.page-hero, div.page-hero, .page-hero { background: transparent !important; }
.page-hero * { color: white !important; }

/* PERFORMANCE */
.hero-slider, .ticker, #promoSlider, [id^="cs_"] { will-change: transform; transform: translateZ(0); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-login { display: none; }
  .nav-container { padding: 0 20px; }
  .hero { height: 60vh; min-height: 320px; }
  .hero-content { left: 25px; bottom: 40px; }
  .hero-content h1 { font-size: 36px; }
  .cat-grid, .cat-grid-3 { grid-template-columns: 1fr; }
  .cat-card { height: 300px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-section, .categories-section { padding: 40px 20px; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding: 50px 20px 0; }
  .product-detail { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px; }
  .cart-layout { grid-template-columns: 1fr; padding: 20px; }
  .shop-layout { grid-template-columns: 1fr; padding: 30px 20px; }
  .auth-box { padding: 30px 25px; }
  .banner-content h2 { font-size: 32px; }
  .section-header h2 { font-size: 30px; }
  body { background-attachment: scroll !important; }
  .cat-card img, .product-card .product-img-wrap img { transition: none !important; transform: none !important; }
  .product-actions, .btn-add-cart, .btn-wishlist { transition: none !important; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-content h1 { font-size: 28px; }
}