/* ==========================================================================
   TankAndBarrel.com - Information pages stylesheet (tb_info)
   2026-11-27

   Scoped to body.tb-info-page only. That class is added in
   includes/template_top.php when basename($PHP_SELF) is one of the
   Information box pages (about_us, accessability, affiliate-terms,
   allmanufacturers, conditions, contact_us, dynamic_sitemap, finance,
   privacy, shipping, store_pickup, warranty).

   Rules under #bodyContent so the header, category bar, sidebars and
   footer are left alone even on those pages. Product, category and
   checkout pages never get the body class, so this file cannot restyle
   them.

   Colors match the tb_sidebar option A look (#13253a navy, #1e6fc4 blue).
   ========================================================================== */

body.tb-info-page #bodyContent {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #33475b;
}

/* ---------- page title ---------- */
body.tb-info-page #bodyContent .page-header {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}
body.tb-info-page #bodyContent .page-header h1,
body.tb-info-page #bodyContent h1 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 28px !important;
  font-weight: 700;
  color: #13253a;
  letter-spacing: -0.02em;
  margin: 0 0 8px !important;
  line-height: 1.25;
}

/* ---------- body type ---------- */
body.tb-info-page #bodyContent .contentContainer,
body.tb-info-page #bodyContent .contentText {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #33475b;
}

/* ---------- section headings (opt-in class for later page markup) ---------- */
body.tb-info-page #bodyContent .tb-info-h {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: block;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #13253a !important;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  margin: 22px 0 8px;
  line-height: 1.3;
}

/* ---------- callouts ---------- */
/* Long red/blue <font> notes become calm boxes. Link labels and the
   "Why shop" list labels stay inline so mid-sentence marks are not boxed. */
body.tb-info-page #bodyContent font[color="red"] {
  display: block;
  background: #fff8f0;
  border: 1px solid #f1d6b3;
  border-left: 4px solid #c47a1e;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 14px 0 18px;
  color: #13253a !important;
  font-weight: 600;
  line-height: 1.55;
}
body.tb-info-page #bodyContent font[color="blue"] {
  display: block;
  background: #f6f9fc;
  border: 1px solid #e3e8ee;
  border-left: 4px solid #1e6fc4;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 14px 0 18px;
  color: #13253a !important;
  font-weight: 600;
  line-height: 1.55;
}
body.tb-info-page #bodyContent a font[color="red"],
body.tb-info-page #bodyContent font[color="red"] a,
body.tb-info-page #bodyContent a font[color="blue"],
body.tb-info-page #bodyContent font[color="blue"] a,
body.tb-info-page #bodyContent li font[color="red"],
body.tb-info-page #bodyContent li font[color="blue"] {
  display: inline;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-weight: 700;
}
body.tb-info-page #bodyContent a font[color="red"],
body.tb-info-page #bodyContent font[color="red"] a,
body.tb-info-page #bodyContent li font[color="red"] {
  color: #15589e !important;
}
body.tb-info-page #bodyContent a font[color="blue"],
body.tb-info-page #bodyContent font[color="blue"] a,
body.tb-info-page #bodyContent li font[color="blue"] {
  color: #1e6fc4 !important;
}

body.tb-info-page #bodyContent .tb-info-callout {
  background: #f6f9fc;
  border: 1px solid #e3e8ee;
  border-left: 4px solid #1e6fc4;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 14px 0 18px;
  color: #13253a;
  font-size: 15px;
  line-height: 1.55;
}
body.tb-info-page #bodyContent .tb-info-callout-warn {
  background: #fff8f0;
  border-color: #f1d6b3;
  border-left-color: #c47a1e;
}

/* ---------- leftover osCommerce Continue button (home link) ---------- */
/* Hide the home-link Continue control. Contact Us Send Message uses
   .tb-contact-actions and must stay visible. */
body.tb-info-page #bodyContent .buttonSet:has(> .text-right),
body.tb-info-page #bodyContent .buttonSet > .text-right {
  display: none !important;
}

/* ---------- Financing cards (finance.php) ---------- */
body.tb-info-page #bodyContent .tb-finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 18px 0 8px;
  align-items: stretch;
}
body.tb-info-page #bodyContent .tb-finance-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 3px rgba(19, 37, 58, .06);
          box-shadow: 0 1px 3px rgba(19, 37, 58, .06);
  padding: 22px 20px 20px;
  text-align: center;
}
body.tb-info-page #bodyContent .tb-finance-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1e6fc4;
  margin: 0 0 6px;
}
body.tb-info-page #bodyContent .tb-finance-card h2 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px !important;
  font-weight: 700;
  color: #13253a;
  margin: 0 0 14px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
