/* ===== Oak & Ladder Bunk Beds: warm paper, walnut ink, forest green and honey.
   Colours are the variables on the first line. ===== */
body.store{--wrap:1320px;--paper:#f7f2ea;--page:#f7f2ea;--card:#fffdf9;--ink:#2b2118;--muted:#6f6052;--line:#e4d9c8;--walnut:#5b3a22;--walnut-2:#3f2716;--green:#2f5d50;--green-2:#244a40;--honey:#c8913a;--radius:14px;--serif:Georgia,"Iowan Old Style","Palatino Linotype","Book Antiqua",serif;--display:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--accent:var(--green);--focus:#2f6fb2;background:var(--page);color:var(--ink);font-family:var(--display);font-size:16px;line-height:1.55}
body.store h1,body.store h2,body.store h3{font-family:var(--serif);font-weight:700;letter-spacing:-.01em}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.main-content{width:min(var(--wrap),calc(100% - 40px));margin:0 auto;min-height:50vh}
img{max-width:100%}
a{color:inherit}
.kicker{font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--green);margin:0 0 10px}
.button{background:var(--green);border:1px solid var(--green);color:#fff;border-radius:999px;min-height:48px;padding:12px 26px;font-weight:650;font-size:.95rem;text-decoration:none;cursor:pointer}
.button:hover{background:var(--green-2);border-color:var(--green-2)}
.button.ghost{background:transparent;color:#fff;border-color:#ffffffb0}
.button.ghost:hover{background:#ffffff1a}
.button.ghost.dark{color:var(--ink);border-color:var(--ink)}
.button.ghost.dark:hover{background:#2b211810}
.notice{border-radius:var(--radius);margin:30px 0}
.noimg{display:grid;place-items:center;width:100%;height:100%;color:var(--muted);font-size:.9rem}

/* header */
.announcement{background:var(--walnut-2);color:#f0e4d0;font-size:.78rem;padding:7px 16px;letter-spacing:.02em}
.announcement:empty{display:none}
.site-header.dh{height:auto;min-height:0;display:block;border:0;padding:0;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}
.dh-inner{display:flex;align-items:center;gap:30px;width:min(var(--wrap),calc(100% - 40px));margin:0 auto;min-height:78px}
.dh-logo{flex-shrink:0;line-height:0}
.dh-nav{display:flex;gap:4px;flex:1}
.dh-nav a{text-decoration:none;font-weight:600;font-size:.94rem;padding:8px 14px;border-radius:999px;color:var(--ink)}
.dh-nav a:hover,.dh-nav a[aria-current=page]{background:#2b21180d}
.cart-nav{display:flex;align-items:center;gap:14px;flex-shrink:0;margin-left:auto}
.cart-nav .account-link{font-weight:600;font-size:.9rem;text-decoration:none;color:var(--ink)}
.cart-nav .account-link:hover{color:var(--green)}
.dh-custom{text-decoration:none;font-weight:650;font-size:.9rem;color:var(--green);border:1.5px solid var(--green);border-radius:999px;padding:7px 16px;white-space:nowrap}
.dh-custom:hover{background:var(--green);color:#fff}
.cart-button{position:relative;display:flex;align-items:center;gap:6px;text-decoration:none;font-weight:650;font-size:.92rem;color:var(--ink)}
.cart-button:hover{color:var(--green)}
.cart-count{min-width:20px;height:20px;border-radius:999px;background:var(--honey);color:#fff;font-size:.72rem;font-weight:800;display:grid;place-items:center;padding:0 5px}
[data-menu-toggle]{display:none;background:none;border:0;color:inherit;padding:6px;cursor:pointer}

/* front page */
.page-home{padding-top:22px}
.hero{position:relative;isolation:isolate;min-height:600px;border-radius:24px;overflow:hidden;display:flex;align-items:flex-end;background:var(--walnut)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1e140cd9 0%,#1e140c99 42%,#1e140c10 75%);z-index:-1}
.hero-card{max-width:600px;color:#fff;padding:56px}
.hero-card .kicker{color:#e6c99a}
.hero h1{font-size:clamp(2.2rem,4.3vw,3.6rem);line-height:1.05;margin:0 0 16px;color:#fff}
.hero-card p:not(.kicker){font-size:1.12rem;color:#f2e8da;margin:0 0 26px;max-width:520px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.hero-tag{position:absolute;right:22px;bottom:22px;background:#fffdf9ee;border-radius:12px;padding:10px 16px;text-decoration:none;display:flex;flex-direction:column;line-height:1.2;box-shadow:0 8px 24px #0003}
.hero-tag span{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.hero-tag b{font-family:var(--serif)}
.collections{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0 10px}
.collection{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:300px;border-radius:20px;overflow:hidden;text-decoration:none;color:#fff;background:var(--walnut)}
.collection img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s}
.collection:hover img{transform:scale(1.04)}
.collection::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#1e140ce0,#1e140c10 70%);z-index:-1}
.collection-text{display:flex;flex-direction:column;gap:4px;padding:26px 28px}
.collection-text b{font-family:var(--serif);font-size:2rem;line-height:1.1}
.collection-text span{color:#f0e6d8;max-width:440px}
.collection-text em{font-style:normal;font-weight:700;color:#e6c99a;margin-top:6px}
.section-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 18px;margin:64px 0 22px}
.section-head .kicker{width:100%;margin:0}
.section-head h2{font-size:clamp(1.7rem,2.6vw,2.3rem);margin:0}
.section-head a{margin-left:auto;color:var(--green);font-weight:650;text-decoration:none}
.section-head a:hover{text-decoration:underline}
.bed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}
.bed-grid.small{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.bed-card{display:flex;flex-direction:column;text-decoration:none;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s,transform .2s}
.bed-card:hover{box-shadow:0 14px 34px #3f271620;transform:translateY(-2px)}
.bed-img{position:relative;aspect-ratio:4/3.4;background:#ece3d5;overflow:hidden}
.bed-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.bed-card:hover .bed-img img{transform:scale(1.04)}
.bed-type{position:absolute;left:12px;top:12px;background:#fffdf9e8;color:var(--walnut);font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:4px 10px;border-radius:999px}
.bed-body{display:flex;flex-direction:column;gap:4px;padding:16px 18px 18px}
.bed-name{font-family:var(--serif);font-size:1.3rem;font-weight:700;line-height:1.2}
.bed-line{color:var(--muted);font-size:.92rem}
.bed-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.bed-price{font-size:.92rem;color:var(--muted);white-space:nowrap}
.bed-price b{font-size:1.15rem;color:var(--ink)}
.bed-sizes{font-size:.8rem;color:var(--muted);border-top:1px dashed var(--line);padding-top:10px;margin-top:8px}
.swatches{display:inline-flex;gap:5px}
.swatch{display:inline-block;width:18px;height:18px;border-radius:50%;border:1px solid #0000002a;box-shadow:inset 0 0 0 2px #ffffff55}
.swatches.small .swatch{width:14px;height:14px}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.steps li{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px 22px;display:flex;flex-direction:column;gap:6px}
.step-n{width:38px;height:38px;border-radius:50%;background:var(--walnut);color:#f7f0e3;display:grid;place-items:center;font-family:var(--serif);font-weight:700;font-size:1.1rem;margin-bottom:8px}
.steps b{font-family:var(--serif);font-size:1.15rem}
.steps span:last-child{color:var(--muted);font-size:.93rem}
.finishes{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;align-items:center;margin:70px 0 0;padding:40px 44px;background:#efe6d8;border-radius:20px}
.finishes h2{font-size:clamp(1.6rem,2.4vw,2.1rem);margin:0 0 8px}
.finishes p:not(.kicker){color:var(--muted);margin:0}
.finish-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.finish{display:flex;flex-direction:column;align-items:center;gap:10px;font-family:var(--serif)}
.finish-chip{width:100%;aspect-ratio:1;border-radius:16px;border:1px solid #0000001f;box-shadow:inset 0 0 0 6px #ffffff40,0 6px 16px #3f271618;background-image:repeating-linear-gradient(100deg,#ffffff10 0 3px,#00000008 3px 9px)!important}
.drawing-band{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;margin:70px 0 0}
.drawing-band img{width:100%;border-radius:18px;border:1px solid var(--line);box-shadow:0 14px 34px #3f271618}
.drawing-band h2{font-size:clamp(1.6rem,2.4vw,2.1rem);margin:0 0 10px}
.drawing-band p:not(.kicker){color:var(--muted);margin:0 0 22px;max-width:480px}
.custom-band{margin:70px 0 10px;background:var(--walnut);color:#f7f0e3;border-radius:22px;padding:48px;text-align:center;background-image:repeating-linear-gradient(92deg,#ffffff06 0 2px,transparent 2px 14px),repeating-linear-gradient(88deg,#00000010 0 1px,transparent 1px 22px)}
.custom-band h2{color:#fff;font-size:clamp(1.7rem,2.8vw,2.4rem);margin:0 0 10px}
.custom-band p{color:#ecdcc5;max-width:560px;margin:0 auto 24px}
.custom-band .button{background:var(--honey);border-color:var(--honey)}
.custom-band .button:hover{background:#b07a28;border-color:#b07a28}

/* designs page */
.designs-page{padding:30px 0 60px}
.page-top{max-width:720px;margin-bottom:24px}
.page-top h1{font-size:clamp(2rem,3.4vw,2.8rem);margin:0 0 8px}
.page-top p:not(.kicker){color:var(--muted);margin:0}
.filter-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 24px;padding:10px;background:var(--card);border:1px solid var(--line);border-radius:999px}
.filter-tabs{display:flex;gap:4px;flex-wrap:wrap}
.filter-tabs button{border:0;background:transparent;border-radius:999px;padding:9px 18px;font-weight:650;font-size:.92rem;color:var(--ink);cursor:pointer}
.filter-tabs button:hover{background:#2b21180a}
.filter-tabs button.on{background:var(--walnut);color:#fff}
.filter-tools{display:flex;gap:14px;padding-right:8px}
.filter-tools label{display:flex;align-items:center;gap:8px;font-size:.86rem;color:var(--muted)}
.filter-tools select{border:1px solid var(--line);border-radius:999px;padding:7px 12px;background:var(--paper);color:var(--ink);font-size:.88rem}
.search-note{color:var(--muted)}
.empty-note{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px}
.empty-note a{color:var(--green)}

/* bed page */
.bed-page{padding:16px 0 60px}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:.86rem;color:var(--muted);margin:6px 0 18px}
.crumbs a{text-decoration:none}
.crumbs a:hover{color:var(--green);text-decoration:underline}
.bed-main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:48px;align-items:start}
.gallery{position:sticky;top:96px}
.gallery-main{aspect-ratio:1;border-radius:20px;overflow:hidden;background:#ece3d5}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.gallery-thumbs{display:flex;gap:10px;margin-top:12px}
.gallery-thumbs button{width:84px;height:84px;padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#ece3d5;cursor:pointer}
.gallery-thumbs button.on{border-color:var(--walnut)}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.gallery-note{font-size:.8rem;color:var(--muted);margin:8px 0 0}
.buy h1{font-size:clamp(2rem,3.2vw,2.8rem);line-height:1.08;margin:0 0 6px}
.buy-line{color:var(--muted);font-size:1.05rem;margin:0 0 14px}
.buy-price{font-family:var(--serif);font-size:2rem;font-weight:700;margin:0 0 20px}
.opt{border:0;padding:0;margin:0 0 20px}
.opt legend{font-size:.9rem;color:var(--muted);margin-bottom:8px;padding:0}
.opt legend b{color:var(--ink)}
.opt>div{display:flex;flex-wrap:wrap;gap:8px}
.opt button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:132px;border:1.5px solid var(--line);background:var(--card);border-radius:12px;padding:10px 14px;font-weight:650;font-size:.92rem;color:var(--ink);cursor:pointer}
.opt button small{color:var(--muted);font-weight:500}
.opt button:hover{border-color:#c9b79e}
.opt button.on{border-color:var(--walnut);box-shadow:0 0 0 1px var(--walnut);background:#fff}
.opt-finish button{flex-direction:row;align-items:center;gap:8px;min-width:0;padding:8px 14px 8px 8px;border-radius:999px}
.opt-finish .swatch{width:24px;height:24px}
.buy-actions{display:flex;gap:10px;margin:6px 0 10px}
.qty{display:flex;align-items:center;gap:8px;border:1.5px solid var(--line);border-radius:999px;padding:0 6px 0 16px;font-size:.88rem;color:var(--muted);background:var(--card)}
.qty select{border:0;background:transparent;font-size:1rem;font-weight:700;color:var(--ink);padding:10px 4px}
.buy-add{flex:1}
.buy-now{width:100%}
.buy-msg{color:var(--green);font-weight:600}
.buy-msg a{color:var(--green)}
.buy-custom{margin:18px 0 0;padding:14px 16px;background:#efe6d8;border-radius:12px;font-size:.92rem}
.buy-custom a{color:var(--green);font-weight:650}
.buy-note{font-size:.8rem;color:var(--muted);margin:10px 0 0}
.buy-desc{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}
.buy-desc p{margin:0 0 12px}
.buy-desc h3{font-size:1.15rem;margin:20px 0 8px}
.buy-desc ul{margin:0;padding:0;list-style:none}
.buy-desc li{padding:8px 0 8px 22px;border-bottom:1px dashed var(--line);position:relative;font-size:.95rem}
.buy-desc li::before{content:"";position:absolute;left:4px;top:16px;width:8px;height:8px;border-radius:2px;background:var(--honey);transform:rotate(45deg)}
.buy-desc a{color:var(--green);font-weight:650}
.more .section-head{margin-top:56px}

/* starter pages in the shop's frame */
.page-cart,.page-checkout,.page-account,.page-contact,.page-message,.page-about,.page-order-confirmation,.page-404{padding:20px 0 50px}
.page-heading{padding:30px 0 20px}
.page-heading .eyebrow{display:none}
.page-heading h1{font-size:clamp(2rem,3.4vw,2.8rem)}
.page-heading p:not(.eyebrow){color:var(--muted);margin-top:10px;max-width:760px}
.about-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:10px 0 30px}
.about-tiles a{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:6px;text-decoration:none}
.about-tiles a:hover{border-color:var(--walnut)}
.about-tiles b{font-family:var(--serif);font-size:1.2rem}
.about-tiles span{color:var(--muted);font-size:.92rem}
.cart-item h2{font-size:1.15rem;font-family:var(--serif)}
.cart-item>img{object-fit:cover;border-radius:10px}
.summary{border-radius:var(--radius);background:var(--card)}

/* footer */
.site-footer.df{border:0;padding:0;margin-top:60px;background:var(--walnut-2);color:#d8c7b0}
.df-cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px;width:min(var(--wrap),calc(100% - 40px));margin:0 auto;padding:54px 0 40px}
.df-cols div{display:flex;flex-direction:column;gap:9px;font-size:.92rem}
.df-cols h2{color:#fff;font-family:var(--display);font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;margin:0 0 6px}
.df-cols a{text-decoration:none}
.df-cols a:hover{color:#fff;text-decoration:underline}
.df-brand p{max-width:320px;margin:10px 0 0}
.df-bottom{border-top:1px solid #ffffff17;padding:22px 16px 30px;display:flex;flex-direction:column;align-items:center;gap:10px}
.footer-policies{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center;font-size:.82rem}
.footer-policies a{text-decoration:none}
.footer-policies a:hover{color:#fff;text-decoration:underline}
.footer-seller{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:center;font-size:.78rem;margin:0}
.df-copy{font-size:.78rem}

@media (max-width:1000px){
  .dh-nav a{padding:8px 10px}
  .steps{grid-template-columns:1fr 1fr}
  .finishes,.drawing-band{grid-template-columns:1fr}
  .bed-main{grid-template-columns:1fr}
  .gallery{position:static}
  .df-cols{grid-template-columns:1fr 1fr}
}
@media (max-width:820px){
  .dh-inner{flex-wrap:wrap;gap:8px 12px;min-height:64px;padding:8px 0}
  .dh-logo img{width:250px;height:auto}
  .page-home{padding-top:14px}
  [data-menu-toggle]{display:block;order:-1}
  .dh-nav{display:none;order:5;flex-basis:100%;flex-direction:column;padding-bottom:10px}
  .dh-nav.open{display:flex}
  .dh-custom,.cart-nav .account-link,.cart-button span:not(.cart-count){display:none}
  .hero{min-height:520px}
  .hero::after{background:linear-gradient(0deg,#1e140ce6 0%,#1e140c99 55%,#1e140c20 100%)}
  .hero-card{padding:28px 24px}
  .hero-tag{display:none}
  .collections{grid-template-columns:1fr}
  .collection{min-height:230px}
  .filter-bar{border-radius:18px}
  .about-tiles{grid-template-columns:1fr}
  .custom-band{padding:34px 22px}
  .finishes{padding:28px 22px}
}
@media (max-width:560px){
  body.store{font-size:15px}
  .main-content{width:calc(100% - 28px)}
  .steps{grid-template-columns:1fr}
  .bed-grid,.bed-grid.small{grid-template-columns:1fr}
  .opt button{min-width:calc(50% - 4px)}
  .opt-finish button{min-width:0}
  .df-cols{grid-template-columns:1fr}
  .cart-layout,.checkout-layout{grid-template-columns:1fr}
}
