/* ==========================================================================
   "The Route" — storefront design system
   White and true black, khadag blue as the one strong colour, celadon behind
   products. Unbounded for display and numerals, Golos Text for reading.
   Structure comes from scale and whitespace, not from boxes.
   ========================================================================== */
:root {
  --white: #fff; --black: #000;
  --blue: #1846f5; --blue-deep: #0f2fb8;
  --celadon: #d5e1da; --celadon-deep: #9db8aa; --mist: #eef3f0;
  --grey: #5b635e; --rule: #d3dcd6; --signal: #d23a1a; --amber: #8a5200;
  --display: "Unbounded", "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --sys: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(18px, 4.2vw, 64px);
  --gap: clamp(12px, 1.6vw, 22px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@view-transition { navigation: auto; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font: 400 16px/1.55 var(--text); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(30px, 5.2vw, 76px); }
h2 { font-size: clamp(19px, 2vw, 28px); line-height: 1.15; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
small { font-size: 13.5px; color: var(--grey); font-weight: 400; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip-path: none; background: var(--black); color: #fff; padding: 10px 16px; z-index: 100; }
.wrap { max-width: 1480px; margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--grey); }
.fine { font-size: 13.5px; color: var(--grey); margin-top: 12px; max-width: 62ch; }
.center { text-align: center; display: block; margin-inline: auto; }
.warn-text { color: var(--signal); font-weight: 600; }
.ul { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.ul:hover { color: var(--blue); }
.icon { width: 22px; height: 22px; flex: none; }
.money { white-space: nowrap; }
.cur { font-family: var(--sys); font-size: .7em; font-weight: 500; margin-right: .14em; position: relative; top: -.14em; }

/* ---------- strip + header ---------- */
.strip { font-size: 13px; border-bottom: 1px solid var(--rule); }
.strip-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.rate { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rate b { font-weight: 600; }
.rate-when { color: var(--grey); }
.rate .icon { width: 16px; height: 16px; }
.rate-warn { color: var(--signal); font-weight: 500; }
.lang { display: flex; gap: 16px; }
.lang a { color: var(--grey); }
.lang a[aria-current] { color: var(--black); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.top { position: sticky; top: 0; z-index: 30; background: var(--white); transition: box-shadow .3s; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--black); }
.top-in { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); height: 72px; }
.mark { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; flex: none; }
.mark img { height: 48px; width: auto; }
@media (max-width: 560px) { .mark img { height: 40px; } }
.primary { display: flex; gap: clamp(16px, 2.2vw, 34px); align-items: center; font-size: 15px; }
.primary > a, .dd > summary { padding: 6px 0; cursor: pointer; background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease); list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.primary > a:hover, .dd > summary:hover, .primary > a[aria-current], .dd[open] > summary { background-size: 100% 2px; }
.dd { position: relative; }
.dd-panel { position: absolute; left: -24px; top: calc(100% + 18px); background: var(--white); border: 1.5px solid var(--black); padding: 14px 24px; min-width: 280px; display: grid; animation: drop .25s var(--ease); }
.dd-panel a { padding: 9px 0; font-size: 17px; border-bottom: 1px solid var(--rule); transition: padding .25s var(--ease), color .2s; }
.dd-panel a:last-child { border: 0; }
.dd-panel a:hover, .dd-panel a[aria-current] { padding-left: 10px; color: var(--blue); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.utils { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 15px; }
.find { display: flex; align-items: center; border-bottom: 1.5px solid var(--black); }
.find input { border: 0; outline: 0; background: none; width: 120px; padding: 6px 0; transition: width .35s var(--ease); }
.find input:focus { width: 210px; }
.find input::-webkit-search-cancel-button { display: none; }
.find button { border: 0; background: none; padding: 4px 0 4px 8px; cursor: pointer; }
.find button .icon { width: 19px; height: 19px; }
.util { white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.util:hover { color: var(--blue); }
.bag { display: inline-flex; align-items: center; gap: 8px; overflow: visible; font-weight: 600; }
.bag b { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--blue); color: #fff; font: 600 12px/24px var(--text); text-align: center; }
.bag b.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; }
.burger > summary { list-style: none; width: 40px; height: 40px; display: grid; place-content: center; gap: 7px; cursor: pointer; }
.burger > summary::-webkit-details-marker { display: none; }
.burger i { display: block; width: 24px; height: 2px; background: var(--black); transition: transform .3s var(--ease); }
.burger[open] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[open] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.sheet { position: fixed; inset: 110px 0 0; background: var(--white); padding: 20px var(--pad) 40px; overflow-y: auto; display: flex; flex-direction: column; animation: drop .3s var(--ease); z-index: 40; }
.sheet > a { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sheet > a.sheet-sub { font: 400 18px var(--text); letter-spacing: 0; padding: 10px 0 10px 18px; }
.sheet .find { margin-bottom: 12px; } .sheet .find input, .sheet .find input:focus { width: 100%; flex: 1; font-size: 18px; padding: 10px 0; }
.sheet .lang { margin-top: 24px; }
.main { padding-bottom: clamp(64px, 9vw, 140px); min-height: 60vh; }
.main-bare > .wrap > .notice { margin-top: 20px; }
.main:not(.main-bare) > .notice { margin-top: 20px; }

/* ---------- buttons, forms, small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 99px; border: 1.5px solid var(--black); background: var(--white); font-weight: 600; font-size: 15px; cursor: pointer; position: relative; overflow: hidden; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { background: var(--black); color: #fff; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--black); border-color: var(--black); }
.btn-wide { flex: 1; min-width: 180px; } .btn-block { width: 100%; }
.btn[disabled] { opacity: .32; cursor: not-allowed; pointer-events: none; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy::after, .is-loading::before { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 40%; background: currentColor; animation: sweep .8s linear infinite; }
.is-loading { position: relative; } .is-loading::before { top: 0; bottom: auto; background: var(--blue); z-index: 2; }
.is-loading > * { opacity: .45; transition: opacity .2s; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--grey); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 14px; }
.link-btn:hover { color: var(--black); }
.link-btn.ul { color: inherit; font-size: inherit; padding: 0; }
.ok-tag { color: #1f7a4a; font-weight: 600; }
.verify-nag a { margin-left: 8px; font-weight: 600; }
.notice { padding: 14px 18px; margin-bottom: 24px; font-size: 15px; background: var(--mist); border-left: 3px solid var(--blue); }
.notice-warn { border-color: var(--amber); color: var(--amber); background: #fff6e3; }
.notice-error { border-color: var(--signal); color: var(--signal); background: #fdeeea; }
.field { display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.field > span { font-size: 13.5px; color: var(--grey); }
.field input, .field select, .field textarea { border: 0; border-bottom: 1.5px solid var(--black); border-radius: 0; background: transparent; padding: 9px 0 10px; font-size: 17px; width: 100%; outline: 0; transition: box-shadow .2s, border-color .2s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a9b1ac; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 1.5px 0 var(--blue); }
.field select { appearance: none; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; }
.field input[disabled] { color: var(--grey); border-bottom-style: dashed; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--signal); }
.err { color: var(--signal); font-style: normal; font-size: 13.5px; margin-top: 4px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 40px); }
.field-wide { grid-column: 1 / -1; }
.input-xl { font-family: var(--display) !important; font-size: clamp(20px, 3vw, 30px) !important; }
.status { display: inline-block; padding: 4px 13px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--celadon); white-space: nowrap; }
.status-pending, .status-payment_pending { background: #ffefcf; color: #6e4300; }
.status-completed { background: var(--black); color: #fff; }
.status-cancelled { background: #fbe1da; color: var(--signal); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13.5px; color: var(--grey); font-weight: 400; padding: 10px 12px 10px 0; border-bottom: 1.5px solid var(--black); white-space: nowrap; }
.table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); }
.num { text-align: right !important; white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--black); color: #fff; padding: 13px 22px; border-radius: 99px; font-size: 15px; font-weight: 500; z-index: 60; max-width: calc(100vw - 32px); animation: rise .35s var(--ease); }
.toast.toast-error { background: var(--signal); }
.toast a { text-decoration: underline; text-underline-offset: 4px; margin-left: 12px; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 14px); } }
.empty { padding: 12vh 0; max-width: 560px; }
.empty h1, .empty h2 { font-size: clamp(26px, 4vw, 48px); margin-bottom: 14px; }
.empty p { color: var(--grey); margin-bottom: 28px; }
.empty-code { font: 600 clamp(90px, 18vw, 220px)/.9 var(--display); letter-spacing: -.05em; color: var(--blue); margin-bottom: 16px !important; }
.solo { max-width: 520px; padding-top: clamp(40px, 8vw, 110px); }
.solo h1 { font-size: clamp(30px, 4.6vw, 60px); margin-bottom: 18px; }
.solo form { margin: 36px 0 28px; }

/* ---------- price ---------- */
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-mnt { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: -.02em; }
.price-krw { font-size: 13.5px; color: var(--grey); }
.price-xl { gap: 16px; margin: 18px 0 6px; }
.price-xl .price-mnt { font-size: clamp(34px, 4.4vw, 62px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.price-xl .price-krw { font-size: 17px; }

/* ---------- product tile ---------- */
.tile { display: grid; grid-template-rows: 1fr auto auto auto; min-width: 0; }
.tile-media { position: relative; display: block; overflow: hidden; background: var(--celadon); aspect-ratio: 4 / 5; margin-bottom: 14px; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .45s; }
.tile-alt { position: absolute; inset: 0; opacity: 0; }
.tile:hover .tile-media img { transform: scale(1.035); }
.tile:hover .tile-alt { opacity: 1; }
.tile-name { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.tile-name { background: linear-gradient(var(--black), var(--black)) left bottom / 0 1.5px no-repeat; transition: background-size .4s var(--ease); justify-self: start; max-width: 100%; }
.tile:hover .tile-name { background-size: 100% 1.5px; }
.tile-meta { font-size: 13.5px; color: var(--grey); margin-top: 2px; }
.is-out .tile-media img { opacity: .45; }
.flag { position: absolute; left: 0; top: 0; background: var(--black); color: #fff; font-size: 13px; font-weight: 500; padding: 6px 12px; }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 48px; color: var(--celadon-deep); background: var(--celadon); }
.js [data-reveal] { clip-path: inset(0 0 100% 0); }
.js [data-reveal].in { clip-path: inset(0); transition: clip-path 1s var(--ease); }

/* asymmetric mosaic: one wide plate, then a run of portraits, mirrored every other block */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) var(--gap); }
.mosaic > .tile { grid-column: span 4; }
.mosaic > .tile:nth-child(10n + 1), .mosaic > .tile:nth-child(10n + 7) { grid-column: span 8; }
.mosaic > .tile:nth-child(10n + 1) .tile-media, .mosaic > .tile:nth-child(10n + 7) .tile-media { aspect-ratio: auto; height: 100%; min-height: 0; }
.mosaic > .tile:nth-child(10n + 1) .tile-media img, .mosaic > .tile:nth-child(10n + 7) .tile-media img { position: absolute; inset: 0; }
.mosaic > .tile:nth-child(10n + 1) .tile-name, .mosaic > .tile:nth-child(10n + 7) .tile-name { font-family: var(--display); font-size: clamp(17px, 1.9vw, 26px); letter-spacing: -.03em; }
.row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 23vw, 340px); gap: var(--gap); overflow-x: auto; padding: 4px var(--pad) 16px; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > .tile { scroll-snap-align: start; }

/* ---------- home: hero and route ---------- */
.hero { padding-top: clamp(28px, 4.6vw, 72px); }
.hero-title { font-size: clamp(36px, 7.4vw, 124px); font-weight: 600; letter-spacing: -.045em; line-height: .96; position: relative; z-index: 2; max-width: 11em; hyphens: auto; }
.hero-stage { position: relative; margin-top: clamp(4px, 1vw, 20px); }
.route { width: 100%; height: auto; overflow: visible; }
.route-m { display: none; }
.route-air { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 1; animation: draw 2s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.route-sea { fill: none; stroke: var(--black); stroke-width: 2.2; stroke-dasharray: .1 9; stroke-linecap: round; }
.route-city { fill: var(--white); stroke: var(--black); stroke-width: 2.5; }
.route-from { fill: var(--black); }
.route-name { font: 500 22px var(--display); letter-spacing: -.03em; }
.route-lane { font: 400 15px var(--text); fill: var(--grey); }
.route-m .route-name { font-size: 15px; } .route-m .route-lane { font-size: 11.5px; }
.parcel { fill: var(--blue); opacity: 0; }
@supports (offset-path: path("M0 0")) {
  .parcel { offset-rotate: 0deg; }
  .route-d .parcel-air { offset-path: path("M120 70 C420 20 760 130 860 400"); animation: travel 7s var(--ease) 1.2s infinite; }
  .route-d .parcel-sea { offset-path: path("M120 70 C250 170 380 190 470 270 S700 430 860 400"); animation: travel 19s linear 1.2s infinite; fill: var(--black); }
  .route-m .parcel-air { offset-path: path("M40 50 C150 10 300 90 345 250"); animation: travel 7s var(--ease) 1.2s infinite; }
  .route-m .parcel-sea { offset-path: path("M40 50 C90 110 150 120 190 170 S290 270 345 250"); animation: travel 19s linear 1.2s infinite; fill: var(--black); }
}
@keyframes travel { 0% { offset-distance: 100%; opacity: 0; } 6% { opacity: 1; } 86% { offset-distance: 0%; opacity: 1; } 94%, 100% { offset-distance: 0%; opacity: 0; } }
.hero-copy { position: absolute; left: 0; bottom: 7%; max-width: 32ch; }
.hero-copy p { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.45; margin-bottom: 22px; }
.hero-pick { position: absolute; right: 0; top: 2%; width: 19%; display: block; }
.hero-pick-media { display: block; aspect-ratio: 4 / 5; background: var(--celadon); overflow: hidden; }
.hero-pick-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hero-pick:hover img { transform: scale(1.04); }
.hero-pick-cap { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; font-weight: 500; }

/* ---------- home: shipping calculator ---------- */
.calc { background: var(--celadon); margin-top: clamp(48px, 7vw, 110px); padding-block: clamp(48px, 7vw, 110px); }
.calc-in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 120px); align-items: end; }
.calc-weight { display: block; font: 600 clamp(60px, 10vw, 156px)/.95 var(--display); letter-spacing: -.05em; margin: 18px 0 22px; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: linear-gradient(var(--black), var(--black)) center / 100% 2px no-repeat; cursor: grab; }
.range:active { cursor: grabbing; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); border: 0; transition: transform .2s var(--ease); }
.range::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); border: 0; }
.range:active::-webkit-slider-thumb { transform: scale(1.25); }
.lane { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-top: 1.5px solid var(--black); }
.lane:last-child { border-bottom: 1.5px solid var(--black); }
.lane-icon .icon { width: 28px; height: 28px; }
.lane-name { font-weight: 600; font-size: 18px; display: flex; flex-direction: column; }
.lane-fee { text-align: right; display: flex; flex-direction: column; }
.lane-mnt { font: 500 clamp(22px, 2.6vw, 36px)/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lane-krw { font-size: 14px; color: var(--grey); }
.lanes-plain { margin-bottom: 24px; }

/* ---------- home: sections ---------- */
.sec { margin-top: clamp(72px, 10vw, 168px); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 2.6vw, 36px); }
.sec-head h2 { font-size: clamp(22px, 2.8vw, 40px); }
.more { font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; white-space: nowrap; }
.more:hover { color: var(--blue); }
.idx-row { position: relative; display: flex; align-items: baseline; gap: 20px; padding: clamp(14px, 1.9vw, 26px) 0; border-top: 1.5px solid var(--black); }
.idx-row:last-child { border-bottom: 1.5px solid var(--black); }
.idx-name { font: 500 clamp(24px, 4.8vw, 72px)/1.05 var(--display); letter-spacing: -.04em; transition: transform .5s var(--ease), color .3s; overflow-wrap: anywhere; }
.idx-n { margin-left: auto; color: var(--grey); font-size: 15px; }
.idx-img { position: absolute; right: 10%; top: 50%; width: clamp(120px, 13vw, 200px); aspect-ratio: 4 / 5; overflow: hidden; z-index: 3; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-6deg) scale(.86); transition: opacity .3s, transform .5s var(--ease); }
.idx-img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .idx-row:hover .idx-name { transform: translateX(18px); color: var(--blue); }
  .idx-row:hover .idx-img { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
}
.duo { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.rank { counter-reset: rank; }
.rank li { counter-increment: rank; border-top: 1px solid var(--rule); }
.rank li:first-child { border-top: 1.5px solid var(--black); }
.rank a { display: grid; grid-template-columns: 40px 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; transition: padding .35s var(--ease); }
.rank a::before { content: counter(rank); font: 500 20px var(--display); }
.rank a:hover { padding-left: 10px; }
.rank a:hover .rank-name { color: var(--blue); }
.rank-img { width: 64px; aspect-ratio: 4 / 5; background: var(--celadon); overflow: hidden; }
.rank-img img { width: 100%; height: 100%; object-fit: cover; }
.rank-name { font-weight: 500; display: flex; flex-direction: column; min-width: 0; transition: color .2s; }
.rank .price { flex-direction: column; align-items: flex-end; gap: 0; }
.how h2 { font-size: clamp(22px, 2.8vw, 40px); margin-bottom: clamp(20px, 2.6vw, 36px); }
.how-steps { counter-reset: step; margin-bottom: 28px; }
.how-steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-top: 1px solid var(--rule); }
.how-steps li:first-child { border-top: 1.5px solid var(--black); }
.how-steps li::before { content: counter(step); font: 500 20px var(--display); color: var(--blue); grid-row: span 2; }
.how-steps p { color: var(--grey); font-size: 15px; grid-column: 2; }
.note { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; margin-top: 12px; transition: transform .35s var(--ease); }
.note:hover { transform: translateX(8px); }
.note strong { font: 500 19px/1.2 var(--display); letter-spacing: -.03em; }
.note span { font-size: 15px; opacity: .85; }
.tone-ink { background: var(--black); color: #fff; } .tone-blue, .tone-accent { background: var(--blue); color: #fff; } .tone-celadon, .tone-soft { background: var(--celadon); }

/* ---------- listing ---------- */
.page-head { padding: clamp(36px, 6vw, 96px) 0 clamp(24px, 3.4vw, 48px); }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-count { color: var(--grey); margin-top: 12px; }
.filters { display: flex; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; border-top: 1.5px solid var(--black); padding: 8px 0; margin-bottom: clamp(28px, 4vw, 56px); }
.tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 8px 0; white-space: nowrap; color: var(--grey); font-size: 15px; transition: color .2s; }
.tabs a:hover { color: var(--black); }
.tabs a[aria-current] { color: var(--black); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); }
.pager { display: flex; gap: 22px; justify-content: center; margin-top: clamp(48px, 7vw, 96px); font: 500 18px var(--display); }
.pager a { padding: 6px 2px; color: var(--grey); } .pager a[aria-current] { color: var(--black); box-shadow: inset 0 -2px 0 var(--blue); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 14px; color: var(--grey); padding: 22px 0; }
.crumbs > * + *::before { content: "/"; margin-right: 8px; color: var(--rule); }
.crumbs a:hover { color: var(--black); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 6vw, 110px); align-items: start; }
.gallery { display: grid; gap: var(--gap); }
.gallery-many { grid-template-columns: 1fr 1fr; } .gallery-many figure:first-child, .gallery-many figure:last-child:nth-child(even) { grid-column: 1 / -1; }
.gallery figure { background: var(--celadon); aspect-ratio: 4 / 5; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: 104px; }
.pdp-info h1 { font-size: clamp(26px, 3.1vw, 46px); }
.conv { font-size: 14.5px; color: var(--grey); margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 0 10px; }
.conv .money { color: var(--black); }
.opt { margin-bottom: 22px; }
.opt legend { font-size: 13.5px; color: var(--grey); margin-bottom: 10px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 44px; padding: 0 18px; border: 1.5px solid var(--black); border-radius: 99px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.opt-chip span:hover { background: var(--celadon); }
.opt-chip input:checked + span { background: var(--black); color: #fff; }
.opt-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.opt-chip span:active { transform: scale(.95); }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 36px; }
.qty { display: inline-flex; align-items: center; height: 48px; border: 1.5px solid var(--black); border-radius: 99px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 99px; transition: background .2s; }
.qty button:hover { background: var(--celadon); }
.qty .icon { width: 16px; height: 16px; }
.qty input { width: 40px; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; outline: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; } .qty-sm button { width: 36px; }
.spec > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--rule); }
.spec > div:first-child { border-top: 1.5px solid var(--black); }
.spec dt { color: var(--grey); display: flex; flex-direction: column; } .spec dd { font-weight: 600; text-align: right; }
.desc { margin-top: 40px; } .desc h2 { font-size: 18px; margin-bottom: 12px; } .desc p { white-space: pre-line; max-width: 58ch; }

