:root {
  --bg: #F3E9E3;
  --fg: #000;
  --logo: #E35997;
  --veil: #E35997;
  --on-veil: #FBF6F2;
  --img: #E8DAD1;
  --err: #8F0B2C;
}

:root {
  --text: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 1.7vw, 24px);
  --bar-h: 64px;
  --hop: cubic-bezier(.8, 0, .2, 1);
  --ease: cubic-bezier(.2, .7, .1, 1);
  /* SVG Repo arrow 88039 (CC0), mirrored to face up and right. The thin stroke keeps it readable at small sizes. */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 209 209'%3E%3Cpolygon transform='matrix(-1 0 0 1 200.981 0)' stroke='black' stroke-width='6' points='17.511,10.264 129.068,10.264 129.068,0 0.007,0 0.007,129.068 10.257,129.068 10.271,17.515 193.72,200.981 200.974,193.727'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

/* No visible scrollbars anywhere. Everything still scrolls. */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 500 14px/1.3 var(--text);
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, p, ol, ul, fieldset, legend, figure { margin: 0; padding: 0; border: 0; font: inherit; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; border-radius: 0; }
button { cursor: pointer; }
img, svg { display: block; }

[hidden] { display: none !important; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; }
#view { outline: 0; }

.defs { position: absolute; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.link { position: relative; display: inline-block; padding-block: 3px; }
.link::after {
  content: ''; position: absolute; inset: auto 0 0;
  height: 1px; background: currentColor;
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(.3); }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 26px;
  background: var(--fg); color: var(--bg);
  transition: opacity .3s;
}
.pill:hover:not(:disabled) { opacity: .82; }
.pill:disabled { opacity: .4; cursor: default; }

.disc { display: block; width: 100%; height: 100%; background: var(--c); }

/* Preloader */
.pre {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}
.pre__stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.pre__half { position: absolute; overflow: hidden; }
.pre__half svg { width: 100%; height: 100%; fill: var(--logo); will-change: transform; }
.pre__emblem { position: absolute; overflow: visible; fill: var(--logo); will-change: transform; }
/* Keeps the words out of the flower cut into the circle as they slide from behind it. */
.pre__emblem circle { fill: var(--bg); }
.pre__flower { position: absolute; will-change: transform, opacity; }
.pre__petal { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--logo); transform: scale(0); will-change: transform; }

/* Page transition */
.veil {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  background: var(--veil);
  color: var(--on-veil);
  will-change: transform;
}
.veil__mask { overflow: hidden; width: min(300px, 62vw); }
.veil__logo { width: 100%; height: auto; will-change: transform; }

/* Cursor */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cursor.is-on { opacity: 1; }
.cursor__flower {
  position: absolute; left: -7px; top: -7px;
  width: 14px; height: 14px; overflow: visible; fill: var(--logo);
  animation: spin 7s linear infinite;
  transition: scale .5s var(--ease);
}
.cursor.is-link .cursor__flower { scale: 2.2; }
.cursor.has-label .cursor__flower { scale: 0; }
.cursor__label {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--veil); color: var(--on-veil);
  font-size: 11px; letter-spacing: .02em; text-transform: uppercase;
  scale: 0;
  transition: scale .5s var(--ease);
}
.cursor.has-label .cursor__label { scale: 1; }

/* Bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--bar-h);
  padding-inline: var(--gutter);
  background: var(--bg);
}
.bar__mark { display: block; width: 32px; will-change: transform; }
.bar__mark svg { width: 100%; height: auto; overflow: visible; fill: var(--logo); }
.bar__nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.bar__nav a { position: relative; }
.bar__nav a.is-on::after { content: ''; position: absolute; inset: auto 0 -3px; height: 1px; background: currentColor; }
.bar__bag { display: inline-flex; align-items: center; gap: 6px; }
.bar__bag svg { flex: none; width: 22px; height: 22px; transition: transform .5s var(--ease); }
.bar__bag:hover svg { transform: translateX(2px); }
.bag-count { display: inline-block; font-variant-numeric: tabular-nums; }
/* A circle for one digit, stretching into a pill for more. */
.bar .bag-count.has-items {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding-inline: 5px;
  border-radius: 10px;
  background: var(--logo); color: #fff;
  font-size: 11px; line-height: 1;
}
.bar__menu { min-width: 2.9em; text-align: right; }
/* Search: the icon in the bar opens a field that slides out of it to the left, over the space beside the logo.
   The matches drop down under the bar. */
.find { position: relative; display: flex; align-items: center; }
/* The magnifier lives inside the rounded box, at its left edge. Opening, the box grows to the left and carries
   the magnifier with it; closing, it shrinks back and brings it home. One piece, so they always move together.
   Opening: the ring fades in, the box grows, then the words fade in. Closing: the words fade out first,
   then the box shrinks and the ring fades at the end. */
