/* =========================================================
   Order enquiry page — professional dense table layout
   Keep table format for maximum products visible on mobile
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700;800&display=swap');

:root {
  --od-ink: #2b2118;
  --od-muted: #6b6560;
  --od-ember: #c0392b;
  --od-gold: #c8860a;
  --od-sand: #f5f0ea;
  --od-white: #ffffff;
  --od-line: rgba(43, 33, 24, 0.1);
  --od-cat: #c0392b;
  --od-header: #fff3c4;
  --od-sticky: #c0392b;
  --od-font: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
}

body.dp-order-page {
  font-family: var(--od-font);
  font-size: 15px;
  line-height: 1.5;
  background: var(--od-sand);
  color: var(--od-ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- Fix header overlap on order page ---------- */
body.dp-order-page .od-top-notice {
  background: #fff8dc;
  border-bottom: 1px solid #f0d060;
  padding: 6px 0;
}

body.dp-order-page .od-top-notice-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--od-ember);
}

body.dp-order-page header {
  position: relative;
  z-index: 120;
}

body.dp-order-page header .header-bottom {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid var(--od-line);
  padding: 10px 0 !important;
  margin: 0 !important;
  box-shadow: 0 2px 12px rgba(43, 33, 24, 0.04);
}

body.dp-order-page .main-menu2 li a {
  color: var(--od-ink) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

body.dp-order-page .main-menu2 li a:hover {
  color: var(--od-ember) !important;
}

/* Floating cart — bottom right, all screen sizes */
.od-cart-fab {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 170;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--od-ember), #e74c3c);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.od-cart-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(192, 57, 43, 0.48);
}

.od-cart-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--od-ember);
  font-family: var(--od-font);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  border: 2px solid var(--od-ember);
  line-height: 1;
}

body.dp-order-page.has-sticky-total .od-cart-fab {
  bottom: 78px;
}

body.dp-order-page header .header-bottom .logo {
  width: auto !important;
  max-width: 210px;
}

body.dp-order-page header .header-bottom .logo img {
  width: auto !important;
  max-width: 100%;
  max-height: 150px !important;
  height: auto !important;
}

body.dp-order-page .margin-bottom-20 {
  margin-bottom: 0 !important;
}

body.dp-order-page .main-menu2 li a {
  color: var(--od-ink) !important;
  font-size: 14px;
}

body.dp-order-page .od-header-actions,
body.dp-order-page .od-cart-toggle,
body.dp-order-page .od-shop-btn,
body.dp-order-page .scrollup,
body.dp-order-page #wh-widget-send-button,
body.dp-order-page .wh-widget-send-button-wrapper,
body.dp-order-page iframe[src*="getbutton.io"] {
  display: none !important;
  visibility: hidden !important;
}

body.dp-order-page header .customer-area2 {
  display: none !important;
}

/* ---------- Page hero ---------- */
.od-hero {
  background: var(--od-sand);
  border-bottom: none;
  padding: 16px 0 0;
  clear: both;
  position: relative;
  z-index: 1;
}

.od-hero-inner {
  background: linear-gradient(135deg, #fff 0%, #fffaf5 100%);
  border: 1px solid var(--od-line);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(43, 33, 24, 0.05);
}

.od-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.od-hero-badge {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--od-ember), #e74c3c);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.25);
  white-space: nowrap;
}

.od-hero h1 {
  margin: 0 0 4px;
  font-family: var(--od-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.od-hero h1 span {
  color: var(--od-ember);
}

.od-hero .breadcrumb {
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
}

.od-hero .breadcrumb-item,
.od-hero .breadcrumb-item a {
  font-size: 13px;
  color: var(--od-muted);
}

.od-hero .breadcrumb-item.active,
.od-hero .breadcrumb-item a:hover {
  color: var(--od-ember);
}

.od-hero-note {
  margin: 0;
  font-size: 13px;
  color: var(--od-muted);
}

/* ---------- Notice strip ---------- */
.od-notice {
  background: #fff8dc;
  border-bottom: 1px solid #f0d060;
  padding: 8px 0;
}

.od-notice marquee div,
.od-notice .od-notice-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--od-ember);
  letter-spacing: 0.02em;
}

/* ---------- Order shell ---------- */
.od-shell {
  padding: 14px 12px 48px;
}

.od-shell .container-fluid.order_cover_div {
  max-width: 1280px;
  margin: 0 auto;
}

.od-shell .order_cover_div,
.od-shell .col-md-12 {
  padding-left: 0;
  padding-right: 0;
}

