/* ==========================================================================
   Shop archive — /shop/, product categories & tags.
   Mobile-first: base styles target mobile; @media queries expand for larger
   viewports. Consumes design tokens from variables.css only.
   Loaded only on shop / category / tag archives (see inc/enqueue.php), so any
   override here is scoped to those pages and does not affect the homepage.
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════
   A. HERO BANNER (only on /shop/)
   ══════════════════════════════════════════════════════════════════════════ */

.shop-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-orange-light) 0%, var(--color-blue-light) 100%);
  padding-block: var(--space-10);
  text-align: center;
}

@media (min-width: 768px) {
  .shop-hero { padding-block: var(--space-12); }
}

/* Decorative shapes layer */
.shop-hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  pointer-events: none;
}

.shop-hero__shape {
  position: absolute;
  border-radius: var(--radius-circle);
  opacity: 0.5;
}

.shop-hero__shape--circle-green {
  width: 120px;
  height: 120px;
  background: var(--color-green);
  top: 10%;
  left: -40px;
}

.shop-hero__shape--circle-blue {
  width: 180px;
  height: 180px;
  background: var(--color-blue);
  bottom: -60px;
  right: -50px;
}

.shop-hero__shape--circle-pink {
  width: 70px;
  height: 70px;
  background: var(--color-pink);
  top: 20%;
  right: 12%;
}

/* Child photos — hidden on mobile, revealed on large screens */
.shop-hero__image-left,
.shop-hero__image-right {
  display: none;
}

.shop-hero__image-left img,
.shop-hero__image-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

/* Content sits above the decorative layer */
.shop-hero__content {
  position: relative;
  z-index: var(--z-base);
}

.shop-hero .container--narrow {
  max-width: var(--container-md);
}

.shop-hero__title {
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  margin: 0 auto;
  max-width: 22ch;
}

.shop-hero__title .highlight {
  color: var(--color-primary-hover);
}

.shop-hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

