@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --primary-color: #709676;
  --primary-dark: #678f6b;
  --primary-light: #8fb69a;
  --cream: #f6efe2;
  --cream-soft: #fbf7f7;
  --secondary-color: #f6efe2;
  --bg-color: #fbf7f7;
  --bg-white: #ffffff;
  --text-main: #394657;
  --text-heading: #3c5340;
  --text-muted: #6e7782;
  --border-color: #e7edf0;
  --badge-bg: #edf5ee;
  --badge-text: #5d8465;
  --font-heading: 'Inria Serif', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
  --container-max: 1240px;
  --radius-card: 18px;
  --radius-large: 50px;
  --radius-btn: 999px;
  --shadow-soft: 0 8px 26px rgba(39, 56, 44, 0.08);
  --shadow-card: 0 5px 12px rgba(0, 0, 0, 0.16);
  --shadow-hover: 0 14px 34px rgba(39, 56, 44, 0.14);
  --transition: all .25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-y: scroll; }
body {
  font-family: var(--font-body);
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.15; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-soft { background: var(--cream-soft); }
.compact-top { padding-top: 28px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 12px; }
.gap-3 { gap: 20px; }
.text-center { text-align: center; }
.d-none { display: none !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 26px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary-color); color: #fff; border-color: rgba(0,0,0,.12); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-light { background: #fff; color: var(--primary-color); border-color: #c9c9c9; }
.btn-light:hover { color: var(--primary-dark); border-color: var(--primary-color); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--primary-color); border-color: #cfd8d1; }
.btn-outline:hover { background: var(--badge-bg); color: var(--primary-dark); }
.btn-secondary { background: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-sm { min-height: 34px; padding: 8px 18px; font-size: 14px; }
.badge { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-text); font-size: 12px; font-weight: 600; }

/* Navbar shared — identical on ALL pages */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #BFBFBF;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}
.navbar .container, .nav-container { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { font-family: var(--font-heading); font-size: 27px; font-weight: 700; color: var(--primary-color); flex-shrink: 0; }
.nav-brand-img { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-brand-img img { width: 214px; height: 79px; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 60px; }
.nav-link { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: #425466; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: #6BCE7B; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 30px; color: var(--primary-dark); cursor: pointer; }

/* Generic card/product/detail styles used by other pages */
.card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-soft); padding: 30px; border: 1px solid var(--border-color); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-title { font-size: 22px; margin-bottom: 12px; color: var(--text-heading); }
.card-desc { color: var(--text-muted); font-size: 15px; }
.section-header { text-align: center; margin-bottom: 54px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(32px, 4vw, 46px); color: var(--text-heading); margin-bottom: 14px; }
.section-subtitle { color: var(--text-muted); font-size: 18px; }
.product-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.product-img-wrap { width: 100%; height: 280px; background: var(--cream-soft); overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-img { transform: scale(1.035); }
.product-info { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.product-title { font-size: 22px; margin-bottom: 8px; color: var(--text-main); }
.product-price { font-weight: 700; color: var(--primary-color); margin: 10px 0 18px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.form-control { width: 100%; padding: 14px 18px; border: 1px solid var(--border-color); border-radius: 999px; font-family: var(--font-body); font-size: 15px; background: #fff; }
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(112,150,118,.13); }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #425466 50%), linear-gradient(135deg, #425466 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 14px) 20px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }

/* Homepage */
.home-page { background: #fff; }
.home-hero {
  min-height: 730px;
  padding: 80px 0 76px;
  background:
    radial-gradient(circle at 85% 16%, rgba(112,150,118,.20) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 32%, rgba(112,150,118,.10), transparent 28%),
    linear-gradient(110deg, rgba(246,239,226,.95), rgba(246,239,226,.76) 48%, rgba(251,247,247,.80));
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.15), rgba(255,255,255,0) 45%),
    repeating-linear-gradient(105deg, rgba(255,255,255,.16) 0 2px, transparent 2px 82px);
  pointer-events: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  right: -85px;
  top: 70px;
  width: 260px;
  height: 480px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(112,150,118,.32), transparent 68%);
  transform: rotate(18deg);
}
.hero-grid { position: relative; z-index: 2; min-height: 570px; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 50px; }
.hero-copy h1 { font-family: var(--font-heading); color: var(--primary-color); font-weight: 700; font-size: clamp(56px, 7.2vw, 96px); line-height: .98; letter-spacing: .3px; margin-bottom: 34px; }
.hero-copy p { max-width: 560px; font-family: var(--font-heading); font-weight: 700; font-size: clamp(18px, 2vw, 28px); line-height: 1.2; text-align: left; color: var(--text-main); margin-bottom: 46px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 230px; height: 58px; }
.hero-product-stage { position: relative; min-height: 465px; display: grid; place-items: center; }
.hero-product-stage::before { content: ""; position: absolute; inset: 40px 0 5px; background: rgba(255,255,255,.26); border-radius: 42px; filter: blur(2px); }
.hero-products-img { width: min(100%, 670px); border-radius: 36px; box-shadow: 0 24px 48px rgba(92,85,72,.15); position: relative; z-index: 2; }

.confused-section { padding: 64px 0 34px; }
.confused-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.confused-copy h2 { font-size: clamp(42px, 5.2vw, 66px); color: #3c5340; line-height: 1.22; letter-spacing: .5px; }
.confused-copy span { color: var(--primary-color); }
.confused-image-wrap { justify-self: end; width: min(100%, 520px); }
.confused-img { width: 100%; border-radius: 38px; object-fit: cover; box-shadow: 0 12px 32px rgba(57,70,87,.08); }

.lined-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-bottom: 54px; }
.lined-heading span { height: 5px; background: var(--primary-color); border-radius: 999px; }
.lined-heading h2 { text-align: center; color: var(--primary-color); font-size: clamp(27px, 3.5vw, 40px); white-space: nowrap; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.problem-card { text-align: center; padding: 4px 4px 10px; }
.problem-card img { width: 180px; height: 180px; margin: 0 auto 18px; object-fit: contain; }
.problem-card h3 { min-height: 62px; font-size: 20px; color: #1f1f1f; margin-bottom: 18px; }
.problem-card p { font-family: var(--font-heading); font-size: 15.5px; line-height: 1.2; text-align: justify; color: var(--text-main); max-width: 235px; margin: 0 auto; }

.solution-section { background: #fff; padding: 86px 0 104px; }
.solution-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.solution-image-card img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-soft); }
.solution-copy h2 { font-size: clamp(32px, 3.4vw, 44px); color: #1f1f1f; margin-bottom: 36px; max-width: 650px; }
.feature-list { display: flex; flex-direction: column; gap: 24px; }
.feature-item { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 22px; }
.feature-item img { width: 80px; height: 80px; }
.feature-item h3 { font-size: 18px; color: #1f1f1f; margin-bottom: 5px; }
.feature-item p { font-family: var(--font-heading); color: var(--text-main); font-size: 14.5px; line-height: 1.22; max-width: 520px; text-align: justify; }

.featured-products { padding: 68px 0 86px; }
.products-heading-row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 22px; margin-bottom: 26px; }
.products-title-wrap { text-align: center; transform: translateX(95px); }
.products-title-wrap h2 { font-size: clamp(34px, 4vw, 48px); letter-spacing: .02em; color: var(--primary-color); }
.products-title-wrap p { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); font-size: 15px; }
.view-products-btn { align-self: center; background: var(--primary-color); color: #fff; border-radius: 999px; font-family: var(--font-heading); font-weight: 700; padding: 9px 18px; font-size: 15px; }
.view-products-btn:hover { background: var(--primary-dark); }
.home-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-product-card { background: #fff; border: 2px solid var(--border-color); border-radius: 18px; box-shadow: var(--shadow-card); overflow: hidden; padding: 14px; transition: var(--transition); }
.home-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.home-product-card > img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; }
.home-product-body { padding: 22px 8px 0; }
.home-product-body h3 { font-size: clamp(24px, 2.2vw, 32px); color: var(--text-main); margin-bottom: 12px; }
.home-product-body p { min-height: 54px; font-family: var(--font-heading); font-weight: 700; color: var(--text-main); font-size: 16px; line-height: 1.16; }
.home-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.small-pill { display: inline-flex; justify-content: center; align-items: center; height: 32px; border: 1px solid #bfc8c1; border-radius: 999px; color: var(--primary-color); font-family: var(--font-heading); font-weight: 700; font-size: 14px; }
.small-pill:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

.assistant-cta { background: #fff; padding: 62px 0; }
.assistant-cta-box { border-radius: 28px; background: linear-gradient(135deg, #f6efe2, #fdfafa); box-shadow: var(--shadow-soft); padding: 36px 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.assistant-cta h2 { color: var(--text-heading); font-size: 34px; margin-bottom: 8px; }
.assistant-cta p { max-width: 620px; color: var(--text-main); }

/* Footer */
.footer { background: #fff; padding: 60px 0 30px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 46px; margin-bottom: 38px; }
.footer-logo { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--primary-color); display: inline-block; margin-bottom: 12px; }
.footer-links h4 { margin-bottom: 16px; color: var(--text-heading); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary-color); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 14px; }
.home-footer { background: var(--primary-dark); color: #fff; padding: 44px 0 38px; }
.home-footer-grid { display: grid; grid-template-columns: 1.25fr .7fr 1fr .7fr; gap: 52px; align-items: start; }
.footer-logo-img img { width: 220px; margin-bottom: 20px; }
.footer-brand-area p { font-family: var(--font-heading); font-size: 22px; line-height: 1.14; }
.home-footer h3 { font-size: 20px; margin-bottom: 22px; color: #fff; }
.home-footer a { display: block; font-family: var(--font-heading); color: #fff; opacity: .94; margin-bottom: 8px; }
.home-footer a:hover { opacity: 1; transform: translateX(2px); }
.icon-link { display: inline-flex !important; align-items: center; gap: 14px; }
.icon-link img { width: 48px; height: 48px; }
.social-row { display: flex; gap: 12px; }
.social-row a { display: inline-flex; margin: 0; }
.social-row img { width: 50px; height: 50px; }

/* Chatbot UI */
.chat-wrapper { background: #fff; border-radius: 32px; box-shadow: var(--shadow-hover); overflow: hidden; display: flex; flex-direction: column; height: 700px; max-width: 900px; margin: 0 auto; border: 1px solid var(--border-color); }
.chat-header { padding: 24px; background: var(--primary-dark); color: #fff; text-align: center; }
.chat-messages { flex: 1; padding: 32px 24px; overflow-y: auto; background: var(--cream-soft); display: flex; flex-direction: column; gap: 20px; }
.chat-row { display: flex; width: 100%; }
.chat-row.bot { justify-content: flex-start; }
.chat-row.user { justify-content: flex-end; }
.chat-bubble { max-width: 80%; padding: 16px 20px; border-radius: 20px; line-height: 1.5; }
.chat-row.bot .chat-bubble { background: #fff; color: var(--text-main); border-bottom-left-radius: 4px; box-shadow: var(--shadow-soft); }
.chat-row.user .chat-bubble { background: var(--primary-dark); color: #fff; border-bottom-right-radius: 4px; }
.chat-input-area { padding: 24px; background: #fff; border-top: 1px solid var(--border-color); }
.quick-prompts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 0 24px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-color); background: #fff; font-size: 14px; cursor: pointer; transition: var(--transition); color: var(--text-muted); }
.chip:hover { background: var(--badge-bg); color: var(--primary-dark); border-color: var(--badge-bg); }

.detail-layout { display: flex; gap: 60px; align-items: flex-start; }
.detail-img-col { flex: 1; background: #fff; border-radius: 24px; overflow: hidden; position: sticky; top: 105px; box-shadow: var(--shadow-soft); }
.detail-img-col img { width: 100%; min-height: 500px; object-fit: cover; }
.detail-info-col { flex: 1; }

/* Responsive */
@media (max-width: 1100px) {
  .problem-grid { gap: 18px; }
  .home-product-grid { gap: 18px; }
  .nav-menu { gap: 36px; }
  .products-title-wrap { transform: none; }
}

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .confused-grid, .solution-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-product-stage { min-height: 320px; }
  .confused-image-wrap { justify-self: center; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-copy h2 { margin-left: auto; margin-right: auto; }
  .feature-item { text-align: left; }
  .home-product-grid { grid-template-columns: repeat(2, 1fr); }
  .assistant-cta-box { flex-direction: column; text-align: center; }
  .home-footer-grid, .footer-grid { grid-template-columns: max-content max-content; justify-content: center; gap: 48px 120px; }
  .detail-layout { flex-direction: column; gap: 32px; }
  .detail-img-col { position: relative; top: 0; width: 100%; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 58px 0; }
  .navbar .container, .nav-container { min-height: 76px; }
  .nav-brand-img img { width: 150px; height: auto; }
  .nav-menu { position: fixed; top: 76px; left: 0; right: 0; padding: 22px; flex-direction: column; align-items: stretch; gap: 12px; background: #fff; border-bottom: 1px solid var(--border-color); box-shadow: 0 18px 26px rgba(0,0,0,.08); transform: translateY(-130%); opacity: 0; pointer-events: none; }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 12px 0; font-size: 18px; }
  .nav-toggle { display: block; }
  .home-hero { min-height: auto; padding: 54px 0 58px; }
  .hero-grid { min-height: auto; gap: 32px; }
  .hero-copy h1 { font-size: clamp(48px, 16vw, 70px); }
  .hero-copy p { font-size: 18px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .confused-copy h2 { font-size: 40px; }
  .lined-heading { grid-template-columns: 1fr; gap: 12px; }
  .lined-heading span { width: 100%; }
  .lined-heading h2 { white-space: normal; font-size: 28px; }
  .problem-grid, .home-product-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-item { grid-template-columns: 76px 1fr; gap: 14px; }
  .feature-item img { width: 68px; height: 68px; }
  .products-heading-row { grid-template-columns: 1fr; text-align: center; }
  .view-products-btn { justify-self: center; }
  .home-product-body h3 { font-size: 28px; }
  .home-footer-grid, .footer-grid { grid-template-columns: 1fr; gap: 42px; text-align: center; }
  .footer-brand-area { display: flex; flex-direction: column; align-items: center; }
  .social-row { justify-content: center; }
  .icon-link { justify-content: center; }
  .chat-wrapper { height: calc(100vh - 120px); border-radius: 22px; }
  .chat-bubble { max-width: 92%; }
}

@media (max-width: 480px) {
  .problem-card img { width: 150px; height: 150px; }
  .solution-copy h2, .assistant-cta h2 { font-size: 29px; }
  .assistant-cta-box { padding: 28px 22px; }
  .home-product-card { padding: 10px; }
}


/* === Homepage Figma asset final overrides === */
.home-hero {
  min-height: 810px;
  padding: 0;
  background-image:
    linear-gradient(90deg, rgba(246, 239, 226, .76) 0%, rgba(246, 239, 226, .52) 38%, rgba(246, 239, 226, .08) 68%),
    url('../assets/img/hero-background.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.home-hero::before,
.home-hero::after { display: none; }
.hero-grid {
  grid-template-columns: 1fr;
  min-height: 810px;
  align-items: center;
}
.hero-copy { max-width: 575px; }
.hero-copy h1 { margin-top: 10px; }
.hero-copy p { max-width: 560px; }
.hero-product-stage { display: none; }
.problem-card img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin-bottom: 18px;
}
.footer-logo-img img {
  width: 230px;
  height: 83px;
  object-fit: contain;
}
.icon-link img,
.social-row img {
  object-fit: contain;
  border-radius: 999px;
}

@media (max-width: 992px) {
  .home-hero {
    min-height: auto;
    padding: 260px 0 320px;
    background-position: 58% bottom;
    background-size: cover;
    background-image:
      linear-gradient(180deg, rgba(246, 239, 226, 0.95) 0%, rgba(246, 239, 226, 0.6) 55%, rgba(246, 239, 226, 0) 100%),
      url('../assets/img/hero-background.png');
  }
  .hero-grid { min-height: auto; }
  .hero-copy { max-width: 100%; text-align: center; }
  .hero-copy p { margin: 0 auto 32px; }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 230px 0 290px;
    background-position: 62% bottom;
  }
  .hero-copy h1 { font-size: clamp(42px, 14vw, 68px); margin-bottom: 24px; }
  .hero-copy p { font-size: 16px; margin-bottom: 28px; }
  .problem-card img { width: 190px; height: 190px; }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 190px 0 260px;
    background-position: 66% bottom;
  }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
}

/* === Catalog page Figma UI === */
.catalog-page {
  background: #fff;
  min-height: 100vh;
}
/* navbar shadow now handled by shared .navbar */
.catalog-main {
  background: #fff;
  min-height: 1700px;
  padding: 34px 0 96px;
}
.catalog-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.catalog-filter-panel {
  padding-top: 64px;
  font-family: var(--font-heading);
  color: var(--text-main);
}
.filter-block h2,
.filter-heading-row h2,
.filter-block h3 {
  color: var(--text-main);
  font-weight: 700;
}
.filter-block h2,
.filter-heading-row h2 {
  font-size: 28px;
  margin-bottom: 18px;
}
.filter-block h3 {
  font-size: 28px;
  margin-bottom: 18px;
}
.category-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.category-link {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.category-link:hover,
.category-link.active {
  color: var(--primary-color);
  transform: translateX(3px);
}
.filter-divider {
  height: 1px;
  background: #2f2f2f;
  opacity: .85;
  margin: 28px 0 24px;
}
.filter-heading-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.filter-heading-row h2 {
  margin-bottom: 0;
}
.filter-funnel {
  position: relative;
  width: 31px;
  height: 28px;
  display: inline-block;
  transform: translateY(4px);
}
.filter-funnel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 31px;
  height: 14px;
  background: #757575;
  clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%);
}
.filter-funnel::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 8px;
  height: 14px;
  background: #757575;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  line-height: 1.25;
}
.filter-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: #fff;
  border: 1px solid #000;
  display: grid;
  place-content: center;
}
.filter-check input::before {
  content: "";
  width: 9px;
  height: 9px;
  transform: scale(0);
  transition: transform .12s ease;
  background: var(--primary-color);
}
.filter-check input:checked::before {
  transform: scale(1);
}
.price-input {
  width: 170px;
  height: 37px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  display: block;
}
.price-input::placeholder {
  color: var(--text-main);
  opacity: 1;
}
.price-separator {
  height: 21px;
  width: 1px;
  background: #000;
  margin: 10px 0 10px 85px;
}
.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.clear-filter-btn {
  width: 207px;
  min-height: 57px;
  border-radius: 999px;
  border: 1px solid #bfbfbf;
  background: var(--primary-color);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 23px;
  cursor: pointer;
  transition: var(--transition);
}
.close-filter-btn {
  display: none;
  width: 207px;
  min-height: 57px;
  border-radius: 999px;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 23px;
  cursor: pointer;
  transition: var(--transition);
}
.close-filter-btn:hover {
  background: #f6efe2;
}
.clear-filter-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.catalog-products-area {
  min-width: 0;
}
.catalog-title {
  text-align: center;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 6px;
}
.catalog-toolbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.product-count {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}
.sort-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  color: #000;
  font-size: 15px;
  position: relative;
}
/* Custom Select UI */
.custom-select-wrapper {
  position: relative;
  width: 197px;
  font-family: var(--font-heading);
  user-select: none;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  background: #fff;
  color: #000;
  padding: 0 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.custom-select-trigger:hover, .custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--primary-color);
}
.custom-select-wrapper.open .custom-select-trigger svg {
  transform: rotate(180deg);
}
.custom-select-trigger svg {
  transition: transform 0.2s ease;
}
.custom-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-option {
  padding: 10px 14px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}
.custom-option:hover, .custom-option.selected {
  background: var(--cream-soft);
  color: var(--primary-dark);
  font-weight: 700;
}
.sort-select {
  width: 197px;
  height: 50px;
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  background: #fff;
  color: #000;
  padding: 0 38px 0 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  outline: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%);
  background-position: calc(100% - 17px) 22px, calc(100% - 11px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.catalog-loading,
.catalog-notice,
.catalog-empty {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
}
.catalog-loading {
  color: var(--text-muted);
}
.catalog-notice {
  margin-bottom: 20px;
  background: #fff9e8;
  border: 1px solid #f5d98a;
  color: #8a6200;
}
.catalog-empty {
  background: var(--cream-soft);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.catalog-product-card {
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, .22);
  overflow: hidden;
  padding: 16px 13px 16px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.catalog-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}
.catalog-img-link {
  display: block;
  overflow: hidden;
  border-radius: 15px;
}
.catalog-product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  transition: transform .4s ease;
}
.catalog-product-card:hover .catalog-product-img {
  transform: scale(1.025);
}
.catalog-product-body {
  padding: 28px 8px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.catalog-product-body h2 {
  color: var(--text-main);
  font-size: clamp(25px, 2.3vw, 32px);
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
}
.catalog-product-body h2 a:hover {
  color: var(--primary-color);
}
.catalog-product-body p {
  min-height: 48px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 22px;
}
.catalog-product-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px;
}
.catalog-product-bottom strong {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1;
  white-space: nowrap;
}
.catalog-buy-btn {
  width: 100%;
  height: 43px;
  padding: 0 24px;
  border: 1px solid #bfbfbf;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition);
}
.catalog-buy-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.cart-symbol {
  font-size: 23px;
  line-height: 1;
}
.catalog-footer {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .catalog-container {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    padding: 0 16px;
  }
  .catalog-product-grid {
    gap: 14px;
  }
  .catalog-product-card {
    min-height: auto;
  }
  .catalog-product-body p {
    font-size: 16px;
  }
  .catalog-product-bottom {
    gap: 12px;
  }
  .catalog-product-bottom strong {
    font-size: 28px;
  }
}

.mobile-filter-btn {
  display: none;
}

@media (max-width: 992px) {
  .catalog-main {
    min-height: auto;
    padding: 26px 0 64px;
  }
  .catalog-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 760px;
    gap: 28px;
  }
  .catalog-products-area {
    display: contents;
  }
  .catalog-title { order: 1; }
  .mobile-filter-btn { order: 2; margin-bottom: 0; }
  .catalog-filter-panel { order: 3; }
  .catalog-toolbar { order: 4; }
  #productNotice, .catalog-loading, .catalog-empty, .catalog-product-grid { order: 5; }
  .mobile-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--cream-soft);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
    cursor: pointer;
    margin-bottom: 24px;
    transition: all 0.2s ease;
  }
  .mobile-filter-btn:active {
    transform: scale(0.98);
  }
  .catalog-filter-panel {
    display: none;
    padding-top: 0;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    animation: slideDown 0.3s ease;
  }
  .catalog-filter-panel.show-filter {
    display: block;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .category-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .category-block h2,
  .filter-heading-row {
    grid-column: 1 / -1;
  }
  .category-link {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    text-align: center;
    font-size: 18px;
  }
  .category-link:hover,
  .category-link.active {
    background: var(--primary-color);
    color: #fff;
    transform: none;
  }
  .filter-block:not(.category-block) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
  .filter-block h3 {
    grid-column: 1 / -1;
  }
  .price-input {
    width: 100%;
  }
  .price-separator {
    display: none;
  }
  .clear-filter-btn,
  .close-filter-btn {
    width: 100%;
  }
  .close-filter-btn {
    display: block;
  }
  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-product-body h2 {
    font-size: 20px;
  }
  .catalog-product-bottom strong {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .catalog-title {
    font-size: 48px;
  }
  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 24px;
  }
  .sort-row {
    justify-content: space-between;
  }
  .sort-select {
    flex: 1;
    max-width: 220px;
  }
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }
  .catalog-product-card {
    min-height: auto;
  }

}

@media (max-width: 520px) {
  .catalog-container {
    padding: 0 14px;
  }
  .catalog-filter-panel {
    padding: 18px;
  }
  .category-block,
  .filter-block:not(.category-block) {
    grid-template-columns: 1fr;
  }
  .filter-block h2,
  .filter-heading-row h2,
  .filter-block h3 {
    font-size: 24px;
  }
  .filter-check,
  .category-link {
    font-size: 17px;
  }


  .catalog-product-body h2 {
    font-size: 17px;
  }
  .catalog-product-bottom strong {
    font-size: 17px;
  }
}

/* === About page Figma UI === */
.about-page {
  background: #fff;
}
/* navbar shadow now handled by shared .navbar */
.about-hero {
  background: #fff;
  padding: 36px 0 24px;
  text-align: center;
}
.about-hero h1 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(46px, 5.2vw, 64px);
  line-height: 1.05;
}
.about-intro-section,
.about-reverse-section,
.business-section {
  background: #fff;
  padding: 34px 0 42px;
}
.about-split {
  display: grid;
  grid-template-columns: 586px minmax(0, 1fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
}
.about-split-reverse {
  grid-template-columns: minmax(0, 1fr) 586px;
}
.about-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 50px;
  box-shadow: 0 12px 26px rgba(57,70,87,.08);
}
.about-copy h2 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 48px);
  line-height: 1.16;
  margin-bottom: 20px;
}
.about-copy p {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.22;
  text-align: justify;
  margin-bottom: 22px;
}
.logo-meaning-section {
  background: #fff;
  padding: 48px 0 62px;
}
.about-lined-heading {
  margin-bottom: 58px;
}
.about-lined-heading h2 {
  color: var(--primary-color);
  font-size: clamp(42px, 5.2vw, 64px);
}
.logo-meaning-grid {
  display: grid;
  grid-template-columns: minmax(330px, 489px) minmax(0, 1fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 8px solid var(--primary-color);
}
.meaning-logo-wrap img {
  width: min(100%, 489px);
  margin: 0 auto;
}
.meaning-list {
  display: grid;
  gap: 30px;
}
.meaning-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 34px;
  align-items: start;
}
.meaning-dot {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 999px;
  margin-top: 7px;
  border: 1px solid #bfbfbf;
}
.meaning-item h3 {
  color: #000;
  font-size: 24px;
  margin-bottom: 8px;
}
.meaning-item p {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22;
  text-align: justify;
  max-width: 430px;
}
.business-section {
  padding-top: 20px;
  padding-bottom: 40px;
}
.social-section {
  background: #fff;
  padding: 36px 0 70px;
}
.social-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.social-gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(57,70,87,.13);
  transform: rotate(.09deg);
  transition: var(--transition);
}
.social-gallery img:hover {
  transform: translateY(-4px) rotate(.09deg);
  box-shadow: 0 16px 34px rgba(57,70,87,.18);
}
.display-section {
  background: #fff;
  padding: 26px 0 0;
}
.display-gallery {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.display-gallery img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.about-footer {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .about-split,
  .about-split-reverse {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .about-copy p {
    font-size: 22px;
  }
  .about-image-card img {
    height: 380px;
  }
}

@media (max-width: 900px) {
  .about-split,
  .about-split-reverse,
  .logo-meaning-grid {
    grid-template-columns: 1fr;
  }
  .about-split-reverse .about-copy {
    order: 2;
  }
  .about-split-reverse .about-image-card {
    order: 1;
  }
  .about-copy h2,
  .about-copy p {
    text-align: left;
  }
  .about-image-card img {
    height: auto;
  }
  .social-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-lined-heading {
    margin-bottom: 36px;
  }
}

@media (max-width: 620px) {
  .about-hero {
    padding: 28px 0 12px;
  }
  .about-intro-section,
  .about-reverse-section,
  .business-section {
    padding: 28px 0;
  }
  .about-image-card img {
    border-radius: 28px;
  }
  .about-copy p {
    font-size: 18px;
  }
  .about-copy h2 {
    font-size: 32px;
  }
  .meaning-item {
    grid-template-columns: 18px 1fr;
    gap: 18px;
  }
  .meaning-dot {
    width: 16px;
    height: 16px;
  }
  .social-gallery {
    grid-template-columns: 1fr;
  }
}

/* === About page v7 - closer to Figma Frame 15 === */
.about-page-v7 {
  background: #fff;
  font-family: var(--font-heading);
}
/* Removed .about-page-v7 navbar overrides to use shared navbar styles */
.about-main-v7 {
  background: #fff;
}
.about-container {
  width: min(100%, 1248px);
  margin: 0 auto;
  padding: 0 28px;
}
.about-title-section {
  padding: 40px 0 28px;
  text-align: center;
}
.about-title-section h1 {
  color: var(--primary-color);
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
}
.about-row-section {
  background: #fff;
}
.about-row {
  display: grid;
  align-items: center;
  column-gap: 48px;
}
.about-row.image-left,
.about-row.text-left {
  grid-template-columns: 586px minmax(0, 1fr);
}
.about-row.text-left {
  grid-template-columns: minmax(0, 1fr) 586px;
}
.about-row-first {
  padding: 18px 0 52px;
}
.about-business-row {
  padding: 8px 0 58px;
}
.about-target-row {
  padding: 34px 0 56px;
}
.about-img-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(57,70,87,.06);
}
.about-text-box h2 {
  color: var(--primary-color);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 18px;
}
.about-text-box p {
  color: var(--text-main);
  font-size: clamp(19px, 1.95vw, 28px);
  font-weight: 700;
  line-height: 1.22;
  text-align: justify;
  margin-bottom: 22px;
}
.about-business-copy p {
  margin-bottom: 24px;
}
.about-line-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: 0 auto 50px;
  max-width: 1040px;
}
.about-line-title span {
  height: 5px;
  background: var(--primary-color);
  border-radius: 999px;
}
.about-line-title h2 {
  color: var(--primary-color);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.08;
}
.about-logo-section {
  padding: 28px 0 50px;
}
.about-logo-grid {
  display: grid;
  grid-template-columns: 489px minmax(0, 1fr);
  column-gap: 58px;
  align-items: center;
  padding-bottom: 62px;
  border-bottom: 8px solid var(--primary-color);
}
.about-big-logo img {
  width: 489px;
  height: auto;
}
.about-logo-meaning {
  display: grid;
  gap: 30px;
}
.about-logo-meaning article {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}
.about-logo-meaning article > span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  margin-top: 7px;
  border: 1px solid #bfbfbf;
}
.about-logo-meaning h3 {
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
}
.about-logo-meaning p {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22;
  text-align: justify;
  max-width: 430px;
}
.about-social-section {
  padding: 4px 0 56px;
}
.about-social-title {
  max-width: 950px;
  margin-bottom: 34px;
}
.about-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1110px;
  margin: 0 auto;
}
.about-social-grid img {
  width: 100%;
  aspect-ratio: 393 / 444;
  object-fit: cover;
  display: block;
}
.about-display-section {
  padding: 16px 0 0;
  background: #fff;
}
.about-display-title {
  max-width: 920px;
  margin-bottom: 34px;
}
.about-display-stack {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.about-display-stack img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}
.about-page-v7 .about-footer {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .about-row.image-left,
  .about-row.text-left,
  .about-logo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-img-box img {
    height: 360px;
  }
  .about-text-box p {
    font-size: 22px;
  }
  .about-big-logo img {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .about-row.image-left,
  .about-row.text-left,
  .about-logo-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-row.text-left .about-text-box {
    order: 2;
  }
  .about-row.text-left .about-img-box {
    order: 1;
  }
  .about-text-box p,
  .about-logo-meaning p {
    text-align: left;
  }
  .about-img-box img {
    height: auto;
    border-radius: 32px;
  }
  .about-line-title {
    gap: 14px;
  }
  .about-line-title h2 {
    font-size: 40px;
  }
  .about-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .about-container {
    padding: 0 18px;
  }
  .about-title-section {
    padding: 28px 0 18px;
  }
  .about-text-box h2 {
    font-size: 31px;
  }
  .about-text-box p {
    font-size: 17px;
  }
  .about-line-title {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 24px;
  }
  .about-line-title span {
    display: none;
  }
  .about-logo-meaning article {
    grid-template-columns: 16px 1fr;
    gap: 18px;
  }
  .about-logo-meaning article > span {
    width: 16px;
    height: 16px;
  }
  .about-social-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   DEO ASISTEN CHATBOT PAGE
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* Page Layout */
.deo-chat-page {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.deo-chat-title {
  font-family: 'Inria Serif', Georgia, serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.2;
  text-align: center;
  color: #709676;
  padding: 32px 0 16px;
}

/* Chat Container */
.deo-chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  padding-bottom: 200px;
}

/* Chat Messages Area */
.deo-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Message Row */
.deo-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 85%;
  animation: deoMsgFadeIn 0.3s ease-out;
}

.deo-msg-row.bot {
  align-self: flex-start;
}

.deo-msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

/* Bot Icon */
.deo-bot-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.deo-bot-icon svg {
  width: 28px;
  height: 28px;
}

/* Chat Bubbles */
.deo-bubble-wrap {
  display: flex;
  flex-direction: column;
}

.deo-bubble {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding: 24px;
  max-width: 720px;
  word-wrap: break-word;
}

.deo-bubble.bot {
  background: #ffffff;
  color: #434842;
  border: 1px solid rgba(196, 200, 191, 0.3);
  box-shadow: 0px 10px 30px rgba(141, 160, 137, 0.08);
  border-radius: 0px 28px 28px 28px;
}

.deo-bubble.user {
  background: #729776;
  color: #ffffff;
  box-shadow: 0px 10px 30px rgba(141, 160, 137, 0.08);
  border-radius: 28px 0px 28px 28px;
}

/* Label inside bot bubble */
.deo-bubble-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.deo-bubble-label.error {
  color: #cf1322;
}

/* Timestamp */
.deo-msg-time {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  color: #747871;
  padding: 4px 16px 0;
}

.deo-msg-row.bot .deo-msg-time {
  text-align: left;
}

.deo-msg-row.user .deo-msg-time {
  text-align: right;
}

/* Typing Indicator */
.deo-typing-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 24px;
}

.deo-typing-dots span {
  width: 8px;
  height: 8px;
  background: #729776;
  border-radius: 50%;
  animation: deoPulse 1s infinite alternate;
}

.deo-typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.deo-typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Product Cards Grid */
.deo-products-row {
  align-self: flex-start;
  width: 100%;
  max-width: 100%;
  padding-left: 52px;
  animation: deoMsgFadeIn 0.3s ease-out;
}

.deo-products-grid {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.deo-products-grid::-webkit-scrollbar {
  height: 8px;
}
.deo-products-grid::-webkit-scrollbar-track {
  background: #E7EDF0;
  border-radius: 4px;
}
.deo-products-grid::-webkit-scrollbar-thumb {
  background: #709676;
  border-radius: 4px;
}

.deo-product-card {
  flex: 0 0 280px;
  max-width: 85vw;
  scroll-snap-align: start;
  background: #ffffff;
  border: 2px solid #E7EDF0;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.deo-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.18);
}

.deo-product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 12px 12px 0;
}

.deo-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.deo-product-card:hover .deo-product-img {
  transform: scale(1.03);
}

.deo-product-info {
  padding: 14px 16px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.deo-product-name {
  font-family: 'Inria Serif', Georgia, serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 32px);
  line-height: 1.2;
  color: #394657;
  margin-bottom: 6px;
}

.deo-product-desc {
  font-family: 'Inria Serif', Georgia, serif;
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 18px);
  line-height: 1.25;
  color: #394657;
  margin-bottom: 12px;
  flex: 1;
}

.deo-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 16px;
}

.deo-product-price {
  font-family: 'Inria Serif', Georgia, serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 32px);
  line-height: 1.2;
  color: #394657;
}

.deo-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 43px;
  padding: 0 20px;
  background: #ffffff;
  border: 1px solid #BFBFBF;
  border-radius: 50px;
  font-family: 'Inria Serif', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: #394657;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.deo-buy-btn:hover {
  background: #f0f7f1;
  border-color: #709676;
  color: #394657;
}