/* ---------- Category pills ---------- */
.od-cats {
  margin: 14px 0;
  padding: 14px 16px;
  background: var(--od-white);
  border: 1px solid var(--od-line);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(43, 33, 24, 0.04);
}

.od-cats-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--od-muted);
}

.od-cats-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.od-cats-scroll::-webkit-scrollbar {
  height: 4px;
}

.od-cats-scroll::-webkit-scrollbar-thumb {
  background: rgba(192, 57, 43, 0.35);
  border-radius: 4px;
}

.od-cat-pill {
  flex: 0 0 auto;
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--od-sand);
  color: var(--od-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.od-cat-pill:hover,
.od-cat-pill.is-active {
  background: var(--od-ember);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.22);
}

/* ---------- Net total cards ---------- */
.od-net-total-card {
  margin-bottom: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #fff 0%, #fff8f0 100%);
  border: 1px solid rgba(192, 57, 43, 0.15);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(43, 33, 24, 0.04);
}

.od-net-total-bar,
.od-sticky-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.od-net-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--od-muted);
}

.od-net-value,
#showdist span#onettotal,
#showdis span#onettotalb,
.od-cart-net strong {
  color: var(--od-ember);
  font-family: var(--od-font);
  font-weight: 800;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.discounted_price,
.row-total,
.row-total span,
.strikeout,
.qty_control,
.num-pallets-input,
.od-cart-qty-display,
.od-cart-item-meta,
.od-hero-badge,
#order-table td:nth-child(4),
#order-table td:nth-child(5) {
  font-family: var(--od-font);
  font-variant-numeric: tabular-nums;
}

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

/* ---------- Table card wrapper ---------- */
.od-table-wrap {
  background: var(--od-white);
  border: 1px solid var(--od-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(43, 33, 24, 0.06);
}

.od-table-wrap #order-table {
  border: none;
  border-radius: 0;
}

/* ---------- Dense product table ---------- */
#order-table {
  width: 100%;
  margin: 0;
  background: var(--od-white);
  border-collapse: collapse;
  table-layout: fixed;
}

#order-table > tbody > tr:first-child > th,
#order-table > thead > tr > th,
.table > tbody > tr:first-child > th,
.table > thead > tr > th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 6px !important;
  border: none !important;
  border-bottom: 2px solid rgba(192, 57, 43, 0.2) !important;
  background: #fff9e6 !important;
  color: var(--od-ink) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

#order-table .product_image { width: 9%; }
#order-table .product_name { width: 26%; }
#order-table .od-brand-cell { width: 11%; }
#order-table th.product_rate,
#order-table td:nth-child(4) { width: 12%; }
#order-table .discounted_price { width: 11%; }
#order-table .num-pallets { width: 16%; }
#order-table .row-total { width: 15%; }

#order-table > tbody > tr > td,
.table > tbody > tr > td {
  padding: 8px 6px !important;
  border: none !important;
  border-bottom: 1px solid rgba(43, 33, 24, 0.06) !important;
  background: var(--od-white) !important;
  color: var(--od-ink) !important;
  font-size: 13px;
  font-weight: 500;
  vertical-align: middle;
}

#order-table > tbody > tr:nth-child(even):not(.sub) > td {
  background: #fffcf7 !important;
}

#order-table > tbody > tr.odd:hover > td {
  background: #fff5f0 !important;
}

#order-table > tbody > tr.odd:has(.qty_control:not([value=""]):not([value="0"])) > td,
#order-table > tbody > tr.odd.od-has-qty > td {
  background: #fff8f5 !important;
}

/* Category row */
td.product_name.category_name,
#order-table tr.sub td {
  background: linear-gradient(135deg, #c0392b, #a93226) !important;
  color: #fff !important;
  padding: 10px 8px !important;
  text-align: center !important;
  font-size: 13px !important;
  border-bottom: none !important;
}

.catname {
  font-family: var(--od-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

a.colorred i.fa {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

/* Image column */
#order-table .product_image {
  text-align: center;
}

img.img-width {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain;
  cursor: pointer;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--od-line);
  padding: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

img.img-width:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(43, 33, 24, 0.1);
}

/* Product name */
.od-product-name {
  display: block;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  color: var(--od-ink);
}

.od-product-unit {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
  color: var(--od-muted);
}

#order-table .product_name.product-title {
  line-height: 1.3;
}

.od-brand-cell {
  text-align: center;
  font-size: 11px;
  color: var(--od-muted);
}

/* Prices */
.strikeout {
  position: relative;
  color: #9a9188;
  font-weight: 500;
  font-size: 11px;
}

.strikeout::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-bottom: 1px solid #b91c1c;
}

.discounted_price {
  color: var(--od-ember) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  white-space: nowrap;
  text-align: center;
}

