
/* DreamCodeV Custom: compact spacing and real product showroom */
.custom-store-page .custom-hero{min-height:370px!important;margin-bottom:0!important;padding:40px 42px!important}
.custom-store-page .custom-promise{margin:18px 0 0!important;padding:0!important;gap:12px}
.custom-store-page .section{padding:44px 0;border-top:1px solid rgba(172,133,250,.10)}
.custom-store-page .section-head{margin-bottom:20px}
.custom-store-page #shop-categories{padding:35px 0 24px;border-top:0}
.custom-store-page #showroom{padding:38px 0 46px}
.custom-store-page #featured-ideas{padding:37px 0}
.custom-store-page #custom-orders{padding:44px 0}
.custom-store-page #products[hidden]{display:none!important}
.custom-store-page .custom-showcase-card{cursor:pointer}
.custom-store-page .custom-showcase-card strong{font-size:12px}
.custom-showroom .showroom-heading{display:flex;gap:20px;justify-content:space-between;align-items:end;margin-bottom:22px}
.custom-showroom .showroom-heading>div{max-width:770px}
.custom-showroom .showroom-heading h2{margin:0 0 10px}
.custom-showroom .showroom-heading p:last-child{color:#bbb2c8;font-size:14px;line-height:1.65;max-width:720px}
.showroom-picks-trigger{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:12px 17px;border:1px solid rgba(190,143,255,.45);border-radius:999px;color:#f7ebff;background:linear-gradient(140deg,#35214e,#171124);font:600 13px "DM Sans",sans-serif;cursor:pointer;white-space:nowrap}
.showroom-picks-trigger span{display:grid;place-items:center;background:#bd83ff;color:#170622;min-width:22px;height:22px;border-radius:50%;font-weight:900}
.showroom-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:10px 0 20px}
.showroom-tabs{display:flex;gap:7px;flex-wrap:wrap}
.showroom-tabs button{padding:10px 15px;border:1px solid rgba(192,166,235,.22);border-radius:999px;background:#110d1a;color:#c7bfd3;font:650 12px "DM Sans",sans-serif;cursor:pointer}
.showroom-tabs button[aria-pressed="true"]{background:linear-gradient(125deg,#7441ae,#4b2679);color:white;border-color:#a77be2;box-shadow:0 2px 16px rgba(139,78,217,.18)}
.showroom-search{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid rgba(192,166,235,.22);border-radius:12px;background:#110d1a;min-width:180px;max-width:280px}
.showroom-search svg{width:18px;height:18px;fill:none;stroke:#b6a2d6;stroke-width:2}
.showroom-search input{border:0;outline:0;width:100%;min-width:0;padding:11px 0;background:transparent;color:white;font-size:14px}
.showroom-search input::placeholder{color:#a499b0}
.showroom-count{font-size:12px;color:#a9a0b7;margin:0 0 12px}
.showroom-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.showroom-item{min-width:0;background:linear-gradient(155deg,#191325,#0c0911);border:1px solid rgba(181,157,230,.25);border-radius:18px;overflow:hidden;box-shadow:0 16px 32px rgba(0,0,0,.15);transition:transform .2s,border-color .2s}
.showroom-item:hover,.showroom-item:focus-within{transform:translateY(-3px);border-color:rgba(200,156,255,.75)}
.showroom-item[hidden]{display:none!important}
.showroom-item>button{width:100%;display:block;border:0;padding:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.showroom-item-photo{aspect-ratio:1/1;overflow:hidden;position:relative;background:radial-gradient(circle at 20% 20%,#4d345d,#2a2234 50%,#15111e)}
.showroom-item-photo img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s ease}
.showroom-item:hover img{transform:scale(1.05)}
.showroom-item-photo span{position:absolute;bottom:10px;left:10px;background:rgba(16,10,27,.87);color:#ead6ff;border:1px solid rgba(220,190,255,.28);border-radius:50px;padding:6px 9px;font-size:10px;font-weight:800;letter-spacing:.02em}
.showroom-item-copy{padding:15px 16px 17px}
.showroom-item-copy .showroom-kicker{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#c199f7;margin-bottom:7px}
.showroom-item-copy h3{font-size:16px;font-weight:750;line-height:1.32;min-height:42px;margin:0 0 8px;color:#f9f4fd}
.showroom-item-copy p{color:#bbb2c9;margin:0;font-size:12px;min-height:36px;line-height:1.45}
.showroom-item-copy strong{display:block;margin-top:12px;font-size:12px;color:#d5b5ff}
.showroom-empty{margin-top:20px;padding:32px;background:#150f20;border:1px solid rgba(191,150,247,.28);border-radius:18px;text-align:center;color:#cbbcd8}
.showroom-empty[hidden]{display:none}
.showroom-note{margin:19px 0 0;font-size:12px;line-height:1.6;color:#a9a0b7}
.showroom-dialog{color:#f5f0fa;border:1px solid rgba(205,171,255,.32);border-radius:24px;background:linear-gradient(155deg,#1c1429,#090811);box-shadow:0 28px 100px rgba(0,0,0,.8);width:min(940px,calc(100vw - 28px));max-height:min(92vh,980px);overflow:auto;padding:0}
.showroom-dialog::backdrop{background:rgba(2,0,9,.8);backdrop-filter:blur(9px)}
.showroom-close{position:sticky;float:right;top:12px;right:12px;z-index:4;width:38px;height:38px;margin:12px 12px -50px 0;display:grid;place-items:center;font-size:25px;line-height:1;color:#f9edff;background:rgba(10,6,22,.85);border:1px solid rgba(209,180,250,.36);border-radius:50%;cursor:pointer}
.showroom-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}
.showroom-detail-media{background:#27202d;min-height:430px}
.showroom-detail-media img{width:100%;height:100%;min-height:430px;max-height:690px;display:block;object-fit:cover}
.showroom-detail-copy{padding:42px 35px 32px}
.showroom-detail-copy .eyebrow{color:#cba7ff}
.showroom-detail-copy h2{font-size:clamp(28px,3.2vw,42px);line-height:1.1;margin:0 0 13px;letter-spacing:-.04em}
.showroom-detail-copy>p{font-size:14px;color:#c9c0d4;line-height:1.7}
.showroom-detail-copy h3{font-size:14px;margin-top:24px}
.showroom-specs{margin:12px 0;padding-left:19px;color:#d9cfe3;font-size:13px;line-height:1.8}
.showroom-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.showroom-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:43px;border-radius:11px;padding:10px 16px;font:750 13px "DM Sans",sans-serif;cursor:pointer}
.showroom-button-primary{color:#10081b;background:linear-gradient(135deg,#cda3ff,#9372f7);border:1px solid #d7b4ff}
.showroom-button-secondary{color:#eadbfa;border:1px solid rgba(205,169,255,.44);background:rgba(177,114,248,.12)}
.showroom-dialog .showroom-fineprint{color:#a99db9;font-size:11px;margin-top:20px}
.showroom-picks-dialog{width:min(560px,calc(100vw - 28px));padding:30px 25px}
.showroom-picks-dialog h2{font-size:25px;margin:0 0 8px}
.showroom-picks-dialog>p{font-size:13px;color:#c3b7d2;line-height:1.6}
.showroom-picks-list{display:grid;gap:10px;margin:20px 0 25px}
.showroom-picked-item{display:flex;gap:12px;align-items:center;border:1px solid rgba(192,160,240,.26);border-radius:13px;background:#1b1326;padding:9px}
.showroom-picked-item img{width:64px;height:64px;flex:0 0 64px;object-fit:cover;border-radius:8px}
.showroom-picked-item div{min-width:0;flex:1}
.showroom-picked-item strong{display:block;font-size:13px;margin-bottom:4px}
.showroom-picked-item span{font-size:11px;color:#baa9c8}
.showroom-picked-item button{font-size:11px;color:#e1c9ff;background:transparent;border:1px solid rgba(180,144,225,.38);border-radius:8px;padding:8px;cursor:pointer}
.showroom-picks-actions{display:flex;gap:10px;flex-wrap:wrap}
body.showroom-dialog-open{overflow:hidden}
@media(max-width:960px){.showroom-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.showroom-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.custom-showroom .showroom-heading{align-items:start}.showroom-toolbar{flex-direction:column;align-items:stretch}.showroom-search{max-width:none}.showroom-detail-layout{grid-template-columns:1fr}.showroom-detail-media,.showroom-detail-media img{min-height:0;height:260px}.showroom-detail-copy{padding:28px 22px}.showroom-dialog{max-height:92vh}}
@media(max-width:620px){.custom-store-page .custom-hero{min-height:0!important;padding:39px 23px!important}.custom-store-page .custom-promise{margin:16px 0 0!important}.custom-store-page .section{padding:32px 0}.custom-store-page #shop-categories{padding:25px 0 16px}.custom-store-page #showroom{padding:32px 0 36px}.custom-store-page #featured-ideas{padding:29px 0}.custom-showroom .showroom-heading{display:grid;gap:12px}.showroom-picks-trigger{justify-self:start}.showroom-tabs{gap:6px}.showroom-tabs button{padding:9px 12px}.showroom-item-copy{padding:12px 11px 14px}.showroom-item-copy h3{font-size:14px;min-height:37px}.showroom-item-copy p{font-size:11px;min-height:43px}.showroom-item-photo span{font-size:9px}.showroom-picks-dialog{padding:24px 15px}}
@media(prefers-reduced-motion:reduce){.showroom-item,.showroom-item img{transition:none!important}}


/* Mobile sheet and permanently visible close bar */
.showroom-modal-bar{
  position:sticky;top:0;z-index:40;
  box-sizing:border-box;min-height:60px;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:10px 17px;
  border-bottom:1px solid rgba(197,147,255,.24);
  background:rgba(16,10,29,.98);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)
}
.showroom-modal-bar>span{font-size:13px;letter-spacing:.04em;font-weight:800;color:#e4d0ff}
.showroom-dialog .showroom-modal-bar .showroom-close{
  position:static!important;float:none!important;inset:auto!important;margin:0!important;
  width:auto;min-width:104px;height:42px;padding:0 12px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;gap:11px;
  border-radius:12px;font-size:14px;font-weight:800;line-height:1;
  background:#3a1c52;color:#fff;border:1px solid rgba(216,164,255,.7);cursor:pointer
}
.showroom-modal-bar .showroom-close>span{font-size:24px;line-height:1;display:inline-block}
.showroom-modal-bar .showroom-close:focus-visible{outline:3px solid #d5a1ff;outline-offset:2px}
.showroom-dialog .showroom-detail-copy{padding-top:28px}
.showroom-detail-media img{object-fit:contain;background:linear-gradient(140deg,#2b2335,#1b1623)}
.showroom-detail-media.is-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.showroom-detail-media.is-pair img{width:100%;height:100%;object-fit:contain;min-width:0}
.showroom-detail-media img[hidden]{display:none!important}
.showroom-picks-dialog{padding:0!important}
.showroom-picks-inner{padding:24px 25px 28px}
.showroom-item-photo.has-pair{display:flex;align-items:stretch;background:#292231}
.showroom-item-photo.has-pair img{width:50%;height:100%;object-fit:contain;flex:0 0 50%;min-width:0}
.showroom-item-photo.has-pair img+img{border-left:2px solid rgba(172,135,219,.2)}
.showroom-item-photo.has-pair span{z-index:1}
.showroom-tabs{scrollbar-width:none}
.showroom-tabs::-webkit-scrollbar{display:none}
.showroom-item-photo img,.showroom-detail-media img{object-position:center center}
@media(max-width:740px){
  dialog.showroom-dialog[open]{
    position:fixed!important;
    inset:auto 0 0 0!important;
    top:auto!important;bottom:0!important;
    display:block!important;
    box-sizing:border-box!important;
    margin:0!important;
    width:100vw!important;max-width:100vw!important;
    height:min(86vh,760px)!important;
    height:min(86dvh,760px)!important;
    max-height:min(86vh,760px)!important;
    max-height:min(86dvh,760px)!important;
    min-height:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    padding:0!important;
    border-radius:22px 22px 0 0!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    scroll-padding-top:62px;
  }
  .showroom-modal-bar{min-height:60px;padding:9px 16px;top:0}
  .showroom-detail-layout{display:block}
  .showroom-detail-media,.showroom-detail-media img{
    height:190px!important;min-height:190px!important;max-height:190px!important;
  }
  .showroom-detail-media img{object-fit:contain}
  .showroom-detail-copy{padding:20px 20px max(30px,env(safe-area-inset-bottom))!important}
  .showroom-detail-copy h2{font-size:clamp(23px,6vw,31px);letter-spacing:-.04em;margin:0 0 10px}
  .showroom-detail-copy>p{font-size:13px;line-height:1.55}
  .showroom-detail-copy h3{margin-top:16px}
  .showroom-specs{font-size:12px;line-height:1.6;margin:9px 0}
  .showroom-detail-actions{margin-top:19px}
  .showroom-picks-inner{padding:18px 18px max(32px,env(safe-area-inset-bottom))}
  .showroom-toolbar .showroom-tabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;padding-bottom:4px}
  .showroom-toolbar .showroom-tabs button{flex:0 0 auto}
}
@media(max-width:420px){
  .showroom-detail-media,.showroom-detail-media img{height:156px!important;min-height:156px!important;max-height:156px!important}
  .showroom-modal-bar{min-height:55px}
  .showroom-dialog .showroom-modal-bar .showroom-close{min-width:92px;height:40px}
}