.deo-buy-btn svg {
  width: 20px;
  height: 20px;
  fill: #709676;
}

/* Input Area (Sticky Bottom) */
.deo-chat-input-area {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-top: 2px solid #C3C3C3;
  border-radius: 0px 0px 18px 18px;
  padding: 28px 0;
}

.deo-chat-input-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.deo-chat-input {
  flex: 1;
  height: 64px;
  padding: 0 28px;
  background: #ffffff;
  border: 1px solid #BFBFBF;
  border-radius: 50px;
  font-family: 'Inria Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  color: #394657;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.deo-chat-input::placeholder {
  color: #9ca3a0;
}

.deo-chat-input:focus {
  border-color: #709676;
  box-shadow: 0 0 0 4px rgba(112, 150, 118, 0.12);
}

.deo-send-btn {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: #678F6B;
  border: 1px solid #BFBFBF;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.deo-send-btn:hover {
  background: #5a7f5e;
  transform: scale(1.05);
}

.deo-send-btn:disabled {
  background: #a8c4ab;
  cursor: not-allowed;
  transform: none;
}

.deo-send-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* Animations */
@keyframes deoMsgFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes deoPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Responsive - Tablet */
@media (max-width: 960px) {
  .deo-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deo-msg-row {
    max-width: 92%;
  }

  .deo-products-row {
    padding-left: 0;
  }
}

