/* ==========================================================================
   گندم (Gandom) — Theme v3 · طلا و نقره · یزد
   Palette: white base, ink #2b3542, soft turquoise + bone accents.
   ========================================================================== */

:root {
  --g-white: #ffffff;
  --g-bone: #f7f4ec;
  --g-bone-2: #efeadd;
  --g-ink: #2b3542;
  --g-ink-2: #3b4757;
  --g-ink-soft: #596576;
  --g-line: #e6e2d6;
  --g-line-strong: #d4cfbf;
  --g-turq: #5aa39a;
  --g-turq-deep: #3f857c;
  --g-turq-soft: #e3f1ee;
  --g-wheat: #b99a5b;
  --g-success: #2f7d58;
  --g-warn: #94620a;
  --g-danger: #b3362d;

  --g-radius: 10px;
  --g-radius-lg: 18px;
  --g-shadow-sm: 0 1px 4px rgba(43, 53, 66, .06);
  --g-shadow: 0 8px 24px rgba(43, 53, 66, .08);
  --g-font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  --g-ease: .28s cubic-bezier(.3, .6, .3, 1);

  --bs-body-font-family: var(--g-font);
  --bs-body-color: var(--g-ink);
  --bs-body-bg: var(--g-white);
  --bs-body-font-size: .95rem;
  --bs-link-color: var(--g-turq-deep);
  --bs-link-color-rgb: 63, 133, 124;
  --bs-link-hover-color-rgb: 43, 53, 66;
  --bs-link-hover-color: var(--g-ink);
  --bs-border-color: var(--g-line);
}

