/* The Beddings Room — public site styles
   Palette taken from the logo: navy roof, aqua wordmark, deep teal ink. */
:root {
  --navy: #0F4C81;
  --navy-d: #0B3558;
  --aqua: #22A9C8;
  --aqua-d: #167F98;
  --aqua-l: #E3F4F8;
  --ink: #123640;
  --muted: #587480;
  --ivory: #FBF8F2;
  --sand: #F3ECE0;
  --paper: #FFFFFF;
  --line: #E7E1D6;
  --wa: #168F4B;
  --sale: #C8452C;
  --r: 14px;
  --shadow: 0 1px 2px rgba(18, 54, 64, .06), 0 10px 30px -12px rgba(18, 54, 64, .18);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--ivory); }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy-d); color: #D9ECF5; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; align-items: center; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 0; }
.brand img { height: 74px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 10px; position: relative; }
.nav a:not(.btn):hover { background: var(--aqua-l); }
.nav a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--aqua); }
.nav-cta { margin-left: 8px; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; color: var(--ink); cursor: pointer; }
.burger .ic { width: 24px; height: 24px; margin: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font: 700 1rem/1.1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-d); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0F7A3D; }
.btn-small { padding: 10px 16px; font-size: .92rem; background: var(--navy); color: #fff; }
.btn-block { display: flex; width: 100%; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(10, 80, 40, .55); }
.wa-float .ic { width: 30px; height: 30px; }

/* ---------- hero ---------- */
.hero { background:
    radial-gradient(900px 420px at 88% -10%, var(--aqua-l), transparent 70%),
    var(--ivory);
  padding: clamp(34px, 6vw, 80px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-d); margin-bottom: 14px; }
.kicker::before { content: ''; width: 16px; height: 11px; background: var(--aqua); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hero h1 em, .page-head h1 em { font-style: italic; color: var(--aqua-d); font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.hero-points li { display: inline-flex; gap: 6px; align-items: center; }
.hero-points .ic { color: var(--aqua-d); }

.hero-art { position: relative; max-width: 500px; width: 100%; margin-left: auto; padding: 18px 18px 0 0; }
.gable, .hero-art::before { clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%); }
.hero-art::before { content: ''; position: absolute; inset: 0 0 18px 18px; background: var(--aqua); }
.gable { position: relative; aspect-ratio: 1 / 1.04; background: linear-gradient(170deg, var(--navy), var(--navy-d)); overflow: hidden; }
.gable-photo img { width: 100%; height: 100%; object-fit: cover; }
.gable-art .window { position: absolute; top: 22%; left: 50%; width: 15%; aspect-ratio: 1; transform: translateX(-50%);
  background: linear-gradient(#fff, #fff) center / 100% 5px no-repeat, linear-gradient(#fff, #fff) center / 5px 100% no-repeat; border: 5px solid #fff; border-radius: 3px; opacity: .9; }
.stack { position: absolute; left: 0; right: 0; bottom: 0; top: 44%; display: flex; flex-direction: column; gap: 7px; padding: 0 0 0; }
.stack b { flex: 1; border-radius: 0 999px 999px 0; background: var(--c, #fff); position: relative; }
.stack b::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 14px); }
.stack b:nth-child(1) { --c: #FFFFFF; margin-right: 12%; }
.stack b:nth-child(2) { --c: #8AD2E2; margin-right: 4%; }
.stack b:nth-child(3) { --c: #22A9C8; margin-right: 18%; }
.stack b:nth-child(4) { --c: #EFE7D8; margin-right: 7%; }
.stack b:nth-child(5) { --c: #E3B873; margin-right: 14%; }
.hero-tag { position: absolute; left: -10px; bottom: 28px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); display: grid; line-height: 1.3; }
.hero-tag strong { font-family: var(--serif); font-size: 1.05rem; }
.hero-tag span { font-size: .85rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: clamp(44px, 6vw, 84px) 0; }
.section.tight { padding-top: 28px; }
.section-tint { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.more { font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 18px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-chip { display: block; height: 64px; border-radius: 10px; margin-bottom: 12px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 10px), var(--c); }
.cat h3 { margin: 0; }
.cat p { color: var(--muted); font-size: .95rem; margin: 0 0 6px; flex: 1; }
.cat-n { font-size: .82rem; font-weight: 700; color: var(--aqua-d); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 14px 16px 18px; }
.card-cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua-d); }
.card h3 { font-size: 1.12rem; margin: 4px 0 8px; }
.price { margin: 0; font-weight: 700; }
.price .now { font-size: 1.12rem; color: var(--navy); }
.price .was { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: .95rem; }
.price.big .now { font-size: 1.9rem; font-family: var(--serif); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.badge-sale { background: var(--sale); }
.badge-out { background: var(--ink); }

.fabric { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 1; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .2) 0 2px, transparent 2px 11px),
              linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 78%, #000)); }
.fabric span { display: none; }
.fabric::after { content: ''; width: 22%; aspect-ratio: 1.4; background: color-mix(in srgb, var(--c) 45%, #000); opacity: .22; clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }

/* ---------- steps, reviews, visit ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps .n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px 12px 12px 0; background: var(--aqua-l); color: var(--aqua-d); font: 600 1.2rem var(--serif); margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.review { margin: 0; background: var(--paper); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); }
.review blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; }
.review figcaption { color: var(--muted); font-size: .92rem; }
.visit { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.visit .lead { margin-bottom: 8px; color: var(--ink); }
.hours { color: var(--muted); }
.visit-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); justify-self: center; }
.visit-card img { width: 100%; max-width: 260px; height: auto; }

/* ---------- page head / breadcrumbs ---------- */
.page-head { padding: 38px 0 14px; background: linear-gradient(var(--aqua-l), var(--ivory)); }
.page-head.slim { padding: 18px 0 0; background: none; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 8px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }

/* ---------- shop ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { text-decoration: none; padding: 8px 15px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; }
.chips a small { color: var(--muted); font-weight: 600; margin-left: 3px; }
.chips a:hover { border-color: var(--aqua); }
.chips a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips a.on small { color: #BFE0EE; }
.find { display: flex; gap: 8px; flex-wrap: wrap; }
.find input, .find select, .form input, .form textarea { font: inherit; padding: 11px 14px; border: 1px solid #D4CCBD; border-radius: 10px; background: #fff; color: var(--ink); }
.find input[type=search] { min-width: 190px; }
.empty { text-align: center; padding: 50px 0; }
.empty p { color: var(--muted); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 5vw, 64px); align-items: start; }
.gallery-main { position: relative; border-radius: var(--r); overflow: hidden; background: var(--sand); aspect-ratio: 1; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { padding: 0; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--sand); cursor: pointer; }
.thumbs button.on { border-color: var(--aqua); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 4px 0 10px; }
.order { margin: 22px 0; display: grid; gap: 16px; }
.order fieldset { border: 0; padding: 0; margin: 0; }
.order legend { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 16px; border-radius: 10px; border: 1.5px solid #D4CCBD; background: #fff; font-weight: 600; }
.pills input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.qty { display: inline-flex; border: 1.5px solid #D4CCBD; border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--aqua-l); }
.qty input { width: 56px; text-align: center; border: 0; font: 700 1rem var(--sans); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--aqua-l); border-radius: 12px; padding: 14px 16px; color: var(--ink); font-size: .95rem; }
.note .ic { margin-top: 3px; color: var(--aqua-d); }
.soldout { background: #fff; border: 1px dashed #C9C0AE; border-radius: 12px; padding: 18px; margin: 18px 0; }
.prose h2 { font-size: 1.4rem; margin-top: 26px; }
.prose p { color: #2F4B55; }
.specs { margin: 22px 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { width: 110px; flex: none; font-weight: 700; color: var(--muted); }
.specs dd { margin: 0; }

/* ---------- about / contact ---------- */
.about { display: grid; grid-template-columns: 1.4fr .8fr; gap: 50px; align-items: start; }
.about .prose p { font-size: 1.08rem; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.about-card h3 { font-size: 1.1rem; margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks .ic { color: var(--aqua-d); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; text-decoration: none; color: var(--ink); }
a.info-card:hover { border-color: var(--aqua); }
.info-card .ic { width: 26px; height: 26px; color: var(--aqua-d); margin-top: 3px; }
.info-card.wa .ic { color: var(--wa); }
.info-card strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.info-card span { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); }
.form h2 { font-size: 1.5rem; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.form input, .form textarea { width: 100%; margin-top: 6px; font-weight: 400; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; font-size: .95rem; }
.alert.ok { background: #E3F6EA; color: #11623A; }
.alert.bad { background: #FCE9E5; color: #8E2B18; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-d); color: #CFE3EE; padding: 54px 0 0; margin-top: 20px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr; gap: 34px; }
.foot-logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: #fff; margin: 0 0 4px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.muted-light { color: #9CC1D4; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding: 18px 0 26px; font-size: .88rem; color: #9CC1D4; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .pdp, .about, .contact-grid, .visit { grid-template-columns: 1fr; }
  .hero-art { margin: 10px auto 0; max-width: 420px; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .burger { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); }
  .nav.open { display: flex; }
  .nav a.on::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .visit-card { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar span { display: none; }
  .topbar .wrap { justify-content: center; }
  .brand img { height: 62px; }
  .foot-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 12px 14px; }
  .card h3 { font-size: 1rem; }
  .form .two { grid-template-columns: 1fr; }
  .hero-tag { left: 0; }
  .find, .find input[type=search] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