.find__box {
  position: absolute; right: -6px; top: 50%; z-index: 1;
  width: 36px; height: 38px; margin-top: -19px;
  border: 1.5px solid transparent; border-radius: 19px;
  background: var(--bg); overflow: hidden; pointer-events: none;
  transition: width .6s var(--hop) .1s, border-color .2s .65s;
}
.bar.is-finding .find__box {
  width: calc(var(--find-w, 300px) + 36px); border-color: var(--fg); pointer-events: auto;
  transition: width .6s var(--hop), border-color .2s;
}
.find__glass { position: absolute; left: 9px; top: 50%; width: 21px; height: 21px; margin-top: -10.5px; transition: transform .5s var(--ease); }
.bar:not(.is-finding) .find:hover .find__glass { transform: rotate(-12deg) scale(1.08); }
.find__input {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 34px 0 38px;
  border: 0; border-radius: 0; background: none; color: transparent; caret-color: transparent; outline: none;
  font: inherit; font-size: 16px; letter-spacing: -.01em;
  visibility: hidden;
  -webkit-appearance: none; appearance: none;
  transition: color .12s, caret-color 0s, visibility 0s .85s;
}
.find__input::placeholder { color: var(--fg); opacity: 0; transition: opacity .12s; }
.find__input::-webkit-search-cancel-button { display: none; }
.bar.is-finding .find__input { color: var(--fg); caret-color: var(--fg); visibility: visible; transition: color .3s .5s, caret-color 0s .5s, visibility 0s; }
.bar.is-finding .find__input::placeholder { opacity: .4; transition: opacity .3s .5s; }
/* The button over the box's right end: opens it, and once open shows the close mark. */
.find__toggle { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: -6px; }
/* Nudged 4px left so its centre sits as far from the box's right edge (19px) as from its top and bottom. */
.find__x { position: relative; left: -4px; width: 21px; height: 21px; opacity: 0; transform: rotate(-90deg) scale(.6); transition: transform .4s var(--ease), opacity .2s; }
.bar.is-finding .find__x { opacity: 1; transform: none; transition: transform .5s var(--ease) .15s, opacity .3s .15s; }
/* Phones: while searching the field has the bar to itself. The cart and Menu fade out to the right, and the
   search slides over to the bar's right edge as it grows (--find-shift is 0 on wider screens), so the whole
   "Kërko produkte…" fits. Closing, it slides back first and they fade in behind it. */
.find { z-index: 1; transition: transform .6s var(--hop) .1s; }
.bar.is-finding .find { transform: translateX(var(--find-shift, 0px)); transition: transform .6s var(--hop); }
@media (max-width: 600px) {
  .bar__bag, .bar__menu { transition: opacity .35s .5s, transform .5s var(--ease) .5s, visibility 0s .5s; }
  .bar.is-finding .bar__bag, .bar.is-finding .bar__menu {
    opacity: 0; visibility: hidden; transform: translateX(14px);
    transition: opacity .2s, transform .4s var(--ease), visibility 0s .2s;
  }
}
.find__results {
  position: fixed; top: var(--bar-h); right: var(--gutter); z-index: 39;
  width: min(460px, calc(100vw - var(--gutter) * 2));
  max-height: calc(100svh - var(--bar-h) - 16px); overflow-y: auto; overscroll-behavior: contain;
  padding: 0 14px 8px;
  background: var(--bg); border-top: 1.5px solid var(--fg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.find__results.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
/* Phones: a long list runs all the way to the bottom of the screen, with no strip of the page showing under it.
   dvh follows the browser's address bar as it shows and hides; svh stays as the fallback. */
@media (max-width: 600px) {
  .find__results { max-height: calc(100svh - var(--bar-h)); max-height: calc(100dvh - var(--bar-h)); padding-bottom: 14px; }
}
.find__all { display: block; padding-block: 12px 6px; font-size: 15px; }
.find__all:hover { text-decoration: underline; text-underline-offset: 3px; }
.find__none { padding-block: 14px 8px; font-size: 15px; }
.hit {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding-block: 8px; border-bottom: 1px solid var(--fg);
}
.hit__pic { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--img); }
.hit__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hit__name { display: block; font-size: 16px; line-height: 1.15; letter-spacing: -.02em; }
.hit__meta { display: block; margin-top: 3px; font-size: 12px; opacity: .65; }
.hit__price { font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.hit__price s { opacity: .5; }
.hit:hover .hit__name, .hit:focus-visible .hit__name { text-decoration: underline; text-underline-offset: 3px; }

/* The search results page */
.srch { padding: var(--bar-h) var(--gutter) clamp(70px, 14vh, 140px); }
.srch__form { display: flex; align-items: center; gap: 16px; margin-top: clamp(16px, 3vh, 28px); border-bottom: 1.5px solid var(--fg); }
.srch__input {
  flex: 1; min-width: 0; padding: 0 0 .06em;
  border: 0; border-radius: 0; background: none; color: var(--fg); outline: none;
  font: inherit; font-size: clamp(28px, 3.6vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.05em;
  -webkit-appearance: none; appearance: none;
}
.srch__input::placeholder { color: var(--fg); opacity: .22; }
.srch__input::-webkit-search-cancel-button { display: none; }
.srch__go { flex: none; font-size: 15px; }
.srch__head { margin: clamp(16px, 3vh, 28px) 0; font-size: 15px; }
.srch__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(34px, 6vh, 60px) var(--gutter); }
.srch__grid .card { grid-column: auto; }
@media (max-width: 1024px) { .srch__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .srch__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; } }

/* Menu */
.menu {
  position: fixed; inset: 0 0 auto; z-index: 35;
  display: flex; flex-direction: column; gap: clamp(12px, 4svh, 34px);
  height: 100svh;
  padding: calc(var(--bar-h) + clamp(6px, 3svh, 30px)) var(--gutter) var(--gutter);
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .8s var(--hop), visibility 0s .8s;
  will-change: transform;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .8s var(--hop); }
/* The shop on the left, the links on the right. Together they take all the height the bar and the logo leave. */
.menu__main { flex: 1; min-height: 0; display: grid; grid-template: minmax(0, 1fr) / repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.menu__photo {
  grid-column: 1 / span 6;
  position: relative; overflow: hidden;
  background: var(--img);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .2s;
}
.menu.is-open .menu__photo { clip-path: inset(0); transition: clip-path 1.1s var(--hop) .25s; }
.menu__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu__list { grid-column: 8 / -1; display: flex; flex-direction: column; border-top: 1.5px solid var(--fg); }
.menu__list a {
  flex: 1 1 0; min-height: 0;
  display: flex; align-items: center; gap: .12em;
  border-bottom: 1.5px solid var(--fg);
  font-size: min(13vw, 10svh, 190px); line-height: 1.08; letter-spacing: -.05em;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .2s, transform .2s, padding .6s var(--ease);
}
.menu.is-open .menu__list a {
  opacity: 1; transform: none;
  transition: opacity .6s calc(.3s + var(--i) * .07s), transform .9s var(--ease) calc(.3s + var(--i) * .07s), padding .6s var(--ease);
}
.menu__list a:hover { padding-left: .2em; }
/* Counts sit at the far right of their line in ordinary text size. */
.menu__count { margin-left: auto; font-size: 15px; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; }
/* The same line as the footer: the equal outer columns keep the logo in the true centre. */
.menu__end { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 12px var(--gutter); }
.menu__logo {
  display: block; width: min(clamp(240px, 30vw, 440px), 46svh);
  color: var(--logo);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .2s, transform .2s;
}
.menu.is-open .menu__logo {
  opacity: 1; transform: none;
  transition: opacity .6s .65s, transform .9s var(--ease) .65s;
}
.menu__logo svg { width: 100%; height: auto; }

.hours { display: inline-flex; align-items: center; gap: 6px; }
.hours::before {
  content: ''; flex: none; width: 7px; height: 7px;
  border: 1.5px solid var(--fg); border-radius: 50%;
}
.hours.is-open::before { border-color: var(--logo); background: var(--logo); }

/* Home: logo and notes */
.top { padding: var(--bar-h) var(--gutter) 0; }
.top__logo { overflow: hidden; color: var(--logo); }
.top__logo svg { width: 100%; height: auto; will-change: transform; }
.top__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 6px var(--gutter);
  margin-top: clamp(10px, 2vh, 18px);
  padding-top: 10px;
  border-top: 1.5px solid var(--fg);
  font-size: 12px;
}
/* Phones: the notes run as one slow line (the ticker) instead of wrapping into a paragraph. The plain notes
   stay in the page for screen readers. The edges fade, so words slide in and out softly. */
.ticker { display: none; }
@media (max-width: 600px) {
  .top__meta { position: relative; display: block; padding-top: 0; }
  .top__meta > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ticker {
    display: block; overflow: hidden; padding-block: 11px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
  }
  .ticker__track { display: flex; width: max-content; animation: ticker 24s linear infinite; }
  .ticker__run { display: flex; flex: none; align-items: center; gap: 16px; padding-right: 16px; white-space: nowrap; }
  .ticker__flower { flex: none; width: 11px; height: 11px; fill: var(--logo); }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; scrollbar-width: none; }
  .ticker__track { animation: none; }
}

