:root {
  --cream: #FDF6EC;
  --cream-2: #FAEEDD;
  --orange: #F5A05A;
  --orange-dark: #E07B2E;
  --brown: #6B4A2F;
  --text: #3E3228;
  --muted: #8A7A6A;
  --blue: #A8D4E8;
  --card: #FFFFFF;
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* header */
header.site { background: var(--cream); border-bottom: 1px solid #F0E2CE; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 3px; color: var(--orange-dark); font-size: 19px; }
.brand-sub { font-family: "Playfair Display", Georgia, serif; font-weight: 600; letter-spacing: 4px; color: var(--orange); font-size: 10px; text-transform: uppercase; }
.nav { display: flex; gap: 24px; font-weight: 500; }
.nav a:hover { color: var(--orange-dark); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 10px;
  border: 1px solid #E8D5BC; border-radius: 10px; background: #fff; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--brown); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid #E8D5BC; border-radius: 8px; overflow: hidden; }
.lang-switch button { border: 0; background: transparent; padding: 6px 10px; cursor: pointer; font-weight: 600; color: var(--muted); }
.lang-switch button.active { background: var(--orange); color: #fff; }

.btn {
  display: inline-block; background: var(--orange); color: #fff; border: 0;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; cursor: pointer;
  transition: background .2s; font-size: 15px;
}
.btn:hover { background: var(--orange-dark); }
.btn.ghost { background: transparent; border: 1.5px solid var(--orange); color: var(--orange-dark); }
.btn.ghost:hover { background: var(--cream-2); }
.btn.sm { padding: 8px 18px; font-size: 13px; }
.link { color: var(--orange-dark); font-weight: 600; }

/* hero */
.hero { padding: 70px 0 60px; background:
  radial-gradient(circle at 90% 10%, rgba(168,212,232,.35), transparent 40%),
  radial-gradient(circle at 5% 90%, rgba(245,160,90,.18), transparent 45%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-tag { color: var(--orange-dark); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 14px 0; color: var(--brown); }
.hero p.sub { color: var(--muted); font-size: 17px; margin-bottom: 26px; max-width: 480px; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(107,74,47,.15); }
.hero-actions { display: flex; gap: 12px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 30px 0 10px; }
.stat { background: var(--card); border-radius: var(--radius); text-align: center; padding: 22px 10px; box-shadow: 0 6px 20px rgba(107,74,47,.06); }
.stat b { display: block; font-size: 28px; color: var(--orange-dark); }
.stat span { color: var(--muted); font-size: 13px; }

/* sections */
section.block { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: 32px; color: var(--brown); }
.section-head p { color: var(--muted); margin-top: 6px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(107,74,47,.08); display: flex; flex-direction: column; transition: transform .2s; }
.product-card:hover { transform: translateY(-4px); }
.product-card[hidden] { display: none; }
.pc-img { aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-code { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.pc-body h3 { font-size: 16px; color: var(--brown); line-height: 1.3; }
.pc-body p { font-size: 13px; color: var(--muted); flex: 1; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { background: var(--card); border-radius: var(--radius); padding: 26px 20px; box-shadow: 0 8px 24px rgba(107,74,47,.07); }
.why .ico { font-size: 28px; }
.why h3 { font-size: 16px; color: var(--brown); margin: 10px 0 6px; }
.why p { font-size: 13px; color: var(--muted); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.about-grid p { margin-bottom: 16px; }
.fact-card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: 0 8px 24px rgba(107,74,47,.08); }
.fact-card h3 { color: var(--brown); margin-bottom: 14px; }
.fact-card li { list-style: none; margin-bottom: 10px; font-size: 14px; color: var(--text); }
.fact-card li::before { content: "• "; color: var(--orange-dark); font-weight: 700; }

/* filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.filter-btn { border: 1.5px solid #E8D5BC; background: #fff; border-radius: 999px; padding: 8px 20px; cursor: pointer; font-weight: 600; color: var(--muted); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* forms */
.panel { background: var(--card); border-radius: var(--radius); padding: 34px; box-shadow: 0 10px 30px rgba(107,74,47,.08); max-width: 480px; margin: 0 auto; }
.panel h2 { color: var(--brown); margin-bottom: 4px; }
.panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.tab-btn { flex: 1; border: 1.5px solid #E8D5BC; background: #fff; padding: 10px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--muted); }
.tab-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }
form label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; color: var(--brown); }
form input, form textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid #E8D5BC; border-radius: 10px;
  font: inherit; background: var(--cream); color: var(--text);
}
form input:focus, form textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
form button[type=submit] { width: 100%; margin-top: 18px; }
#auth-msg, #form-ok { color: var(--orange-dark); font-weight: 600; font-size: 14px; margin-top: 12px; text-align: center; }
#form-err { color: #C0392B; font-weight: 600; font-size: 14px; margin-top: 12px; text-align: center; }
.form-privacy { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; line-height: 1.5; }
.form-privacy a { color: var(--orange-dark); font-weight: 600; text-decoration: underline; }
.welcome-box { text-align: center; }
.welcome-box h2 { color: var(--brown); }
.welcome-box p { color: var(--muted); margin: 8px 0 20px; }

/* cart button + badge */
.cart-btn { position: relative; background: transparent; border: 0; font-size: 20px; cursor: pointer; padding: 6px; }
.cart-ico { display: block; }
.cart-badge {
  position: absolute; top: -2px; right: -4px; background: var(--orange-dark); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
.cart-add { width: 100%; }
.cart-add.added { background: #5AA469; }
.pc-actions { margin-top: 6px; }

/* cart drawer */
.cart-drawer {
  position: fixed; top: 0; right: -380px; width: 360px; max-width: 90vw; height: 100vh;
  background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.15); z-index: 200;
  transition: right .3s ease; display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 150; display: none; }
.cart-overlay.show { display: block; }
.cart-head { padding: 18px 20px; font-weight: 700; font-size: 18px; color: var(--brown); border-bottom: 1px solid #F0E2CE; }
.cart-body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 30px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F5E9D6; }
.ci-img { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--cream-2); flex-shrink: 0; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { flex: 1; }
.ci-name { font-size: 13px; color: var(--text); font-weight: 600; line-height: 1.3; }
.ci-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty-btn { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #E8D5BC; background: #fff; cursor: pointer; font-weight: 700; color: var(--brown); }
.ci-qty span { min-width: 16px; text-align: center; font-weight: 700; }
.ci-remove { background: transparent; border: 0; color: #C96; cursor: pointer; font-size: 15px; }
.cart-foot { padding: 14px 20px; border-top: 1px solid #F0E2CE; display: flex; gap: 10px; }
.cart-foot .btn { flex: 1; }

/* footer */
footer.site { background: var(--cream-2); margin-top: 60px; padding: 44px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 30px; font-size: 14px; color: var(--muted); }
.footer-grid a:hover { color: var(--orange-dark); text-decoration: underline; }
.footer-grid strong { color: var(--brown); }
.footer-grid .brand-name { color: var(--orange-dark); font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 3px; margin-bottom: 8px; }
.footer-note { text-align: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid #EAD9C0; font-size: 13px; color: var(--muted); }

.page-hero { padding: 46px 0 10px; }
.page-hero h1 { font-size: 34px; color: var(--brown); }
.page-hero p { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; padding: 8px 0;
    border-bottom: 1px solid #F0E2CE;
    box-shadow: 0 14px 28px rgba(107, 74, 47, .12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; font-weight: 600; }
  .nav a:hover { background: var(--cream); }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}

/* Customization workflow (home) */
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow { background: var(--card); border-radius: var(--radius); padding: 22px 18px; box-shadow: 0 6px 20px rgba(107,74,47,.07); border-top: 3px solid var(--orange); }
.flow-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.flow h3 { font-size: 15px; color: var(--brown); margin: 0 0 6px; }
.flow p { font-size: 13px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .flow-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid #f0e6d8; border-radius: 12px; padding: 20px 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.faq-item h2 { font-size: 17px; margin: 0 0 8px; color: var(--orange-dark); }
.faq-item p { margin: 0; color: #555; line-height: 1.6; }

/* WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 9999; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wa-btn {
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover .wa-btn { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }
.wa-bubble {
  background: #fff; color: #333; padding: 10px 14px; border-radius: 14px;
  font-size: 13px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  opacity: 0; transform: translateX(8px); transition: opacity .3s ease, transform .3s ease;
  white-space: nowrap; pointer-events: none;
}
.wa-bubble.show { opacity: 1; transform: translateX(0); }
.wa-link { display: inline-block; margin-top: 8px; color: #25D366; font-weight: 600; text-decoration: none; }
.wa-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .wa-bubble { display: none; }
  .wa-btn { width: 52px; height: 52px; }
}

/* WhatsApp contact CTA */
.wa-cta { margin-top: 24px; text-align: center; padding: 20px; background: #f0faf4; border: 1px solid #d4f0de; border-radius: 12px; }
.wa-cta p { margin: 0 0 12px; color: #333; font-weight: 600; }
.wa-btn-link { background: #25D366; color: #fff; border: none; text-decoration: none; }
.wa-btn-link:hover { background: #1fb958; color: #fff; }

/* Two factories */
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.factory-card { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: 0 8px 24px rgba(107,74,47,.08); border-top: 4px solid var(--orange); }
.factory-ico { font-size: 38px; margin-bottom: 10px; }
.factory-card h3 { color: var(--orange-dark); font-size: 20px; margin-bottom: 6px; }
.factory-role { color: var(--brown); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.factory-addr { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 640px) { .factory-grid { grid-template-columns: 1fr; } }

/* Source / factory-direct strip */
.src-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.src { background: var(--card); border-radius: var(--radius); padding: 24px 20px; box-shadow: 0 6px 20px rgba(107,74,47,.07); border-top: 3px solid var(--orange); text-align: left; }
.src .ico { font-size: 30px; margin-bottom: 8px; }
.src h3 { font-size: 16px; color: var(--orange-dark); margin: 0 0 8px; }
.src p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .src-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .src-grid { grid-template-columns: 1fr; } }

/* Three factories */
.factory-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .factory-grid.three { grid-template-columns: 1fr; } }
/* Factory gallery */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal { margin: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(107,74,47,.08); }
.gal img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gal figcaption { padding: 14px 16px; }
.gal b { display: block; color: var(--orange-dark); font-size: 15px; margin-bottom: 4px; }
.gal span { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 900px) { .gal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gal-grid { grid-template-columns: 1fr; } }

