/* RositoV2 – additions on top of the original theme (style.css). */

/* ---------- RB circle logo (customer change list p.2, p.5, p.6) ---------- */
.logo { margin: 14px 0; }
/* The picture is only the white disc with the RB mark; the ring is drawn here so it stays crisp at every size. */
.logo a, .rb-footer-logo { position: relative; display: inline-block; border-radius: 50%; line-height: 0; }
.logo .rb-logo, .rb-footer-logo img { background: #fff; box-shadow: 0 0 0 2px #c29d5f, 0 0 0 5px rgba(0,0,0,.30), 0 8px 22px rgba(0,0,0,.45); }
.logo .rb-logo { width: 96px; height: 96px; display: block; border-radius: 50%; transition: width .2s, height .2s; }
.resize-header .logo { margin: 6px 0; }
.resize-header .logo img.rb-logo { width: 62px; height: 62px; max-width: none; animation: none; }
#header .navbar { display: flow-root; margin-bottom: 0; } /* header bar wraps the floated logo */
#header .nav-left .pi-nav { margin-top: 44px; }
.resize-header #header .nav-left .pi-nav { margin-top: 20px; animation: none; }
.rb-footer-logo { margin: 4px 0 16px 4px; }
.rb-footer-logo img { width: 110px; height: 110px; border-radius: 50%; display: block; }

/* old pages pushed content down with the dark banner; without it the first section clears the fixed header */
#header-wrapper { background-color: rgba(0,0,0,.90); }
#header-wrapper.header-over-video:not(.resize-header) { background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,0)); }
.rb-page { padding-top: 124px; }
.rb-page .rb-first-section { padding-top: 40px; }
.rb-page > .page-title:first-child, .rb-page > .rb-notice + .page-title { margin-top: -124px; }

/* ---------- landing video ---------- */
.rb-hero { position: relative; height: 100vh; min-height: 480px; overflow: hidden; background: #000; }
.rb-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rb-hero-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,0) 40%, rgba(0,0,0,.45)); pointer-events: none; }
.rb-hero-copy { position: absolute; left: 0; right: 0; bottom: 22%; text-align: center; color: #fff; padding: 0 20px; }
.rb-hero-copy h1 { color: #fff; font-size: 56px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.rb-hero-sound { position: absolute; left: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
    background: rgba(0,0,0,.35); color: #fff; font-size: 20px; cursor: pointer; }
.rb-hero-sound:hover { background: rgba(0,0,0,.6); }
.rb-hero-cta { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) { .rb-hero-video { display: none; } .rb-hero { background: #000 url('/img/bkg-img1.jpg') center/cover; } }

/* ---------- notices ---------- */
.rb-notice { padding: 14px 0; color: #fff; font-size: 15px; position: relative; z-index: 5; }
.rb-notice-sent { background: #3c763d; }
.rb-notice-invalid, .rb-notice-failed { background: #a94442; }
.rb-home .rb-notice { position: absolute; top: 124px; left: 0; right: 0; }

/* ---------- forms ---------- */
.rb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wpcf7 .rb-field { margin-bottom: 18px; }
.wpcf7 .rb-field input, .wpcf7 .rb-field textarea { width: 100%; }
.rb-enquiry.wpcf7 { display: flex; flex-wrap: wrap; }
.rb-enquiry.wpcf7 button { margin: 10px auto 0; }

/* ---------- products ---------- */
.menu-sample .menu-image img { max-height: 220px; width: auto; margin: 0 auto; object-fit: contain; }
.rb-product-name { font-size: 28px; margin: 0 0 10px; }
.product-detail img { max-width: 100%; height: auto; }
.rb-product-actions { margin-top: 24px; }
.rb-empty { padding: 60px 0; }

/* ---------- videos ---------- */
.rb-ratio { position: relative; padding-top: 56.25%; }
.rb-ratio iframe, .rb-ratio video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* ---------- manuals ---------- */
.rb-pdf-icon { display: flex; align-items: center; justify-content: center; height: 120px; font-size: 54px; color: #b22; }

/* ---------- register ---------- */
.rb-page .rb-register, .rb-page .rb-contact, .rb-page .rb-gallery, .rb-page .rb-videos { padding: 56px 0 90px; background: #f6f3ee; }
.rb-page .rb-gallery, .rb-page .rb-videos { background: #fff; } /* photos and videos sit on plain white */
.rb-reg-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.rb-reg-head h1 { position: relative; margin: 0 0 22px; padding-bottom: 20px; font-size: 40px; line-height: 1.15; color: #1c1814; }
.rb-reg-head h1::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 64px; height: 2px; margin-left: -32px; background: linear-gradient(90deg, #c29d5f, #e2c48d); }
.rb-reg-head p { margin: 0; font-size: 16px; line-height: 1.7; color: #4a4640; }
.rb-reg-head .rb-reg-notice { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 9px 18px; border: 1px solid rgba(194,157,95,.6); border-radius: 999px; background: #fff8ea; color: #6b4d16; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rb-reg-notice .fa { color: #b3894a; font-size: 15px; }
.rb-reg-card { max-width: 940px; margin: 0 auto; padding: 40px 48px 44px; border-top: 3px solid #c29d5f; border-radius: 12px; background: #fff; box-shadow: 0 30px 70px -40px rgba(28,24,20,.5); }

/* the three steps: numbered dots joined by a line; finished steps turn gold with a tick */
.rb-steps { display: flex; margin: 0 0 38px; padding: 0; list-style: none; }
.rb-steps li { position: relative; flex: 1 1 0; text-align: center; color: #9a9388; }
.rb-steps li + li::before { content: ''; position: absolute; top: 19px; right: calc(50% + 28px); left: calc(-50% + 28px); height: 2px; background: #e4ded3; transition: background-color .4s; }
.rb-steps li.now::before, .rb-steps li.done::before { background: #c29d5f; }
.rb-step-dot { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid #e4ded3; border-radius: 50%; background: #fff; font-size: 16px; font-weight: 600; color: #9a9388; transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.rb-steps li.now .rb-step-dot { border-color: #c29d5f; background: #c29d5f; color: #fff; box-shadow: 0 0 0 5px rgba(194,157,95,.2); }
.rb-steps li.done .rb-step-dot { border-color: #c29d5f; color: #b3894a; }
.rb-steps .rb-step-name { color: inherit; }
.rb-step-name { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.rb-steps li.now .rb-step-name { color: #1c1814; }
.rb-steps li.done .rb-step-name { color: #6b645a; }

.rb-reg-title { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #eee8dd; }
.rb-reg-title small { display: block; margin-bottom: 2px; color: #b3894a; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.rb-reg-title h2 { margin: 0; font-size: 28px; color: #1c1814; }
.rb-register-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.rb-register-form .row { margin-bottom: 0; }
.rb-register-form label { display: block; margin: 16px 0 6px; color: #2b2823; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.rb-register-form label span { font-weight: normal; color: #8a8378; }
.rb-register-form .form-control { height: 46px; padding: 0 14px; border: 1px solid #d8d2c6; border-radius: 6px; background: #fdfcfa; box-shadow: none; color: #1c1814; font-size: 15px; }
.rb-register-form .form-control:hover { border-color: #bfb6a5; }
.rb-register-form .form-control.invalid { border-color: #b3423f; background: #fdf6f5; }
.rb-register-form .rb-reg-file { height: auto; padding: 9px 12px; font-size: 14px; }
.rb-register-form .rb-reg-file::file-selector-button { margin-right: 12px; padding: 6px 14px; border: 0; border-radius: 4px; background: #1c1814; color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.rb-register-form .rb-reg-attached { margin-top: 6px; color: #5d7d4f; font-size: 13px; }
.rb-register-form .validation-message { margin-top: 5px; color: #b3423f; font-size: 13px; }
.rb-register-form .rb-check { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 0; font-size: 15px; font-weight: normal; line-height: 1.5; cursor: pointer; }
.rb-register-form .rb-check span { color: #2b2823; }
.rb-register-form .rb-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #b3894a; cursor: pointer; }
.rb-register-form .rb-check a { color: #8c6a2f; border-bottom: 1px solid rgba(194,157,95,.6); }
.rb-reg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.rb-reg-fields > div:first-child label { margin-top: 0; }
.rb-reg-help { padding: 22px 24px 24px; border: 1px solid #eee4d2; border-radius: 10px; background: #fbf7ef; text-align: center; }
.rb-reg-help h3 { margin: 0 0 6px; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6b4d16; }
.rb-reg-help h3 .fa { margin-right: 6px; color: #b3894a; }
.rb-reg-help p { margin: 0 0 16px; font-size: 14px; color: #6b645a; }
.rb-label-img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 10px 26px -14px rgba(28,24,20,.5); }
.rb-register-form .alert { margin: 22px 0 0; }
.rb-step-buttons { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid #eee8dd; }
.rb-step-buttons .btn.gold { min-width: 190px; padding: 15px 28px; border: 0; border-radius: 6px; }
.rb-step-buttons .btn.gold span { font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.rb-step-buttons .btn.gold:hover, .rb-step-buttons .btn.gold:focus { background-color: #f3cd85; outline: 0; }
.rb-step-buttons .btn.gold:focus-visible, .rb-reg-back:focus-visible { box-shadow: 0 0 0 3px rgba(194,157,95,.45); outline: 0; }
.rb-step-buttons .btn[disabled] { opacity: .6; cursor: default; }
.rb-reg-back { margin-right: auto; padding: 12px 18px 12px 12px; border: 1px solid #d8d2c6; border-radius: 6px; background: #fff; color: #2b2823; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.rb-reg-back .fa { margin-right: 6px; font-size: 16px; }
.rb-reg-back:hover { border-color: #c29d5f; color: #8c6a2f; }
.rb-register-done { padding: 26px 0 10px; text-align: center; }
.rb-register-done .fa { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: #c29d5f; color: #fff; font-size: 38px; box-shadow: 0 0 0 10px rgba(194,157,95,.18); }
.rb-register-done h2 { margin: 28px 0 10px; font-size: 30px; color: #1c1814; }
.rb-register-done p { margin: 0 0 28px; font-size: 16px; color: #4a4640; }
@media (max-width: 767px) {
    .rb-page .rb-register { padding: 36px 0 60px; }
    .rb-reg-head h1 { font-size: 32px; }
    .rb-reg-head .rb-reg-notice { border-radius: 10px; text-align: left; }
    .rb-reg-card { padding: 26px 18px 28px; }
    .rb-reg-split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .rb-step-name { font-size: 10.5px; letter-spacing: .06em; }
    .rb-register-form .form-control { font-size: 16px; } /* 16px stops phones zooming in on focus */
    .rb-step-buttons .btn.gold { min-width: 0; flex: 1 1 auto; }
}

/* ---------- mobile navigation (the theme's dl-menu was disabled on the old site) ---------- */
.rb-mobile-nav { display: none; }
@media (max-width: 1199px) {
    #header .navbar-collapse { display: none !important; }
    .rb-mobile-nav { display: block; float: right; margin-top: 34px; position: relative; }
    .resize-header .rb-mobile-nav { margin-top: 18px; }
    .rb-mobile-toggle { width: 44px; height: 40px; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.3); padding: 9px 10px; cursor: pointer; }
    .rb-mobile-toggle span { display: block; height: 2px; background: #fff; margin: 4px 0; }
    .rb-mobile-menu { display: none; position: absolute; right: 0; top: 48px; width: 280px; max-height: 75vh; overflow-y: auto;
        background: rgba(0,0,0,.95); list-style: none; padding: 8px 0; margin: 0; z-index: 2000; }
    .rb-mobile-nav.open .rb-mobile-menu { display: block; }
    .rb-mobile-menu li { position: relative; }
    .rb-mobile-menu a { display: block; padding: 10px 20px; color: #fff; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
    .rb-mobile-menu a:hover { color: #c29d5f; text-decoration: none; }
    .rb-mobile-menu ul { display: none; list-style: none; padding: 0 0 6px 14px; }
    .rb-mobile-menu li.sub-open > ul { display: block; }
    .rb-mobile-menu ul a { text-transform: none; padding: 6px 20px; font-size: 14px; }
    .rb-sub-toggle { position: absolute; right: 8px; top: 4px; background: none; border: 0; color: #fff; font-size: 20px; width: 36px; }
    /* the theme stops fixing the header to the top below 1200px, so pages need no top offset */
    .rb-page { padding-top: 0; }
    .rb-page > .page-title:first-child, .rb-page > .rb-notice + .page-title { margin-top: 0; }
    #header-wrapper.header-over-video { position: absolute; left: 0; right: 0; background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,0)); }
    .logo .rb-logo { width: 76px; height: 76px; }
}
@media (max-width: 1199px) {
    /* logo left, menu button right, on one row */
    #header .navbar.nav-left { display: flex; align-items: center; justify-content: space-between; min-height: 0; }
    #header .nav-left .navbar-header { float: none; width: auto; margin: 0; }
    #header .nav-left .navbar-header .logo { margin-left: 0; margin-right: 0; float: none; text-align: left; }
    .rb-mobile-nav, .resize-header .rb-mobile-nav { float: none; margin-top: 0; }
}
@media (max-width: 767px) {
    .logo { margin: 8px 0; }
    .logo .rb-logo { width: 64px; height: 64px; }
}
@media (max-width: 640px) {
    .rb-hero-copy h1 { font-size: 34px; }
}

/* ---------- header: room for the search box (desktop) ---------- */
@media (min-width: 1200px) {
    #header .navbar-default .navbar-nav > li > a { padding-left: 11px; padding-right: 11px; margin: 0 2px; }
}

/* ---------- Product menu: categories on the left, that category's machines with photos on the right ---------- */
#header .navbar-nav > li.rb-has-mega { position: static; }
.rb-caret { font-size: 12px; margin-left: 2px; transition: transform .25s; }
.rb-has-mega.rb-open .rb-caret { transform: rotate(180deg); }
.rb-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 2000; text-align: left; }
.rb-has-mega.rb-open .rb-mega { display: block; }
.rb-mega-inner { display: flex; max-height: calc(100vh - 150px); overflow: hidden; background: #14110e; border-top: 2px solid #c29d5f;
    border-radius: 0 0 12px 12px; box-shadow: 0 34px 60px -22px rgba(0,0,0,.8); }
.rb-mega ul { list-style: none; margin: 0; padding: 0; }
.rb-mega-cats { flex: 0 0 272px; padding: 8px 0 !important; background: #1c1814; overflow-y: auto; }
.rb-mega-cats li a { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 16px 6px 22px;
    color: #cfc8bc; font: 500 13px/1.3 'Montserrat', Arial, sans-serif; text-decoration: none; transition: color .2s, background-color .2s, padding-left .2s; }
.rb-mega-cats li a span { flex: none; min-width: 26px; padding: 2px 7px; border-radius: 10px; background: rgba(255,255,255,.08); color: #a89f92; font-size: 11px; text-align: center; transition: background-color .2s, color .2s; }
.rb-mega-cats li.on a { color: #fff; padding-left: 26px; background: linear-gradient(90deg, rgba(194,157,95,.24), rgba(194,157,95,0)); }
.rb-mega-cats li.on a::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 3px; border-radius: 0 3px 3px 0; background: #c29d5f; }
.rb-mega-cats li.on a span { background: #c29d5f; color: #14110e; }
.rb-mega-panels { flex: 1; min-width: 0; padding: 18px 24px 22px; overflow-y: auto; }
.rb-mega-panel { display: none; }
.rb-mega-panel.on { display: block; }
.rb-mega-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.rb-mega-head h4 { margin: 0; color: #fff; font: 400 22px/1.2 'Suranna', serif; text-transform: uppercase; letter-spacing: .5px; }
.rb-mega-head a { flex: none; color: #c29d5f; font: 700 12px 'Montserrat', Arial, sans-serif; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; }
.rb-mega-head a:hover { color: #f3dfb4; }
.rb-mega-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; }
.rb-mega-products a { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 8px; color: #e8e2d6;
    font: 500 12.5px/1.35 'Montserrat', Arial, sans-serif; text-decoration: none; transition: background-color .2s, color .2s, transform .25s; }
.rb-mega-products a:hover, .rb-mega-products a:focus-visible { background: rgba(255,255,255,.07); color: #f3dfb4; transform: translateX(3px); }
.rb-mega-thumb { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; background: #fff; overflow: hidden; }
.rb-mega-thumb img { max-width: 46px; max-height: 46px; object-fit: contain; transition: transform .35s; }
.rb-mega-products a:hover .rb-mega-thumb img { transform: scale(1.14); }

/* ---------- search box ---------- */
.rb-search { float: right; position: relative; margin: 52px 0 0 14px; }
.resize-header .rb-search { margin-top: 28px; }
.rb-search-open, .rb-search-close { display: none; }
#header .rb-search-form { position: relative; display: flex; align-items: center; width: 236px; height: 38px; margin: 0; padding: 0 12px 0 14px;
    border: 1px solid rgba(255,255,255,.38); border-radius: 19px; background: rgba(0,0,0,.38); transition: border-color .25s, background-color .25s, box-shadow .25s; }
#header .rb-search-form:focus-within { border-color: #c29d5f; background: rgba(0,0,0,.65); box-shadow: 0 0 0 3px rgba(194,157,95,.28); }
#header .rb-search-form > .fa-search { flex: none; margin-right: 9px; color: #c29d5f; font-size: 14px; }
#header .rb-search-input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; outline: 0;
    color: #fff; font: 400 13px 'Montserrat', Arial, sans-serif; }
#header .rb-search-input::placeholder { color: rgba(255,255,255,.7); opacity: 1; }
.rb-search-results { position: absolute; right: 0; top: calc(100% + 10px); z-index: 2100; width: 450px; max-height: min(70vh, 580px); overflow-y: auto; padding: 8px;
    background: #14110e; border: 1px solid rgba(194,157,95,.38); border-radius: 12px; box-shadow: 0 28px 54px -14px rgba(0,0,0,.8); text-align: left; }
.rb-search-results[hidden] { display: none; }
.rb-sr-group { display: flex; justify-content: space-between; padding: 9px 10px 5px; color: #c29d5f; font: 700 11px 'Montserrat', Arial, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }
.rb-sr-group span { color: #8f877b; letter-spacing: 0; }
.rb-sr-item { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 8px; color: #e8e2d6; text-decoration: none; transition: background-color .15s; }
.rb-sr-item:hover, .rb-sr-item.on { background: rgba(194,157,95,.18); color: #fff; text-decoration: none; }
.rb-sr-thumb { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 7px; background: #fff; overflow: hidden; }
.rb-sr-thumb img { max-width: 42px; max-height: 42px; object-fit: contain; }
.rb-sr-thumb.pdf { background: #2a211a; color: #e0584f; font-size: 20px; }
.rb-sr-text { min-width: 0; }
.rb-sr-text b { display: block; overflow: hidden; color: #fff; font: 600 13.5px/1.3 'Montserrat', Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.rb-sr-text small { display: block; overflow: hidden; color: #a89f92; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.rb-sr-text mark { padding: 0; background: none; color: #f3dfb4; }
.rb-sr-all { display: block; margin-top: 6px; padding: 11px 10px 8px; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 0 8px 8px; color: #c29d5f;
    font: 700 12px 'Montserrat', Arial, sans-serif; letter-spacing: 1px; text-align: center; text-transform: uppercase; text-decoration: none; }
.rb-sr-all:hover, .rb-sr-all.on { color: #f3dfb4; background: rgba(194,157,95,.12); text-decoration: none; }
.rb-sr-empty { padding: 18px 12px; color: #cfc8bc; font-size: 13.5px; }

/* below 1200px the box folds to an icon; tapping it opens a search bar across the top */
@media (max-width: 1199px) {
    .rb-search { float: none; margin: 0 10px 0 auto; position: static; }
    .rb-search-open { display: inline-grid; place-items: center; width: 44px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.3); color: #fff; font-size: 17px; cursor: pointer; }
    #header .rb-search-form { display: none; }
    #header .rb-search.open .rb-search-form { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 3500; width: auto; height: 64px; padding: 0 8px 0 18px;
        border: 0; border-bottom: 2px solid #c29d5f; border-radius: 0; background: #0d0b09; box-shadow: none; }
    #header .rb-search.open .rb-search-input { font-size: 16px; }
    .rb-search.open .rb-search-close { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; font-size: 20px; cursor: pointer; }
    .rb-search.open .rb-search-results { position: fixed; top: 64px; left: 0; right: 0; width: auto; max-height: calc(100vh - 64px); border-width: 0 0 1px; border-radius: 0 0 12px 12px; }
}

/* ---------- /search results page ---------- */
.rb-search-again { display: flex; gap: 10px; max-width: 560px; margin: 0 0 28px; }
.rb-search-again input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #cfc8bc; background: #fff; font-size: 15px; }
.rb-search-again .btn { padding: 0 26px; line-height: 44px; }
.rb-search-note { padding: 20px 0 60px; font-size: 16px; }
.rb-search-group { margin: 26px 0 16px; font-size: 22px; }
.rb-search-group span { margin-left: 6px; padding: 2px 9px; border-radius: 11px; background: #c29d5f; color: #fff; font: 700 12px 'Montserrat', Arial, sans-serif; vertical-align: middle; }
.rb-search-where { display: block; color: #8a8378; font-size: 12px; }
.rb-search-page #manuals { margin-bottom: 40px; }

/* ---------- scrollbars: slim gold on a dark track (page, Product menu, search results, pop-ups) ---------- */
html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: #14110e; }
html::-webkit-scrollbar-thumb { min-height: 48px; border: 3px solid #14110e; border-radius: 8px; background: linear-gradient(180deg, #f3dfb4, #c29d5f 45%, #8c6a2f); }
html::-webkit-scrollbar-thumb:hover { border-width: 2px; background: linear-gradient(180deg, #fff0cc, #d4af6e 45%, #a07a38); }
html::-webkit-scrollbar-corner { background: #14110e; }
.rb-mega-cats::-webkit-scrollbar, .rb-mega-panels::-webkit-scrollbar, .rb-search-results::-webkit-scrollbar,
.rb-drawer-body::-webkit-scrollbar, .rb-mobile-menu::-webkit-scrollbar { width: 8px; }
.rb-drawer-body::-webkit-scrollbar { width: 6px; }
.rb-mega-cats::-webkit-scrollbar-track, .rb-mega-panels::-webkit-scrollbar-track, .rb-search-results::-webkit-scrollbar-track,
.rb-drawer-body::-webkit-scrollbar-track, .rb-mobile-menu::-webkit-scrollbar-track { background: transparent; }
.rb-mega-cats::-webkit-scrollbar-thumb, .rb-mega-panels::-webkit-scrollbar-thumb, .rb-search-results::-webkit-scrollbar-thumb,
.rb-drawer-body::-webkit-scrollbar-thumb, .rb-mobile-menu::-webkit-scrollbar-thumb { border-radius: 4px; background: linear-gradient(180deg, #c29d5f, #8c6a2f); }
/* Firefox has no scrollbar parts to style, only colours */
@supports not selector(::-webkit-scrollbar) {
    html { scrollbar-color: #c29d5f #14110e; }
    .rb-mega-cats, .rb-mega-panels, .rb-search-results, .rb-drawer-body, .rb-mobile-menu { scrollbar-width: thin; scrollbar-color: #c29d5f transparent; }
}

/* ---------- text: a little darker than the theme's pale #777 grey, on the light page areas only ---------- */
/* :where() keeps these as weak as the theme's own "body/p/a" rules, so every coloured or dark-section rule still wins */
:where(main), :where(main) p, :where(main) li, :where(main) a, :where(main) label { color: #4a4640; }
.menu-sample h5 a { color: #2b2823; transition: color .2s; }
.menu-sample h5 a:hover, .sidbar-menu li:not(.active) a:hover { color: #8c6a2f; }
/* the products page's category list: the theme gives every link its hairline Montserrat-UltraLight, too faint to read */
.sidbar-menu .nav-link { font-family: 'Montserrat', Arial, sans-serif; font-weight: 400; }
.sidbar-menu li.active .nav-link { font-weight: 700; }

/* ---------- contact panel: the gold tab on the right edge opens a full-height panel over a dimmed page ---------- */
.feedback-form { position: static; min-height: 0; }
a.feedback-form-btn.btn {
    position: fixed; left: auto; right: 0; top: 50%; z-index: 990; transform: translateY(-50%);
    writing-mode: vertical-rl; padding: 20px 11px; border: 0; border-radius: 10px 0 0 10px;
    box-shadow: -6px 6px 22px -8px rgba(0,0,0,.55); text-decoration: none;
    transition: transform .4s cubic-bezier(.22,1,.36,1), padding .25s, box-shadow .25s;
}
.feedback-form-btn span { font-size: 13px; letter-spacing: .14em; font-weight: 600; line-height: 1.3; }
.feedback-form-btn:hover, .feedback-form-btn:focus-visible { padding-right: 17px; box-shadow: -10px 8px 28px -8px rgba(0,0,0,.6); }
.rb-drawer-open .feedback-form-btn { transform: translate(110%, -50%); }
html.rb-drawer-open { overflow: hidden; } /* one scrollbar only: the panel's own */

.rb-drawer-shade {
    position: fixed; inset: 0; z-index: 1090; background: rgba(12,10,8,.62); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
.rb-drawer-open .rb-drawer-shade { opacity: 1; visibility: visible; transition-delay: 0s; }

.rb-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100; width: 460px; max-width: 100vw;
    display: flex; flex-direction: column; color: #fff; outline: 0;
    background: #14110e; border-left: 1px solid rgba(194,157,95,.45); box-shadow: -30px 0 70px -20px rgba(0,0,0,.75);
    transform: translateX(104%); visibility: hidden;
    transition: transform .5s cubic-bezier(.22,1,.36,1), visibility 0s linear .5s;
}
.rb-drawer-open .rb-drawer { transform: none; visibility: visible; transition-delay: 0s; }

.rb-drawer-head {
    position: relative; flex: none; padding: 30px 76px 22px 32px;
    background: linear-gradient(135deg, #2a2118, #14110e 70%); border-bottom: 1px solid rgba(255,255,255,.08);
}
.rb-drawer-head::after { content: ''; position: absolute; left: 32px; bottom: -1px; width: 56px; height: 2px; background: #c29d5f; }
.rb-drawer-eyebrow { display: block; margin-bottom: 6px; color: #c29d5f; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.rb-drawer-head h3 { margin: 0 0 8px; color: #fff; font-size: 30px; line-height: 1.15; }
.rb-drawer-head p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.55; }
.rb-drawer-close {
    position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; padding: 0; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22); background: transparent; cursor: pointer;
    transition: border-color .25s, background-color .25s, transform .35s cubic-bezier(.22,1,.36,1);
}
.rb-drawer-close span::before, .rb-drawer-close span::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -1px 0 0 -8px; background: #fff; transform: rotate(45deg);
}
.rb-drawer-close span::after { transform: rotate(-45deg); }
.rb-drawer-close:hover, .rb-drawer-close:focus-visible { border-color: #c29d5f; background: rgba(194,157,95,.16); transform: rotate(90deg); outline: 0; }

.rb-drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 32px 30px; }
.rb-drawer [hidden] { display: none !important; }
.rb-drawer-product {
    display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 12px;
    border: 1px solid rgba(194,157,95,.38); border-radius: 10px; background: linear-gradient(135deg, rgba(194,157,95,.14), rgba(255,255,255,.03));
}
.rb-drawer-thumb { flex: none; display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; padding: 6px; border-radius: 8px; background: #fff; color: #c29d5f; font-size: 30px; }
.rb-drawer-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rb-drawer-ptext { min-width: 0; }
.rb-drawer-ptext small { display: block; margin-bottom: 4px; color: #c29d5f; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.rb-drawer-ptext b { display: block; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.35; text-transform: uppercase; letter-spacing: .03em; overflow-wrap: anywhere; }
.rb-drawer-ptext em { display: block; margin-top: 3px; color: rgba(255,255,255,.6); font-size: 13px; font-style: normal; }
.rb-drawer form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 12px; margin: 0; }
.rb-drawer .form-group { grid-column: span 6; margin: 0; min-width: 0; }
.rb-drawer .form-group:has([name="Name"]), .rb-drawer .form-group:has([name="Phone"]) { grid-column: span 3; }
.rb-drawer .form-group:has([name="City"]), .rb-drawer .form-group:has([name="State"]), .rb-drawer .form-group:has([name="Zip"]) { grid-column: span 2; }
.rb-drawer label { display: block; margin: 0 0 6px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.rb-drawer .form-group:focus-within label { color: #e2c48d; }
.rb-drawer .custom-inp, .rb-drawer .custom-inp-txt {
    display: block; width: 100%; height: 46px; padding: 0 14px; color: #fff; font-size: 15px;
    border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: rgba(255,255,255,.055);
}
.rb-drawer .custom-inp-txt { height: 104px; padding: 11px 14px; line-height: 1.5; resize: vertical; }
.rb-drawer .custom-inp:hover, .rb-drawer .custom-inp-txt:hover { border-color: rgba(255,255,255,.32); }
.rb-drawer .custom-inp:focus, .rb-drawer .custom-inp-txt:focus { border-color: #c29d5f; background: rgba(255,255,255,.09); box-shadow: 0 0 0 3px rgba(194,157,95,.24); outline: 0; }
.rb-drawer .custom-inp:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px #2a241c inset; caret-color: #fff; }
.rb-drawer .custom-inp, .rb-drawer .custom-inp-txt { color-scheme: dark; } /* light arrow on the Product suggestions, dark autofill */
.rb-drawer form > button.btn { grid-column: span 6; width: 100%; margin-top: 6px; padding: 16px 20px; border: 0; border-radius: 6px; }
.rb-drawer form > button.btn span { font-size: 13px; font-weight: 600; letter-spacing: .16em; }
.rb-drawer form > button.btn span::after { content: '\f178'; font-family: FontAwesome; font-weight: normal; margin-left: 12px; display: inline-block; transition: transform .25s; }
.rb-drawer form > button.btn:hover span::after { transform: translateX(5px); }
.rb-drawer-note { margin: 18px 0 0; color: rgba(255,255,255,.5); font-size: 12.5px; line-height: 1.6; text-align: center; }
.rb-drawer-note a { display: block; margin-top: 4px; color: #e2c48d; }
.rb-drawer-note a:hover { color: #fff; text-decoration: none; }
@media (max-width: 520px) {
    .rb-drawer { width: 100vw; border-left: 0; }
    .rb-drawer-head { padding: 22px 70px 18px 20px; }
    .rb-drawer-head::after { left: 20px; }
    .rb-drawer-head h3 { font-size: 26px; }
    .rb-drawer-close { top: 18px; right: 16px; }
    .rb-drawer-body { padding: 20px 20px 26px; }
    .rb-drawer .custom-inp, .rb-drawer .custom-inp-txt { font-size: 16px; } /* 16px stops phones zooming in on focus */
    .feedback-form-btn { padding: 16px 9px; }
    .feedback-form-btn span { font-size: 12px; }
}
/* product cards: all cards in a row are the same height, the name is smaller, "Send Inquiry" sits at the bottom of every card */
.rb-cards { display: flex; flex-wrap: wrap; }
.rb-cards::before, .rb-cards::after { display: none; }
.rb-cards > .menu-package { display: flex; float: none; }
.rb-cards .product-list { display: flex; width: 100%; height: auto; }
.rb-cards .product-list figure { display: flex; flex-direction: column; width: 100%; margin: 0; }
.rb-cards .product-list .menu-image { flex: none; height: 220px; min-height: 0; }
.rb-cards .product-list.menu-sample.style-2 figcaption { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; padding: 14px 4px 6px; }
.rb-cards .product-list .custom-heading { width: 100%; min-height: 0; margin: 0 0 14px; }
.rb-cards .product-list h5 { margin: 0; font-size: 14px; line-height: 1.5; letter-spacing: .03em; }
.rb-cards .product-list a.more-details { margin-top: auto; font-size: 16px; letter-spacing: .04em; }
.rb-cards .rb-search-where { margin-top: -8px; }
@media (max-width: 767px) { .rb-cards > .menu-package { width: 100%; } }

/* ---------- About page (its text is edited in Admin > Pages > About; these classes are its layout) ---------- */
.rb-page .rb-page-about { padding-top: 0; }
.rb-about { padding: 84px 0; background: #fff; }
.rb-about.rb-about-tint { background: #f6f3ee; }
.rb-about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 68px; align-items: center; }
.rb-about-flip .rb-about-text { order: 2; }
.rb-about-eyebrow { display: block; margin-bottom: 4px; font-family: 'Montez', cursive; font-size: 34px; line-height: 1.1; color: #b3894a; }
.rb-about h1, .rb-about h2 { position: relative; margin: 0 0 30px; padding-bottom: 20px; font-size: 40px; line-height: 1.15; color: #1c1814; }
.rb-about h1::after, .rb-about h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; background: linear-gradient(90deg, #c29d5f, #e2c48d); }
.rb-about-text p { margin: 0 0 18px; font-size: 16px; line-height: 1.85; color: #4a4640; }
.rb-about-text .rb-about-quote { margin-bottom: 22px; padding-left: 20px; border-left: 3px solid #c29d5f; font-family: 'Suranna', serif; font-size: 25px; line-height: 1.4; color: #6b5330; }
.rb-about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 30px !important; }
.rb-about-actions .btn { padding: 14px 26px; }
.rb-about-actions .more-details { margin-top: 0; font-size: 17px; }
.rb-about-figure { position: relative; margin: 0; }
.rb-about-figure::before { content: ''; position: absolute; top: -16px; right: -16px; width: 46%; height: 52%; border-top: 2px solid #c29d5f; border-right: 2px solid #c29d5f; border-radius: 0 12px 0 0; pointer-events: none; }
.rb-about-flip .rb-about-figure::before { right: auto; left: -16px; border-right: 0; border-left: 2px solid #c29d5f; border-radius: 12px 0 0 0; }
.rb-about-figure img { position: relative; display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 26px 60px -30px rgba(28,24,20,.5), 0 0 0 1px rgba(28,24,20,.07); }
.rb-about-figure figcaption { margin-top: 16px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8a8378; }
.rb-about-photos { display: grid; grid-template-columns: repeat(12, 1fr); }
.rb-about-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 26px 60px -30px rgba(28,24,20,.6); }
.rb-about-photos img:first-child { grid-column: 1 / 10; grid-row: 1; }
.rb-about-photos img:last-child { grid-column: 6 / 13; grid-row: 1; margin-top: 46%; border: 6px solid #fff; }

.rb-about-facts { padding: 46px 0; background: linear-gradient(135deg, #2a2118, #14110e 70%); }
.rb-about-facts ul { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.rb-about-facts li { padding: 4px 34px; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.rb-about-facts li:first-child { border-left: 0; }
.rb-about-facts b { display: block; font-family: 'Suranna', serif; font-size: 54px; font-weight: normal; line-height: 1.1; color: #e2c48d; }
.rb-about-facts span { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.74); }

.rb-about-head { margin-bottom: 44px; text-align: center; }
.rb-about-head h2 { margin-bottom: 0; }
.rb-about-head h2::after { left: 50%; margin-left: -32px; }
.rb-about-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.rb-about-card { padding: 34px 36px 30px; border-top: 3px solid #c29d5f; border-radius: 10px; background: #fff; box-shadow: 0 22px 50px -30px rgba(28,24,20,.45); }
.rb-about-card h3 { margin: 0 0 18px; font-size: 26px; color: #1c1814; }
.rb-about-card address { position: relative; margin: 0 0 22px; padding-left: 30px; font-size: 16px; font-style: normal; line-height: 1.7; color: #2b2823; }
.rb-about-card address .fa { position: absolute; left: 2px; top: 4px; font-size: 20px; color: #c29d5f; }
.rb-about-card dl { margin: 0; }
.rb-about-card dt { margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #b3894a; }
.rb-about-card dd { margin: 4px 0 0; font-size: 15px; line-height: 1.7; color: #4a4640; }
.rb-about-card a { color: #2b2823; border-bottom: 1px solid rgba(194,157,95,.55); transition: color .2s, border-color .2s; }
.rb-about-card a:hover { color: #8c6a2f; border-color: #8c6a2f; text-decoration: none; }
@media (max-width: 991px) {
    .rb-about { padding: 56px 0; }
    .rb-about-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .rb-about-flip .rb-about-text { order: 0; }
    .rb-about h1, .rb-about h2 { font-size: 32px; }
    .rb-about-figure::before { display: none; }
    .rb-about-photos img:last-child { margin-top: 40%; }
}
@media (max-width: 640px) {
    .rb-about-facts ul { grid-template-columns: minmax(0, 1fr); }
    .rb-about-facts li { padding: 16px 10px; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .rb-about-facts li:first-child { border-top: 0; }
    .rb-about-facts b { font-size: 44px; }
    .rb-about-cards { grid-template-columns: minmax(0, 1fr); }
    .rb-about-card { padding: 26px 22px; }
    .rb-about-text .rb-about-quote { font-size: 21px; }
}

/* ---------- Contact page: the form in a card beside a dark "Talk to us" panel; showroom cards as on the About page ---------- */
.rb-contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 30px; align-items: start; max-width: 1040px; margin: 0 auto; }
.rb-contact-card { padding: 36px 40px 40px; border-top: 3px solid #c29d5f; border-radius: 12px; background: #fff; box-shadow: 0 30px 70px -40px rgba(28,24,20,.5); }
.rb-contact-card h2, .rb-contact-info h2 { margin: 0 0 24px; font-size: 26px; color: #1c1814; }
.rb-contact-form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 16px; margin: 0; }
.rb-contact-form .form-group { grid-column: span 6; min-width: 0; margin: 0; }
.rb-contact-form .form-group:has([name="Name"]), .rb-contact-form .form-group:has([name="Phone"]) { grid-column: span 3; }
.rb-contact-form .form-group:has([name="City"]), .rb-contact-form .form-group:has([name="State"]), .rb-contact-form .form-group:has([name="Zip"]) { grid-column: span 2; }
.rb-contact-form label { display: block; margin: 0 0 6px; color: #2b2823; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.rb-contact-form .custom-inp, .rb-contact-form .custom-inp-txt {
    display: block; width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d8d2c6; border-radius: 6px; background: #fdfcfa; color: #1c1814; font-size: 15px;
}
.rb-contact-form .custom-inp-txt { height: 130px; padding: 11px 14px; line-height: 1.5; resize: vertical; }
.rb-contact-form .custom-inp:hover, .rb-contact-form .custom-inp-txt:hover { border-color: #bfb6a5; }
.rb-contact-form > button.btn { grid-column: span 6; justify-self: start; min-width: 220px; margin-top: 6px; padding: 16px 30px; border: 0; border-radius: 6px; }
.rb-contact-form > button.btn span { font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.rb-contact-form > button.btn span::after { content: '\f178'; font-family: FontAwesome; font-weight: normal; margin-left: 12px; display: inline-block; transition: transform .25s; }
.rb-contact-form > button.btn:hover span::after { transform: translateX(5px); }
.rb-contact-info { padding: 36px 34px 30px; border-radius: 12px; background: linear-gradient(150deg, #2a2118, #14110e 72%); color: #fff; box-shadow: 0 30px 70px -40px rgba(28,24,20,.8); }
.rb-contact-info h2 { color: #fff; }
.rb-contact-line { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); color: #fff; }
.rb-contact-line .fa { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(194,157,95,.55); border-radius: 50%; color: #e2c48d; font-size: 17px; transition: background-color .25s, color .25s; }
.rb-contact-line span { min-width: 0; }
.rb-contact-line small { display: block; color: #c29d5f; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.rb-contact-line b { display: block; margin-top: 3px; color: #fff; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.rb-contact-line em { display: block; margin-top: 2px; color: rgba(255,255,255,.66); font-size: 14px; font-style: normal; }
a.rb-contact-line:hover, a.rb-contact-line:focus { color: #fff; text-decoration: none; }
a.rb-contact-line:hover .fa, a.rb-contact-line:focus .fa { background: #c29d5f; color: #14110e; }
.rb-contact-links { margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.1); list-style: none; }
.rb-contact-links li { margin: 0 0 8px; }
.rb-contact-links a { color: #e2c48d; font-size: 14px; }
.rb-contact-links a:hover { color: #fff; text-decoration: none; }
.rb-contact-links .fa { margin-left: 4px; transition: transform .25s; }
.rb-contact-links a:hover .fa { transform: translateX(4px); }
.rb-about-card .rb-directions { display: inline-block; margin-top: 22px; padding: 9px 16px; border: 1px solid #d8d2c6; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rb-about-card .rb-directions:hover { border-color: #c29d5f; }
.rb-about-card .rb-directions .fa { margin-right: 6px; color: #c29d5f; }
.rb-about:not(.rb-about-tint) .rb-about-card { border: 1px solid #eee8dd; border-top: 3px solid #c29d5f; }
@media (min-width: 1200px) { .rb-contact-info { position: sticky; top: 104px; } } /* stays in view beside the long form */
@media (max-width: 991px) {
    .rb-contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .rb-page .rb-contact, .rb-page .rb-gallery, .rb-page .rb-videos { padding: 36px 0 60px; }
    .rb-contact-card { padding: 26px 18px 28px; }
    .rb-contact-info { padding: 28px 20px 22px; }
    .rb-contact-form .custom-inp, .rb-contact-form .custom-inp-txt { font-size: 16px; } /* 16px stops phones zooming in on focus */
    .rb-contact-form > button.btn { justify-self: stretch; }
}
/* the Contact page already is the form, so the side "Contact Us" tab is not shown there */
main:has(.rb-contact) ~ #feedback-form .feedback-form-btn { display: none; }

/* ---------- Gallery page: heading, album buttons with photo counts, photo grid with captions, showroom band.
   (The round buttons and the dark band at the bottom are also used on the Videos page.)
   site.js swaps albums and opens the photo viewer; the first photo on show is the large one. ---------- */
.rb-gal-wrap { width: min(1480px, 100% - 112px); margin: 0 auto; }
.rb-gal-empty { text-align: center; font-size: 16px; color: #4a4640; }
.rb-gal-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.rb-gal-filters li { margin: 0; padding: 0; }
.rb-gal-filters a {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 9px 8px 20px; border: 1px solid #ddd5c6; border-radius: 999px;
    background: #fff; color: #2b2823; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none;
    transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s;
}
.rb-gal-filters a span { min-width: 30px; padding: 3px 8px; border-radius: 999px; background: #f1ebdf; color: #6b4d16; font-size: 12px; font-weight: 700; line-height: 1.5; text-align: center; transition: background-color .25s, color .25s; }
.rb-gal-filters a:hover { border-color: #c29d5f; color: #1c1814; transform: translateY(-1px); }
.rb-gal-filters a.active { border-color: #1c1814; background: #1c1814; color: #f0d9ad; box-shadow: 0 14px 24px -16px rgba(28,24,20,.9); transform: none; }
.rb-gal-filters a.active span { background: linear-gradient(135deg, #e2c48d, #c29d5f); color: #1c1814; }
.rb-gal-filters a:focus-visible { outline: 2px solid #c29d5f; outline-offset: 3px; }

.rb-gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; margin: 0; padding: 0; list-style: none; }
.rb-gal-item { position: relative; aspect-ratio: 3 / 2; min-height: 0; margin: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #e7e0d3; box-shadow: 0 18px 34px -26px rgba(28,24,20,.75); }
.rb-gal-item[hidden] { display: none; }
.rb-gal-photo { position: absolute; inset: 0; display: block; color: #fff; }
.rb-gal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.rb-gal-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,0) 42%, rgba(20,17,14,.86)); opacity: 0; transition: opacity .35s; }
.rb-gal-cap { position: absolute; left: 18px; right: 18px; bottom: 15px; z-index: 1; display: flex; flex-direction: column; gap: 3px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.rb-gal-item .rb-gal-cap small { color: #e2c48d; font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.rb-gal-cap b { color: #fff; font-family: 'Suranna', serif; font-size: 19px; font-weight: 400; line-height: 1.25; }
.rb-gal-zoom { position: absolute; right: 14px; top: 14px; z-index: 1; width: 38px; height: 38px; border: 1px solid rgba(226,196,141,.75); border-radius: 50%; background: rgba(20,17,14,.55); color: #e2c48d; font-size: 14px; line-height: 36px; text-align: center; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s; }
.rb-gal-photo:hover img, .rb-gal-photo:focus-visible img { transform: scale(1.07); }
.rb-gal-photo:hover::after, .rb-gal-photo:focus-visible::after { opacity: 1; }
.rb-gal-photo:hover .rb-gal-cap, .rb-gal-photo:focus-visible .rb-gal-cap { opacity: 1; transform: none; }
.rb-gal-photo:hover .rb-gal-zoom, .rb-gal-photo:focus-visible .rb-gal-zoom { opacity: 1; transform: none; }
.rb-gal-photo:focus-visible { outline: 3px solid #c29d5f; outline-offset: -3px; }
/* touch screens have no hover: photos that have a title of their own always show it */
@media (hover: none) {
    .rb-gal-photo:has(.rb-gal-cap b)::after { opacity: .75; }
    .rb-gal-cap:has(b) { opacity: 1; transform: none; }
}
/* the first photo on show is twice the size (only when the album has enough photos to fill the rows beside it) */
@media (min-width: 768px) {
    .rb-gal-item:nth-child(1 of :not([hidden])):not(:nth-last-child(-n+4 of :not([hidden]))) { grid-column: span 2; grid-row: span 2; align-self: stretch; aspect-ratio: auto; }
    .rb-gal-item:nth-child(1 of :not([hidden])):not(:nth-last-child(-n+4 of :not([hidden]))) .rb-gal-cap b { font-size: 26px; }
    .rb-gal-item:nth-child(1 of :not([hidden])):not(:nth-last-child(-n+4 of :not([hidden]))) .rb-gal-cap { left: 26px; bottom: 22px; }
}

.rb-gal-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1040px; margin: 70px auto 0; padding: 36px 44px; border-radius: 12px; background: linear-gradient(135deg, #2a2118, #14110e 70%); box-shadow: 0 30px 60px -36px rgba(28,24,20,.9); }
.rb-gal-cta .rb-about-eyebrow { font-size: 28px; color: #e2c48d; }
.rb-gal-cta h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.2; color: #fff; }
.rb-gal-cta p { margin: 0; font-size: 15px; line-height: 1.6; color: #cfc8bb; }
.rb-gal-cta-links { display: flex; flex: none; flex-direction: column; align-items: center; gap: 14px; }
.rb-gal-cta .btn.gold { min-width: 200px; margin: 0; padding: 15px 28px; border: 0; border-radius: 6px; }
.rb-gal-cta .btn.gold span { font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.rb-gal-cta .btn.gold:hover, .rb-gal-cta .btn.gold:focus { background-color: #f3cd85; outline: 0; }
.rb-gal-cta-more { color: #e2c48d; font-size: 14px; font-weight: 600; }
.rb-gal-cta-more:hover, .rb-gal-cta-more:focus { color: #fff; text-decoration: none; }
.rb-gal-cta-more .fa { margin-left: 4px; transition: transform .25s; }
.rb-gal-cta-more:hover .fa { transform: translateX(4px); }

@media (max-width: 1199px) {
    .rb-gal-wrap { width: min(1480px, 100% - 60px); }
    .rb-gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .rb-gal-wrap { width: calc(100% - 28px); }
    .rb-gal-filters { gap: 8px; margin-bottom: 24px; }
    .rb-gal-filters a { padding: 7px 8px 7px 16px; font-size: 13px; }
    .rb-gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .rb-gal-item { border-radius: 8px; }
    .rb-gal-item:nth-child(1 of :not([hidden])) { grid-column: span 2; aspect-ratio: 16 / 9; }
    .rb-gal-cap { left: 12px; right: 12px; bottom: 10px; }
    .rb-gal-item .rb-gal-cap small { font-size: 10px; letter-spacing: .1em; }
    .rb-gal-item .rb-gal-cap small:not(:only-child) { display: none; } /* small tiles: the title alone */
    .rb-gal-cap b { font-size: 15px; }
    .rb-gal-item:nth-child(1 of :not([hidden])) .rb-gal-cap b { font-size: 19px; }
    .rb-gal-zoom { display: none; }
    .rb-gal-cta { flex-direction: column; align-items: stretch; margin-top: 44px; padding: 30px 22px; text-align: center; }
    .rb-gal-cta h2 { font-size: 24px; }
}

/* photo viewer (gallery and product photos): darker backdrop, serif caption, gold counter */
.rb-mfp.mfp-bg { background: #14110e; }
.rb-mfp .mfp-title { padding-right: 70px; font-family: 'Suranna', serif; font-size: 18px; line-height: 1.4; color: #f3ead9; }
.rb-mfp .mfp-counter { color: #e2c48d; font-size: 13px; letter-spacing: .08em; }
.rb-mfp img.mfp-img { border-radius: 0; }

/* ---------- Videos page: cards with the video's picture and a gold play button (the player loads on click, site.js);
   the first group is two large cards, later groups three across; videos hosted elsewhere are a list of links ---------- */
.rb-vid-wrap { width: min(1240px, 100% - 112px); margin: 0 auto; }
.rb-vid-section { margin-top: 56px; scroll-margin-top: 150px; }
.rb-vid-wrap > .rb-vid-section:first-of-type { margin-top: 0; }
.rb-vid-head { display: flex; align-items: baseline; gap: 18px; margin: 0 0 26px; }
.rb-vid-head h2 { margin: 0; font-size: 30px; line-height: 1.2; color: #1c1814; }
.rb-vid-head::after { content: ''; flex: 1; order: 1; height: 1px; background: linear-gradient(90deg, #c29d5f, rgba(194,157,95,0)); }
.rb-vid-head span { order: 2; color: #6b4d16; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.rb-vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 24px; }
.rb-vid-grid.rb-vid-big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.rb-vid-card { display: flex; flex-direction: column; border: 1px solid #ece6da; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 22px 44px -30px rgba(28,24,20,.55); transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s; }
.rb-vid-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(28,24,20,.8); }
.rb-vid-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #14110e; }
.rb-vid-frame iframe, .rb-vid-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.rb-vid-play { position: absolute; inset: 0; display: block; }
.rb-vid-play img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.rb-vid-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.05) 40%, rgba(20,17,14,.55)); transition: background-color .3s; }
.rb-vid-btn { position: absolute; left: 50%; top: 50%; z-index: 1; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: linear-gradient(135deg, #f3d9a4, #c29d5f); box-shadow: 0 0 0 8px rgba(255,255,255,.18), 0 14px 28px -10px rgba(0,0,0,.8); color: #1c1814; font-size: 20px; line-height: 62px; text-align: center; transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s; }
.rb-vid-btn .fa { margin-left: 4px; }
.rb-vid-big .rb-vid-btn { width: 78px; height: 78px; margin: -39px 0 0 -39px; font-size: 25px; line-height: 78px; }
.rb-vid-card:hover .rb-vid-play img, .rb-vid-play:focus-visible img { transform: scale(1.05); }
.rb-vid-card:hover .rb-vid-btn, .rb-vid-play:focus-visible .rb-vid-btn { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(255,255,255,.22), 0 14px 28px -10px rgba(0,0,0,.8); }
.rb-vid-play:focus-visible { outline: 3px solid #c29d5f; outline-offset: -3px; }
.rb-vid-frame.playing .rb-vid-play { visibility: hidden; }
.rb-vid-card .rb-vid-title { margin: 0; padding: 16px 20px 18px; border-top: 3px solid #c29d5f; color: #1c1814; font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.45; text-transform: none; }
.rb-vid-big .rb-vid-card .rb-vid-title { padding: 20px 24px 22px; font-family: 'Suranna', serif; font-size: 22px; font-weight: 400; }

.rb-vid-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.rb-vid-grid + .rb-vid-links { margin-top: 26px; }
.rb-vid-links li { margin: 0; padding: 0; }
.rb-vid-links a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 16px 20px; border: 1px solid #e9e2d5; border-left: 3px solid #c29d5f; border-radius: 10px; background: #fff; text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s; }
.rb-vid-links a:hover, .rb-vid-links a:focus-visible { border-color: #c29d5f; box-shadow: 0 18px 30px -24px rgba(28,24,20,.8); transform: translateX(4px); outline: 0; }
.rb-vid-dot { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #1c1814; color: #e2c48d; font-size: 14px; line-height: 42px; text-align: center; transition: background-color .25s, color .25s; }
.rb-vid-dot .fa { margin-left: 3px; }
.rb-vid-links a:hover .rb-vid-dot { background: #c29d5f; color: #1c1814; }
.rb-vid-ltext { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rb-vid-links .rb-vid-ltext b { color: #1c1814; font-size: 15px; font-weight: 600; line-height: 1.4; }
.rb-vid-links .rb-vid-ltext small { color: #6b4d16; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rb-vid-ltext small .fa { margin-left: 4px; font-size: 11px; }

@media (max-width: 1199px) {
    .rb-vid-wrap { width: min(1240px, 100% - 60px); }
    .rb-vid-section { scroll-margin-top: 24px; }
}
@media (max-width: 991px) {
    .rb-vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .rb-vid-wrap { width: calc(100% - 28px); }
    .rb-vid-section { margin-top: 40px; }
    .rb-vid-grid, .rb-vid-grid.rb-vid-big, .rb-vid-links { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .rb-vid-links { gap: 10px; }
    .rb-vid-head { flex-wrap: wrap; gap: 4px 14px; margin-bottom: 18px; }
    .rb-vid-head h2 { font-size: 24px; }
    .rb-vid-big .rb-vid-card .rb-vid-title { padding: 16px 18px 18px; font-size: 19px; }
    .rb-vid-big .rb-vid-btn { width: 62px; height: 62px; margin: -31px 0 0 -31px; font-size: 20px; line-height: 62px; }
}

/* footer: phone numbers and e-mail addresses are links, in the footer's own colours */
#footer-wrapper .contact-info-list a { color: inherit; transition: color .2s; }
#footer-wrapper .contact-info-list a:hover, #footer-wrapper .contact-info-list a:focus { color: #e2c48d; text-decoration: none; }

/* ---------- product page: path line with Prev / Next; on a white page, one framed card (photo left; category, name, feature list and
   buttons right; spec sheets across the bottom); then the other machines of the category.
   The photo (.post-media), the list (.post-body) and .spec-sheets are the stored description: its wrappers are
   "display: contents", so those pieces take their places in the card's grid beside the heading and the buttons. ---------- */
.rb-page .rb-product { padding: 34px 0 90px; background: #fff; }
.rb-prod-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.rb-prod-path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; color: #6f6a61; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.rb-prod-path a { color: #6b4d16; }
.rb-prod-path a:hover, .rb-prod-path a:focus { color: #1c1814; text-decoration: none; }
.rb-prod-path .fa { color: #c29d5f; font-size: 12px; }
.rb-prod-path span { color: #1c1814; }
.rb-prod-step { display: flex; gap: 8px; }
.rb-prod-step a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid #ddd5c6; border-radius: 999px; background: #fff; color: #2b2823; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: border-color .25s, background-color .25s, color .25s; }
.rb-prod-step a:hover, .rb-prod-step a:focus { border-color: #1c1814; background: #1c1814; color: #f0d9ad; text-decoration: none; }

/* rows: "min-content" and not "auto" for the heading and the list, or a long description leaves a blank band above the spec sheets */
.rb-prod-card {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: min-content min-content 1fr auto; column-gap: 52px;
    grid-template-areas: "media head" "media body" "media actions" "specs specs";
    padding: 40px 44px 44px; border: 1px solid #ebe4d7; border-top: 3px solid #c29d5f; border-radius: 12px; background: #fff; box-shadow: 0 34px 70px -46px rgba(28,24,20,.5);
}
.rb-prod-card .product-detail, .rb-prod-card .product-detail > .row { display: contents; }
.rb-prod-card .product-detail > .row::before, .rb-prod-card .product-detail > .row::after { display: none; }
.rb-prod-card .product-detail > .row > * { float: none; width: auto; min-height: 0; padding: 0; grid-column: 1 / -1; }
.rb-prod-card .product-detail > .row > .post-media { grid-area: media; align-self: start; display: flex; align-items: center; justify-content: center; min-height: 380px; padding: 26px; border: 1px solid #f0ebe1; border-radius: 10px; background: #fff; }
.rb-prod-card .post-media [class*="col-"] { float: none; width: auto; padding: 0; }
.rb-prod-card .post-media img { display: block; width: auto !important; height: auto !important; max-width: 100%; max-height: 460px; margin: 0 auto; cursor: zoom-in; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.rb-prod-card .post-media img:hover { transform: scale(1.03); }
.rb-prod-card .post-media img:focus-visible { outline: 3px solid #c29d5f; outline-offset: 6px; }
/* a second "photo" block that holds text instead (one machine has that) is the description */
.rb-prod-card .product-detail > .row > .post-body, .rb-prod-card .product-detail > .row > .post-media ~ .post-media { grid-area: body; display: block; min-height: 0; padding: 0; border: 0; }

.rb-prod-head { grid-area: head; }
.rb-prod-cat { display: inline-block; margin-bottom: 10px; color: #8c6a2f; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.rb-prod-cat:hover, .rb-prod-cat:focus { color: #1c1814; text-decoration: none; }
.rb-prod-head .rb-product-name { position: relative; margin: 0 0 24px; padding-bottom: 20px; font-size: 34px; line-height: 1.18; color: #1c1814; }
.rb-prod-head .rb-product-name::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; background: linear-gradient(90deg, #c29d5f, #e2c48d); }
.rb-prod-intro { margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: #4a4640; }

.rb-prod-card .post-body { color: #3d3a35; font-size: 15px; line-height: 1.6; }
.rb-prod-card .post-body ul { margin: 0 0 6px; padding: 0; list-style: none; }
.rb-prod-card .post-body ul:has(li:nth-child(9)) { columns: 2; column-gap: 34px; }
.rb-prod-card .post-body li { position: relative; margin: 0; padding: 7px 0 7px 32px; break-inside: avoid; color: #3d3a35; }
.rb-prod-card .post-body li::before { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: #f6efe3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c6a2f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rb-prod-card .post-body li span, .rb-prod-card .post-body p span { color: inherit; }
.rb-prod-card .post-body h4, .rb-prod-card .post-body h5 { margin: 20px 0 6px; color: #8c6a2f; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.rb-prod-card .post-body p, .rb-prod-card .post-media ~ .post-media p { margin: 0 0 14px; font-size: 15px; line-height: 1.75; color: #4a4640; }

.rb-prod-actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; padding-top: 26px; border-top: 1px solid #eee8dd; }
.rb-prod-actions .btn.gold { min-width: 190px; margin: 0; padding: 15px 28px; border: 0; border-radius: 6px; }
.rb-prod-actions .btn.gold span { font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.rb-prod-actions .btn.gold:hover, .rb-prod-actions .btn.gold:focus { background-color: #f3cd85; outline: 0; }
.rb-prod-call { display: inline-flex; align-items: center; gap: 12px; color: #1c1814; font-size: 17px; font-weight: 600; line-height: 1.25; }
.rb-prod-call:hover, .rb-prod-call:focus { color: #8c6a2f; text-decoration: none; }
.rb-prod-call .fa { width: 42px; height: 42px; border-radius: 50%; background: #1c1814; color: #e2c48d; font-size: 17px; line-height: 42px; text-align: center; }
.rb-prod-actions .rb-prod-call span { display: flex; flex-direction: column; color: inherit; }
.rb-prod-call small { color: #6f6a61; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rb-prod-jump { margin-left: auto; color: #6b4d16; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rb-prod-jump:hover, .rb-prod-jump:focus { color: #1c1814; text-decoration: none; }
.rb-prod-jump .fa { margin-left: 4px; }

/* spec sheets: a card per PDF */
.rb-prod-card .product-detail > .row > .spec-sheets { grid-area: specs; margin-top: 40px; padding-top: 34px; border-top: 1px solid #eee8dd; scroll-margin-top: 140px; }
.rb-prod-card .spec-sheets > .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin: 0; }
.rb-prod-card .spec-sheets > .row::before, .rb-prod-card .spec-sheets > .row::after { display: none; }
.rb-prod-card .spec-sheets .custom-heading { grid-column: 1 / -1; margin: 0 0 8px; padding: 0; text-align: left; }
.rb-prod-card .spec-sheets .custom-heading h3 { margin: 0; font-size: 24px; line-height: 1.2; color: #1c1814; }
.rb-prod-card .spec-sheets .custom-heading .divider { display: none; }
.rb-prod-card .spec-sheets [class*="col-"] { position: relative; float: none; width: auto; min-height: 0; padding: 18px 12px 14px; border: 1px solid #ece6da; border-radius: 10px; background: #fdfcfa; text-align: center; transition: border-color .25s, box-shadow .25s, transform .25s; }
.rb-prod-card .spec-sheets [class*="col-"]:has(a):hover { border-color: #c29d5f; box-shadow: 0 18px 30px -22px rgba(28,24,20,.7); transform: translateY(-4px); }
.rb-prod-card .spec-sheets [class*="col-"]:has(a[href$=".pdf"])::before { content: 'PDF'; position: absolute; left: 10px; top: 10px; z-index: 1; padding: 2px 7px; border-radius: 4px; background: #1c1814; color: #e2c48d; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.rb-prod-card .spec-sheets [class*="col-"]:not(:has(a, img)) { display: none; }
/* stored descriptions are not all tidy: a spec block without one link is left out, one without its heading gets it,
   and an empty feature list takes no room */
.rb-prod-card .spec-sheets:not(:has(a)), .rb-prod-card .post-body ul:not(:has(li)), .rb-prod-card .post-body:not(:has(li, p, h4, h5)) { display: none !important; }
.rb-prod-card .product-detail > .row > .spec-sheets:not(:has(.custom-heading)) > .row::before { content: 'Spec Sheets'; display: block; grid-column: 1 / -1; margin: 0 0 8px; font-family: 'Suranna', serif; font-size: 24px; line-height: 1.2; color: #1c1814; text-transform: uppercase; }
.rb-prod-card .spec-sheets p { margin: 0; }
.rb-prod-card .spec-sheets p + p { margin-top: 10px; }
.rb-prod-card .spec-sheets img { display: block; width: auto !important; height: 150px !important; max-width: 100%; margin: 0 auto; object-fit: contain; border: 1px solid #e6dfd2; background: #fff; box-shadow: 0 8px 16px -10px rgba(28,24,20,.5); transform: none !important; }
.rb-prod-card .spec-sheets a { color: #2b2823; font-size: 13px; font-weight: 600; line-height: 1.35; }
.rb-prod-card .spec-sheets a:hover, .rb-prod-card .spec-sheets a:focus { color: #8c6a2f; text-decoration: none; }

/* the other machines of the category */
.rb-prod-more { margin-top: 64px; }
.rb-prod-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.rb-prod-list li { margin: 0; padding: 0; }
.rb-prod-tile { display: flex; flex-direction: column; height: 100%; border: 1px solid #ece6da; border-radius: 10px; overflow: hidden; background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; }
.rb-prod-tile:hover, .rb-prod-tile:focus-visible { border-color: #c29d5f; box-shadow: 0 20px 34px -24px rgba(28,24,20,.75); transform: translateY(-4px); text-decoration: none; outline: 0; }
.rb-prod-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; }
.rb-prod-thumb img { position: absolute; left: 12px; top: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.rb-prod-tile:hover .rb-prod-thumb img { transform: scale(1.06); }
.rb-prod-list .rb-prod-tname { flex: 1; padding: 11px 12px 13px; border-top: 1px solid #f0ebe1; color: #1c1814; font-size: 12px; font-weight: 600; letter-spacing: .04em; line-height: 1.4; text-align: center; text-transform: uppercase; }

@media (max-width: 991px) {
    .rb-prod-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "media" "body" "actions" "specs"; padding: 30px 28px 34px; }
    .rb-prod-card .product-detail > .row > .post-media { min-height: 0; margin-bottom: 26px; }
    .rb-prod-card .post-media img { max-height: 380px; }
    .rb-prod-jump { margin-left: 0; }
}
@media (max-width: 640px) {
    .rb-page .rb-product { padding: 22px 0 60px; }
    .rb-prod-path span { display: none; }
    .rb-prod-path .fa:last-of-type { display: none; }
    .rb-prod-card { padding: 24px 18px 26px; }
    .rb-prod-head .rb-product-name { font-size: 27px; }
    .rb-prod-card .post-body ul:has(li:nth-child(9)) { columns: 1; }
    .rb-prod-actions .btn.gold { flex: 1 1 100%; }
    .rb-prod-card .spec-sheets > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rb-prod-card .spec-sheets img { height: 120px !important; }
    .rb-prod-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rb-prod-more { margin-top: 44px; }
}

/* ---------- PDF preview (site.js): a PDF link opens in a pop-up over the dimmed page ---------- */
html.rb-pdf-open { overflow: hidden; }
.rb-pdf { display: none; width: min(1120px, calc(100vw - 48px)); height: calc(100vh - 48px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #14110e; color: #f3ead9; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.rb-pdf[open] { display: flex; flex-direction: column; animation: rb-pdf-in .35s cubic-bezier(.22,.61,.36,1); }
.rb-pdf::backdrop { background: rgba(20,17,14,.86); animation: rb-pdf-fade .3s ease-out; }
.rb-pdf-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; border-bottom: 1px solid rgba(226,196,141,.22); background: linear-gradient(135deg, #2a2118, #14110e 70%); }
.rb-pdf-badge { flex: none; padding: 3px 8px; border-radius: 4px; background: #c29d5f; color: #14110e; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.rb-pdf-bar h2 { flex: 1; min-width: 0; margin: 0; overflow: hidden; color: #f3ead9; font-family: 'Suranna', serif; font-size: 21px; font-weight: 400; line-height: 1.3; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.rb-pdf-new { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(226,196,141,.45); border-radius: 999px; color: #e2c48d; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background-color .25s, color .25s; }
.rb-pdf-new:hover, .rb-pdf-new:focus { background: #e2c48d; color: #14110e; text-decoration: none; }
.rb-pdf-new span { color: inherit; }
.rb-pdf-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #f3ead9; font-size: 18px; cursor: pointer; transition: background-color .25s, color .25s, transform .25s; }
.rb-pdf-close:hover, .rb-pdf-close:focus-visible { background: #e2c48d; color: #14110e; transform: rotate(90deg); outline: 0; }
.rb-pdf-stage { position: relative; flex: 1; min-height: 0; background: #3a3631; }
.rb-pdf-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s; }
.rb-pdf.is-ready .rb-pdf-stage iframe { opacity: 1; }
.rb-pdf-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin: 0; color: #cfc4b0; font-size: 14px; letter-spacing: .06em; }
.rb-pdf-wait .fa { color: #c29d5f; font-size: 42px; animation: rb-pdf-pulse 1.2s ease-in-out infinite; }
.rb-pdf.is-ready .rb-pdf-wait { display: none; }
@keyframes rb-pdf-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rb-pdf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rb-pdf-pulse { 50% { opacity: .4; transform: scale(.92); } }
@media (max-width: 767px) {
    .rb-pdf { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
    .rb-pdf-bar { gap: 10px; padding: 10px 10px 10px 14px; }
    .rb-pdf-bar h2 { font-size: 18px; }
    .rb-pdf-new span { display: none; }
    .rb-pdf-new { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .rb-pdf[open], .rb-pdf::backdrop, .rb-pdf-wait .fa { animation: none; }
}

/* ---------- bottom bar: "Powered by Sense Softech" on the left, every page on the right (wraps and centres on small screens) ---------- */
#copyright-container { padding: 14px 0; border-top: 1px solid rgba(226,196,141,.12); }
#copyright-container .rb-bottom-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
#copyright-container .rb-bottom-bar::before, #copyright-container .rb-bottom-bar::after { display: none; }
#copyright-container .rb-copy { display: flex; flex-direction: column; margin: 0; padding: 0; color: #8d8a84; font-size: 12.5px; line-height: 1.6; letter-spacing: .03em; }
#copyright-container .rb-copy > .rb-credit { color: #8d8a84; font-size: 12px; }
#copyright-container .rb-credit a { color: #c29d5f; font-weight: 600; line-height: inherit; transition: color .25s; }
#copyright-container .rb-credit a:hover, #copyright-container .rb-credit a:focus { color: #f0d9ad; text-decoration: none; }
#copyright-container .rb-bottom-bar .breadcrumb { float: none; display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; }
#copyright-container .rb-bottom-bar .breadcrumb li { float: none; padding: 6px 0; }
#copyright-container .rb-bottom-bar .breadcrumb > li + li::before { content: ''; display: inline-block; width: 3px; height: 3px; margin: 0 9px; border-radius: 50%; background: #c29d5f; opacity: .55; vertical-align: middle; }
#copyright-container .rb-bottom-bar .breadcrumb li a { color: #b5b0a7; font-size: 12px; font-weight: 600; letter-spacing: .06em; transition: color .25s; }
#copyright-container .rb-bottom-bar .breadcrumb li a:hover, #copyright-container .rb-bottom-bar .breadcrumb li a:focus { color: #e2c48d; text-decoration: none; }
@media (max-width: 1199px) {
    #copyright-container .rb-bottom-bar { flex-direction: column-reverse; justify-content: center; text-align: center; }
    #copyright-container .rb-bottom-bar .breadcrumb { justify-content: center; }
}
@media (max-width: 640px) {
    /* on a phone the list wraps: plain gaps instead of dots, so no line starts with a dot */
    #copyright-container .rb-bottom-bar .breadcrumb { gap: 2px 20px; }
    #copyright-container .rb-bottom-bar .breadcrumb > li + li::before { display: none; }
    #copyright-container { padding-bottom: 76px; } /* keeps the last lines clear of the round "back to top" button */
}