/* Shop */
.shop { padding: clamp(26px, 5vh, 46px) var(--gutter) clamp(70px, 14vh, 140px); scroll-margin-top: var(--bar-h); }
.filters { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; font-size: 13px; }
.filters a, .filters button { position: relative; padding-block: 4px; }
.filters a::after, .filters button::after {
  content: ''; position: absolute; inset: auto 0 1px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.filters a:hover::after, .filters a[aria-current]::after,
.filters button:hover::after, .filters button[aria-pressed='true']::after { transform: scaleX(1); }

.grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(46px, 9vh, 96px) var(--gutter);
}

.shop__all { margin-top: clamp(40px, 8vh, 80px); }

/* All products */
.list { padding: var(--bar-h) var(--gutter) clamp(70px, 14vh, 140px); }
.list__body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: var(--gutter);
  margin-top: clamp(14px, 3vh, 26px);
}
.side { position: sticky; top: calc(var(--bar-h) + 8px); grid-column: span 3; display: flex; flex-direction: column; }
.side a {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding-block: 6px;
  border-bottom: 1px solid var(--fg);
  font-size: clamp(20px, 1.8vw, 27px); letter-spacing: -.03em;
  transition: padding .5s var(--ease);
}
.side a:first-child { border-top: 1px solid var(--fg); }
.side a:hover, .side a[aria-current] { padding-left: 12px; }
.side a[aria-current] { font-weight: 700; }
.side sup { font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.6; font-variant-numeric: tabular-nums; }
.list__main { grid-column: 4 / -1; min-width: 0; }
.list__sec + .list__sec { margin-top: clamp(50px, 10vh, 100px); }
.list__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1.5px solid var(--fg);
  font-size: clamp(30px, 3.4vw, 54px); line-height: 1.05; letter-spacing: -.04em;
}
.list__head small { font-size: 12px; letter-spacing: -.012em; }
.list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(34px, 6vh, 60px) var(--gutter); }
.list__grid .card { grid-column: auto; }

/* Photo reveal: a cover shrinks away on the compositor, so it holds its frame rate during a scroll.
   It overhangs the frame by 2px (the frame clips it), so on frames with fractional widths no hairline
   of the photo shows at an edge before the reveal. */