body.tb-info-page #bodyContent .tb-finance-card img {
  display: inline-block;
  max-height: 64px;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 8px 0 14px;
}
body.tb-info-page #bodyContent .tb-finance-points {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: #33475b;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
body.tb-info-page #bodyContent .tb-finance-points li {
  position: relative;
  padding: 3px 0 3px 18px;
}
body.tb-info-page #bodyContent .tb-finance-points li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e6fc4;
}
body.tb-info-page #bodyContent .tb-finance-btn {
  display: inline-block;
  margin-top: auto;
  background: #1e6fc4;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none !important;
}
body.tb-info-page #bodyContent .tb-finance-btn:hover,
body.tb-info-page #bodyContent .tb-finance-btn:focus {
  background: #15589e;
  color: #fff !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  body.tb-info-page #bodyContent .page-header h1,
  body.tb-info-page #bodyContent h1 {
    font-size: 24px !important;
  }
  body.tb-info-page #bodyContent .tb-finance-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact Us (contact_us.php) ---------- */
body.tb-info-page #bodyContent .tb-contact-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 8px;
}
body.tb-info-page #bodyContent .tb-contact-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 8px auto 22px;
  background: #f6f9fc;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  padding: 16px 18px;
}
body.tb-info-page #bodyContent .tb-contact-hours h2 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b7a8c;
  margin: 0 0 8px;
}
body.tb-info-page #bodyContent .tb-contact-hours p {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.5;
  color: #33475b;
}
body.tb-info-page #bodyContent .tb-contact-hours a {
  color: #1e6fc4;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}
body.tb-info-page #bodyContent .tb-contact-hours a:hover,
body.tb-info-page #bodyContent .tb-contact-hours a:focus {
  color: #15589e;
  text-decoration: none;
}
body.tb-info-page #bodyContent .tb-contact-card {
  max-width: 640px;
  margin: 0 auto 24px;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 3px rgba(19, 37, 58, .06);
          box-shadow: 0 1px 3px rgba(19, 37, 58, .06);
  padding: 22px 22px 20px;
}
body.tb-info-page #bodyContent .tb-contact-required {
  text-align: right;
  margin: 0 0 14px;
  font-size: 13px;
  color: #8a3b16;
}
body.tb-info-page #bodyContent .tb-contact-card .form-group {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 14px;
}
body.tb-info-page #bodyContent .tb-contact-card label {
  display: block;
  font-weight: 650;
  color: #13253a;
  margin-bottom: 6px;
  font-size: 14px;
}
body.tb-info-page #bodyContent .tb-contact-optional {
  font-weight: 500;
  color: #6b7a8c;
}
body.tb-info-page #bodyContent .tb-contact-card .form-control,
body.tb-info-page #bodyContent .tb-contact-card input[type="text"],
body.tb-info-page #bodyContent .tb-contact-card input[type="email"],
body.tb-info-page #bodyContent .tb-contact-card textarea {
  font-size: 16px !important;
  height: auto;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d5dde7;
  border-radius: 6px;
  color: #13253a;
  -webkit-box-shadow: none;
          box-shadow: none;
  width: 100%;
}
body.tb-info-page #bodyContent .tb-contact-card textarea {
  min-height: 140px;
}
body.tb-info-page #bodyContent .tb-contact-card .form-control-feedback {
  display: none;
}
body.tb-info-page #bodyContent .tb-contact-hint {
  font-size: 13px;
  line-height: 1.45;
  color: #6b7a8c;
  margin: 6px 0 0;
  font-style: normal;
}
body.tb-info-page #bodyContent .tb-contact-card .checkbox {
  padding-left: 0;
  margin-top: 4px;
}
body.tb-info-page #bodyContent .tb-contact-card .checkbox-text {
  font-size: 13px;
  line-height: 1.5;
  color: #33475b;
  font-weight: 500;
}
body.tb-info-page #bodyContent .tb-contact-actions {
  margin: 8px 0 0;
  padding: 0;
}
body.tb-info-page #bodyContent .tb-contact-actions .btn-success {
  background: #1e6fc4;
  border-color: #1e6fc4;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 6px;
  text-shadow: none;
}
body.tb-info-page #bodyContent .tb-contact-actions .btn-success:hover,
body.tb-info-page #bodyContent .tb-contact-actions .btn-success:focus {
  background: #15589e;
  border-color: #15589e;
}

