@font-face {
  font-family: Cairo;
  src: url("assets/fonts/cairo.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --ink: #163733;
  --blue: #285eac;
  --green: #18733e;
  --muted: #546762;
  --line: #d9e3df;
  --paper: #fafbf9;
  --soft: #eef5ee;
  font-family: Cairo, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  font-size: 16px;
  line-height: 1.55;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #c48013;
  outline-offset: 3px;
}
button,
a,
summary {
  touch-action: manipulation;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg.icon {
  width: 19px;
  height: 19px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.mast {
  background: white;
  border-bottom: 1px solid var(--line);
}
.head-inner,
.head-tools,
.bar-inner,
.bar-description,
.foot,
.foot span,
.foot a,
.location,
.language,
.season,
.section-head,
.show-head,
.pager,
.show-foot,
.icon-btn,
.primary,
.outline,
.view-label,
.add,
.panel-head,
.gallery-nav,
.zoom-head,
.fallback {
  display: flex;
  align-items: center;
}
.head-inner {
  min-height: 78px;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 154px;
  height: auto;
}
.head-tools {
  gap: 24px;
}
.location,
.foot {
  color: var(--muted);
  font-size: 0.88rem;
}
.location,
.language,
.foot span,
.foot a,
.season,
.add,
.view-label,
.primary,
.outline,
.fallback {
  gap: 8px;
}
.language {
  font:
    600 0.89rem/1.4 "Segoe UI",
    Cairo,
    sans-serif;
  min-height: 44px;
  padding: 0 5px;
  color: var(--blue);
}
.location {
  border-inline-end: 1px solid var(--line);
  padding-inline-end: 24px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 5.5vw, 86px);
  padding-block: 24px 34px;
  align-items: start;
}
.season {
  font-size: 0.87rem;
  font-weight: 720;
  color: var(--green);
}
.hero-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.hero-brand img {
  width: clamp(102px, 12vw, 162px);
  height: auto;
}
.hero-brand .season {
  border-inline-start: 1px solid #a9bead;
  padding-inline-start: 12px;
}
.intro h1 {
  font-size: clamp(2.65rem, 4.25vw, 4.25rem);
  line-height: 1.4;
  color: var(--blue);
  font-weight: 800;
  margin: 6px 0;
}
.intro p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 44em;
}
.intro {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(215px, 21vw, 275px);
  border-radius: 18px;
  background: #e5efe7;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: -1;
}
html[dir="ltr"] .hero-art {
  transform: scaleX(-1);
}
.hero-copy {
  width: 54%;
  padding: clamp(20px, 3vw, 46px);
}
.section-head {
  gap: 14px;
  margin-bottom: 13px;
}
.section-head h2,
.show-head h2 {
  font-size: 1.1rem;
  font-weight: 750;
}
.rule {
  height: 1px;
  background: var(--line);
  flex: 1;
}
.section-head > span:last-child,
.caption,
.edition {
  font-size: 0.8rem;
  color: var(--muted);
}
#rows {
  display: grid;
  gap: 10px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 12px;
  transition: border-color 0.15s;
}
.row:hover {
  border-color: #a9c4b7;
}
.row.chosen {
  background: #f5faf5;
  border-color: #91bf9d;
}
.browse {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: start;
  min-width: 0;
  flex: 1;
}
.thumb {
  display: block;
  width: 76px;
  height: 76px;
  flex: none;
  object-fit: cover;
  border-radius: 9px;
  background: #ecece4;
}
.row-info {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 3px;
}
.row-title {
  font-size: 1.07rem;
  font-weight: 750;
  line-height: 1.5;
}
.row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.79rem;
  color: var(--muted);
}
.view-label {
  color: var(--blue);
  font-weight: 650;
  gap: 3px;
}
.view-label svg.icon {
  width: 14px;
  height: 14px;
}
.row-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #92a59e;
}
.add,
.outline,
.primary {
  justify-content: center;
  min-height: 44px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
}
.add,
.outline {
  background: white;
  border: 1px solid #c8d8cf;
  color: var(--green);
}
.add {
  flex-shrink: 0;
}
.add svg.icon {
  width: 16px;
  height: 16px;
}
.add:hover,
.outline:hover {
  background: #edf5ef;
}
.chosen .add {
  border-color: #8fbc98;
  background: #e6f2e8;
}
.showcase {
  overflow: hidden;
  border: 1px solid #d1ddd4;
  border-radius: 19px;
  background: #fff;
  margin-top: 3px;
}
.show-head,
.show-foot {
  justify-content: space-between;
  padding: 17px 23px;
  gap: 12px;
}
.show-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.show-head h2 svg {
  color: var(--green);
}
.edition {
  font-family: "Segoe UI", sans-serif;
  letter-spacing: 0.15em;
  font-weight: 650;
}
.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e3ece0;
  background-image: linear-gradient(122deg, #dae8da, #eff2e8 65%, #e3e9df);
  padding: 30px 13% 30px;
}
.stage:before,
.stage:after {
  content: "";
  position: absolute;
  width: 105%;
  aspect-ratio: 1;
  border: 1px solid #90a78b52;
  border-radius: 50%;
  z-index: -1;
}
.stage:before {
  left: -54%;
  top: -40%;
}
.stage:after {
  right: -52%;
  bottom: -44%;
}
.stack {
  position: relative;
  max-width: 285px;
  margin: auto;
}
.stack:before {
  content: "";
  position: absolute;
  inset: 4px 1px;
  background: #fbf6e9;
  transform: rotate(-4deg);
  border: 1px solid #ccceb9;
  box-shadow: 0 7px 16px #31423422;
  border-radius: 3px;
}
.sheet {
  display: block;
  padding: 0;
  width: 100%;
  transform: rotate(1.5deg);
  background: white;
  border: 6px solid white;
  border-radius: 3px;
  box-shadow: 0 12px 24px #30402a2b;
}
.sheet img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: contain;
}
.show-foot strong,
.caption {
  display: block;
}
.show-foot strong {
  font-size: 1.03rem;
}
.pager {
  gap: 6px;
}
.icon-btn {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  justify-content: center;
  background: white;
  color: var(--blue);
  flex: none;
}
.icon-btn:hover {
  background: #f0f5f3;
}
.icon-btn:disabled {
  opacity: 0.42;
}
.foot {
  border-top: 1px solid var(--line);
  padding-block: 16px;
  justify-content: space-between;
  gap: 12px;
}
.foot svg.icon {
  width: 16px;
  height: 16px;
}
.bar {
  position: fixed;
  inset: auto 0 0;
  background: white;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -5px 22px #203d3210;
}
.bar-inner {
  min-height: 78px;
  justify-content: space-between;
  gap: 12px;
}
.bar-description {
  gap: 13px;
}
.bag {
  height: 43px;
  width: 43px;
  border-radius: 12px;
  background: #edf4ef;
  color: var(--green);
  display: grid;
  place-items: center;
}
.bar-description strong {
  font-size: 0.98rem;
}
#status {
  color: var(--muted);
  font-size: 0.83rem;
}
.primary {
  border: 1px solid transparent;
  background: var(--blue);
  color: white;
}
.primary:hover {
  background: #204e91;
}
.primary:disabled,
.primary[aria-disabled="true"] {
  background: #e5eae7;
  color: #5d6964;
}
.bar .primary {
  min-width: 150px;
}
.bar .primary svg.icon {
  width: 16px;
}
dialog {
  color: var(--ink);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  width: min(660px, calc(100% - 32px));
  max-height: 90dvh;
  background: white;
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #102d27a8;
}
html:has(dialog[open]) {
  overflow: hidden;
}
.panel-head,
.zoom-head {
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.panel-head h2 {
  font-size: 1.2rem;
}
.panel-head {
  position: sticky;
  top: 0;
  z-index: 1;
}
.panel-head .icon-btn,
.zoom-head .icon-btn {
  width: 44px;
  height: 44px;
}
.gallery {
  padding: 14px 20px 20px;
}
.poster-stage {
  display: grid;
  place-items: center;
  background: #f2f4ef;
  border-radius: 10px;
  min-height: 160px;
  height: min(48dvh, 620px);
  padding: 5px;
}
.poster-stage button.picture {
  touch-action: pan-y pinch-zoom;
  height: 100%;
  width: 100%;
  min-height: 0;
  padding: 0;
  cursor: zoom-in;
}
.picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.gallery-nav {
  justify-content: space-between;
  gap: 10px;
  margin: 9px 0;
}
.gallery-nav .pager {
  gap: 10px;
}
.counter {
  color: var(--muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}
.gallery h3 {
  font-size: 1.05rem;
  margin: 12px 0;
}
.dialog-actions {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.dialog-actions a,
.dialog-actions button {
  flex: 1 auto;
}
.fallback {
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}
.fallback a,
.text-btn {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-btn {
  padding: 6px;
  min-height: 44px;
}
.manual {
  display: block;
  width: 100%;
  min-height: 100px;
  font: inherit;
}
.review-content {
  padding: 12px 20px 20px;
}
.review-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.review-item .thumb {
  width: 49px;
  height: 49px;
}
.review-item strong {
  flex: 1;
}
.message-note {
  color: var(--muted);
  margin: 10px 0;
}
.zoom-head {
  position: sticky;
  top: 0;
  z-index: 1;
}
.zoom-scroll {
  direction: ltr;
  overflow: auto;
  max-height: calc(92dvh - 70px);
  background: #e7ebe5;
}
.zoom-scroll img {
  display: block;
  width: max(100%, 1080px);
  height: auto;
  margin: auto;
}
#zoom {
  width: min(1170px, 96vw);
  max-height: 96dvh;
}
.error-box {
  text-align: center;
}
.error-box button {
  margin: 8px auto;
}
details {
  font-size: 0.9rem;
}
summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 650;
  padding: 10px 0;
}
.prices {
  list-style: none;
  margin: 0;
  padding: 0;
}
.prices li {
  display: flex;
  gap: 15px;
  align-items: baseline;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.prices span:last-child {
  white-space: nowrap;
  font-weight: 700;
}
.prices del {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
  margin-inline-end: 6px;
}
.terms {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 960px) {
  .wrap {
    width: calc(100% - 42px);
  }
  .layout {
    gap: 26px;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }
  .thumb {
    width: 62px;
    height: 67px;
  }
  .browse {
    gap: 10px;
  }
  .add {
    padding-inline: 10px;
  }
  .show-head,
  .show-foot {
    padding: 14px;
  }
  .stage {
    padding-inline: 11%;
  }
  .row-meta {
    gap: 5px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: min(620px, calc(100% - 32px));
  }
  .head-inner {
    min-height: 66px;
  }
  .brand img {
    width: 137px;
  }
  .layout {
    display: block;
    padding: 24px 0;
  }
  .showcase {
    display: none;
  }
  .intro {
    min-height: 178px;
    margin-bottom: 20px;
    border-radius: 13px;
  }
  .hero-copy {
    width: 66%;
    padding: 16px;
  }
  .hero-brand {
    column-gap: 8px;
  }
  .hero-brand .season {
    padding-inline-start: 7px;
    font-size: .75rem;
  }
  .hero-art {
    inset-inline-start: auto;
    width: 48%;
    object-position: 19% center;
    mask-image: linear-gradient(to right, black 58%, transparent);
  }
  .intro h1 {
    font-size: clamp(1.65rem, 5.5vw, 2.6rem);
  }
  .intro p {
    font-size: 0.9rem;
  }
  .location {
    display: none;
  }
  .foot {
    font-size: 0.81rem;
    flex-wrap: wrap;
  }
  .bar-inner {
    min-height: 73px;
  }
  .bar .primary {
    min-width: 0;
  }
  .gallery {
    padding: 12px 14px 20px;
  }
  dialog#panel {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    max-width: 100%;
    border: 0;
    border-radius: 0;
  }
  .panel-head {
    padding-top: max(12px, env(safe-area-inset-top));
  }
  .panel-inner {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .poster-stage {
    height: min(55dvh, 640px);
  }
  .zoom-scroll img {
    width: max(100%, 900px);
  }
}
@media (max-width: 450px) {
  .row {
    padding: 9px 8px;
    gap: 6px;
  }
  .thumb {
    width: 54px;
    height: 65px;
  }
  .browse {
    gap: 8px;
  }
  .row-title {
    font-size: 0.96rem;
  }
  .row-meta {
    font-size: 0.74rem;
  }
  .add {
    font-size: 0.79rem;
    gap: 3px;
    padding-inline: 7px;
  }
  .add svg.icon {
    width: 14px;
  }
  .section-head {
    gap: 8px;
  }
  .bar-description {
    gap: 7px;
  }
  .bag {
    display: none;
  }
  .bar .primary {
    font-size: 0.83rem;
  }
  .bar-description strong {
    font-size: 0.93rem;
  }
  #status {
    font-size: 0.78rem;
  }
  .section-head > span:last-child {
    font-size: 0.75rem;
  }
  .head-tools {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.panel-tools {
  display: flex;
  gap: 12px;
  align-items: center;
}
.panel-head h2 {
  min-width: 0;
}
.fallback a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
@media (max-width: 450px) {
  .row-meta i {
    display: none;
  }
  .row-meta {
    align-items: start;
    flex-direction: column;
    gap: 1px;
  }
}