[data-wipe]::after {
  content: ''; position: absolute; inset: -2px; z-index: 1;
  background: var(--bg);
  transform-origin: top;
  transition: transform 1.2s var(--hop) var(--d, 0s);
  pointer-events: none;
}
[data-wipe].is-in::after { transform: scaleY(0); }
[data-wipe].no-anim::after { transition: none; }

.card { grid-column: var(--col, span 3); min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--img); }
/* The photo fills its 3:4 frame exactly, so no product is ever cut at the sides. */
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media img { transition: scale 1.2s var(--ease); }
.card__media:hover img { scale: 1.04; }
.card--out .card__media { opacity: .55; }
.card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-top: 8px; font-size: 13px; }
.card__name { min-width: 0; }
.card__side { display: flex; align-items: center; gap: 8px; flex: none; }
.card__price { font-variant-numeric: tabular-nums; }
/* On offer: the old price struck through and faded, the new one in pink. */
.card__price s, .pd__price s, .swatch b s { opacity: .45; }
.is-offer { color: var(--logo); }
.card__cat {
  display: flex; align-items: center; gap: 5px;
  margin-top: 3px;
  font-size: 10px; letter-spacing: .03em; text-transform: uppercase;
}
.card__cat::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
/* An offer's last days: only then does a card say so. */
.card__ends { margin-left: auto; color: var(--logo); font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.pd__ends { margin-top: 4px; color: var(--logo); font-size: 14px; letter-spacing: -.01em; }
.line__ends { color: var(--logo); }
.card__add { position: relative; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 14px; line-height: 1; transition: opacity .3s, background-color .3s; }
/* The plus and the check share the circle; once added, the circle turns pink and the check pops in. */
.card__plus, .card__check { grid-area: 1 / 1; transition: opacity .2s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.card__check { width: 20px; height: 20px; fill: #fff; opacity: 0; transform: scale(.4); }
.card__add.is-added { background: var(--logo); }
.card__add.is-added .card__plus { opacity: 0; transform: scale(.4) rotate(90deg); }
.card__add.is-added .card__check { opacity: 1; transform: none; }
.card__add::before { content: ''; position: absolute; inset: -12px; }
.card__add:hover { opacity: .75; }

.tile { grid-column: var(--col, span 6); min-width: 0; }
.tile__img { position: relative; display: block; overflow: hidden; background: var(--img); }
.tile__img img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.tile--wide .tile__img { aspect-ratio: 2 / 1; }
.tile--wide .tile__img img { object-position: 50% 26%; }
.tile--land .tile__img { aspect-ratio: 3 / 2; }
.tile--tall .tile__img { aspect-ratio: 2 / 3; }
.tile figcaption { padding-top: 8px; font-size: 13px; }

/* Footer */
.foot { padding: 0 var(--gutter) var(--gutter); scroll-margin-top: var(--bar-h); }
.foot__cols {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 20px var(--gutter);
  padding-top: 12px;
  border-top: 1.5px solid var(--fg);
  font-size: 12px; line-height: 1.5;
}
/* One row: Si funksionon on the left, Kategoritë in the middle (over the centred logo), Dyqani at the right edge. */
.foot__cols > div:nth-child(1) { grid-column: 1 / span 5; }
.foot__cols > div:nth-child(2) { grid-column: 6 / span 2; justify-self: center; }
.foot__cols > div:nth-child(3) { grid-column: 9 / -1; justify-self: end; }
.foot__cols a { display: block; width: fit-content; }
.foot__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__label { margin-bottom: 4px; font-weight: 700; }
/* The step numbers stand in their own column, so the three sentences start level (and a wrapped line too). */
.foot__step { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); }
.foot__step span { font-variant-numeric: tabular-nums; }
.foot__cols .foot__logo { width: clamp(220px, 32vw, 460px); color: var(--logo); }
.foot__logo svg { width: 100%; height: auto; }
/* One line: the equal outer columns keep the logo in the true centre, and the logo stands on the text's baseline.
   Its picture is cropped to the bottom of the circle, so the artwork and the letters end level. */
.foot__end { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 14px var(--gutter); margin-top: clamp(10px, 2vh, 20px); }
.foot__credit { justify-self: end; white-space: nowrap; }
/* Blueprint's wordmark: Chillax medium, a grey "print", and a full stop drawn as a perfect circle. */
.bp { font-family: 'Chillax', var(--text); font-size: 15px; font-weight: 500; letter-spacing: -.015em; white-space: nowrap; }
.foot__cols .bp { display: inline; }
.bp span { color: #7c7c7c; }
.bp i { display: inline-block; width: .14em; height: .14em; margin-left: .05em; border-radius: 50%; background: currentColor; }

/* Dhuratat */
.gift { padding: var(--bar-h) var(--gutter) clamp(70px, 14vh, 140px); }
.gift__lead { max-width: 34em; margin-top: 12px; font-size: clamp(16px, 1.3vw, 20px); letter-spacing: -.02em; }
.gift__body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: var(--gutter);
  margin-top: clamp(26px, 6vh, 56px);
}
.gift__steps { grid-column: span 8; min-width: 0; }
.gift__step { padding-top: 10px; border-top: 1.5px solid var(--fg); }
.gift__step + .gift__step { margin-top: clamp(36px, 7vh, 64px); }
.gift__step legend { float: left; width: 100%; margin-bottom: 14px; font-size: clamp(28px, 3vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.gift__step legend span { margin-right: .3em; font-size: 12px; letter-spacing: 0; vertical-align: top; }
.gift__step > :not(legend) { clear: both; }
.gift__wraps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.wrap { position: relative; display: block; cursor: pointer; }
.wrap input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.wrap__img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--img); }
.wrap__img img { width: 100%; height: 100%; object-fit: cover; }
.wrap input:focus-visible ~ .wrap__img { outline: 1.5px solid var(--fg); outline-offset: 6px; }
.wrap__row { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; font-size: 13px; }
/* The packaging's size: round S, M, L buttons, the chosen one filled. */
/* Phones: the packaging is one row that slides sideways, out to the screen's edges, stopping card by card.
   Each card is a bit narrower than half the screen, so the next one peeks in and shows there's more.
   A sliding row clips whatever reaches outside it, so a little room above and below keeps the keyboard
   focus ring whole. */
@media (max-width: 600px) {
  .gift__wraps {
    display: flex; gap: 10px;
    margin: -8px calc(var(--gutter) * -1); padding: 8px var(--gutter);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gift__wraps::-webkit-scrollbar { display: none; }
  .gift__wraps .wrap { flex: 0 0 42%; scroll-snap-align: start; }
  /* A fieldset grows to fit its widest content by default, which would widen the whole page to the row's length. */
  .gift__step { min-width: 0; }
  /* The categories over the products: one line that slides sideways too, out to the screen's edges. */
  .gift .filters {
    flex-wrap: nowrap; gap: 20px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gift .filters::-webkit-scrollbar { display: none; }
  .gift .filters button { flex: none; white-space: nowrap; }
}
.gift__sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.gift__sizes[hidden] { display: none; }
.gift__sizes-label { margin-right: 6px; font-size: 13px; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.size span {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 8px;
  border: 1.5px solid var(--fg); border-radius: 20px;
  font-size: 13px; transition: background-color .3s, border-color .3s, color .3s;
}
/* The chosen size in the shop's pink. */
.size input:checked + span { border-color: var(--logo); background: var(--logo); color: #fff; }
.size input:focus-visible + span { outline: 1.5px solid var(--fg); outline-offset: 3px; }
.gift__items { border-top: 1px solid var(--fg); }
/* Each option with a small photo of itself, between the tick and the name. */
.gift__item > span { gap: 12px; padding-block: 6px; }
.gift__pic { flex: none; width: 42px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--img); }
.gift__pic img, .gift__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gift__name { min-width: 0; }
.gift__thumb { flex: none; width: 28px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--img); }
.gift__list li { align-items: center; }
.gift__sum { position: sticky; top: calc(var(--bar-h) + 8px); grid-column: span 4; padding-top: 10px; border-top: 1.5px solid var(--fg); }
.gift__sumhead { margin-bottom: 8px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; }
.gift__list li { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-bottom: 1px solid var(--fg); }
.gift__add { width: 100%; }
.gift__line-name { flex: 1; min-width: 0; }
.gift__line-price { flex: none; font-variant-numeric: tabular-nums; }
/* Takes a product back out of the gift. The packaging has an empty space instead, so the prices line up. */
.gift__rm, .gift__rm-space { flex: none; width: 26px; height: 26px; }
.gift__list li.is-leaving { pointer-events: none; }
.gift__rm {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 20px; line-height: 1;
  transition: background .2s, color .2s;
}
.gift__rm:hover, .gift__rm:focus-visible { background: var(--fg); color: var(--bg); }
.gift__bar { display: none; }

/* Lokacioni */
.loc { padding: var(--bar-h) var(--gutter) clamp(70px, 14vh, 140px); }
.loc__body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: var(--gutter);
  margin-top: clamp(14px, 3vh, 26px);
}
.loc__photo { grid-column: span 7; aspect-ratio: 3 / 2; overflow: hidden; background: var(--img); }
.loc__photo img { width: 100%; height: 100%; object-fit: cover; }
.loc__info { grid-column: span 5; border-top: 1px solid var(--fg); }
.loc__row { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--fg); font-size: 16px; }
.loc__row a { text-decoration: underline; text-underline-offset: 3px; }
.loc__info .bagp__go { margin-top: 18px; }

/* Shporta */
.bagp { position: relative; min-height: 74vh; padding: var(--bar-h) var(--gutter) clamp(50px, 10vh, 100px); }
.giant {
  padding-bottom: .05em;
  border-bottom: 1.5px solid var(--fg);
  font-weight: 700; line-height: .88; letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap;
}
.giant span { display: inline-block; }
/* KËRKO has dots above a capital, which the tight lines would hide behind the bar and the letters' masks. */
.srch .giant { line-height: 1.06; }
.bagp__sad { margin-top: clamp(20px, 4vh, 36px); font-size: clamp(46px, 8.8vw, 152px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.bagp__body > .bagp__go { margin-top: clamp(18px, 4vh, 34px); }
.bagp__go {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: clamp(26px, 3.2vw, 50px); letter-spacing: -.04em;
}
/* Painted through the arrow's shape, so it takes the colour of the text around it. */
/* Not found: a big 404 with the flower for its 0, sized by the screen's width and height so it always fits. */
.lost {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 88svh;
  padding: var(--bar-h) var(--gutter) clamp(40px, 8vh, 90px);
}
.lost__code {
  display: flex; justify-content: center;
  font-size: min(40vw, 46svh); font-weight: 700; line-height: .82; letter-spacing: -.06em;
}
.lost__digits { display: flex; align-items: center; }
.lost__digit { display: block; }
.lost__flower {
  flex: none; width: .74em; height: .74em; margin-inline: .04em .01em;
  overflow: visible; fill: var(--logo);
  animation: lost-turn 18s linear infinite;
}
@keyframes lost-turn { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .lost__flower { animation: none; } }
.lost__row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 14px var(--gutter);
  margin-top: clamp(16px, 3vh, 30px); padding-top: 14px;
  border-top: 1.5px solid var(--fg);
}
.lost__text { font-size: clamp(26px, 3.2vw, 50px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.lost__links { display: flex; flex-wrap: wrap; gap: 6px clamp(28px, 4vw, 60px); }

.bagp__go::after, .pd__add::after, .pd__back::before {
  --size: .6em;
  content: ''; flex: none; width: var(--size); height: var(--size);
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
}
/* On hover the arrow leaves the way it points and comes back in from behind.
   Only the mask moves, so its own box clips it and no wrapper is needed. */
.bagp__go.is-roll::after, .pd__add.is-roll::after, .pd__back.is-roll::before { animation: arrow-roll .7s; }
@keyframes arrow-roll {
  0% {
    -webkit-mask-position: 0 0; mask-position: 0 0;
    animation-timing-function: cubic-bezier(.55, 0, .85, .35);
  }
  45% {
    -webkit-mask-position: var(--size) calc(var(--size) * -1); mask-position: var(--size) calc(var(--size) * -1);
    animation-timing-function: steps(1, end);
  }
  46% {
    -webkit-mask-position: calc(var(--size) * -1) var(--size); mask-position: calc(var(--size) * -1) var(--size);
    animation-timing-function: cubic-bezier(.15, .65, .3, 1);
  }
  100% { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
/* The empty bag's photos: each keeps its own shape, sized by width only. */
.bagp__trail { position: fixed; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.bagp__frame { position: absolute; left: 0; top: 0; width: clamp(110px, 11vw, 170px); height: auto; visibility: hidden; will-change: transform; }
/* Nothing to follow without a pointer, so one photo waits beside the line. */
.bagp__orb { position: absolute; right: var(--gutter); top: calc(var(--bar-h) + 26vw); width: min(110px, 24vw); pointer-events: none; }
.bagp__orb img { width: 100%; height: auto; }

.line {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--gutter);
  padding-block: clamp(18px, 3.4vh, 30px) 14px;
  border-bottom: 1.5px solid var(--fg);
}
.line__pic {
  position: relative; flex: none; display: block;
  width: clamp(84px, 8.6vw, 128px); aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--img);
}
.line__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* A gift shows its wrap and what's inside, up to four photos sharing the one frame. */
.line__pic--mix { display: grid; grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)); gap: 2px; }
.line__pic--mix > * { min-width: 0; min-height: 0; }
.line__pic--mix > :first-child:nth-last-child(2),
.line__pic--mix > :first-child:nth-last-child(2) ~ *,
.line__pic--mix > :first-child:nth-last-child(3) { grid-row: span 2; }
.line__text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.03em; }
.line__text small { flex-basis: 100%; font-size: 13px; letter-spacing: -.012em; }
.line__price { font-variant-numeric: tabular-nums; }
.line__side { flex: none; align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.line__del { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.03em; }
.line__del:hover { text-decoration: underline; text-underline-offset: 4px; }
.line .qty { font-size: 18px; }

.bagp__sum {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: baseline;
  gap: 8px var(--gutter);
  padding-top: clamp(26px, 5vh, 46px);
}
.bagp__sub { grid-column: span 7; display: flex; gap: clamp(24px, 6vw, 110px); font-size: clamp(26px, 3.2vw, 50px); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bagp__sum .bagp__go { grid-column: 8 / -1; }
.bagp__note { grid-column: 1 / -1; font-size: 12px; }

/* The photo on its way up to the bag. Above the bar, under the page cover. */
.flyer { position: fixed; z-index: 60; overflow: hidden; background: var(--img); pointer-events: none; will-change: transform; }
.flyer img, .flyer .disc { position: absolute; max-width: none; object-fit: cover; }

.bag__swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }

.qty { display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.qty button { width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; transition: opacity .3s; }
.qty button:hover:not(:disabled) { opacity: .6; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty > span { min-width: 1.8em; text-align: center; }

/* Inner pages */
.page { min-height: 100vh; padding: calc(var(--bar-h) + 3vh) var(--gutter) clamp(70px, 12vh, 130px); }
.page h1 { font-size: clamp(52px, 11vw, 190px); font-weight: 400; line-height: 1; letter-spacing: -.05em; }
.state { margin-top: 18px; }

/* Product */
.pd {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--gutter);
  padding: var(--bar-h) var(--gutter) clamp(60px, 12vh, 120px);
}
.pd__media { display: grid; gap: 8px; }
.pd__shot { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--img); }
.pd__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd__info { display: flex; flex-direction: column; padding-bottom: var(--gutter); }
/* Computers and tablets: photos and details split the screen in half, and each half scrolls on its own,
   whichever one the pointer is over. Each photo shows whole: the product photos in their own 3:4 shape,
   the shop photos under them in theirs. At the end of either half the page carries on to the footer. */
@media (min-width: 601px) {
  .pd {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    height: 100svh; padding-bottom: 0;
  }
  .pd__media, .pd__info { overflow-y: auto; scrollbar-width: none; padding-bottom: var(--gutter); }
  /* A scrolling half clips at its edges, so the details get a little room there for the shade dot's ring
     and the focus outline, taken back with a margin so nothing moves. */
  .pd__info { padding-inline: 6px; margin-inline: -6px; }
  .pd__media::-webkit-scrollbar, .pd__info::-webkit-scrollbar { display: none; }
  /* Kept at full size: in a half of fixed height a grid would squeeze the photos to fit. */
  .pd__media { display: flex; flex-direction: column; }
  .pd__shot { flex: none; }
  .pd__shot--shop, .pd__shot--end { aspect-ratio: auto; }
  .pd__shot--shop .pd__img, .pd__shot--end .pd__img { position: static; display: block; height: auto; }
}
.pd__back { display: inline-flex; align-items: center; gap: .4em; width: fit-content; font-size: 12px; }
.pd__back::before { --size: .85em; transform: rotate(-135deg); }
.pd__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd__info h1 { margin-top: 10px; font-size: clamp(40px, 5.2vw, 84px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.pd__price { margin-top: 12px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pd__about { max-width: 30em; margin-top: 10px; font-size: 15px; }
.pd__opts { margin-top: 20px; border-top: 1px solid var(--fg); }
.swatch { position: relative; display: block; border-bottom: 1px solid var(--fg); cursor: pointer; }
.swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.swatch span { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 9px; font-size: 15px; transition: padding .5s var(--ease); }
.swatch i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--fg); transform: scale(.0); transition: transform .4s var(--ease); }
.swatch b { flex: none; margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.swatch:hover i { transform: scale(.6); }
.swatch input:checked + span i { transform: scale(1); }
.swatch input:focus-visible + span { outline: 1.5px solid var(--fg); outline-offset: -2px; }
.swatch--out { cursor: default; }
.swatch--out input { cursor: default; }
.swatch--out span { opacity: .5; }
.swatch--out:hover i { transform: scale(0); }
.pd__buy { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 15px; border-bottom: 1px solid var(--fg); }
.pd__opts[hidden] + .pd__buy { margin-top: 20px; border-top: 1px solid var(--fg); }
.pd__add {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--fg);
  font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -.035em; text-align: left;
  overflow: hidden; /* The cart leaves and comes back past these edges. */
}
.pd__label { display: inline-flex; align-items: center; gap: .4em; }
.pd__label svg { flex: none; width: 1em; height: 1em; }
.pd__add:disabled { opacity: .45; cursor: default; }
.pd__add:disabled::after { display: none; }
.pd__note { margin-top: 10px; font-size: 12px; }

/* Order */
.order__demo { margin-bottom: 14px; font-size: 12px; }
.order__empty .link { margin-top: 18px; }
.order__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 6vw, 96px);
  margin-top: 5vh;
}
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; }
.field input, .field select, .field textarea {
  display: block; width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid var(--fg);
  font-size: 22px; letter-spacing: -.025em;
  outline: 0;
  resize: vertical;
  transition: box-shadow .3s;
}
.field input::placeholder { color: var(--fg); opacity: .55; }
.field select { background: var(--bg); cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 1px 0 var(--fg); }
.field [aria-invalid='true'] { border-color: var(--err); box-shadow: 0 1px 0 var(--err); }
.field__hint { margin-top: 6px; font-size: 12px; }
.field__err { font-size: 13px; font-weight: 700; color: var(--err); }
.field__err:not(:empty) { margin-top: 6px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: calc(var(--bar-h) + 16px); border-top: 1px solid var(--fg); }
.summary__items li {
  display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--fg);
}
.summary__row { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.summary__row--total { margin-top: 16px; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.035em; }
.summary__pay { margin-block: 10px 16px; font-size: 12px; }
.summary .pill { width: 100%; }
.order__err { font-size: 13px; font-weight: 700; color: var(--err); }
.order__err:not(:empty) { margin-top: 10px; }
.summary__terms { margin-top: 10px; font-size: 12px; }
.summary__terms a { text-decoration: underline; text-underline-offset: 2px; }

/* Thank you: laid out like Lokacioni, under the same full-width title. */
.done { margin-top: -3vh; outline: 0; }
.done .giant { font-weight: 700; line-height: .88; letter-spacing: -.05em; }
.done__name { grid-column: span 7; min-width: 0; overflow-wrap: anywhere; font-size: clamp(46px, 8.8vw, 152px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }

/* Terms */
.terms { padding: var(--bar-h) var(--gutter) clamp(70px, 14vh, 140px); }
.terms__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px var(--gutter);
  padding-block: clamp(18px, 3.4vh, 30px);
  border-bottom: 1.5px solid var(--fg);
}
.terms__row h2 { grid-column: span 5; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.03em; }
.terms__row p { grid-column: 6 / -1; max-width: 44em; font-size: 16px; }

/* Tablets: the shop photos keep their width but never grow taller than most of the screen.
   Their images cover the frame, so a shorter frame just shows a little less above and below. */
@media (max-width: 1024px) {
  .tile__img, .loc__photo { width: 100%; max-height: 75svh; }
}

@media (max-width: 860px) {
  :root { --bar-h: 56px; }

  /* Stacked: the links keep their natural height and the photo takes what's left. */
  .menu__main { display: flex; flex-direction: column; gap: 14px; }
  /* The links follow the screen's height too, so on short phones the photo keeps a real share instead of a strip. */
  .menu__photo { flex: 1; min-height: 0; }
  .menu__list { flex: none; }
  .menu__list a { flex: none; padding-block: .06em .1em; font-size: min(13vw, 5.5svh); }
  .menu__end { grid-template-columns: 1fr; justify-items: center; }

  .gift__body { display: block; }
  .gift__wraps { gap: 8px; }
  .wrap__row { display: block; font-size: 12px; }
  .wrap__row span { display: block; }
  /* The gift's summary rides on the bottom edge as a bar with the count and total; tapping it pulls the
     whole summary up, where products can be removed and the gift added to the cart. */
  .gift { padding-bottom: calc(clamp(70px, 14vh, 140px) + 64px); }
  .gift__sum {
    position: fixed; inset: auto 0 0; z-index: 30;
    padding: 0; border-top: 1.5px solid var(--fg);
    background: var(--bg);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .06);
  }
  .gift__bar {
    display: flex; align-items: center; gap: 10px; width: 100%;
    min-height: 58px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    font-size: 15px; text-align: left;
  }
  .gift__bar-name { font-weight: 700; }
  .gift__bar-count { flex: 1; min-width: 0; opacity: .7; }
  .gift__bar-total { font-variant-numeric: tabular-nums; font-size: 18px; letter-spacing: -.02em; }
  .gift__bar-more { flex: none; width: 10px; height: 10px; margin-left: 4px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateY(2px) rotate(-45deg); transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
  .gift__sum.is-open .gift__bar-more { transform: translateY(-3px) rotate(135deg); }
  /* Opened and closed by its real height (in views.js), so the slide takes its whole time at an even pace
     instead of rushing through a far taller limit. */
  .gift__sheet {
    height: 0; max-height: min(70svh, 560px); overflow: hidden;
    padding: 0 var(--gutter);
  }
  .gift__sum.is-open .gift__sheet {
    height: auto; overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  }
  .gift__sum.is-open .gift__bar { padding-bottom: 8px; }
  .gift__sheet .gift__sumhead { display: none; }
  .loc__body { display: block; }
  .loc__info { margin-top: 14px; }
  .terms__row { display: block; }
  .terms__row p { margin-top: 6px; }

  .list__body { display: block; }
  .side {
    top: var(--bar-h); z-index: 5;
    flex-direction: row; gap: 16px;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter);
    overflow-x: auto; scrollbar-width: none;
    background: var(--bg);
  }
  .side::-webkit-scrollbar { display: none; }
  .side a, .side a:first-child { flex: none; padding: 2px 0; border: 0; font-size: 16px; }
  .side a:hover, .side a[aria-current] { padding-left: 0; }
  .side a[aria-current] { font-weight: 500; box-shadow: 0 1px 0 var(--fg); }
  .side sup { display: none; }
  .list__main { margin-top: 12px; }
  .list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }

  .bar__mark { width: 28px; }

  .line { gap: 12px; padding-block: 16px 12px; }
  .line__pic { width: 72px; }
  .line__text { display: block; font-size: 18px; }
  .line__price { display: block; margin-top: 2px; }
  .line__text small { display: block; margin-top: 2px; }
  .line__del { font-size: 15px; }
  .bagp__sum { display: block; }
  .bagp__sub { justify-content: space-between; }
  .bagp__sum .bagp__go { margin-top: 18px; }
  .bagp__note { margin-top: 10px; }

  /* Dense, so a product left alone before a full-width shop photo gets its neighbour beside it. */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 34px 10px; }
  .card { grid-column: span 1; }
  .tile { grid-column: 1 / -1; }
  .tile--wide .tile__img { aspect-ratio: 3 / 2; }

  .order__grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}

