/* The Box Lane — Standard Size tabs & cart (additive styles only) */

.tbl-header-cart-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.tbl-header-cart-wrap--desktop {
  align-items: center;
  padding: 0;
}

/* Cart sits beside phone button in header ul */
.header .header-contact-info.desktop-version {
  flex-shrink: 0;
}

.header .header-contact-info.desktop-version ul {
  align-items: center;
  flex-wrap: nowrap;
}

.header .header-contact-info ul li.call-header {
  flex-shrink: 0;
  white-space: nowrap;
}

.header .header-contact-info .call-header a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header .header-contact-info ul li.tbl-header-cart-li {
  background: transparent !important;
  border-radius: 8px;
  padding: 6px 4px 6px 8px !important;
  margin: 0 0 0 6px !important;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-bottom .col-xl-3 > .row {
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
}

/* Mobile only: cart + burger in header toolbar */
@media (max-width: 991.98px) {
  .tbl-header-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    min-height: 42px;
  }

  .tbl-header-cart-wrap--toolbar {
    margin-left: 0;
  }

  .tbl-header-cart-wrap--toolbar .tbl-header-cart-link {
    display: none;
  }

  .tbl-header-toolbar .navbar-toggler {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  .header-bottom .col-xl-2 > .row {
    align-items: center;
  }

  .header-bottom .col-xl-2 .col-6.d-xl-none.d-lg-none.d-block {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .tbl-header-toolbar {
    display: none !important;
  }
}

/* Desktop menu: keep one row between 992px and 1400px */
@media (min-width: 992px) {
  .header .header-bottom .main-menu .navbar .navbar-nav {
    flex-wrap: nowrap;
  }

  .header .header-bottom .row {
    flex-wrap: nowrap;
  }

  .header .header-bottom .main-menu {
    width: 100%;
    min-width: 0;
  }

  .header .header-bottom .main-menu .navbar .navbar-nav .nav-item .nav-link {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header .logo img {
    width: 140px !important;
    max-width: 100%;
  }

  .header .header-bottom .main-menu {
    min-width: 0;
    overflow: hidden;
  }

  .header .header-bottom .main-menu .navbar .navbar-nav .nav-item .nav-link {
    font-size: 12px;
    padding: 6px 5px;
  }

  .header .header-contact-info .call-header span {
    display: none !important;
  }

  .header .header-contact-info .call-header br {
    display: none;
  }

  .white-header .header .header-contact-info .call-header span {
    margin: 0 !important;
  }

  .header .header-contact-info .call-header a {
    font-size: 14px;
    letter-spacing: 0;
  }

  .header .header-contact-info .call-header a i {
    font-size: 20px;
    padding-left: 0;
  }

  .header .header-contact-info ul li.call-header {
    padding: 8px 10px !important;
    margin: 0 !important;
  }

  .header .header-contact-info.desktop-version {
    margin-left: auto;
  }

  .header-bottom .col-xl-3.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
    z-index: 2;
  }

  .header-bottom .col-xl-7.col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .tbl-header-cart-wrap--desktop .tbl-header-cart-link {
    display: none;
  }

  .header .header-contact-info ul li.tbl-header-cart-li {
    margin-left: 2px !important;
    padding: 4px 2px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header .header-bottom .main-menu .navbar .navbar-nav .nav-item .nav-link {
    font-size: 13px;
    padding: 6px 8px;
  }

  .header .header-contact-info ul li.call-header {
    margin: 0 4px !important;
  }

  .header .header-contact-info .call-header a {
    font-size: 15px;
    letter-spacing: 0.2px;
  }

  .header .header-contact-info ul li.call-header {
    padding: 8px 12px !important;
  }
}

.tbl-header-cart-mobile {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}

.tbl-header-cart-wrap--mobile {
  margin-left: 0;
  justify-content: flex-start;
}

.tbl-header-cart {
  position: relative;
  border: none;
  background: transparent;
  color: #160331;
  font-size: 20px;
  padding: 6px 8px;
  cursor: pointer;
}

.tbl-header-cart__count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d8ac48;
  color: #160331;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.tbl-header-cart__count.is-empty {
  opacity: 0.45;
}

.tbl-header-cart-link {
  font-size: 14px;
  font-weight: 600;
  color: #160331;
  text-decoration: none;
}

.tbl-header-cart-link:hover {
  color: #d8ac48;
}

/* Tabs inside quote form hero */
.quote-form-hero .tbl-size-tabs {
  margin-bottom: 12px;
}

.tbl-size-tabs__nav {
  border-bottom: 2px solid #eee;
  gap: 4px;
  margin-bottom: 0;
}

.tbl-size-tabs__nav .nav-link {
  border: none;
  border-radius: 8px 8px 0 0;
  color: #160331;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  background: transparent;
}

.tbl-size-tabs__nav .nav-link i {
  margin-right: 6px;
  color: #d8ac48;
}

.tbl-size-tabs__nav .nav-link.active {
  background: #fff;
  color: #160331;
  box-shadow: inset 0 -3px 0 #d8ac48;
}

.tbl-size-tabs__content {
  padding-top: 8px;
}

.tbl-standard-buy {
  padding: 8px 4px 4px;
}

.tbl-standard-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.tbl-standard-meta li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.tbl-standard-meta .lbl {
  color: #666;
  font-weight: 500;
}

.tbl-in-stock {
  color: #198754;
  font-weight: 600;
}

.tbl-in-stock .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #198754;
  margin-right: 6px;
}

.tbl-price del {
  color: #999;
  margin-right: 6px;
}

.tbl-price ins {
  text-decoration: none;
  color: #160331;
  font-weight: 700;
  font-size: 18px;
}

.tbl-sale-badge {
  display: inline-block;
  background: #d8ac48;
  color: #160331;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.tbl-price .unit {
  color: #666;
  font-size: 13px;
  margin-left: 4px;
}

.tbl-standard-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.tbl-qty-wrap {
  width: 100px;
  flex-shrink: 0;
}

.tbl-qty-input {
  height: 100%;
  text-align: center;
  font-weight: 600;
}

.tbl-add-to-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tbl-add-to-cart:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Cart drawer */
.tbl-cart-drawer {
  max-width: 400px;
}

.tbl-cart-drawer__head {
  border-bottom: 1px solid #eee;
}

.tbl-cart-drawer__head .offcanvas-title {
  font-size: 18px;
  font-weight: 700;
  color: #160331;
}

.tbl-cart-drawer__head .fa-shopping-cart {
  color: #d8ac48;
  margin-right: 8px;
}

.tbl-cart-empty {
  text-align: center;
  padding: 40px 16px;
}

.tbl-cart-empty .fa-shopping-bag {
  font-size: 42px;
  color: #ddd;
  margin-bottom: 16px;
}

.tbl-cart-empty p {
  font-weight: 700;
  color: #160331;
  margin-bottom: 6px;
}

.tbl-cart-empty span {
  display: block;
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.tbl-cart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.tbl-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.tbl-cart-item__info strong {
  display: block;
  font-size: 14px;
  color: #160331;
  margin-bottom: 4px;
}

.tbl-cart-item__info span {
  font-size: 13px;
  color: #666;
}

.tbl-cart-item__remove {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
}

.tbl-cart-drawer__foot {
  border-top: 1px solid #eee;
  padding-top: 16px;
}

.tbl-cart-drawer__total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 16px;
}

/* Cart page */
.tbl-cart-page-section {
  padding: 40px 0 80px;
  background: #f9f9f9;
}

.tbl-cart-page-section h1 {
  font-size: 32px;
  margin-bottom: 24px;
  color: #160331;
}

.tbl-cart-page-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
}

