.shop-page {
  --shop-paper: #f4f0e9;
  --shop-ink: #28231f;
  --shop-muted: #6d655d;
  --shop-line: #d8cfc3;
  --shop-rust: #a34d31;
  --shop-moss: #4f6b5c;
  background: var(--shop-paper);
  color: var(--shop-ink);
}

.shop-main {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding: 0 clamp(18px, 4vw, 64px) clamp(72px, 9vw, 130px);
}

.shop-main .breadcrumb {
  padding-top: 22px;
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  min-height: 590px;
  border-bottom: 1px solid var(--shop-line);
}

.shop-hero > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 72px clamp(30px, 5vw, 86px) 72px 0;
}

.shop-hero h1,
.shop-catalog-head h2,
.shop-process-head h1,
.shop-detail h1,
.shop-order-result h1,
.shop-empty h2 {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.shop-hero h1 {
  max-width: 800px;
  margin: 20px 0 28px;
  font-size: clamp(58px, 6.8vw, 112px);
  line-height: .92;
}

.shop-hero p {
  max-width: 510px;
  color: var(--shop-muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.7;
}

.shop-hero figure {
  position: relative;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  background: #c8bcac;
}

.shop-hero figure::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgb(23 18 14 / .72));
  content: "";
}

.shop-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(.98);
}

.shop-hero figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shop-hero-actions,
.shop-order-result > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.shop-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.shop-cart-link span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--shop-ink);
  color: #fff;
  font-size: 11px;
}

.shop-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--shop-line);
}

.shop-trust span {
  padding: 19px 22px;
  color: var(--shop-muted);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.shop-trust span + span {
  border-left: 1px solid var(--shop-line);
}

.shop-catalog-head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 40px;
  align-items: end;
  padding: clamp(70px, 9vw, 128px) 0 34px;
}

.shop-catalog-head h2 {
  margin: 12px 0 0;
  font-size: clamp(45px, 5vw, 80px);
  line-height: .95;
}

.shop-catalog-head > p {
  margin: 0;
  color: var(--shop-muted);
  line-height: 1.7;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  padding: 18px 0 28px;
  border-top: 1px solid var(--shop-line);
}

.shop-toolbar label,
.shop-form label {
  display: grid;
  gap: 7px;
  color: var(--shop-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.shop-toolbar input,
.shop-toolbar select,
.shop-form input,
.shop-form select,
.shop-form textarea {
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--shop-line);
  border-radius: 0;
  background: rgb(255 255 255 / .42);
  color: var(--shop-ink);
  font: inherit;
}

.shop-toolbar input:focus,
.shop-toolbar select:focus,
.shop-form input:focus,
.shop-form select:focus,
.shop-form textarea:focus {
  outline: 3px solid rgb(79 107 92 / .35);
  outline-offset: 2px;
  border-color: var(--shop-moss);
}

.shop-search {
  width: min(100%, 430px);
}

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

.shop-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.shop-product-card[hidden] {
  display: none;
}

.shop-product-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  background: #ded5ca;
  color: inherit;
  text-decoration: none;
}

.shop-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78);
  transition: transform .35s ease, filter .35s ease;
}

.shop-product-image:hover img,
.shop-product-image:focus-visible img {
  transform: scale(1.035);
  filter: saturate(.96);
}

.shop-stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  background: rgb(248 245 239 / .94);
  color: var(--shop-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.shop-product-copy {
  min-height: 142px;
  padding: 17px 1px 14px;
}

.shop-product-copy .eyebrow {
  min-height: 16px;
  margin: 0 0 9px;
  color: var(--shop-muted);
}

.shop-product-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.shop-product-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.shop-product-copy strong {
  font-size: 14px;
}

.shop-product-card .shop-add {
  width: 100%;
  margin-top: auto;
}

.shop-add:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.shop-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 20px;
  color: var(--shop-muted);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.shop-empty {
  grid-column: 1 / -1;
  padding: clamp(45px, 7vw, 90px);
  border: 1px solid var(--shop-line);
  text-align: center;
}

.shop-empty h2 {
  max-width: 780px;
  margin: 12px auto 20px;
  font-size: clamp(36px, 5vw, 65px);
}

.shop-empty p {
  max-width: 630px;
  margin: 0 auto 26px;
  color: var(--shop-muted);
  line-height: 1.7;
}

.shop-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(35px, 6vw, 80px) 0;
}

.shop-detail > figure {
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  margin: 0;
  background: #ded5ca;
}

.shop-detail > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-detail > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.shop-detail h1 {
  margin: 13px 0 24px;
  font-size: clamp(51px, 5.4vw, 86px);
  line-height: .94;
}

.shop-detail-price {
  font-size: 21px;
}

.shop-description {
  max-width: 620px;
  margin: 28px 0 18px;
  color: var(--shop-muted);
  font-size: 16px;
  line-height: 1.75;
}

.shop-availability {
  font-size: 12px;
  font-weight: 700;
}

.shop-detail .shop-add {
  min-width: 240px;
  margin-top: 17px;
}

.shop-detail .shop-cart-link {
  margin-top: 9px;
}

.shop-detail-note {
  max-width: 620px;
  margin-top: 36px;
  padding: 22px 0 0;
  border-top: 1px solid var(--shop-line);
}

.shop-detail-note p {
  margin: 7px 0 0;
  color: var(--shop-muted);
  font-size: 13px;
  line-height: 1.65;
}

.shop-process-head {
  max-width: 850px;
  padding: clamp(45px, 7vw, 90px) 0 34px;
}

.shop-process-head h1 {
  margin: 12px 0 18px;
  font-size: clamp(54px, 7vw, 98px);
  line-height: .95;
}

