/* Mein Fellkind dealer portal — public styles.
   CI: green #123b34 · yellow #fbb81d · beige #fbf3e4 · font Nunito. */

:root {
  --green: #123b34;
  --green-soft: #1d5a4f;
  --green-tint: #e3ece8;
  --yellow: #fbb81d;
  --yellow-soft: #fde7ac;
  --beige: #fbf3e4;
  --beige-deep: #f3e7cf;
  --white: #fff;
  --text: #1d2b27;
  --muted: #56665f;          /* >= 4.5:1 on beige/white */
  --line: #e2d8c3;
  --danger: #a23b2c;
  --ok: #2f7d4f;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(18, 59, 52, .08);
  --font: 'Nunito', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--beige); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--green-soft); }
h1, h2, h3, h4 { color: var(--green); line-height: 1.2; margin: 0 0 .45em; font-weight: 800; }
* + h2 { margin-top: 1.4em; }   /* headings following content get breathing room */
* + h3 { margin-top: 1.1em; }
* + h4 { margin-top: 1em; }
[type="hidden"] + h2, [type="hidden"] + h3 { margin-top: 0; }  /* csrf fields before card titles */
h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .8em; }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--white); padding: 8px 14px; border-radius: 999px; z-index: 200; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.narrow { max-width: 820px; }  /* left-aligned content column */
main { min-height: 55vh; }

