/* PerfumersWorld localized mini-sites — shared base (isolated from English CSS) */
:root {
  --pw-ink: #1a1a1a;
  --pw-muted: #5c5c5c;
  --pw-paper: #f7f5f2;
  --pw-white: #ffffff;
  --pw-teal: #4A90A4;
  --pw-teal-dark: #3a7586;
  --pw-gold: #C99E00;
  --pw-line: rgba(0,0,0,0.08);
  --pw-shadow: 0 12px 40px rgba(0,0,0,0.08);
  --pw-radius: 14px;
  --pw-nav-h: 64px;
  --pw-font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --pw-font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pw-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(74,144,164,0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(201,158,0,0.08), transparent 55%),
    linear-gradient(180deg, #fbfaf8 0%, var(--pw-paper) 40%, #f3f0eb 100%);
  font-family: var(--pw-font-body);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pw-teal-dark); text-decoration: none; }
a:hover { color: var(--pw-teal); }

.pw-wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.pw-nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--pw-line);
}
.pw-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--pw-nav-h);
}
.pw-brand {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--pw-ink); font-family: var(--pw-font-display);
  font-style: italic; font-size: 1.25rem; letter-spacing: 0.02em;
}
.pw-brand img { width: 36px; height: 36px; object-fit: contain; }
.pw-brand strong { font-weight: 600; }
.pw-nav-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.pw-nav-links a {
  color: var(--pw-muted); font-size: 0.92rem; font-weight: 500;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.pw-nav-links a:hover,
.pw-nav-links a.active { color: var(--pw-ink); border-bottom-color: var(--pw-teal); }
.pw-lang {
  display: flex; gap: 0.35rem; align-items: center;
}
.pw-lang a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--pw-line);
  font-size: 0.7rem; font-weight: 700; color: var(--pw-ink);
}
.pw-lang a.active, .pw-lang a:hover {
  background: var(--pw-teal); color: #fff; border-color: var(--pw-teal);
}
.pw-nav-toggle {
  display: none; border: 1px solid var(--pw-line); background: #fff;
  border-radius: 8px; padding: 0.45rem 0.7rem; cursor: pointer;
}
/* English-style fixed navbar spacing */
body.pw-locale-site .pw-locale-main,
body.pw-locale-landing .pw-locale-main {
  display: block;
  min-height: 50vh;
}
body.pw-locale-site .pw-locale-wrapper,
body.pw-locale-landing .pw-locale-wrapper {
  min-height: 100vh;
  overflow: visible;
  background: transparent;
}
body.pw-locale-landing {
  background: #fff !important;
}
body.pw-locale-site .pw-page-hero {
  padding-top: 0.5rem;
}
body.pw-locale-landing .hero-video-wrapper {
  margin-top: -50px;
}
body.pw-locale-site .main-header .navbar-nav > li > a,
body.pw-locale-landing .main-header .navbar-nav > li > a,
body.pw-locale-site .pw-locale-nav > li > a,
body.pw-locale-landing .pw-locale-nav > li > a {
  font-size: 13px;
  padding-left: 8px;
  padding-right: 8px;
}
body.pw-locale-site .main-header .navbar-form,
body.pw-locale-landing .main-header .navbar-form,
body.pw-locale-site .pw-locale-search,
body.pw-locale-landing .pw-locale-search {
  margin-left: 6px;
  margin-right: 6px;
}
body.pw-locale-site .pw-locale-search .form-control,
body.pw-locale-landing .pw-locale-search .form-control {
  min-width: 140px;
}
body.pw-locale-site .pw-footer,
body.pw-locale-landing .pw-footer {
  margin-top: auto;
}
.pw-nav-global-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin-top: 10px !important;
  margin-right: 12px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: var(--pw-teal) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 13px !important;
}
.pw-nav-global-btn:hover,
.pw-nav-global-btn:focus {
  background: var(--pw-teal-dark) !important;
  color: #fff !important;
}
.pw-nav-global-link {
  font-weight: 600;
  color: var(--pw-teal-dark) !important;
}
.pw-global-bar {
  background: rgba(74, 144, 164, 0.08);
  border-bottom: 1px solid var(--pw-line);
  padding: 0.75rem 0;
  margin-top: 50px;
}
body.pw-locale-landing .pw-global-bar {
  display: none;
}
.pw-global-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.pw-global-bar-note {
  margin: 0;
  color: var(--pw-muted);
  font-size: 0.95rem;
  flex: 1 1 220px;
}
.pw-global-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.pw-hero {
  position: relative; min-height: min(88vh, 760px);
  display: grid; align-items: end; overflow: hidden;
  background: #111;
}
.pw-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.pw-hero-media video,
.pw-hero-media img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.85;
}
.pw-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.72) 100%);
}
.pw-hero-content {
  position: relative; z-index: 2; color: #fff;
  padding: 4.5rem 0 3.5rem;
}
.pw-kicker {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.9; margin-bottom: 0.75rem;
}
.pw-hero h1 {
  margin: 0 0 0.75rem; font-family: var(--pw-font-display);
  font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.pw-hero .lead {
  max-width: 36rem; margin: 0 0 1.5rem; font-size: 1.1rem; opacity: 0.95;
}
.pw-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.pw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.85rem 1.35rem; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.pw-btn:hover { transform: translateY(-2px); }
.pw-btn-primary { background: var(--pw-teal); color: #fff; }
.pw-btn-primary:hover { background: var(--pw-teal-dark); color: #fff; }
.pw-btn-ghost {
  background: rgba(255,255,255,0.12); color: #fff;
  border-color: rgba(255,255,255,0.35); backdrop-filter: blur(10px);
}
.pw-btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.pw-btn-outline {
  background: #fff; color: var(--pw-ink); border-color: var(--pw-line);
}
.pw-btn-outline:hover { border-color: var(--pw-teal); color: var(--pw-teal-dark); }

.pw-section { padding: 4rem 0; }
.pw-section-tight { padding: 2.5rem 0; }
.pw-section h2 {
  margin: 0 0 0.5rem; font-family: var(--pw-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500;
}
.pw-section .sub {
  margin: 0 0 1.75rem; color: var(--pw-muted); max-width: 40rem;
}
.pw-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.pw-grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.pw-card {
  background: rgba(255,255,255,0.82); border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius); padding: 1.35rem 1.4rem;
  box-shadow: var(--pw-shadow);
}
.pw-card h3 {
  margin: 0 0 0.45rem; font-family: var(--pw-font-display);
  font-size: 1.25rem; font-weight: 500;
}
.pw-card p { margin: 0; color: var(--pw-muted); }
.pw-pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pw-pill {
  display: inline-block; padding: 0.35rem 0.75rem; border-radius: 999px;
  background: rgba(74,144,164,0.1); color: var(--pw-teal-dark);
  font-size: 0.85rem; font-weight: 600;
}

.pw-page-hero {
  padding: 3.5rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(74,144,164,0.08), transparent);
}
.pw-page-hero h1 {
  margin: 0 0 0.5rem; font-family: var(--pw-font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500;
}
.pw-page-hero p { margin: 0; color: var(--pw-muted); max-width: 40rem; }

/* Village Weekly */
.pw-videos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; }
.pw-video-card {
  position: relative; overflow: hidden; border-radius: var(--pw-radius);
  background: #111; color: #fff; min-height: 220px;
  border: 1px solid rgba(255,255,255,0.08);
}
.pw-video-card img,
.pw-video-card .thumb {
  width: 100%; height: 100%; object-fit: cover; min-height: 220px;
  display: block; opacity: 0.78;
}
.pw-video-body {
  position: absolute; inset: auto 0 0 0; padding: 1.1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.pw-video-body h3 { margin: 0 0 0.35rem; font-size: 1.1rem; font-family: var(--pw-font-display); font-weight: 500; }
.pw-video-body p { margin: 0 0 0.6rem; font-size: 0.9rem; opacity: 0.9; }
.pw-video-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.pw-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); color: #111; font-size: 1.4rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35); z-index: 2;
}
.pw-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.pw-video-stack { display: grid; gap: 1rem; }
.pw-video-card.compact { min-height: 160px; }
.pw-video-card.compact img { min-height: 160px; }
.pw-video-card video {
  width: 100%; height: 100%; object-fit: cover; min-height: 220px; display: block;
}
.pw-video-card.playing .pw-play,
.pw-video-card.playing .pw-video-body { display: none; }

/* Search */
.pw-search-panel {
  background: #fff; border: 1px solid var(--pw-line); border-radius: var(--pw-radius);
  padding: 1.25rem; box-shadow: var(--pw-shadow); margin-bottom: 1.5rem;
}
.pw-search-row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; margin-bottom: 0.9rem;
}
.pw-search-row input[type="search"],
.pw-filters select,
.pw-filters input {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: 10px;
  border: 1px solid var(--pw-line); font: inherit; background: #fff;
}
.pw-filters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem;
}
.pw-result-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin: 0.5rem 0 1rem; color: var(--pw-muted); font-size: 0.95rem;
}
.pw-results {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem;
}
.pw-product {
  background: #fff; border: 1px solid var(--pw-line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pw-product:hover { transform: translateY(-3px); box-shadow: var(--pw-shadow); }
.pw-product-img {
  aspect-ratio: 1; background: #f3f3f3; display: grid; place-items: center; overflow: hidden;
}
.pw-product-img img { width: 100%; height: 100%; object-fit: cover; }
.pw-product-body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.pw-product-name { font-weight: 600; font-size: 0.98rem; line-height: 1.35; color: var(--pw-ink); }
.pw-product-sku { font-size: 0.82rem; color: var(--pw-muted); }
.pw-product-price { font-weight: 700; color: var(--pw-teal-dark); margin-top: auto; }
.pw-stock { font-size: 0.8rem; color: #2f7d4a; font-weight: 600; }
.pw-empty {
  text-align: center; padding: 2.5rem 1rem; color: var(--pw-muted);
  background: rgba(255,255,255,0.7); border-radius: var(--pw-radius); border: 1px dashed var(--pw-line);
}

.pw-faq details {
  background: #fff; border: 1px solid var(--pw-line); border-radius: 12px;
  padding: 0.9rem 1.1rem; margin-bottom: 0.65rem;
}
.pw-faq summary { cursor: pointer; font-weight: 600; }
.pw-faq details p { margin: 0.65rem 0 0; color: var(--pw-muted); }

.pw-footer {
  margin-top: 3rem; padding: 2.5rem 0 2rem;
  background: #222; color: rgba(255,255,255,0.82);
}
.pw-footer a { color: #fff; }
.pw-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem;
}
.pw-footer h4 {
  margin: 0 0 0.75rem; font-family: var(--pw-font-display);
  font-style: italic; font-weight: 500; color: #fff;
}
.pw-footer ul { list-style: none; margin: 0; padding: 0; }
.pw-footer li { margin-bottom: 0.4rem; }
.pw-copy { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; opacity: 0.75; }

.pw-note {
  font-size: 0.88rem; color: var(--pw-muted);
  padding: 0.85rem 1rem; border-left: 3px solid var(--pw-teal);
  background: rgba(74,144,164,0.08); border-radius: 0 10px 10px 0;
}

@media (max-width: 900px) {
  .pw-grid-3, .pw-videos, .pw-footer-grid, .pw-filters, .pw-grid-2 {
    grid-template-columns: 1fr;
  }
  .pw-nav-toggle { display: inline-flex; }
  .pw-nav-links {
    display: none; width: 100%; flex-direction: column; align-items: flex-start;
    padding-bottom: 1rem;
  }
  .pw-nav-inner { flex-wrap: wrap; }
  .pw-nav-links.open { display: flex; }
  .pw-search-row { grid-template-columns: 1fr; }
}

/* Motion */
@keyframes pw-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.pw-rise { animation: pw-rise 0.7s ease both; }
.pw-rise-delay-1 { animation-delay: 0.12s; }
.pw-rise-delay-2 { animation-delay: 0.24s; }
