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

:root {
  --green-dark: #0f4c27;
  --green-mid:  #1a7a3c;
  --green-light:#2ecc71;
  --green-pale: #e8f5e9;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

/* ── NAV (shared with homepage) ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e4ede4;
  padding: 0 64px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 42px; }
.nav-logo-text { font-size: 22px; font-weight: 900; color: var(--green-mid); letter-spacing: 1px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: #444; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--green-mid); }
.nav-cta {
  background: var(--green-mid); color: #fff; padding: 10px 26px; border-radius: 24px;
  font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── BREADCRUMB ── */
.breadcrumb-bar { background: #f5fcf6; border-bottom: 1px solid #e4ede4; padding: 14px 64px; }
.breadcrumb { max-width: 1180px; margin: 0 auto; font-size: 13px; color: #777; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #4a4a4a; text-decoration: none; }
.breadcrumb a:hover { color: var(--green-mid); }
.breadcrumb span.sep { color: #bbb; }
.breadcrumb span.current { color: var(--green-mid); font-weight: 600; }

/* ── PRODUCT HERO ── */
.product-hero {
  max-width: 1180px; margin: 0 auto; padding: 56px 64px 40px;
  display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center;
}
.product-hero-img {
  background: var(--green-pale); border-radius: 24px; height: 380px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,76,39,0.1);
}
.product-hero-img img { height: 88%; width: auto; max-width: 88%; object-fit: contain; }
.product-hero-cat {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green-mid); background: var(--green-pale); padding: 6px 16px; border-radius: 14px; margin-bottom: 18px;
}
.product-hero h1 { font-size: 42px; font-weight: 900; color: #111; line-height: 1.12; margin-bottom: 14px; letter-spacing: -0.4px; }
.product-hero-tagline { font-size: 17px; color: #555; line-height: 1.65; margin-bottom: 22px; max-width: 520px; }
.product-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.product-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-white {
  background: var(--green-mid); color: #fff; padding: 14px 32px; border-radius: 30px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 4px 20px rgba(15,76,39,0.2);
}
.btn-white:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(15,76,39,0.28); }
.btn-outline {
  color: var(--green-mid); border: 2px solid #cfe6cf; padding: 12px 28px; border-radius: 30px; font-size: 15px;
  font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--green-mid); background: var(--green-pale); }

/* ── SECTION COMMONS ── */
section { padding: 64px 64px; }
section.alt { background: #f5fcf6; }
.section-wrap { max-width: 1180px; margin: 0 auto; }
.section-wrap h2 { font-size: 28px; font-weight: 900; color: #111; margin-bottom: 24px; letter-spacing: -0.3px; }
.section-wrap > p.lead { font-size: 15.5px; color: #555; line-height: 1.85; max-width: 760px; margin-bottom: 18px; }

/* ── SPEC TABLE ── */
.spec-table { width: 100%; border-collapse: collapse; max-width: 620px; margin-top: 8px; }
.spec-table tr { border-bottom: 1px solid #e6efe6; }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 13px 4px; font-size: 14.5px; }
.spec-table td:first-child { color: #777; width: 42%; }
.spec-table td:last-child { color: #111; font-weight: 700; }
.spec-tag {
  display: inline-block; background: var(--green-pale); color: var(--green-mid); font-size: 12px;
  font-weight: 600; padding: 5px 13px; border-radius: 12px;
}

/* ── USAGE GRID ── */
.usage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.usage-card {
  background: #fff; border: 1px solid #e0eee0; border-radius: 16px; padding: 24px 20px; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.usage-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,76,39,0.09); }
.usage-icon { font-size: 30px; margin-bottom: 12px; }
.usage-title { font-size: 14.5px; font-weight: 700; color: #111; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 2px; max-width: 760px; }
.faq-item { background: #fff; border: 1px solid #e0eee0; border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; }
.faq-q { font-size: 15.5px; font-weight: 700; color: #111; margin-bottom: 8px; display: flex; gap: 10px; }
.faq-q::before { content: "Q"; color: var(--green-mid); font-weight: 900; }
.faq-a { font-size: 14.5px; color: #555; line-height: 1.75; padding-left: 24px; }

/* ── RELATED PRODUCTS (reuse card system) ── */
.syrup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.syrup-card { background: #f7fbf7; border-radius: 14px; overflow: hidden; border: 1px solid #e0eee0; transition: transform .2s, box-shadow .2s; text-decoration: none; display: block; }
.syrup-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.syrup-img { height: 150px; display: flex; align-items: center; justify-content: center; background: #eef7ee; overflow: hidden; }
.syrup-img img { height: 140px; width: auto; max-width: 95%; object-fit: contain; }
.syrup-name { padding: 9px 10px; font-size: 12px; font-weight: 600; color: #222; text-align: center; border-top: 1px solid #e8f0e8; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.product-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #e0eee0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: transform .2s, box-shadow .2s; text-decoration: none; display: block; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,0.1); }
.product-card-img { height: 200px; display: flex; align-items: center; justify-content: center; background: #f4faf4; overflow: hidden; }
.product-card-img img { height: 185px; width: auto; max-width: 95%; object-fit: contain; }
.product-card-body { padding: 16px 18px 18px; }
.product-card-name { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 4px; }
.product-card-sub { font-size: 12px; color: #888; margin-bottom: 10px; }

/* ── CONTACT (shared) ── */
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-val { font-size: 15px; font-weight: 600; color: #111; }
h2.contact-info-title { font-size: 30px; font-weight: 900; color: #111; margin-bottom: 14px; line-height: 1.2; }
.contact-info-desc { font-size: 15px; color: #666; line-height: 1.7; margin-bottom: 36px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--green-mid); margin-bottom: 12px; }

/* ── FOOTER ── */
footer { background: var(--green-dark); padding: 44px 64px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 40px; width: 40px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; flex-shrink: 0; }
.footer-brand { font-size: 18px; font-weight: 900; color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-links {
  display: flex; gap: 28px; background: transparent; backdrop-filter: none;
  position: static; border: none; box-shadow: none; height: auto; padding: 0;
}
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ── FLOATING CONTACTS ── */
.float-contacts { position: fixed; right: 20px; bottom: 40px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: transform .2s, box-shadow .2s; position: relative; }
.float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.float-btn svg { width: 26px; height: 26px; fill: #fff; }
.float-btn.fb        { background: #1877f2; }
.float-btn.messenger { background: linear-gradient(135deg, #0084ff, #a334fa); }
.float-btn.viber     { background: #7360f2; }
.float-btn::before {
  content: attr(data-tip); position: absolute; right: 62px; background: rgba(30,30,30,0.85); color: #fff;
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 8px; white-space: nowrap; opacity: 0;
  pointer-events: none; transition: opacity .2s;
}
.float-btn:hover::before { opacity: 1; }

/* ── MOBILE BOTTOM BAR ── */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08); padding: 6px 0 env(safe-area-inset-bottom, 6px);
}
.mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; padding: 6px 0; }
.mobile-bar a svg { width: 26px; height: 26px; }
.mobile-bar a span { font-size: 10px; font-weight: 600; color: #555; }

/* ── THEME SWITCH BUTTON ── */
.theme-switch-btn {
  display: inline-flex; align-items: center; gap: 5px; background: var(--green-pale);
  border: 1.5px solid rgba(26,122,60,0.22); color: var(--green-mid); padding: 5px 13px; border-radius: 20px;
  font-size: 11px; font-weight: 700; cursor: pointer; font-family: inherit; letter-spacing: 0.5px;
  transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; flex-shrink: 0; line-height: 1;
}
.theme-switch-btn:hover { background: var(--green-mid); color: #fff; border-color: var(--green-mid); transform: translateY(-1px); }
.theme-switch-btn .t-icon { font-size: 12px; }
[data-theme="sea"] .theme-switch-btn { background: rgba(200,130,15,0.1); border-color: rgba(200,130,15,0.32); color: #9B5E2A; }
[data-theme="sea"] .theme-switch-btn:hover { background: #9B5E2A; color: #fff; border-color: #9B5E2A; }

/* ══════════════════ SEA THEME OVERRIDES ══════════════════ */
[data-theme="sea"] { --green-dark: #3E1F06; --green-mid: #9B5E2A; --green-light: #D4920A; --green-pale: #FDF0D5; }
[data-theme="sea"] body { background-color: #FEFAF0; }
[data-theme="sea"] nav { background: rgba(254,248,234,0.97); border-bottom-color: rgba(200,130,15,0.18); }
[data-theme="sea"] .footer-links { background: transparent; backdrop-filter: none; border: none; box-shadow: none; }
[data-theme="sea"] .nav-logo-text { color: #9B5E2A; }
[data-theme="sea"] .nav-links a { color: #5C3010; }
[data-theme="sea"] .nav-links a:hover { color: #D4920A; }
[data-theme="sea"] .nav-cta { background: linear-gradient(135deg, #C47B28, #E8A020); }
[data-theme="sea"] .nav-cta:hover { background: linear-gradient(135deg, #9B5E20, #C47B28); }
[data-theme="sea"] .breadcrumb-bar { background: #FDF6E8; border-bottom-color: rgba(200,130,15,0.18); }
[data-theme="sea"] .breadcrumb a { color: #7A4A18; }
[data-theme="sea"] .breadcrumb span.current { color: #9B5E2A; }
[data-theme="sea"] .product-hero-img { background: #FFF8E8; }
[data-theme="sea"] .product-hero h1 { font-family: Georgia,'Times New Roman',serif; }
[data-theme="sea"] section.alt { background: #FDF6E8; }
[data-theme="sea"] .section-wrap h2 { font-family: Georgia,'Times New Roman',serif; }
[data-theme="sea"] .spec-tag { background: rgba(200,130,15,0.1); color: #7A4A18; }
[data-theme="sea"] .usage-card, [data-theme="sea"] .faq-item { background: #FFFDF5; border-color: rgba(200,130,15,0.22); }
[data-theme="sea"] .syrup-card, [data-theme="sea"] .product-card { background: #FFFCF0; border-color: rgba(200,130,15,0.2); }
[data-theme="sea"] .syrup-img, [data-theme="sea"] .product-card-img { background: #FFF8E8; }
[data-theme="sea"] footer { background: #1E0D02; }
[data-theme="sea"] .footer-logo img { background: rgba(255,248,228,0.92); }
[data-theme="sea"] .mobile-bar { background: rgba(254,248,234,0.97); border-top-color: rgba(200,130,15,0.2); }
[data-theme="sea"] .mobile-bar a span { color: #7A4A18; }

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  section, .product-hero { padding-left: 24px; padding-right: 24px; }
  .breadcrumb-bar { padding: 12px 24px; }
  .product-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .product-hero-img { height: 300px; }
  .usage-grid { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 36px 24px; }
}
@media (max-width: 768px) {
  nav { padding: 0 16px; height: 58px; gap: 10px; }
  .nav-links { display: none; }
  .nav-logo-text { font-size: 18px; }
  .nav-cta { padding: 8px 16px; font-size: 13px; white-space: nowrap; }
  .product-hero h1 { font-size: 30px; }
  .product-hero-tagline { font-size: 15px; }
  .product-hero-img { height: 240px; border-radius: 18px; }
  section { padding: 44px 16px; }
  .section-wrap h2 { font-size: 22px; }
  .usage-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .usage-card { padding: 18px 12px; }
  .syrup-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  footer { flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; gap: 14px; }
  .footer-links { justify-content: center; gap: 20px; }
  .float-contacts { display: none !important; }
  .mobile-bar { display: flex !important; }
  body { padding-bottom: 68px; }
}
@media (max-width: 400px) {
  .usage-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}
