/* Mockup 3 – Minimal Collection */
.m3 { --f-head: "Jost", system-ui, sans-serif; --f-body: "Jost", system-ui, sans-serif; background: #fff; font-size: 16px; }
.m3 h1, .m3 h2 { font-weight: 400; letter-spacing: -.01em; }
.m3-wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* Announcement + header */
.m3-announce { background: var(--ink); color: #e9e3db; text-align: center; font-size: 13px; padding: 9px 16px; letter-spacing: .02em; }
.m3-announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.m3-hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.m3-hdr__in { display: flex; align-items: center; height: 72px; gap: 24px; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.m3-hdr__logo .ed-logo { height: 34px; }
.m3-nav { flex: 1; height: 100%; }
.m3-nav .ed-nav__link { font-size: 15px; font-weight: 400; color: var(--graphite); padding: 0 12px; }
.m3-nav .ed-nav__item:hover > .ed-nav__link, .m3-nav .ed-nav__item.is-open > .ed-nav__link { color: var(--ink); }
.m3-nav .ed-nav__link .ed-ico { opacity: .6; }
.m3-hdr__icons { display: flex; align-items: center; gap: 6px; }
.m3-hdr__icons > a, .m3-hdr__icons > button:not(.ed-burger) { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.m3-hdr__icons > a:hover, .m3-hdr__icons > button:hover { background: var(--linen); }
.m3-hdr__icons > a[href*="wa.me"] { color: var(--wa); }
.m3 .ed-mega { border-top: 1px solid var(--line); }
.m3 .ed-mega__inner { max-width: 1440px; }
.m3 .ed-mega--text .ed-mega__h { font-weight: 500; font-size: 16px; }
.m3 .ed-mega__feature { min-height: 300px; }
.m3-searchpanel { border-top: 1px solid var(--line); background: #fff; position: absolute; left: 0; right: 0; top: 100%; box-shadow: 0 30px 50px -20px rgba(18,18,18,.2); }
.m3-searchpanel__in { max-width: 760px; margin: 0 auto; padding: 28px var(--gutter) 30px; }
.m3-searchpanel p { margin-top: 14px; font-size: 14px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.m3-searchpanel p button, .m3-code__series button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); }
.m3-searchpanel p button:hover { border-color: var(--ink); }
.m3-search input { height: 56px; font-size: 17px; }

/* Buttons */
.m3-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 30px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; letter-spacing: .02em; transition: background .2s, color .2s; }
.m3-btn:hover { background: var(--ink); color: #fff; }
.m3-link { display: inline-block; margin-top: 22px; font-weight: 500; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }

/* Hero */
.m3-hero { position: relative; height: min(82vh, 760px); min-height: 480px; display: grid; place-items: center; text-align: center; color: #fff; isolation: isolate; overflow: hidden; }
.m3-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: m3-zoom 14s var(--ease) both; }
.m3-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,0,0,.42), rgba(0,0,0,.18) 70%); }
@keyframes m3-zoom { from { transform: scale(1.08); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .m3-hero > img { animation: none; } }
.m3-hero__in { padding: 0 20px; }
.m3-hero h1 { color: #fff; font-size: clamp(44px, 7vw, 104px); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.m3-hero h1 em { display: block; font-style: normal; font-weight: 300; }
.m3-hero p { font-size: clamp(16px, 1.5vw, 20px); margin: 18px auto 30px; max-width: 520px; color: #f3eee7; font-weight: 300; }

/* Section heads */
.m3-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.m3-head h2 { font-size: clamp(28px, 3vw, 40px); }
.m3-head p { color: var(--mute); }
.m3-head--center { flex-direction: column; align-items: center; text-align: center; }

/* Collection rail */
.m3-collection { padding: 88px 0 72px; }
.m3-railwrap { position: relative; }
.ed-rail { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.ed-rail::-webkit-scrollbar { display: none; }
.m3-rail { grid-auto-columns: minmax(260px, calc((min(100vw, 1440px) - var(--gutter) * 2 - 48px) / 4.3)); }
@media (min-width: 1440px) { .m3-railwrap .ed-rail { padding-left: calc((100vw - 1440px) / 2 + var(--gutter)); } }
.m3-coll { position: relative; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; scroll-snap-align: start; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.m3-coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.m3-coll::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.66)); }
.m3-coll:hover img { transform: scale(1.05); }
.m3-coll__body { padding: 20px; display: grid; gap: 4px; }
.m3-coll strong { font-size: 22px; font-weight: 500; }
.m3-coll small { font-size: 14px; line-height: 1.4; color: #eee8e0; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m3-coll em { font-style: normal; font-size: 13px; margin-top: 6px; opacity: .85; }
.m3-arrows--abs { position: absolute; top: calc(50% - 22px); left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 12px; pointer-events: none; z-index: 2; }
.m3-arrows button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow); }
.m3-arrows button:first-child .ed-ico { transform: rotate(180deg); }
.m3-arrows button:hover { background: var(--ink); color: #fff; }

/* Intro */
.m3-intro { padding: 40px 0 96px; }
.m3-intro__in { max-width: 820px; text-align: center; }
.m3-intro h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 22px; }
.m3-intro p { font-size: 18px; font-weight: 300; line-height: 1.75; color: var(--graphite); }
.m3-intro p a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Find by code */
.m3-code { background: #1a1917; color: #d7d0c6; padding: 88px 0; }
.m3-code__in { max-width: 860px; text-align: center; }
.m3-code__eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #c9a57a; }
.m3-code h2 { color: #fff; font-size: clamp(34px, 4.4vw, 60px); margin: 8px 0 28px; }
.m3-codesearch { border-color: #fff; }
.m3-codesearch input { height: 62px; font-size: 18px; }
.m3-code__series { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.m3-code__series button { border-color: #3c3934; color: #d7d0c6; padding: 8px 14px; }
.m3-code__series button b { color: #fff; font-weight: 600; margin-right: 4px; }
.m3-code__series button:hover { border-color: #fff; color: #fff; }

/* Marquee */
.m3-marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.m3-marquee__track { display: flex; width: max-content; animation: m3-marq 36s linear infinite; }
.m3-marquee span { padding: 16px 26px; font-size: 15px; color: var(--graphite); white-space: nowrap; display: flex; align-items: center; gap: 26px; }
.m3-marquee span::after { content: "✦"; color: var(--oak); font-size: 12px; }
@keyframes m3-marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .m3-marquee__track { animation: none; } }

/* Best */
.m3-best { padding: 88px 0; }
.m3-rail--products { grid-auto-columns: minmax(220px, calc((min(100vw, 1440px) - var(--gutter) * 2 - 64px) / 5.2)); }
.m3-pcard { scroll-snap-align: start; border-radius: 6px; }
.m3-pcard .ed-pcard__media { background: #f3f1ee; border-radius: 6px; }
.m3-pcard .ed-pcard__body { padding: 14px 2px 0; }
.m3-pcard .ed-pcard__code { font-weight: 500; font-size: 18px; }
.m3-pcard .ed-pcard__wa { font-weight: 500; }

/* Duo banners */
.m3-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.m3-duo__item { position: relative; height: 620px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.m3-duo__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.m3-duo__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.55)); }
.m3-duo__item:hover img { transform: scale(1.04); }
.m3-duo__item span { padding: 40px; display: grid; gap: 4px; }
.m3-duo__item small { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.m3-duo__item strong { font-size: clamp(28px, 3vw, 42px); font-weight: 400; }
.m3-duo__item em { font-style: normal; font-weight: 500; border-bottom: 1px solid #fff; justify-self: start; margin-top: 10px; }

/* Stores */
.m3-stores { padding: 96px 0; }
.m3-stores .m3-head p { max-width: 520px; }
.m3-stores__list { max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--line); }
.m3-stores__list li { display: grid; grid-template-columns: 260px 1fr auto; gap: 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.m3-stores__list li:hover { background: #faf8f5; }
.m3-store__name strong { display: block; font-size: 20px; font-weight: 500; color: var(--ink); }
.m3-store__name span { font-size: 13px; color: var(--mute); }
.m3-stores__list p { color: var(--graphite); font-weight: 300; }
.m3-store__act { display: flex; gap: 8px; }
.m3-store__act a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); }
.m3-store__act a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Footer */
.m3-foot { background: var(--linen); color: var(--graphite); font-size: 15px; padding-top: 64px; font-weight: 300; }
.m3-foot__in { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
.m3-foot__brand .ed-logo { height: 36px; margin-bottom: 14px; }
.m3-foot__h { color: var(--ink); font-weight: 500; margin-bottom: 12px !important; }
.m3-foot li { padding: 3px 0; }
.m3-foot a:hover { color: var(--ink); }
.m3-foot__base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #e2dbd0; margin-top: 48px; padding-top: 20px; padding-bottom: 28px; font-size: 14px; }
.m3 .ed-social { display: flex; gap: 8px; margin-top: 18px; }
.m3 .ed-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #d9d1c5; color: var(--ink); }
.m3 .ed-social a:hover { background: var(--ink); color: #fff; }

/* Responsive */
@media (max-width: 1180px) {
  .m3-nav .ed-nav__link { padding: 0 8px; font-size: 14px; }
  .m3-foot__in { grid-template-columns: repeat(3, 1fr); }
  .m3-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .m3-nav { display: none; }
  .m3-hdr__icons { margin-left: auto; }
  .ed-burger { display: grid; }
  .m3-stores__list li { grid-template-columns: 1fr; gap: 8px; }
  .m3-duo__item { height: 460px; }
}
@media (max-width: 680px) {
  .m3-hdr__in { height: 62px; }
  .m3-hdr__logo .ed-logo { height: 28px; }
  .m3-hdr__icons a[aria-label="Find a store"] { display: none; }
  .m3-hero { height: 72vh; }
  .m3-collection, .m3-best, .m3-stores, .m3-code { padding: 56px 0; }
  .m3-intro { padding: 16px 0 56px; }
  .m3-intro p { font-size: 16px; }
  .m3-rail { grid-auto-columns: 72vw; }
  .m3-rail--products { grid-auto-columns: 46vw; }
  .m3-arrows--abs { display: none; }
  .m3-head { flex-direction: column; gap: 4px; }
  .m3-duo { grid-template-columns: 1fr; }
  .m3-duo__item { height: 380px; }
  .m3-duo__item span { padding: 24px; }
  .m3-foot__in { grid-template-columns: 1fr 1fr; }
  .m3-foot__base { flex-direction: column; }
  .m3-searchpanel__in { padding: 18px var(--gutter); }
}
