:root {
  /* Art-Decoupage storefront + Hobyt-like product page accents */
  --color-ink: #1c1b19;
  --color-paper: #ffffff;
  --color-paper-soft: #f6f5f2;
  --color-line: #e8e4dc;
  --color-muted: #6f6a63;
  --color-accent: #e67a00;
  --color-accent-hover: #cc6b00;
  --color-ok: #2f7a45;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --pd-max: 1180px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.5;
}

/* Subtle rounding ? buttons, forms, bordered UI */
button,
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea,
.btn,
.btn-sm,
.btn-ghost,
.home-btn,
a.checkout-back {
  border-radius: var(--radius-md);
}

.pd-qty button,
.pd-qty input,
.cart-qty button,
.site-search-btn,
.home-hero-dots button,
.catalog-btn,
.section-nav a,
.cart-count-label,
.home-hit-mark,
.article-tabs span {
  border-radius: 0;
}

.catalog-panel,
.site-search-suggest,
.pd-qty,
.pd-thumb,
.pd-stage,
.pd-fav-btn,
.pd-sticky-card,
.pd-side-card,
.pd-side-card-media,
.pd-bought-card,
.pd-bought-card-media,
.pd-recent,
.pd-save,
.ai-widget-panel,
.cat-side-nav a,
.cat-filter-reset,
.pcard-media,
.cart-row-img,
.metrics div,
.kanban-col,
.kanban-card,
.home-cat-grid,
.home-blog-featured,
.home-blog-card,
.home-about-media,
.cko-dialog,
.auth-page form,
.shop-form input:not([type="checkbox"]):not([type="radio"]),
.shop-form select,
.shop-form textarea {
  border-radius: var(--radius-md);
}

.pd-qty {
  overflow: hidden;
}

.cookie-banner {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.header-top {
  display: grid;
  grid-template-columns: minmax(14rem, 1.2fr) minmax(16rem, 1.6fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.85rem var(--space) 0.65rem;
}

.brand {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--color-ink);
  max-width: 28rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--color-muted);
  font-weight: 500;
}

.header-aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

.header-contacts {
  display: grid;
  gap: 0.1rem;
  text-align: right;
  line-height: 1.25;
}

.header-contacts a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.header-contacts span {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-account {
  align-items: flex-start;
  position: relative;
}

.header-account-main {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.header-account-main:hover {
  color: var(--color-accent);
}

.header-account-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.header-account > a {
  color: inherit;
  text-decoration: none;
}

.header-account > a:hover {
  color: var(--color-accent);
}

.header-account-text {
  display: grid;
  gap: 0.05rem;
  line-height: 1.2;
  max-width: 14rem;
}

.header-account-greet {
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}

.header-account-text a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
}

.header-account-text a:hover {
  color: var(--color-accent);
}

.header-icon-mark {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  display: block;
}

svg.header-icon-mark {
  overflow: visible;
}

.header-icon-heart {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.header-icon-heart::before {
  content: "♥";
  font-size: 1.05rem;
  line-height: 1;
  color: #c0392b;
}

.header-fav {
  position: relative;
  padding-right: 0.35rem;
}

.header-fav-badge {
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: var(--radius-pill);
  background: #e8b4b4;
  color: #5a2020;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-cart {
  position: relative;
  padding-right: 0.35rem;
}

.header-cart-badge {
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: var(--radius-pill);
  background: #cfcfcf;
  color: #222;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-nav-row {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0 var(--space) 0.55rem;
  border-top: 1px solid var(--color-line);
}

.store-notice {
  padding: 0.85rem var(--space) 1rem;
  background:
    linear-gradient(180deg, #fff9f2 0%, var(--color-paper-soft) 100%);
  border-bottom: 1px solid var(--color-line);
}

.store-notice-inner {
  width: min(var(--pd-max), 100%);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.1rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--color-accent) 22%, var(--color-line));
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px rgba(28, 27, 25, 0.06);
}

.store-notice-inner::before {
  content: "";
  display: block;
  height: 3px;
  margin: -1rem -1.25rem 0.85rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--color-accent), #f0b35c 55%, var(--color-accent));
}

