/* =========================================================================
   CHOSENRAY — components · Premium Daylight
   ========================================================================= */

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.brand .dot {
  color: var(--accent);
}
.brand img {
  height: 60px;
  width: auto;
  display: block;
}
.footer-brand img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-links {
  display: none;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  padding: 9px 9px 9px 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.cart-btn:hover {
  box-shadow: var(--sh-sm);
}
.cart-btn .bag-ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
}
/* on mobile the account link lives in the bottom nav — keep the top bar compact */
@media (max-width: 560px) {
  .header-actions .icon-btn {
    display: none;
  }
  .brand {
    font-size: 1.25rem;
  }
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

/* ---------- Bottom nav (mobile) ----------------------------------------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.bottom-nav .pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  padding: 7px;
  box-shadow: var(--sh-lg);
}
.bottom-nav a,
.bottom-nav button {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 44px;
  border: none;
  border-radius: var(--pill);
  background: transparent;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.bottom-nav a.active {
  color: var(--ink);
  background: var(--bg-3);
}
.bottom-nav .accent {
  color: #fff;
  background: var(--accent);
}
.cart-count {
  position: absolute;
  top: 1px;
  right: 7px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
}
.cart-btn .cart-count {
  top: -3px;
  right: -3px;
}
@media (min-width: 900px) {
  .bottom-nav {
    display: none;
  }
}
.page {
  padding-bottom: 104px;
}
@media (min-width: 900px) {
  .page {
    padding-bottom: 0;
  }
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  padding-top: clamp(24px, 5vw, 56px);
  padding-bottom: clamp(36px, 6vw, 64px);
}
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-copy .pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: var(--pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.hero-copy .pill-badge .chip-stars {
  display: inline-flex;
  color: var(--star);
  gap: 1px;
}
.hero h1 {
  max-width: 15ch;
}
.hero-sub {
  max-width: 42ch;
  margin-top: 20px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-trust .t {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ink-2);
  font-weight: 500;
}
.hero-trust .t svg {
  color: var(--accent);
}
.hero-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  box-shadow: var(--sh-lg);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media .float-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-md);
}
.hero-media .float-card .fc-t {
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-media .float-card .fc-m {
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-media .float-card .fc-price {
  font-weight: 600;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 56px;
  }
  .hero-media {
    aspect-ratio: 5 / 6;
  }
}

/* ---------- Category chips (Airbnb-style bar) --------------------------- */
.cat-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}
.cat-bar::-webkit-scrollbar {
  display: none;
}
.cat {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: var(--card);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.2s;
}
.cat:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- Trust strip -------------------------------------------------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 760px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-cell {
  background: var(--bg);
  padding: 22px 20px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.trust-cell svg {
  color: var(--accent);
  flex: none;
  margin-top: 1px;
}
.trust-cell h4 {
  font-size: 0.96rem;
  font-weight: 600;
  margin: 0 0 3px;
}
.trust-cell p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Section head ------------------------------------------------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.section-head h2 {
  max-width: 18ch;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- Product card (Airbnb-style: borderless, photo-first) -------- */
.wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 14px;
}
@media (min-width: 680px) {
  .wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 22px;
  }
}
@media (min-width: 1040px) {
  .wall {
    grid-template-columns: repeat(4, 1fr);
    gap: 34px 24px;
  }
}

.plate {
  position: relative;
  display: block;
}
.plate .frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-3);
}
.plate .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.plate:hover .frame img {
  transform: scale(1.045);
}
.plate .fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform 0.2s, background 0.2s;
}
.plate .fav:hover {
  transform: scale(1.1);
  background: #fff;
}
.plate .tag {
  position: absolute;
  top: 10px;
  left: 10px;
}
.placard {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-top: 12px;
}
.placard .t {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.placard .m {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 4px;
}
.placard .m .star {
  color: var(--star);
  display: inline-flex;
}
.placard .price {
  font-weight: 600;
  font-size: 0.96rem;
  white-space: nowrap;
  text-align: right;
}
.placard .price small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- Category tiles ---------------------------------------------- */
.rooms {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 0 20px 8px;
  scrollbar-width: none;
}
.rooms::-webkit-scrollbar {
  display: none;
}
.room {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-3);
}
.room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.room:hover img {
  transform: scale(1.05);
}
.room .cap {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.6), transparent 60%);
}
.room .cap h3 {
  color: #fff;
}
.room .cap .ct {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3px;
  font-weight: 500;
}
@media (min-width: 900px) {
  .rooms {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
  }
}