#order-table td:nth-child(4) {
  text-align: center;
}

/* Qty stepper — pill style */
.od-qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  vertical-align: middle;
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.od-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: var(--od-sand);
  color: var(--od-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.od-qty-btn:hover:not(:disabled) {
  background: var(--od-ember);
  color: #fff;
}

.od-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.od-qty-stepper .qty_control,
.od-qty-stepper .num-pallets-input {
  width: 34px !important;
  min-width: 34px;
  height: 28px;
  margin: 0 !important;
  padding: 2px !important;
  border: none !important;
  border-left: 1px solid rgba(43, 33, 24, 0.08) !important;
  border-right: 1px solid rgba(43, 33, 24, 0.08) !important;
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: #000 !important;
  background: #fff !important;
}

.qty_control,
.num-pallets-input {
  width: 34px !important;
  min-width: 34px;
  height: 28px;
  margin: 0 !important;
  padding: 2px !important;
  border: none !important;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: #000 !important;
  background: #fff !important;
}

.num-pallets {
  text-align: center;
  width: auto;
}

.row-total {
  text-align: right;
  white-space: nowrap;
  font-weight: 800;
  font-size: 13px;
  color: var(--od-ink);
  padding-right: 10px !important;
}

.row-total span {
  color: var(--od-ember);
}

tr.red_alert {
  display: none !important;
}

.big_product_disable {
  display: none;
}

/* ---------- Sticky bottom net total ---------- */
.od-sticky-total,
#showdis {
  width: min(420px, 92%);
  margin: 12px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
  color: #fff !important;
  position: sticky;
  bottom: 12px;
  z-index: 50;
  border: none !important;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(192, 57, 43, 0.35);
}

.od-sticky-total .od-net-label,
#showdis .od-net-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
}

.od-sticky-total .od-net-value,
#showdis .od-net-value,
#showdis span#onettotalb {
  color: #fff !important;
  font-size: 1.25rem;
}

#showdis.total-appear {
  position: fixed !important;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
}

.od-cart-summary.od-net-total-only .od-cart-net {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  justify-content: space-between;
}

/* ---------- Customer form ---------- */
.od-form-wrap {
  margin-top: 20px;
  padding: 22px 20px;
  background: var(--od-white);
  border: 1px solid var(--od-line);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(43, 33, 24, 0.04);
}

.od-form-wrap .form-group {
  margin-bottom: 14px;
}

.od-form-wrap label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--od-ink);
}

.od-form-wrap .form-control,
.od-form-wrap input,
.od-form-wrap textarea {
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--od-line) !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: var(--od-ink) !important;
  font-size: 15px;
}

.od-form-wrap textarea.form-control {
  min-height: 90px;
}

.btn-green-orange,
#submit_btns {
  background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
  border: none !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px !important;
  width: auto !important;
  margin: 8px 0 0 !important;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.25);
}

.btn-green-orange:hover,
#submit_btns:hover {
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.35);
}

.od-terms {
  margin-top: 16px;
  padding: 16px 18px;
  background: #fffaf5;
  border: 1px solid var(--od-line);
  border-radius: 6px;
}

.od-terms h5 {
  margin: 0 0 10px;
  font-family: var(--od-font);
  color: var(--od-ember);
}

.od-terms ul {
  margin: 0;
  padding-left: 18px;
  color: var(--od-muted);
  font-size: 13px;
  line-height: 1.5;
}

.od-terms .bold {
  color: var(--od-ink);
  font-weight: 700;
}

