/* v2 look: soft pastel with floating cards. Loaded after ../styles.css and overrides it. */
:root {
  --paper: #fbf5ff;
  --paper-2: #efe7f7;
  --card: #ffffff;
  --ink: #2b2440;
  --ink-2: #5a5370;
  --line: #ddd3ea;
  --garnet: #c2255c;
  --garnet-2: #9c1c49;
  --gold: #7a4fd0;
  --gold-ink: #6236b8;
  --teal: #1f7a52;
  --teal-bg: #e0f5ea;
  --sun: #ffd166;
  --serif: "Comfortaa", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 22px;
  --shadow: 0 8px 22px rgba(80, 60, 120, .12);
  --rings: #0f7078, #e2574c, #f2b530, #7a4fd0, #2f9e6b;
}

body { background: linear-gradient(160deg, #f3e9ff 0%, #ffeee4 55%, #e5f6f1 100%) fixed; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
h2.center { text-align: center; margin: 56px 0 24px; }
.eyebrow { letter-spacing: .1em; }
.brand b { font-style: normal; font-weight: 700; font-size: 1.35rem; }
.top { background: rgba(250, 243, 255, .9); border-bottom-color: rgba(120, 100, 160, .18); }

.btn { border-radius: 999px; }
.btn.ghost { background: rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.lang { background: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(80, 60, 120, .14); }
.mainnav a:hover { background: rgba(255, 255, 255, .8); }
.mainnav a[aria-current="page"] { background: var(--garnet); color: #fff; }
.chip { border-color: transparent; color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(80, 60, 120, .12); }
.chip[aria-current="page"] { background: var(--garnet); color: #fff; }
.badge { background: var(--sun); color: var(--ink); }
.panel, .summary, .update, .ticket, .msg { box-shadow: var(--shadow); }
input[type="text"], input[type="tel"], input[type="number"], textarea, select { border-color: #b9aed0; border-radius: 14px; }
.opt label { border-color: transparent; box-shadow: 0 2px 10px rgba(80, 60, 120, .12); }

/* home: search, category circles, photo banner */
.home-top { padding-top: 24px; }
.search { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 4px 14px rgba(80, 60, 120, .12); max-width: 640px; margin: 0 auto 22px; }
.search input { border: 0 !important; min-height: 48px; padding: 0; background: transparent; border-radius: 0; }
.search input:focus { outline: none; }
.search:focus-within { outline: 4px solid var(--focus); outline-offset: 2px; }
.search .btn { min-height: 48px; width: 48px; padding: 0; flex: none; }
.page .search { margin: 0 0 28px; }

/* one row on every screen; scrolls sideways when it doesn't fit, centred when it does */
.cats { display: flex; gap: 18px; flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 20px; padding: 4px 20px 10px; scrollbar-width: thin; scrollbar-color: #cdbfe3 transparent; scroll-snap-type: x proximity; scroll-padding: 0 20px; }
.cats a:first-child { margin-left: auto; }
.cats a:last-child { margin-right: auto; }
.cats a { flex: 0 0 92px; scroll-snap-align: start; width: 92px; text-align: center; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .82rem; line-height: 1.2; }
.cats img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; margin: 3px auto 8px; border: 3px solid #fff; background: #fff; box-shadow: 0 0 0 3px #0f7078; transition: transform .2s ease; }
.cats a:hover img { transform: scale(1.06); }
.cats a:nth-child(5n+2) img { box-shadow: 0 0 0 3px #e2574c; }
.cats a:nth-child(5n+3) img { box-shadow: 0 0 0 3px #f2b530; }
.cats a:nth-child(5n+4) img { box-shadow: 0 0 0 3px #7a4fd0; }
.cats a:nth-child(5n+5) img { box-shadow: 0 0 0 3px #2f9e6b; }

.banner { position: relative; border-radius: 28px; overflow: hidden; height: 440px; box-shadow: 0 10px 26px rgba(80, 60, 120, .2); }
.banner .pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 100%; background: #fff; }
.banner .pics img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 35%; }
.banner > div:not(.pics) { position: absolute; inset: auto 0 0 0; padding: 110px 28px 28px; background: linear-gradient(transparent, rgba(30, 22, 50, .92)); color: #fff; }
.banner .eyebrow { color: var(--sun); }
.banner h1 { max-width: 16em; }
.banner h1 em { font-style: normal; color: var(--sun); }
.banner p { max-width: 36em; margin: 0; font-size: 1.05rem; }
.cta { margin: 18px 0 8px; }
.cta .btn { flex: 1; }

.season { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 16px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .8); color: var(--ink); text-decoration: none; min-height: 64px; box-shadow: var(--shadow); }
.season .tag { background: var(--sun); color: var(--ink); font-weight: 700; padding: 4px 14px; border-radius: 999px; font-size: .9rem; }
.season .go { margin-left: auto; font-weight: 700; color: var(--garnet); }

/* product cards */
.works { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.work { margin: 0; background: rgba(255, 255, 255, .82); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); transition: transform .2s ease; }
.work:hover { transform: translateY(-4px); }
.work .mat { padding: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: none; }
.work:hover .mat { transform: none; }
.work img { aspect-ratio: 1; object-fit: cover; }
.work .meta { padding: 10px 6px 4px; }
.work h3 { font-size: 1rem; }
.price { color: var(--garnet); font-weight: 800; }
.head { margin-top: 48px; }

/* steps */
.steps { border: 0; gap: 16px; margin: 0 0 56px; }
.steps li { border: 0; background: rgba(255, 255, 255, .82); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps .num { font-style: normal; font-weight: 700; font-size: 1.3rem; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #0f7078; color: #fff; }
.steps li:nth-child(2) .num { background: #c2433a; }
.steps li:nth-child(3) .num { background: var(--sun); color: var(--ink); }
.steps li:nth-child(4) .num { background: #6236b8; }

/* bands */
.band { background: var(--ink); }
.band .eyebrow { color: var(--sun); }
.band .lede { color: #ece6f7; }
.band .btn { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.pair img { border: 0; border-radius: var(--radius); }
.pair figcaption { font-style: normal; color: #ece6f7; }
.diy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 56px 0 16px; padding: 32px; border-radius: 28px; background: rgba(255, 255, 255, .82); box-shadow: var(--shadow); }
.diy-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.diy-pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: #fff; }
.about blockquote { font-style: normal; font-weight: 600; }
.about .mat { border-radius: var(--radius); padding: 8px; }
.about .mat img { border-radius: 16px; }

/* product page */
.product .mat { border-radius: var(--radius); padding: 10px; }
.product .mat img { border-radius: 16px; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 3px solid transparent; border-radius: 14px; background: none; cursor: pointer; width: 76px; height: 76px; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--garnet); }
.thumbs img { width: 100%; height: 100% !important; max-height: none !important; object-fit: cover !important; border-radius: 9px; }
.bigprice { font-weight: 700; color: var(--garnet); }
.estimate, .total { font-weight: 700; }
.facts, .facts li, .item, .list { border-color: var(--line); }

.approve { background: #fff5f9; }
.tl.now .pin { box-shadow: 0 0 0 6px rgba(194, 37, 92, .15); }
.msg.mine .who { color: #ffe1ec; }
.msg .who { color: var(--gold-ink); }
.studio-bar a { color: var(--sun); }
.note { background: rgba(255, 255, 255, .8); }
footer.site { border-top-color: rgba(120, 100, 160, .2); }
footer.site .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* tablets: the top menu doesn't fit beside the logo, so it becomes the bottom tab bar as on phones */
@media (min-width: 761px) and (max-width: 1099px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .top { backdrop-filter: none; background: var(--paper); }
  .tools { margin-left: auto; }
  .mainnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; gap: 6px; justify-content: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(80, 60, 120, .1);
  }
  .mainnav a { flex: 0 1 180px; flex-direction: column; gap: 2px; padding: 6px 8px; border-radius: 14px; font-size: .88rem; min-height: 60px; text-align: center; }
  .composer { scroll-margin-bottom: 120px; }
  .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .cats { scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .banner .pics { grid-template-columns: repeat(3, 1fr); }
  .banner .pics img:nth-child(4) { display: none; }
}
@media (max-width: 980px) {
  .diy { grid-template-columns: 1fr; padding: 22px; }
  .banner { height: 400px; }
}
@media (max-width: 760px) {
  .top { background: var(--paper); }
  .brand b { font-size: 1.1rem; }
  .home-top { padding-top: 16px; }
  .search { margin-bottom: 16px; }
  .cats { gap: 12px; margin: 0 -16px 14px; padding: 4px 16px 8px; scroll-padding: 0 16px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cats a { flex: 0 0 78px; width: 78px; font-size: .78rem; }
  .cats img { width: 72px; height: 72px; }
  .banner { height: 300px; border-radius: 24px; }
  .banner { height: 330px; }
  .banner .pics { grid-template-columns: 1fr; }
  .banner .pics img:nth-child(n+2) { display: none; }
  .banner .pics img { object-position: center 48%; }
  .cta .btn { flex: 1 1 100%; }
  .banner > div:not(.pics) { padding: 70px 18px 18px; }
  .banner p { display: none; }
  .works { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work { padding: 8px; }
  .season .go { margin-left: 0; }
  .steps { margin-bottom: 40px; }
  .steps li { padding: 20px; border-bottom: 0; }
  h2.center { margin: 40px 0 18px; }
  .thumbs button { width: 64px; height: 64px; }
}
