/* ==========================================================================
   Cheapest Theme - layout.css
   Header, navigation, drawer, hero, homepage sections, product cards, footer.
   ========================================================================== */

/* ---------- Announcement bar ---------- */
.ch-announce { background: var(--ch-primary-dark); color: #fff; font-size: .82rem; }
.ch-announce__inner { display: flex; justify-content: center; padding-block: 8px; }
.ch-announce p { margin: 0; text-align: center; }
.ch-announce a { color: #FFD2A3; font-weight: 600; margin-inline-start: 8px; text-decoration: underline; }
.ch-announce a:hover { color: #fff; }

/* ---------- Header ---------- */
.ch-header { background: var(--ch-header-bg); border-bottom: 1px solid var(--ch-border); position: relative; z-index: 60; }
.ch-sticky-header .ch-header { position: sticky; top: 0; box-shadow: 0 1px 0 var(--ch-border); }
.admin-bar.ch-sticky-header .ch-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.ch-sticky-header .ch-header { top: 46px; } }
.ch-header__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 64px; }
.ch-header__menu { display: inline-flex; }
.ch-header__logo { display: flex; align-items: center; }
.ch-logo { display: inline-flex; align-items: center; }
.ch-logo__img { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.ch-header__search { display: none; }
.ch-header__actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.ch-header__account { display: none; }
.ch-header__mobilesearch { padding: 0 0 12px; }
.ch-header__mobilesearch[hidden] { display: none; }

/* Search */
.ch-search { position: relative; display: flex; align-items: stretch; width: 100%; border: 2px solid var(--ch-primary); border-radius: 12px; background: #fff; }
.ch-search:focus-within { box-shadow: 0 0 0 3px rgba(11, 107, 75, .18); }
.ch-search__cat { width: auto; max-width: 180px; min-height: 44px; border: 0 !important; border-inline-end: 1px solid var(--ch-border) !important; border-radius: 10px 0 0 10px !important; background-color: #F1F5F3; font-size: .85rem; box-shadow: none !important; }
.ch-search__input { flex: 1; min-width: 0; min-height: 44px; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent; }
.ch-search__btn { display: grid; place-items: center; width: 52px; border: 0; background: var(--ch-primary); color: #fff; border-radius: 0 9px 9px 0; }
.ch-search__btn:hover { background: var(--ch-primary-dark); }
.ch-search__results { position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 80; background: #fff; border: 1px solid var(--ch-border); border-radius: 14px; box-shadow: var(--ch-shadow-lg); max-height: 70vh; overflow: auto; }
.ch-search__results[hidden] { display: none; }
.ch-sresult { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; color: var(--ch-text); text-decoration: none; border-bottom: 1px solid #EEF2F0; }
.ch-sresult:hover, .ch-sresult[aria-selected="true"] { background: var(--ch-primary-tint); text-decoration: none; }
.ch-sresult img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: #f1f3f2; }
.ch-sresult__t { font-weight: 500; line-height: 1.3; }
.ch-sresult__sku { display: block; font-size: .78rem; color: var(--ch-muted); }
.ch-sresult__p { font-weight: 700; white-space: nowrap; }
.ch-sresult__stock { display: block; font-size: .72rem; font-weight: 600; text-align: end; }
.ch-sresult__stock.in { color: var(--ch-success); }
.ch-sresult__stock.low { color: var(--ch-warning); }
.ch-sresult__stock.out { color: var(--ch-error); }
.ch-search__msg { padding: 14px; color: var(--ch-muted); }
.ch-search__all { display: block; padding: 12px 14px; font-weight: 600; text-align: center; }

/* Account */
.ch-auth-links { display: flex; align-items: center; gap: 8px; }
.ch-menu { position: relative; }
.ch-menu__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--ch-border); border-radius: 999px; background: #fff; }
.ch-menu__toggle:hover { border-color: var(--ch-primary); }
.ch-menu__label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; font-size: .9rem; }
.ch-menu__panel { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 90; min-width: 240px; background: #fff; border: 1px solid var(--ch-border); border-radius: 14px; box-shadow: var(--ch-shadow-lg); padding: 8px; }
.ch-menu__panel[hidden] { display: none; }
.ch-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 10px; border-bottom: 1px solid var(--ch-border); margin-bottom: 6px; }
.ch-menu__item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; color: var(--ch-text); font-weight: 500; }
.ch-menu__item:hover { background: var(--ch-primary-tint); color: var(--ch-primary-dark); text-decoration: none; }

/* Primary nav bar */
.ch-nav { display: none; background: var(--ch-primary); color: #fff; position: relative; }
.ch-nav__row { display: flex; align-items: center; gap: 4px; min-height: 48px; }
.ch-nav__cats { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border: 0; background: var(--ch-accent); color: #fff; font-weight: 600; border-radius: 0; }
.ch-nav__cats:hover, .ch-nav__cats[aria-expanded="true"] { background: var(--ch-accent-dark); }
.ch-nav__list { display: flex; align-items: center; list-style: none; gap: 2px; margin: 0; padding: 0; }
.ch-nav__list a { display: inline-flex; align-items: center; height: 48px; padding: 0 14px; color: #fff; font-weight: 500; font-size: .93rem; text-decoration: none; }
.ch-nav__list a:hover, .ch-nav__list .current-menu-item > a { background: rgba(255, 255, 255, .14); text-decoration: none; }
.ch-nav__list li { position: relative; }
.ch-nav__list .sub-menu { position: absolute; top: 100%; inset-inline-start: 0; z-index: 70; display: none; min-width: 220px; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 0 0 12px 12px; box-shadow: var(--ch-shadow-lg); }
.ch-nav__list li:hover > .sub-menu, .ch-nav__list li:focus-within > .sub-menu { display: block; }
.ch-nav__list .sub-menu a { color: var(--ch-text); height: auto; padding: 10px 12px; border-radius: 8px; }
.ch-nav__list .sub-menu a:hover { background: var(--ch-primary-tint); }
.ch-nav__track { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; color: #fff; font-weight: 500; font-size: .9rem; }
.ch-nav__track:hover { color: #FFD2A3; text-decoration: none; }
.ch-catpanel { position: absolute; inset-inline: 0; top: 100%; z-index: 65; background: #fff; color: var(--ch-text); border-bottom: 1px solid var(--ch-border); box-shadow: var(--ch-shadow-lg); }
.ch-catpanel[hidden] { display: none; }
.ch-catpanel__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 28px; padding-block: 22px; }
.ch-catpanel__parent { display: block; font-weight: 700; color: var(--ch-primary-dark); margin-bottom: 6px; }
.ch-catpanel__child { display: block; padding: 3px 0; color: var(--ch-text); font-size: .9rem; }
.ch-catpanel__child:hover { color: var(--ch-accent-dark); }

@media (min-width: 992px) {
	.ch-header__row { grid-template-columns: 220px 1fr auto; gap: 24px; min-height: 84px; }
	.ch-header__menu, .ch-header__searchtoggle { display: none; }
	.ch-header__search { display: block; }
	.ch-header__mobilesearch { display: none !important; }
	.ch-header__account { display: block; margin-inline-start: 8px; }
	.ch-nav { display: block; }
	.ch-logo__img { height: 60px; max-width: 220px; }
}

/* ---------- Mobile drawer ---------- */
.ch-drawer { position: fixed; inset: 0; z-index: 9980; visibility: hidden; pointer-events: none; }
.ch-drawer.is-open { visibility: visible; pointer-events: auto; }
.ch-drawer__scrim { position: absolute; inset: 0; background: rgba(15, 30, 24, .55); opacity: 0; transition: opacity .2s ease; }
.ch-drawer.is-open .ch-drawer__scrim { opacity: 1; }
.ch-drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 360px); background: #fff; display: flex; flex-direction: column; transform: translateX(-102%); transition: transform .22s ease; box-shadow: var(--ch-shadow-lg); }
.ch-drawer.is-open .ch-drawer__panel { transform: none; }
.ch-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--ch-border); }
.ch-drawer__body { flex: 1; overflow-y: auto; padding: 16px; }
.ch-drawer__auth { display: grid; gap: 10px; margin-bottom: 8px; }
.ch-drawer__user { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; }
.ch-drawer__title { font-size: .8rem; font-weight: 600; color: var(--ch-muted); margin: 20px 0 8px; }
.ch-drawer__links { display: grid; }
.ch-drawer__links a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; color: var(--ch-text); font-weight: 500; border-radius: 8px; }
.ch-drawer__links a:hover { background: var(--ch-primary-tint); text-decoration: none; }
.ch-drawer__cats .ch-acc { border: 0; border-bottom: 1px solid var(--ch-border); border-radius: 0; margin: 0; background: transparent; }
.ch-drawer__cats .ch-acc > a { padding: 8px 16px; color: var(--ch-text); }
body.ch-noscroll { overflow: hidden; }

/* ---------- Bottom nav (mobile) ---------- */
.ch-bottomnav { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border-top: 1px solid var(--ch-border); padding-bottom: env(safe-area-inset-bottom, 0); box-shadow: 0 -4px 16px rgba(11, 40, 30, .06); }
.ch-bottomnav a, .ch-bottomnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; border: 0; background: transparent; color: var(--ch-muted); font-size: .7rem; font-weight: 500; text-decoration: none; }
.ch-bottomnav a.is-active { color: var(--ch-primary); }
.ch-bottomnav a:hover, .ch-bottomnav button:hover { color: var(--ch-primary); text-decoration: none; }
.ch-bottomnav__icon { position: relative; display: inline-flex; }
.ch-bottomnav .ch-badge-count { top: -6px; inset-inline-end: -10px; }
.ch-has-bottom-nav { padding-bottom: 64px; }
@media (min-width: 992px) { .ch-bottomnav { display: none; } .ch-has-bottom-nav { padding-bottom: 0; } }

.ch-totop { position: fixed; inset-inline-end: 16px; bottom: 76px; z-index: 65; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ch-primary); color: #fff; box-shadow: var(--ch-shadow-lg); }
.ch-totop[hidden] { display: none; }
@media (min-width: 992px) { .ch-totop { bottom: 24px; } }

/* ---------- Hero slider ---------- */
.ch-hero { position: relative; background: var(--ch-primary-dark); overflow: hidden; }
.ch-hero__track { display: grid; }
.ch-slide { grid-area: 1 / 1; position: relative; aspect-ratio: 750 / 1000; max-height: 640px; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.ch-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.ch-slide__pic, .ch-slide__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-slide__content { position: relative; z-index: 3; height: 100%; display: flex; align-items: flex-start; padding-top: 28px; }
.ch-slide__copy { max-width: 560px; }
.ch-slide--dark { color: #fff; }
.ch-slide--dark .ch-slide__title { color: #fff; }
.ch-slide--light { color: var(--ch-text); }
.ch-slide--light .ch-btn--ghost-light { background: transparent; color: var(--ch-primary); border-color: var(--ch-primary); }
.ch-slide--light .ch-btn--ghost-light:hover { background: var(--ch-primary); color: #fff; }
.ch-slide__title { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem); line-height: 1.12; margin-bottom: 12px; }
.ch-slide__text { font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); opacity: .95; margin-bottom: 20px; max-width: 46ch; }
.ch-slide__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-hero__controls { position: absolute; inset-inline: 0; bottom: 12px; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 10px; pointer-events: none; }
.ch-hero__controls > * { pointer-events: auto; }
.ch-hero__dots { display: flex; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .28); }
.ch-hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.ch-hero__dot.is-active { background: var(--ch-accent); width: 26px; border-radius: 6px; transition: width .2s ease; }
.ch-hero__arrow, .ch-hero__pause { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ch-primary-dark); box-shadow: var(--ch-shadow); }
.ch-hero__pause { display: inline-flex; width: 34px; height: 34px; background: rgba(0, 0, 0, .28); color: #fff; }
.ch-hero__pause.is-paused { background: var(--ch-accent); }
@media (min-width: 641px) {
	.ch-slide { aspect-ratio: 1200 / 600; max-height: 520px; }
	.ch-slide__content { align-items: center; padding-top: 0; }
	.ch-slide__copy { max-width: 46%; }
}
@media (min-width: 1025px) {
	.ch-slide { aspect-ratio: 1920 / 700; max-height: 560px; }
	.ch-hero__arrow { display: inline-flex; position: absolute; top: 50%; transform: translateY(-50%); }
	.ch-hero__arrow--prev { inset-inline-start: 16px; }
	.ch-hero__arrow--next { inset-inline-end: 16px; }
	.ch-hero__controls { bottom: 18px; }
}
@media (min-width: 641px) and (max-width: 1024px) { .ch-hero__arrow { display: none; } }

/* ---------- Trust ---------- */
.ch-trust { padding-block: 22px 8px; }
.ch-trust__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ch-trust__item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--ch-border); border-radius: var(--ch-radius); }
.ch-trust__item img { width: 48px; height: 48px; flex: none; }
.ch-trust__item strong { display: block; font-size: .88rem; line-height: 1.25; }
.ch-trust__item span { display: block; font-size: .78rem; color: var(--ch-muted); line-height: 1.3; margin-top: 2px; }
@media (min-width: 768px) { .ch-trust__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ch-trust__list { grid-template-columns: repeat(6, 1fr); } .ch-trust__item { flex-direction: column; text-align: center; padding: 16px 10px; } }

/* ---------- Category cards ---------- */
.ch-cats__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ch-catcard { display: grid; gap: 8px; text-align: center; color: var(--ch-text); text-decoration: none; }
.ch-catcard:hover { text-decoration: none; }
.ch-catcard__media { display: block; overflow: hidden; border-radius: 18px; border: 1px solid var(--ch-border); background: #fff; aspect-ratio: 1; }
.ch-catcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ch-catcard:hover .ch-catcard__media img { transform: scale(1.04); }
.ch-catcard__title { font-weight: 600; font-size: .92rem; }
.ch-catcard:hover .ch-catcard__title { color: var(--ch-primary); }
@media (min-width: 640px) { .ch-cats__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .ch-cats__grid { grid-template-columns: repeat(8, 1fr); } }

/* ---------- Promo tiles ---------- */
.ch-promos__grid { display: grid; gap: 14px; }
.ch-promo { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 2 / 1; color: var(--ch-text); text-decoration: none; background: var(--ch-primary-tint); }
.ch-promo:hover { text-decoration: none; }
.ch-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-promo__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; height: 100%; padding: 18px 22px; max-width: 58%; }
.ch-promo__copy strong { font-size: clamp(1.05rem, .9rem + .7vw, 1.4rem); line-height: 1.2; }
.ch-promo__copy > span:not(.ch-btn) { font-size: .85rem; opacity: .85; }
.ch-promo__copy .ch-btn { margin-top: 8px; }
.ch-promo--dark { color: #fff; }
@media (min-width: 720px) { .ch-promos__grid { grid-template-columns: repeat(3, 1fr); } .ch-promo { aspect-ratio: 16 / 10; } .ch-promo__copy { max-width: 62%; } }

/* ---------- Product grid and card ---------- */
.products.ch-products, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--ch-cols-mobile), minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .products.ch-products, ul.products { grid-template-columns: repeat(var(--ch-cols-tablet), minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .products.ch-products, ul.products { grid-template-columns: repeat(var(--ch-cols-desktop), minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 639px) {
	.ch-products--scroll { display: grid; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
	.ch-products--scroll::-webkit-scrollbar { display: none; }
	.ch-products--scroll > li { scroll-snap-align: start; }
}
.ch-card-product { list-style: none; margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; }
.ch-pcard { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ch-border); border-radius: var(--ch-radius); overflow: hidden; transition: box-shadow .18s ease, border-color .18s ease; }
.ch-pcard:hover { box-shadow: var(--ch-shadow-lg); border-color: #cfd8d3; }
.ch-pcard__media { position: relative; display: block; aspect-ratio: 1; background: #F1F5F3; overflow: hidden; }
.ch-pcard__img { width: 100%; height: 100%; object-fit: cover; }
.ch-pcard.is-out .ch-pcard__img { opacity: .5; filter: grayscale(.8); }
.ch-pcard__badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ch-pcard__out { position: absolute; inset-inline: 0; bottom: 0; padding: 8px; text-align: center; background: rgba(27, 36, 48, .78); color: #fff; font-weight: 600; font-size: .85rem; }
.ch-pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 12px; flex: 1; }
.ch-pcard__title { margin: 0; font-size: .92rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ch-pcard__title a { color: var(--ch-text); }
.ch-pcard__title a:hover { color: var(--ch-primary); text-decoration: none; }
.ch-pcard__sku { margin: 0; font-size: .74rem; color: var(--ch-muted); }
.ch-pcard__price { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 1.05rem; color: var(--ch-primary-dark); }
.price del, .ch-pcard__price del { color: var(--ch-muted); font-weight: 400; font-size: .82rem; margin-inline-end: 6px; }
.price ins, .ch-pcard__price ins { text-decoration: none; color: var(--ch-accent-dark); }
.ch-pcard__action { padding-top: 8px; }
.ch-pcard__action .button, .ch-pcard__action a { width: 100%; }
.ch-pcard .added_to_cart { display: block; margin-top: 6px; font-size: .82rem; text-align: center; }

/* ---------- How it works ---------- */
.ch-how__list { list-style: none; counter-reset: ch-step; display: grid; gap: 14px; }
.ch-how__item { counter-increment: ch-step; position: relative; padding: 18px 18px 18px 64px; background: #fff; border: 1px solid var(--ch-border); border-radius: var(--ch-radius); }
.ch-how__item::before { content: counter(ch-step); position: absolute; inset-inline-start: 16px; top: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ch-primary); color: #fff; font-weight: 700; }
.ch-how__item h3 { margin-bottom: 4px; }
.ch-how__item p { margin: 0; color: var(--ch-muted); font-size: .92rem; }
@media (min-width: 900px) { .ch-how__list { grid-template-columns: repeat(4, 1fr); } .ch-how__item { padding: 70px 18px 18px; } .ch-how__item::before { inset-inline-start: 18px; top: 18px; width: 40px; height: 40px; } }

/* ---------- Seller CTA ---------- */
.ch-sellercta__box { display: grid; gap: 20px; align-items: center; padding: 28px 24px; border-radius: 22px; background: linear-gradient(120deg, var(--ch-primary-dark), var(--ch-primary)); color: #fff; overflow: hidden; }
.ch-sellercta__copy h2 { color: #fff; }
.ch-sellercta__copy p { opacity: .92; max-width: 52ch; }
.ch-sellercta__art img { width: 100%; max-width: 340px; margin-inline: auto; border-radius: 18px; }
@media (min-width: 800px) { .ch-sellercta__box { grid-template-columns: 1.3fr .7fr; padding: 36px 44px; } .ch-sellercta__art img { max-width: 100%; } }

/* ---------- FAQ ---------- */
.ch-acc--faq summary { font-size: 1rem; }

/* ---------- Footer ---------- */
.ch-footer { background: var(--ch-footer-bg); color: #D3E5DC; margin-top: 24px; }
.ch-footer a { color: #D3E5DC; }
.ch-footer a:hover { color: #fff; }
.ch-footer__top { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, 1fr); padding-block: 40px 28px; }
.ch-footer__brand { grid-column: 1 / -1; }
.ch-footer__brand .ch-logo__img { height: 56px; }
.ch-footer__brand p { max-width: 42ch; margin: 12px 0; font-size: .9rem; }
.ch-footer__title { font-size: .95rem; color: #fff; margin-bottom: 10px; }
.ch-footer__links { list-style: none; display: grid; gap: 8px; font-size: .9rem; }
.ch-contact { list-style: none; display: grid; gap: 8px; font-size: .88rem; }
.ch-contact li { display: flex; align-items: flex-start; gap: 10px; }
.ch-contact .ch-icon { margin-top: 4px; color: var(--ch-accent); }
.ch-social-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ch-social { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font-size: .82rem; }
.ch-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.ch-footer__bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; font-size: .84rem; }
.ch-footer__bottom p { margin: 0; }
.ch-paychips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ch-paychips li { padding: 4px 12px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; font-size: .78rem; font-weight: 500; }
@media (min-width: 900px) { .ch-footer__top { grid-template-columns: 1.6fr repeat(4, 1fr); } .ch-footer__brand { grid-column: auto; } }

/* ---------- Login / register split layout ---------- */
.ch-main--auth { padding-block: 24px 48px; }
.ch-auth { display: grid; gap: 0; background: #fff; border: 1px solid var(--ch-border); border-radius: 24px; overflow: hidden; box-shadow: var(--ch-shadow); max-width: 1060px; margin-inline: auto; }
.ch-auth__art { display: none; padding: 40px; background: linear-gradient(160deg, var(--ch-primary-dark), var(--ch-primary)); color: #fff; align-content: center; justify-items: start; }
.ch-auth__art h2 { color: #fff; margin: 18px 0 8px; }
.ch-auth__art p { opacity: .92; max-width: 40ch; }
.ch-auth__img { width: 100%; max-width: 420px; border-radius: 20px; }
.ch-auth__card { padding: 24px 20px 28px; }
@media (min-width: 900px) { .ch-auth { grid-template-columns: 1fr 1fr; } .ch-auth__art { display: grid; } .ch-auth__card { padding: 44px 44px; } }

/* ---------- Legal pages ---------- */
.ch-legal__head { padding-bottom: 12px; border-bottom: 1px solid var(--ch-border); }
.ch-legal__layout { display: grid; gap: 20px; margin-top: 20px; }
.ch-toc__box { background: #fff; border: 1px solid var(--ch-border); border-radius: 12px; padding: 12px 16px; }
.ch-toc__box summary { font-weight: 600; cursor: pointer; }
.ch-toc__list { margin: 10px 0 0; padding-inline-start: 1.2em; display: grid; gap: 6px; font-size: .88rem; }
.ch-toc__list a { color: var(--ch-text); }
.ch-toc__list a:hover, .ch-toc__list a.is-current { color: var(--ch-primary); font-weight: 600; }
.ch-legal__body { background: #fff; border: 1px solid var(--ch-border); border-radius: 16px; padding: 22px 20px; }
.ch-legal__body h2 { scroll-margin-top: 90px; font-size: 1.3rem; }
@media (min-width: 960px) {
	.ch-legal__layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
	.ch-toc { position: sticky; top: 96px; }
	.ch-toc__box { max-height: calc(100vh - 130px); overflow: auto; }
	.ch-legal__body { padding: 32px 36px; }
	.ch-legal__body { max-width: 860px; }
}