label.error {
  color: #c0392b;
  font-size: 13px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Mobile: denser rows so more products fit ---------- */
@media only screen and (max-width: 768px) {
  .od-shell {
    padding: 8px 4px 70px;
  }

  .od-hero {
    padding: 18px 0 14px;
  }

  .od-cats {
    padding: 10px 12px;
    margin-bottom: 10px;
  }

  .od-cat-pill {
    padding: 6px 12px;
    font-size: 11px;
  }

  .od-hero-inner {
    padding: 12px 14px;
  }

  .od-hero-badge {
    padding: 8px 12px;
    font-size: 13px;
  }

  .od-net-value,
  #showdist span#onettotal {
    font-size: 1.15rem;
  }

  #showdist,
  .od-net-total-card {
    padding: 10px 12px;
  }

  #order-table {
    table-layout: auto;
  }

  #order-table > tbody > tr:first-child > th,
  #order-table > thead > tr > th {
    padding: 6px 3px !important;
    font-size: 9px !important;
  }

  #order-table > tbody > tr > td,
  .table > tbody > tr > td {
    padding: 5px 3px !important;
    font-size: 11px !important;
    line-height: 1.2;
  }

  .od-product-name {
    font-size: 10px;
  }

  .od-product-unit {
    font-size: 9px;
  }

  td.product_name.category_name,
  #order-table tr.sub td {
    padding: 6px 4px !important;
    font-size: 12px !important;
  }

  .catname {
    font-size: 12px !important;
  }

  #order-table .product_image {
    width: auto;
  }

  img.img-width {
    width: 32px !important;
    height: 32px !important;
  }

  .od-qty-btn {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .od-qty-stepper .qty_control,
  .od-qty-stepper .num-pallets-input {
    width: 28px !important;
    min-width: 28px;
    height: 24px;
    font-size: 11px !important;
  }

  .od-sticky-total,
  #showdis {
    width: calc(100% - 16px);
    border-radius: 10px;
    bottom: 8px;
    padding: 10px 14px;
  }

  #showdis.total-appear {
    bottom: 8px;
  }

  .od-form-wrap {
    padding: 14px 12px;
  }

  /* Hide less-critical columns on very small screens to fit more rows */
  #order-table th.product_image,
  #order-table td.product_image {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  /* Keep brand column optional-hide for max density */
  #order-table th.discounted_price:nth-child(3),
  #order-table td.product_rate {
    display: none;
  }

  #order-table .product_name.product-title {
    min-width: 90px;
    max-width: 42vw;
  }
}

@media print {
  .no-print,
  .no-print * {
    display: none !important;
  }
}

.od-qty-stepper--cart {
  border-radius: 999px;
}

.od-cart-qty-display {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

.od-qty-stepper--cart .od-qty-btn {
  width: 28px;
  height: 28px;
}

/* ---------- Cart drawer ---------- */
.od-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 33, 24, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}

.od-cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.od-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(43, 33, 24, 0.15);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 210;
  display: flex;
  flex-direction: column;
}

.od-cart-drawer.is-open {
  transform: translateX(0);
}

.od-cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--od-line);
}

.od-cart-drawer-head h2 {
  margin: 0;
  font-family: var(--od-font);
  font-size: 1.25rem;
  color: var(--od-ink);
}

.od-cart-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f5f0ea;
  color: var(--od-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.od-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.od-cart-empty {
  margin: 24px 8px;
  text-align: center;
  color: var(--od-muted);
  font-size: 14px;
}

.od-cart-item {
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--od-line);
}

.od-cart-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 4px;
  background: #f5f0ea;
}

.od-cart-item-name {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  color: var(--od-ink);
}

.od-cart-item-meta {
  margin: 4px 0 8px;
  font-size: 13px;
  color: var(--od-muted);
}

.od-cart-remove {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.od-cart-remove:hover {
  background: #dc2626;
  color: #fff;
}

.od-cart-drawer-foot {
  padding: 14px 16px 18px;
  border-top: 1px solid var(--od-line);
  background: #fffaf5;
}

.od-cart-summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--od-muted);
}

.od-cart-summary strong {
  color: var(--od-ink);
}

.od-cart-summary .od-cart-net {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--od-line);
  font-size: 14px;
  font-weight: 700;
}

.od-cart-summary .od-cart-net strong {
  color: var(--od-ember);
  font-size: 16px;
}

.od-cart-checkout-btn {
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--od-ember), #e74c3c);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

body.od-cart-open {
  overflow: hidden;
}

/* ---------- Product image popup modal ---------- */
body.dp-order-page .modal-dialog {
  max-width: 520px;
  margin: 1.5rem auto;
}

body.dp-order-page .modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(43, 33, 24, 0.22);
}

body.dp-order-page .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--od-line);
}

body.dp-order-page .modal-header .modal-title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--od-font);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--od-ink);
}

body.dp-order-page .od-modal-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 2px solid var(--od-ember);
  border-radius: 50%;
  background: #fff;
  color: var(--od-ember);
  font-family: var(--od-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(192, 57, 43, 0.22);
  opacity: 1;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

body.dp-order-page .od-modal-close:hover,
body.dp-order-page .od-modal-close:focus {
  background: var(--od-ember);
  color: #fff;
  outline: none;
  transform: scale(1.05);
}

body.dp-order-page .modal-body {
  padding: 16px;
  background: #fff;
  text-align: center;
}

body.dp-order-page .modal-body .showimage,
body.dp-order-page .modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

body.dp-order-page .modal-footer .btn-default {
  min-width: 120px;
  padding: 10px 20px !important;
  border: 2px solid var(--od-ember) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--od-ember) !important;
  font-family: var(--od-font);
  font-size: 15px;
  font-weight: 700;
}