/* ---------- How it works (media + copy) --------------------------------- */
.manifesto {
  display: grid;
  gap: 36px;
  align-items: center;
}
.m-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-3);
}
.m-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.manifesto .m-media {
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-md);
}
.feature {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.feature .fn {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--pill);
  background: var(--accent-tint);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.feature h4 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
@media (min-width: 900px) {
  .manifesto {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
}

/* ---------- Testimonials ------------------------------------------------- */
.quotes {
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
.quote .stars {
  color: var(--star);
  display: inline-flex;
  gap: 2px;
  margin-bottom: 14px;
}
.quote p {
  font-size: 1.04rem;
  line-height: 1.5;
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 450;
}
.quote .who {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- CTA slab ----------------------------------------------------- */
.slab {
  text-align: center;
  padding: clamp(48px, 9vw, 96px) 24px;
  border-radius: var(--r-xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.slab h2 {
  max-width: 18ch;
  margin-inline: auto;
}

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
.site-footer a {
  color: var(--ink-2);
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--accent);
}
.footer-top {
  display: grid;
  gap: 40px;
  padding: clamp(48px, 7vw, 80px) 0 40px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.footer-brand .dot {
  color: var(--accent);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.footer-cols h5 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 0.92rem;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.3fr 2fr;
  }
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Cart drawer -------------------------------------------------- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(28, 27, 25, 0.4);
  backdrop-filter: blur(2px);
  animation: fade 0.25s ease both;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.drawer {
  position: fixed;
  z-index: 91;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(430px, 100%);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-lg);
  animation: slideIn 0.4s var(--ease) both;
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
}
.drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer header h3 {
  font-size: 1.15rem;
}
.drawer .items {
  flex: 1;
  overflow-y: auto;
  padding: 6px 20px;
}
.cart-line {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line .thumb {
  width: 62px;
  height: 78px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-3);
}
.cart-line .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-line .nm {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}
.cart-line .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 3px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  margin-top: 11px;
}
.qty button {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  border-radius: var(--pill);
}
.qty button:hover {
  color: var(--accent);
}
.qty span {
  min-width: 22px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.lineprice {
  font-weight: 600;
  font-size: 0.9rem;
}
.rm {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 9px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rm:hover {
  color: var(--accent);
}
.drawer .foot {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.drawer .foot .line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.drawer .foot .total {
  font-weight: 700;
  font-size: 1.3rem;
}
.ship-note {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 10px 0 2px;
}
.ship-note.ok {
  color: var(--accent);
  font-weight: 600;
}
.empty-cart {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

/* ---------- Product detail ---------------------------------------------- */
.pdp {
  display: grid;
  gap: 26px;
}
.pdp-gallery {
  display: grid;
  gap: 10px;
}
.pdp-main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--bg-3);
}
.pdp-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pdp-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-3);
  transition: border-color 0.2s;
}
.pdp-thumbs button.active {
  border-color: var(--ink);
}
.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-title {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-top: 12px;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}
.rating .s {
  color: var(--star);
  display: inline-flex;
  gap: 2px;
}
.rating .r {
  font-size: 0.88rem;
  color: var(--ink-2);
  font-weight: 500;
}
.size-opts {
  display: grid;
  gap: 10px;
}
.size-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--card);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
  color: var(--ink);
}
.size-opt:hover {
  border-color: var(--ink-2);
}
.size-opt.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.size-opt .sl {
  font-weight: 600;
  font-size: 1rem;
}
.size-opt .sd {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 3px;
}
.size-opt .sp {
  font-weight: 600;
}
.spec {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.spec .si {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--pill);
  background: var(--accent-tint);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.spec h4 {
  margin: 0 0 3px;
  font-size: 1rem;
  font-weight: 600;
}
.spec p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.acc summary {
  padding: 18px 0;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 0.94rem;
}
@media (min-width: 900px) {
  .pdp {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
  }
  .pdp-info {
    position: sticky;
    top: 94px;
  }
}

/* ---------- Page head / filters ----------------------------------------- */
.page-head {
  padding: clamp(32px, 6vw, 64px) 0 clamp(22px, 3vw, 34px);
}
.filter-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 26px;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: var(--card);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.2s;
}
.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.count-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ---------- Steps -------------------------------------------------------- */
.steps {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.step .num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--pill);
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 600;
}
.step h4 {
  margin: 16px 0 7px;
  font-size: 1.15rem;
  font-weight: 600;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Forms (checkout) -------------------------------------------- */
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 15px;
}
.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.field select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder {
  color: var(--muted);
}
.field input:focus,
.field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--bg-3);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checkout-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr);
}
/* Let columns shrink below content width so a horizontal scroller inside
   (e.g. the review photo strip) can't blow the page out past the viewport. */
.checkout-grid > * { min-width: 0; }
.summary-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 56px;
    align-items: start;
  }
  .summary-box {
    position: sticky;
    top: 94px;
  }
}
.form-head {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 14px;
}

/* ---------- Sticky mobile buy bar --------------------------------------- */
.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .buybar {
    display: none;
  }
}

/* ---------- Legal / content pages --------------------------------------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal .updated { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal .lead { color: var(--ink-2); }
.contact-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.contact-card a { color: var(--accent); font-weight: 600; }
