/* ==========================================================================
   The shop (pages/shop.php) and a product (pages/product.php). The things are hand-painted leather, so the page
   steps back: warm paper, ink, the leather's cognac for the marks, square pictures that carry all the colour, and
   ordering on WhatsApp in the brand's green.
   ========================================================================== */
.page-shop, .page-product {
  --sh-paper: #F4EFE8; --sh-card: #FFFCF8; --sh-ink: #1E1A16; --sh-ink-2: #5E554C; --sh-cognac: #9A4E1C; --sh-line: rgb(30 26 22 / .12);
  --sh-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 20px 40px -30px rgb(30 26 22 / .5);
  background: var(--sh-paper); color: var(--sh-ink);
}
.v-m .page-inner.page-shop, .v-m .page-inner.page-product { background: var(--sh-paper); color: var(--sh-ink); }
.sh { padding: calc(var(--header-h, 76px) + 26px) var(--gutter, 16px) 96px; }
.v-m .sh { padding: calc(var(--m-bar) + 16px) 16px calc(var(--m-tabs) + 40px); }
.sh > * { max-width: 1240px; margin-inline: auto; }
.sh :focus-visible { outline: 2px solid var(--sh-ink); outline-offset: 2px; }
.sh .crumbs { color: var(--sh-ink-2); }
.sh-eyebrow { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--sh-cognac); font-size: 13px; font-weight: 800; }
.sh-eyebrow .chap__no { font-family: var(--font-ka); font-size: 22px; font-weight: 300; line-height: 1; }
.sh-title { margin: 8px 0 0; font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 56px); font-weight: 900; line-height: 1.2; }
.sh-lead { max-width: 44em; margin: 14px 0 0; color: var(--sh-ink-2); font-size: 15.5px; line-height: 1.95; }
.sh-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.sh-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--sh-line); color: var(--sh-ink); font: 600 13.5px var(--font-body); cursor: pointer; }
.sh-chip i { font-style: normal; font-size: 11.5px; opacity: .55; }
.sh-chip[aria-pressed="true"] { background: var(--sh-ink); color: #fff; box-shadow: none; }
.sh-count { margin: 22px 0 14px; color: var(--sh-ink-2); font-size: 13.5px; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 18px; margin: 0; padding: 0; list-style: none; }
.sh-item { display: flex; flex-direction: column; }
.sh-item[hidden] { display: none; }
.sh-item__pic { display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #E9E1D6; }
.sh-item__pic img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-out); }
.sh-item__pic:hover img { scale: 1.05; }
.sh-item__txt { flex: 1; padding: 12px 4px 0; }
.sh-item__cat { margin: 0; color: var(--sh-cognac); font-size: 12px; font-weight: 800; }
.sh-item h2 { margin: 4px 0 0; font-family: var(--font-latin); font-size: 17px; font-weight: 700; line-height: 1.4; }
.sh-item h2 a { color: inherit; text-decoration: none; }
.sh-item__code { margin: 4px 0 0; color: var(--sh-ink-2); font-size: 12.5px; }
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 12px; padding: 0 18px; border-radius: 999px;
  background: var(--green, #83CD20); color: #0E1A07; font: 700 13.5px var(--font-body); text-decoration: none;
}
.sh-btn:hover { background: #95DD35; }
.sh-btn--big { width: 100%; min-height: 54px; font-size: 15px; }
.sh-empty { margin-top: 30px; padding: 40px 24px; border: 1.5px dashed var(--sh-line); border-radius: 24px; text-align: center; color: var(--sh-ink-2); }

.sh-one { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 26px; }
.sh-gal__main { margin: 0; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #E9E1D6; }
.sh-gal__main img { width: 100%; height: 100%; object-fit: cover; }
.sh-gal__thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sh-gal__thumbs button { display: block; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #E9E1D6; opacity: .6; cursor: pointer; transition: opacity .2s, box-shadow .2s; }
.sh-gal__thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--sh-cognac); }
.sh-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sh-one__txt { position: sticky; top: calc(var(--header-h, 76px) + 18px); padding: 26px; border-radius: 28px; background: var(--sh-card); box-shadow: var(--sh-shadow); }
.sh-one .sh-title { font-family: var(--font-latin); font-size: clamp(26px, 3vw, 40px); font-weight: 700; text-align: start; }
html[dir="rtl"] .sh-one .sh-title { text-align: right; }
.sh-dl { margin: 18px 0 0; }
.sh-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--sh-line); font-size: 14px; }
.sh-dl dt { color: var(--sh-ink-2); }
.sh-dl dd { margin: 0; font-weight: 700; }
.sh-text { margin-top: 16px; color: var(--sh-ink-2); font-size: 15px; line-height: 1.95; }
.sh-text p { margin: 0 0 10px; }
.sh-note { margin: 18px 0 0; color: var(--sh-cognac); font-size: 13.5px; font-weight: 700; }
.sh-call { display: block; margin-top: 12px; color: var(--sh-ink); font-size: 13.5px; font-weight: 700; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.sh-more { margin-top: 64px; }
.sh-more h2 { margin: 0 0 18px; font-family: var(--font-display); font-size: 24px; font-weight: 800; }
@media (max-width: 900px) {
  .sh-one { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sh-one__txt { position: static; padding: 20px 18px; }
  .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .sh-item h2 { font-size: 15px; }
}