.shop-process-head p {
  color: var(--shop-muted);
  font-size: 16px;
  line-height: 1.7;
}

.shop-cart-layout,
.shop-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(35px, 6vw, 90px);
  border-top: 1px solid var(--shop-line);
  padding-top: 28px;
}

.shop-cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--shop-line);
}

.shop-cart-item img {
  width: 110px;
  height: 124px;
  object-fit: cover;
  background: #ded5ca;
}

.shop-cart-item h2 {
  margin: 3px 0 9px;
  font-family: var(--font-display, Georgia, serif);
  font-size: 27px;
  font-weight: 400;
}

.shop-cart-item p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 11px;
}

.shop-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.shop-quantity button,
.shop-remove {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--shop-line);
  background: transparent;
  color: inherit;
}

.shop-remove {
  margin-left: 8px;
  border-color: transparent;
  color: var(--shop-rust);
  text-decoration: underline;
}

.shop-cart-item > strong {
  align-self: start;
  padding-top: 14px;
  white-space: nowrap;
}

.shop-summary {
  align-self: start;
  padding: 25px;
  background: #e9e2d8;
}

.shop-summary h2 {
  margin: 0 0 18px;
  font-family: var(--font-display, Georgia, serif);
  font-size: 32px;
  font-weight: 400;
}

.shop-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #cbc0b2;
  font-size: 13px;
}

.shop-summary-row.is-total {
  border-bottom: 0;
  font-size: 18px;
  font-weight: 700;
}

.shop-summary .action {
  width: 100%;
  margin-top: 17px;
}

.shop-summary small {
  display: block;
  margin-top: 13px;
  color: var(--shop-muted);
  line-height: 1.6;
}

.shop-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.shop-form .is-wide {
  grid-column: 1 / -1;
}

.shop-form textarea {
  min-height: 110px;
  resize: vertical;
}

.shop-radio-group {
  display: grid;
  gap: 10px;
  margin: 4px 0 7px;
}

.shop-radio {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  gap: 12px !important;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--shop-line);
  background: rgb(255 255 255 / .35);
  color: var(--shop-ink) !important;
}

.shop-radio input,
.shop-consent input {
  width: 20px;
  min-height: 20px;
  margin: 0;
}

.shop-radio small {
  color: var(--shop-muted);
}

.shop-consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 11px !important;
  align-items: start;
  line-height: 1.55;
}

.shop-form-error {
  grid-column: 1 / -1;
  padding: 13px 15px;
  background: #f0d9d4;
  color: #74261c;
  font-size: 13px;
}

.shop-order-result {
  max-width: 830px;
  min-height: 62vh;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 170px) 20px;
  text-align: center;
}

.shop-result-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--shop-moss);
  color: white;
  font-size: 27px;
}

.shop-order-result h1 {
  margin: 12px 0 24px;
  font-size: clamp(50px, 7vw, 90px);
  line-height: .95;
}

.shop-order-result > p:not(.eyebrow) {
  color: var(--shop-muted);
  font-size: 16px;
  line-height: 1.7;
}

.shop-order-result > div {
  justify-content: center;
}

.shop-toast {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100vw - 40px));
  padding: 15px 18px;
  background: var(--shop-ink);
  color: #fff;
  box-shadow: 0 14px 45px rgb(0 0 0 / .25);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-hero { grid-template-columns: 1fr 1fr; min-height: 510px; }
  .shop-hero figure { min-height: 510px; }
}

@media (max-width: 820px) {
  .shop-main { padding-inline: 18px; }
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero > div { padding: 52px 0 38px; }
  .shop-hero h1 { font-size: clamp(55px, 15vw, 82px); }
  .shop-hero figure { min-height: 310px; height: 48vw; }
  .shop-trust { grid-template-columns: 1fr; }
  .shop-trust span + span { border-top: 1px solid var(--shop-line); border-left: 0; }
  .shop-catalog-head { grid-template-columns: 1fr; gap: 18px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .shop-product-copy { min-height: 132px; }
  .shop-detail { grid-template-columns: 1fr; gap: 34px; }
  .shop-detail > div { align-items: stretch; }
  .shop-detail .shop-add { width: 100%; }
  .shop-cart-layout, .shop-checkout-layout { grid-template-columns: 1fr; }
  .shop-summary { position: static; }
}

@media (max-width: 560px) {
  .shop-hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .shop-hero-actions .action { width: 100%; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-product-copy h2 { font-size: 22px; }
  .shop-product-copy { min-height: 137px; }
  .shop-product-card .action { min-height: 48px; padding-inline: 8px; font-size: 10px; }
  .shop-toolbar label, .shop-toolbar select { width: 100%; }
  .shop-cart-item { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .shop-cart-item img { width: 88px; height: 104px; }
  .shop-cart-item > strong { grid-column: 2; padding-top: 0; }
  .shop-form { grid-template-columns: 1fr; }
  .shop-form .is-wide { grid-column: auto; }
  .shop-radio { grid-template-columns: auto 1fr; }
  .shop-radio > small { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-product-image img { transition: none; }
}

/* KOPALNIA_PREVIEW_20261117 — preview only: hide every buyer control. */
body.shop-page .shop-add,
body.shop-page .shop-cart-link,
body.shop-page [data-shop-cart-count],
body.shop-page .shop-toolbar { display: none !important; }
body.shop-page .shop-preview-notice {
  padding: 1rem 1.25rem; margin: 0 auto 1.2rem; max-width: 1140px;
  border: 1px solid currentColor; border-radius: 4px;
  font-weight: 600; text-align: center;
}
body.shop-page .shop-preview-card .shop-product-image { display: block; }
body.shop-page .shop-preview-card .shop-product-copy > p:last-child { font-size: .85rem; }
