/* Blue Ridge showroom finish. Presentation only; catalog and calculator logic stay authoritative. */

/* The color collection presents the material before the interface. */
.color-grid { gap: 32px 24px; }
.color-card {
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: transform .2s ease;
}
.color-card:hover { box-shadow: none; transform: translateY(-3px); }
.color-preview-button { background: transparent; border-radius: 6px; }
.color-preview-button .color-image-wrap {
  border-radius: 6px;
  background: #e8eef0;
  box-shadow: 0 2px 8px #102f410c;
}
.color-image-wrap img { transition: transform .5s ease; }
.color-card:hover .color-image-wrap img { transform: scale(1.025); }
.color-card-body, .featured-grid .color-card-body {
  padding: 18px 0 10px;
  align-items: baseline;
  gap: 5px 10px;
}
.color-name, .featured-grid .color-name {
  color: #102f41;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.015em;
  min-height: 0;
}
.color-card .color-tone, .featured-grid .color-tone {
  font-size: .875rem;
  line-height: 1.5;
  color: #5a707c;
}
.color-card > .save-color-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 0;
  margin: 0;
  background: transparent;
  color: #294e60;
  border: 0;
  border-bottom: 1px solid #bfd0d7;
  border-radius: 0;
  font-size: .875rem;
  font-weight: 500;
  text-align: left;
}
.color-card > .save-color-button::before { content: "+"; font-size: 1.125rem; line-height: 1; }
.color-card > .save-color-button:hover { color: #102f41; border-color: #477b85; }
.color-card > .save-color-button[aria-pressed="true"] { color: #1f626d; border-color: #477b85; }
.color-card > .save-color-button[aria-pressed="true"]::before { content: "✓"; font-size: .875rem; }
.color-toolbar {
  padding: 25px 28px;
  border: 1px solid #dce5e9;
  border-radius: 6px;
  background: #f3f6f7;
  gap: 24px;
}
.color-toolbar input, .color-toolbar select { min-height: 50px; border-radius: 4px; border-color: #c5d3da; }
.color-toolbar label > span, .color-toolbar .checkbox-label { color: #345262; font-size: .875rem; }
.color-toolbar .checkbox-label { min-height: 44px; }
.collection-meta { margin: 27px 0 22px; font-size: .875rem; color: #5a707c; }
.collection-meta > p:last-child { color: #254958; }
.shortlist-box { margin-top: 62px; padding-top: 38px; border-color: #d7e1e6; }
.shortlist-box h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.shortlist-item { padding: 14px; border: 1px solid #dce5e9; border-radius: 6px; background: #fff; }
.shortlist-image { border-radius: 3px; }
.shortlist-item h3 { font-size: 1rem; line-height: 1.4; }
.shortlist-item button { min-height: 40px; font-size: .875rem; }
.color-workspace .empty-state { padding: 28px; border-style: solid; border-color: #dce5e9; background: #f3f6f7; font-size: 1rem; }
#color-dialog { width: min(960px, calc(100vw - 32px)); border-radius: 8px; box-shadow: 0 24px 90px #081d3470; }
#color-dialog::backdrop { background: #0b253bd1; backdrop-filter: blur(7px); }
#color-dialog-content { grid-template-columns: .95fr 1.05fr; }
.dialog-color-image { min-height: 470px; }
.dialog-color-body { padding: 68px 38px 40px; }
.dialog-color-body h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1.12; }
.dialog-color-body > p { font-size: 1rem; line-height: 1.75; }
.dialog-color-body .field-note { font-size: .875rem; }
.dialog-color-body .button-row { gap: 10px; margin-top: 22px; }
.dialog-color-body .button { margin-block: 0; min-height: 48px; }
.dialog-close { min-height: 42px; padding: 8px 15px; border-radius: 4px; border-color: #c5d3da; box-shadow: 0 3px 12px #102f4110; }

/* Catalog: quiet product canvases, consistent controls, and a clear order summary. */
#order-shop .order-catalog { gap: 34px; }
#order-shop .order-category-tabs { gap: 8px; padding-bottom: 24px; margin-bottom: 24px; border-color: #dce5e9; }
#order-shop .order-category-tabs button {
  min-height: 44px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #d5e0e5;
  border-radius: 4px;
  color: #385667;
  font-size: .875rem;
  font-weight: 500;
}
#order-shop .order-category-tabs button:hover { background: #f3f6f7; border-color: #8faeb8; }
#order-shop .order-category-tabs button.is-active { background: #102f41; color: #fff; border-color: #102f41; }
#order-shop .order-toolbar { padding: 22px; border-radius: 6px; border-color: #dce5e9; background: #f3f6f7; margin-bottom: 23px; }
#order-shop .order-toolbar input, #order-shop .order-toolbar select { border-radius: 4px; border-color: #c5d3da; font-size: 1rem; min-height: 49px; }
#order-shop .order-toolbar label { font-size: .875rem; color: #345262; }
#order-shop #order-result-count { color: #5a707c; font-size: .875rem; margin-bottom: 23px; }
#order-shop .order-product-grid { gap: 24px; }
#order-shop .order-product-card {
  border: 1px solid #dce5e9;
  border-radius: 6px;
  box-shadow: none;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
#order-shop .order-product-card:hover { transform: none; border-color: #a7bcc5; box-shadow: 0 8px 22px #102f4109; }
#order-shop .order-product-image { height: 235px; padding: 26px; background: #f3f6f7; border-bottom: 1px solid #e5ebee; }
#order-shop .order-product-body { padding: 24px; gap: 13px; }
#order-shop .order-product-card h3 { font-family: 'Manrope', Arial, sans-serif; color: #102f41; font-size: 1.1875rem; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
#order-shop .order-product-card p { font-size: 1rem; line-height: 1.65; color: #5a707c; }
#order-shop .order-product-card .order-product-meta { font-size: .875rem !important; line-height: 1.45; color: #52717e !important; font-weight: 500; letter-spacing: .015em; }
#order-shop .order-product-card .order-product-sku { font-size: .875rem; line-height: 1.5; color: #536b79; overflow-wrap: anywhere; }
#order-shop .order-product-price { color: #102f41; font-size: 1.65rem; font-weight: 650; padding-top: 6px; font-variant-numeric: tabular-nums; }
#order-shop .order-product-price small { font-size: .875rem; line-height: 1.5; color: #5a707c; margin-top: 6px; }
#order-shop .order-card-actions { padding-top: 10px; gap: 15px; }
#order-shop .order-product-options { gap: 14px; }
#order-shop .order-product-options label, #order-shop .order-quantity label { font-size: .875rem; font-weight: 500; color: #345262; }
#order-shop .order-product-options select { min-height: 47px; font-size: 1rem; border-radius: 4px; border-color: #c5d3da; }
#order-shop .order-quantity { gap: 12px; align-items: end; }
#order-shop .order-quantity input { min-height: 47px; width: 78px; margin-top: 5px; font-size: 1rem; border-radius: 4px; }
#order-shop .order-quantity .button { min-height: 47px; border-radius: 4px; font-size: .9375rem; background: #102f41; box-shadow: none; }
#order-shop .order-quantity .button:hover { background: #244b60; transform: none; }
#order-shop .order-product-card details { margin-top: 6px; padding-top: 15px; border-color: #e1e8eb; }
#order-shop .order-product-card summary { min-height: 32px; font-size: .875rem; color: #365d6e; }
#order-shop .order-product-card details p { font-size: .875rem; line-height: 1.65; }
#order-shop .order-cart {
  background: #102f41;
  border: 1px solid #264859;
  border-radius: 8px;
  box-shadow: 0 12px 36px #102f4110;
  padding: 27px;
  scrollbar-color: #7a9ba9 #102f41;
}
#order-shop .order-cart .eyebrow { color: #b5d2d8; font-size: .875rem; letter-spacing: .07em; line-height: 1.6; }
#order-shop .order-cart-heading { align-items: baseline; gap: 12px; }
#order-shop .order-cart-heading h2 { font-size: 2.25rem; font-weight: 400; letter-spacing: -.035em; }
#order-shop .order-cart-heading span { font-size: .875rem; color: #c1d5de; white-space: nowrap; }
#order-shop .order-cart .order-empty { font-size: 1rem; line-height: 1.65; color: #d4e2e8; padding: 21px; border-style: solid; border-color: #5a7888; border-radius: 4px; background: #ffffff04; }
#order-shop .order-cart p, #order-shop .order-cart .field-note { color: #c3d5de; font-size: .875rem; line-height: 1.7; }
#order-shop .order-cart-line { padding: 21px 0; gap: 12px; }
#order-shop .order-cart-line h3 { font-family: 'Manrope', Arial, sans-serif; font-size: 1rem; line-height: 1.45; }
#order-shop .order-cart-line strong { color: #d4e6e9; font-size: 1rem; }
#order-shop .order-cart-item-controls label, #order-shop .order-cart-item-controls button { font-size: .875rem; }
#order-shop .order-cart-item-controls button { min-height: 40px; }
#order-shop .order-cart-item-controls input { min-height: 44px; border-radius: 4px; font-size: 1rem; }
#order-shop .order-cart-total { padding-top: 23px; margin-top: 12px; font-size: .875rem; }
#order-shop .order-cart-total strong { font-size: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
#order-shop .order-cart .order-checkout-heading { font-family: 'Manrope', Arial, sans-serif; font-size: 1.125rem; font-weight: 600; }
#order-shop .order-cart .order-pricing-mode, #order-shop .order-cart .order-freight-status { border-radius: 4px; border-color: #59798b; background: #ffffff04; font-size: .875rem; }
#order-shop .order-fulfillment label, #order-shop .order-fulfillment label > span { font-size: .875rem; font-weight: 500; }
#order-shop .order-fulfillment input, #order-shop .order-fulfillment select { min-height: 48px; border-radius: 4px; font-size: 1rem; }
#order-shop .order-cart .order-checkout-note { font-size: .875rem; }
#order-shop .order-cart .button:not(:disabled) { background: #d3e4e7; border-color: #d3e4e7; color: #102f41; border-radius: 4px; font-size: .9375rem; }
#order-shop .order-cart .button:not(:disabled):hover { background: #e5eff1; }
#order-shop .order-cart .button-secondary:not(:disabled) { background: transparent; border-color: #7d9ca9; color: #e0edf1; }
#order-shop .order-cart .button:disabled { border-radius: 4px; font-size: .9375rem; }
#order-shop .order-planning-notes { border-radius: 4px; }
#order-shop .order-quick-view { background: #102f41; border-color: #6c8c99; border-radius: 6px; box-shadow: 0 8px 24px #102f4133; }

/* A compact planning desk: strong headings, clear inputs, useful results. */
[data-page="calculator"] .compact-calculator-intro { max-width: 820px; padding-top: 50px; }
[data-page="calculator"] .compact-calculator-intro .eyebrow { font-size: .875rem; color: #477b85; letter-spacing: .12em; margin-bottom: 12px; }
[data-page="calculator"] .compact-calculator-intro h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.6rem, 4.7vw, 3.8rem); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; color: #102f41; }
[data-page="calculator"] .compact-calculator-intro > p:last-child { color: #5a707c; font-size: 1rem; margin-top: 16px; }
[data-page="calculator"] .calculator-stage { padding-top: 29px; padding-bottom: 60px; }
#calculator-app .brrs-compact { max-width: 820px; border: 1px solid #d6e2e7; border-radius: 8px; box-shadow: 0 14px 38px #102f4108; }
#calculator-app .bc-header { padding: 30px 32px; background: #102f41; border: 0; }
#calculator-app .bc-header > p { color: #bad4dc; font-size: .875rem; letter-spacing: .1em; margin-bottom: 11px; }
#calculator-app .bc-header h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 2rem; line-height: 1.2; color: #fff; letter-spacing: -.025em; margin-bottom: 10px; }
#calculator-app .bc-header > span { color: #c7dae2; font-size: 1rem; }
#calculator-app .bc-form { padding: 30px 32px 26px; }
#calculator-app .bc-use-fieldset { margin-bottom: 26px; }
#calculator-app .bc-use-fieldset legend { color: #294958; font-weight: 500; margin-bottom: 13px; }
#calculator-app .bc-uses { gap: 10px; }
#calculator-app .bc-use { border-radius: 4px; min-height: 60px; border-color: #cbd9df; color: #36596b; font-weight: 500; font-size: .875rem; }
#calculator-app .bc-use:has(input:checked) { background: #102f41; border-color: #102f41; color: #fff; }
#calculator-app .bc-use:hover { border-color: #6d919f; }
#calculator-app .bc-fields { gap: 20px; }
#calculator-app .bc-field { font-size: .875rem; font-weight: 500; color: #345262; }
#calculator-app .bc-field input, #calculator-app .bc-field select { border-color: #c5d3da; border-radius: 4px; min-height: 49px; }
#calculator-app .bc-field input:focus, #calculator-app .bc-field select:focus { border-color: #477b85; box-shadow: 0 0 0 3px #477b851c; }
#calculator-app .bc-note { color: #5a707c; font-size: 1rem; line-height: 1.6; margin-top: 12px; }
#calculator-app #bc-depth-note { font-size: .875rem; padding-top: 3px; }
#calculator-app .bc-section { margin-top: 24px; padding-top: 18px; border-color: #dce5e9; }
#calculator-app .bc-check { color: #294d5f; }
#calculator-app .bc-base { background: #f3f6f7; border: 1px solid #e0e8ec; border-radius: 5px; padding: 22px; margin-top: 12px; }
#calculator-app .bc-base .bc-fields { gap: 18px; }
#calculator-app .bc-mesh-details summary, #calculator-app .bc-result summary { min-height: 42px; color: #365d6e; font-size: .875rem; }
#calculator-app .bc-result { padding: 30px 32px; background: #f3f6f7; border-top: 1px solid #d6e2e7; }
#calculator-app .bc-selection { color: #52717e; font-size: .875rem; letter-spacing: .025em; margin-bottom: 12px; }
#calculator-app .bc-quantity { color: #102f41; gap: 10px 13px; }
#calculator-app .bc-quantity > strong { font-family: 'Manrope', Arial, sans-serif; font-size: 3.15rem; font-weight: 600; letter-spacing: -.055em; }
#calculator-app .bc-quantity > span { font-size: 1.125rem; }
#calculator-app .bc-line { font-size: 1rem; padding-block: 9px; }
#calculator-app .bc-line > strong { font-size: 1.125rem; color: #102f41; }
#calculator-app .bc-mesh-choice { border: 1px solid #cad9e0; border-radius: 5px; padding: 10px 20px 18px; margin-top: 26px; background: #fff; }
#calculator-app .bc-mesh-choice legend { font-weight: 500; color: #294d5f; }
#calculator-app .bc-actions { padding: 28px 32px; border-color: #d6e2e7; }
#calculator-app .bc-primary { background: #102f41; border-color: #102f41; border-radius: 4px; min-height: 50px; padding-inline: 27px; font-weight: 500; }
#calculator-app .bc-primary:hover:not(:disabled) { background: #244b60; }
#calculator-app .bc-secondary-actions { gap: 12px 25px; margin-top: 19px; }
#calculator-app .bc-secondary-actions button, #calculator-app .bc-secondary-actions a { min-height: 40px; font-size: .875rem; color: #365d6e; }
#calculator-app .bc-actions > p { color: #5a707c; font-size: .875rem; line-height: 1.6; }

@media (min-width: 1100px) {
  #order-shop .order-catalog { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (max-width: 1099px) {
  #order-shop .order-catalog { grid-template-columns: 1fr; gap: 38px; }
  #order-shop .order-cart { position: static; }
  #order-shop .order-product-image { height: 205px; padding: 22px; }
  #order-shop .order-product-body { padding: 21px; }
  #order-shop .order-quantity { flex-wrap: wrap; }
  #order-shop .order-quantity .button { flex-basis: 100%; margin-left: 0; }
}
@media (max-width: 760px) {
  .color-grid { gap: 27px 16px; }
  .color-card-body, .featured-grid .color-card-body { padding-top: 13px; }
  .color-name, .featured-grid .color-name { font-size: 1rem; }
  .color-toolbar { padding: 22px; gap: 18px; }
  .collection-meta { gap: 15px; align-items: baseline; }
  .shortlist-box { margin-top: 45px; padding-top: 32px; }
  #color-dialog-content { display: block; }
  .dialog-color-image { min-height: 0; max-height: 310px; aspect-ratio: 1.3; }
  .dialog-color-body { padding: 30px 24px; }
  #order-shop .order-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  #order-shop .order-toolbar { padding: 22px; }
  #order-shop .order-cart { padding: 25px; }
  #order-shop .order-product-card h3 { font-size: 1.0625rem; }
  #order-shop .order-product-body { padding: 20px; }
  #order-shop .order-product-image { height: 200px; }
  #order-shop .order-quantity .button { font-size: 1rem; }
  [data-page="calculator"] .compact-calculator-intro { padding-top: 35px; }
  [data-page="calculator"] .calculator-stage { padding-bottom: 42px; }
}
@media (max-width: 600px) {
  #order-shop .order-catalog-main { min-width: 0; }
  #order-shop .order-category-tabs { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: max-content; justify-content: start; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: #829da8 #edf2f4; }
  #order-shop .order-category-tabs button { white-space: nowrap; }
  #order-shop .order-product-grid { grid-template-columns: 1fr; gap: 25px; }
  #order-shop .order-product-image { height: 245px; padding: 26px; }
  #order-shop .order-product-body { padding: 24px; }
  #order-shop .order-product-card h3 { font-size: 1.1875rem; }
  #order-shop .order-quantity { flex-wrap: nowrap; }
  #order-shop .order-quantity .button { flex-basis: auto; }
  #order-shop .order-cart-heading h2 { font-size: 2rem; }
  #order-shop .order-cart-line { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #order-shop .order-cart-line > strong { text-align: right; }
  #calculator-app .bc-header, #calculator-app .bc-form, #calculator-app .bc-result, #calculator-app .bc-actions { padding: 24px 22px; }
  #calculator-app .bc-header h2 { font-size: 1.8rem; }
  #calculator-app .bc-use { min-height: 49px; }
  #calculator-app .bc-base { padding: 17px; }
  #calculator-app .bc-fields { gap: 18px; }
  #calculator-app .bc-quantity > strong { font-size: 2.8rem; }
  #calculator-app .bc-line { gap: 12px; }
  #calculator-app .bc-mesh-choice { padding-inline: 15px; }
  #calculator-app .bc-primary { width: 100%; }
}
@media (max-width: 400px) {
  .color-card > .save-color-button { font-size: .875rem; gap: 5px; }
  .collection-meta { font-size: .875rem; }
  .color-toolbar { padding: 18px; }
  #order-shop .order-toolbar, #order-shop .order-product-body, #order-shop .order-cart { padding: 21px; }
  #calculator-app .bc-header, #calculator-app .bc-form, #calculator-app .bc-result, #calculator-app .bc-actions { padding-inline: 19px; }
  #calculator-app .bc-note { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .color-card, .color-image-wrap img, #order-shop .order-product-card { transition: none; }
  .color-card:hover, .color-card:hover .color-image-wrap img { transform: none; }
}
@media print {
  #order-shop .order-cart, #calculator-app .bc-header, #calculator-app .bc-result { background: #fff; color: #000; box-shadow: none; }
  #order-shop .order-cart *, #calculator-app .bc-header * { color: #000 !important; }
  #order-shop .order-quick-view, #calculator-app .bc-actions { display: none !important; }
  #order-shop .order-cart { max-height: none; overflow: visible; border-color: #aaa; }
  #calculator-app .brrs-compact { box-shadow: none; border-color: #aaa; }
}