@media (max-width: 767px) {
  body.tb-info-page #bodyContent .tb-contact-hours {
    grid-template-columns: 1fr;
  }
  body.tb-info-page #bodyContent .tb-contact-card {
    padding: 16px 14px 16px;
  }
}

/* ---------- Shipping & Returns (shipping.php) ---------- */
body.tb-info-page #bodyContent .tb-info-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 22px;
}
body.tb-info-page #bodyContent .tb-info-toc-label {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b7a8c;
  margin-bottom: 2px;
}
body.tb-info-page #bodyContent .tb-info-toc a {
  display: inline-block;
  background: #f6f9fc;
  border: 1px solid #e3e8ee;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #13253a !important;
  text-decoration: none !important;
}
body.tb-info-page #bodyContent .tb-info-toc a:hover,
body.tb-info-page #bodyContent .tb-info-toc a:focus {
  border-color: #1e6fc4;
  color: #1e6fc4 !important;
}
body.tb-info-page #bodyContent h2.tb-info-h {
  scroll-margin-top: 16px;
}
body.tb-info-page #bodyContent .tb-info-toc + .tb-info-h,
body.tb-info-page #bodyContent .tb-info-toc + h2.tb-info-h {
  margin-top: 8px;
}
body.tb-info-page #bodyContent .tb-info-subh {
  font-weight: 700;
  color: #13253a;
  margin: 12px 0 6px;
}
body.tb-info-page #bodyContent .tb-info-table-wrap {
  overflow-x: auto;
  margin: 10px 0 22px;
  border: 1px solid #e3e8ee;
  border-radius: 6px;
}
body.tb-info-page #bodyContent .tb-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  background: #fff;
}
body.tb-info-page #bodyContent .tb-info-table th,
body.tb-info-page #bodyContent .tb-info-table td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid #e3e8ee;
  vertical-align: top;
}
body.tb-info-page #bodyContent .tb-info-table tr:last-child td {
  border-bottom: 0;
}
body.tb-info-page #bodyContent .tb-info-table th {
  background: #f6f9fc;
  color: #13253a;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
}
body.tb-info-page #bodyContent .tb-info-table tr:nth-child(even) td {
  background: #fbfcfe;
}
body.tb-info-page #bodyContent .tb-info-table tr.tb-info-no-return td {
  color: #8a3b16;
  font-weight: 600;
}