/* Buttons */
.btn { font: inherit; font-weight: 700; border: 2px solid var(--green); background: var(--white); color: var(--green); padding: 9px 16px; border-radius: 999px; cursor: pointer; line-height: 1.2; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; text-align: left; }
.btn:hover { background: var(--green-tint); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--yellow); border-color: var(--yellow); color: var(--green); }
.btn.primary:hover { background: #f9ad00; border-color: #f9ad00; }
.btn.small { padding: 6px 12px; font-size: .9rem; }
.btn.ghost { border-color: var(--line); background: var(--white); }
.btn.ghost:hover { background: var(--beige-deep); border-color: var(--green); }
.btn.danger { border-color: var(--danger); color: var(--danger); }
.btn.danger:hover { background: #f7ebe7; }
.btn.icon-only { padding: 6px 8px; }
.btn.outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn.outline-light:hover { background: rgba(255,255,255,.14); }
.badge-count { background: var(--green); color: var(--yellow); border-radius: 999px; font-size: .75rem; font-weight: 800; padding: 1px 7px; }
.btn.icon-header { width: 44px; height: 44px; padding: 0; justify-content: center; position: relative; border-color: transparent; }
.icon-header + .desktop-only { margin-left: 12px; }  /* equalize the VISUAL gap: icon buttons carry ~11px inner air */
.btn.icon-header:hover { background: var(--beige); border-color: var(--line); }
.cart-badge { position: absolute; top: -2px; right: -2px; padding: 0 6px; line-height: 1.5; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.header-bar { display: flex; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; transition: padding .18s ease; }
.brand img { display: block; width: 92px; height: auto; transition: width .18s ease; }
body.shrunk .brand img { width: 60px; }
body.shrunk .header-bar { padding-top: 4px; padding-bottom: 4px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.main-nav a { text-decoration: none; font-weight: 700; color: var(--green); padding: 7px 12px; border-radius: 999px; }
.main-nav a:hover { background: var(--beige); }
.main-nav a[aria-current="page"] { background: var(--green); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nowrap { white-space: nowrap; }
.nav-toggle { display: none; }
.mobile-panel-nav { display: none; }
.mobile-only { display: none; }
.site-banner { background: var(--yellow); color: var(--green); font-weight: 700; padding: 12px 0; font-size: 1.05rem; text-align: center; }

/* Footer */
.site-footer { background: var(--green); color: #dfe9e4; margin-top: 60px; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; padding: 40px 20px 20px; }
.footer-brand { font-weight: 800; color: var(--yellow); font-size: 1.1rem; margin-bottom: 4px; }
.footer-head { font-weight: 800; color: var(--white); margin-bottom: 6px; }
.site-footer nav a { display: block; text-decoration: none; padding: 2px 0; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer nav a[aria-current="page"] { color: var(--yellow); font-weight: 800; }
.footer-social a { display: inline-flex; align-items: center; }
.footer-social svg { display: block; }
.footer-social a { margin-right: 12px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.16); padding-top: 14px; padding-bottom: 20px; font-size: .88rem; }

/* Cards & sections */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card ul, .card ol { padding-left: 20px; margin: 0 0 .5em; }
.card ul li, .card ol li { margin-bottom: 6px; }
.card h2 svg, .card h3 svg { vertical-align: -3px; margin-right: 6px; color: var(--yellow); }
.section { padding-top: 44px; padding-bottom: 8px; }  /* no horizontal shorthand — it would wipe .wrap side padding */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 720px; }

/* Hero */
.hero { background: var(--green); color: var(--white); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding-top: 54px; padding-bottom: 54px; }
.hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.hero .claim { color: var(--yellow); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: 10px; }
.hero p { color: #dfe9e4; font-size: 1.1rem; max-width: 560px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero img { max-width: 320px; margin: 0 auto; display: block; }
.usp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: -28px; position: relative; }
.usp { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.usp svg { color: var(--yellow); flex: none; margin-top: 2px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.pcard { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.pcard a.pcard-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.pcard .pimg { aspect-ratio: 1; background: var(--beige); display: grid; place-items: center; overflow: hidden; }
.pcard .pimg img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pimg .noimg { color: var(--line); }
.pcard .pimg img.placeholder, .pgallery img.placeholder { object-fit: contain; padding: 14%; opacity: .5; }
.pcard .pbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard h3 { margin: 0; font-size: 1.02rem; }
.pcard .psub { color: var(--muted); font-size: .88rem; flex: 1; }
.pcard .pprice { font-weight: 800; color: var(--green); }
.pcard .pprice small { color: var(--muted); font-weight: 600; }
.pbadge { position: absolute; top: 10px; left: 10px; background: var(--yellow); color: var(--green); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; z-index: 2; }
.pbadge.sensitive { background: var(--green-tint); }
.filter-bar { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 22px; display: grid; gap: 10px; }
.filter-row { display: flex; gap: 6px; align-items: flex-start; }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }  /* wrapped lines stay indented past the label */
.filter-selects { display: none; }
.filter-label { display: inline-block; flex: none; width: 92px; padding-top: 7px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filter-row a { text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--green); padding: 5px 12px; border-radius: 999px; border: 1.5px solid transparent; }
.filter-row a:hover { background: var(--beige); }
.filter-row a.active { background: var(--green); color: var(--white); }
.filter-row.secondary a { font-weight: 600; color: var(--green-soft); }
.filter-row.secondary a.active { background: var(--yellow); color: var(--green); }

/* Product detail */
.product-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: start; }
.product-layout > * { min-width: 0; }  /* let grid items shrink so inner .table-scroll can work */
.product-layout.cols-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
.product-layout.cols-cart { grid-template-columns: 1.4fr .6fr; }
.pgallery .pmain { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.pgallery .pmain img { display: block; width: 100%; height: auto; }
.pgallery .thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pgallery .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; line-height: 0; }
.pgallery .thumbs button.active { border-color: var(--yellow); }
.pgallery .thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.label-block { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; margin-top: 26px; }
.label-block dt { font-weight: 800; color: var(--green); margin-top: 12px; }
.label-block dd { margin: 2px 0 0; }
.variant-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 4px 0 18px; }
.variant-table th, .variant-table td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.variant-table td:first-child, .variant-table th:first-child { padding-left: 0; }
.variant-table td:last-child, .variant-table th:last-child { padding-right: 0; }
.variant-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.variant-table .num { text-align: right; white-space: nowrap; }
.avail { font-size: .82rem; font-weight: 700; }
.avail.ok { color: var(--ok); }
.avail.no { color: var(--danger); }
.avail.pre { color: #8a6d00; }

/* Forms */
form .field { margin-bottom: 14px; }
label { display: block; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.label-hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], input[type=tel], select, textarea {
  font: inherit; width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--white); color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--green-soft); }
input.qty-input { width: 58px; text-align: center; }
textarea { min-height: 90px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 700; margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check-line input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 6px; margin: 0 0 16px; }
legend { font-weight: 800; color: var(--green); padding: 0 6px; }

/* Alerts */
.alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { flex: none; margin-top: 2px; }
.alert.info { background: var(--green-tint); color: var(--green); }
.alert.warn { background: var(--yellow-soft); color: #6a4d00; }
.alert.error { background: #f7e6e2; color: var(--danger); }
.alert.ok { background: #e2f2e8; color: var(--ok); }

/* Tables */
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th a.sort-link { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.table th a.sort-link:hover { color: var(--green-soft); text-decoration: underline; }
.check-cell { width: 34px; }
.address-row { border-bottom: 1px solid var(--line); padding: 10px 0; }
.address-row:last-of-type { border-bottom: none; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 44px; width: 100%; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); padding: 6px 8px; line-height: 0; border-radius: 8px; }
.pw-toggle:hover { color: var(--green); background: var(--beige); }
.tick-form { margin: 0; line-height: 0; }
.tick-form input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--green); cursor: pointer; }
.check-cell .print-box { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--green); border-radius: 4px; }
.table th { background: var(--beige-deep); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); position: relative; }
.drag-handle { cursor: grab; color: var(--muted); text-align: center; }
tr[draggable="true"]:active .drag-handle { cursor: grabbing; }
.status { display: inline-block; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status.new { background: var(--yellow-soft); color: #6a4d00; }
.status.processing { background: var(--green-tint); color: var(--green); }
.status.shipped { background: #dbeafe; color: #1d4ed8; }
.status.completed { background: #e2f2e8; color: var(--ok); }
.status.cancelled { background: #f1f1f1; color: #666; }
.status.pending { background: var(--yellow-soft); color: #6a4d00; }
.status.active { background: #e2f2e8; color: var(--ok); }
.status.blocked { background: #f7e6e2; color: var(--danger); }
.status.open { background: var(--yellow-soft); color: #6a4d00; }
.status.paid { background: #e2f2e8; color: var(--ok); }

/* Panel (account/admin) */
.wrap.panel { max-width: 1420px; }  /* logged-in area is wider than the public site */
.panel { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; padding-top: 28px; padding-bottom: 40px; }
.panel-nav { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 10px; position: sticky; top: 92px; }
.panel-nav a { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; color: var(--green); padding: 8px 12px; border-radius: 9px; font-size: .95rem; }
.panel-nav a:hover { background: var(--beige); }
.panel-nav a.active { background: var(--green); color: var(--white); }
.panel-group { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 12px 12px 4px; font-weight: 700; }
.panel-main { min-width: 0; }
.panel-main .card { margin-bottom: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 18px; }
.stat b { display: block; font-size: 1.5rem; color: var(--green); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Cart & checkout */
.cart-summary { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; }
.cart-summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.cart-summary .row > span:first-child { flex: 1; min-width: 0; }
.cart-summary .row > span:last-child { white-space: nowrap; }
.cart-summary .row.total { border-top: 2px solid var(--green); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 1.1rem; color: var(--green); }
.progressbar { height: 8px; background: var(--beige-deep); border-radius: 5px; overflow: hidden; margin: 8px 0 4px; }
.progressbar > span { display: block; height: 100%; background: var(--yellow); }

/* Utility */
.mt { margin-top: 20px; }
.mb0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.right { text-align: right; }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-form { display: flex; gap: 12px 14px; flex-wrap: wrap; align-items: flex-end; }
.inline-form label { font-size: .8rem; margin-bottom: 2px; }
.inline-form .check-line { margin-bottom: 8px; }
.spacer { flex: 1; }

/* Order list (account dashboard) */
.order-list { display: flex; flex-direction: column; }
.order-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.order-line:last-of-type { border-bottom: none; }
.order-line:hover { background: var(--beige); }
.order-line .ol-main { min-width: 170px; }
.order-line .ol-main .muted { margin-left: 8px; font-size: .9rem; }
.order-line .ol-badges { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.order-line .ol-total { font-weight: 800; color: var(--green); margin-left: auto; }
div.order-line:hover { background: none; }
.order-line .ol-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.order-line .ol-invoice { font-size: .92rem; }

/* FAQ */
details.faq-item { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 10px; padding: 4px 20px; }
details.faq-item summary { font-weight: 800; color: var(--green); cursor: pointer; padding: 12px 0; }

/* Responsive */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero img { max-width: 220px; }
  .product-layout, .product-layout.cols-2, .product-layout.cols-cart { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel-nav { position: static; }
  .panel-nav nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .panel-group { width: 100%; margin: 8px 6px 2px; }
  .form-grid { grid-template-columns: 1fr; }
  /* open menu lives in the normal page flow: the page itself scrolls,
     no nested scroll container that could jam or need a click for focus */
  .main-nav { display: none; }
  body.nav-open .header-bar { flex-wrap: wrap; }
  body.nav-open .site-header { position: static; }
  .main-nav > a { padding: 9px 4px; border-radius: 8px; }
  body.nav-open .main-nav { display: flex; flex-direction: column; flex-wrap: nowrap; order: 99; flex-basis: 100%; padding: 6px 0 14px; border-top: 1px solid var(--line); margin-top: 8px; }
  .nav-toggle { display: inline-flex; }
  .brand img { width: 68px; }
  .header-bar { gap: 6px; }
  .header-actions { gap: 2px; }
  .btn-label { display: none; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  .lead { font-size: 1rem; }
  .desktop-only { display: none; }
  .mobile-only { display: block; }
  .nav-cta { background: var(--yellow); border-radius: 999px; text-align: center; margin-top: 8px; padding: 10px 16px !important; }
  .panel-nav { display: none; }  /* on mobile the section menu lives in the hamburger */
  .table-stack thead { display: none; }
  .table-stack { border-collapse: separate; border-spacing: 0; }
  .table-scroll:has(.table-stack) { overflow: visible; border-radius: 0; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; background: #fdfaf2; }
  .table-stack td.compact { display: inline-block; width: 48%; vertical-align: top; }
  .table-stack td { border-bottom: none; padding: 5px 0; display: block; text-align: left; }
  .table-stack td.num { text-align: left; }
  .table-stack td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .table-stack td:not([data-label]):last-child { text-align: right; }
  .table-stack td input[type="text"] { width: 100%; margin-bottom: 6px; }
  .table-stack td .status { white-space: nowrap; }
  .table-stack .qty-input { width: 80px; }
  .actions-row input[type="text"], .actions-row select,
  .inline-form input[type="text"], .inline-form select { max-width: none !important; width: 100%; }
  .inline-form > div { flex: 1 1 100%; max-width: none !important; }
  .order-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: start; }
  .order-line .ol-main { grid-column: 1; min-width: 0; }
  .order-line .ol-total { grid-column: 2; grid-row: 1; margin-left: 0; }
  .order-line .ol-badges { grid-column: 1 / -1; }
  .order-line .ol-actions { grid-column: 1 / -1; }
  .filter-row { display: none; }
  .filter-selects { display: grid; gap: 10px; }
  .mobile-panel-nav { display: block; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
  .mobile-panel-nav a { display: flex; align-items: center; gap: 8px; padding: 8px 4px; text-decoration: none; font-weight: 700; color: var(--green); border-radius: 8px; }
  .mobile-panel-nav a.active { background: var(--green); color: var(--white); padding-left: 8px; }
  .mobile-panel-nav .panel-group { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; margin: 12px 4px 2px; }
}
@media print {
  .site-header, .site-footer, .btn, .panel-nav { display: none !important; }
  body { background: #fff; }
}

/* CKEditor */
.ck-editor__editable_inline { min-height: 260px; background: var(--white); }
.ck.ck-editor { margin-bottom: 8px; }
.ck-resize-handle { height: 10px; cursor: ns-resize; border-radius: 0 0 8px 8px; background: var(--beige-deep); }

/* Product detail: readable feed info */
.ingredient-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 2px; padding: 0; list-style: none; }
.ingredient-chips li { background: var(--beige); border-radius: 999px; padding: 4px 12px; font-size: .9rem; font-weight: 600; color: var(--green); }
.nutrition-table { width: 100%; max-width: 420px; border-collapse: collapse; margin: 6px 0 2px; }
.nutrition-table td { padding: 6px 2px; border-bottom: 1px solid var(--line); }
.nutrition-table td:last-child { text-align: right; font-weight: 700; color: var(--green); white-space: nowrap; }
.nutrition-table tr:last-child td { border-bottom: 0; }
.label-block h3 { margin-top: 18px; }
.label-block h3:first-of-type { margin-top: 6px; }
.pdesc p { margin-bottom: .6em; }
