/* --primary-color is already defined in style.css :root (#dc3545) */

/* Page chrome (estimates.php) */
.layout_padding {
  padding: 40px 0;
}

.padding-40-40 {
  padding: 40px 20px;
}

.layout-options {
  gap: 10px;
}

.view-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.view-toggle button {
  width: 38px;
  height: 34px;
  border: none;
  background: transparent;
  color: #888;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.view-toggle button:hover {
  background: #f4f4f4;
}

.view-toggle button.active {
  background: var(--primary-color);
  color: #fff;
}

.layout-options button {
  border: 2px solid var(--primary-color);
  background: #fff;
  color: var(--primary-color);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.2s;
  width: auto;
}

.layout-options button.active,
.layout-options button:hover {
  background: var(--primary-color);
  color: #fff;
}

.layout-form.hide {
  display: none;
}

.msg h2 {
  color: var(--primary-color);
  font-weight: 700;
}

.alert {
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  background: #dc3545;
  color: #fff;
  padding: 14px 40px 14px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.alert.op {
  display: block;
}

.alert h5 {
  margin: 0;
  font-size: 15px;
}

.alert p {
  position: absolute;
  top: 4px;
  right: 10px;
  cursor: pointer;
  margin: 0;
  font-weight: 700;
}

.total-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 700;
  font-size: 16px;
  z-index: 999;
  flex-wrap: wrap;
}

.total-bar span {
  font-size: 18px;
}

.total-bar .show-cart {
  background: #d1005b;
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 30px;
  font-weight: 700;
}

/* Card view (libs/estimates/card-view.php) */
.row.products:before {
  display: none;
}

.products {
  display: flex;
  column-gap: 26px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  margin: auto;
}

h3.title {
  text-align: center;
  color: #044f65;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid #0000000f;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.products .product {
  border: 3px solid var(--primary-color);
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 0 5px 4px #fff00024;
  width: 200px;
  background: #fff;
}

.products .product img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  cursor: pointer;
}

.products .product h2 {
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.products h3 {
  font-weight: 600;
  font-size: 12px;
}

.products .product .ctrl {
  display: flex;
  margin-bottom: 8px;
}

.products .product .ctrl button {
  background: var(--primary-color);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 30px;
  border-radius: 0px;
  padding: 0 10px;
}

.products .product .ctrl input {
  border: 3px solid var(--primary-color);
  border-radius: 0px;
  text-indent: 10px;
  color: #000;
  width: 100%;
  font-weight: 600;
}

.products .product .infos {
  display: flex;
  justify-content: space-between;
}

.products .product .infos h3 {
  margin: 0;
  line-height: normal;
}

@media (max-width: 1200px) {
  .products .product h2 {
    font-size: 13px;
  }
}

@media screen and (max-width: 715px) {
  .products .product {
    width: 47%;
  }
  .products .product h2 {
    font-size: 12px;
  }
  .products .product img {
    height: 120px;
  }
}

@media screen and (max-width: 480px) {
  .products .product {
    width: 45%;
  }
}

@media screen and (max-width: 380px) {
  .products .product {
    width: 45%;
  }
  .products .product img {
    height: 80px;
  }
}

/* Grid view (libs/estimates/grid-view.php) */
.panel {
  margin-bottom: 1em !important;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
}

.panel-body {
  border: 1px solid var(--primary-color);
  position: relative;
  padding: 0 !important;
  display: flex;
  align-items: center;
  font-weight: 700;
  outline: none !important;
  font-size: 14px;
  background: #ffeeee;
  border-radius: 8px;
  box-shadow: 1px 2px 4px #0000003d;
  color: #000;
}

.cat-title {
  text-align: left;
  text-transform: uppercase;
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.product-logo {
  position: relative;
  display: inline-block;
  width: 109px;
}

.product-logo img {
  width: 100px;
  object-fit: cover;
}

.panel-flex {
  position: relative;
  margin-top: 3px;
  padding: 1em 4px;
  padding-left: 30px !important;
  width: calc(100% - 100px);
}

.grid .name {
  font-size: 18px;
  margin: 0;
  position: relative;
  color: var(--primary-color) !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.grid .number {
  width: 45px !important;
  text-align: center;
  border-radius: 0;
  height: 25px;
  color: #333333;
  border: 2px solid #000;
}

.grid .badge {
  color: #d32f2f;
  font-size: 14px;
}

/* New reference-style product card */
.gcard {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
  height: 100%;
  transition: box-shadow 0.2s;
}

.gcard:hover {
  box-shadow: 0 4px 14px rgb(0 0 0 / 12%);
}

.gcard .gcard-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
  overflow: hidden;
}

.gcard .gcard-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gcard .gcard-body {
  padding: 10px 12px 12px;
}

.gcard .gcard-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #222;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.gcard .gcard-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.gcard .gcard-price del {
  color: #999;
  font-size: 12px;
}

.gcard .gcard-price .price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 15px;
}

.gcard .gcard-price .unit {
  color: #999;
  font-size: 11px;
}

