@import url("../assets/world.css");

:root { --col: 1200px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link--ink { display: inline-flex; align-items: center; gap: 6px; color: var(--burgundy); }

/* Top bar and hero on the burgundy field */
.s-top { display: flex; align-items: center; gap: 12px; padding: 16px var(--pad) 0; background: var(--burgundy); color: var(--on-dark); }
.s-logo img { width: 60px; height: 60px; }
.s-nav { display: none; gap: 22px; margin-inline-start: 24px; font-size: 14px; font-weight: 700; }
.s-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.s-nav a:hover { border-bottom-color: var(--gold); }
.s-top .chip { margin-inline-start: auto; }
.hero { padding: 26px var(--pad) 30px; background: var(--burgundy); color: var(--on-dark); }
.hero h1 { font: 800 min(38px, 9.6vw)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; animation: lift .7s var(--ease) both; }
html:lang(ar) .hero h1, html:lang(ckb) .hero h1 { letter-spacing: 0; line-height: 1.3; }
.hero-sub { margin: 18px 0 0; padding-inline-start: 14px; border-inline-start: 1px solid var(--gold); animation: lift .7s .08s var(--ease) both; }
.hero-sub p { font-size: 14.5px; line-height: 1.5; color: var(--on-dark); }
.hero-sub cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--gold); }
.hero-sub cite a { text-decoration: underline; text-underline-offset: 3px; }
.hero-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; margin-top: 22px; animation: lift .7s .14s var(--ease) both; }
.hero-actions .btn { padding: 0 10px; font-size: 14.5px; gap: 6px; }
@keyframes lift { from { transform: translateY(12px); opacity: 0; } }
.band--on-wool { background-color: var(--wool); }

/* Best sellers on the wool */
.sec-head { padding: 0 0 16px; }
.sec-head h2 { font: 800 26px/1.1 var(--display); letter-spacing: -.02em; }
.sec-head p { margin-top: 8px; font-size: 13px; color: var(--ink-2); max-width: 60ch; }
.best { padding: 28px 0 8px var(--pad); }
.products { display: flex; gap: 12px; padding: 4px var(--pad) 24px 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.products::-webkit-scrollbar { display: none; }
.product { flex: none; width: 168px; scroll-snap-align: start; }
.product-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.product-link:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(26, 20, 18, .14); }
.product-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.product-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.product-name { display: block; padding: 10px 12px 0; font-size: 13px; font-weight: 700; line-height: 1.3; min-height: 44px; }
.product-price { display: block; padding: 6px 12px 0; font: 800 20px/1 var(--display); color: var(--burgundy); }
.product-buy { display: inline-flex; align-items: center; gap: 6px; margin: 10px 12px 12px; padding: 8px 12px; border-radius: var(--r); background: var(--gold); color: var(--gold-ink); font-size: 13px; font-weight: 700; align-self: flex-start; }

/* Story */
.story { position: relative; padding: 24px var(--pad) 36px; border-top: 1px solid var(--line); overflow: hidden; }
.story-year { position: absolute; inset-inline-end: -8px; top: 6px; font: 900 128px/1 var(--display); letter-spacing: -.06em; color: var(--wool-2); pointer-events: none; }
.story-text { position: relative; max-width: 56ch; }
.story-text h2 { font: 800 24px/1.1 var(--display); letter-spacing: -.02em; }
.story-text p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.story-text .link { margin-top: 12px; }

/* Store finder on indigo */
.stores { padding: 30px var(--pad) 34px; background: var(--indigo); color: var(--on-dark); }
.stores .sec-head p { color: var(--on-dark-2); }
.search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 14px; border-radius: var(--r); background: var(--indigo-deep); border: 1.5px solid var(--line-dark); color: var(--on-dark-2); }
.search:focus-within { border-color: var(--gold); }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--on-dark); font-size: 16px; caret-color: var(--gold); }
.search input::placeholder { color: var(--on-dark-2); }
.search input::-webkit-search-cancel-button { display: none; }
.stores-count { margin: 12px 0 4px; font-size: 13px; font-weight: 700; color: var(--gold); }
.store { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.store-name { display: block; font-size: 16px; font-weight: 700; }
.store-address { display: block; margin-top: 3px; font-size: 13px; color: var(--on-dark-2); }
.store-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--on-dark-2); }
.store-meta span { display: inline-flex; align-items: center; gap: 5px; }
.store-meta em { font-style: normal; color: var(--gold); }
.store-flag { color: #ffb4b4; }

/* Franchise on burgundy */
.franchise { padding: 30px var(--pad) 34px; background: var(--burgundy); color: var(--on-dark); }
.franchise h2 { font: 800 26px/1.1 var(--display); letter-spacing: -.02em; }
.franchise p { margin-top: 10px; font-size: 15px; max-width: 48ch; }
.franchise .btn { margin-top: 20px; display: inline-flex; min-width: 240px; }

/* Menu teaser and footer */
.menu-teaser { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 30px var(--pad); }
.menu-text h2 { font: 800 22px/1.1 var(--display); letter-spacing: -.02em; }
.menu-text p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.menu-text .link { margin-top: 10px; }
.menu-phone { display: block; width: 92px; padding: 6px; border-radius: 14px; background: var(--ink); }
.menu-phone-screen { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 170px; padding-top: 18px; border-radius: 10px; background: var(--burgundy); color: var(--on-dark); }
.menu-phone-screen img { width: 36px; height: 36px; }
.menu-phone-screen b { font: 800 14px/1 var(--display); }
.menu-phone-screen i { display: block; width: 56px; height: 22px; margin-top: 10px; border-radius: 3px; background: var(--gold); }
.s-foot { padding: 22px var(--pad) 30px; background: var(--ink); color: var(--on-dark-2); font-size: 13px; }
.foot-contact a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.foot-weight { margin-top: 10px; color: var(--gold); }

@media (min-width: 900px) {
  :root { --pad: 40px; }
  .s-top, .hero, .best, .story, .stores, .franchise, .menu-teaser, .s-foot { padding-inline: max(var(--pad), calc((100vw - var(--col)) / 2)); }
  .s-nav { display: flex; }
  .hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding-top: 48px; padding-bottom: 44px; }
  .hero h1 { grid-column: 1 / -1; font-size: 72px; max-width: 14ch; }
  .hero-sub { margin-top: 0; }
  .hero-actions { grid-template-columns: auto auto; justify-content: start; align-self: end; margin-top: 0; }
  .hero-actions .btn { padding: 0 20px; font-size: 16px; }
  .best { padding-top: 40px; padding-bottom: 24px; }
  .products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 4px 0 24px; overflow: visible; }

  .product { width: auto; }
  .product-name { font-size: 14px; }
  .product-photo { aspect-ratio: 1; }
  .story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-top: 40px; padding-bottom: 48px; }
  .story-year { position: static; font-size: 200px; color: var(--wool-2); text-align: end; order: 2; }
  .stores { padding-top: 40px; padding-bottom: 48px; }
  .stores .sec-head { max-width: 60ch; }
  .search { max-width: 520px; }
  .store-list { columns: 2; column-gap: 40px; }
  .store { break-inside: avoid; }
  .franchise { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 48px; }
  .franchise .btn { margin-top: 0; }
  .menu-teaser { grid-template-columns: 1fr auto; padding-top: 40px; padding-bottom: 40px; }
  .menu-phone { width: 120px; }
  .menu-phone-screen { height: 220px; }
}