.tbl-cart-table-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.tbl-cart-table {
  width: 100%;
  margin: 0;
}

.tbl-cart-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  border-bottom-width: 1px;
}

.tbl-cart-table td {
  vertical-align: middle;
}

.tbl-cart-checkout-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
}

.tbl-cart-checkout-box h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.tbl-cart-page-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.tbl-cart-checkout-error {
  color: #b42318;
  font-size: 14px;
  margin-bottom: 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Shop: Cart / Checkout / Order received (Box Lane theme) ===== */

.tbl-shop-section {
  padding: 30px 0 70px;
  background: #faf9ff;
}

.tbl-shop-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a0f31;
  margin-bottom: 24px;
}

.tbl-shop-crumb ul {
  justify-content: center;
}

.tbl-cart-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.tbl-cart-notice--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #1a0f31;
}

.tbl-cart-notice p {
  margin: 0;
  font-weight: 500;
}

.tbl-cart-empty-page {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
  border-radius: 12px;
}

.tbl-shop-cart-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(26, 15, 49, 0.6);
  border-bottom: 1px solid #eee;
}

.tbl-shop-cart-table td {
  vertical-align: middle;
  padding: 16px 12px;
}

.tbl-col-remove {
  width: 40px;
}

.tbl-col-product a {
  color: #1a0f31;
  font-weight: 600;
  text-decoration: none;
}

.tbl-col-product a:hover {
  color: #d8ac48;
}