.store-notice-title {
  margin: 0 0 0.65rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.store-notice-inner p {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #3a3834;
}

.store-notice-inner p:last-child {
  margin-bottom: 0;
}

.store-notice-warn {
  color: #b42318;
  font-weight: 700;
}

.store-notice-ok {
  color: var(--color-ok);
  font-weight: 700;
}

.store-notice-foot {
  margin-top: 0.35rem;
  color: var(--color-muted);
}

.catalog-menu {
  position: relative;
  flex: 0 0 auto;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.65rem 0.15rem;
  border: 0;
  border-bottom: 3px solid var(--color-accent);
  background: transparent;
  color: var(--color-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.catalog-btn-bars,
.catalog-btn-bars::before,
.catalog-btn-bars::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.catalog-btn-bars {
  position: relative;
}

.catalog-btn-bars::before {
  position: absolute;
  top: -5px;
}

.catalog-btn-bars::after {
  position: absolute;
  top: 5px;
}

.catalog-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 14rem;
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: 0 10px 28px rgba(28, 27, 25, 0.08);
  display: grid;
  z-index: 50;
}

.catalog-panel[hidden] {
  display: none !important;
}

.catalog-panel a {
  padding: 0.7rem 0.9rem;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
  font-weight: 600;
}

.catalog-panel a:hover {
  background: var(--color-paper-soft);
  color: var(--color-accent);
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  padding: 0.45rem 0;
}

.section-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.section-nav a:hover {
  color: var(--color-accent);
}

.site-search {
  position: relative;
  width: 100%;
}

.site-search form {
  display: flex;
  align-items: stretch;
  background: var(--color-paper-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.site-search input {
  flex: 1;
  width: 100%;
  max-width: none;
  padding: 0.7rem 0.9rem;
  border: 0;
  background: transparent;
  font: inherit;
}

.site-search-btn {
  margin: 0;
  width: 2.75rem;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.site-search-btn::before {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border: 1.8px solid var(--color-muted);
  border-radius: 50%;
  top: 0.7rem;
  left: 0.75rem;
}

.site-search-btn::after {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 1.8px;
  background: var(--color-muted);
  top: 1.45rem;
  left: 1.4rem;
  transform: rotate(45deg);
}

.site-search-suggest {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-line);
  display: grid;
  max-height: 20rem;
  overflow: auto;
}

.site-search-suggest a {
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
}

.site-search-suggest a:hover {
  background: var(--color-paper-soft);
}

.site-search-suggest span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .header-top {
    grid-template-columns: 1fr;
  }

  .header-aside {
    justify-content: flex-start;
  }

  .header-contacts {
    text-align: left;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--color-muted);
}

.breadcrumbs a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 0.18em;
}

.breadcrumbs a:hover {
  color: var(--color-accent-hover);
}

.muted {
  color: var(--color-muted);
}

/* ?? Product page (Hobyt-inspired) ?? */
.pd {
  width: min(var(--pd-max), calc(100% - 2 * var(--space)));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.pd-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.pd-back {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  background: #efe8dc;
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.pd-title {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.pd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.pd-gallery {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 28rem;
  overflow: auto;
}

.pd-thumb {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  background: var(--color-paper-soft);
  cursor: pointer;
}

.pd-thumb.is-active,
.pd-thumb:hover {
  border-color: var(--color-accent);
}

.pd-thumb img {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  object-fit: cover;
}

.pd-stage {
  position: relative;
  background: var(--color-paper-soft);
  min-height: 22rem;
}

.pd-zoom-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.pd-stage img,
.pd-zoom-open img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: contain;
  background: #fff;
}

.pd-loupe-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.pd-loupe-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pd-loupe-icon {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.pd-loupe-icon::after {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 2px;
  background: currentColor;
  right: -0.35rem;
  bottom: -0.15rem;
  transform: rotate(45deg);
  border-radius: 1px;
}

.pd-lightbox {
  border: 0;
  padding: 0;
  width: min(960px, calc(100vw - 1.5rem));
  max-width: 960px;
  max-height: calc(100vh - 1.5rem);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.pd-lightbox[open] {
  display: flex;
  flex-direction: column;
}

.pd-lightbox::backdrop {
  background: rgba(20, 18, 16, 0.72);
}

.pd-lightbox-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-line);
  background: #faf9f7;
}

.pd-lightbox-zoom {
  display: inline-flex;
  gap: 0.35rem;
}

.pd-lightbox-zoom button,
.pd-lightbox-loupe,
.pd-lightbox-close {
  margin: 0;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-ink);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.pd-lightbox-zoom button.is-active,
.pd-lightbox-loupe[aria-pressed="true"] {
  border-color: var(--color-accent);
  background: #fff4e8;
  color: var(--color-accent-hover);
}

.pd-lightbox-loupe {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pd-lightbox-loupe .pd-loupe-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.pd-lightbox-close {
  margin-left: auto;
  width: 2.25rem;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.pd-lightbox-stage {
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: min(70vh, 560px);
  cursor: default;
}

.pd-lightbox-stage.is-zoomed {
  cursor: zoom-in;
}

.pd-lightbox-stage.is-loupe {
  cursor: none;
}

.pd-lightbox-stage img {
  display: block;
  width: 100%;
  height: min(70vh, 560px);
  object-fit: contain;
  user-select: none;
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.pd-lightbox-lens {
  position: absolute;
  pointer-events: none;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25);
  background-repeat: no-repeat;
  z-index: 2;
}

.pd-lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border-top: 1px solid var(--color-line);
  background: #fff;
}

.pd-lightbox-thumb {
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  background: var(--color-paper-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex: 0 0 auto;
}

.pd-lightbox-thumb.is-active,
.pd-lightbox-thumb:hover {
  border-color: var(--color-accent);
}

.pd-lightbox-thumb img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.pd-stage-empty {
  display: grid;
  place-items: center;
  color: var(--color-muted);
}

.pd-stage-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  background: rgba(20, 18, 16, 0.82);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.3;
}

.pd-buy {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.pd-buy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.pd-buy-meta a {
  color: var(--color-ink);
}

.pd-short {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.pd-short a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.pd-price-block {
  display: grid;
  gap: 0.35rem;
}

.pd-price,
.pd-sticky-price {
  font-size: 1.65rem;
  font-weight: 700;
}

.pd-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
}

.pd-price-old {
  font-size: 1rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

.pd-save {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.2rem 0.45rem;
  background: #f5d547;
  color: var(--color-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.pd-stock {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.pd-stock.is-in {
  color: var(--color-ok);
}

.pd-stock.is-in::before {
  content: "? ";
}

.pd-stock.is-out {
  color: #a33;
}

.pd-cart-form {
  display: grid;
  gap: 0.75rem;
}

.pd-qty {
  display: inline-grid;
  grid-template-columns: 2.5rem 3.5rem 2.5rem;
  border: 1px solid var(--color-line);
  width: max-content;
}

.pd-qty button,
.pd-qty input {
  margin: 0;
  border: 0;
  background: #fff;
  height: 2.75rem;
  text-align: center;
  font: inherit;
}

.pd-qty button {
  cursor: pointer;
  background: var(--color-paper-soft);
  color: var(--color-ink);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.pd-qty input {
  width: 100%;
  max-width: none;
  padding: 0;
  -moz-appearance: textfield;
}

.pd-qty input::-webkit-outer-spin-button,
.pd-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.pd-add {
  margin: 0;
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pd-add:hover:not(:disabled) {
  background: var(--color-accent-hover);
}

.pd-add:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pd-buy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.85rem;
  gap: 0.55rem;
  align-items: stretch;
}

.pd-fav-btn {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  min-height: 2.85rem;
  padding: 0;
  border: 1px solid var(--color-line);
  background: #fff;
  color: #b45a5a;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pd-fav-btn:hover,
.pd-fav-btn.is-active {
  border-color: #d49a9a;
  background: #fff5f5;
  color: #c0392b;
}

.pd-fav-btn .icon-heart {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  overflow: visible;
}

.pd-fav-btn.is-active .icon-heart {
  fill: currentColor;
  stroke: currentColor;
}

.pd-fav-btn:hover .icon-heart {
  fill: currentColor;
}

.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.7fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.pd-block {
  margin-bottom: 1.75rem;
}

.pd-block h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.useful-links {
  margin: 1.75rem 0;
  padding: 1rem 1.15rem;
  background: #f7f3eb;
  border: 1px solid #e8dfd0;
  border-radius: var(--radius-md, 8px);
}

.useful-links h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.useful-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.useful-links-list a {
  color: #6b4a1e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.useful-links-list a:hover {
  color: #e67a00;
}

.pd-description {
  color: var(--color-ink);
  line-height: 1.55;
}

.pd-description p {
  margin: 0 0 0.75rem;
}

.pd-description p:last-child {
  margin-bottom: 0;
}

.pd-description.is-collapsed {
  max-height: 9.5rem;
  overflow: hidden;
  mask-image: linear-gradient(#000 60%, transparent);
}

.pd-link-btn {
  margin: 0.5rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pd-attrs {
  margin: 0;
  display: grid;
}

.pd-attrs > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-line);
}

.pd-attrs dt {
  color: var(--color-muted);
  font-weight: 500;
}

.pd-attrs dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

.pd-reviews {
  display: grid;
  gap: 1.1rem;
}

.pd-review {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
}

.pd-review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #efe8dc;
  font-weight: 700;
}

.pd-review header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.25rem;
}

.pd-review header span {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.pd-review p {
  margin: 0;
}

.pd-side-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pd-side-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  background: var(--color-paper-soft);
  padding: 0.55rem;
}

.pd-side-card-media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fff;
}

.pd-side-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-side-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pd-side-card-price {
  font-weight: 700;
  font-size: 0.88rem;
}

.pd-side-card-old {
  color: var(--color-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
}

.pd-sticky-card {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: calc((100% - 0.75rem) / 2);
  padding: 0.55rem;
  border: 1px solid var(--color-line);
  background: #fff;
  text-align: left;
  margin-top: 0.75rem;
}

.pd-sticky-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pd-sticky-card .pd-stock,
.pd-sticky-card .pd-sticky-price {
  margin: 0;
  font-size: 0.88rem;
}

.pd-sticky-card .pd-sticky-price {
  font-weight: 700;
  font-size: 0.95rem;
}

.why-buy {
  margin: 2rem 0 1.25rem;
  padding: 1.4rem 1.5rem 1.45rem 1.55rem;
  max-width: var(--pd-max);
  border-radius: 1.1rem;
  border: 1px solid #dde8df;
  border-left: 4px solid var(--color-ok);
  background:
    linear-gradient(135deg, rgba(47, 122, 69, 0.06), transparent 42%),
    linear-gradient(180deg, #f4faf6 0%, #eef6f0 100%);
  box-shadow: 0 6px 20px rgba(30, 60, 40, 0.07);
  color: var(--color-ink);
}

.why-buy h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1f4d2e;
}

.why-buy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.why-buy-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-buy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-ok);
  box-shadow: 0 0 0 3px rgba(47, 122, 69, 0.15);
}

.why-buy-list a {
  color: var(--color-ok);
  font-weight: 600;
  text-underline-offset: 0.15em;
}

.mp-diff {
  margin: 2rem 0 1.5rem;
  padding: 1.35rem 1.5rem 1.4rem;
  max-width: var(--pd-max);
  border-radius: 1.1rem;
  border: 1px solid #e6e0d4;
  background-color: #f7f3ea;
  background-image:
    radial-gradient(ellipse at 12% 20%, rgba(180, 150, 110, 0.07) 0, transparent 42%),
    radial-gradient(ellipse at 88% 70%, rgba(160, 140, 100, 0.06) 0, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23c4b59a' stroke-width='1.2' opacity='0.18'%3E%3Cpath d='M20 60c10-18 28-18 40 0s30 18 40 0'/%3E%3Cpath d='M20 40c12-14 28-14 40 0s28 14 40 0'/%3E%3Cpath d='M30 80c8-12 22-12 30 0s22 12 30 0'/%3E%3Ccircle cx='60' cy='30' r='6'/%3E%3Ccircle cx='28' cy='70' r='4'/%3E%3Ccircle cx='92' cy='55' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, 120px 120px;
  box-shadow: 0 6px 22px rgba(40, 30, 10, 0.08);
  color: var(--color-ink);
}

.mp-diff h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.mp-diff-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.mp-diff-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.45rem 0.55rem;
  align-items: start;
  font-size: 0.95rem;
  line-height: 1.45;
}

.mp-diff-ico {
  line-height: 1.35;
  font-size: 1.05rem;
  text-align: center;
}

.pd-trust {
  margin: 2.5rem 0 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-line);
}

.pd-trust h2 {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 1.25rem;
}

.pd-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.pd-trust-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.pd-trust-grid p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.pd-recent {
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--color-paper-soft);
}

.pd-bought {
  margin-top: 1.5rem;
  padding: 1.25rem 0 0.5rem;
}

.pd-bought-head {
  margin-bottom: 1rem;
}

.pd-bought h2 {
  margin: 0;
  font-size: 1.15rem;
}

.pd-bought-shell {
  position: relative;
}

.pd-bought-btn {
  position: absolute;
  top: 4.2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
  color: var(--color-ink);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.pd-bought-btn.is-prev {
  left: 0.25rem;
}

.pd-bought-btn.is-next {
  right: 0.25rem;
}

.pd-bought-btn.is-prev::before {
  content: "‹";
  display: block;
  line-height: 1;
  transform: translate(-0.04em, -0.06em);
}

.pd-bought-btn.is-next::before {
  content: "›";
  display: block;
  line-height: 1;
  transform: translate(0.04em, -0.06em);
}

.pd-bought-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pd-bought-btn:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.pd-bought-viewport {
  overflow: hidden;
  margin: 0 1.6rem;
}

.pd-bought-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.25rem) / 4);
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.pd-bought-track::-webkit-scrollbar {
  display: none;
}

.pd-bought-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
  background: var(--color-paper-soft);
  padding: 0.65rem;
  min-width: 0;
}

.pd-bought-card-media {
  display: block;
  aspect-ratio: 3 / 3.5;
  overflow: hidden;
  background: #fff;
}

.pd-bought-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-bought-card-title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.4em;
}

.pd-bought-card-price {
  font-weight: 700;
  font-size: 0.95rem;
}

.pd-bought-card-old {
  color: var(--color-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .pd-bought-track {
    grid-auto-columns: calc((100% - 0.75rem) / 2);
  }
}

@media (max-width: 560px) {
  .pd-bought-track {
    grid-auto-columns: 78%;
  }
}

.pd-recent h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.pd-recent-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16rem, 18rem);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.pd-recent-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  text-decoration: none;
  color: inherit;
  padding: 0.55rem;
  min-height: 5.5rem;
}

.pd-recent-card img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
}

.pd-recent-card strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.pd-recent-card em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
}

