/* Shop layer: category pages, product pages, booking page. Uses the existing design tokens. */
.shop-strip { background: var(--mint); border-bottom: 1px solid var(--line); }
.shop-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; flex-wrap: wrap; font-size: .95rem; }
.shop-strip span { display: inline-flex; align-items: center; gap: .5rem; color: var(--teal-900); }
.shop-strip .icon { color: var(--teal-600); }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: var(--s-5); }
.list-head h2 { margin: 0; }
.list-head .count { color: var(--muted); font-weight: 600; }
.c-grid { grid-template-columns: repeat(4, 1fr); }
.c-card .thumb { margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-3); border-radius: var(--r) var(--r) 0 0; overflow: hidden; aspect-ratio: 3/2; }
.c-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.c-card:hover .thumb img { transform: scale(1.05); }
.c-card p { margin: 0; }

/* product cards */
.p-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.p-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--mint); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-body { padding: var(--s-5); display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.p-cat { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal-600); }
.p-body h3 { font-size: 1.2rem; margin: 0; }
.p-body h3 a { color: var(--ink); text-decoration: none; }
.p-body h3 a:hover { color: var(--teal-800); }
.p-body p { color: var(--muted); font-size: .96rem; margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.p-price { font-weight: 700; color: var(--teal-900); font-size: .95rem; }

/* journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); counter-reset: j; }
.journey li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-4); display: flex; flex-direction: column; gap: .15rem; }
.journey .n { width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--teal-900); display: grid; place-items: center; font-weight: 700; margin-bottom: .4rem; }
.journey li.on { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.journey li.on .n { background: var(--teal); color: #fff; }
.journey b { font-size: .98rem; }
.journey small { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.pdp-side .journey, .book-side .journey { grid-template-columns: 1fr; gap: .5rem; }
.pdp-side .journey li, .book-side .journey li { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .1rem .6rem; padding: .6rem .8rem; }
.pdp-side .journey .n, .book-side .journey .n { margin: 0; width: 28px; height: 28px; font-size: .85rem; }
.pdp-side .journey small, .book-side .journey small { flex-basis: 100%; padding-left: 38px; margin-top: -.2rem; }
.book-side .journey { margin-top: var(--s-5); }

/* product detail page */
.pdp-crumb { background: var(--cream); border-bottom: 1px solid var(--line); padding-block: .85rem; }
.pdp-crumb .breadcrumb { margin: 0; }
.pdp-crumb .breadcrumb ol { color: var(--muted); }
.pdp-crumb .breadcrumb a { color: var(--teal-800); opacity: 1; }
.pdp-crumb .breadcrumb [aria-current] { color: var(--ink); }
.pdp { padding-block: var(--s-7); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s-7); align-items: start; }
.g-stage { position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: var(--mint); border: 1px solid var(--line); }
.g-slide { margin: 0; position: absolute; inset: 0; }
.g-slide[hidden] { display: none; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs { display: flex; gap: .7rem; margin-top: .8rem; }
.g-thumb { flex: 1; max-width: 130px; padding: 0; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; overflow: hidden; transition: border-color .2s; }
.g-thumb span { display: block; aspect-ratio: 4/3; overflow: hidden; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb:hover { border-color: var(--teal-600); }
.g-thumb[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 2px var(--mint); }
.g-note { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: .2rem 0 var(--s-3); }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; margin-bottom: var(--s-4); }
.pdp-price b { font-size: 1.5rem; color: var(--teal-900); font-family: var(--font-display); }
.pdp-price small { color: var(--muted); }
.pdp-short { font-size: 1.08rem; color: var(--ink-soft); }
.opt { border-top: 1px solid var(--line); padding-block: var(--s-4); }
.opt b { display: block; margin-bottom: .3rem; }
.opt p { margin: 0; color: var(--muted); font-size: .96rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: var(--s-4) 0; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.pdp-assure { list-style: none; margin: var(--s-4) 0 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: .7rem; font-size: .93rem; color: var(--ink-soft); }
.pdp-assure li { display: flex; gap: .7rem; align-items: flex-start; }
.pdp-assure .icon { color: var(--teal-600); margin-top: .15rem; }
.pdp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-7); align-items: start; }
.pdp-sec { margin-bottom: var(--s-6); }
.pdp-sec h3 { font-size: 1.15rem; margin-top: var(--s-4); }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: .55rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--mint); }
.steps { padding-left: 1.3rem; display: grid; gap: .5rem; }
.specs { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
.specs th { width: 38%; color: var(--muted); font-weight: 600; background: var(--cream); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.pdp-side { display: grid; gap: var(--s-4); position: sticky; top: calc(var(--header-h) + 16px); }
.pdp-sticky { display: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--teal-600); text-decoration: underline; cursor: pointer; }

/* booking page */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-7); align-items: start; }
.book-form fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5); margin: 0 0 var(--s-5); background: #fff; min-width: 0; }
.book-form legend { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; padding-inline: .5rem; }
.book-form legend em, .fld span em { font-family: var(--font-body); font-weight: 400; font-style: normal; color: var(--muted); font-size: .88rem; }
.fld { display: block; margin-bottom: var(--s-4); }
.fld:last-child { margin-bottom: 0; }
.fld > span { display: block; font-weight: 600; font-size: .94rem; margin-bottom: .35rem; }
.fld i, .check i { color: #B3261E; font-style: normal; }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid #CFCBC0; border-radius: var(--r-sm); background: #fff; color: var(--ink); min-height: 48px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--mint); border-color: var(--teal); }
.fld select:disabled { background: var(--cream); color: var(--muted); }
.fld .invalid, .fld input.invalid { border-color: #B3261E; }
.err { color: #B3261E; font-size: .85rem; display: block; margin-top: .3rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.row2 .fld { margin-bottom: var(--s-4); }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.radio { position: relative; display: block; cursor: pointer; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: block; padding: 1rem 1.1rem; border: 1.5px solid #CFCBC0; border-radius: var(--r-sm); font-weight: 600; transition: all .2s; }
.radio input:checked + span { border-color: var(--teal); background: var(--mint); color: var(--teal-900); }
.radio input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--teal-600); flex: none; }
.hint { color: var(--muted); font-size: .88rem; margin: .6rem 0 0; }
.book-form > .btn { width: 100%; white-space: normal; }
.book-side { display: grid; gap: 0; position: sticky; top: calc(var(--header-h) + 16px); }
.sum-item { display: grid; gap: var(--s-3); }
.sum-item[hidden] { display: none; }
.sum-img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16/9; }
.sum-img img, .sum-ph { width: 100%; height: 100%; object-fit: cover; }
.sum-ph { display: grid; place-items: center; background: var(--mint); color: var(--teal-800); aspect-ratio: 16/9; border-radius: var(--r-sm); }
.sum-ph .icon { width: 44px; height: 44px; }
.sum-item h3 { margin: .1rem 0 .3rem; font-size: 1.2rem; }
.sum-item p { margin: 0 0 .4rem; color: var(--muted); font-size: .95rem; }
.sum-price { color: var(--teal-900) !important; font-weight: 700; }
.book-done { background: var(--mint); border: 1px solid var(--teal); border-radius: var(--r-lg); padding: var(--s-6); }
.done-msg { white-space: pre-wrap; word-break: break-word; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem; font: inherit; font-size: .93rem; }
.book-done[hidden], .book-form[hidden] { display: none; }

/* shop layer */
@media (max-width: 1100px) { .c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .pdp-grid, .pdp-cols, .book-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .pdp-side, .book-side { position: static; }
  .book-side { order: -1; }
  .pdp { padding-block: var(--s-5); }
}
@media (max-width: 700px) {
  .pdp-sticky { display: flex; position: fixed; z-index: 94; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem 1rem; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -10px rgba(0,0,0,.25); }
  .pdp-sticky div { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .pdp-sticky b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
  .pdp-sticky small { color: var(--muted); }
  body.page-product { padding-bottom: 64px; }
  .pdp-actions .btn { flex: 1 1 100%; }
  .row2, .radios { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-form fieldset { padding: var(--s-4); }
}
@media (max-width: 520px) { .c-grid, .p-grid, .journey { grid-template-columns: minmax(0, 1fr); } .pdp-actions .btn, .p-foot .btn { white-space: normal; } .g-thumb { max-width: none; } }