/* Responsive - Mobile */
@media (max-width: 620px) {
  .deo-chat-title {
    font-size: 36px;
    padding: 20px 0 10px;
  }

  .deo-chat-container {
    padding: 0 16px;
    padding-bottom: 160px;
  }

  .deo-products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .deo-products-row {
    padding-left: 0;
  }

  .deo-msg-row {
    max-width: 95%;
  }

  .deo-bubble {
    padding: 16px 18px;
    font-size: 15px;
  }

  .deo-bot-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .deo-bot-icon svg {
    width: 22px;
    height: 22px;
  }

  .deo-chat-input-area {
    padding: 16px 0;
  }

  .deo-chat-input {
    height: 52px;
    font-size: 16px;
    padding: 0 20px;
  }

  .deo-send-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .deo-send-btn svg {
    width: 24px;
    height: 24px;
  }

  .deo-product-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Nav active state now handled by shared .nav-link.active */

/* =========================================
   ADMIN PANEL STYLES
   ========================================= */
.admin-page {
  background: var(--bg-color);
}
.admin-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  transition: var(--transition);
}
.admin-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(112, 150, 118, 0.15);
}
.form-group label {
  color: var(--text-heading);
}

.admin-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 24px;
}
.admin-tab {
  background: none;
  border: none;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.admin-tab:hover {
  color: var(--primary-dark);
}
.admin-tab.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  background: #f7f9fa;
  padding: 16px;
  text-align: center;
  font-weight: 700;
  color: var(--text-heading);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
}
.admin-action-cell {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table tr:hover td {
  background: #fcfcfc;
}

.admin-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
  padding: 20px;
}
.admin-modal {
  background: #fff;
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.admin-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-modal-header h3 {
  font-size: 24px;
  margin: 0;
}
.admin-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.admin-modal-close:hover {
  color: #e55353;
}
.admin-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.admin-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #d4edda;
  color: #155724;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 3000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.admin-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.admin-toast-error {
  background: #f8d7da;
  color: #721c24;
}

