/* ==========================================================================
   RocketDealSelling — design system
   Brand palette mirrors the reference marketplace: green primary, soft neutrals.
   ========================================================================== */

:root {
  --rd-primary: #28c76f;
  --rd-primary-dark: #1f9d57;
  --rd-primary-darker: #177a45;
  --rd-primary-soft: #e9faf1;
  --rd-accent: #ff9f43;
  --rd-accent-soft: #fff4e6;
  --rd-danger: #eb2222;
  --rd-danger-soft: #fdeaea;
  --rd-info: #1e9ff2;
  --rd-info-soft: #e3f3ff;
  --rd-warn: #f5a623;
  --rd-warn-soft: #fff8e6;

  --rd-ink: #1b2733;
  --rd-body: #5a6673;
  --rd-muted: #98a2ad;
  --rd-line: #e8edf2;
  --rd-bg: #f6f8fb;
  --rd-white: #ffffff;

  --rd-radius: 14px;
  --rd-radius-sm: 9px;
  --rd-radius-lg: 22px;
  --rd-shadow: 0 4px 18px rgba(27, 39, 51, 0.06);
  --rd-shadow-lg: 0 18px 46px rgba(27, 39, 51, 0.12);
  --rd-gradient: linear-gradient(135deg, var(--rd-primary) 0%, var(--rd-primary-darker) 100%);
  --rd-font: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--rd-font);
  color: var(--rd-body);
  background: var(--rd-bg);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--rd-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--rd-primary-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--rd-primary-darker); }

img { max-width: 100%; }

.text-muted-2 { color: var(--rd-muted) !important; }
.text-ink { color: var(--rd-ink) !important; }
.text-primary-2 { color: var(--rd-primary) !important; }
.bg-soft { background: var(--rd-bg) !important; }
.bg-white-2 { background: var(--rd-white) !important; }