*, *::before, *::after { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--g-font); line-height: 1.85; color: var(--g-ink); background: var(--g-white); }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: color var(--g-ease); }
h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.5; color: var(--g-ink); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
:focus-visible { outline: 2px solid var(--g-turq-deep); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; top: -60px; inset-inline-start: 1rem; background: var(--g-ink); color: #fff; padding: .5rem 1rem; z-index: 3000; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; border-radius: var(--g-radius); padding: .5rem 1.1rem; transition: all var(--g-ease); font-size: .92rem; }
.btn-lg { padding: .65rem 1.5rem; font-size: .98rem; }
.btn-sm { padding: .3rem .8rem; font-size: .84rem; }
.btn-ink { background: var(--g-ink); border: 1px solid var(--g-ink); color: #fff; }
.btn-ink:hover, .btn-ink:focus-visible { background: var(--g-turq-deep); border-color: var(--g-turq-deep); color: #fff; transform: translateY(-1px); }
.btn-outline-ink { background: transparent; border: 1px solid var(--g-ink); color: var(--g-ink); }
.btn-outline-ink:hover { background: var(--g-ink); color: #fff; }
.btn-soft { background: var(--g-turq-soft); border: 1px solid transparent; color: var(--g-turq-deep); }
.btn-soft:hover { background: var(--g-turq-deep); color: #fff; }
.btn:disabled, .btn.disabled { opacity: .5; }
.btn:active:not(:disabled) { transform: scale(.97); }

/* ---------- Top bar ---------- */
.topbar { background: var(--g-ink); color: #dfe5ec; font-size: .8rem; }
.topbar a { color: #dfe5ec; }
.topbar a:hover { color: #fff; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar i { color: #9fd0c9; }

/* ---------- Header ---------- */
.site-header { background: var(--g-white); position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid var(--g-line); transition: box-shadow var(--g-ease); }
.site-header.is-scrolled { box-shadow: var(--g-shadow); }
.header-main { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--g-ink); }
.brand:hover { color: var(--g-ink); }
.brand-mark { width: auto; height: 50px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 1.45rem; font-weight: 700; letter-spacing: -.3px; }
.brand-tag { font-size: .7rem; color: var(--g-ink-soft); font-weight: 400; }

.header-search { flex: 1; max-width: 460px; margin-inline: auto; }
.search-field { position: relative; }
.search-field input { width: 100%; height: 42px; border: 1px solid var(--g-line-strong); border-radius: 999px; padding: 0 1.1rem 0 3rem; background: var(--g-bone); font-size: .88rem; transition: all var(--g-ease); }
.search-field input:focus { background: #fff; border-color: var(--g-turq); outline: none; box-shadow: 0 0 0 3px var(--g-turq-soft); }
.search-field button { position: absolute; inset-inline-end: auto; left: .35rem; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--g-ink); color: #fff; display: grid; place-items: center; }
.search-field button:hover { background: var(--g-turq-deep); }

.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn { position: relative; width: 42px; height: 42px; border: 1px solid transparent; background: transparent; border-radius: 50%; color: var(--g-ink); font-size: 1.25rem; display: inline-grid; place-items: center; transition: all var(--g-ease); }
.icon-btn:hover { background: var(--g-bone); border-color: var(--g-line); }
.cart-count { position: absolute; top: 2px; inset-inline-start: 0; min-width: 18px; height: 18px; padding: 0 4px; background: var(--g-turq-deep); color: #fff; font-size: .68rem; border-radius: 999px; display: grid; place-items: center; line-height: 1; font-weight: 600; }
.cart-count.is-empty { display: none; }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.5); } }

.main-nav { border-top: 1px solid var(--g-line); background: var(--g-white); }
.main-nav .navbar-nav { gap: .15rem; }
.main-nav .nav-link { color: var(--g-ink); font-size: .9rem; padding: .7rem .9rem; position: relative; }
.main-nav .nav-link::after { content: ""; position: absolute; bottom: 4px; inset-inline: .9rem; height: 2px; background: var(--g-turq); transform: scaleX(0); transition: transform var(--g-ease); }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link.active { font-weight: 600; }
.main-nav .dropdown-toggle::after { margin-inline-start: .35rem; }
.dropdown-menu { border: 1px solid var(--g-line); border-radius: var(--g-radius); box-shadow: var(--g-shadow); padding: .5rem; font-size: .88rem; }
.dropdown-item { border-radius: 6px; padding: .4rem .8rem; color: var(--g-ink); }
.dropdown-item:hover { background: var(--g-turq-soft); color: var(--g-ink); }
.dropdown-mega { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 0 .5rem; min-width: 320px; }
.nav-hotline { color: var(--g-ink-soft); font-size: .84rem; }
.nav-hotline strong { color: var(--g-ink); }

.mobile-search { padding-bottom: .75rem; }
.offcanvas { font-family: var(--g-font); }

/* ---------- Layout helpers ---------- */
.section { padding: 4.2rem 0; position: relative; }
.section-sm { padding: 2.5rem 0; }
.section-bone { background: var(--g-bone); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.4rem; }
.section-head.start { text-align: start; margin-inline: 0; max-width: none; }
.eyebrow { display: inline-block; font-size: .78rem; color: var(--g-turq-deep); font-weight: 600; letter-spacing: .3px; margin-bottom: .35rem; }
.section-title { font-size: 1.55rem; font-weight: 600; margin-bottom: .5rem; }
.section-lead { color: var(--g-ink-soft); font-size: .93rem; margin: 0; }

/* wheat divider */
.divider { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: .8rem auto 0; color: var(--g-wheat); }
.divider::before, .divider::after { content: ""; height: 1px; width: 56px; background: linear-gradient(to left, var(--g-line-strong), transparent); }
.divider::after { transform: scaleX(-1); }
.divider img { width: 14px; height: 34px; opacity: .9; }

.bg-pattern { background-image: url("../images/pattern.svg"); background-size: 64px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--g-bone) 100%); padding: 3.2rem 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern.svg") center / 64px; opacity: .07; mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); animation: drift 60s linear infinite; }
@keyframes drift { to { background-position: 128px 64px; } }
.hero .container { position: relative; }
.hero-kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--g-turq-deep); background: var(--g-turq-soft); border-radius: 999px; padding: .2rem .8rem; margin-bottom: 1rem; }
.hero-title { font-size: 2.05rem; font-weight: 600; line-height: 1.65; margin-bottom: .9rem; }
.hero-title .accent { color: var(--g-turq-deep); }
.hero-text { color: var(--g-ink-soft); max-width: 470px; font-size: .95rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .84rem; color: var(--g-ink-soft); }
.hero-points i { color: var(--g-turq-deep); margin-inline-end: .3rem; }

.hero-visual { position: relative; height: 400px; max-width: 540px; margin-inline: auto; }
.hero-badgir { position: absolute; bottom: 0; inset-inline-start: 50%; transform: translateX(50%); width: 100%; max-width: 520px; animation: float 9s ease-in-out infinite; }
html[dir="rtl"] .hero-badgir { inset-inline-start: auto; right: 50%; transform: translateX(50%); }
@keyframes float { 50% { margin-bottom: 8px; } }
.hero-arch { position: absolute; top: 6px; left: 2%; width: 150px; height: 200px; border-radius: 75px 75px 10px 10px; border: 2px solid var(--g-ink); overflow: hidden; background: #fff; box-shadow: 8px 8px 0 var(--g-turq-soft); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch.b { left: auto; right: 2%; top: 60px; width: 150px; height: 200px; border-radius: 75px 75px 10px 10px; box-shadow: -8px 8px 0 var(--g-bone-2); }
.hero-wheat { position: absolute; bottom: 0; height: 190px; transform-origin: bottom center; animation: sway 6s ease-in-out infinite; }
.hero-wheat.w1 { right: 6%; }
.hero-wheat.w2 { right: 1%; height: 150px; animation-delay: -2s; }
.hero-wheat.w3 { left: 2%; height: 170px; animation-delay: -4s; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3.5deg); } }

.feature-strip { background: var(--g-ink); color: #e6ebf1; }
.feature-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; gap: .7rem; align-items: center; padding: 1rem .75rem; font-size: .82rem; line-height: 1.5; }
.strip-item + .strip-item { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.strip-item i { font-size: 1.35rem; color: #9fd0c9; }
.strip-item strong { display: block; font-weight: 600; color: #fff; }
.strip-item span { color: #b8c2cf; }

/* ---------- Categories ---------- */
.cat-group + .cat-group { margin-top: 2.2rem; }
.cat-group-title { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.cat-group-title .chip { font-size: .72rem; font-weight: 500; padding: .05rem .6rem; border-radius: 999px; background: var(--g-bone-2); color: var(--g-ink-soft); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 1rem; }
.cat-card { text-align: center; color: var(--g-ink); font-size: .86rem; font-weight: 500; }
.cat-thumb { display: block; aspect-ratio: 3 / 3.4; border-radius: 999px 999px 10px 10px; overflow: hidden; border: 1.5px solid var(--g-line-strong); background: var(--g-bone); margin-bottom: .55rem; transition: all var(--g-ease); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover { color: var(--g-turq-deep); }
.cat-card:hover .cat-thumb { border-color: var(--g-turq); box-shadow: 4px 5px 0 var(--g-turq-soft); transform: translateY(-3px); }
.cat-card:hover img { transform: scale(1.07); }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.2rem; }
.product-card { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all var(--g-ease); }
.product-card:hover { border-color: var(--g-line-strong); box-shadow: var(--g-shadow); transform: translateY(-4px); }
.product-media { position: relative; aspect-ratio: 1; background: var(--g-bone); overflow: hidden; display: block; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badges { position: absolute; top: .6rem; inset-inline-start: .6rem; display: flex; gap: .3rem; z-index: 1; }
.badge-soft { font-size: .68rem; padding: .1rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--g-ink); border: 1px solid var(--g-line); font-weight: 500; }
.badge-stock.in { color: var(--g-success); }
.badge-stock.low { color: var(--g-warn); }
.badge-stock.out { color: var(--g-danger); }
.product-body { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; flex: 1; }
.product-type { font-size: .74rem; color: var(--g-ink-soft); }
.product-title { font-size: .95rem; font-weight: 600; margin: .1rem 0 .35rem; }
.product-title a { color: var(--g-ink); }
.product-title a:hover { color: var(--g-turq-deep); }
.product-meta { font-size: .76rem; color: var(--g-ink-soft); margin-bottom: .6rem; }
.product-price { margin-top: auto; padding-bottom: .65rem; font-weight: 600; font-size: .98rem; }
.product-price .currency { font-size: .72rem; font-weight: 400; color: var(--g-ink-soft); margin-inline-start: .25rem; }
.product-price.is-unavailable .price-value { color: var(--g-ink-soft); text-decoration: line-through; text-decoration-thickness: 1px; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: .4rem; }
.product-actions .btn { padding: .4rem .6rem; font-size: .82rem; }

/* ---------- Filters (products page) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.4rem; }
.filter-tab { border: 1px solid var(--g-line-strong); background: #fff; color: var(--g-ink); border-radius: 999px; padding: .28rem 1rem; font-size: .84rem; transition: all var(--g-ease); }
.filter-tab:hover { border-color: var(--g-ink); }
.filter-tab.active { background: var(--g-ink); color: #fff; border-color: var(--g-ink); }
.filter-select { max-width: 190px; font-size: .86rem; border-radius: 999px; border-color: var(--g-line-strong); padding-block: .3rem; }
.result-count { color: var(--g-ink-soft); font-size: .84rem; margin-inline-start: auto; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--g-ink-soft); }
.empty-state i { font-size: 2.4rem; color: var(--g-line-strong); display: block; margin-bottom: .6rem; }

/* ---------- Split / story ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.story p { color: var(--g-ink-soft); }
.story-art { position: relative; background: var(--g-bone); border-radius: var(--g-radius-lg); padding: 1.5rem 1rem 0; overflow: hidden; border: 1.5px solid var(--g-line-strong); max-width: 520px; margin-inline: auto; width: 100%; }
.story-art::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern.svg") center / 64px; opacity: .06; }
.story-art img.badgir { position: relative; display: block; width: 100%; animation: float 10s ease-in-out infinite; }
.stat-row { display: flex; gap: 2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.stat strong { display: block; font-size: 1.3rem; font-weight: 600; color: var(--g-turq-deep); }
.stat span { font-size: .8rem; color: var(--g-ink-soft); }

/* ---------- Why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.why-card { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); padding: 1.4rem 1.2rem; position: relative; overflow: hidden; transition: all var(--g-ease); }
.why-card::after { content: ""; position: absolute; left: -26px; bottom: -26px; width: 90px; height: 90px; background: url("../images/pattern.svg") center / 45px; opacity: .08; transition: transform 1.2s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--g-shadow); }
.why-card:hover::after { transform: rotate(45deg); }
.why-ico { width: 46px; height: 46px; border-radius: 50% 50% 10px 10px; background: var(--g-turq-soft); color: var(--g-turq-deep); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .85rem; }
.why-card h3 { font-size: .98rem; margin-bottom: .3rem; }
.why-card p { font-size: .84rem; color: var(--g-ink-soft); margin: 0; }

/* ---------- Licenses ---------- */
.license-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.license-item { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); padding: .9rem 1.2rem; min-width: 260px; transition: all var(--g-ease); color: var(--g-ink); }
.license-item:hover { border-color: var(--g-turq); box-shadow: var(--g-shadow); color: var(--g-ink); }
.license-item img { width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--g-line); flex: none; }
.license-item strong { display: block; font-size: .92rem; font-weight: 600; }
.license-item span { font-size: .78rem; color: var(--g-ink-soft); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--g-ink); color: #fff; border-radius: var(--g-radius-lg); padding: 2.4rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern.svg") center / 64px; filter: invert(1); opacity: .06; }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: 1.3rem; margin-bottom: .2rem; }
.cta p { color: #c3ccd7; margin: 0; font-size: .9rem; }
.cta .btn-light { color: var(--g-ink); font-weight: 600; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--g-bone); border-bottom: 1px solid var(--g-line); padding: 2.2rem 0 2rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 4%; bottom: -10px; width: 90px; height: 190px; background: url("../images/wheat.svg") center / contain no-repeat; opacity: .5; transform-origin: bottom; animation: sway 7s ease-in-out infinite; }
.page-hero h1 { font-size: 1.6rem; margin: .4rem 0 .4rem; }
.page-hero p { color: var(--g-ink-soft); max-width: 640px; margin: 0; font-size: .92rem; }
.breadcrumb { font-size: .8rem; margin: 0; }
.breadcrumb-item a { color: var(--g-ink-soft); }
.breadcrumb-item + .breadcrumb-item::before { content: "‹"; padding-inline-end: .5rem; }

.panel { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); padding: 1.5rem; }
.panel-title { font-size: 1.05rem; margin-bottom: 1rem; }
.prose h2 { font-size: 1.1rem; margin: 1.8rem 0 .6rem; padding-inline-start: .8rem; border-inline-start: 3px solid var(--g-turq); }
.prose p, .prose li { color: var(--g-ink-2); font-size: .92rem; }
.placeholder-note { background: var(--g-warn-soft, #fdf4e3); border: 1px dashed #d9b96a; color: #6e4c06; border-radius: var(--g-radius); padding: .8rem 1rem; font-size: .86rem; }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: .9rem; background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); padding: 1.1rem; height: 100%; }
.contact-card .ico { width: 44px; height: 44px; flex: none; border-radius: 50% 50% 10px 10px; background: var(--g-turq-soft); color: var(--g-turq-deep); display: grid; place-items: center; font-size: 1.2rem; }
.contact-card h3 { font-size: .92rem; margin-bottom: .15rem; }
.contact-card p, .contact-card a.value { font-size: .88rem; color: var(--g-ink-soft); margin: 0; }
.contact-card a.value { color: var(--g-ink); font-weight: 600; }

.form-control, .form-select { border-radius: var(--g-radius); border-color: var(--g-line-strong); font-size: .9rem; padding: .55rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--g-turq); box-shadow: 0 0 0 3px var(--g-turq-soft); }
.form-label { font-size: .86rem; font-weight: 500; margin-bottom: .25rem; }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.pd-gallery { position: sticky; top: 130px; }
.pd-main { aspect-ratio: 1; border-radius: var(--g-radius-lg); overflow: hidden; background: var(--g-bone); border: 1px solid var(--g-line); max-width: 480px; margin-inline: auto; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: .5rem; justify-content: center; margin-top: .7rem; }
.pd-thumbs button { width: 64px; height: 64px; padding: 0; border: 1.5px solid var(--g-line); border-radius: 10px; overflow: hidden; background: none; }
.pd-thumbs button.active { border-color: var(--g-ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font-size: 1.45rem; margin: .3rem 0 .6rem; }
.pd-price { font-size: 1.3rem; font-weight: 600; margin: .8rem 0; }
.pd-price small { font-size: .78rem; color: var(--g-ink-soft); font-weight: 400; }
.specs { list-style: none; padding: 0; margin: 1.2rem 0; border: 1px solid var(--g-line); border-radius: var(--g-radius); overflow: hidden; }
.specs li { display: flex; justify-content: space-between; padding: .55rem 1rem; font-size: .88rem; }
.specs li:nth-child(odd) { background: var(--g-bone); }
.specs span { color: var(--g-ink-soft); }
.stock-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; border-radius: 999px; padding: .12rem .75rem; background: var(--g-bone); }
.stock-pill.in { color: var(--g-success); background: #e5f3ec; }
.stock-pill.low { color: var(--g-warn); background: #fdf1dc; }
.stock-pill.out { color: var(--g-danger); background: #fbe9e7; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--g-line-strong); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 34px; height: 36px; border: 0; background: transparent; color: var(--g-ink); }
.qty button:hover:not(:disabled) { background: var(--g-bone); }
.qty output { min-width: 30px; text-align: center; font-weight: 600; font-size: .92rem; }

/* ---------- Cart ---------- */
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--g-line); }
.cart-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; border: 1px solid var(--g-line); }
.cart-item-head { display: flex; justify-content: space-between; gap: .5rem; }
.cart-item-title { font-size: .92rem; margin: 0; }
.cart-item-title a { color: var(--g-ink); }
.cart-item-meta { font-size: .76rem; color: var(--g-ink-soft); }
.cart-item-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; }
.cart-item-price { font-weight: 600; font-size: .92rem; }
.cart-item-price small { font-weight: 400; font-size: .7rem; color: var(--g-ink-soft); }
.cart-remove { border: 0; background: transparent; color: var(--g-ink-soft); }
.cart-remove:hover { color: var(--g-danger); }
.cart-items { list-style: none; padding: 0; margin: 0; }
.sum-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .9rem; color: var(--g-ink-soft); }
.sum-row.total { color: var(--g-ink); font-weight: 600; font-size: 1rem; border-top: 1px dashed var(--g-line-strong); margin-top: .4rem; padding-top: .8rem; }
.note { font-size: .78rem; color: var(--g-ink-soft); margin: .8rem 0 0; }
.cart-drawer { width: 400px; }
.cart-drawer .offcanvas-header { border-bottom: 1px solid var(--g-line); }
.cart-drawer .offcanvas-title small { font-size: .78rem; color: var(--g-ink-soft); font-weight: 400; }
.cart-empty { text-align: center; padding: 2.5rem 1rem; color: var(--g-ink-soft); }
.cart-empty .ico { width: 70px; height: 70px; margin: 0 auto 1rem; border-radius: 50% 50% 10px 10px; background: var(--g-turq-soft); color: var(--g-turq-deep); font-size: 1.8rem; display: grid; place-items: center; }
.cart-empty h3 { font-size: 1.05rem; color: var(--g-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--g-ink); color: #c8d0da; position: relative; margin-top: 0; }
.footer-art { background: var(--g-ink); line-height: 0; overflow: hidden; border-top: 1px solid var(--g-line); }
.footer-top { padding: 3.2rem 0 2rem; position: relative; }
.footer-top::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern.svg") center / 64px; filter: invert(1); opacity: .045; pointer-events: none; }
.footer-top .container { position: relative; }
.site-footer .brand, .site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #aab5c2; }
.site-footer .brand-mark { background: #fff; border-radius: 10px; padding: 4px 6px; }
.site-footer h2 { color: #fff; font-size: .98rem; margin-bottom: 1rem; }
.footer-about { font-size: .86rem; margin: .9rem 0 0; color: #b7c1cd; }
.footer-links { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.footer-links li { margin-bottom: .45rem; }
.site-footer a { color: #c8d0da; }
.site-footer a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; }
.footer-contact i { color: #9fd0c9; margin-top: .2rem; }
.footer-trust { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-trust a { background: #fff; border-radius: 10px; padding: 4px; display: block; }
.footer-trust img { width: 52px; height: 52px; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1rem 0; font-size: .8rem; position: relative; }
.footer-wheat { height: 56px; width: 100%; background: url("../images/pattern.svg") center / 40px; filter: invert(1); opacity: .08; }

/* ---------- Mobile bar / toast / back-to-top ---------- */
.mobile-bar { display: none; }
.toast-stack { position: fixed; bottom: 1.2rem; inset-inline-start: 1.2rem; z-index: 3000; display: grid; gap: .5rem; }
.g-toast { display: flex; align-items: center; gap: .6rem; background: var(--g-ink); color: #fff; padding: .65rem 1rem; border-radius: var(--g-radius); box-shadow: var(--g-shadow); font-size: .86rem; animation: toastIn .35s ease; max-width: 340px; }
.g-toast.success i { color: #8fdcc3; } .g-toast.error i { color: #f2a39c; }
.g-toast .btn-link { color: #9fd0c9; padding: 0; font-size: .82rem; margin-inline-start: .4rem; }
.g-toast.hide { opacity: 0; transform: translateY(8px); transition: all .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
.back-to-top { position: fixed; bottom: 1.2rem; inset-inline-end: 1.2rem; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--g-ink); color: #fff; opacity: 0; pointer-events: none; transition: all var(--g-ease); z-index: 1000; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .7s ease, transform var(--g-ease), box-shadow var(--g-ease), border-color var(--g-ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .header-main { min-height: 62px; gap: .6rem; }
  .brand-mark { width: auto; height: 42px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tag { display: none; }
  .header-actions { margin-inline-start: auto; }
  .hero { padding-top: 2rem; }
  .hero-title { font-size: 1.6rem; }
  .hero-visual { height: 330px; margin-top: 1.5rem; }
  .hero-arch { width: 140px; height: 190px; border-radius: 70px 70px 8px 8px; }
  .hero-arch.b { width: 112px; height: 150px; top: 48px; border-radius: 56px 56px 8px 8px; }
  .hero-badgir { max-width: 320px; }
  .hero-wheat { height: 140px; } .hero-wheat.w2 { height: 110px; } .hero-wheat.w3 { height: 125px; }
  .feature-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-inline-start: 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; gap: 2rem; }
  .pd { grid-template-columns: 1fr; gap: 1.5rem; }
  .pd-gallery { position: static; }
  .section { padding: 3rem 0; }
  .offcanvas-lg .navbar-nav { padding-top: .5rem; }
  .main-nav .nav-link::after { display: none; }
  .dropdown-mega { grid-template-columns: 1fr; min-width: 0; }
  .dropdown-menu { border: 0; box-shadow: none; padding-inline-start: 1rem; }
  body { padding-bottom: 64px; }
  .mobile-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 1040; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--g-line); padding: .35rem 0; }
  .mobile-bar a, .mobile-bar button { border: 0; background: none; color: var(--g-ink-soft); font-size: .66rem; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .2rem 0; position: relative; font-family: inherit; }
  .mobile-bar i { font-size: 1.25rem; }
  .mobile-bar .active { color: var(--g-ink); font-weight: 600; }
  .mobile-bar .cart-count { top: -2px; inset-inline-start: 50%; margin-inline-start: 4px; }
  .back-to-top { bottom: 4.8rem; }
  .toast-stack { bottom: 4.8rem; inset-inline: 1rem; }
  .page-hero::after { height: 140px; width: 64px; }
}
@media (max-width: 575.98px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .product-body { padding: .65rem .65rem .8rem; }
  .product-title { font-size: .86rem; }
  .product-meta { display: none; }
  .product-actions { grid-template-columns: 1fr; }
  .product-actions .btn-add-text { display: inline; }
  .why-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; }
  .cart-drawer { width: 100%; }
  .cta { padding: 1.8rem 1.3rem; }
  .strip-item { padding: .8rem .5rem; font-size: .76rem; }
  .strip-item i { font-size: 1.1rem; }
  .result-count { width: 100%; margin: 0; }
  .filter-select { max-width: none; flex: 1; }
}

/* ---------- Hero visual v2: gold & silver products + wheat ---------- */
.hero-visual { height: 420px; max-width: 520px; }
.hv-arch { position: absolute; border: 2px solid var(--g-ink); background: #fff; overflow: hidden; z-index: 2; transition: transform var(--g-ease); }
.hv-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-arch.a { width: 215px; height: 290px; top: 8px; right: 6%; border-radius: 108px 108px 12px 12px; box-shadow: 10px 10px 0 var(--g-turq-soft); }
.hv-arch.b { width: 175px; height: 235px; bottom: 6px; left: 4%; border-radius: 88px 88px 12px 12px; box-shadow: -9px 9px 0 var(--g-bone-2); }
.hv-round { position: absolute; width: 118px; height: 118px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--g-ink), var(--g-shadow); overflow: hidden; z-index: 3; bottom: 26px; right: 30%; }
.hv-round img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-chip { position: absolute; bottom: 12px; inset-inline: 0; margin-inline: auto; width: max-content; font-size: .72rem; font-weight: 500; background: rgba(255, 255, 255, .94); color: var(--g-ink); border-radius: 999px; padding: .08rem .75rem; border: 1px solid var(--g-line); }
.hv-chip.silver { color: var(--g-silver, #5f6673); }
.hv-wheat { position: absolute; bottom: 0; transform-origin: bottom center; animation: sway 6s ease-in-out infinite; z-index: 1; }
.hv-wheat.w1 { height: 230px; width: auto; left: 38%; bottom: 0; }
.hv-wheat.w2 { height: 170px; width: auto; right: 0; bottom: 0; animation-delay: -2s; }
.hv-wheat.w3 { height: 190px; width: auto; left: 0; top: 4px; animation-delay: -4s; }

/* ---------- Story visual (intro section) ---------- */
.story-visual { position: relative; max-width: 560px; margin-inline: auto; width: 100%; padding-inline: 34px; }
.story-visual .story-art { margin: 0; max-width: none; }
.sv-wheat { position: absolute; bottom: 0; height: 74%; width: auto; transform-origin: bottom center; animation: sway 6.5s ease-in-out infinite; z-index: 1; }
.sv-wheat.l { left: -6px; }
.sv-wheat.r { right: -6px; animation-delay: -3s; height: 62%; }

/* About page: wheat-only art */
.wheat-art { display: flex; align-items: flex-end; justify-content: center; gap: .6rem; min-height: 300px; padding: 2rem 1.5rem 0; border-radius: var(--g-radius-lg); }
.wheat-art .wa { height: 190px; width: auto; transform-origin: bottom center; animation: sway 6s ease-in-out infinite; position: relative; }
.wheat-art .wa.w2 { height: 250px; animation-delay: -2s; }
.wheat-art .wa.w3 { animation-delay: -4s; }

@media (max-width: 991.98px) {
  .hero-visual { height: 340px; }
  .hv-arch.a { width: 160px; height: 218px; border-radius: 80px 80px 10px 10px; right: 8%; }
  .hv-arch.b { width: 132px; height: 178px; border-radius: 66px 66px 10px 10px; left: 6%; }
  .hv-round { width: 92px; height: 92px; right: 32%; bottom: 20px; }
  .hv-wheat.w1 { height: 180px; } .hv-wheat.w2 { height: 130px; } .hv-wheat.w3 { height: 150px; }
  .story-visual { padding-inline: 26px; }
}

.pd-features { list-style: none; padding: 0; margin: .8rem 0 0; font-size: .88rem; color: var(--g-ink-2); }
.pd-features li { position: relative; padding-inline-start: 1.3rem; margin-bottom: .3rem; }
.pd-features li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--g-turq); }

/* ================= About page ================= */
.ab-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--g-bone), #fff); padding: 1.6rem 0 3rem; }
.ab-hero::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern.svg") center / 64px; opacity: .06; mask-image: linear-gradient(to left, #000, transparent 75%); -webkit-mask-image: linear-gradient(to left, #000, transparent 75%); }
.ab-hero .container { position: relative; }
.ab-title { font-size: 2rem; line-height: 1.7; margin: .3rem 0 .8rem; }
.ab-title .accent { color: var(--g-turq-deep); }
.ab-lead { color: var(--g-ink-soft); max-width: 520px; }
.ab-stats { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; margin-top: 1.6rem; }
.ab-stat { background: #fff; border: 1px solid var(--g-line); border-radius: 16px; padding: .7rem 1.1rem; min-width: 128px; transition: all var(--g-ease); }
.ab-stat:hover { border-color: var(--g-turq); transform: translateY(-3px); box-shadow: var(--g-shadow); }
.ab-stat strong { display: block; font-size: 1.35rem; color: var(--g-turq-deep); line-height: 1.5; }
.ab-stat span { font-size: .78rem; color: var(--g-ink-soft); }
.ab-art { position: relative; height: 360px; max-width: 400px; margin-inline: auto; }
.ab-arch { position: absolute; border: 2px solid var(--g-ink); background: #fff; overflow: hidden; }
.ab-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-arch { width: 200px; height: 270px; top: 0; right: 8%; border-radius: 100px 100px 12px 12px; box-shadow: 9px 9px 0 var(--g-turq-soft); animation: float 8s ease-in-out infinite; }
.ab-arch.b { width: 150px; height: 200px; top: auto; bottom: 0; right: auto; left: 2%; border-radius: 75px 75px 12px 12px; box-shadow: -8px 8px 0 var(--g-bone-2); animation-delay: -3s; }
.ab-wheat { position: absolute; bottom: 0; width: auto; transform-origin: bottom center; animation: sway 6s ease-in-out infinite; z-index: -1; }
.ab-wheat.w1 { height: 200px; left: 38%; }
.ab-wheat.w2 { height: 150px; right: 0; animation-delay: -2.5s; }

.ab-quote { position: relative; margin: 0; padding: 2.4rem 1.8rem 1.8rem; background: var(--g-ink); color: #fff; border-radius: 28px 28px 14px 14px; overflow: hidden; text-align: center; }
.ab-quote::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern.svg") center / 56px; filter: invert(1); opacity: .06; }
.ab-quote > * { position: relative; }
.ab-quote .q-mark { display: block; font-size: 3.6rem; line-height: .6; color: #9fd0c9; }
.ab-quote blockquote { font-size: 1.5rem; font-weight: 600; margin: .8rem 0 .5rem; line-height: 1.7; }
.ab-quote figcaption { color: #b8c2cf; font-size: .84rem; }
.ab-quote .q-wheat { position: absolute; bottom: -8px; inset-inline-start: 14px; height: 90px; width: auto; opacity: .35; filter: invert(1); transform-origin: bottom; animation: sway 7s ease-in-out infinite; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.value-card { position: relative; background: #fff; border: 1px solid var(--g-line); border-radius: 20px 20px 12px 12px; padding: 1.5rem 1.2rem 1.3rem; overflow: hidden; transition: all var(--g-ease); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--g-shadow); border-color: var(--g-turq); }
.value-card .v-no { position: absolute; top: .6rem; inset-inline-end: 1rem; font-size: 2.2rem; font-weight: 700; color: var(--g-bone-2); line-height: 1; }
.value-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.value-card p { font-size: .84rem; color: var(--g-ink-soft); margin: 0; }

.ab-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g-line); border-radius: 20px; overflow: hidden; color: var(--g-ink); transition: all var(--g-ease); height: 100%; }
.ab-tile:hover { transform: translateY(-5px); box-shadow: var(--g-shadow); color: var(--g-ink); }
.ab-tile .t-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--g-bone); }
.ab-tile .t-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s ease; }
.ab-tile:hover .t-imgs img { transform: scale(1.06); }
.ab-tile .t-imgs { overflow: hidden; }
.ab-tile .t-body { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.2rem 1.2rem; }
.ab-tile strong { font-size: 1.05rem; }
.ab-tile small { color: var(--g-ink-soft); font-size: .82rem; }
.ab-tile .t-go { margin-top: .5rem; color: var(--g-turq-deep); font-weight: 600; font-size: .86rem; }

.ab-symbol { display: flex; gap: 1.5rem; align-items: center; height: 100%; background: #fff; border: 1px solid var(--g-line); border-radius: 22px; padding: 1.6rem; }
.ab-symbol > img { height: 150px; width: auto; flex: none; transform-origin: bottom; animation: sway 6s ease-in-out infinite; }
.ab-symbol p { color: var(--g-ink-soft); margin: 0; font-size: .92rem; }
.ab-glance { height: 100%; background: #fff; border: 1px solid var(--g-line); border-radius: 22px; padding: 1.6rem; }
.ab-glance h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.ab-glance ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.ab-glance li { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; }
.ab-glance li > i { width: 38px; height: 38px; flex: none; border-radius: 50% 50% 8px 8px; background: var(--g-turq-soft); color: var(--g-turq-deep); display: grid; place-items: center; font-size: 1.05rem; }
.ab-glance small { display: block; color: var(--g-ink-soft); font-size: .74rem; }

@media (max-width: 991.98px) {
  .ab-title { font-size: 1.55rem; }
  .ab-art { height: 300px; }
  .ab-arch { width: 160px; height: 218px; border-radius: 80px 80px 10px 10px; }
  .ab-arch.b { width: 120px; height: 162px; border-radius: 60px 60px 10px 10px; }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .values { grid-template-columns: 1fr; }
  .ab-symbol { flex-direction: column; text-align: center; }
  .ab-stat { min-width: calc(50% - .6rem); flex: 1; }
}

/* ================= Rules page (accordion) ================= */
.rl-hero { position: relative; overflow: hidden; background: var(--g-bone); border-bottom: 1px solid var(--g-line); padding: 1.6rem 0 2rem; }
.rl-hero::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern.svg") center / 64px; opacity: .06; mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); }
.rl-hero::after { content: ""; position: absolute; left: 6%; bottom: -8px; width: 80px; height: 170px; background: url("../images/wheat.svg") center / contain no-repeat; opacity: .5; transform-origin: bottom; animation: sway 7s ease-in-out infinite; }
.rl-hero .container { position: relative; }
.rl-hero-row { display: flex; align-items: center; gap: 1.1rem; margin-top: 1rem; }
.rl-hero-ico { flex: none; width: 66px; height: 74px; border-radius: 33px 33px 12px 12px; background: #fff; border: 2px solid var(--g-ink); display: grid; place-items: center; font-size: 1.8rem; box-shadow: 5px 5px 0 var(--g-turq-soft); }
.rl-hero h1 { font-size: 1.6rem; margin: 0 0 .2rem; }
.rl-hero p { margin: 0; color: var(--g-ink-soft); font-size: .92rem; max-width: 560px; }
.rl-section { background: linear-gradient(180deg, var(--g-bone) 0, #fff 200px); padding-top: 2rem; }

.rl-intro { background: #fff; border: 1px solid var(--g-line); border-inline-start: 4px solid var(--g-turq); border-radius: 14px; padding: 1rem 1.2rem; font-size: .9rem; color: var(--g-ink-2); margin-bottom: 1.6rem; }
.rl-group { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; margin: 1.6rem 0 .9rem; scroll-margin-top: 130px; }
.rl-group:first-of-type { margin-top: 0; }
.rl-gico { width: 36px; height: 40px; border-radius: 18px 18px 8px 8px; background: var(--g-turq-soft); color: var(--g-turq-deep); display: grid; place-items: center; font-size: 1.05rem; }

.rl-acc { --bs-accordion-border-width: 0; --bs-accordion-bg: transparent; display: grid; gap: .65rem; }
.rl-item { background: #fff; border: 1px solid var(--g-line) !important; border-radius: 16px !important; overflow: hidden; position: relative; transition: all var(--g-ease); scroll-margin-top: 130px; }
.rl-item[hidden] { display: none; }
.rl-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--g-turq); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.rl-item:hover { border-color: var(--g-line-strong) !important; box-shadow: var(--g-shadow-sm); }
.rl-item:has(.accordion-button:not(.collapsed)) { border-color: var(--g-turq) !important; box-shadow: var(--g-shadow); }
.rl-item:has(.accordion-button:not(.collapsed))::before { transform: scaleY(1); }
.rl-item .accordion-button { background: transparent; box-shadow: none; padding: 1rem 1.15rem; gap: .8rem; font-family: inherit; color: var(--g-ink); }
.rl-item .accordion-button:not(.collapsed) { background: var(--g-bone); color: var(--g-ink); }
.rl-item .accordion-button:focus-visible { outline: 2px solid var(--g-turq-deep); outline-offset: -2px; }
.rl-item .accordion-button::after { margin-inline-start: auto; margin-inline-end: 0; }
.rl-no { flex: none; width: 30px; height: 34px; border-radius: 15px 15px 6px 6px; background: var(--g-bone-2); color: var(--g-ink); font-size: .82rem; font-weight: 700; display: grid; place-items: center; transition: all var(--g-ease); }
.rl-item .accordion-button:not(.collapsed) .rl-no { background: var(--g-ink); color: #fff; }
.rl-ico { font-size: 1.15rem; color: var(--g-turq-deep); }
.rl-title { font-weight: 600; font-size: .96rem; }
.rl-item .accordion-body { padding: .3rem 1.4rem 1.2rem 1.4rem; color: var(--g-ink-2); font-size: .92rem; line-height: 2; }
.rl-item .accordion-body p { margin: 0; }
.rl-item .accordion-body p + p { margin-top: .6rem; }
.rl-todo { background: #fdf4e3; border: 1px dashed #d9b96a; color: #6e4c06; border-radius: 10px; padding: .45rem .8rem; font-size: .82rem !important; line-height: 1.8; }

.rl-side { position: sticky; top: 130px; display: grid; gap: .9rem; }
.rl-search { position: relative; }
.rl-search i { position: absolute; top: 50%; inset-inline-start: .95rem; transform: translateY(-50%); color: var(--g-turq-deep); }
.rl-search input { width: 100%; height: 46px; border: 1px solid var(--g-line-strong); border-radius: 999px; background: #fff; padding: 0 2.6rem 0 1rem; font-size: .88rem; }
.rl-search input:focus { outline: none; border-color: var(--g-turq); box-shadow: 0 0 0 3px var(--g-turq-soft); }
.rl-tools { display: flex; gap: .5rem; flex-wrap: wrap; }
.rl-nav { display: grid; gap: .4rem; }
.rl-nav a { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--g-line); border-radius: 14px; padding: .65rem .9rem; color: var(--g-ink); font-size: .88rem; transition: all var(--g-ease); }
.rl-nav a i { color: var(--g-turq-deep); font-size: 1.1rem; }
.rl-nav a b { margin-inline-start: auto; background: var(--g-bone-2); border-radius: 999px; font-size: .74rem; padding: 0 .55rem; }
.rl-nav a:hover { border-color: var(--g-turq); transform: translateX(-3px); color: var(--g-ink); }
.rl-help { display: flex; gap: .8rem; align-items: flex-end; background: var(--g-ink); color: #fff; border-radius: 18px; padding: 1rem 1.1rem; overflow: hidden; position: relative; }
.rl-help img { height: 86px; width: auto; filter: invert(1); opacity: .4; flex: none; }
.rl-help strong { display: block; }
.rl-help span { display: block; font-size: .8rem; color: #c3ccd7; margin: .1rem 0 .3rem; }
.rl-help a { color: #9fd0c9; font-weight: 600; }
.rl-empty { text-align: center; padding: 2rem 1rem; color: var(--g-ink-soft); }
.rl-empty i { font-size: 2rem; display: block; color: var(--g-line-strong); }
.rl-source { margin: 1.4rem 0 0; font-size: .8rem; color: var(--g-ink-soft); }

@media (max-width: 991.98px) {
  .rl-side { position: static; }
  .rl-hero h1 { font-size: 1.3rem; }
  .rl-hero-ico { width: 54px; height: 60px; font-size: 1.5rem; }
  .rl-hero::after { display: none; }
}

/* ---------- Contact page extras ---------- */
.contact-card { align-items: center; transition: box-shadow var(--g-ease), transform var(--g-ease); }
.contact-card:hover { box-shadow: var(--g-shadow); transform: translateY(-2px); }
.panel-title i { color: var(--g-turq-deep); margin-inline-end: .3rem; }
.panel-sub { font-size: .86rem; color: var(--g-ink-soft); margin-bottom: 1.1rem; }
.map-frame { border-radius: var(--g-radius); overflow: hidden; border: 1px solid var(--g-line); aspect-ratio: 4 / 3; background: var(--g-bone); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-address { font-size: .88rem; color: var(--g-ink-soft); margin: .9rem 0; }
.map-address i { color: var(--g-turq-deep); }
.map-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Soon badge & help CTA ---------- */
.soon-badge { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--g-warn); background: #fbf1dc; border: 1px solid #ecd9aa; border-radius: 999px; padding: .1rem .65rem; margin-inline-start: auto; white-space: nowrap; }
.cta-help { padding: 2.2rem 2.4rem; gap: 1.4rem; background: linear-gradient(135deg, var(--g-ink) 0%, #3b4757 100%); }
.cta-help::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(90, 163, 154, .35), transparent 70%); pointer-events: none; }
.cta-ico { width: 64px; height: 64px; flex: none; border-radius: 50% 50% 14px 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 1.7rem; color: #9fd0c9; }
.cta-help .cta-text { flex: 1 1 260px; }
.cta-help h2 { font-size: 1.4rem; margin-bottom: .35rem; }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cta-help .btn-outline-light { font-weight: 600; }
@media (max-width: 767.98px) {
  .cta-help { padding: 1.6rem 1.2rem; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}