/* ADMIN SIDEBAR LAYOUT */
.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f4f7f6;
}

.admin-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: #f4f7f6;
}

.admin-sidebar {
  width: 260px;
  background: #ffffff;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.admin-sidebar-menu {
  padding: 24px 16px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-sidebar-title {
  font-size: 12px;
  font-weight: 700;
  color: #9aa2ac;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-left: 12px;
}

.admin-sidebar .admin-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
}

.admin-sidebar .admin-tab:hover {
  background: #f7f9fa;
  color: var(--primary-dark);
}

.admin-sidebar .admin-tab.active {
  background: rgba(112, 150, 118, 0.1);
  color: var(--primary-dark);
  border-bottom: none;
}

.admin-sidebar .admin-tab.active img {
  filter: none !important;
}

.admin-sidebar-footer {
  padding: 24px 16px;
  border-top: 1px solid var(--border-color);
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.admin-main-header {
  padding: 24px 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.admin-main-content {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  min-width: 0;
}

/* Skeleton Loading Utilities */
.skeleton-box {
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0;
  border-radius: inherit;
}
.skeleton-box::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.4) 20%, rgba(255,255,255,0.6) 60%, rgba(255,255,255,0));
  animation: shimmer 1.5s infinite;
  content: '';
  z-index: 10;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* Responsive Admin Panel */