/* ---------- cart, checkout, summary ---------- */
.cart, .checkout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 31vw, 440px); gap: clamp(32px, 6vw, 110px); align-items: start; }
.line { display: grid; grid-template-columns: clamp(88px, 11vw, 150px) 1fr auto; gap: clamp(14px, 2vw, 28px); padding: 24px 0; border-top: 1px solid var(--rule); }
.line:first-child { border-top: 1.5px solid var(--black); }
.line-issue { box-shadow: inset 3px 0 0 var(--signal); padding-left: 16px; }
.line-img { aspect-ratio: 4 / 5; background: var(--celadon); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 15px; }
.line-name { font-size: 18px; font-weight: 600; }
.line-name:hover { color: var(--blue); }
.line-ctl { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 14px; }
.line-total { text-align: right; display: flex; flex-direction: column; }
.line-total b { font: 500 19px var(--display); letter-spacing: -.03em; }
.summary { background: var(--mist); padding: clamp(22px, 2.4vw, 34px); position: sticky; top: 104px; }
.summary > h2 { font-size: 20px; margin-bottom: 18px; }
.ship-mini { margin-bottom: 8px; } .ship-mini legend { font-size: 13.5px; color: var(--grey); margin-bottom: 8px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, .14); font-size: 15px; }
.sum-row > span:first-child { color: var(--grey); display: flex; flex-direction: column; }
.amt { text-align: right; font-weight: 600; display: flex; flex-direction: column; white-space: nowrap; }
.sum-total { border-top: 1.5px solid var(--black); padding-top: 16px; margin-bottom: 18px; align-items: baseline; }
.sum-total > span:first-child { color: var(--black); font-weight: 600; }
.sum-total .amt > .money { font: 600 clamp(24px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -.04em; }
.summary .notice { margin: 8px 0; font-size: 14px; }
.summary .btn + .link-btn, .summary .btn + .fine { margin-top: 14px; }
.mini-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; font-size: 14.5px; }
.mini-items img, .mini-items .noimg { width: 52px; height: 65px; object-fit: cover; min-height: 0; background: var(--celadon); }
.mini-items li > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.mini-lg li { grid-template-columns: 72px 1fr auto; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 15.5px; }
.mini-lg img, .mini-lg .noimg { width: 72px; height: 90px; }
.checkout-main { counter-reset: step; }
.step { counter-increment: step; margin-bottom: clamp(36px, 5vw, 64px); }
.step > h2 { display: flex; gap: 14px; align-items: baseline; padding-top: 16px; border-top: 1.5px solid var(--black); margin-bottom: 26px; }
.step > h2::before { content: counter(step); color: var(--blue); }

