/* Only the framing calculator embedded in service pages. */
.sb-baget-calculator {
 padding: 56px 0;
 background: #faf8f4;
 color: #2d2d2d;
 scroll-margin-top: 100px;
 font-family: "Roboto Slab", Georgia, serif;
}
.sb-baget-calculator__inner {
 box-sizing: border-box;
 max-width: 1280px;
 margin: 0 auto;
 padding: 0 40px;
}
.sb-baget-calculator #baget-calculator-title {
 margin: 0 0 14px;
 font-family: "Roboto Slab", Georgia, serif;
 font-size: 36px;
 font-weight: 900;
 line-height: 1.15;
 letter-spacing: -.015em;
}
.sb-baget-calculator__intro {
 max-width: 720px;
 margin: 0 0 20px;
 font-size: 16px;
 line-height: 1.5;
}
.sb-baget-calculator .bc-calc { font-family: "Roboto Slab", Georgia, serif; }
.sb-baget-calculator .bc-calc .wrap.grid { max-width: none; padding: 20px 0 0; }
.sb-baget-calculator .bc-calc .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.sb-baget-calculator .bc-calc .grid > .panel,
.sb-baget-calculator .bc-calc fieldset { min-width: 0; }
.sb-baget-calculator .bc-calc .result { top: 100px; }
/* Portals are body children, so they clear shared site navigation and the admin bar. */
.sb-has-baget-calculator .pk-overlay { z-index: 100000; }
.sb-has-baget-calculator .bc-select-list { z-index: 100010; }
.sb-has-baget-calculator .bc-help-tooltip { z-index: 100020; }
.sb-has-baget-calculator #conf { scroll-margin-top: 100px; }
.sb-has-baget-calculator .pk-head h3 { color: #fff; }
/* The renderer sets intrinsic SVG dimensions; fit its viewBox at narrow widths. */
.sb-baget-calculator .bc-calc .preview svg { height: auto !important; }
.sb-baget-calculator-active .floating-actions,
.sb-baget-calculator-active .sb-cart-fab { visibility: hidden; pointer-events: none; }
@media (min-width: 961px) and (max-width: 1100px) {
 .sb-baget-calculator .bc-calc .slotrow { flex-direction: column; align-items: stretch; gap: 6px; }
 .sb-baget-calculator .bc-calc .slotrow-label { flex: none; font-weight: 600; }
 .sb-baget-calculator .bc-calc .slot { flex-wrap: wrap; min-width: 0; min-height: 0; padding: 10px; }
 .sb-baget-calculator .bc-calc .slot-info { flex: 1 1 120px; min-width: 0; }
 .sb-baget-calculator .bc-calc .slot-buttons { width: 100%; justify-content: flex-start; }
 .sb-baget-calculator .bc-calc .slot-btn { flex: 1 1 auto; text-align: center; }
}
@media (max-width: 960px) {
 .sb-baget-calculator__inner { padding: 0 24px; }
 .sb-baget-calculator .bc-calc .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
 .sb-baget-calculator { padding: 36px 0; }
 .sb-baget-calculator__inner { padding: 0 12px; }
 .sb-baget-calculator #baget-calculator-title { font-size: 28px; }
 .sb-has-baget-calculator .pk-filters .bc-select { flex: 1 1 100%; }
}