.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 5.5rem;
  z-index: 35;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.ai-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: min(22rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
}

.ai-widget > * {
  pointer-events: auto;
}

.ai-widget-toggle {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #2b3d66;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.95rem 0.4rem 0.4rem;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(43, 61, 102, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-widget-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(43, 61, 102, 0.34);
}

.ai-widget-toggle-face {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.ai-widget-panel {
  width: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(28, 27, 25, 0.16);
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(0.85rem) scale(0.94);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.ai-widget.is-visible .ai-widget-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ai-widget.is-pop .ai-widget-panel {
  animation: ai-widget-pop 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.15);
}

@keyframes ai-widget-pop {
  0% {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.88);
  }
  60% {
    opacity: 1;
    transform: translateY(-0.2rem) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ai-widget-panel[hidden] {
  display: none !important;
}

.ai-widget.is-open .ai-widget-panel {
  display: grid;
}

.ai-widget-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.8rem;
  background: linear-gradient(135deg, #2b3d66 0%, #3d527f 100%);
  color: #fff;
}

.ai-widget-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.ai-widget-head-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.ai-widget-head-text strong {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.ai-widget-head-text span {
  font-size: 0.78rem;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-widget-close {
  margin: 0;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.ai-widget-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.ai-widget-log {
  max-height: 16rem;
  min-height: 8rem;
  overflow: auto;
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem 0.8rem;
  background: linear-gradient(180deg, #fbfaf7 0%, #fff 100%);
}

.ai-msg {
  display: flex;
  gap: 0.45rem;
  align-items: flex-end;
  max-width: 100%;
}

.ai-msg.user {
  justify-content: flex-end;
}

.ai-msg-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
}

.ai-msg-body {
  display: inline-block;
  max-width: min(100%, 16rem);
  padding: 0.55rem 0.7rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-msg.assistant .ai-msg-body {
  background: #fff;
  border: 1px solid var(--color-line);
  border-bottom-left-radius: 0.25rem;
  color: var(--color-ink);
}

.ai-msg.user .ai-msg-body {
  background: color-mix(in srgb, var(--color-accent) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, var(--color-line));
  border-bottom-right-radius: 0.25rem;
  color: var(--color-ink);
}

.ai-msg-link {
  color: #2b3d66;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ai-msg-link:hover {
  color: var(--color-accent);
}

.ai-widget-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem 0.75rem 0.8rem;
  border-top: 1px solid var(--color-line);
  background: #fff;
}

.ai-widget-form input {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font: inherit;
  max-width: none;
  background: var(--color-paper-soft);
}

.ai-widget-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
  outline-offset: 1px;
}

.ai-widget-form button {
  margin-top: 0;
  background: var(--color-accent);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
}

.hero {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 5rem);
  padding: var(--space);
  max-width: 40rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.section-page {
  width: min(var(--pd-max), calc(100% - 2 * var(--space)));
  max-width: var(--pd-max);
  margin: 0 auto;
  padding: 1.1rem 0 3rem;
}

.cart-page,
.checkout-page,
.search-page,
.auth-page,
.error-page {
  padding: var(--space);
  max-width: 56rem;
  margin: 0 auto;
}

.section-page-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
}

.section-page-desc {
  margin-top: 2rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.catalog-grid-cell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: #fff;
}

.catalog-grid-thumb {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-paper-soft);
  flex-shrink: 0;
}

.catalog-grid-thumb img,
.catalog-grid-thumb-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-grid-body {
  min-width: 0;
}

.catalog-grid-title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.catalog-grid-title a {
  color: var(--color-ink);
  text-decoration: none;
}

.catalog-grid-title a:hover {
  color: var(--color-accent);
}

.catalog-grid-subs {
  margin: 0;
  padding: 0 0 0 1.15rem;
  list-style: disc;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.catalog-grid-subs li + li {
  margin-top: 0.2rem;
}

.catalog-grid-subs a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 0.18em;
}

.catalog-grid-subs a:hover {
  color: var(--color-accent-hover);
}

.sale-page {
  max-width: var(--pd-max);
  width: min(var(--pd-max), calc(100% - 2 * var(--space)));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

/* ?? Category listing (Hobyt-inspired) ?? */
.cat {
  width: min(var(--pd-max), calc(100% - 2 * var(--space)));
  margin: 0 auto;
  padding: 1.1rem 0 3rem;
}

.cat-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
}

.cat-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
}

.cat-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
}