@media (min-width: 1024px) {
  .shop-hero {
    padding-block: var(--space-16);
  }

  .shop-hero__image-left,
  .shop-hero__image-right {
    display: block;
    position: absolute;
    bottom: 0;
    width: clamp(180px, 18vw, 280px);
    height: 80%;
    z-index: var(--z-base);
  }

  .shop-hero__image-left  { left: 0; }
  .shop-hero__image-right { right: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   B. TAXONOMY HEADER (category / tag archives)
   ══════════════════════════════════════════════════════════════════════════ */

.taxonomy-header {
  background: var(--color-orange-light);
  padding-block: var(--space-8);
  text-align: center;
}

.taxonomy-header__title {
  font-size: var(--font-h2);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text);
}

.taxonomy-header__description {
  margin-top: var(--space-3);
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   C. TOOLBAR (filter toggle + sort + count)
   ══════════════════════════════════════════════════════════════════════════ */

.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.shop-toolbar__left,
.shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.shop-toolbar__right {
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Filter toggle button */
.shop-toolbar__filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.shop-toolbar__filter-toggle:hover {
  border-color: var(--color-primary-hover);
}

.shop-toolbar__filter-toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.shop-toolbar__filter-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* Result count */
.shop-toolbar__count {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.shop-toolbar__count .woocommerce-result-count {
  margin: 0;
}

/* Sort dropdown — style the WooCommerce ordering form */
.shop-toolbar__sort .woocommerce-ordering {
  position: relative;
  margin: 0;
}

.shop-toolbar__sort .orderby {
  appearance: none;
  padding: var(--space-2) var(--space-8) var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23252525' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
}

.shop-toolbar__sort .orderby:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(100, 198, 245, 0.25);
}

@media (min-width: 768px) {
  .shop-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .shop-toolbar__right {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

/* Desktop: filters are always visible, so the toggle is unnecessary. */
@media (min-width: 1024px) {
  .shop-toolbar__filter-toggle { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   D. SIDEBAR / FILTERS
   ══════════════════════════════════════════════════════════════════════════ */

.shop-sidebar {
  /* On mobile the sidebar column is full-width and its widget collapses. */
}

.shop-sidebar__widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

/* Mobile: widget hidden until toggled open. */
.shop-sidebar__widget {
  display: none;
}

.shop-sidebar__widget.is-open {
  display: block;
}

.shop-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.shop-sidebar__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}

.shop-sidebar__collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
}

.shop-sidebar__collapse .icon {
  width: 18px;
  height: 18px;
}

.shop-sidebar__category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.shop-sidebar__category-list.is-collapsed {
  display: none;
}

.shop-sidebar__category-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.shop-sidebar__category-label:hover {
  background: var(--color-bg);
}

.shop-sidebar__category-label.is-active {
  color: var(--color-primary-hover);
  font-weight: var(--font-weight-semibold);
}

.shop-sidebar__category-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  accent-color: var(--color-primary-hover);
  cursor: pointer;
}

.shop-sidebar__category-name {
  flex: 1;
}

.shop-sidebar__category-count {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

.shop-sidebar__empty {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* Tablet+ : sidebar always visible; desktop makes it sticky. */
@media (min-width: 768px) {
  .shop-sidebar__widget {
    display: block;
  }
}

@media (min-width: 1024px) {
  .shop-sidebar {
    position: sticky;
    top: calc(var(--header-total) + var(--space-4));
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   E. PRODUCT GRID
   ══════════════════════════════════════════════════════════════════════════ */

.shop-main {
  min-width: 0; /* allow the grid to shrink inside the CSS grid column */
}

.shop-main ul.products,
.shop-main .products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .shop-main ul.products,
  .shop-main .products { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .shop-main ul.products,
  .shop-main .products { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   F. PRODUCT CARD (.card-product)
   Base card visuals (white panel, radius, hover lift) come from components.css.
   Here we lay out the shop-specific internals and the diagonal image shadow.
   ══════════════════════════════════════════════════════════════════════════ */

.shop-main li.product.card-product {
  margin: 0;
  padding: 0;
}

/* Use our own image shadow element instead of the whole-card pseudo shadow
   from components.css (scoped to shop pages only). */
.shop-main .card-product::after {
  display: none;
}

.card-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Image area — square, centred, with room for the diagonal shadow */
.card-product__image-wrap {
  position: relative;
  aspect-ratio: 1;
  margin: var(--space-4) var(--space-4) 0;
  border-radius: var(--radius-md);
  overflow: visible;
}

.card-product__image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform var(--transition-slow);
}

.card-product:hover .card-product__image-wrap img {
  transform: scale(1.03);
}

/* Decorative diagonal shadow, bottom-right behind the image */
.card-product__shadow {
  position: absolute;
  right: -6px;
  bottom: -8px;
  width: 62%;
  height: 62%;
  background: var(--color-orange-light);
  border-radius: var(--radius-md);
  transform: skewY(-3deg);
  z-index: 0;
  transition: transform var(--transition-base);
}

.card-product:hover .card-product__shadow {
  transform: skewY(-3deg) translate(2px, 3px);
}

/* Info block — left-aligned per design */
.card-product__info {
  padding: var(--space-4);
  text-align: left;
}

.card-product__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  font-family: var(--font-open);
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}

.card-product__rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: var(--space-2);
  color: var(--color-pink);
}

.card-product__rating .icon {
  width: 14px;
  height: 14px;
}

.card-product__price,
.card-product__price .price {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
}

.card-product__price del {
  color: var(--color-text-muted);
  margin-right: var(--space-2);
}

.card-product__price ins {
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   G. PAGINATION
   ══════════════════════════════════════════════════════════════════════════ */

.shop-pagination {
  display: flex;
  justify-content: center;
  padding-block: var(--space-10) 0;
}

@media (min-width: 768px) {
  .shop-pagination { justify-content: flex-end; }
}

.shop-pagination .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.shop-pagination .page-numbers li {
  margin: 0;
}

.shop-pagination a.page-numbers,
.shop-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.shop-pagination a.page-numbers:hover {
  background: var(--color-bg);
  border-color: var(--color-primary-hover);
}

.shop-pagination .page-numbers .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text);
  font-weight: var(--font-weight-bold);
}

.shop-pagination .page-numbers .dots {
  border-color: transparent;
}

/* ══════════════════════════════════════════════════════════════════════════
   H. NO PRODUCTS STATE
   ══════════════════════════════════════════════════════════════════════════ */

.shop-no-products {
  text-align: center;
  padding-block: var(--space-16);
}

.shop-no-products__title {
  font-size: var(--font-h3);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.shop-no-products__text {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin: 0 auto var(--space-6);
}


/* ═════════════════════════════════════════════════════════════════════════
   МАГАЗИН 1:1 ПО PSD (Vanchelno_Redesign_Store.psd 1920 / _Mobile.psd 1080) — 28.10.2026
   Десктоп мерки от PSD при 1920px; под 1920 се свиват с ширината (--s = vw/1920).
   ═════════════════════════════════════════════════════════════════════════ */
.shop-archive { --s: calc(min(100vw, 1920px) / 1920); background: #f7f7f7; }
body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag { background: #f7f7f7; }

/* ── Херо: фон hero-bg.png, текст в HTML ── */
.shop-hero.shop-hero--psd {
	position: relative; overflow: hidden; padding: 0; margin: 0;
	aspect-ratio: 1920 / 709; min-height: 0;
	background: #fdf3e6 var(--shop-hero-bg) center bottom / cover no-repeat;
	display: flex; justify-content: center; align-items: flex-start;
}
.shop-hero--psd .shop-hero__text { text-align: center; margin-top: calc(48 * var(--s, 1px)); color: #262626; position: relative; z-index: 1; }
.shop-hero--psd .shop-hero__title { font-size: max(20px, calc(52 * var(--s, 1px))); font-weight: 700; line-height: 1.2; margin: 0 0 calc(22 * var(--s, 1px)); color: #262626; letter-spacing: 0; text-transform: none; }
.shop-hero--psd .shop-hero__subtitle { font-size: max(15px, calc(37 * var(--s, 1px))); font-weight: 400; line-height: 1.25; letter-spacing: .03em; margin: 0; color: #262626; }
.shop-hero--psd .shop-hero__bg, .shop-hero--psd .shop-hero__image-left, .shop-hero--psd .shop-hero__image-right { display: none; }
body { --s: calc(min(100vw, 1920px) / 1920); }

/* ── Обща рамка: 137…1780px при 1920 ── */
.shop-archive.section { padding-top: calc(49 * var(--s)); padding-bottom: calc(150 * var(--s)); }
.shop-archive > .container { max-width: calc(1643 * var(--s) + 2 * 16px); padding-left: 16px; padding-right: 16px; }

/* ── Тулбар ── */
.shop-toolbar.shop-toolbar--psd {
	display: grid; grid-template-columns: calc(348 * var(--s)) auto 1fr; align-items: center;
	column-gap: calc(26 * var(--s)); margin: 0 0 calc(29 * var(--s)); padding: 0; border: 0; background: none;
	font-size: max(14px, calc(18 * var(--s))); color: #252525;
}
.vs-filter-toggle {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	height: max(34px, calc(44 * var(--s))); padding: 0 calc(16 * var(--s)) 0 calc(18 * var(--s));
	background: #fff; border: 1px solid #252525; border-radius: 6px; color: #252525;
	font: inherit; font-size: max(14px, calc(18 * var(--s))); cursor: pointer; text-align: left;
}
.vs-filter-toggle--mobile, .shop-toolbar__clear { display: none; }
.vs-tri { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 11px solid #252525; flex: 0 0 auto; }
.vs-tri--up { border-top: 0; border-bottom: 11px solid #252525; }
.shop-toolbar--psd .shop-toolbar__sort .woocommerce-ordering { margin: 0; }
.shop-toolbar--psd .shop-toolbar__sort select.orderby {
	-webkit-appearance: none; appearance: none; height: max(34px, calc(44 * var(--s))); min-width: calc(172 * var(--s));
	padding: 0 calc(42 * var(--s)) 0 calc(18 * var(--s)); border: 1px solid #252525; border-radius: 6px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11'%3E%3Cpath d='M0 0h14L7 11z' fill='%23252525'/%3E%3C/svg%3E") right calc(18 * var(--s)) center / 14px 11px no-repeat;
	font: inherit; font-size: max(14px, calc(18 * var(--s))); color: #252525; cursor: pointer; box-shadow: none;
}
.shop-toolbar__meta { justify-self: end; display: flex; align-items: center; gap: calc(14 * var(--s)); white-space: nowrap; }
.shop-toolbar__page-select {
	-webkit-appearance: none; appearance: none; height: max(34px, calc(44 * var(--s))); width: max(64px, calc(80 * var(--s)));
	padding: 0 calc(34 * var(--s)) 0 calc(18 * var(--s)); border: 1px solid #252525; border-radius: 6px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11'%3E%3Cpath d='M0 0h14L7 11z' fill='%23252525'/%3E%3C/svg%3E") right calc(14 * var(--s)) center / 14px 11px no-repeat;
	font: inherit; font-size: max(14px, calc(18 * var(--s))); color: #252525; cursor: pointer;
}
.shop-toolbar__sep { width: 2px; align-self: stretch; min-height: max(34px, calc(44 * var(--s))); background: #252525; }

/* ── Колони: филтър 351px + продукти ── */
.shop-archive .layout-sidebar { grid-template-columns: calc(351 * var(--s)) minmax(0, 1fr); column-gap: calc(23 * var(--s)); }
.shop-archive .layout-sidebar.is-filters-hidden { grid-template-columns: minmax(0, 1fr); }
.shop-archive .layout-sidebar.is-filters-hidden .shop-sidebar { display: none; }

/* ── Филтър (без кутия) ── */
.shop-sidebar .shop-sidebar__widget { display: block; background: none; border: 0; border-radius: 0; padding: calc(8 * var(--s)) 0 0 calc(13 * var(--s)); box-shadow: none; }
.shop-sidebar__header { display: flex; justify-content: space-between; align-items: center; margin: 0 0 calc(24 * var(--s)); }
.shop-sidebar__title { font-size: max(14px, calc(18 * var(--s))); font-weight: 400; color: #252525; margin: 0; text-transform: none; letter-spacing: 0; }
.shop-sidebar__collapse { background: none; border: 0; padding: 0; color: #252525; cursor: pointer; line-height: 0; }
.shop-sidebar__collapse svg { width: max(14px, calc(18 * var(--s))); height: max(14px, calc(18 * var(--s))); }
.shop-sidebar__category-list { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(9 * var(--s)); }
.shop-sidebar__category-item { margin: 0; padding: 0; border: 0; }
.shop-sidebar__category-label { display: flex; align-items: center; gap: calc(8 * var(--s)); font-size: max(14px, calc(18 * var(--s))); line-height: 1.1; color: #252525; cursor: pointer; padding: 0; }
.shop-sidebar__category-label > * { flex: 0 0 auto; }
.shop-sidebar__category-name { flex: 0 1 auto; }
.shop-sidebar__category-count { margin-left: .25em; color: #252525; font-size: inherit; }
.shop-sidebar__category-checkbox { -webkit-appearance: none; appearance: none; width: max(14px, calc(19 * var(--s))); height: max(14px, calc(19 * var(--s))); margin: 0; border: 1px solid #252525; border-radius: 3px; background: #fff; cursor: pointer; flex: 0 0 auto; }
.shop-sidebar__category-checkbox:checked { background: #62c4f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 85% no-repeat; border-color: #62c4f4; }

/* ── Картички на продуктите: 398×529 рамка, 3 колони, разстояние 38px ── */
.shop-archive ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: calc(38 * var(--s)); row-gap: calc(99 * var(--s)); margin: 0; padding: 0; }
.shop-archive .layout-sidebar.is-filters-hidden ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-archive ul.products::before, .shop-archive ul.products::after { display: none !important; }
.shop-archive ul.products li.card-product { width: auto !important; margin: 0 !important; padding: 0; float: none !important; background: none; box-shadow: none; border: 0; }
.shop-archive .card-product__link { display: block; color: #252525; text-decoration: none; }
.shop-archive .card-product__image-wrap {
	position: relative; aspect-ratio: 398 / 529; overflow: hidden; margin: 0;
	background: #fff; border: 1px solid #252525; border-radius: 5px; box-shadow: none;
	display: flex; align-items: center; justify-content: center;
}
.shop-archive .card-product__image-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; box-shadow: none; transform: none; position: static; margin: 0; }
.shop-archive .card-product__shadow { display: none !important; }
.shop-archive .card-product__link:hover .card-product__image-wrap { border-color: #62c4f4; }
.shop-archive .card-product__info { padding: calc(18 * var(--s)) 0 0; text-align: left; }
.shop-archive .card-product__title { font-size: max(15px, calc(25.4 * var(--s))); font-weight: 400; line-height: 1.22; letter-spacing: .02em; color: #252525; margin: 0; text-transform: none; }
.shop-archive .card-product__rating { display: flex; gap: calc(3 * var(--s)); margin: calc(10 * var(--s)) 0 calc(14 * var(--s)); color: #ec849d; }
.shop-archive .card-product__rating svg { width: max(11px, calc(16 * var(--s))); height: max(11px, calc(16 * var(--s))); }
.shop-archive .card-product__price, .shop-archive .card-product__price .amount { font-size: max(15px, calc(25.4 * var(--s))); font-weight: 400; color: #252525; letter-spacing: .02em; }
.shop-archive .card-product__price del, .shop-archive .card-product__price del .amount { font-size: .8em; color: #8a8a8a; margin-right: .35em; }
.shop-archive .card-product__price ins { text-decoration: none; }

/* ── Пагинация: вдясно, 18px ── */
.shop-archive .shop-pagination { display: flex; justify-content: flex-end; margin: calc(98 * var(--s)) 0 0; }
.shop-archive .shop-pagination ul.page-numbers { display: flex; align-items: center; gap: calc(30 * var(--s)); list-style: none; margin: 0; padding: 0; border: 0; }
.shop-archive .shop-pagination li { margin: 0; border: 0; }
.shop-archive .shop-pagination .page-numbers { font-size: max(14px, calc(18 * var(--s))); color: #252525; background: none !important; border: 0; padding: 0 2px; min-width: 0; height: auto; line-height: 1.4; border-radius: 0; text-decoration: none; }
.shop-archive .shop-pagination .page-numbers.current { text-decoration: underline; text-underline-offset: 5px; font-weight: 400; color: #252525; }
.shop-archive .shop-pagination a.page-numbers:hover { color: #62c4f4; }

/* ── Таблет ── */
@media (min-width: 768px) and (max-width: 1099px) {
	.shop-archive ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
	.shop-archive .layout-sidebar { grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; }
	.shop-toolbar.shop-toolbar--psd { grid-template-columns: 200px auto 1fr; column-gap: 24px; }
}

/* ── МОБИЛНО (по _Mobile.psd) ── */
@media (max-width: 767px) {
	.shop-hero.shop-hero--psd { display: none; }
	.shop-archive.section { padding-top: 26px; padding-bottom: 60px; }
	.shop-archive > .container { padding-left: 5.2vw; padding-right: 5.2vw; }
	.shop-toolbar.shop-toolbar--psd { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 34px; font-size: 15px; }
	.vs-filter-toggle--desktop, .shop-toolbar--psd .shop-toolbar__sort { display: none; }
	.vs-filter-toggle--mobile {
		display: flex; justify-content: center; gap: 14px; height: 50px; width: 100%;
		background: #f4e4e9; border: 1px solid #e3cdd4; border-radius: 6px;
		font-size: 18px; letter-spacing: .03em; text-transform: uppercase; color: #262626;
	}
	.vs-chev { width: 9px; height: 9px; border-right: 2px solid #262626; border-bottom: 2px solid #262626; transform: rotate(-45deg); transition: transform .2s; }
	.vs-filter-toggle--mobile.is-open .vs-chev { transform: rotate(45deg); }
	.shop-toolbar__clear { display: block; text-align: center; font-size: 13px; color: #555; margin: 10px 0 18px; text-decoration: none; font-style: italic; }
	.shop-toolbar__meta { justify-self: auto; justify-content: center; gap: 10px; font-size: 15px; }
	.shop-toolbar__page-select { height: 38px; width: 70px; font-size: 15px; }
	.shop-toolbar__sep { min-height: 38px; }

	.shop-archive .layout-sidebar { display: block; }
	.shop-sidebar { display: none; margin: 0 0 24px; }
	.shop-sidebar.is-mobile-open { display: block; }
	.shop-sidebar .shop-sidebar__widget { padding: 16px; background: #fff; border: 1px solid #e3cdd4; border-radius: 6px; }
	.shop-sidebar__title, .shop-sidebar__category-label { font-size: 15px; }
	.shop-sidebar__category-list { gap: 12px; }
	.shop-sidebar__category-checkbox { width: 18px; height: 18px; }

	.shop-archive ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 7%; row-gap: 44px; padding: 0 6%; }
	.shop-archive .card-product__info { padding-top: 10px; }
	.shop-archive .card-product__title { font-size: 14px; }
	.shop-archive .card-product__rating { margin: 6px 0 8px; }
	.shop-archive .card-product__rating svg { width: 11px; height: 11px; }
	.shop-archive .card-product__price, .shop-archive .card-product__price .amount { font-size: 14px; }
	.shop-archive .shop-pagination { justify-content: center; margin-top: 50px; }
	.shop-archive .shop-pagination ul.page-numbers { gap: 22px; }
	.shop-archive .shop-pagination .page-numbers { font-size: 18px; }
}

.shop-hero--psd .shop-hero__text { max-width: none; width: 100%; padding: 0 16px; }
.shop-hero--psd .shop-hero__title, .shop-hero--psd .shop-hero__subtitle { max-width: none; width: auto; }

/* ===== Typography unify (shop) ===== */
.card-product__price del .woocommerce-Price-amount,.card-product__price ins .woocommerce-Price-amount{font-size:inherit!important}
@media (max-width:767px){
 body .card-product__price del{font-size:12px!important}
 body .shop-toolbar__clear{font-size:14px!important}
}

/* Корекции 31.10.2026: продуктовите карти отново квадратни, снимката запълва квадрата (както в стария сайт). */
.shop-archive .card-product__image-wrap { aspect-ratio: 1 / 1; }
.shop-archive .card-product__image-wrap img { object-fit: cover; }

/* Out-of-stock badge on product cards (08.11.2026) */
.card-product__badge--oos {
	position: absolute; top: 10px; left: 10px; z-index: 3;
	padding: 4px 12px; border-radius: 999px;
	background: #252525; color: #fff;
	font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .02em;
	pointer-events: none;
}
.card-product.outofstock .card-product__image-wrap img { opacity: .55; }
