/* Red River Rustic / ZCA Bootstrap 3.8.1. Native account, product and checkout layouts are retained. */
:root {
  --rrr-ivory: #f6f2e9;
  --rrr-charcoal: #292622;
  --rrr-brick: #913f35;
  --rrr-sand: #d9c4a8;
  --rrr-line: #ddceba;
  --rrr-muted: #62594e;
}
body { background: var(--rrr-ivory); color: var(--rrr-charcoal); }
#header-wrapper, #mainWrapper, #footer-wrapper { width: 100%; max-width: 1600px; margin-left: auto; margin-right: auto; }
#header-wrapper, #footer-wrapper { padding: 0; }
#header-wrapper > .row, #footer-wrapper > .row { margin-left: 0; margin-right: 0; }
#header-wrapper > .row.mb-3 { margin-bottom: 0 !important; }
#header-wrapper > .row > .col, #footer-wrapper > .row > .col { padding-left: 0; padding-right: 0; }
#footer-wrapper > .row.mt-3 { margin-top: 0 !important; }
#rrr-header, #rrr-home, #rrr-footer { box-sizing: border-box; font-family: Arial, Helvetica, sans-serif; color: var(--rrr-charcoal); }
#rrr-header *, #rrr-home *, #rrr-footer * { box-sizing: border-box; }
#rrr-header a, #rrr-home a, #rrr-footer a { text-decoration: none; }
#rrr-header a:hover, #rrr-home a:hover, #rrr-footer a:hover { text-decoration: underline; }
#rrr-header a:focus-visible, #rrr-home a:focus-visible, #rrr-home summary:focus-visible, #rrr-header button:focus-visible, #rrr-footer a:focus-visible { outline: 3px solid #977941; outline-offset: 3px; }
.rrr-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
.rrr-header { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0; background: var(--rrr-ivory); border-bottom: 3px solid var(--rrr-brick); padding-bottom: 4px; }
.rrr-brand { display: flex; align-items: center; justify-content: center; margin: 0; padding: 8px 0; min-height: 110px; border-radius: 12px; overflow: hidden; background: var(--rrr-charcoal); }
.rrr-brand img { display: block; width: 210px; max-width: 100%; height: auto; max-height: 100px; object-fit: contain; }
.rrr-header-content { min-width: 0; padding: 12px 18px 7px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 13px; }
.rrr-header-top { display: flex; align-items: center; gap: 20px; }
.rrr-search { margin: 0; min-width: 120px; flex: 1; display: flex; height: 44px; border: 1px solid #bcb3a8; border-radius: 4px; background: #fffdf9; }
.rrr-search input { width: 100%; min-width: 0; border: 0; padding: 10px 13px; background: transparent; font: 16px Arial, sans-serif; color: var(--rrr-charcoal); border-radius: 4px; }
.rrr-search input::placeholder { color: #605b54; opacity: 1; }
.rrr-search button { width: 46px; flex-shrink: 0; border: 0; background: transparent; color: var(--rrr-charcoal); font-size: 18px; cursor: pointer; }
.rrr-search:focus-within { outline: 2px solid var(--rrr-brick); outline-offset: 2px; }
.rrr-account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-shrink: 0; }
#rrr-header .rrr-apply-link, #rrr-header .rrr-text-link { color: var(--rrr-brick); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#rrr-header .rrr-button, #rrr-home .rrr-button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 10px 24px; background: var(--rrr-brick); color: #fff; border: 1px solid var(--rrr-brick); border-radius: 3px; font: 600 15px/1.35 Arial, sans-serif; text-align: center; }
#rrr-header .rrr-button:hover, #rrr-home .rrr-button:hover { background: #78332c; border-color: #78332c; text-decoration: none; }
.rrr-primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
#rrr-header .rrr-primary-nav > a { padding: 0 24px; color: var(--rrr-charcoal); border-right: 1px solid #c9aa86; font-size: 15px; font-weight: 600; line-height: 1.5; }
#rrr-header .rrr-primary-nav > a:first-child { padding-left: 0; }
#rrr-header .rrr-primary-nav > a:last-child { border-right: 0; }
.rrr-account-status { color: var(--rrr-muted); padding: 0 14px; font-size: 13px; }
/* Remove the standard Bootstrap gutters only for this custom homepage. */
#indexHomeBody #mainWrapper { padding: 0; background: var(--rrr-ivory); }
#indexHomeBody #mainWrapper > .row { margin: 0; }
#indexHomeBody #mainWrapper > .row > .col-12 { padding: 0; }
#indexHomeBody #mainWrapper main { padding: 0; }
.rrr-home { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: stretch; }
.rrr-sidebar { padding: 22px 16px 26px; background: #f2ebde; border-right: 1px solid var(--rrr-line); min-width: 0; }
.rrr-departments > summary { font: 600 23px/1.25 Georgia, serif; padding: 0 0 17px; list-style: none; cursor: pointer; }
.rrr-departments > summary::-webkit-details-marker { display: none; }
.rrr-department-filter { display: block; width: 100%; min-width: 0; height: 40px; margin-bottom: 16px; padding: 9px 10px; border: 1px solid #bfb4a6; border-radius: 4px; color: var(--rrr-charcoal); background: #fffdf9; font: 15px Arial, sans-serif; }
#rrr-home [hidden] { display: none !important; }
.rrr-tree-list { margin: 0; padding: 0; list-style: none; }
.rrr-category-tree > .rrr-tree-list > .rrr-tree-node { border-bottom: 1px solid var(--rrr-line); }
.rrr-department summary { position: relative; list-style: none; padding: 12px 25px 12px 12px; font-size: 16px; font-weight: 600; line-height: 1.4; cursor: pointer; overflow-wrap: anywhere; }
.rrr-department summary::-webkit-details-marker { display: none; }
.rrr-department summary::after { content: ''; position: absolute; right: 10px; top: 18px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.rrr-department[open] > summary { background: #e6d5bc; color: #632a24; border-radius: 4px; }
.rrr-department[open] > summary::after { transform: rotate(45deg); top: 16px; }
#rrr-home .rrr-category-link { display: block; padding: 12px; color: var(--rrr-charcoal); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.4; }
.rrr-department > .rrr-tree-list { margin-left: 12px; }
#rrr-home .rrr-department .rrr-category-link { padding: 8px 10px; font-size: 14px; font-weight: 400; }
.rrr-department .rrr-department summary { font-size: 14px; font-weight: 400; padding-top: 9px; padding-bottom: 9px; }
#rrr-home .rrr-view-department { display: block; padding: 9px 10px 6px 23px; color: var(--rrr-brick); font-size: 13px; text-decoration: underline; }
#rrr-home .rrr-view-all { display: inline-block; color: var(--rrr-brick); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 18px 12px 0; }
.rrr-no-matches { margin: 14px 8px; color: var(--rrr-muted); font-size: 14px; }
.rrr-home-main { min-width: 0; padding: 8px 18px 18px; }
.rrr-hero { margin: 0 -1px 8px; width: calc(100% + 2px); aspect-ratio: 3.25; background: #e7dccb; overflow: hidden; }
.rrr-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rrr-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 0; border-radius: 7px; background: #e5d1b5; }
.rrr-benefits > div { display: flex; align-items: center; justify-content: center; gap: 16px; min-width: 0; padding: 0 12px; border-right: 1px solid #bda07e; }
.rrr-benefits > div:last-child { border: 0; }
.rrr-benefits i { font-size: 28px; }
.rrr-benefits strong { display: block; font-size: 16px; line-height: 1.3; font-weight: 600; }
.rrr-benefits small { display: block; font-size: 13px; margin-top: 3px; line-height: 1.35; }
.rrr-catalog { padding: 22px 0 0; scroll-margin-top: 15px; }
.rrr-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 22px; margin: 0 0 18px; }
.rrr-section-heading h2 { margin: 0; color: var(--rrr-charcoal); font: 600 clamp(23px, 2.6vw, 34px)/1.2 Georgia, serif; }
#rrr-home .rrr-section-heading > a { color: var(--rrr-brick); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; flex-shrink: 0; }
.rrr-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; }
#rrr-home .rrr-category-tile { display: flex; flex-direction: column; border: 1px solid var(--rrr-line); border-radius: 7px; overflow: hidden; color: var(--rrr-charcoal); background: var(--rrr-ivory); }
#rrr-home .rrr-category-tile:hover { text-decoration: none; border-color: var(--rrr-brick); }
#rrr-home .rrr-category-tile:hover .rrr-category-name { text-decoration: underline; }
.rrr-category-tile > img { display: block; width: 100%; aspect-ratio: 1.55; height: auto; object-fit: cover; }
.rrr-category-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.55; background: #e9dfd0; color: #806c53; font-size: 44px; }
.rrr-category-name { display: flex; align-items: center; justify-content: center; flex: 1; padding: 10px 8px; text-align: center; font: 600 19px/1.2 Georgia, serif; overflow-wrap: anywhere; }
.rrr-catalog-empty { padding: 24px; border: 1px solid var(--rrr-line); background: #fffaf2; color: var(--rrr-charcoal); }
.rrr-catalog-empty p { margin: 0 0 8px; }
#rrr-home .rrr-catalog-empty a { color: var(--rrr-brick); text-decoration: underline; }
.rrr-dealer-callout { display: flex; align-items: center; gap: 20px; margin-top: 24px; padding: 19px 23px; background: var(--rrr-charcoal); color: #fff; border-radius: 8px; }
.rrr-dealer-callout h2 { margin: 0; padding-right: 23px; border-right: 1px solid var(--rrr-sand); font: 400 27px/1.2 Georgia, serif; color: #fff; }
.rrr-dealer-callout p { flex: 1; margin: 0; font-size: 14px; line-height: 1.5; }
.rrr-dealer-callout .rrr-button { flex-shrink: 0; }
#rrr-footer { padding: 17px 24px 12px; background: var(--rrr-charcoal); color: #fff; }
.rrr-footer-main { display: flex; align-items: center; gap: 24px; }
#rrr-footer .rrr-footer-brand { color: #fff; font: 400 27px/1.2 Georgia, serif; padding-right: 24px; border-right: 1px solid var(--rrr-sand); }
.rrr-footer-main p { flex: 1; margin: 0; font-size: 14px; font-style: italic; }
.rrr-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
#rrr-footer nav a { color: #fff; font-size: 14px; }
.rrr-footer-legal { text-align: center; margin-top: 14px; font-size: 11px; color: #eee4d6; }
#rrr-footer .rrr-footer-legal a { color: #eee4d6; }
/* Keep native Bootstrap product/account page controls in the chosen brand palette. */
.btn-primary { background-color: var(--rrr-brick); border-color: var(--rrr-brick); }
.btn-primary:hover, .btn-primary:focus { background-color: #78332c; border-color: #78332c; }
@media (max-width: 1199px) {
  .rrr-header, .rrr-home { grid-template-columns: 220px minmax(0, 1fr); }
  .rrr-brand img { width: 190px; }
  .rrr-header-content { padding-left: 18px; }
  .rrr-account-actions { gap: 12px; }
  #rrr-header .rrr-apply-link { max-width: 110px; font-size: 12px; }
  #rrr-header .rrr-primary-nav > a { padding: 0 17px; font-size: 14px; }
  #rrr-header .rrr-button { padding: 10px 16px; }
  .rrr-benefits > div { gap: 10px; padding: 0 10px; }
  .rrr-benefits i { font-size: 22px; }
  .rrr-benefits strong { font-size: 14px; }
  .rrr-benefits small { font-size: 12px; }
  .rrr-dealer-callout { flex-wrap: wrap; gap: 12px 18px; }
  .rrr-dealer-callout h2 { font-size: 24px; }
}
@media (max-width: 991px) {
  .rrr-header { grid-template-columns: 185px minmax(0, 1fr); }
  .rrr-brand { min-height: 112px; }
  .rrr-brand img { width: 165px; }
  .rrr-header-content { padding: 10px 14px; gap: 10px; }
  .rrr-header-top { flex-wrap: wrap; gap: 10px; }
  .rrr-search { flex-basis: 100%; height: 42px; }
  .rrr-account-actions { flex-wrap: wrap; gap: 10px 18px; justify-content: flex-start; }
  #rrr-header .rrr-apply-link { max-width: none; }
  #rrr-header .rrr-button { min-height: 36px; padding: 7px 12px; font-size: 13px; }
  #rrr-header .rrr-primary-nav > a { padding: 0 12px; font-size: 13px; }
  .rrr-home { display: block; }
  .rrr-sidebar { padding: 0; border-right: 0; border-bottom: 1px solid var(--rrr-line); }
  .rrr-departments > summary { display: flex; justify-content: space-between; padding: 15px 18px; font: 600 18px/1.3 Arial, sans-serif; cursor: pointer; }
  .rrr-departments > summary::after { content: '+'; font: 400 23px/1 Arial, sans-serif; }
  .rrr-departments[open] > summary::after { content: '−'; }
  .rrr-department-content { padding: 0 18px 16px; }
  .rrr-home-main { padding: 12px 15px 18px; }
  .rrr-hero { aspect-ratio: 2.8; }
  .rrr-footer-main { flex-wrap: wrap; gap: 14px 20px; }
  .rrr-footer-main p { min-width: 220px; }
}
@media (max-width: 599px) {
  .rrr-header { grid-template-columns: 130px minmax(0, 1fr); }
  .rrr-brand { min-height: 96px; align-self: start; padding: 12px 0; border-radius: 9px; }
  .rrr-brand img { width: 122px; }
  .rrr-header-content { gap: 8px; padding: 8px 9px 10px; }
  .rrr-header-top { gap: 8px; }
  .rrr-search { height: 40px; min-width: 0; }
  .rrr-search input { padding: 8px; font-size: 16px; }
  .rrr-search button { width: 35px; font-size: 16px; }
  .rrr-account-actions { width: 100%; gap: 7px 10px; }
  #rrr-header .rrr-apply-link { font-size: 11px; order: 2; line-height: 1.3; }
  #rrr-header .rrr-text-link { font-size: 12px; }
  #rrr-header .rrr-button { min-height: 38px; font-size: 12px; padding: 8px 10px; }
  .rrr-primary-nav { column-gap: 12px; row-gap: 8px; }
  #rrr-header .rrr-primary-nav > a { padding: 0; border-right: 0; font-size: 12px; }
  .rrr-account-status { padding: 0; }
  .rrr-hero { aspect-ratio: 1.85; }
  .rrr-hero img { object-position: 63% center; }
  .rrr-benefits { grid-template-columns: 1fr; padding: 4px 14px; }
  .rrr-benefits > div { justify-content: flex-start; padding: 10px 4px; border-right: 0; border-bottom: 1px solid #cbb393; gap: 14px; }
  .rrr-benefits i { width: 28px; text-align: center; }
  .rrr-benefits > div:last-child { border: 0; }
  .rrr-benefits strong { font-size: 14px; }
  .rrr-benefits small { font-size: 12px; }
  .rrr-catalog { padding-top: 20px; }
  .rrr-section-heading { flex-wrap: wrap; margin-bottom: 14px; }
  .rrr-section-heading h2 { font-size: 25px; }
  .rrr-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rrr-category-name { font-size: 17px; }
  .rrr-dealer-callout { display: block; padding: 19px; }
  .rrr-dealer-callout h2 { padding: 0; margin-bottom: 11px; border: 0; font-size: 25px; }
  .rrr-dealer-callout p { margin-bottom: 15px; }
  .rrr-footer { padding: 20px 18px 14px; }
  .rrr-footer-main { display: block; }
  #rrr-footer .rrr-footer-brand { display: inline-block; border: 0; padding: 0; font-size: 26px; }
  .rrr-footer-main p { margin: 12px 0 18px; }
}
@media (prefers-reduced-motion: reduce) { #rrr-header *, #rrr-home * { scroll-behavior: auto !important; } }
@media print { .rrr-sidebar, .rrr-search, .rrr-account-actions, .rrr-primary-nav, .rrr-dealer-callout { display: none !important; } .rrr-home { display: block; } .rrr-header { display: block; } .rrr-brand { width: 210px; } }