.cat-side-nav {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 1.25rem;
}

.cat-side-nav a {
  display: block;
  padding: 0.65rem 0.8rem;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--color-paper-soft);
}

.cat-side-nav a:hover {
  color: var(--color-accent);
}

.cat-side-nav a.is-active {
  background: var(--color-accent);
  color: #fff;
}

.cat-filters h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.cat-filter-group {
  border-top: 1px solid var(--color-line);
  padding: 0.55rem 0;
}

.cat-filter-group summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.cat-filter-group summary::-webkit-details-marker {
  display: none;
}

.cat-filter-options {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.cat-filter-options label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.cat-filter-options input {
  width: auto;
  max-width: none;
}

.cat-filter-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.cat-filter-apply {
  margin: 0;
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.cat-filter-reset {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
}

.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.cat-toolbar-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.cat-toolbar-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.cat-toolbar-form select {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-ink);
}

.cat-count {
  margin: 0;
  font-size: 0.88rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem 1rem;
}

.pcard {
  position: relative;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: var(--color-paper-soft);
  overflow: hidden;
  text-decoration: none;
}

.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pcard-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.pcard-badge.is-sale {
  background: #e14b4b;
}

.pcard-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.pcard-body {
  display: grid;
  gap: 0.25rem;
}

.pcard-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.pcard-title a {
  color: var(--color-ink);
  text-decoration: none;
}

.pcard-title a:hover {
  color: var(--color-accent);
}

.pcard-stock {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.pcard-stock.is-in {
  color: var(--color-ok);
}

.pcard-stock.is-in::before {
  content: "? ";
}

.pcard-stock.is-out {
  color: var(--color-muted);
}

.pcard-sku {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.pcard-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-top: 0.2rem;
}

.pcard-price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.pcard-price-old {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

.pcard-save {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.15rem 0.4rem;
  background: #f5d547;
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.cat-more {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0.75rem;
}

.cat-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
}

.cat-more a::before {
  content: "";
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-size: 0.55rem 2px, 2px 0.55rem;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(90deg);
}

.cat-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.cat-pager a,
.cat-pager span {
  min-width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 700;
}

.cat-pager .is-active {
  background: var(--color-accent);
  color: #fff;
}

.cat-pager-gap {
  color: var(--color-muted);
}

.cat-desc {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.eeat-block {
  margin: 2.5rem 0 1.5rem;
  padding: 1.75rem 1.5rem;
  background: var(--color-paper-soft);
  border: 1px solid var(--color-line);
  border-radius: 0.35rem;
}

.eeat-head {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.eeat-head h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  line-height: 1.35;
}

.eeat-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.eeat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.eeat-card {
  background: #fff;
  padding: 1.1rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 0.25rem;
}

.eeat-card h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.eeat-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.eeat-card p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.eeat-card--experience {
  border-top: 3px solid #6b9080;
}

.eeat-card--expertise {
  border-top: 3px solid #5c7cfa;
}

.eeat-card--authority {
  border-top: 3px solid #b08968;
}

.eeat-card--trust {
  border-top: 3px solid #7f5539;
}

.eeat-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.eeat-foot p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.eeat-foot a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 1100px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eeat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cat-layout {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

.mega-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.mega-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-ink);
  text-decoration: none;
}

label {
  display: block;
  margin-bottom: 0.75rem;
}

input,
textarea,
button,
select {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  max-width: 28rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: var(--radius-md);
}

button,
.btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.error {
  color: #8b2e2e;
}

.ok {
  color: var(--color-ok);
}

.stack {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 1rem 0;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .section-nav,
  .header-tools {
    justify-content: flex-start;
  }

  .pd-hero,
  .pd-grid,
  .pd-trust-grid,
  .eeat-grid {
    grid-template-columns: 1fr;
  }

  .pd-gallery {
    grid-template-columns: 1fr;
  }

  .pd-stage {
    order: 1;
  }

  .pd-thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pd-thumbs::-webkit-scrollbar {
    display: none;
  }

  .pd-bought-viewport {
    margin: 0 0.85rem;
  }

  .pd-bought-btn {
    top: 50%;
    transform: translateY(-130%);
  }

  .pd-sticky-card {
    position: static;
  }
}

/* ??? Cart & checkout ??? */
.cart-page,
.checkout-page,
.thanks-page {
  max-width: var(--pd-max);
  margin: 0 auto;
  padding: 1.25rem var(--space) 3rem;
}

.cart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cart-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-filter input {
  width: min(16rem, 70vw);
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.cart-filter-clear {
  position: absolute;
  right: 0.35rem;
  background: transparent;
  color: var(--color-muted);
  margin: 0;
  padding: 0.25rem 0.4rem;
}

.cart-toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-count-label {
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.15rem;
}

.cart-clear-btn {
  background: transparent;
  color: var(--color-muted);
  margin: 0;
  padding: 0.25rem 0.4rem;
}

.cart-list {
  display: grid;
  gap: 0.75rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
}

.cart-row-img {
  display: block;
  width: 96px;
  height: 96px;
  background: var(--color-paper-soft);
  overflow: hidden;
}

.cart-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-row-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.cart-row-title {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}

.cart-remove {
  background: transparent;
  color: var(--color-muted);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.cart-row-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
}

.cart-unit span {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.15rem;
}

.cart-qty button {
  margin: 0;
  background: transparent;
  color: var(--color-ink);
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.cart-qty-val {
  text-align: center;
  min-width: 2.5rem;
}

.cart-qty-val input {
  width: 2.4rem;
  border: 0;
  text-align: center;
  padding: 0;
  max-width: none;
}

.cart-qty-val span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.cart-line-total {
  text-align: right;
  font-weight: 700;
  font-size: 1.05rem;
}

.cart-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1.5rem;
  align-items: end;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.cart-coupon label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--color-muted);
}

.cart-coupon-row {
  display: flex;
  gap: 0.35rem;
}

.cart-coupon-row input {
  flex: 1;
  max-width: none;
}

.cart-coupon-apply {
  margin: 0;
  width: 2.5rem;
  padding: 0;
}

.cart-coupon-hint {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.cart-totals {
  text-align: center;
}

.cart-total-label {
  font-weight: 700;
}

.cart-total-weight {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.cart-total-sum {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.cart-min-order {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: var(--color-ink);
  line-height: 1.35;
}

.cart-min-order.is-short {
  color: #8a3a3a;
}

.cart-min-order-need {
  display: block;
  margin-top: 0.2rem;
  font-weight: 600;
}

.cart-min-order-alert {
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid #e4b4b4;
  background: #fff5f5;
  color: #8a3a3a;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.cart-checkout-btn.is-disabled,
.cart-manager-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.cart-actions {
  display: grid;
  gap: 0.5rem;
  justify-items: stretch;
}

.cart-checkout-btn,
.cart-manager-btn,
.checkout-submit {
  margin: 0;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  font-weight: 600;
}

.cart-manager-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
}

.cart-added-dialog {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 32rem;
  width: calc(100% - 2rem);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.cart-added-dialog::backdrop {
  background: rgba(28, 27, 25, 0.45);
}

.cart-added-inner {
  padding: 1.35rem 1.5rem 1.5rem;
}

.cart-added-inner h3 {
  margin: 0 0 1rem;
}

.cart-added-product {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.cart-added-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-paper-soft);
}

.cart-added-product span {
  display: block;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.cart-added-upsell {
  margin: 0 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line, #e6e2db);
}

.cart-added-upsell h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.cart-added-upsell-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-added-upsell-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: space-between;
}

.cart-added-upsell-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.cart-added-upsell-link img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--color-paper-soft);
}

.cart-added-upsell-link span {
  min-width: 0;
}

.cart-added-upsell-link strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-added-upsell-link em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.cart-added-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cart-upsell {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line, #e6e2db);
}

.cart-upsell h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.cart-upsell-lead {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.cart-upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1rem;
}

.cart-upsell-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-upsell-link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
}

.cart-upsell-link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-paper-soft);
}

.cart-upsell-name {
  font-size: 0.9rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-upsell-price {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-upsell-add {
  margin: 0;
}

.btn-ghost,
.btn-sm {
  display: inline-block;
  margin: 0;
  padding: 0.55rem 1rem;
  border: 1px solid var(--color-accent);
  background: #fff;
  color: var(--color-accent);
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font: inherit;
}

.btn-sm {
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
}

.checkout-page {
  background: transparent;
}

.checkout-top {
  margin-bottom: 1.25rem;
}

.checkout-back {
  display: inline-block;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.checkout-crumbs {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.checkout-page h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.checkout-error,
.checkout-hint-error {
  color: #c0392b;
  margin: 0.75rem 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.checkout-main {
  display: grid;
  gap: 1rem;
}

.checkout-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  padding: 1.15rem 1.25rem;
}

.checkout-section-title {
  margin: 0 0 0.85rem;
  color: #9a958c;
  font-weight: 500;
  font-size: 1.35rem;
}

.checkout-customer-type {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cko-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.cko-radio input {
  accent-color: var(--color-accent);
  width: 1.1rem;
  height: 1.1rem;
}

.checkout-location {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.checkout-flag {
  width: 1.35rem;
  height: 1rem;
  background: linear-gradient(#fff 33%, #0039a6 33% 66%, #d52b1e 66%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.cko-options {
  display: grid;
  gap: 0.35rem;
}

.cko-option {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.35rem;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.cko-option:hover {
  background: #faf9f7;
}

.cko-option input {
  accent-color: var(--color-accent);
  width: 1.15rem;
  height: 1.15rem;
}

.cko-option-icon {
  width: 1.5rem;
  height: 1.5rem;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  position: relative;
}

.cko-icon-box::before {
  content: "";
  position: absolute;
  inset: 0.25rem;
  border: 1.5px solid var(--color-accent);
}

.cko-icon-truck {
  border: 0;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) 0.15rem 0.55rem / 0.85rem 0.45rem no-repeat,
    radial-gradient(circle at 0.35rem 1.15rem, var(--color-accent) 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 1rem 1.15rem, var(--color-accent) 0.18rem, transparent 0.2rem);
}

.cko-icon-post {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom-width: 3px;
}

.cko-option-text strong {
  font-weight: 600;
}

.cko-option-text em {
  font-style: normal;
  color: var(--color-muted);
  margin-left: 0.25rem;
}

.cko-payment {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.cko-payment .cko-option-text {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cko-payment-desc {
  grid-column: 2;
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cko-pay-icons {
  display: inline-flex;
  gap: 0.35rem;
}

.cko-pay-icon {
  font-size: 0.65rem;
  font-weight: 700;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.35rem;
  color: var(--color-muted);
  background: #fff;
}

.cko-form-grid {
  display: grid;
  gap: 0.85rem;
}

.cko-field span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--color-muted);
}

.cko-field i {
  color: #c0392b;
  font-style: normal;
}

.cko-field input,
.cko-field textarea,
.cko-address input {
  width: 100%;
  max-width: none;
  border: 1px solid #d9d5ce;
  border-radius: var(--radius-md);
  padding: 0.7rem 0.8rem;
}

.cko-address-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.cko-address-row label span {
  font-size: 0.85rem;
}

.sticky-summary {
  position: sticky;
  top: 5.5rem;
}

.cko-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.cko-summary-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cko-summary-head a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.cko-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cko-items li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.65rem;
  align-items: start;
}

.cko-items img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-paper-soft);
}

.cko-item-name {
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--color-muted);
}

.cko-totals {
  margin: 1rem 0;
  display: grid;
  gap: 0.35rem;
}

.cko-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cko-totals dt {
  color: var(--color-muted);
}

.cko-totals dd {
  margin: 0;
}

.cko-total {
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-line);
}

.cko-total dt,
.cko-total dd {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.cko-coupon {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.cko-coupon input {
  flex: 1;
  max-width: none;
  border: 1px solid #d9d5ce;
  border-radius: var(--radius-md);
  padding: 0.55rem 0.7rem;
}

.cko-coupon button {
  margin: 0;
  background: #eceae4;
  color: var(--color-ink);
  border-radius: var(--radius-md);
}

.cko-coupon-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0 0 0.75rem;
}

.cko-selected {
  border: 1px dashed #d0cbc1;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
}

.checkout-submit {
  width: 100%;
}

.checkout-submit-mobile {
  display: none;
}

.checkout-point-selected {
  margin: 0.5rem 0 0;
  color: var(--color-ok);
  font-size: 0.9rem;
}

.cko-dialog {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 28rem;
  width: calc(100% - 2rem);
}

.cko-dialog::backdrop {
  background: rgba(28, 27, 25, 0.45);
}

.cko-dialog-inner {
  padding: 1.25rem;
}

.cko-dialog-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.cko-points-list {
  display: grid;
  gap: 0.5rem;
  max-height: 20rem;
  overflow: auto;
  margin: 0.75rem 0;
}

.cko-point-item {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
  margin: 0;
  color: var(--color-ink);
  cursor: pointer;
}

.cko-point-item:hover {
  border-color: var(--color-accent);
}

.thanks-page {
  text-align: center;
  padding-top: 3rem;
}

.thanks-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.shop-tabs a.is-active {
  font-weight: 700;
  text-decoration: underline;
}

.shop-form {
  max-width: 40rem;
  margin-top: 1rem;
}

.header-cart-badge[hidden],
.header-cart-badge:empty,
.header-fav-badge[hidden],
.header-fav-badge:empty {
  display: none;
}

@media (max-width: 900px) {
  .cart-footer,
  .checkout-layout,
  .cart-row-meta {
    grid-template-columns: 1fr;
  }

  .cart-line-total,
  .cart-totals {
    text-align: left;
  }

  .checkout-submit-mobile {
    display: block;
  }

  .sticky-summary {
    position: static;
  }

  .cko-option {
    grid-template-columns: auto auto 1fr;
  }

  .cko-option .btn-sm {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

/* ??? Reviews & Blog ??? */
.section-nav a.is-active {
  color: var(--color-accent);
  box-shadow: inset 0 -2px 0 var(--color-accent);
}

.content-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.content-back {
  display: inline-block;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
}

.breadcrumbs {
  color: var(--color-muted);
  font-size: 0.9rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 0.18em;
}

.content-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.content-head h1,
.blog-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.content-head--stack {
  display: grid;
  gap: 0.5rem;
  align-items: start;
}

.content-head .content-lead {
  margin: 0;
  max-width: 48rem;
  line-height: 1.55;
}

.content-lead,
.content-muted {
  color: var(--color-muted);
}

.reviews-page,
.blog-page,
.blog-article-page {
  max-width: var(--pd-max);
  margin: 0 auto;
  padding: 1.25rem var(--space) 3rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.review-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.65rem;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff4e8;
  color: var(--color-accent);
  font-weight: 700;
}

.review-city {
  display: block;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.review-stars span {
  color: #d9d5ce;
}

.review-stars span.is-on {
  color: var(--color-accent);
}

.review-card time {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.review-product {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.review-form-block {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: #faf9f7;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.review-form label,
.comment-form label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.review-form input,
.review-form select,
.review-form textarea,
.comment-form input,
.comment-form textarea {
  width: 100%;
  max-width: none;
  border: 1px solid #d9d5ce;
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.75fr);
  gap: 1.5rem;
  align-items: start;
}

.blog-rss,
.article-icon-btn {
  color: var(--color-muted);
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(14rem, 0.9fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.blog-featured {
  display: grid;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.blog-featured h2,
.blog-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.blog-featured-media,
.blog-card-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-paper-soft);
  aspect-ratio: 16 / 10;
}

.blog-featured-media img,
.blog-card-media img,
.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  background:
    linear-gradient(135deg, #f0ebe3, #e4ddd2 40%, #f7f3eb);
}

.blog-media-placeholder.is-wide {
  min-height: 18rem;
  border-radius: var(--radius-lg);
}

.blog-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-card-badge {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  background: #3b82f6;
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
}

.blog-secondary {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.blog-secondary-item {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-line);
}

.blog-secondary-item strong {
  display: block;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.blog-secondary-item time,
.blog-card time,
.article-meta {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.blog-secondary-item img,
.blog-thumb-ph {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-paper-soft);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-card {
  display: grid;
  gap: 0;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #ece8e1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.15s ease;
}

.blog-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blog-card-body {
  padding: 0.85rem 0.9rem 1rem;
  display: grid;
  gap: 0.45rem;
}

.blog-aside-card {
  background: #f6f5f2;
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.blog-aside-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.blog-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-cats li + li {
  border-top: 1px solid #e5e1d8;
}

.blog-cats a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  text-decoration: none;
  color: var(--color-ink);
}

.blog-cats a.is-active,
.blog-cats a.is-active span {
  color: var(--color-accent);
  font-weight: 600;
}

.blog-cats em {
  color: var(--color-muted);
  font-style: normal;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-tags a {
  display: inline-block;
  padding: 0.35rem 0.55rem;
  background: #ebe7df;
  color: #5c574f;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.blog-tags a.is-active {
  background: #fff4e8;
  color: var(--color-accent);
}

.pager {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 1.75rem 0 0.5rem;
}

.pager a {
  min-width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: var(--color-ink);
  border-radius: var(--radius-sm);
}

.pager a.is-active,
.pager span.is-active {
  background: var(--color-accent);
  color: #fff;
}

.pager-gap {
  min-width: 1.5rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  color: var(--color-muted);
}

.article-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.article-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  max-width: 48rem;
}

.article-meta {
  margin: 0.75rem 0 1.25rem;
}

.article-meta a {
  color: var(--color-accent);
  text-decoration: none;
}

.article-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.article-cover {
  margin: 0 0 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-content {
  line-height: 1.65;
  font-size: 1.02rem;
}

.article-content p {
  margin: 0 0 1rem;
}

.article-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.75rem 0;
  flex-wrap: wrap;
}

.article-tabs {
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 1.25rem;
}

.article-tabs span {
  display: inline-block;
  padding: 0.55rem 0;
  color: var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  font-weight: 600;
}

.comment-add-btn {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  list-style: none;
}

.comment-add-btn::-webkit-details-marker {
  display: none;
}

.comment-form {
  max-width: 32rem;
  margin: 0 auto 1rem;
}

.comments-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.comment-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
}

.comment-item time {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  margin: 0.15rem 0 0.45rem;
}

/* ocStore category-info-links (product page footer block) */
.category-info-links {
  max-width: var(--pd-max);
  width: calc(100% - 2 * var(--space));
  margin: 2rem auto 1.25rem;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee4d8;
  box-sizing: border-box;
}

.category-info-links h2 {
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 22px;
  color: #5b4030;
}

.category-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.category-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  background: #faf8f5;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.2s;
}

.category-link-item:hover {
  background: #f2e7da;
}

.category-link-icon {
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1;
}

.category-link-item strong {
  color: #5b4030;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
}

.category-link-item small {
  color: #777;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .category-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .category-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-info-links {
    margin-left: var(--space);
    margin-right: var(--space);
    padding: 20px 14px;
  }
}

.tg-promo {
  margin: 2rem var(--space) 0;
}

.tg-promo-inner {
  max-width: var(--pd-max);
  margin: 0 auto;
  padding: 1rem 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid #e4ddd0;
  background-color: #f6f1e6;
  background-image:
    radial-gradient(ellipse at 10% 15%, rgba(180, 150, 110, 0.08) 0, transparent 40%),
    radial-gradient(ellipse at 90% 80%, rgba(160, 140, 100, 0.07) 0, transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23c4b59a' stroke-width='1.1' opacity='0.2'%3E%3Cpath d='M20 70c12-20 32-20 46 0s34 20 46 0'/%3E%3Cpath d='M24 48c14-16 32-16 46 0s32 16 46 0'/%3E%3Cpath d='M36 96c10-14 26-14 36 0s26 14 36 0'/%3E%3Ccircle cx='70' cy='34' r='7'/%3E%3Ccircle cx='32' cy='82' r='5'/%3E%3Ccircle cx='108' cy='64' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, 140px 140px;
  box-shadow: 0 8px 24px rgba(40, 30, 10, 0.07);
}

.tg-promo-photo {
  margin: 0 0 0.85rem;
  border-radius: 0.75rem;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(180, 160, 130, 0.35);
  background: #efe8da;
}

.tg-promo-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.tg-promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid #c5cdd2;
  border-radius: 20px;
  background: #f7f6fb;
  text-decoration: none;
  color: #4b3f8f;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tg-promo-card:hover {
  border-color: #29a9eb;
  background: #f3f8fc;
  box-shadow: 0 4px 16px rgba(41, 169, 235, 0.18);
}

.tg-promo-text {
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.tg-promo-icon {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
}

.tg-promo-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  /* logo asset has a black square backdrop */
  mix-blend-mode: multiply;
  border-radius: 50%;
}

@media (max-width: 640px) {
  .tg-promo-inner {
    padding: 0.75rem;
  }

  .tg-promo-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .tg-promo-icon,
  .tg-promo-icon img {
    width: 80px;
    height: 80px;
  }
}

.site-footer {
  background: #f3f1ec;
  border-top: 1px solid var(--color-line);
  margin-top: 1.25rem;
  padding: 2rem var(--space);
}

.site-footer-inner {
  max-width: var(--pd-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.footer-counters {
  max-width: var(--pd-max);
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  text-align: center;
  line-height: 0;
}
.footer-counters a,
.footer-counters span,
.footer-counters div {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  text-decoration: none;
}
.footer-counters img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.25rem;
}
.footer-counters noscript {
  display: none;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #6b6560;
}

.site-footer a,
.site-footer span {
  display: block;
  color: #6b6560;
  text-decoration: none;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.footer-contacts-title {
  color: var(--color-accent) !important;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.footer-contact-row::before {
  content: '';
  flex: 0 0 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  background: #9a948c;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.footer-contact-row.is-phone::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.5 3 3.8 5.3 6.8 6.8l2.3-2.3c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.6 22 2 13.4 2 3c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
}

.footer-contact-row.is-mail::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.footer-contact-row.is-address::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5S13.4 11.5 12 11.5z'/%3E%3C/svg%3E");
}

.footer-contact-row a,
.footer-contact-row span {
  margin: 0;
}

.footer-subscribe {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.footer-subscribe input {
  flex: 1;
  border: 1px solid #d9d5ce;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  max-width: none;
}

.footer-subscribe button {
  margin: 0;
  width: 2.4rem;
  padding: 0;
}

.footer-socials {
  display: flex;
  gap: 0.4rem;
}

.footer-socials span,
.site-footer .footer-socials a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #ddd6c8;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin: 0;
  color: #6b6560;
  text-decoration: none;
  border: 1px solid transparent;
}

.site-footer .footer-socials a:hover {
  background: #d0e9f7;
  border-color: #29a9eb;
  color: #1d6f98;
}

.admin-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

/* ??? Homepage ??? */
.home-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.home-section {
  padding: 1.75rem var(--space) 0.5rem;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.home-section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
}

.home-section-head a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.home-hit-mark {
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: 0.05rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.35rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 0;
}

.home-btn:hover {
  background: var(--color-accent-hover);
}

.home-hero {
  position: relative;
  margin: 0.75rem var(--space) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ece8e1;
  min-height: clamp(16rem, 32vw, 24rem);
}

.home-hero-track {
  position: relative;
  min-height: inherit;
}

.home-hero-slide {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: inherit;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  gap: 1.5rem;
}

.home-hero-slide.is-active {
  display: grid;
}

.home-hero-slide.tone-dark {
  background:
    linear-gradient(105deg, rgba(28, 27, 25, 0.82) 0%, rgba(28, 27, 25, 0.35) 55%, transparent 100%),
    linear-gradient(135deg, #c4b8a8, #e8e2d8 45%, #d5cfc4);
  color: #fff;
}

.home-hero-slide.tone-light {
  background: linear-gradient(120deg, #fff7ef, #ffe8d4 50%, #f3efe8);
  color: var(--color-ink);
}

.home-hero-slide.tone-accent {
  background: linear-gradient(120deg, #fff4e8, #ffd9b0 40%, #f0ebe3);
  color: var(--color-ink);
}

.home-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  max-width: 18ch;
}

.home-hero-copy p {
  margin: 0 0 1.25rem;
  max-width: 36ch;
  opacity: 0.92;
}

.home-hero-visual {
  min-height: 12rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(145deg, #f7f3eb, #d9d0c2);
}

.home-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.home-hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.home-hero-dots button.is-active {
  background: var(--color-accent);
}

.home-promo {
  padding: 1.25rem var(--space) 0;
}

.home-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-promo-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: stretch;
  min-height: 8.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: color-mix(in srgb, var(--promo-accent) 55%, #2a2a2a);
}

.home-promo-copy {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: 1rem 0.85rem 1rem 1.1rem;
  z-index: 1;
}

.home-promo-copy span {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}

.home-promo-copy em {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--promo-accent);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.home-promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  justify-self: end;
}

.home-cat-circles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-cat-circle {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0.75rem;
  text-decoration: none;
  color: var(--color-ink);
  border-right: 1px solid var(--color-line);
  text-align: center;
}

.home-cat-circle:last-child {
  border-right: 0;
}

.home-cat-circle-img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-paper-soft);
}

.home-cat-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cat-circle-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

.home-product-rail {
  position: relative;
}

.home-product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12.5rem, 18%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.15rem 2.2rem 0.75rem;
  scrollbar-width: thin;
}

.home-pcard {
  position: relative;
  scroll-snap-align: start;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.home-pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-paper-soft);
}

.home-pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-pcard-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0ebe3, #e4ddd2);
}

.home-pcard-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: grid;
  gap: 0.25rem;
  z-index: 1;
}

.home-pcard-badges span {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.home-pcard-badges .is-sale {
  background: #e14b4b;
}

.home-pcard-badges .is-order {
  background: #e14b4b;
}

.home-pcard-badges .is-bulk {
  background: #3b82f6;
}

.home-pcard-title {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 500;
}

.home-pcard-title a {
  color: inherit;
  text-decoration: none;
}

.home-pcard-stock {
  margin: 0;
  font-size: 0.8rem;
}

.home-pcard-stock.is-in {
  color: var(--color-ok);
}

.home-pcard-stock.is-out {
  color: var(--color-muted);
}

.home-pcard-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: baseline;
}

.home-pcard-prices strong {
  font-size: 0.95rem;
}

.home-pcard-prices s {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.home-rail-btn {
  position: absolute;
  top: 28%;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  margin: 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.home-rail-btn.is-prev {
  left: 0;
}

.home-rail-btn.is-next {
  right: 0;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-cat-cell {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 1.1rem 0.65rem;
  text-align: center;
  text-decoration: none;
  color: var(--color-ink);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
}

.home-cat-cell:nth-child(5n) {
  border-right: 0;
}

.home-cat-cell-img {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-paper-soft);
}

.home-cat-cell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 0.85rem;
}

.home-blog-featured,
.home-blog-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.home-blog-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-paper-soft);
}

.home-blog-featured .home-blog-media {
  aspect-ratio: 16 / 11;
  min-height: 14rem;
}

.home-blog-media img,
.home-blog-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-blog-ph {
  background: linear-gradient(135deg, #efe8dc, #ddd4c6);
}

.home-blog-ph.is-delivery {
  background:
    linear-gradient(160deg, #ffe8c8, #ffd4a0 40%, #f5efe6);
}

.home-blog-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  display: grid;
  gap: 0.25rem;
}

.home-blog-overlay strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.home-blog-card strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.home-blog-card time,
.home-blog-overlay time {
  color: inherit;
  opacity: 0.8;
  font-size: 0.82rem;
}

.home-blog-card time {
  color: var(--color-muted);
  opacity: 1;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.home-about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-paper-soft);
}

.home-about-media img,
.home-about-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-about-ph {
  background: linear-gradient(145deg, #f3eee6, #e2d8c8);
}

.home-about-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.3;
}

.home-about-lead {
  font-weight: 700;
  margin: 0 0 0.85rem;
}

.home-about-copy p {
  margin: 0 0 0.75rem;
  color: #3a3834;
}

.home-about-copy .home-btn {
  margin-top: 0.5rem;
}

.home-recent {
  padding-bottom: 1rem;
}

.home-recent h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--space);
  background: #fff;
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  max-width: 52rem;
}

.cookie-banner a {
  color: var(--color-accent);
}

.cookie-banner button {
  flex-shrink: 0;
  margin: 0;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .home-promo-grid,
  .home-cat-circles,
  .home-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-blog-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .blog-layout,
  .blog-hero,
  .blog-grid,
  .review-form-grid,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-slide,
  .home-about {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    min-height: 8rem;
  }

  .home-promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-cat-circles,
  .home-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .home-cat-circle {
    border-bottom: 1px solid var(--color-line);
  }

  .home-product-track {
    grid-auto-columns: minmax(11rem, 42%);
    padding-left: 0;
    padding-right: 0;
  }

  .home-rail-btn {
    display: none;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .home-blog-grid,
  .home-promo-grid {
    grid-template-columns: 1fr;
  }
}

/* ??? Static info pages ??? */
.info-page {
  max-width: var(--pd-max);
  margin: 0 auto;
  padding: 1.25rem var(--space) 3rem;
}

.info-prose {
  max-width: 48rem;
  line-height: 1.65;
  font-size: 1.02rem;
}

.info-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.info-prose h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.1rem;
}

.info-prose p,
.info-prose ul {
  margin: 0 0 0.9rem;
}

.info-prose ol {
  margin: 0 0 0.9rem;
  padding-left: 1.25rem;
}

.info-prose li + li {
  margin-top: 0.35rem;
}

.info-prose a {
  color: var(--color-accent);
}

.info-note {
  padding: 0.85rem 1rem;
  background: #faf7f2;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.info-related {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
}

/* Staff frontend edit pencils */
.admin-pencil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #2c2a28;
  border: 1px solid rgba(44, 42, 40, 0.18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  z-index: 40;
  transition: transform 0.15s ease, background 0.15s ease;
}
.admin-pencil:hover {
  background: #f5f1ea;
  transform: scale(1.06);
  color: #1a1918;
}
.admin-pencil--page {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
}
.admin-pencil--card {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
@media (max-width: 720px) {
  .admin-pencil--page {
    top: auto;
    bottom: 5.5rem;
    right: 0.75rem;
  }
}

.search-result-row {
  position: relative;
  padding-right: 2.5rem;
}
.search-result-row .admin-pencil--card {
  top: 0;
  right: 0;
}

/* Delivery methods (cart + checkout) */
.delivery-methods-block {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--color-line, #e6e2db);
  border-radius: var(--radius-lg);
}
.delivery-methods-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.delivery-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.delivery-method-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.delivery-method-row:hover {
  background: var(--color-paper-soft, #f7f3eb);
}
.delivery-method-row.is-test {
  border: 1px dashed #c9a227;
  background: #fffdf5;
}
.delivery-method-row input[type=radio] {
  margin-top: 0.35rem;
}
.delivery-method-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.delivery-method-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.delivery-method-name {
  font-weight: 500;
  line-height: 1.35;
}
.delivery-method-price {
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-text, #1a1814);
}
.delivery-method-hint {
  font-size: 0.88rem;
  color: var(--color-muted, #6b6560);
  line-height: 1.35;
}
.delivery-method-badge {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  background: #efe7d8;
  color: #6b4a1e;
}
.delivery-test-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.payment-methods-block {
  margin: 0 0 1.25rem;
}
.payment-methods-block + .payment-methods-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--color-line, #e6e2db);
}
.payment-methods-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.payment-method-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.payment-method-row:hover {
  background: var(--color-paper-soft, #f7f3eb);
}
.payment-method-row.is-test {
  border: 1px dashed #c9a227;
  background: #fffdf5;
}
.payment-method-row input[type=radio] {
  margin-top: 0.35rem;
}
.payment-method-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.payment-method-name {
  font-weight: 500;
  line-height: 1.35;
}
.payment-method-hint {
  font-size: 0.88rem;
  color: var(--color-muted, #6b6560);
  line-height: 1.35;
}
.payment-method-badge {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  background: #efe7d8;
  color: #6b4a1e;
}
.visibility-switch--delivery label.is-on,
.visibility-switch--payment label.is-on {
  font-weight: 600;
}
.admin-shop tr.row-test td {
  background: #fffdf5;
}

/* Favorites (wishlist) */
.account-nav-links { margin: 0.75rem 0 1.25rem; }
.account-back { margin: 0 0 0.75rem; }
.account-favorites { max-width: 64rem; }
.fav-empty { margin-top: 1.25rem; color: var(--color-muted); }
.fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.fav-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: var(--radius-md);
}
.fav-card-media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-paper-soft);
  border-radius: var(--radius-md);
}
.fav-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fav-card-ph {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--color-muted);
  font-size: 0.85rem;
}
.fav-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}
.fav-card-title a {
  color: inherit;
  text-decoration: none;
}
.fav-card-title a:hover { color: var(--color-accent); }
.fav-card-price {
  margin: 0.35rem 0 0.65rem;
  font-weight: 700;
}
.fav-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.fav-remove-btn {
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--color-line);
  background: #fff;
  color: #8a3a3a;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}
.fav-remove-btn:hover { background: #fff5f5; }
.account-fav-preview { margin-top: 2rem; }
.account-fav-list { margin: 0.5rem 0 1rem; padding-left: 1.1rem; }

@media (max-width: 520px) {
  .pd-buy-row {
    grid-template-columns: minmax(0, 1fr) 2.6rem;
  }
  .header-fav span:not(.header-icon-mark):not(.header-fav-badge) {
    display: none;
  }
}

/* —— Toast notifications (ADNotify) —— */
.ad-notify-root {
  position: fixed;
  z-index: 12000;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(24.5rem, calc(100vw - 1.5rem));
  pointer-events: none;
}

.ad-notify {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem 0.75rem;
  align-items: start;
  padding: 0.9rem 0.85rem 0.95rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: #fffdf9;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 36px rgba(28, 27, 25, 0.14);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ad-notify.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ad-notify.is-leaving {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

.ad-notify-mark {
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 18%, #fff);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.ad-notify-mark::before {
  content: "i";
}

.ad-notify--success .ad-notify-mark {
  background: color-mix(in srgb, var(--color-ok) 18%, #fff);
  color: var(--color-ok);
}
.ad-notify--success .ad-notify-mark::before { content: "✓"; }

.ad-notify--favorite .ad-notify-mark {
  background: #fff0f0;
  color: #c0392b;
}
.ad-notify--favorite .ad-notify-mark::before { content: "♥"; }

.ad-notify--warning .ad-notify-mark {
  background: #fff6e8;
  color: #b56a00;
}
.ad-notify--warning .ad-notify-mark::before { content: "!"; }

.ad-notify--error .ad-notify-mark {
  background: #fdeeee;
  color: #a33;
}
.ad-notify--error .ad-notify-mark::before { content: "!"; }

.ad-notify-body {
  min-width: 0;
}

.ad-notify-title {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.3;
}

.ad-notify-msg {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.ad-notify-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.ad-notify-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.ad-notify-close {
  margin: -0.15rem -0.1rem 0 0;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.ad-notify-close:hover {
  color: var(--color-ink);
}

@media (max-width: 520px) {
  .ad-notify-root {
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    width: auto;
  }
}

/* 152-FZ consent — checkbox left of text (global input{width:100%} must not apply) */
.pd-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--color-muted, #6f6a63);
  cursor: pointer;
}
.pd-consent input[type="checkbox"] {
  width: auto;
  max-width: none;
  min-width: 1rem;
  height: 1rem;
  margin: 0.2rem 0 0;
  padding: 0;
  border: none;
  background: transparent;
  flex-shrink: 0;
  accent-color: var(--color-accent, #c45c26);
}
.pd-consent > span {
  flex: 1;
  min-width: 0;
}
.pd-consent a {
  color: inherit;
  text-decoration: underline;
}
.cko-consent .pd-consent {
  margin-top: 0;
}

/* AI feedback CTA under greeting */
.ai-feedback-invite {
  margin-top: 0.35rem;
}
.ai-feedback-cta-link {
  display: inline;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--color-accent, #8a5a2b);
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
  line-height: 1.45;
}
.ai-feedback-cta-link:hover {
  color: var(--color-accent-hover, #6b4420);
}

/* Site feedback dialog — compact, no inner scroll */
.site-feedback-dialog {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: min(28rem, calc(100vw - 1.5rem));
  width: calc(100% - 2rem);
  max-height: none;
  overflow: visible;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.site-feedback-dialog::backdrop {
  background: rgba(28, 24, 20, 0.45);
}
.site-feedback-inner {
  padding: 0.9rem 1.1rem 1rem;
  margin: 0;
  max-width: none;
  gap: 0;
}
.site-feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.15rem;
}
.site-feedback-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.site-feedback-hint {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  line-height: 1.35;
}
.site-feedback-close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted, #6f6a63);
  border-radius: var(--radius-md);
  padding: 0.1rem 0.35rem;
}
.site-feedback-inner label {
  display: block;
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
}
.site-feedback-inner input:not([type="checkbox"]):not([type="hidden"]),
.site-feedback-inner textarea {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 0.2rem;
  border: 1px solid var(--color-line, #d9d5ce);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.6rem;
  font: inherit;
  background: #fff;
}
.site-feedback-inner textarea {
  min-height: 4.2rem;
  resize: vertical;
}
.site-feedback-inner .pd-consent {
  display: flex;
  align-items: flex-start;
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
}
.site-feedback-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.site-feedback-actions .btn,
.site-feedback-actions .btn-ghost,
.site-feedback-actions button {
  margin-top: 0;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
}
