/* Regal Drapes / V7 visual corrections / October 25 2026
   Fixes inherited button box dimensions and removes nested step-header cards.
   Maintains Gloock / Raleway, brand palette and existing ASP.NET event handlers.
   Intentional order: load AFTER regal-luxury-v6.css. */
:root{
 --rd7-navy:#202C39; --rd7-blue:#3E4E66; --rd7-ivory:#FCFAF5;
 --rd7-parchment:#F5F1ED; --rd7-bone:#E7E1DA;
 --rd7-line:#DDD7CF; --rd7-serif:'Gloock',Georgia,serif;
 --rd7-sans:'Raleway','Segoe UI',Arial,sans-serif;
}
/* Warm, tonal depth without a distracting split-color background. */
body.rd-brand-page.rd-brand-configurator{
 background:linear-gradient(155deg,#FCFAF5 0%,#F7F4F0 42%,#F1ECE6 100%) fixed!important;
 font-family:var(--rd7-sans)!important;
}
/* Only ONE visible outline around the step header; inner table and intro are structural. */
body.rd-brand-page.rd-brand-configurator #divHeaderSteps{
 background:linear-gradient(144deg,#FCFAF5 0%,#F5F1ED 100%)!important;
 border:1px solid #E7E1DA!important;
 border-radius:17px!important;
 box-shadow:0 12px 28px rgba(32,44,57,.055)!important;
}
body.rd-brand-page.rd-brand-configurator #divHeaderSteps .config-header-table,
body.rd-brand-page.rd-brand-configurator #divHeaderSteps .config-intro{
 background:transparent!important;
 background-color:transparent!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 outline:0!important;
}
body.rd-brand-page.rd-brand-configurator #divHeaderSteps .config-header-table{margin-top:0!important;}
body.rd-brand-page.rd-brand-configurator #divHeaderSteps .config-intro-cell{
 padding-top:21px!important;
 padding-bottom:22px!important;
}
body.rd-brand-page.rd-brand-configurator #divHeaderSteps .config-intro h1{
 font-family:var(--rd7-serif)!important;
 color:var(--rd7-navy)!important;
 font-weight:400!important;
 letter-spacing:-.025em!important;
 line-height:1.17!important;
}
/* Normalized progress tabs and continuation CTA: no inherited vertical padding. */
body.rd-brand-page.rd-brand-configurator #progress li{
 box-sizing:border-box!important;
 height:40px!important;
 min-height:40px!important;
 padding:0 13px!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 line-height:1.1!important;
 box-shadow:none!important;
}
body.rd-brand-page.rd-brand-configurator #progress li a{
 box-sizing:border-box!important;
 height:100%!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 line-height:1.1!important;
 padding:0!important;
}
body.rd-brand-page.rd-brand-configurator #progress li.active{
 background:var(--rd7-blue)!important;
 border-color:var(--rd7-blue)!important;
 color:white!important;
}
body.rd-brand-page.rd-brand-configurator #progress li.completed{
 background:var(--rd7-bone)!important;
 border-color:var(--rd7-line)!important;
 color:var(--rd7-navy)!important;
}
body.rd-brand-page.rd-brand-configurator #nextStep{
 box-sizing:border-box!important;
 height:40px!important;
 min-height:40px!important;
 padding:0!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 box-shadow:none!important;
}
body.rd-brand-page.rd-brand-configurator #nextStep a{
 box-sizing:border-box!important;
 display:inline-flex!important;
 height:100%!important;
 width:100%!important;
 align-items:center!important;
 justify-content:center!important;
 padding:0 15px!important;
 line-height:1.15!important;
}
/* Preview and product cards: premium depth without multiple heavy shadow boxes. */
body.rd-brand-page.rd-brand-configurator .preview-panel{
 background:linear-gradient(160deg,#FCFAF5,#F7F3EE)!important;
 border:1px solid #E7E1DA!important;
 box-shadow:0 12px 26px rgba(32,44,57,.065)!important;
 border-radius:13px!important;
}
body.rd-brand-page.rd-brand-configurator .style-card,
body.rd-brand-page.rd-brand-configurator .roman-style-card{
 border:1px solid #E7E1DA!important;
 box-shadow:0 7px 18px rgba(32,44,57,.055)!important;
}
body.rd-brand-page.rd-brand-configurator .style-card.selected{
 border:1px solid var(--rd7-blue)!important;
 box-shadow:0 0 0 1px rgba(62,78,102,.17),0 9px 20px rgba(32,44,57,.07)!important;
}
body.rd-brand-page.rd-brand-configurator :is(.luxury-next-btn,.style-grid-toggle){
 box-sizing:border-box!important;
 min-height:40px!important;
 padding:10px 18px!important;
 line-height:1.2!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 box-shadow:none!important;
}
/* Drapery preview: three balanced 32px actions with reliable text centering.
   We do not rename IDs or touch save/cart/sample event handling. */
body.rd-brand-page.rd-brand-configurator .topMenuCell{
 height:88px!important;
 box-sizing:border-box!important;
 padding:0 23px!important;
 vertical-align:middle!important;
 background:linear-gradient(140deg,#202C39 0%,#2B3B4F 100%)!important;
 background-color:var(--rd7-navy)!important;
 border-radius:12px 12px 0 0!important;
}
body.rd-brand-page.rd-brand-configurator .topMenuText{
 font-family:var(--rd7-sans)!important;
 font-weight:600!important;
 font-size:15px!important;
 letter-spacing:.005em!important;
 line-height:1.2!important;
 padding-left:4px!important;
}
body.rd-brand-page.rd-brand-configurator .topInfoCell,
body.rd-brand-page.rd-brand-configurator .topPriceCell,
body.rd-brand-page.rd-brand-configurator .topButtonsCell{vertical-align:middle!important;}
body.rd-brand-page.rd-brand-configurator .topButtonsCell{
 padding:0 2px 0 10px!important;
}
body.rd-brand-page.rd-brand-configurator .topButtonsCell > br,
body.rd-brand-page.rd-brand-configurator .topButtonsCell > img[src*="t.gif"]{
 display:none!important;
}
body.rd-brand-page.rd-brand-configurator .topButtonsCell .topActionBtn{
 box-sizing:border-box!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:120px!important;
 height:32px!important;
 min-height:32px!important;
 max-height:32px!important;
 padding:0!important;
 margin:0 0 4px auto!important;
 border-radius:5px!important;
 line-height:1!important;
 overflow:hidden!important;
 box-shadow:none!important;
}
body.rd-brand-page.rd-brand-configurator .topButtonsCell .topActionBtn > a{
 box-sizing:border-box!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:100%!important;
 height:100%!important;
 margin:0!important;
 padding:0 5px!important;
 color:inherit!important;
 font:600 11px/1 var(--rd7-sans)!important;
 letter-spacing:.02em!important;
 text-decoration:none!important;
 text-align:center!important;
 white-space:nowrap!important;
}
body.rd-brand-page.rd-brand-configurator .topButtonsCell .topActionBtn.rd-v6-sample{
 background:var(--rd7-ivory)!important;
 border:1px solid var(--rd7-blue)!important;
 color:var(--rd7-navy)!important;
}
body.rd-brand-page.rd-brand-configurator .topButtonsCell .topActionBtn.rd-v6-save{
 background:var(--rd7-blue)!important;
 border:1px solid var(--rd7-blue)!important;
 color:white!important;
}
body.rd-brand-page.rd-brand-configurator .topButtonsCell .topActionBtn.rd-v6-cart{
 background:var(--rd7-navy)!important;
 border:1px solid var(--rd7-navy)!important;
 color:white!important;
}
body.rd-brand-page.rd-brand-configurator .topButtonsCell .topActionBtn.rd-v6-sample > a{color:var(--rd7-navy)!important;}
body.rd-brand-page.rd-brand-configurator .topButtonsCell .topActionBtn:is(.rd-v6-save,.rd-v6-cart) > a{color:white!important;}
body.rd-brand-page.rd-brand-configurator .topPriceCell #spFinal{
 color:var(--rd7-navy)!important;
 font-family:var(--rd7-sans)!important;
 font-size:23px!important;
 line-height:1.2!important;
 letter-spacing:.01em!important;
}
/* Roman shades: keep same compact, centered CTA height as the drapery tool. */
body.rd-brand-page.rd-brand-configurator .rs-side-tools .rs-action{
 box-sizing:border-box!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:220px!important;
 min-height:38px!important;
 height:38px!important;
 padding:0 10px!important;
 margin-left:auto!important;
 margin-right:auto!important;
 line-height:1.1!important;
 text-align:center!important;
 font:600 12px/1.1 var(--rd7-sans)!important;
 border-radius:5px!important;
 box-shadow:none!important;
}
body.rd-brand-page.rd-brand-configurator #tblSummaryDetails .rs-summary-title{
 height:60px!important;
 line-height:1.2!important;
 font-family:var(--rd7-serif)!important;
 font-size:29px!important;
 background:var(--rd7-navy)!important;
}
@media(max-width:700px){
 body.rd-brand-page.rd-brand-configurator #divHeaderSteps{border-radius:12px!important;}
 body.rd-brand-page.rd-brand-configurator #divHeaderSteps .config-intro-cell{padding-top:18px!important;padding-bottom:18px!important;}
 body.rd-brand-page.rd-brand-configurator .topButtonsCell .topActionBtn{min-height:34px!important;height:34px!important;max-height:34px!important;}
}