/* shipping lane selector: the chosen lane fills with blue */
.lane-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lane-opt { position: relative; cursor: pointer; display: block; }
.lane-opt input { position: absolute; opacity: 0; }
.lane-opt-in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1.5px solid var(--black); background: var(--white); transition: background .3s var(--ease), color .3s, border-color .3s; }
.lane-opt:hover .lane-opt-in { background: var(--celadon); }
.lane-opt input:checked + .lane-opt-in { background: var(--blue); border-color: var(--blue); color: #fff; }
.lane-opt input:checked + .lane-opt-in small, .lane-opt input:checked + .lane-opt-in .lane-opt-desc { color: rgba(255, 255, 255, .78); }
.lane-opt input:focus-visible + .lane-opt-in { outline: 2px solid var(--blue); outline-offset: 3px; }
.lane-opt-top { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lane-opt-eta { font-size: 15px; }
.lane-opt-eta b { font: 600 clamp(34px, 4vw, 54px)/1 var(--display); letter-spacing: -.05em; margin-right: 4px; }
.lane-opt-desc { font-size: 14px; color: var(--grey); }
.lane-opt-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 14px; font-size: 14px; }
.lane-opt-fee { font-weight: 600; font-size: 16px; text-align: right; }
.lane-pick-sm .lane-opt-in { padding: 14px; gap: 2px; }
.lane-pick-sm .lane-opt-eta b { font-size: 24px; } .lane-pick-sm .lane-opt-desc, .lane-pick-sm .lane-opt-foot > span:first-child { display: none; }
.lane-pick-sm .lane-opt-top { font-size: 14px; } .lane-pick-sm .lane-opt-top .icon { width: 18px; height: 18px; }
.lane-pick-sm .lane-opt-foot { padding-top: 8px; } .lane-pick-sm .lane-opt-fee small { display: none; }

/* ---------- order ---------- */
.order-top { padding-bottom: 20px; }
.order-kicker { font-size: 17px; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.order-id { font-size: clamp(26px, 5.6vw, 84px); letter-spacing: -.02em; overflow-wrap: anywhere; margin-bottom: 12px; }
.order-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; border-top: 1.5px solid var(--black); border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.order-facts dt { font-size: 13.5px; color: var(--grey); margin-bottom: 4px; } .order-facts dd { font-weight: 600; }
.order-total { font: 600 22px var(--display); letter-spacing: -.03em; }
.pay { background: var(--blue); color: #fff; padding: clamp(22px, 3vw, 40px); margin-bottom: 36px; }
.pay h2 { margin-bottom: 16px; } .pay .fine { color: rgba(255, 255, 255, .8); }
.pay .kv div { border-color: rgba(255, 255, 255, .28); } .pay .kv dt { color: rgba(255, 255, 255, .78); }
.kv div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 15.5px; }
.kv dt { color: var(--grey); } .kv dd { font-weight: 600; overflow-wrap: anywhere; }
.track { display: grid; grid-template-columns: repeat(8, 1fr); margin-bottom: clamp(40px, 6vw, 80px); }
.track li { position: relative; padding: 26px 12px 0 0; color: var(--grey); font-size: 14px; }
.track li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--rule); }
.track li:last-child::before { display: none; }
.dot { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--rule); background: var(--white); }
.track-txt { display: flex; flex-direction: column; } .track b { font-weight: 600; line-height: 1.3; }
.track .done, .track .now { color: var(--black); }
.track .done::before { background: var(--black); } .track .done .dot { background: var(--black); border-color: var(--black); }
.track .now .dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(24, 70, 245, .18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(24, 70, 245, 0); } }
.order-grid, .prose-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.order-grid section, .prose-grid section { margin-bottom: 44px; }
.order-grid section > h2, .prose-grid section > h2 { font-size: 20px; padding-top: 16px; border-top: 1.5px solid var(--black); margin-bottom: 14px; }
.prose-grid p { max-width: 60ch; margin-bottom: 14px; } .prose-grid section:first-child { grid-row: span 2; }
.prose-grid .how-steps li { grid-template-columns: 40px 1fr; } .prose-grid .how-steps h3 { font-weight: 500; }