.gcard .btn-add {
  width: 100%;
  border: none;
  background: #f0ad4e;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 0;
  border-radius: 30px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.gcard .btn-add:hover {
  background: #ec971f;
}

.gcard .qty-stepper {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--primary-color);
}

.gcard .qty-stepper button {
  flex: 0 0 30px;
  border: none;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.gcard .qty-stepper input {
  flex: 1 1 auto;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: #222;
  min-width: 0;
}

.grid button.q-add,
.grid button.q-sub {
  background: #f44336;
  outline: none;
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 0;
  color: #fff;
  font-weight: bolder;
}

.grid .video {
  cursor: pointer;
  color: var(--primary-color);
  margin-left: 8px;
}

/* Category tabs — horizontal scroller with hidden native scrollbar + arrow buttons */
.category-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 4px 12px;
  flex: 1 1 auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* old Edge/IE */
}

.category-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari/new Edge */
}

.category-tabs-nav-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  background: #fff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}

.category-tabs-nav-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

/* View-mode switcher (list / layers / grid) shown next to the category tabs */
.view-mode-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  background: #f5f5f5;
  border-radius: 30px;
  padding: 3px;
}

.view-mode-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}

.view-mode-btn:hover {
  color: var(--primary-color);
}

.view-mode-btn.active {
  background: var(--primary-color);
  color: #fff;
}

/* List view — one horizontal row per product */
.list-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-row-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
  transition: box-shadow 0.2s;
}

.list-row-card:hover {
  box-shadow: 0 4px 14px rgb(0 0 0 / 12%);
}

.list-row-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  cursor: pointer;
}

.list-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-row-body {
  flex: 1 1 auto;
  min-width: 0;
}

.list-row-title {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 14px;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-row-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
}

.list-row-meta .unit {
  color: #999;
}

.list-row-meta .dot {
  color: #ccc;
}

.list-row-meta del {
  color: #999;
}

.list-row-meta .price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
}

.list-row-action {
  flex-shrink: 0;
}

.list-row-action .btn-add {
  width: auto;
  padding: 7px 18px;
}

.list-row-action .qty-stepper {
  width: 110px;
}

/* Layers view — 2-column card, image left, details right */
.layers-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
  height: 100%;
  transition: box-shadow 0.2s;
}

.layers-card:hover {
  box-shadow: 0 4px 14px rgb(0 0 0 / 12%);
}

.layers-card-img {
  flex: 0 0 130px;
  background: #f5f5f5;
  cursor: pointer;
}

.layers-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.layers-card-body {
  flex: 1 1 auto;
  padding: 12px 14px 12px 0;
  min-width: 0;
}

.layers-card-title {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 14px;
  color: #222;
}

.layers-card-body .unit {
  color: #999;
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}

.layers-card-body .btn-add {
  width: auto;
  padding: 6px 20px;
}

.layers-card-body .qty-stepper {
  width: 120px;
}

/* "Minimum Estimate" shown inline next to the Download Price List button */
.minimum-estimate-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: var(--primary-card-bg);
  font-size: 13px;
}

.minimum-estimate-inline .minimum-estimate-label {
  font-weight: 700;
  color: #333;
}

.minimum-estimate-inline .minimum-estimate-amount {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 15px;
}

/* "Watch Video" pill — sits under the product name, above the price */
.watch-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--primary-color);
  background: #fff;
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 10px 4px 4px;
  border-radius: 30px;
  cursor: pointer;
  margin-bottom: 6px;
  transition: background 0.2s, color 0.2s;
}

.watch-video-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.watch-video-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 9px;
  flex-shrink: 0;
}

.watch-video-btn:hover .watch-video-btn-icon {
  background: #fff;
  color: var(--primary-color);
}

/* Compact variant for table/list rows */
.watch-video-btn-sm {
  display: flex;
  margin-top: 4px;
  font-size: 10px;
  padding: 2px 8px 2px 2px;
}

.watch-video-btn-sm .watch-video-btn-icon {
  width: 15px;
  height: 15px;
  font-size: 8px;
}

/* New reference-style product card (grid view) */
.kc-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.kc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.kc-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
  cursor: pointer;
}

.kc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kc-card-img .video-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kc-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kc-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}

.kc-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.kc-card-price del {
  color: #9a9a9a;
  font-size: 13px;
}

.kc-card-price .kc-price {
  color: #0e7c86;
  font-weight: 800;
  font-size: 17px;
}

.kc-card-price .kc-unit {
  color: #888;
  font-size: 12px;
}

.kc-add-btn {
  margin-top: auto;
  width: 100%;
  border: none;
  border-radius: 30px;
  background: #f0a020;
  color: #fff;
  font-weight: 700;
  padding: 9px 0;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s;
}

.kc-add-btn:hover {
  background: #d98b0f;
}

.kc-stepper {
  margin-top: auto;
  display: flex;
  align-items: center;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid #f0a020;
}