.tbl-remove-btn {
  border: none;
  background: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.tbl-remove-btn:hover {
  color: #b42318;
}

.tbl-cart-page-qty {
  max-width: 80px;
  text-align: center;
}

.tbl-cart-actions {
  margin-top: 20px;
}

.tbl-coupon-group .btn-black {
  white-space: nowrap;
}

.tbl-coupon-msg {
  font-size: 13px;
  margin-top: 8px;
}

.tbl-coupon-msg--info {
  color: #666;
}

.tbl-checkout-section {
  padding-bottom: 60px;
}

.tbl-checkout-coupon-banner {
  background: #f8f6fb;
  border: 1px solid #ece8f3;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 15px;
  color: #1a0f31;
}

.tbl-checkout-coupon-toggle {
  border: none;
  background: none;
  color: #d8ac48;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}

.tbl-checkout-coupon-toggle:hover {
  color: #1a0f31;
}

.tbl-checkout-coupon-form {
  margin-top: 14px;
  max-width: 420px;
}

.tbl-checkout-layout {
  align-items: flex-start;
}

.tbl-checkout-sidebar {
  position: sticky;
  top: 100px;
}

.tbl-checkout-input,
.tbl-checkout-box .form-select {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tbl-checkout-input:focus,
.tbl-checkout-box .form-select:focus {
  border-color: #d8ac48;
  box-shadow: 0 0 0 3px rgba(216, 172, 72, 0.15);
}

.tbl-req {
  color: #b42318;
}

.tbl-optional {
  font-weight: 400;
  color: #888;
  font-size: 13px;
}

.tbl-checkout-box .tbl-place-order-btn {
  margin-top: 16px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tbl-order-review-box .tbl-checkout-legal {
  margin: 20px 0 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.tbl-cart-totals-box,
.tbl-checkout-box,
.tbl-order-review-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
}

.tbl-cart-totals-box h2,
.tbl-checkout-box h2,
.tbl-order-review-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a0f31;
  margin-bottom: 16px;
}

.tbl-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}

.tbl-totals-grand {
  border-bottom: none;
  font-size: 18px;
  font-weight: 700;
  padding-top: 16px;
}

.tbl-totals-grand strong {
  color: #d8ac48;
}

.tbl-proceed-checkout {
  margin-top: 20px;
  display: block;
  text-align: center;
  text-decoration: none;
}

.tbl-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a0f31;
  margin-bottom: 6px;
}

.tbl-subheading {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #1a0f31;
}

.tbl-terms-check {
  margin-top: 12px;
}

.tbl-checkout-legal label a {
  color: #d8ac48;
  text-decoration: underline;
}

.tbl-checkout-legal label a:hover {
  color: #160331;
}

.tbl-checkout-legal {
  margin: 20px 0;
}

.tbl-order-review-table th,
.tbl-order-review-table td {
  font-size: 14px;
  vertical-align: top;
}

.tbl-order-total-row th,
.tbl-order-total-row td {
  font-weight: 700;
  font-size: 16px;
}

.tbl-order-total-row td {
  color: #d8ac48;
}

.tbl-payment-note {
  font-size: 14px;
  color: #666;
  margin-top: 16px;
  margin-bottom: 0;
}

.tbl-order-thanks {
  font-size: 16px;
  margin-bottom: 20px;
}

.tbl-order-success-actions {
  margin-bottom: 24px;
}

.tbl-order-success-actions .btn-yellow {
  min-width: 200px;
  padding: 12px 28px;
  font-weight: 700;
}

.tbl-order-expired {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 40px 32px;
}

.tbl-order-expired .tbl-shop-title {
  margin-bottom: 12px;
}

.tbl-order-expired .tbl-order-thanks {
  color: #666;
  margin-bottom: 28px;
}

.tbl-order-expired-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tbl-order-expired-actions .btn {
  min-width: 180px;
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none;
}

.tbl-order-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.tbl-order-meta li {
  padding: 4px 0;
  font-size: 15px;
}

.tbl-billing-address {
  font-style: normal;
  line-height: 1.7;
  color: #1a0f31;
}

.tbl-place-order-btn {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .tbl-shop-title {
    font-size: 28px;
  }

  .tbl-cart-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .tbl-standard-actions {
    flex-direction: column;
  }

  .tbl-qty-wrap {
    width: 100%;
  }

  .tbl-checkout-sidebar {
    position: static;
  }

  .tbl-checkout-coupon-form {
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .tbl-header-cart-wrap--desktop .tbl-header-cart-link {
    display: inline;
  }
}

/* Localhost API debug panel (order-received) */
.tbl-api-debug {
  margin-top: 32px;
  padding: 20px 22px;
  border: 2px dashed #d8ac48;
  border-radius: 12px;
  background: #fffdf8;
}

.tbl-api-debug h2 {
  font-size: 18px;
  margin: 0 0 14px;
  color: #160331;
}

.tbl-api-debug__status {
  padding: 12px 14px;
  border-radius: 8px;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}

.tbl-api-debug__status--ok {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #027a48;
}

.tbl-api-debug__status--fail {
  background: #fef2f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.tbl-api-debug__status--warn {
  background: #fffaeb;
  border: 1px solid #fedf89;
  color: #93370d;
}

.tbl-api-debug__details {
  margin-bottom: 10px;
}

.tbl-api-debug__details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: #160331;
  margin-bottom: 8px;
}

.tbl-api-debug pre {
  background: #160331;
  color: #f0d48a;
  padding: 12px;
  border-radius: 8px;
  font-size: 11px;
  overflow: auto;
  max-height: 280px;
}

.tbl-api-debug__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: #667085;
}