/* ---------- Store Pickup (store_pickup.php) ---------- */
body.tb-info-page #bodyContent .tb-pickup-toc {
  margin-bottom: 16px;
}
body.tb-info-page #bodyContent .tb-pickup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
  margin: 8px 0 24px;
}
body.tb-info-page #bodyContent .tb-pickup-card {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  padding: 16px 18px 14px;
  box-shadow: 0 1px 2px rgba(19, 37, 58, 0.04);
}
body.tb-info-page #bodyContent h2.tb-pickup-name,
body.tb-info-page #bodyContent .tb-pickup-name {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #13253a !important;
  margin: 0 0 8px;
  line-height: 1.3;
  scroll-margin-top: 16px;
  text-decoration: none !important;
}
body.tb-info-page #bodyContent .tb-pickup-name a {
  color: #1e6fc4 !important;
  text-decoration: none !important;
}
body.tb-info-page #bodyContent .tb-pickup-name a:hover,
body.tb-info-page #bodyContent .tb-pickup-name a:focus {
  color: #15589e !important;
  text-decoration: underline !important;
}
body.tb-info-page #bodyContent .tb-pickup-hours,
body.tb-info-page #bodyContent .tb-pickup-note {
  margin: 0 0 8px;
  font-size: 14px;
  color: #33475b;
  line-height: 1.45;
}
body.tb-info-page #bodyContent .tb-pickup-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b7a8c;
  margin: 0 0 2px;
}
body.tb-info-page #bodyContent .tb-pickup-locs {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.tb-info-page #bodyContent .tb-pickup-locs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid #eef2f6;
  font-size: 14px;
  color: #33475b;
  line-height: 1.4;
}
body.tb-info-page #bodyContent .tb-pickup-locs li:first-child {
  border-top: 0;
}
body.tb-info-page #bodyContent .tb-pickup-state {
  flex: 0 0 auto;
  display: inline-block;
  min-width: 28px;
  text-align: center;
  background: #f6f9fc;
  border: 1px solid #e3e8ee;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #13253a;
  margin-top: 1px;
}
body.tb-info-page #bodyContent .tb-pickup-loc-note {
  display: block;
  font-size: 13px;
  color: #6b7a8c;
  margin-top: 2px;
}
body.tb-info-page #bodyContent .tb-pickup-pdf {
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 14px;
}
body.tb-info-page #bodyContent .tb-pickup-region {
  margin-top: 10px;
}
body.tb-info-page #bodyContent .tb-pickup-region-first {
  margin-top: 0;
}
body.tb-info-page #bodyContent .tb-pickup-region-name {
  font-weight: 700;
  color: #13253a;
  font-size: 14px;
  margin: 0 0 4px;
}
@media (max-width: 767px) {
  body.tb-info-page #bodyContent .tb-pickup-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Warranty Information (warranty.php) ---------- */
body.tb-info-page #bodyContent .tb-warranty-toc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin: 12px 0 28px;
  scroll-margin-top: 16px;
}
body.tb-info-page #bodyContent .tb-warranty-toc a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f6f9fc;
  border: 1px solid #e3e8ee;
  border-radius: 6px;
  padding: 8px 10px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  color: #13253a !important;
  text-decoration: none !important;
  line-height: 1.3;
}
body.tb-info-page #bodyContent .tb-warranty-toc a:hover,
body.tb-info-page #bodyContent .tb-warranty-toc a:focus {
  border-color: #1e6fc4;
  color: #1e6fc4 !important;
}
body.tb-info-page #bodyContent h2.tb-warranty-h {
  scroll-margin-top: 16px;
  margin-bottom: 4px;
}
body.tb-info-page #bodyContent .tb-warranty-toc + h2.tb-warranty-h {
  margin-top: 8px;
}
body.tb-info-page #bodyContent .tb-warranty-backwrap {
  margin: 0 0 8px;
}
body.tb-info-page #bodyContent .tb-warranty-back {
  font-size: 12px;
  font-weight: 600;
  color: #1e6fc4 !important;
  text-decoration: none !important;
}
body.tb-info-page #bodyContent .tb-warranty-back:hover,
body.tb-info-page #bodyContent .tb-warranty-back:focus {
  color: #15589e !important;
  text-decoration: underline !important;
}
@media (max-width: 767px) {
  body.tb-info-page #bodyContent .tb-warranty-toc {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- About Us (about_us.php) ---------- */
body.tb-info-page #bodyContent .tb-about-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  align-items: center;
  justify-items: center;
  margin: 6px 0 22px;
  padding: 16px 18px;
  background: #f6f9fc;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
}
body.tb-info-page #bodyContent .tb-about-badge {
  text-align: center;
}
body.tb-info-page #bodyContent .tb-about-badge img,
body.tb-info-page #bodyContent .tb-about-badge span img {
  display: inline-block !important;
  max-height: 110px;
  width: auto;
  max-width: 100%;
}
body.tb-info-page #bodyContent .tb-about-badge-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  align-items: center;
  justify-items: center;
}
body.tb-info-page #bodyContent .tb-about-em {
  font-weight: 700;
  text-decoration: none;
  color: #13253a;
}
body.tb-info-page #bodyContent .tb-about-why {
  margin: 8px 0 8px;
}
body.tb-info-page #bodyContent .tb-about-list {
  margin: 0 0 18px;
  padding-left: 20px;
}
body.tb-info-page #bodyContent .tb-about-label {
  font-weight: 700;
  color: #13253a;
}
body.tb-info-page #bodyContent .tb-about-address {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e3e8ee;
  color: #33475b;
}
@media (max-width: 767px) {
  body.tb-info-page #bodyContent .tb-about-badges {
    grid-template-columns: 1fr;
  }
  body.tb-info-page #bodyContent .tb-about-badge-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Affiliate Program (affiliate-terms.php) ---------- */
body.tb-info-page #bodyContent .tb-affiliate-copy,
body.tb-info-page #bodyContent .tb-affiliate-copy p,
body.tb-info-page #bodyContent .tb-affiliate-copy li {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #33475b;
  line-height: 1.6;
}
body.tb-info-page #bodyContent .tb-affiliate-copy ol,
body.tb-info-page #bodyContent .tb-affiliate-copy ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