/* ---------- footer ---------- */
.foot { background: var(--blue); color: #fff; padding-top: clamp(48px, 6vw, 96px); overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 32px clamp(24px, 5vw, 80px); font-size: 15px; }
.foot-lead { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; max-width: 30ch; }
.foot-cols a, .foot-cols span { display: block; padding: 4px 0; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-mark { font: 600 clamp(52px, 15.5vw, 290px)/.8 var(--display); letter-spacing: -.05em; white-space: nowrap; margin: clamp(40px, 6vw, 90px) 0 0 -.04em; }
.foot-base { font-size: 13px; padding: 18px 0 22px; opacity: .8; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .primary, .utils > .find, .util-acct { display: none; }
  .burger { display: block; }
  .pdp-info, .summary { position: static; }
}
@media (max-width: 999px) {
  .mosaic > .tile { grid-column: span 6; }
  .mosaic > .tile:nth-child(10n + 1), .mosaic > .tile:nth-child(10n + 7) { grid-column: span 12; }
  .mosaic > .tile:nth-child(10n + 1) .tile-media, .mosaic > .tile:nth-child(10n + 7) .tile-media { aspect-ratio: 16 / 10; height: auto; }
  .row4 { grid-template-columns: 1fr 1fr; gap: 36px var(--gap); }
  .calc-in, .duo, .cart, .checkout, .order-grid, .prose-grid, .pdp { grid-template-columns: minmax(0, 1fr); }
  .calc-in { align-items: stretch; }
  .track { grid-template-columns: 1fr; }
  .track li { padding: 0 0 22px 34px; }
  .track li::before { left: 7px; right: auto; top: 16px; bottom: 0; width: 2px; height: auto; }
  .order-facts { grid-template-columns: 1fr 1fr; }
  .gallery, .gallery-many { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); gap: 10px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 86%; scroll-snap-align: center; } .gallery figure:only-child { flex-basis: 100%; }
}
@media (max-width: 799px) {
  .route-d { display: none; } .route-m { display: block; }
  .hero-stage { margin-top: 8px; display: grid; }
  .hero-copy { position: static; max-width: none; order: 3; margin-top: 28px; }
  .hero-pick { position: static; width: 64%; margin: 20px 0 0 auto; order: 2; }
  .fields { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .line { grid-template-columns: 88px 1fr; } .line-total { grid-column: 2; text-align: left; flex-direction: row; gap: 10px; align-items: baseline; }
  .rank a { grid-template-columns: 28px 52px 1fr; } .rank-img { width: 52px; } .rank .price { grid-column: 3; align-items: flex-start; flex-direction: row; gap: 8px; }
  .strip .rate-when { display: none; }
}
@media (max-width: 479px) {
  .lane-pick:not(.lane-pick-sm) { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 1fr auto; } .lane-icon { display: none; }
  .tile-name { font-size: 15px; } .price-mnt { font-size: 14px; }
  .btn { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { clip-path: none; }
  .route-air { stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
}
