/* Jasna witryna sklepu, nawigacja i katalog */

:root {
  --store-ink: #252a22;
  --store-muted: #63685d;
  --store-night: #20281f;
  --store-dark: #2c3728;
  --store-line: #e7e5df;
  --store-paper: #fff;
  --store-ground: #f7f6f2;
  --store-orange: #f0ac48;
  --store-orange-hover: #ffbf62;
  --store-rust: #925020;
  --store-sage: #e6ecdf;
  --store-radius: 18px;
}

body {
  background: var(--store-ground);
  color: var(--store-ink);
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

body::before { display: none; }

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #b96d21; outline-offset: 3px; }

.shop-shell {
  width: min(1344px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset: 12px auto auto 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  color: var(--store-ink);
  background: var(--store-orange);
  border-radius: 8px;
}

.skip-link:focus { transform: none; }

.shop-header {
  position: relative;
  z-index: 4;
  background: var(--store-night);
  color: #fffdf7;
}

.shop-utilities { border-bottom: 1px solid #ffffff24; color: #e3e8d9; }

.shop-utilities-inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.shop-utilities-inner button,
.shop-nav-link,
.shop-logo,
.shop-action,
.shop-text-btn,
.shop-footer button {
  background: none;
  color: inherit;
  border: 0;
}

.shop-utilities-inner > button { font-size: .78rem; }

.shop-utilities-inner > button:hover,
.shop-nav-link:hover { color: var(--store-orange-hover); }

.utility-spacer { flex: 1; }
.shop-contact-utility { display: none; }
#store-language { min-width: 0; }

.store-language-select {
  max-width: 100%;
  border: 1px solid #ccdbc04d;
  border-radius: 6px;
  background: var(--store-dark);
  color: #fffdf7;
  padding: 2px 4px;
  font-size: .75rem;
}

.shop-header-main {
  min-height: 81px;
  display: grid;
  grid-template-columns: auto minmax(170px, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 52px);
  padding-block: 15px;
}

.shop-logo,
.shop-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 13px);
  white-space: nowrap;
  color: #fffdf7;
}
.shop-logo { font-size: clamp(25px, 3vw, 42px); }
.shop-wordmark {
  font-weight: 775;
  letter-spacing: -.055em;
  line-height: 1.08;
  color: #fffdf7;
}
.shop-wordmark .shop-wordmark-accent { color: #f6b46b; }
.shop-wordmark small {
  margin-inline-start: .08em;
  font-weight: 650;
  font-size: .61em;
  letter-spacing: -.02em;
  color: #f0eee4;
}
.shop-logo-mark {
  width: clamp(28px, 3vw, 41px);
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #ecab6266;
  border-radius: 10px;
  color: #f6b46b;
  background: #f6b46b14;
}
.shop-logo-mark .shop-icon { width: 17px; height: 17px; }
.shop-logo-mark .icon-bag::after { inset-inline: 5px; }
.shop-logo:hover .shop-logo-mark { background: #f6b46b25; }
.shop-footer .footer-logo { gap: 8px; font-size: 1.52rem; }
.shop-footer .shop-logo-mark { width: 26px; border-radius: 7px; }
.shop-footer .shop-logo-mark .shop-icon { width: 15px; height: 15px; }
.shop-footer .shop-logo-mark .icon-bag::after { inset-inline: 4px; height: 7px; }


.shop-search {
  display: grid;
  grid-template-columns: 1fr 44px;
  overflow: hidden;
  align-items: center;
  gap: 4px;
  border: 1px solid #fffdf7;
  background: #fffdf7;
  border-radius: 12px;
  padding: 3px;
}

.shop-search:focus-within { outline: 2px solid #f4b164; outline-offset: 2px; }

.shop-search input {
  width: 100%;
  min-width: 0;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--store-ink);
  font-size: .91rem;
  outline: none;
}

.shop-search-submit {
  height: 37px;
  display: grid;
  place-items: center;
  color: #242a1e;
  background: var(--store-orange);
  border: 0;
  border-radius: 8px;
}

.shop-search-submit:hover { background: var(--store-orange-hover); }

.shop-header-actions { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 20px); }

.shop-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  gap: 8px;
  white-space: nowrap;
  font-size: .86rem;
  font-weight: 650;
}

.shop-action:hover { color: var(--store-orange-hover); }

.shop-cart { border-left: 1px solid #ffffff30; padding-left: clamp(8px, 1.4vw, 18px); }

.shop-count {
  line-height: 1;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 99px;
  background: #e8eddf;
  color: var(--store-night);
  font-size: .7rem;
  font-weight: 800;
}

.shop-user-action .user-chip {
  background: transparent !important;
  border: 0;
  color: #fffdf7 !important;
  white-space: nowrap;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 650;
  min-height: 40px;
  padding: 3px 5px;
}
.shop-user-action .user-chip:hover, .shop-user-action .admin-chip { color: #ffc982 !important; }
.shop-user-action .user-chip:not(.admin-chip) { position: relative; padding-left: 22px; }
.shop-user-action .user-chip:not(.admin-chip)::before,
.shop-user-action .user-chip:not(.admin-chip)::after { content: ""; position: absolute; border: 1.5px solid currentColor; }
.shop-user-action .user-chip:not(.admin-chip)::before { left: 5px; top: calc(50% - 8px); width: 7px; height: 7px; border-radius: 50%; }
.shop-user-action .user-chip:not(.admin-chip)::after { left: 1px; top: calc(50% + 1px); width: 15px; height: 7px; border-radius: 7px 7px 2px 2px; }

.shop-icon { position: relative; display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; }
.icon-search::before { content: ""; position: absolute; inset: 1px auto auto 1px; width: 12px; height: 12px; border: 1.8px solid currentColor; border-radius: 50%; }
.icon-search::after { content: ""; position: absolute; height: 1.8px; width: 7px; background: currentColor; border-radius: 99px; right: 0; bottom: 3px; transform: rotate(45deg); }
.icon-contact::before { content: ""; position: absolute; inset: 2px 0 3px; border: 1.7px solid currentColor; border-radius: 5px; }
.icon-contact::after { content: ""; position: absolute; width: 5px; height: 5px; left: 4px; bottom: 1px; border-left: 1.7px solid currentColor; transform: skewY(-36deg); background: var(--store-night); }
.icon-bag::before { content: ""; position: absolute; inset: 5px 1px 0; border: 1.7px solid currentColor; border-radius: 3px; }
.icon-bag::after { content: ""; position: absolute; inset: 0 5px auto; height: 8px; border: 1.7px solid currentColor; border-bottom: 0; border-radius: 7px 7px 0 0; }
.icon-menu::before { content: ""; position: absolute; width: 15px; left: 1px; top: 4px; height: 1.6px; background: currentColor; border-radius: 99px; box-shadow: 0 5px currentColor, 0 10px currentColor; }
.icon-chevron { width: 11px; height: 11px; }
.icon-chevron::before { content: ""; position: absolute; left: 2px; top: 2px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

.shop-nav { background: var(--store-dark); border-top: 1px solid #ffffff13; }

.shop-nav-inner {
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.shop-category-menu { position: relative; flex-shrink: 0; }

.shop-menu-button,
.shop-nav-promo {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 9px;
  padding-inline: 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .87rem;
  font-weight: 750;
  white-space: nowrap;
}

.shop-menu-button { background: #fffdf5; color: var(--store-night); }
.shop-menu-button:hover { background: #f2eedb; }
.shop-menu-button[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }

.shop-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: min(270px, calc(100vw - 32px));
  padding: 7px;
  background: var(--store-paper);
  color: var(--store-ink);
  border-radius: 12px;
  border: 1px solid var(--store-line);
  box-shadow: 0 16px 36px #201b172a;
}

.shop-menu-link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 11px;
  text-align: left;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font-size: .9rem;
  font-weight: 700;
}

.shop-menu-link:hover { background: var(--store-ground); }
.shop-menu-link .icon-chevron { transform: rotate(-90deg); }
.shop-menu-child { padding-left: 26px; color: var(--store-muted); font-size: .83rem; font-weight: 500; }
.shop-menu-promo { margin-top: 3px; color: var(--store-rust); background: #fff2df; }

.shop-category-shortcuts {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 29px);
  flex: 1;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: none;
}

.shop-nav-link { white-space: nowrap; font-size: .91rem; font-weight: 600; }
.shop-nav-promo { color: #282619; background: var(--store-orange); }
.shop-nav-promo:hover { background: var(--store-orange-hover); }
.shop-nav-promo > span { font-size: .94rem; }

.shop-home { padding-top: clamp(22px, 3vw, 42px); }

.shop-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(305px, 1fr);
  gap: clamp(15px, 1.8vw, 25px);
  align-items: stretch;
}

.shop-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(365px, 33vw, 462px);
  border: 1px solid #dac7af;
  border-radius: var(--store-radius);
  isolation: isolate;
  background: #e9d8be;
}

.shop-hero-photo,
.shop-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }

.shop-hero-photo { object-fit: cover; object-position: center; z-index: -2; }

.shop-hero-overlay { z-index: -1; background: linear-gradient(90deg, #f2e7d8ec 0%, #f3e7d5bc 30%, #f4ebde34 54%, #c4a57700 75%); }

.shop-hero-content { padding: clamp(26px, 4.2vw, 62px); }

.shop-hero h1 {
  max-width: 18ch;
  font-size: clamp(35px, 4vw, 65px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.055em;
  color: #242b21;
}

.shop-hero h1 em { color: #814419; font-weight: 720; font-style: normal; }

.shop-hero p {
  color: #494238;
  max-width: 32ch;
  font-size: clamp(.92rem, 1.4vw, 1.13rem);
  line-height: 1.42;
  margin-top: 17px;
}

.shop-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; }

.shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  white-space: nowrap;
  font-size: .89rem;
  font-weight: 720;
}
.shop-primary { color: #251f14; background: var(--store-orange); }
.shop-primary:hover { background: var(--store-orange-hover); }
.shop-secondary { color: #292c24; background: #fff9edcf; border-color: #a6967e; }
.shop-secondary:hover { background: #fffdf5; border-color: #675948; }

.shop-discover {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
}

.shop-categories,
.shop-season {
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
}

.shop-categories { background: var(--store-paper); padding: clamp(15px, 2.1vw, 29px); }

.shop-categories h2,
.shop-section-head h2 { color: var(--store-ink); font-size: clamp(1.35rem, 2.25vw, 1.87rem); letter-spacing: -.042em; font-weight: 770; }

.shop-category-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.1vw, 17px) 8px;
  margin-top: clamp(12px, 1.6vw, 19px);
}

.shop-category-tile {
  width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  border: 0;
  border-radius: 8px;
  padding: 3px 2px;
  background: none;
  color: var(--store-ink);
  line-height: 1.24;
}

.shop-category-picture {
  width: clamp(54px, 6.3vw, 85px);
  aspect-ratio: 1;
  display: grid;
  position: relative;
  place-items: center;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 50%;
  transition: transform .18s, border-color .18s;
}

.shop-category-tile:hover .shop-category-picture { transform: translateY(-3px); border-color: var(--store-orange); }
.shop-category-picture img, .shop-product-image img, .shop-detail-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-category-picture .shop-visual-placeholder { font-size: clamp(24px, 3vw, 39px); font-weight: 780; }
.shop-category-label { font-size: clamp(.78rem, 1.15vw, .91rem); font-weight: 700; overflow-wrap: anywhere; }
.tone-cream { background: #f7ecdb; }
.tone-rose { background: #f2e0d7; color: #a04722; }
.tone-sage { background: #e2ebdd; }
.tone-sand { background: #eee3d3; }
.tone-blue { background: #e0edf1; }

.shop-glyph-garden {
  position: relative;
  width: 35px;
  height: 36px;
  display: block;
  background: linear-gradient(#387446, #387446) center 6px / 3px 24px no-repeat;
  border-bottom: 3px solid #56845d;
  border-radius: 0 0 40% 40%;
}
.shop-glyph-garden::before,
.shop-glyph-garden::after {
  position: absolute;
  content: "";
  width: 17px;
  height: 11px;
  background: #568a54;
}
.shop-glyph-garden::before {
  top: 11px;
  left: 1px;
  border-radius: 95% 3px 75% 3px;
  transform: rotate(32deg);
}
.shop-glyph-garden::after {
  top: 4px;
  right: 0;
  border-radius: 3px 95% 3px 75%;
  transform: rotate(-33deg);
}

.shop-season {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  background: #e3eef0;
  border-color: #dce9e9;
  color: #263d3d;
  padding: 12px clamp(13px, 1.8vw, 24px);
}
.shop-season:hover { background: #d8e9ec; }
.shop-season-text { display: grid; gap: 3px; line-height: 1.28; }
.shop-season-text strong { font-size: .91rem; font-weight: 770; }
.shop-season-link { font-size: .75rem; font-weight: 700; }
.shop-season-icon { flex-shrink: 0; }
.shop-glyph-kettle {
  position: relative;
  display: block;
  width: 32px;
  height: 31px;
  margin-left: -2px;
  border-radius: 10px 10px 11px 11px;
  background: linear-gradient(110deg, #8a6247 1%, #b98e6b 34%, #947052 75%, #6f5346);
  box-shadow: 0 3px 0 #41312e, inset 0 3px 0 #513e30;
}
.shop-glyph-kettle::before,
.shop-glyph-kettle::after { content: ""; position: absolute; }
.shop-glyph-kettle::before { width: 11px; height: 11px; left: -8px; top: 6px; border-radius: 3px 0 0 5px; transform: skewY(29deg); background: #836349; }
.shop-glyph-kettle::after { width: 12px; height: 17px; right: -11px; top: 8px; border: 3px solid #614b3c; border-left: 0; border-radius: 0 10px 10px 0; }
.shop-glyph-float {
  display: block;
  width: 37px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from -20deg, #c66343 0deg 41deg, #ffe8b4 41deg 90deg, #c66343 90deg 131deg, #ffe8b4 131deg 180deg, #c66343 180deg 221deg, #ffe8b4 221deg 270deg, #c66343 270deg 311deg, #ffe8b4 311deg);
  mask-image: radial-gradient(circle, transparent 0 39%, #000 40%);
}

.shop-deals,
.shop-catalog { margin-top: clamp(28px, 4vw, 48px); scroll-margin-top: 14px; }

.shop-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.shop-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #654023;
  font-size: .85rem;
  font-weight: 730;
}

.shop-text-btn:hover { color: #ad5c21; text-decoration: underline; }

.shop-deal-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  vertical-align: 3px;
  margin-right: 3px;
  border-radius: 9px;
  background: #f5e2cb;
  color: #8d4b1a;
  font-size: .86rem;
  letter-spacing: 0;
}

.shop-deal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.shop-deal-card,
.shop-product-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--store-line);
  border-radius: 13px;
  background: #fff;
  transition: border-color .16s, box-shadow .16s;
}
.shop-deal-card:hover, .shop-product-card:hover { border-color: #d2b490; box-shadow: 0 5px 12px #42302113; }

.shop-product-open {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: start;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  text-align: left;
  padding: 9px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--store-ink);
}

.shop-deal-card .shop-product-open { grid-template-columns: 85px minmax(0, 1fr); align-content: stretch; align-items: center; gap: 9px; }
.shop-deal-card .shop-product-name { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.shop-product-image,
.shop-detail-image {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 100%;
  background: #f2eee6;
  color: #735d3f;
  border-radius: 9px;
}

.shop-product-image { aspect-ratio: 1.19; }
.shop-product-image .shop-visual-placeholder { font-size: clamp(24px, 4vw, 46px); }
.shop-deal-card .shop-product-image { aspect-ratio: 1; }
.shop-deal-card .shop-visual-placeholder { font-size: 32px; }

.shop-product-info { display: grid; min-width: 0; gap: 4px; padding: 8px 3px 2px; }
.shop-deal-card .shop-product-info { padding: 0; gap: 4px; }
.shop-product-category { color: var(--store-muted); font-size: .69rem; line-height: 1.25; }
.shop-product-name { overflow-wrap: anywhere; font-size: .94rem; font-weight: 730; line-height: 1.27; }
.shop-product-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 6px; color: #3f2216; line-height: 1.3; }
.shop-product-price { font-weight: 800; white-space: nowrap; }
.shop-product-old { color: #6d665e; font-size: .76rem; font-weight: 500; white-space: nowrap; }
.shop-product-discount { position: absolute; left: 14px; top: 14px; border-radius: 5px; background: #613425; color: #fff8ed; padding: 2px 5px; font-size: .66rem; font-weight: 730; pointer-events: none; }
.shop-deal-card .shop-product-discount { left: 12px; top: 12px; }

.shop-catalog-head { align-items: flex-end; }

#prod-sub { color: var(--store-muted); margin-top: 4px; font-size: .87rem; }

.shop-sort { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 8px; font-size: .84rem; color: var(--store-muted); }

.shop-sort select,
.shop-filters select,
.shop-filters input[type="number"],
.shop-detail-quantity input {
  min-height: 39px;
  max-width: 100%;
  padding: 5px 8px;
  background: white;
  color: var(--store-ink);
  border: 1px solid #dcd9cf;
  border-radius: 7px;
  font-size: .87rem;
}

.shop-sort select option,
.shop-filters select option { background: white; color: var(--store-ink); }

.shop-catalog-layout { display: grid; grid-template-columns: minmax(185px, .78fr) minmax(0, 4fr); align-items: start; gap: 15px; }

.shop-filters {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--store-line);
  border-radius: 13px;
}

.shop-filters-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px; }
.shop-filters-head h3 { font-size: .98rem; font-weight: 740; }
.shop-filters-head button { font-size: .75rem; }
.shop-filter-category, .shop-price-filter { display: grid; gap: 5px; font-weight: 650; font-size: .86rem; }
.shop-price-filter > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.shop-price-filter label { min-width: 0; font-size: .75rem; color: var(--store-muted); }
.shop-price-filter input { width: 100%; display: block; }
.shop-promo-filter { display: flex; align-items: center; gap: 8px; font-size: .84rem; }
.shop-promo-filter input { accent-color: #895020; height: 16px; width: 16px; }

.shop-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.shop-product-card { display: grid; grid-template-rows: 1fr auto; }

.shop-add-to-cart {
  margin: 5px 9px 9px;
  min-height: 37px;
  padding: 5px 6px;
  border: 0;
  border-radius: 7px;
  color: #293623;
  background: var(--store-sage);
  font-size: .83rem;
  font-weight: 720;
}
.shop-add-to-cart:hover { color: #fff; background: #384c31; }
.shop-add-to-cart:disabled,
.shop-button:disabled { cursor: default; color: #625f55; background: #ece9e1; }

.shop-empty {
  grid-column: 1 / -1;
  padding: clamp(18px, 4vw, 48px);
  text-align: center;
  color: var(--store-muted);
  background: #fff;
  border: 1px dashed #d2c8b9;
  border-radius: 13px;
}
.shop-empty h3 { color: var(--store-ink); font-size: 1.17rem; }
.shop-empty p { margin: 6px 0 14px; }

#page-product .page-wrap,
#product-detail {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}
#page-product .page-wrap { padding: 24px 0 12px; }
#product-detail {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.19fr) minmax(220px, .7fr);
  gap: 0;
  align-items: start;
  padding: 0;
  overflow: hidden;
  background: var(--store-paper);
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
}
.shop-detail-image {
  width: calc(100% - 44px);
  margin: clamp(14px, 2.5vw, 30px) auto;
  aspect-ratio: 4 / 3;
  background: #f7f6f2;
  border-radius: 12px;
}
.shop-detail-image .shop-visual-placeholder { font-size: clamp(52px, 10vw, 105px); }
.shop-product-image { aspect-ratio: 4 / 3; background: #f7f6f2; }
img.product-frame-image {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  object-fit: contain;
  transform: translate(var(--product-image-x, 0), var(--product-image-y, 0))
    scale(var(--product-image-zoom, 1));
}
.shop-product-image img.product-frame-image,
.shop-detail-image img.product-frame-image { inset: 6%; width: 88%; height: 88%; object-fit: contain; }

.shop-detail-info { min-width: 0; padding: clamp(20px, 2.6vw, 36px) clamp(14px, 2.1vw, 30px) 24px 6px; }
.shop-detail-info h1 {
  margin: 6px 0 10px;
  color: var(--store-ink);
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  font-weight: 820;
  letter-spacing: -.045em;
  line-height: 1.14;
  overflow-wrap: anywhere;
}
.shop-detail-rating { margin-bottom: 14px; }
.shop-detail-features-title, .shop-detail-extra h2 { font-size: 1.1rem; font-weight: 790; letter-spacing: -.02em; }
.shop-detail-features-title { border-top: 1px solid var(--store-line); padding-top: 16px; }
.shop-detail-attributes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 19px; margin-top: 12px; }
.shop-detail-attributes > div { min-width: 0; overflow-wrap: anywhere; }
.shop-detail-attributes dt { color: var(--store-muted); font-size: .78rem; }
.shop-detail-attributes dd { margin: 3px 0 0; font-size: .94rem; font-weight: 680; }
.shop-detail-extra {
  grid-column: 1 / -1;
  display: grid;
  gap: 20px;
  padding: clamp(16px, 3vw, 36px);
  border-top: 1px solid var(--store-line);
}
.shop-detail-description { margin-top: 8px; color: var(--store-muted); line-height: 1.58; white-space: pre-line; overflow-wrap: anywhere; }
.shop-detail-purchase {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 30px);
  border-left: 1px solid var(--store-line);
  background: #f9f8f4;
}
.shop-detail-prices { gap: 6px 9px; font-size: clamp(1.45rem, 2.9vw, 2.55rem); color: var(--store-ink); }
.shop-detail-prices .shop-product-old { font-size: .87rem; }
.shop-detail-stock { color: #327343; font-size: .83rem; font-weight: 730; }
.shop-detail-stock::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; vertical-align: 2px; margin-right: 7px; }
.shop-detail-stock.stock-unavailable { color: #8b4a37; }
.shop-detail-quantity { display: grid; gap: 5px; color: var(--store-muted); font-size: .8rem; }
.shop-detail-quantity-control {
  display: grid;
  grid-template-columns: 40px 48px 40px;
  justify-self: start;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid #d9d9cd;
  border-radius: 9px;
  background: #fff;
}
.shop-detail-quantity-control button,
.shop-detail-quantity-control input { min-width: 0; border: 0; background: transparent; color: var(--store-ink); text-align: center; }
.shop-detail-quantity-control button { font-size: 1.18rem; }
.shop-detail-quantity-control button:disabled { opacity: .4; }
.shop-detail-quantity-control input { padding: 0; appearance: textfield; -moz-appearance: textfield; }
.shop-detail-quantity-control input::-webkit-inner-spin-button,
.shop-detail-quantity-control input::-webkit-outer-spin-button { appearance: none; }
.shop-detail-quantity-control :focus-visible { outline-offset: -3px; }
.shop-detail-purchase .shop-button { width: 100%; }
.shop-detail-delivery { color: var(--store-muted); font-size: .82rem; }
.shop-detail-phone { display: flex; flex-wrap: wrap; gap: 4px 9px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--store-line); color: var(--store-ink); font-size: .82rem; }
.shop-detail-phone strong { font-weight: 780; }

@media (min-width: 681px) and (max-width: 950px) {
  #product-detail { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .shop-detail-purchase {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid var(--store-line);
  }
}

.site-footer.shop-footer {
  background: var(--store-night) !important;
  color: #d3d7cc;
}
.shop-footer .footer-inner { max-width: 1344px; }
.shop-footer .footer-col a, .shop-footer .footer-col button { display: block; font-size: .84rem; color: inherit; margin-bottom: 6px; text-align: left; }
.shop-footer .footer-col button:hover, .shop-footer .footer-bottom button:hover, .shop-footer .footer-col a:hover { color: var(--store-orange-hover); }

#page-product .back-btn,
#page-auth .back-btn,
#page-account .back-btn,
#page-static .back-btn,
#page-cart .back-btn,
#page-checkout .back-btn {
  border-color: #d7cbb9 !important;
  color: #624c38 !important;
  background: #fffdf8;
  border-radius: 8px;
}
#page-product .back-btn:hover,
#page-auth .back-btn:hover,
#page-account .back-btn:hover,
#page-static .back-btn:hover,
#page-cart .back-btn:hover,
#page-checkout .back-btn:hover { border-color: var(--store-rust) !important; color: var(--store-rust) !important; }

#page-checkout .page-title, #page-cart .page-title, #page-account .page-title, #page-checkout .cart-summary-box span,
#page-checkout .form-sec h3, #page-checkout .summary-title, #page-cart .summary-title, #page-cart .sum-total span,
#page-cart .cart-item-name, #page-cart .cart-item-sub, #page-cart .cart-item-price,
#page-auth .auth-title, #page-auth .auth-sub, #page-auth .auth-box label,
#page-auth #auth-login-form p, #page-auth #auth-reg-form p, #page-auth #auth-login-form h2, #page-auth #auth-reg-form h2,
#page-account .acc-hdr div, #page-account .order-total, #page-static .static-content h2 { color: var(--store-ink) !important; }

#page-auth .auth-box, #page-cart .cart-item, #page-cart .cart-summary-box, #page-checkout .cart-summary-box, #page-checkout .form-sec,
#page-account .order-card, #page-account .form-box, #page-account .acc-hdr, #page-static .static-content {
  background: #fff !important;
  border-color: var(--store-line) !important;
  color: var(--store-ink) !important;
}

#page-auth .fg-input, #page-checkout .fg-input, #page-account .fg-input, #page-cart .qty-num, #page-cart .qty-btn,
#page-checkout .pay-opt, #page-cart .cart-item-img { background: #fbfaf5 !important; color: var(--store-ink) !important; border-color: #ded7c7 !important; }

#page-checkout .pay-opt.sel { border-color: #9f673b !important; background: #fff6e5 !important; }
#page-auth .auth-tab.active, #page-account .acc-tab.active { border-bottom-color: #9f673b !important; }
#page-auth .auth-tab, #page-account .acc-tab, #page-checkout .fg label, #page-account .fg label { color: var(--store-muted) !important; }
#page-auth .auth-tab.active, #page-account .acc-tab.active { color: #7e4421 !important; }
#page-auth .auth-tabs, #page-account .acc-tabs { border-bottom-color: var(--store-line) !important; }
#page-auth .auth-btn, #page-cart .checkout-btn, #page-checkout .checkout-btn, #page-success .btn-primary,
#page-account .auth-btn, #page-account .btn-primary, #page-account .save-btn { background: var(--store-orange); color: var(--store-ink); }
#page-auth .auth-btn:hover, #page-cart .checkout-btn:hover, #page-checkout .checkout-btn:hover, #page-success .btn-primary:hover,
#page-account .auth-btn:hover, #page-account .btn-primary:hover, #page-account .save-btn:hover { background: var(--store-orange-hover); }

@media (max-width: 1090px) {
  .shop-shell { width: calc(100% - 40px); }
  .shop-deal-card .shop-product-open { grid-template-columns: 65px minmax(0, 1fr); }
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .shop-header-main { gap: 14px; }
  .shop-header-actions { gap: 8px; }
  .contact-action { display: none; }
  .shop-contact-utility { display: inline; }
  .shop-entry { grid-template-columns: minmax(0, 1.6fr) minmax(245px, 1fr); }
  .shop-hero-content { padding: 26px; }
  .shop-hero h1 { font-size: clamp(32px, 5vw, 46px); }
  .shop-deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-catalog-layout { grid-template-columns: 170px minmax(0, 1fr); }
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .shop-shell { width: calc(100% - 28px); }
  .shop-home { padding-top: 15px; }
  .shop-utilities-inner { min-height: 31px; gap: 9px; }
  .shop-utilities-inner > button { white-space: nowrap; }
  #store-language { max-width: 44%; }
  .shop-header-main { grid-template-columns: minmax(0, 1fr) minmax(0, auto); padding-block: 10px; gap: 8px 12px; }
  .shop-logo { justify-self: start; }
  .shop-search { grid-row: 2; grid-column: 1 / -1; }
  .shop-header-actions { min-width: 0; }
  .shop-user-action { min-width: 0; max-width: 44vw; display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .shop-user-action .user-chip { font-size: .75rem; min-height: 32px; }
  .shop-action { min-height: 34px; }
  .shop-cart > span:nth-child(2) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .shop-nav-inner { min-height: 47px; gap: 7px; }
  .shop-menu-button, .shop-nav-promo { min-height: 33px; padding-inline: 7px; gap: 4px; font-size: .74rem; }
  .shop-nav-link { font-size: .75rem; }
  .shop-entry { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .shop-hero { min-height: 342px; }
  .shop-hero-photo { object-position: 48% center; }
  .shop-hero-overlay { background: linear-gradient(90deg, #f1e6d6ef, #f1e5d6c9 48%, #f9efe243 86%); }
  .shop-hero-content { padding: 22px 17px; }
  .shop-hero h1 { font-size: clamp(34px, 7.6vw, 46px); }
  .shop-hero p { margin-top: 13px; }
  .shop-hero-actions { margin-top: 17px; }
  .shop-button { font-size: .81rem; padding-inline: 10px; min-height: 39px; }
  .shop-discover { gap: 9px; }
  .shop-category-tiles { gap: 7px 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-category-picture { width: clamp(57px, 15vw, 75px); }
  .shop-categories { padding: 13px; }
  .shop-season-text strong { font-size: .84rem; }
  .shop-deal-grid { gap: 7px; }
  .shop-deal-card .shop-product-open { grid-template-columns: 44px minmax(0, 1fr); padding: 5px; gap: 5px; }
  .shop-deal-card .shop-product-name { font-size: .74rem; }
  .shop-deal-card .shop-product-category { font-size: .62rem; }
  .shop-deal-card .shop-product-price { font-size: .78rem; }
  .shop-deal-card .shop-product-old { font-size: .65rem; }
  .shop-deal-card .shop-product-discount { left: 7px; top: 7px; font-size: .52rem; padding-inline: 2px; }
  .shop-catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-filters { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
  .shop-filters-head { grid-column: 1 / -1; }
  .shop-promo-filter { grid-column: 1 / -1; }
  .shop-sort select, .shop-filters select, .shop-filters input[type="number"] { min-height: 34px; }
  .shop-sort { min-width: 96px; }
  .shop-sort span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #page-product .page-wrap, #product-detail { width: calc(100% - 28px); }
  #product-detail { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .shop-detail-image { width: calc(100% - 26px); margin: 13px auto 0; max-height: 320px; }
  .shop-detail-info { padding: 12px 16px 8px; }
  .shop-detail-purchase { border-left: 0; border-top: 1px solid var(--store-line); }
  .site-footer.shop-footer { padding-inline: 14px; }
  .shop-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shop-category-picture, .shop-deal-card, .shop-product-card { transition: none; }
}

.shop-footer-support {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 clamp(19px, 3vw, 35px);
}
.shop-footer .shop-footer-support button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  padding: 10px 14px;
  border: 1px solid #8aa18a52;
  border-radius: 11px;
  background: #374638;
  color: #fafbf4;
  text-align: left;
}
.shop-footer .shop-footer-support button:hover { border-color: #f0ac48; color: #ffce82; }
.shop-footer .shop-footer-support button .shop-icon { flex-shrink: 0; }
.shop-support-symbol { display: grid; place-items: center; width: 20px; flex: 0 0 20px; font-size: 1.3rem; line-height: 1; }
.shop-footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  padding: 14px 0;
  border-block-start: 1px solid #ffffff20;
}
.shop-footer-payments h4 { display: flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 730; margin: 0; }
.shop-payment-methods { display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; }
.shop-payment-chip { padding: 4px 8px; border-radius: 5px; background: #fff3d8; color: #322714; font-weight: 700; }
.shop-lock { width: 14px; height: 11px; margin-top: 4px; position: relative; border-radius: 3px; background: currentColor; }
.shop-lock::before { content: ""; position: absolute; left: 3px; top: -6px; width: 8px; height: 7px; border: 1.5px solid currentColor; border-radius: 5px 5px 0 0; }
@media (max-width: 760px) {
  .shop-footer-support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 470px) {
  .shop-utilities-inner > button:not(.utility-tracking) { display: none; }
  .shop-footer .shop-footer-support button { min-height: 42px; padding: 8px; gap: 6px; font-size: .78rem; }
}

.shop-footer .footer-col .footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 36px;
  width: fit-content;
}
.footer-social-icon {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #3562ab;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 750;
}
.shop-footer .footer-social:hover .footer-social-icon { background: #4377c5; }

.shop-payment-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-brand {
  display: inline-flex;
  min-height: 28px;
  min-width: 51px;
  padding: 4px 7px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 5px;
  border: 1px solid #ffffff24;
  color: #272622;
  background: #fff;
  font-size: .73rem;
  font-weight: 750;
  line-height: 1;
}
.payment-brand-blik { background: #16181a; color: #fff; letter-spacing: .045em; }
.payment-brand-visa { color: #183c91; text-transform: uppercase; font-style: italic; font-size: .85rem; font-weight: 850; }
.payment-brand-mastercard { font-size: .65rem; }
.payment-mastercard-symbol { position: relative; display: inline-block; width: 23px; height: 14px; }
.payment-mastercard-symbol::before,
.payment-mastercard-symbol::after { position: absolute; content: ""; width: 14px; height: 14px; border-radius: 50%; top: 0; }
.payment-mastercard-symbol::before { left: 0; background: #dc262e; }
.payment-mastercard-symbol::after { right: 0; background: #f49d21; mix-blend-mode: multiply; }
.shop-footer-payments .shop-payment-chip { color: #e5e8dd; background: #ffffff0f; border: 1px solid #ffffff2b; }