.kc-stepper button {
  background: #f0a020;
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.kc-stepper input {
  flex: 1;
  border: none;
  text-align: center;
  font-weight: 700;
  color: #1a1a1a;
  width: 100%;
  height: 34px;
}

/* Icon-only layout toggle (top-right) */
.kc-view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}

.kc-view-toggle button {
  width: 42px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: #f2f2f2;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.kc-view-toggle button.active {
  background: #17a2b8;
  color: #fff;
}

/* Teal category filter tabs */
.kc-tab {
  border: 1px solid #e2e2e2 !important;
  color: #444 !important;
  background: #fff !important;
}

.kc-tab.kc-tab-active {
  background: #17a2b8 !important;
  border-color: #17a2b8 !important;
  color: #fff !important;
}

@media (min-width: 992px) {
  .grid .col-xl-4.product {
    width: 33.33%;
  }
}

@media (max-width: 992px) {
  .grid .col-md-6.product {
    padding: 0 8px;
  }
}

/* List view (libs/estimates/list-view.php) */
.list-view {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
  border: 2px solid #000;
}

.list-view th,
.list-view td {
  border: 2px solid orange;
  padding: 5px;
}

.list-view th {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}

.list-view td {
  text-align: center;
  font-weight: bold;
  vertical-align: middle;
  color: #000;
}

.list-view tr.sub td {
  background-color: #f14d5d52;
}

.list-view .glow {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  background: linear-gradient(to right, #1a0104 10%, #e03838 50%, #4a0412 60%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 1.5s linear infinite;
  display: inline-block;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.list-view tr.odd td {
  background-color: #81adf0;
}

.list-view tr.even td {
  background-color: #ff6a78;
}

.list-view td.product_image img {
  max-width: 60px;
  max-height: 60px;
  cursor: pointer;
}

.list-view td.product_name {
  width: 38%;
  text-align: left;
}

@media only screen and (max-width: 767px) {
  .list-view th,
  .list-view td {
    padding: 8px 3px !important;
  }
}

@media only screen and (max-width: 740px) {
  .list-view td input {
    width: 50px !important;
  }
}

@media only screen and (max-width: 560px) {
  .list-view th,
  .list-view td {
    font-size: 10px !important;
  }
}

@media only screen and (max-width: 412px) {
  .list-view th,
  .list-view td {
    font-size: 9px !important;
  }
}

/* Cart & preview modal */
.data-box .modal-body img {
  border-radius: 8px;
}

.total-row td {
  font-weight: 700;
  font-size: 16px;
}

/* Bottom notification bar (submit success) */
.bottom-bar {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 10px;
  transition: top 0.8s;
}

.bottom-bar .relative {
  position: relative;
  background-color: #2fcbe0;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
}

.bottom-bar .message {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.bottom-bar .link {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #d1005b;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
}

.bottom-bar.fetched button.link,
.bottom-bar.fetching a.link {
  display: none;
}

/* Modal backdrop (manual, since we don't rely on bootstrap JS to toggle .data-box) */
.modal.data-box.show {
  background: rgba(0, 0, 0, 0.5);
}

/* Order Summary modal (Estimate cart) */
.order-summary-modal {
  max-height: 85vh;
  overflow-y: auto;
}

.order-summary-modal .modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  align-items: flex-start;
  border-bottom: none;
  padding-bottom: 0;
}

.order-summary-modal .modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
}

.order-summary-modal .close-x {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #888;
  cursor: pointer;
}

.order-items {
  margin-top: 10px;
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.order-item-name {
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.order-item-sub {
  margin: 2px 0 0;
  color: #888;
  font-size: 13px;
}

.order-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.qty-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2f2f2;
  border-radius: 30px;
  padding: 4px 10px;
}

.qty-pill button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 15%);
  font-weight: 700;
  cursor: pointer;
}

.qty-pill span {
  min-width: 16px;
  text-align: center;
  font-weight: 700;
}

.trash-btn {
  border: none;
  background: transparent;
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
}

.add-more-btn {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  cursor: pointer;
}

.details-title {
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 18px;
  color: #1a1a1a;
}

.order-form label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  min-height: 16px;
}

.order-form .req {
  color: var(--primary-color);
}

.order-form .opt {
  color: #999;
  text-transform: none;
  font-weight: 500;
}

.coupon-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.coupon-row .form-control {
  flex: 1 1 auto;
}

.apply-btn {
  border: none;
  background: #6b7280;
  color: #fff;
  font-weight: 700;
  padding: 0 20px;
  border-radius: 6px;
  cursor: pointer;
}

.coupon-msg {
  font-size: 13px;
  color: #6b7280;
  margin: -8px 0 16px;
}

.summary-box {
  background: #f4faf9;
  border: 1px solid #e2f0ee;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.summary-row del {
  color: #999;
}

.summary-row.save-row {
  color: #16a34a;
  font-weight: 700;
}

.summary-row.final-row {
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-color);
}

.summary-box hr {
  border-top: 1px dashed #cbd5e1;
  margin: 6px 0;
}

.estimate-now-btn {
  width: 100%;
  border: none;
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--primary-color), #b3001b);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 6px;
}

.estimate-now-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