body.dp-order-page .modal-footer .btn-default:hover {
  background: var(--od-ember) !important;
  color: #fff !important;
}

@media only screen and (max-width: 768px) {
  body.dp-order-page header .header-bottom .logo {
    max-width: 155px;
  }

  body.dp-order-page header .header-bottom .logo img {
    max-height: 56px !important;
  }

  .od-cart-fab {
    right: 14px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  body.dp-order-page.has-sticky-total .od-cart-fab {
    bottom: 72px;
  }

  .od-qty-stepper .qty_control,
  .od-qty-stepper .num-pallets-input {
    width: 30px !important;
    min-width: 28px;
    height: 22px;
    font-size: 11px !important;
  }

  .num-pallets {
    min-width: 76px;
  }
}

/* ---------- Checkout / update order page ---------- */
.od-ref-no {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--od-muted);
}

.od-ref-no strong {
  color: var(--od-ember);
  font-weight: 800;
}

/* ---------- Order page closed state ---------- */
.od-hero-note-closed {
  color: var(--od-ember);
  font-weight: 600;
}

.od-closed-shell {
  padding: 24px 12px 56px;
}

.od-closed-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 28px;
  background: var(--od-white);
  border: 1px solid var(--od-line);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(43, 33, 24, 0.08);
  text-align: center;
}

.od-closed-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(192, 57, 43, 0.12);
  color: var(--od-ember);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.od-closed-title {
  margin: 0 0 16px;
  font-family: var(--od-font);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--od-ink);
}

.od-closed-message {
  margin: 0 auto 18px;
  max-width: 620px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #fffaf5;
  border: 1px solid rgba(192, 57, 43, 0.15);
  color: var(--od-ink);
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
}

.od-closed-help {
  margin: 0;
  color: var(--od-muted);
  font-size: 14px;
}

.od-checkout-shell {
  padding-bottom: 64px;
}

.od-checkout-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.od-checkout-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 8px !important;
  border: none !important;
  border-bottom: 2px solid rgba(192, 57, 43, 0.2) !important;
  background: #fff9e6 !important;
  color: var(--od-ink) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
}

.od-checkout-table tbody td {
  padding: 8px 8px !important;
  border: none !important;
  border-bottom: 1px solid rgba(43, 33, 24, 0.06) !important;
  background: var(--od-white) !important;
  color: var(--od-ink) !important;
  font-size: 13px;
  vertical-align: middle;
}

.od-checkout-table tbody tr:nth-child(even) > td {
  background: #fffcf7 !important;
}

.od-checkout-table tbody tr.od-has-qty > td {
  background: #fff8f5 !important;
}

.od-col-sno { width: 8%; text-align: center; }
.od-col-product { width: 42%; text-align: left !important; }
.od-col-price { width: 14%; text-align: center !important; }
.od-col-qty { width: 16%; text-align: center !important; }
.od-col-total { width: 20%; text-align: right !important; }

.od-checkout-qty {
  width: 56px !important;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 6px 8px !important;
  border: 1px solid rgba(43, 33, 24, 0.12) !important;
  border-radius: 999px !important;
  background: #fff !important;
  text-align: center;
  font-family: var(--od-font);
  font-variant-numeric: tabular-nums;
  font-size: 13px !important;
  font-weight: 700;
}

.od-checkout-qty:focus {
  outline: none;
  border-color: rgba(192, 57, 43, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.od-checkout-qty:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.od-checkout-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding-bottom: 8px;
}

.od-checkout-submit,
#submit_btn {
  min-width: 220px;
  text-align: center;
}

.od-btn-loading,
.od-btn-loading:hover {
  opacity: 0.72;
  cursor: wait !important;
  transform: none !important;
}

.displayonlyPrint {
  display: none !important;
}

@media print {
  .no-print,
  .no-print * {
    display: none !important;
  }

  .displayonlyPrint {
    display: block !important;
  }

  body.dp-order-page {
    background: #fff;
  }

  .od-table-wrap {
    box-shadow: none;
    border: none;
  }
}

@media only screen and (max-width: 768px) {
  .od-col-sno { width: 10%; }
  .od-col-product { width: 34%; font-size: 11px !important; }
  .od-col-price { width: 14%; font-size: 11px !important; }
  .od-col-qty { width: 18%; }
  .od-col-total { width: 24%; font-size: 11px !important; }

  .od-checkout-qty {
    width: 48px !important;
    padding: 5px 4px !important;
    font-size: 12px !important;
  }

  .od-checkout-submit,
  #submit_btn {
    width: 100% !important;
    min-width: 0;
  }
}
