.am-cart .am-pagination {
  margin: 1em 0;
}

.am-cart .am-cart-clear {
  clear: both;
}

.am-cart ul.am-cart-front-category-list {
  margin: 0;
  margin-top: 1em;
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item {
  font-size: 1.2rem;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #eee;
  margin-bottom: 0.5em;
  list-style: none;
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item-desc:before {
  content: "\2014\00a0";
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item-desc {
  font-size: 1rem;
  color: #777;
}

.am-cart .am-cart-product.am-cart-product-brief.am-cart-product-in-basket {
  opacity: .7;
}

.am-cart .am-cart-product.am-cart-product-brief.am-cart-product-in-basket:hover {
  opacity: 1;
}

.am-cart .am-cart-product {
  text-align: left;
  page-break-inside: avoid;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.am-cart .am-cart-product.am-cart-product-brief {
  border: solid 1px #e0e0e0;
  transition: border-color .5s;
  box-shadow: 0 1px 1px #e0e0e0;
  border-radius: 3px;
}

.am-cart .am-cart-product.am-cart-product-brief:hover {
  box-shadow: 0 0 8px #ddd;
  border-color: #aaa;
}

.am-cart .am-cart-product .am-cart-product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.am-cart .am-cart-product .am-cart-product-content-product {
  padding: 1em;
}

.am-cart .am-cart-product.am-cart-product-full .am-cart-product-content-product {
  padding: 0 0 1em;
}

.am-cart .am-cart-product .am-cart-product-status {
  color: #688296;
  margin: 0 0 1em 0;
}

.am-cart .am-cart-product .am-cart-product-content-title {
  overflow: hidden;
  margin-bottom: 1em;
}

.am-cart .am-cart-product .am-cart-product-content-title a, .am-cart .am-cart-product .am-cart-product-content-title h2 {
  float: left;
}

.am-cart .am-cart-product .am-cart-product-content-title .am-cart-new {
  padding: 1px 3px;
  font-size: 6px;
  line-height: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  vertical-align: top;
  background-color: #ffffcf;
}

.am-cart .am-cart-product .am-cart-product-content-terms {
  margin-bottom: .5em;
  font-weight: bold;
}

.am-cart .am-cart-product .am-cart-product-content-desc {
  overflow: hidden;
  margin-bottom: 1em;
}

.am-cart .am-cart-product .am-cart-product-content-desc .am-cart-product-content-desc-img-wrapper {
  float: left;
  margin: 0px 0.5em 0.5em 0px;
  max-width: 100%;
  box-sizing: border-box;
}

.am-cart .am-cart-product .am-cart-product-content-desc .am-cart-product-content-desc-img-wrapper img {
  max-width: 100%;
}

.am-cart .am-cart-product .am-cart-product-content-desc .am-cart-product-content-desc-full {
  clear: both;
}

.am-cart .am-cart-product .am-cart-product-content-details .am-cart-product-content-desc .am-cart-product-content-desc-img-wrapper {
  float: none;
  text-align: center;
  margin: 0px;
  background: #f1f1f1;
  margin-bottom: 1em;
}

.am-cart .am-cart-product .am-cart-product-content-details .am-cart-product-content-desc .am-cart-product-content-desc-img-wrapper img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.am-cart .am-cart-product .am-cart-product-content-buttons input {
  padding: 0.4em 0.5em;
}

.am-cart .am-cart-product .am-cart-product-content-add-container {
  background: #f1f1f1;
  padding: 1em;
  margin-top: auto;
}

.am-cart-main {
  float: left;
  width: 65%;
  width: calc(100% - 280px);
  padding-right: 1em;
  box-sizing: border-box;
}

.am-cart-sidebar {
  float: right;
  width: 34.9%;
  width: 280px;
}

.am-cart-nosidebar .am-cart-main {
  width: 99%;
}

.am-cart-nosidebar .am-cart-sidebar {
  display: none;
}

.am-cart-category-list {
  margin-bottom: 0.5em;
}

.am-cart-login label {
  display: inline-block;
  width: 25%;
}

.am-cart-login-element {
  padding-bottom: 1em;
}

.am-cart-tag-list a {
  margin: 0 0.5em 0.5em 0;
  display: inline-block;
  background: #eee;
  padding: .2em 0 .2em .4em;
  overflow: hidden;
  text-decoration: none;
}

.am-cart-tag-list a .am-cart-tag-list-item-count {
  background: #dfe8f0;
  padding: .2em .4em;
}

.am-cart ul.am-cart-layout-product-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-gap: 1em;
}

.am-cart ul.am-cart-layout-product-list li.am-cart-layout-product-list_item {
  display: block;
  list-style: none;
  margin: 0;
}

.am-cart .am-cart-layout-product-back {
  margin: 1em 0;
}

.am-cart-layout-product-list-c1,
.am-cart-layout-product-list-c2,
.am-cart-layout-product-list-c3,
.am-cart-layout-product-list-c4 {
  grid-template-columns: 1fr;
}

.am-basket {
  width: 100%;
}

.am-basket .am-basket-img {
  float: left;
  margin: 0px 0.8em 0.8em 0px;
  border: 1px solid #eeeeee;
}

.am-basket .am-basket-totals td {
  padding: 0.2em 0em 0.2em 0.2em;
}

.am-basket .am-basket-row-head {
  border-bottom: 2px solid #eeeeee;
}

.am-basket .am-basket-row-head th {
  padding: 0.4em;
}

.am-basket .am-basket-row-divider td {
  padding: 1em;
}

.am-basket .am-basket-row {
  border-bottom: 1px solid #eeeeee;
}

.am-basket .am-basket-row td {
  padding: 1em 0.4em;
}

.am-basket .am-basket-price {
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}

.am-basket .am-basket-qty {
  text-align: center;
  vertical-align: top;
  white-space: nowrap;
}

.am-basket .am-basket-discount {
  text-align: right;
}

.am-basket .am-basket-tax {
  text-align: right;
}

.am-basket .am-basket-total {
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}

.am-basket .am-basket-delete {
  float: left;
  padding-right: .5em;
}

.am-basket .am-basket-delete input {
  display: none;
}

.am-basket .am-basket-delete a {
  text-decoration: none;
}

.am-basket .am-basket-delete a:hover {
  color: #ba2727;
}

.am-basket .am-basket-totals {
  text-align: right;
  font-size: 1.2rem;
}

.am-basket .am-basket-totals .am-basket-total {
  padding-left: 1em;
  width: 1%;
  font-weight: normal;
}

.am-basket .am-basket-totals td {
  border: none !important;
}

.am-basket .am-basket-terms td {
  border: none !important;
  text-align: right;
  padding-top: 1em;
  padding-bottom: 1em;
}

.am-basket .am-basket-totals-granttotal {
  font-weight: bold;
}

.am-basket .am-basket-totals-granttotal .am-basket-total {
  font-weight: bold;
}

.am-cart-checkout {
  overflow: hidden;
}

.am-cart-checkout .am-cart-checkout-paysys {
  border-top: #dfe8f0 solid 1px;
}

.am-cart-checkout .am-cart-checkout-paysys .am-cart-checkout-paysys-item {
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 1em;
  border-bottom: #dfe8f0 solid 1px;
}

.am-cart-checkout .am-cart-checkout-paysys .am-cart-checkout-paysys-item input[type=radio] {
  display: none;
}

.am-cart-checkout .am-cart-checkout-paysys .am-cart-checkout-paysys-item .am-cart-checkout-paysys-item-title {
  display: block;
}

.am-cart-checkout .am-cart-checkout-paysys .am-cart-checkout-paysys-item label {
  cursor: pointer;
}

.am-cart-checkout .am-cart-checkout-paysys div:hover {
  background-color: #eff8ff;
}

.am-cart-checkout .am-cart-checkout-paysys div.active {
  background-color: #eff8ff;
  border-left: #dfe8f0 solid 1px;
  border-right: #dfe8f0 solid 1px;
}

.am-cart-checkout .am-cart-checkout-c {
  margin-bottom: 1em;
  padding-bottom: 1em;
  padding-left: 1em;
  border-bottom: #dfe8f0 solid 1px;
}

.am-cart-checkout .am-cart-checkout-c-preview {
  font-weight: bold;
}

.am-cart-checkout-coupon-wrapper {
  margin-bottom: 1em;
}

.am-cart-checkout-paysys {
  margin-bottom: 1em;
}

.am-cart-checkout-buttons .am-cart-checkout-buttons-checkout {
  margin-left: 0.5em;
}

.am-cart-checkout-buttons .am-cart-checkout-buttons-update {
  margin-left: 0.5em;
}

.am-basket-preview-actions-divider {
  opacity: .5;
}

.am-basket-preview-items {
  width: 100%;
  margin: 0 0 0.5em 0;
}

.am-basket-preview-items td {
  padding: 0.2em 0.4em 0.2em 0;
  vertical-align: top;
}

.am-basket-preview-item {
  padding: 0 0.2em 0.2em 0;
  color: #303030;
}

.am-basket-preview-item-qty {
  text-align: right;
}

.am-basket-preview-item-total {
  text-align: right;
}

.am-basket-preview-cart-total {
  text-align: right;
}

.am-basket-preview-total td {
  border-top: 1px solid #ced4da;
}

.am-common .am-basket-preview-item-remove a {
  text-decoration: none;
  color: #303030;
}

.am-common .am-basket-preview-item-remove a:hover {
  color: #ba2727;
}

#cart-basket {
  background-color: #DFE8F0;
  border-color: #CCDDEB;
}

@media all and (max-width: 600px) {
  .am-cart-main,
  .am-cart-sidebar {
    float: none;
    width: 100%;
  }
  .am-cart-main {
    padding: 0;
  }
  .am-cart-product-content-desc-img {
    max-width: 100%;
    height: auto;
  }
}

@media all and (min-width: 750px) {
  .am-cart-layout-product-list-c1 {
    grid-template-columns: 1fr;
  }
  .am-cart-layout-product-list-c2,
  .am-cart-layout-product-list-c3,
  .am-cart-layout-product-list-c4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media all and (min-width: 1000px) {
  .am-cart-layout-product-list-c1 {
    grid-template-columns: 1fr;
  }
  .am-cart-layout-product-list-c2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .am-cart-layout-product-list-c3,
  .am-cart-layout-product-list-c4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media all and (min-width: 1200px) {
  .am-cart-layout-product-list-c1 {
    grid-template-columns: 1fr;
  }
  .am-cart-layout-product-list-c2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .am-cart-layout-product-list-c3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .am-cart-layout-product-list-c4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

#cart-search input[type=text] {
  border-radius: 3px 0 0 3px;
  border-width: 1px 0 1px 1px;
  box-sizing: border-box;
  width: 70%;
  float: left;
  font-size: inherit;
  line-height: normal;
}

#cart-search input[type=submit] {
  border-radius: 0 3px 3px 0;
  box-sizing: border-box;
  padding-left: .5em;
  padding-right: .5em;
  width: 30%;
  font-size: inherit;
  line-height: normal;
}

.am-cart-login .am-cart-login-element label, .am-cart-login .am-cart-login-element input {
  width: 100%;
  box-sizing: border-box;
  display: inline-block;
}

.am-cart-login .am-cart-login-element label {
  display: none;
}

.am-cart-login .am-cart-login-element.am-focus label {
  display: block;
}

.am-cart-login .am-cart-login-element input:focus::placeholder {
  opacity: 0;
}

.am-cart-qty-el {
  border: 1px solid #ced4da;
  border-radius: 3px;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.am-cart-qty-el button.am-cart-qty-el-minus,
.am-cart-qty-el button.am-cart-qty-el-minus:active,
.am-cart-qty-el button.am-cart-qty-el-minus:hover,
.am-cart-qty-el button.am-cart-qty-el-plus,
.am-cart-qty-el button.am-cart-qty-el-plus:active
button.am-cart-qty-el-plus:hover,
.am-cart-qty-el input[type=text].am-cart-qty-el-val {
  height: 2em;
  width: auto;
  text-align: center;
  display: inline-block;
  border: none;
  font-size: inherit;
  line-height: 1em;
  vertical-align: middle;
  box-sizing: border-box;
}

.am-cart-qty-el input[type=text].am-cart-qty-el-val:focus {
  box-shadow: none;
}

.am-cart-qty-el input[type=text].am-cart-qty-el-val {
  padding: 0.5em 0.4em;
  border-radius: 0;
  width: 2em;
}

.am-cart-qty-el button.am-cart-qty-el-minus,
.am-cart-qty-el button.am-cart-qty-el-minus:active,
.am-cart-qty-el button.am-cart-qty-el-minus:hover,
.am-cart-qty-el button.am-cart-qty-el-plus,
.am-cart-qty-el button.am-cart-qty-el-plus:active,
.am-cart-qty-el button.am-cart-qty-el-plus:hover {
  padding: 0.5em 0.3em;
  border-radius: 0;
}

.am-cart-product-content-qty {
  overflow: hidden;
  margin-bottom: .5em;
}

.am-cart-product-content-qty .am-cart-product-qty-label {
  line-height: 2em;
  float: left;
  padding-right: .5em;
}

/* ==========================================================================
   Product Grid Cards & Details Styling (Consolidated from product.phtml)
   ========================================================================== */

/* Complete legacy overrides to kill any aMember default borders, shadows, or backgrounds on the parent wrappers */
.am-cart .am-cart-product, 
.am-cart .am-cart-product.am-cart-product-brief,
.am-cart .am-cart-product.am-cart-product-brief:hover {
    border: none !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    height: 100%;
}

/* 16px Rounded Cards matching dashboard tool-card design */
.am-cart-product-card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
                background-color 0.3s ease,
                border-color 0.3s ease !important;
    border: 1px solid rgba(231, 234, 243, 0.7) !important;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
    border-radius: 16px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.am-cart-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important;
}

/* Product Image Container matching tool-img-container */
.am-cart-product-img-container {
    background-color: #ffffff !important;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
    overflow: hidden;
}

.am-cart-product-img-container img {
    height: 63px;
    width: 224px;
    max-width: 95%;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Premium Badge matching tool-badge */
.am-cart-badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    background-color: #00b894;
    z-index: 2;
}

.am-cart-product-content-terms {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background-color: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 0.75rem 0 !important;
    text-align: center !important;
    display: block !important;
    line-height: 1.4 !important;
}

/* Billing Select Box Redesign */
.billing-plan-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    padding: 0.45rem 2rem 0.45rem 0.75rem !important;
    font-size: 0.825rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    outline: none !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    cursor: pointer !important;
}

.billing-plan-select:focus {
    border-color: var(--tblr-primary) !important;
}

/* Stepper Alignment inside product cards */
.am-cart-qty-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

.am-cart-qty-element {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
}

.am-cart-qty-element button {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.am-cart-qty-element input {
    border: none !important;
    border-left: 1px solid #dee2e6 !important;
    border-right: 1px solid #dee2e6 !important;
    width: 30px;
    height: 24px;
    text-align: center;
    font-weight: bold;
    background: transparent !important;
}

/* Flat bottom action buttons matching dashboard tool-btn-access exactly */
.btn-add-basket, .btn-details {
    background-color: rgba(0, 114, 27, 0.08) !important;
    color: #00721b !important;
    text-align: center !important;
    padding: 12px 5px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    width: 100% !important;
    display: block !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    margin: 0 !important;
    border-top: 1px solid rgba(0, 114, 27, 0.12) !important;
}

.btn-add-basket:hover, .btn-details:hover {
    background-color: rgba(0, 114, 27, 0.18) !important;
    color: #00721b !important;
    border-top: 1px solid rgba(0, 114, 27, 0.22) !important;
}

html[data-bs-theme="dark"] .btn-add-basket, html[data-bs-theme="dark"] .btn-details {
    background-color: rgba(0, 114, 27, 0.12) !important;
    color: #34d399 !important;
    border-top: 1px solid rgba(0, 114, 27, 0.2) !important;
}

html[data-bs-theme="dark"] .btn-add-basket:hover, html[data-bs-theme="dark"] .btn-details:hover {
    background-color: rgba(0, 114, 27, 0.22) !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(0, 114, 27, 0.3) !important;
}

/* Dark Mode Overrides matching dashboard tool-card and tool-btn-access */
html[data-bs-theme="dark"] .am-cart-product-card {
    background-color: #131926 !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

html[data-bs-theme="dark"] .am-cart-product-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
}

html[data-bs-theme="dark"] .am-cart-product-img-container {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Soft dark gray shade on product logo in dark mode */
html[data-bs-theme="dark"] img.dark-mode-mono {
    filter: brightness(0) invert(0.82) drop-shadow(0 0 8px rgba(255, 255, 255, 0.08)) !important;
}

html[data-bs-theme="dark"] img.dark-mode-original {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.05)) !important;
}

html[data-bs-theme="dark"] .am-cart-product-content-terms {
    color: #cbd5e1 !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* Dark mode support for background cards inside product details */
html[data-bs-theme="dark"] .am-cart-product .bg-light-lt,
html[data-bs-theme="dark"] .am-cart-product .bg-white,
html[data-bs-theme="dark"] .am-cart-product-content-terms div.rounded,
html[data-bs-theme="dark"] .am-cart-product-content-terms .bg-white,
html[data-bs-theme="dark"] .am-cart-product-content-terms .bg-light-lt {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

html[data-bs-theme="dark"] .am-cart-product-content-terms div.text-primary,
html[data-bs-theme="dark"] .am-cart-product-content-terms .text-primary {
    color: var(--tblr-primary) !important;
}

html[data-bs-theme="dark"] .billing-plan-select {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

html[data-bs-theme="dark"] .billing-plan-select option {
    background-color: #131926 !important;
    color: #f8fafc !important;
}

.qty-btn-minus, .qty-btn-plus {
    transition: background-color 0.2s, color 0.2s !important;
}
.qty-btn-minus:hover, .qty-btn-plus:hover {
    background-color: var(--tblr-primary) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .qty-btn-minus:hover, 
html[data-bs-theme="dark"] .qty-btn-plus:hover {
    background-color: #1b2436 !important;
    color: #ffffff !important;
}

html[data-bs-theme="dark"] .am-cart-qty-element {
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-bs-theme="dark"] .am-cart-qty-element button {
    color: #94a3b8;
}

html[data-bs-theme="dark"] .am-cart-qty-element input {
    border-left-color: rgba(255, 255, 255, 0.1) !important;
    border-right-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-bs-theme="dark"] .btn-add-basket,
html[data-bs-theme="dark"] .btn-details {
    background-color: rgba(0, 114, 27, 0.12) !important;
    border-top: 1px solid rgba(0, 114, 27, 0.2) !important;
    color: #34d399 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}
html[data-bs-theme="dark"] .btn-add-basket:hover,
html[data-bs-theme="dark"] .btn-details:hover {
    background-color: rgba(0, 114, 27, 0.22) !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(0, 114, 27, 0.3) !important;
}

.single-plan-box {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
}

html[data-bs-theme="dark"] .single-plan-box {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Product Detail Page Overrides (Two-Column Layout) */
.am-detail-img-card {
    border: 1px solid rgba(231, 234, 243, 0.7) !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 2.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    transition: all 0.3s ease;
}

.am-detail-img-card img {
    max-height: 120px;
    max-width: 90%;
    object-fit: contain;
    display: block;
    margin: auto;
}

html[data-bs-theme="dark"] .am-detail-img-card {
    background: #131926 !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}
html[data-bs-theme="dark"] .am-detail-img-card img {
    filter: brightness(0.8) grayscale(0.3) drop-shadow(0 0 8px rgba(255, 255, 255, 0.05)) !important;
}

.btn-detail-add-basket,
.btn-detail-quick-order {
    background-color: #00721b !important;
    border: 1px solid #00721b !important;
    color: #ffffff !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-detail-add-basket:hover,
.btn-detail-quick-order:hover {
    background-color: #005915 !important;
    border-color: #005915 !important;
    color: #ffffff !important;
}

html[data-bs-theme="dark"] .btn-detail-add-basket,
html[data-bs-theme="dark"] .btn-detail-quick-order {
    background-color: #00721b !important;
    border: 1px solid #00721b !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .btn-detail-add-basket:hover,
html[data-bs-theme="dark"] .btn-detail-quick-order:hover {
    background-color: #005915 !important;
    border-color: #005915 !important;
    color: #ffffff !important;
}