/* Phones: no room for three columns, so Si funksionon goes on top and the other two share the row below. */
@media (max-width: 600px) {
  /* Phones: one photo, the details under it. */
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd__shot { width: 100%; max-height: 75svh; }
  .pd__shot:not(:first-child) { display: none; }
  /* A limited edition's collection photo still shows on phones, at the very end, after the details:
     the photos' column lets its pieces join the page's single column so it can move there. */
  .pd__media { display: contents; }
  .pd__info { order: 1; }
  .pd__shot.pd__shot--end { order: 2; display: block; aspect-ratio: auto; max-height: none; }
  .pd__shot--end .pd__img { position: static; display: block; height: auto; }
  .pd__info { position: static; padding-top: 10px; }

  /* The same two columns as the product cards above, so Kategoritë and Dyqani start right under them. */
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
  .foot__cols > div:nth-child(1) { grid-column: 1 / -1; }
  .foot__cols > div:nth-child(2) { grid-column: 1; justify-self: start; }
  /* Dyqani against the right edge, its links ending there too, like the steps' sentences above. */
  .foot__cols > div:nth-child(3) { grid-column: 2; justify-self: end; text-align: right; }
  .foot__cols > div:nth-child(3) a { margin-left: auto; }
  /* Each step spans the width: its number at the left edge, its sentence against the right edge. */
  .foot__step { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
  /* Ruled like the site's other rows (Lokacioni, Dhuratat, the shades): a thin line under each step. */
  .foot__step { padding-block: 7px; border-bottom: 1px solid var(--fg); }
  .foot__label + .foot__step { margin-top: 6px; border-top: 1px solid var(--fg); }
  .foot__step { text-align: right; }
  .foot__step span { text-align: left; }

  /* No room for all three on one line, so the logo sits centred just above the other two.
     The credit always keeps its one line; on the narrowest phones the copyright gives way instead. */
  .foot__end { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .foot__cols .foot__logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
}
