.biin-shop {
  --biin-cream: #f2ebe3;
  --biin-paper: #faf7f2;
  --biin-olive: #424636;
  --biin-brown: #705841;
  --biin-line: rgba(66, 70, 54, .18);
  color: #23251e;
  background: var(--biin-cream);
  font-family: "Alexandria", sans-serif;
  min-height: 70vh;
  overflow: hidden;
}

.biin-shop *, .biin-shop *::before, .biin-shop *::after { box-sizing: border-box; }
.biin-shop-shell { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }

.biin-shop-hero { padding: 24px 0 18px; }
.biin-shop-hero__inner {
  min-height: 356px;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(320px, 42%);
  direction: ltr;
  overflow: hidden;
  border-radius: 8px;
  background: #ded2c5;
}
.biin-shop-hero__media { min-height: 356px; position: relative; overflow: hidden; }
.biin-shop-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, rgba(66, 70, 54, .2));
  pointer-events: none;
}
.biin-shop-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
.biin-shop-hero__content {
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(30px, 4vw, 64px);
  color: #f8f3ec;
  background: var(--biin-olive);
}
.biin-shop-hero__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; opacity: .8; }
.biin-shop-hero__title { margin: 0; max-width: 520px; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.2; font-weight: 600; }
.biin-shop-hero__description { max-width: 520px; margin: 16px 0 22px; font-size: 15px; line-height: 1.8; opacity: .88; }
.biin-shop-hero__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.55); color: #fff; text-decoration: none; font-size: 14px;
  transition: background-color .2s ease, color .2s ease;
}
.biin-shop-hero__cta:hover { color: var(--biin-olive); background: #fff; }

.biin-shop-toolbar { position: relative; z-index: 3; padding: 8px 0 20px; }
.biin-shop-toolbar__form {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--biin-line);
}
.biin-shop-toolbar__filters { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.biin-shop-filter { position: relative; }
.biin-shop-filter > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 8px 12px; border: 1px solid var(--biin-line); background: transparent; font-size: 13px;
}
.biin-shop-filter > summary::-webkit-details-marker { display: none; }
.biin-shop-filter > summary::after { content: "+"; font-size: 16px; line-height: 1; }
.biin-shop-filter[open] > summary::after { content: "−"; }
.biin-shop-filter__panel {
  position: absolute; inset-inline-start: 0; top: calc(100% + 7px); z-index: 20; min-width: 240px;
  padding: 16px; border: 1px solid var(--biin-line); background: var(--biin-paper); box-shadow: 0 14px 30px rgba(42,39,32,.1);
}
.biin-shop-filter__panel label { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; }
.biin-shop-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.biin-shop-price input { width: 100%; height: 38px; border: 1px solid var(--biin-line); background: #fff; padding: 7px 9px; }
.biin-shop-filter__apply { width: 100%; min-height: 38px; margin-top: 10px; border: 0; background: var(--biin-olive); color: #fff; cursor: pointer; }
.biin-shop-toolbar__count { margin: 0; font-size: 13px; text-align: center; color: rgba(35,37,30,.68); white-space: nowrap; }
.biin-shop-toolbar__sort { justify-self: end; }
.biin-shop-toolbar__sort select {
  height: 40px; max-width: 190px; border: 1px solid var(--biin-line); background: transparent; color: inherit; padding: 0 12px; font: inherit; font-size: 13px;
}

.biin-products { padding: 14px 0 42px; }
.biin-products__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 18px; }
.biin-product-card { min-width: 0; }
.biin-product-card__media {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 6px; background: #e8dfd5;
}
.biin-product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.biin-product-card:hover .biin-product-card__media img { transform: scale(1.025); }
.biin-product-card__media--fallback { display: grid; place-items: center; background: linear-gradient(145deg, #e7dbce, #f7f1ea); }
.biin-product-card__media--fallback img { width: 46%; height: auto; object-fit: contain; opacity: .18; }
.biin-product-card__badge { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; z-index: 2; padding: 5px 8px; background: var(--biin-brown); color: #fff; font-size: 11px; }
.biin-product-card__body { padding-top: 12px; text-align: right; }
.biin-product-card__title { margin: 0 0 5px; color: #23251e !important; font-size: 15px; line-height: 1.55; font-weight: 600; }
.biin-product-card__title a { color: #23251e !important; text-decoration: none; }
.biin-product-card__price { display: flex; flex-wrap: wrap; gap: 7px; align-items: baseline; min-height: 24px; color: var(--biin-brown); font-size: 14px; font-weight: 600; }
.biin-product-card__price del { color: rgba(35,37,30,.48); font-size: 12px; font-weight: 400; }
.biin-product-card__price ins { text-decoration: none; }
.biin-product-card__action {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-top: 9px; padding: 8px 14px;
  border: 1px solid var(--biin-olive); color: var(--biin-olive); text-decoration: none; font-size: 12px; transition: .2s ease;
}
.biin-product-card__action:hover { background: var(--biin-olive); color: #fff; }

.biin-shop-editorial { margin: 0 0 48px; }
.biin-shop-editorial__inner {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 220px; overflow: hidden; border-radius: 6px; background: #d8c8b8;
}
.biin-shop-editorial__copy { display: flex; flex-direction: column; justify-content: center; padding: 36px clamp(24px, 4vw, 58px); background: var(--biin-brown); color: #fff; }
.biin-shop-editorial__copy h2 { margin: 0 0 10px; font-size: clamp(24px, 2.3vw, 36px); font-weight: 600; }
.biin-shop-editorial__copy p { margin: 0; max-width: 520px; line-height: 1.8; opacity: .86; }
.biin-shop-editorial__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biin-shop-pagination { display: flex; justify-content: center; padding: 0 0 52px; }
.biin-shop-pagination .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; margin: 0 3px; color: inherit; text-decoration: none; border: 1px solid var(--biin-line); }
.biin-shop-pagination .current { color: #fff; background: var(--biin-olive); }
.biin-shop-empty { padding: 70px 24px; text-align: center; }

.biin-shop a:focus-visible, .biin-shop button:focus-visible, .biin-shop input:focus-visible, .biin-shop select:focus-visible, .biin-shop summary:focus-visible { outline: 2px solid var(--biin-brown); outline-offset: 3px; }

@media (max-width: 1199px) {
  .biin-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .biin-shop-hero__inner { grid-template-columns: minmax(0, 56%) minmax(300px, 44%); }
}

@media (max-width: 767px) {
  .biin-shop-shell { width: min(100% - 24px, 560px); }
  .biin-shop-hero { padding: 12px 0 10px; }
  .biin-shop-hero__inner { min-height: 0; grid-template-columns: 1fr; grid-template-rows: 230px auto; }
  .biin-shop-hero__media { min-height: 230px; }
  .biin-shop-hero__media::after { background: linear-gradient(180deg, transparent 75%, rgba(66,70,54,.25)); }
  .biin-shop-hero__media img { object-position: center 65%; }
  .biin-shop-hero__content { padding: 22px 20px 24px; }
  .biin-shop-hero__eyebrow { margin-bottom: 6px; font-size: 11px; }
  .biin-shop-hero__title { font-size: 28px; line-height: 1.25; }
  .biin-shop-hero__description { margin: 10px 0 15px; font-size: 12px; line-height: 1.7; }
  .biin-shop-hero__cta { min-height: 38px; padding: 8px 14px; font-size: 12px; }
  .biin-shop-toolbar { padding: 4px 0 12px; }
  .biin-shop-toolbar__form { grid-template-columns: 1fr auto; gap: 8px; padding: 8px 0 10px; }
  .biin-shop-toolbar__filters { min-width: 0; gap: 5px; }
  .biin-shop-filter > summary { min-height: 36px; padding: 7px 9px; font-size: 11px; }
  .biin-shop-filter__panel { position: fixed; inset: auto 12px 16px; min-width: 0; max-height: 60vh; overflow: auto; }
  .biin-shop-toolbar__count { grid-row: 2; grid-column: 1 / -1; font-size: 11px; }
  .biin-shop-toolbar__sort select { width: 128px; height: 36px; padding: 0 7px; font-size: 11px; }
  .biin-products { padding: 6px 0 28px; }
  .biin-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .biin-product-card__media { aspect-ratio: 1 / 1.16; border-radius: 4px; }
  .biin-product-card__badge { inset-block-start: 6px; inset-inline-start: 6px; padding: 4px 6px; font-size: 9px; }
  .biin-product-card__body { padding-top: 8px; }
  .biin-product-card__title { margin-bottom: 3px; font-size: 12px; }
  .biin-product-card__price { min-height: 20px; gap: 4px; font-size: 11px; }
  .biin-product-card__price del { font-size: 10px; }
  .biin-product-card__action { width: 100%; min-height: 34px; margin-top: 6px; padding: 6px; font-size: 10px; }
  .biin-shop-editorial { margin-bottom: 30px; }
  .biin-shop-editorial__inner { grid-template-columns: 1fr; min-height: 0; }
  .biin-shop-editorial__copy { padding: 24px 20px; }
  .biin-shop-editorial__copy h2 { font-size: 23px; }
  .biin-shop-editorial__copy p { font-size: 12px; }
  .biin-shop-editorial__image { height: 180px; }
}

@media (max-width: 380px) {
  .biin-shop-shell { width: calc(100% - 18px); }
  .biin-shop-hero__inner { grid-template-rows: 210px auto; }
  .biin-shop-filter > summary { padding-inline: 7px; }
  .biin-shop-toolbar__sort select { width: 112px; }
  .biin-products__grid { gap-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .biin-shop *, .biin-shop *::before, .biin-shop *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