/* ------------------------------------------------------------------ buttons */
.btn { font-family: var(--rd-font); font-weight: 600; border-radius: 10px; padding: .62rem 1.25rem; transition: all .2s ease; }
.btn--base { background: var(--rd-white); color: var(--rd-ink); border: 1px solid var(--rd-line); }
.btn--base:hover { border-color: var(--rd-primary); color: var(--rd-primary-dark); }
.btn--primary { background: var(--rd-gradient); color: #fff !important; border: 0; box-shadow: 0 8px 20px rgba(40, 199, 111, .28); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(40, 199, 111, .36); color: #fff !important; }
.btn--gradient { background: var(--rd-gradient); color: #fff !important; border: 0; }
.btn--gradient:hover { color: #fff !important; filter: brightness(1.05); }
.btn--accent { background: var(--rd-accent); color: #fff !important; border: 0; }
.btn--danger { background: var(--rd-danger); color: #fff !important; border: 0; }
.btn--ghost { background: transparent; color: var(--rd-ink); border: 1px solid var(--rd-line); }
.btn--ghost:hover { border-color: var(--rd-primary); color: var(--rd-primary-dark); }
.btn--sm { padding: .35rem .8rem; font-size: .82rem; border-radius: 8px; }
.btn--lg { padding: .85rem 1.9rem; font-size: 1rem; border-radius: 12px; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------- topbar */
.topbar { background: var(--rd-ink); color: rgba(255,255,255,.72); font-size: .82rem; padding: .55rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }

/* ------------------------------------------------------------------ navbar */
.navbar { background: var(--rd-white); box-shadow: 0 1px 0 var(--rd-line); padding: .85rem 0; position: sticky; top: 0; z-index: 1020; }
.navbar__brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; color: var(--rd-ink); }
.navbar__brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--rd-gradient); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.navbar__links { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; justify-content: center; min-width: 0; }
.navbar .container > .d-flex { flex-wrap: wrap; row-gap: .6rem; }
.navbar__brand { flex: 0 0 auto; }
.navbar__actions { flex: 0 0 auto; }
.navbar__link { padding: .5rem .85rem; border-radius: 9px; color: var(--rd-body); font-weight: 600; font-size: .92rem; }
.navbar__link:hover, .navbar__link.is-active { color: var(--rd-primary-dark); background: var(--rd-primary-soft); }
.navbar__actions { display: flex; align-items: center; gap: .6rem; }
.navbar__search { position: relative; }
.navbar__search input { border: 1px solid var(--rd-line); border-radius: 10px; padding: .5rem .9rem .5rem 2.3rem; width: 230px; background: var(--rd-bg); font-size: .9rem; }
.navbar__search i { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--rd-muted); font-size: .85rem; }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0f1a24 0%, #16342a 60%, #0f1a24 100%); color: #fff; padding: 4.5rem 0 4rem; }
.hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 420px; background: radial-gradient(circle, rgba(40,199,111,.28), transparent 62%); }
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(40,199,111,.16); color: #6ff0a8; border: 1px solid rgba(40,199,111,.3); padding: .35rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.hero__title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.15; margin: 1.1rem 0 .9rem; }
.hero__title span { color: var(--rd-primary); }
.hero__text { color: rgba(255,255,255,.75); max-width: 560px; font-size: 1.03rem; }
.hero__actions { display: flex; gap: .8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero__stat-value { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero__stat-label { color: rgba(255,255,255,.6); font-size: .85rem; }
.hero__art { position: relative; z-index: 2; }
.hero__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rd-radius-lg); padding: 1.3rem; backdrop-filter: blur(6px); }

/* ----------------------------------------------------------------- section */
.section { padding: 3.6rem 0; }
.section--tight { padding: 2.2rem 0; }
.section--white { background: var(--rd-white); }
.section-heading { margin-bottom: 1.9rem; }
.section-heading__tagline { color: var(--rd-primary); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.section-heading__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: .35rem 0 .5rem; }
.section-heading__desc { color: var(--rd-body); max-width: 640px; margin: 0; }
.section-heading--center { text-align: center; }
.section-heading--center .section-heading__desc { margin: 0 auto; }

/* ------------------------------------------------------------ product card */
.product-card { background: var(--rd-white); border: 1px solid var(--rd-line); border-radius: var(--rd-radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--rd-shadow-lg); border-color: transparent; }
.product-card__header { display: flex; align-items: center; gap: .8rem; padding: 1rem 1rem .6rem; }
.product-card__thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--rd-primary-soft); display: grid; place-items: center; color: var(--rd-primary-dark); font-weight: 800; font-size: 1.1rem; flex: 0 0 auto; }
.product-card__cat { font-size: .74rem; color: var(--rd-muted); text-transform: uppercase; letter-spacing: .05em; }
.product-card__title { color: var(--rd-ink); font-weight: 700; font-size: 1rem; margin: .1rem 0 0; display: block; }
.product-card__body { padding: 0 1rem .9rem; flex: 1; }
.product-card__excerpt { font-size: .87rem; color: var(--rd-body); margin: .35rem 0 .6rem; }
.product-card__meta { display: flex; align-items: center; gap: .85rem; font-size: .8rem; color: var(--rd-muted); flex-wrap: wrap; }
.product-card__body-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; margin-top: .7rem; }
.product-card__price { display: flex; flex-direction: column; }
.sell-price { color: var(--rd-ink); font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.regular-price { color: var(--rd-muted); text-decoration: line-through; font-size: .82rem; }
.product-card__offer { background: var(--rd-danger-soft); color: var(--rd-danger); font-size: .72rem; font-weight: 800; padding: .2rem .5rem; border-radius: 7px; }
.product-card__btn { margin-top: .8rem; }
.product-card__date { font-size: .78rem; color: var(--rd-accent); font-weight: 600; }

/* ------------------------------------------------------------------ rating */
.rating { display: inline-flex; align-items: center; gap: .3rem; font-size: .84rem; color: var(--rd-warn); }
.rating__count { color: var(--rd-muted); font-size: .78rem; }
.rating-list { list-style: none; margin: 0; padding: 0; }
.rating-list__item { display: flex; align-items: center; gap: .6rem; font-size: .85rem; margin-bottom: .35rem; }
.rating-list__bar { flex: 1; height: 7px; border-radius: 999px; background: var(--rd-line); overflow: hidden; }
.rating-list__fill { height: 100%; background: var(--rd-warn); }
.rating-list__text { color: var(--rd-muted); min-width: 42px; text-align: right; }

/* ------------------------------------------------------------------ badges */
.badge-soft { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.badge-soft--green { background: var(--rd-primary-soft); color: var(--rd-primary-darker); }
.badge-soft--orange { background: var(--rd-accent-soft); color: #c96f10; }
.badge-soft--red { background: var(--rd-danger-soft); color: var(--rd-danger); }
.badge-soft--blue { background: var(--rd-info-soft); color: #0a72b0; }
.badge-soft--grey { background: #eef1f5; color: #5a6673; }
.badge-soft--dark { background: var(--rd-ink); color: #fff; }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--rd-ink); color: rgba(255,255,255,.66); padding: 3.4rem 0 1.4rem; margin-top: 3rem; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,.62); font-size: .89rem; }
.footer a:hover { color: var(--rd-primary); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu__item { margin-bottom: .45rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .84rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__contact { display: flex; flex-direction: column; gap: .5rem; font-size: .89rem; }
.footer__contact i { color: var(--rd-primary); width: 18px; }

/* -------------------------------------------------------------- panel shell */
.panel-shell { display: flex; min-height: 100vh; background: var(--rd-bg); }
.panel-side { width: 274px; flex: 0 0 274px; background: var(--rd-ink); color: rgba(255,255,255,.7); padding: 1.3rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.panel-side__brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.12rem; padding: .3rem .5rem 1.2rem; }
.panel-side__brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--rd-gradient); display: grid; place-items: center; color: #fff; }
.panel-side__group { margin-bottom: 1.15rem; }
.panel-side__title { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.38); margin: 0 0 .45rem .75rem; font-weight: 700; }
.panel-side__link { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; border-radius: 9px; color: rgba(255,255,255,.7); font-size: .89rem; font-weight: 500; }
.panel-side__link:hover { background: rgba(255,255,255,.07); color: #fff; }
.panel-side__link.is-active { background: var(--rd-gradient); color: #fff; font-weight: 600; }
.panel-side__link i { width: 18px; text-align: center; font-size: .85rem; }
.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel-top { background: var(--rd-white); border-bottom: 1px solid var(--rd-line); padding: .9rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.panel-top__title { font-size: 1.1rem; font-weight: 700; color: var(--rd-ink); margin: 0; }
.panel-top__user { display: flex; align-items: center; gap: .7rem; }
.panel-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rd-primary-soft); color: var(--rd-primary-darker); display: grid; place-items: center; font-weight: 700; }
.panel-body { padding: 1.6rem; flex: 1; }

/* ------------------------------------------------------------------- cards */
.card-rd { background: var(--rd-white); border: 1px solid var(--rd-line); border-radius: var(--rd-radius); padding: 1.25rem; }
.card-rd__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.card-rd__title { font-size: 1.02rem; font-weight: 700; margin: 0; color: var(--rd-ink); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.stat-card { background: var(--rd-white); border: 1px solid var(--rd-line); border-radius: var(--rd-radius); padding: 1.15rem; display: flex; align-items: center; gap: .95rem; }
.stat-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--rd-primary-soft); color: var(--rd-primary-dark); font-size: 1.1rem; flex: 0 0 auto; }
.stat-card__icon--blue { background: var(--rd-info-soft); color: #0a72b0; }
.stat-card__icon--orange { background: var(--rd-accent-soft); color: #c96f10; }
.stat-card__icon--red { background: var(--rd-danger-soft); color: var(--rd-danger); }
.stat-card__value { font-size: 1.5rem; font-weight: 800; color: var(--rd-ink); line-height: 1.15; }
.stat-card__label { font-size: .82rem; color: var(--rd-muted); }

/* ------------------------------------------------------------------ tables */
.table-rd { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.table-rd th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--rd-muted); font-weight: 700; padding: .7rem .9rem; border-bottom: 1px solid var(--rd-line); white-space: nowrap; }
.table-rd td { padding: .8rem .9rem; border-bottom: 1px solid var(--rd-line); vertical-align: middle; }
.table-rd tbody tr:hover { background: #fbfcfe; }
.table-rd__thumb { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; background: var(--rd-primary-soft); }

/* ------------------------------------------------------------------- forms */
.form-label { font-size: .84rem; font-weight: 600; color: var(--rd-ink); margin-bottom: .3rem; }
.form-control, .form-select {
  border: 1px solid var(--rd-line); border-radius: 10px; padding: .6rem .85rem; font-size: .92rem; background: #fff;
  font-family: var(--rd-font); color: var(--rd-ink);
}
.form-control:focus, .form-select:focus { border-color: var(--rd-primary); box-shadow: 0 0 0 3px rgba(40,199,111,.14); outline: none; }
.form-hint { font-size: .78rem; color: var(--rd-muted); margin-top: .25rem; }
.form-check-input:checked { background-color: var(--rd-primary); border-color: var(--rd-primary); }
.form-error { font-size: .8rem; color: var(--rd-danger); margin-top: .25rem; }
.input-group-text { background: var(--rd-bg); border-color: var(--rd-line); font-size: .9rem; }

/* ------------------------------------------------------------------ alerts */
.alert-rd { border: 1px solid transparent; border-radius: var(--rd-radius-sm); padding: .8rem 1rem; font-size: .9rem; display: flex; gap: .6rem; align-items: flex-start; }
.alert-rd--success { background: var(--rd-primary-soft); color: var(--rd-primary-darker); border-color: rgba(40,199,111,.28); }
.alert-rd--error { background: var(--rd-danger-soft); color: #a51b1b; border-color: rgba(235,34,34,.24); }
.alert-rd--info { background: var(--rd-info-soft); color: #0a72b0; border-color: rgba(30,159,242,.24); }
.alert-rd--warning { background: var(--rd-warn-soft); color: #96690a; border-color: rgba(245,166,35,.3); }

/* --------------------------------------------------------------- pagination */
.pagination { display: flex; gap: .3rem; list-style: none; padding: 0; margin: 1.6rem 0 0; flex-wrap: wrap; }
.pagination__item a, .pagination__item span { display: block; min-width: 36px; text-align: center; padding: .4rem .6rem; border-radius: 9px; border: 1px solid var(--rd-line); background: #fff; color: var(--rd-body); font-size: .88rem; font-weight: 600; }
.pagination__item.is-active a { background: var(--rd-gradient); color: #fff; border-color: transparent; }
.pagination__item.is-disabled a { color: var(--rd-muted); pointer-events: none; }

/* ------------------------------------------------------------------ panels */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: linear-gradient(135deg, #0f1a24, #16342a); }
.auth-card { width: 100%; max-width: 430px; background: #fff; border-radius: var(--rd-radius-lg); padding: 2rem; box-shadow: var(--rd-shadow-lg); }
.auth-card--wide { max-width: 900px; }
.auth-head { text-align: center; margin-bottom: 1.5rem; }
.auth-head__logo { width: 54px; height: 54px; border-radius: 15px; background: var(--rd-gradient); color: #fff; display: grid; place-items: center; margin: 0 auto .8rem; font-size: 1.4rem; }

/* ------------------------------------------------------------------ detail */
.detail-hero { background: var(--rd-white); border-bottom: 1px solid var(--rd-line); padding: 2.2rem 0; }
.detail__logo { width: 86px; height: 86px; border-radius: 20px; object-fit: cover; background: var(--rd-primary-soft); display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: var(--rd-primary-dark); }
.price-box { background: var(--rd-primary-soft); border: 1px dashed var(--rd-primary); border-radius: var(--rd-radius); padding: 1.1rem; }
.price-box__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rd-primary-darker); font-weight: 700; }
.price-box__value { font-size: 2.1rem; font-weight: 800; color: var(--rd-ink); line-height: 1.1; }
.price-box__old { color: var(--rd-muted); text-decoration: line-through; font-size: .9rem; }
.tabs-rd { display: flex; gap: .3rem; border-bottom: 1px solid var(--rd-line); margin-bottom: 1.2rem; flex-wrap: wrap; }
.tabs-rd__item { padding: .6rem 1rem; font-weight: 600; color: var(--rd-body); border-bottom: 2px solid transparent; font-size: .92rem; }
.tabs-rd__item.is-active { color: var(--rd-primary-dark); border-bottom-color: var(--rd-primary); }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.feature-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--rd-primary); position: absolute; left: 0; top: .3rem; font-size: .8rem; }

/* ------------------------------------------------------------------ misc */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--rd-muted); }
.empty-state i { font-size: 2.6rem; color: var(--rd-line); display: block; margin-bottom: .8rem; }
.breadcrumb-rd { font-size: .84rem; color: var(--rd-muted); margin-bottom: 1rem; }
.breadcrumb-rd a { color: var(--rd-body); }
.divider { height: 1px; background: var(--rd-line); margin: 1.4rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.gallery-grid img { width: 100%; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--rd-line); }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--rd-bg); border: 1px solid var(--rd-line); color: var(--rd-body); border-radius: 999px; padding: .3rem .75rem; font-size: .82rem; font-weight: 600; }
.chip.is-active { background: var(--rd-primary-soft); border-color: var(--rd-primary); color: var(--rd-primary-darker); }
.checkout-summary { background: var(--rd-bg); border: 1px solid var(--rd-line); border-radius: var(--rd-radius); padding: 1.1rem; }
.checkout-summary__row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .9rem; }
.checkout-summary__total { border-top: 1px solid var(--rd-line); margin-top: .5rem; padding-top: .7rem; font-weight: 800; color: var(--rd-ink); font-size: 1.05rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { border-left: 2px solid var(--rd-line); padding: 0 0 1rem 1.1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--rd-primary); }
.progress-thin { height: 7px; border-radius: 999px; background: var(--rd-line); overflow: hidden; }
.progress-thin > span { display: block; height: 100%; background: var(--rd-gradient); }
.donut { --value: 0; width: 118px; height: 118px; border-radius: 50%; background: conic-gradient(var(--rd-primary) calc(var(--value) * 1%), var(--rd-line) 0); display: grid; place-items: center; }
.donut::after { content: ""; width: 82px; height: 82px; border-radius: 50%; background: #fff; }
.donut__label { position: absolute; font-weight: 800; color: var(--rd-ink); font-size: 1.05rem; }
.tabs-underline { display: flex; gap: 1.2rem; border-bottom: 1px solid var(--rd-line); }
.tabs-underline__item { padding: .6rem 0; font-weight: 600; color: var(--rd-body); border-bottom: 2px solid transparent; }
.tabs-underline__item.is-active { color: var(--rd-primary-dark); border-bottom-color: var(--rd-primary); }
.toast-rd { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 2000; display: flex; flex-direction: column; gap: .6rem; }
.toast-rd__item { background: var(--rd-ink); color: #fff; border-radius: 10px; padding: .7rem 1rem; font-size: .88rem; box-shadow: var(--rd-shadow-lg); animation: rdFade .25s ease; }
@keyframes rdFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ck-box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--rd-line); display: inline-grid; place-items: center; font-size: .7rem; color: #fff; }
.ck-box.is-on { background: var(--rd-primary); border-color: var(--rd-primary); }
.badge-count { background: var(--rd-danger); color: #fff; border-radius: 999px; font-size: .68rem; padding: .1rem .42rem; font-weight: 700; }

@media (max-width: 991px) {
  .panel-side { position: static; width: 100%; flex: none; height: auto; }
  .panel-shell { flex-direction: column; }
  .navbar__search input { width: 150px; }
}
@media (max-width: 767px) {
  .hero { padding: 2.8rem 0; }
  .panel-body { padding: 1rem; }
  .navbar__links { display: none; }
}

/* ---------------------------------------------------------------- cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  display: none;
  padding: 1rem 0;
  background: #1b2733;
  box-shadow: 0 -10px 30px rgba(16, 24, 32, .18);
}
.cookie-banner--top { top: 0; bottom: auto; }
.cookie-banner--left { top: 0; bottom: 0; right: auto; width: 340px; }
.cookie-banner--right { top: 0; bottom: 0; left: auto; width: 340px; }

/* ------------------------------------------------------------- settings nav */
.settings-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.2rem;
  padding: .55rem;
  background: var(--rd-white);
  border: 1px solid var(--rd-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}
.settings-nav__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .8rem;
  border-radius: 9px;
  color: var(--rd-body);
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.settings-nav__link i { font-size: .8rem; color: var(--rd-muted); }
.settings-nav__link:hover { background: var(--rd-bg); color: var(--rd-primary-dark); }
.settings-nav__link.is-active { background: var(--rd-gradient); color: #fff; }
.settings-nav__link.is-active i { color: #fff; }