.admin-sidebar-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-heading);
  padding: 4px;
}
.admin-sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.admin-sidebar {
  position: fixed !important;
  top: 0;
  bottom: 0;
  left: -320px;
  height: 100dvh; /* Menggunakan dynamic viewport height agar tidak tertutup address bar browser di HP */
  width: 280px !important;
  z-index: 1000;
  box-shadow: 4px 0 24px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: #ffffff;
  margin-top: auto; /* Memaksa footer menempel di paling bawah */
}
.admin-sidebar.open {
  left: 0;
}
.admin-sidebar-backdrop.open {
  display: block;
  opacity: 1;
}

@media (max-width: 992px) {
  .admin-main-header {
    padding: 16px 20px;
  }
  .admin-main-header h2 {
    font-size: 20px !important;
  }
  .admin-main-content {
    padding: 20px;
  }
  .admin-action-cell {
    flex-direction: column;
    align-items: flex-end;
  }
  .admin-action-cell .btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================================
   RESPONSIVE HERO (BACKGROUND SHIFT + CENTERED ALIGN)
   ========================================= */

@media (max-width: 992px) {
  .home-hero {
    /* Geser background agar produk di kanan dan area kosong di kiri */
    background-position: 20% center !important;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center; /* Konten utama rata tengah */
  }
  
  .hero-copy {
    max-width: 90%; /* Memaksimalkan area baca pada layar mobile */
    margin: 0 auto; /* Tengah secara horizontal */
    text-align: center;
  }
  
  .hero-copy h1 {
    font-size: clamp(56px, 9vw, 84px); /* Ekstra besar */
    margin-bottom: 28px;
  }
  
  .hero-copy p {
    font-size: 24px; /* Ukuran font hero heading untuk mobile */
    margin: 0 auto 36px auto;
    max-width: 560px; /* Diperlebar agar tetap proporsional ~4 baris */
    text-align: justify; 
  }
  
  .hero-actions {
    justify-content: center;
    gap: 24px;
    max-width: 560px; /* Sama dengan max-width paragraf */
    margin: 0 auto;   /* Di-center agar sejajar dengan paragraf */
    width: 100%;
    display: flex;
  }

  .hero-actions .btn {
    flex: 1;          /* Membagi ruang tersisa secara rata */
    height: 68px;
    font-size: 22px;
    min-width: unset; /* Memungkinkan tombol merespons ukuran container mobile */
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 580px;
    padding: 60px 0 40px;
    background-position: 30% center !important; 
    background-size: cover !important;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-copy {
    padding: 20px 0;
    max-width: 85%;
    margin: 0 auto; /* Tengah secara horizontal */
  }

  .hero-copy h1 {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 auto 24px auto;
    text-align: justify; /* Meratakan teks paragraf untuk kenyamanan membaca */
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%; /* Mengisi penuh ruang kosong di perangkat mobile */
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%; /* Menyamakan lebar tombol dengan lebar paragraf */
    height: 48px;
    min-width: unset;
    font-size: 15px; /* Mengembalikan ukuran font tombol ke standar mobile */
  }
}

