/* order custom product page css */
/* ...css unchanged... */
.hint-block{
    margin-top: 10px;
}
.order-page-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 6px 0 18px;
}
.order-page-title {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: #1f2937;
}
.order-layout-card {
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
}
.order-main-col {
    padding-right: 24px;
}
.order-cart-col {
    padding-left: 24px;
    border-left: 1px solid #eef2f6;
}
.order-title-box {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #111827;
}
.order-section {
    margin-bottom: 24px;
}
.order-section p {
    margin: 0;
    line-height: 1.7;
    color: #374151;
}
.order-pricing-wrap {
    border: 1px solid #e4e8ed;
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #f8fafc;
}
#badge_pricing {
    margin-bottom: 0;
    min-width: 620px;
    background: #fff;
}
#badge_pricing tr.info td {
    background: #dbeaf7;
}
#badge_pricing tr.success td {
    background: #e6f2df;
}
#badge_pricing td {
    border: 1px solid #e4e8ed !important;
    padding: 12px 10px !important;
    font-size: 16px;
}
#badge_pricing td.special_price {
    background: #fff3e8;
    color: #c75b00;
}
.order-higher-text {
    margin: 8px 0 20px;
    font-size: 19px;
    font-weight: 500;
    color: #1f2937;
}
.order-custom-img img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    padding: 6px;
    background: #fff;
}
.boxHeader {
    margin: 20px 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}
.order-product-form .form-group {
    margin-bottom: 18px;
}
.order-product-form .form-control {
    height: 42px;
    border-radius: 7px;
    border-color: #d1d5db;
    box-shadow: none;
}
.order-product-form .form-control:focus {
    border-color: #4a8fdc;
    box-shadow: 0 0 0 2px rgba(31, 122, 224, 0.12);
}
.order-product-form label {
    color: #111827;
}
.order-checkbox {
    display: inline-block;
    /* margin: 8px 0 0 25%; */
    font-weight: 400;
    color: #4b5563;
}
.create-btn {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}
@media (max-width: 767px) {
    .order-page-title {
        font-size: 30px;
    }
    .order-layout-card {
        padding: 14px;
    }
    .order-main-col,
    .order-cart-col {
        padding-left: 15px;
        padding-right: 15px;
        border-left: none;
    }
    #badge_pricing td {
        font-size: 14px;
    }
    .order-checkbox {
        margin-left: 0;
    }
    .order-higher-text {
        font-size: 16px;
    }
}

.custom-option-group {
    margin-bottom: 20px;
}
.custom-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.custom-label .custom-label-note {
    font-size: 10px;
    font-weight: 400;
    margin-left: 5px;
    color: #888;
}
.custom-radio-list label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    margin-right: 18px;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.1s;
}
.custom-radio-list input[type="radio"] {
    margin-right: 6px;
    accent-color: #1f7ae0;
}
.custom-radio-list label:hover {.hint-block{
    margin-top: 10px;
}
.order-page-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 6px 0 18px;
}
.order-page-title {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: #1f2937;
}
.order-layout-card {
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
}
.order-main-col {
    padding-right: 24px;
}
.order-cart-col {
    padding-left: 24px;
    border-left: 1px solid #eef2f6;
}
.order-title-box {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #111827;
}
.order-section {
    margin-bottom: 24px;
}
.order-section p {
    margin: 0;
    line-height: 1.7;
    color: #374151;
}
.order-pricing-wrap {
    border: 1px solid #e4e8ed;
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #f8fafc;
}
#badge_pricing {
    margin-bottom: 0;
    min-width: 620px;
    background: #fff;
}
#badge_pricing tr.info td {
    background: #dbeaf7;
}
#badge_pricing tr.success td {
    background: #e6f2df;
}
#badge_pricing td {
    border: 1px solid #e4e8ed !important;
    padding: 12px 10px !important;
    font-size: 16px;
}
#badge_pricing td.special_price {
    background: #fff3e8;
    color: #c75b00;
}
.order-higher-text {
    margin: 8px 0 20px;
    font-size: 19px;
    font-weight: 500;
    color: #1f2937;
}
.order-custom-img img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    padding: 6px;
    background: #fff;
}
.boxHeader {
    margin: 20px 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}
.order-product-form .form-group {
    margin-bottom: 18px;
}
.order-product-form .form-control {
    height: 42px;
    border-radius: 7px;
    border-color: #d1d5db;
    box-shadow: none;
}
.order-product-form .form-control:focus {
    border-color: #4a8fdc;
    box-shadow: 0 0 0 2px rgba(31, 122, 224, 0.12);
}
.order-product-form label {
    color: #111827;
}
.order-checkbox {
    display: inline-block;
    /* margin: 8px 0 0 25%; */
    font-weight: 400;
    color: #4b5563;
}
.create-btn {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}
@media (max-width: 767px) {
    .order-page-title {
        font-size: 30px;
    }
    .order-layout-card {
        padding: 14px;
    }
    .order-main-col,
    .order-cart-col {
        padding-left: 15px;
        padding-right: 15px;
        border-left: none;
    }
    #badge_pricing td {
        font-size: 14px;
    }
    .order-checkbox {
        margin-left: 0;
    }
    .order-higher-text {
        font-size: 16px;
    }
}

.custom-option-group {
    margin-bottom: 20px;
}
.custom-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.custom-label .custom-label-note {
    font-size: 10px;
    font-weight: 400;
    margin-left: 5px;
    color: #888;
}
.custom-radio-list label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    margin-right: 18px;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.1s;
}
.custom-radio-list input[type="radio"] {
    margin-right: 6px;
    accent-color: #1f7ae0;
}
.custom-radio-list label:hover {
    background: #eef6fd;
}
.custom-hint {
    display: block;
    font-size: 10px;
    color: #666;
    margin-left: 24px;
    margin-top: 2px;
    font-family: Arial, Helvetica, sans-serif;
}

input[type="radio"], input[type="checkbox"] {
    margin-top: 0px !important;
}
.subpagebtn.btn-primary, .cancel-button {
    border-radius: 10px;
    padding: 5px 5px;
    width: 12%;
}
    background: #eef6fd;
}
.custom-hint {
    display: block;
    font-size: 10px;
    color: #666;
    margin-left: 24px;
    margin-top: 2px;
    font-family: Arial, Helvetica, sans-serif;
}

input[type="radio"], input[type="checkbox"] {
    margin-top: 0px !important;
}
.subpagebtn.btn-primary, .cancel-button {
    border-radius: 10px;
    padding: 5px 5px;
    width: 12%;
}
/* order item summary page css */

.checkout-summary {
    margin: 0;
}

.checkout-summary h2 {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.25;
    color: #1f2937;
}

.checkout-summary .custom-hr {
    margin: 0;
}

.checkout-summary .custom-hr hr {
    margin: 10px 0 12px;
    border-color: #e5e7eb;
}

.checkout-summary .summary-order {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 6px 0;
}

.checkout-summary .order-pic {
    width: 72px;
    height: 72px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-summary .order-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-summary .order-details {
    flex: 1;
    min-width: 0;
}

.checkout-summary .price-text {
    display: block;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.checkout-summary .black-text {
    margin: 4px 0 0;
    font-size: 20px;
    line-height: 1.3;
    color: #1f2937;
}

.checkout-summary .grey-text {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #4b5563;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.checkout-summary .item-qty-details {
    margin-top: 8px;
    font-size: 14px;
    color: #374151;
}

.checkout-summary .links {
    margin-left: 6px;
    font-size: 14px;
}

.checkout-summary .edit-cart-link {
    width: 100%;
    margin-top: 4px;
}

.checkout-summary .edit-cart-link a {
    font-size: 14px;
}

.checkout-summary .summary-totals {
    padding: 10px 0 2px;
}

.checkout-summary .total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.checkout-summary .total-row .total-label {
    margin: 0;
    font-size: 18px;
    color: #111827;
    font-weight: 600;
}

.checkout-summary .total-row .total-value {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.checkout-summary .total-row.total-row-final .total-label {
    font-size: 18px;
    color: #111827;
    font-weight: 600;
}

.checkout-summary .total-row.total-row-final .total-value {
    font-size: 36px;
}

@media (max-width: 767px) {
    .checkout-summary h2 {
        font-size: 30px;
    }

    .checkout-summary .price-text {
        font-size: 22px;
    }

    .checkout-summary .black-text {
        font-size: 18px;
    }

    .checkout-summary .total-row .total-value {
        font-size: 28px;
    }

    .checkout-summary .total-row.total-row-final .total-value {
        font-size: 32px;
    }
}

/* cart page css */
.wordWrap {
    display: flex;
    justify-content: space-between;
}

.cart-page-modern {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.cart-page-modern .shopping-left-panel {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.cart-page-modern .shopping-right-panel {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.cart-page-modern .shopping-table-cover,
.cart-page-modern .shopping-table-cover2,
.cart-page-modern .summary-box {
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(20, 35, 56, 0.07);
}

.cart-page-modern .shopping-table-cover,
.cart-page-modern .shopping-table-cover2 {
    padding: 12px 12px 0;
    margin-bottom: 16px;
}

.cart-page-modern .table > thead > tr > th {
    border-bottom: 1px solid #e3e8ef;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    background: #f8fafc;
}

.cart-page-modern .table > tbody > tr > td {
    border-top: 1px solid #edf2f7;
    vertical-align: middle;
    color: #1f2937;
}

.cart-page-modern .table img.img-responsive {
    max-width: 84px;
    max-height: 84px;
    border-radius: 8px;
    border: 1px solid #e6edf5;
    padding: 4px;
    background: #fff;
}

.cart-page-modern .summary-box {
    padding: 18px 16px;
}

.cart-page-modern .summary-box h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.cart-page-modern .cost-dropdown .btn {
    width: 100%;
    text-align: left;
    border-radius: 8px;
    border-color: #d6dfeb;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    padding: 10px 12px;
}

.cart-page-modern #collapseContent {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.cart-page-modern #collapseContent li {
    margin-bottom: 10px;
}

.cart-page-modern .cost-estimate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-page-modern .state-form-control,
.cart-page-modern #zip,
.cart-page-modern .qty-drop {
    border: 1px solid #d8e0eb;
    border-radius: 7px;
    min-height: 36px;
    padding: 6px 10px;
    background: #fff;
}

.cart-page-modern .checkout-button .gocheckout {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .03em;
    margin-top: 10px;
}

.continue-shopping-wrap {
    margin-top: 18px;
    text-align: left;
}

.continue-shopping-wrap .namebadgepricebuton {
    width: 260px;
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 10px 12px;
    transition: all .2s ease;
}

.continue-shopping-wrap .namebadgepricebuton:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

@media (max-width: 991px) {
    .cart-page-modern .shopping-left-panel,
    .cart-page-modern .shopping-right-panel {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .cart-page-modern .shopping-right-panel {
        margin-top: 16px;
    }
}

/* thank you page css */
:root {
    --brand-main: #164C76;
    --brand-accent: #f06600;
    --gray-light: #f7f7fa;
    --gray-border: #e5e5ea;
    --gray-muted: #8e8e93;
  }
  /* body {
    font-family: 'Inter', Arial, sans-serif;
    color: #222;
    background: var(--gray-light);
  } */
  .section-thankyou {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0;
  }
  @media(max-width: 991px) {
    .section-thankyou { padding: 20px 0; }
  }
  .order-success-card {
    background: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 40px 40px 24px 40px;
    margin-bottom: 36px;
    transition: box-shadow .2s;
  }
  @media(max-width: 767px) {
    .order-success-card {
      padding: 18px 10px 12px 10px;
      border-radius: 10px;
    }
  }
  .order-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--brand-main);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
  }
  .order-icon-wrap svg {
    width: 40px;
    height: 40px;
    display: block;
  }
  .order-success-header {
    text-align: center;
  }
  .order-success-title {
    color: var(--brand-accent);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
  }
  .order-success-desc {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 22px;
    font-weight: 500;
  }
  .order-info-fields {
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px 30px;
  }
  @media(max-width: 767px) {
    .order-info-fields {
      grid-template-columns: 1fr;
      gap: 14px;
    }
  }
  .order-info-block {
    background: #fafbfc;
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    padding: 18px 18px 10px 18px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .order-info-title {
    color: var(--gray-muted);
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 2px;
    font-weight: 600;
    letter-spacing: 1.4px;
  }
  .order-info-value {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 500;
    word-break: break-word;
  }
  .order-number-row {
    margin: 24px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: var(--brand-main);
    border-radius: 8px;
    padding: 18px 18px;
    color: #fff;
  }
  .order-number-label {
    color: rgba(255,255,255,.77);
    font-size: 15px;
  }
  .order-number-value {
    font-size: 1.17rem;
    font-weight: 700;
    letter-spacing: 1px;
  }
  .order-number-download {
    background: var(--brand-accent);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    padding: 7px 26px;
    border: none;
    box-shadow: 0 3px 8px 0 rgba(240,102,0,0.08);
    transition: background .2s;
    margin-left: auto;
    margin-top: 8px;body {
    font-family: 'Inter', Arial, sans-serif;
    color: #222;
    background: var(--gray-light);
  }
    text-decoration: none;
    display: inline-block;
  }
  .order-number-download:hover {
    background: #db5c00;
  }
  .order-summary-side {
    background: #fefefe;
    box-shadow: 0 2px 12px #e5e5ea56;
    border-radius: 18px;
    padding: 34px 34px 18px 34px;
    margin-bottom: 36px;
    overflow: hidden;
  }
  @media(max-width: 991px) {
    .order-summary-side {
      padding: 20px 10px 14px 10px;
      margin-top: 28px;
    }
  }
  .summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #202020;
    margin-bottom: 24px;
    text-align: center;
  }
  .order-products-list {
    margin-bottom: 30px;
  }
  .order-product-row {
    background: #fafbfc;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 12px;
    margin-bottom: 14px;
    gap: 14px;
    border: 1px solid var(--gray-border);
  }
  @media(max-width: 767px) {
    .order-product-row { flex-direction: column; gap: 3px; }
  }
  .order-prod-imgbox {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .order-prod-imgbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .order-prod-maininfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .order-prod-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #2a2a2a;
  }
  .order-prod-qty {
    font-size: 15px;
    color: var(--gray-muted);
    margin-bottom: 0;
  }
  .order-prod-price {
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--brand-main);
    margin-left: 12px;
    margin-top: 7px;
    white-space: nowrap;
  }
  .order-summary-details {
    margin-bottom: 22px;
  }
  .summary-fields-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .summary-fields-row.subtotal, .summary-fields-row.tax, .summary-fields-row.total {
    font-size: 1.07rem;
    font-weight: 600;
  }
  .summary-fields-row.total {
    color: var(--brand-accent);
    border-top: 1px solid #e2e2e4;
    padding-top: 14px;
    margin-top: 14px;
  }
  .summary-fields-row:last-child {
    margin-bottom: 0;
  }
  .summary-paid-wrap {
    border-top: 2px solid var(--brand-main);
    margin-top: 18px;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    border-radius: 0 0 12px 12px;
  }
  .summary-paid-label {
    font-size: 1.12rem;
    color: #111;
    font-weight: 600;
    letter-spacing: .5px;
  }
  .summary-paid-value {
    color: var(--brand-main);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .2px;
  }
  @media (max-width: 991px) {
    .desktop-col-6 { width: 100%; max-width: 100%; margin-bottom: 30px; }
    .desktop-flex-row { flex-direction: column; }
  }
  @media (min-width: 992px) {
    .desktop-col-6 { width: 50%; max-width: 50%; }
    .desktop-flex-row { display: flex; gap: 36px; }
  }
  @media (max-width:600px) {
    .order-number-row { flex-direction: column; align-items: flex-start; gap: 5px; }
    .order-number-download { width: 100%; margin-left: 0; }
  }

  /* custom product listing */
  .myproduct-list {
    margin-top: 8px;
}

.myproduct-list .bestbedgecontitle {
    margin-bottom: 2px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.2px;
}

.myproduct-list .bestbedgeconsubtitle {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.custom-products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0 -10px;
}

.custom-product-col {
    float: left !important;
    width: 100%;
    max-width: 300px;
    padding: 0 10px;
}

.custom-product-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1f7ae0 0%, #21b0f3 100%);
}

.custom-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.14);
}

.custom-product-image {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f8fafc;
    padding: 10px;
    margin-bottom: 12px;
}

.custom-product-image img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.custom-product-card:hover .custom-product-image img {
    transform: scale(1.03);
}

.custom-product-name {
    min-height: 44px;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2937;
}

.custom-product-action {
    width: 100%;
    margin-top: auto;
}

.custom-product-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    background: #1f7ae0;
    border: 1px solid #1f7ae0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.custom-product-btn:hover,
.custom-product-btn:focus {
    color: #ffffff;
    background: #0f5fb8;
    border-color: #0f5fb8;
    text-decoration: none;
}

@media (max-width: 767px) {
    .myproduct-list .bestbedgecontitle {
        font-size: 20px;
    }

    .custom-product-col {
        max-width: 360px;
    }
}

/* checkout page css */

.smaller-text {
    display: none;
}

.checkout-summary-section {
    margin-top: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.checkout-summary-header {
    border-bottom: 1px solid #e4e7ec;
    background: #f8fafc;
    padding: 12px 16px;
}

.checkout-summary-header p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: 0.2px;
}

.checkout-summary-body {
    padding: 12px 16px 4px;
}

@media (max-width: 767px) {
    .checkout-summary-section {
        margin-top: 14px;
    }

    .checkout-summary-header,
    .checkout-summary-body {
        padding-left: 12px;
        padding-right: 12px;
    }
}

#modal-address .modal-dialog {
    width: 640px;
    max-width: calc(100% - 30px);
}

#modal-address .modal-content {
    border-radius: 8px;
}

#modal-address .shipping-address-title {
    margin: 0;
    padding: 14px 20px 10px;
}

#modal-address #add_address_div {
    padding: 0 20px 18px;
}

#modal-address .address-form-modal .form-group {
    margin: 0 0 12px;
}

#modal-address .address-form-modal .address-form-label {
    display: block;
    float: none;
    width: 100%;
    margin: 0 0 6px;
    padding: 0;
    text-align: left;
    font-size: 14px;
}

#modal-address .address-form-modal .form-control,
#modal-address .address-form-modal .select2-container--krajee .select2-selection {
    width: 100%;
    height: 40px;
}

#modal-address .address-form-modal .help-block {
    margin: 4px 0 0;
}

#modal-address .create-btn {
    margin-top: 4px;
}

#modal-address .create-btn .subpagebtn {
    min-width: 120px;
}

.shipping-address-cover .row {
    display: flex;
    flex-wrap: wrap;
}

.shipping-address-cover .shp-left {
    margin-bottom: 16px;
}

.shipping-address-cover .shipping-address {
    position: relative;
    height: 100%;
    min-height: 200px;
    padding: 16px;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.shipping-address-cover .shipping-address:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.15);
}

.shipping-address-cover .shipping-address p {
    margin: 0 0 6px;
    line-height: 1.35;
    color: #1f2937;
    word-break: break-word;
}

.shipping-address-cover .shipping-address .ship-here-link-cover {
    margin-top: 12px;
}

.shipping-address-cover .shipping-address .ship-here-link {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #0d6efd;
    border-radius: 6px;
    background: #0d6efd;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.shipping-address-cover .shipping-address .ship-here-link:hover,
.shipping-address-cover .shipping-address .ship-here-link:focus {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #ffffff;
    text-decoration: none;
}

.shipping-address-cover .shipping-address.verified-address {
    border-color: #198754;
    box-shadow: 0 4px 14px rgba(25, 135, 84, 0.16);
}

@media (max-width: 767px) {
    .shipping-address-cover .shp-left {
        width: 100%;
    }
}
.address-dropdown-group {
    margin-bottom: 24px;
}
.address-dropdown-label {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    color: #22223c;
}
.custom-address-select {
    width: 100%;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 16px;
    color: #20243b;
    background: #f4f8fb;
    border: 1.5px solid #d7deed;
    transition: border-color 0.2s;
    margin-bottom: 0;
}
.custom-address-select:focus {
    border-color: #0d6efd;
    outline: none;
    background: #fff;
}
.add-address-link {
    display: inline-block;
    margin-top: 14px;
    font-weight: 600;
    font-size: 15px;
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.18s;
}
.add-address-link:hover {
    color: #083f95; 
    text-decoration: underline;
}
.custom-address-select option {
    padding: 10px 0;
    background: #fff;
    color: #23233a;
    font-size: 15px;
}
.shipping-method-table-cover {
    margin-top: 32px;
    margin-bottom: 10px;
    padding: 16px 16px 24px 16px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    /* max-width: 450px; */
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.shipping-method-title-row {
    margin-bottom: 15px;
}
.shipping-method-title-row label {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: inline-block;
}
.shipping-method-select-wrap {
    margin-bottom: 18px;
}
#shippingtype {
    width: 100%;
    font-size: 15px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    margin: 0;
}
.checkout-button {
    text-align: left;
}
.checkout-button .btn {
    width: 120px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    padding: 7px 0;
    margin-top: 7px;
}

/* Show the check badge on top of the address, giving it a shadow and circular backing for visibility */
.enhanced-selected-address {
    position: relative;
    padding-top: 35px;
}
.white-checked-badge {
    position: absolute;
    top: -5px;
    left: 97%;
    transform: translateX(-50%);
    background: #1a73e8;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 2px solid #fff;
}
.white-checked-badge img {
    width: 18px;
    height: 18px;
    display: block;
}

/* payment page */
.stax-payment-wrapper {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 30px 30px 20px;
    max-width: 100%;
    margin: 0;
    box-shadow: 0 8px 24px rgba(40,60,100,0.06);
}
.stax-payment-layout {
    margin-top: 10px;
}
.stax-payment-layout .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}
.stax-payment-wrapper .section-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    margin-top: 0;
    color: #0C2543;
    letter-spacing: .02em;
    background: #F3F7FA;
    padding: 12px 20px;
    border-left: 4px solid #26a69a;
    border-radius: 3px 0 0 3px;
}
.stax-payment-wrapper .form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    width: 100%;
    flex-direction: column;
}
.stax-payment-wrapper .form-label {
    min-width: 140px;
    font-weight: 500;
    color: #232e38;
    font-size: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 8px; /* give space below label */
}
.stax-payment-wrapper .form-label.required span {
    color: #e53935;
    margin-left: 3px;
    font-size: 17px;
}
.stax-payment-wrapper .form-input {
    flex: 1 1 auto;
}
.stax-payment-wrapper .form-control {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #bfc8d4;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
    outline: none;
    transition: border-color .15s;
}
.stax-payment-wrapper .form-control:focus {
    border-color: #26a69a;
    box-shadow: 0 0 0 2px #26a69a33;
}
.stax-payment-wrapper .form-error {
    color: #e53935;
    font-size: 13px;
    padding-top: 5px;
}
.stax-payment-wrapper .radio-group {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 7px;
}
.stax-payment-wrapper .radio-inline {
    margin: 0 10px 0 0;
    font-size: 15px;
    font-weight: 500;
    color: #31404B;
}
.stax-payment-wrapper .billing-grid {
    margin: 0 -10px;
    display: flex;
    flex-wrap: wrap;
}
.stax-payment-wrapper .billing-col {
    padding: 0 10px;
    margin-bottom: 16px;
    flex: 1 1 250px;
    min-width: 220px;
}
.stax-payment-wrapper .shipping-address-title p {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
    color: #2b4256;
}
.stax-payment-wrapper .shipping-address {
    border: 1.5px solid #dbe4ef;
    border-radius: 6px;
    background: #f8fafb;
    padding: 16px 18px 38px;
    transition: all .2s;
    min-height: 190px;
    position: relative;
    margin-bottom: 5px;
    cursor: pointer;
}
.stax-payment-wrapper .shipping-address:hover, .stax-payment-wrapper .shipping-address.verified-address {
    border-color: #26a69a;
    background: #eef6f4;
    box-shadow: 0 4px 12px rgba(38,166,154,0.09);
}
.stax-payment-wrapper .shipping-address p {
    font-size: 15px;
    color: #222a37;
    margin-bottom: 5px;
    margin-top: 0;
    word-break: break-word;
}
.stax-payment-wrapper .ship-here-link-cover {
    position: absolute;
    left: 14px;
    bottom: 10px;
}
.stax-payment-wrapper .white-checked {
    position: absolute;
    right: 13px;
    top: 13px;
    width: 22px;
    z-index: 2;
}
.stax-payment-wrapper .address-actions {
    margin-top: 15px;
}
/* .stax-payment-wrapper .add_billingaddress {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: #26a69a;
    border: none;
    border-radius: 3px;
    padding: 8px 18px;
    text-decoration: none;
    transition: background .15s;
} */
/* .stax-payment-wrapper .add_billingaddress:hover {
    background: #249d8f;
    color: #fff;
} */
.stax-payment-wrapper .exp-form-group {
    margin-bottom: 15px;
}
.stax-payment-wrapper .exp-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    width: 100%;
}
.stax-payment-wrapper .exp-group-input {
    flex: 1 1 50%;
}
.stax-payment-wrapper .optional-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}
.stax-payment-wrapper .optional-label {
    min-width: 120px;
    font-weight: 400;
    color: #738297;
    margin-bottom: 5px;
}
.stax-payment-wrapper .captcha-row {
    margin-top: 12px;
    text-align: left;
}
.stax-payment-wrapper .submit-row {
    margin-top: 24px;
    margin-bottom: 12px;
    text-align: center;
}
.stax-payment-wrapper .subpagebtn {
    height: 42px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    background: #1d91ee;
    color: #fff;
    border-radius: 4px;
    border: none;
    transition: background .15s;
}
.stax-payment-wrapper .subpagebtn:hover {
    background: #106dcc;
}
/* Responsive Styles */
@media (max-width: 700px) {
    .stax-payment-wrapper {
        padding: 18px 7px 15px;
        border-radius: 5px;
        box-shadow: none;
    }
    .stax-payment-wrapper .form-row,
    .stax-payment-wrapper .optional-row {
        flex-direction: column;
        gap: 5px;
    }
    .stax-payment-wrapper .form-label {
        min-width: 0;
        margin-bottom: 5px;
    }
    .stax-payment-wrapper .section-header {
        font-size: 16px;
        border-left-width: 3px;
        padding: 10px 10px;
    }
    .stax-payment-wrapper .submit-row {
        text-align: center;
    }
}
#billdiv{
    margin-top: 10px;
    margin-bottom: 40px !important;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 10px;
    background: #f8fafb;
}
#billdiv .shipping-address-title {
    margin-bottom: 10px;
}

#modal-address .modal-dialog {
    width: 640px;
    max-width: calc(100% - 30px);
}

#modal-address .modal-content {
    border-radius: 8px;
}

#modal-address .shipping-address-title {
    margin: 0;
    padding: 14px 20px 10px;
}

#modal-address #add_billingaddress_div {
    padding: 0 20px 18px;
}

#modal-address .address-form-modal .form-group {
    margin: 0 0 12px;
}

#modal-address .address-form-modal .address-form-label {
    display: block;
    float: none;
    width: 100%;
    margin: 0 0 6px;
    padding: 0;
    text-align: left;
    font-size: 14px;
}

#modal-address .address-form-modal .form-control,
#modal-address .address-form-modal .select2-container--krajee .select2-selection {
    width: 100%;
    height: 40px;
}

#modal-address .address-form-modal .help-block {
    margin: 4px 0 0;
}

#modal-address .create-btn {
    margin-top: 4px;
}

#modal-address .create-btn .subpagebtn {
    min-width: 120px;
}

 /* Billing Address Section Styles - to match checkout page look */
 .billing-address-section {
            background: #fff;
            border: 1px solid #e7e7e7;
            border-radius: 8px;
            padding: 24px 18px 16px 18px;
            margin-bottom: 25px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.03);
        }
        .billing-address-section .shipping-address-title {
            margin-bottom: 12px;
        }
        .billing-address-section .shipping-address-title p {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 0;
            color: #23233a;
            letter-spacing: 0.2px;
        }
        .billing-address-section .address-dropdown-group {
            margin-bottom: 18px;
        }
        .billing-address-section .address-dropdown-label {
            font-size: 14px;
            font-weight: 500;
            color: #222;
            margin-bottom: 6px;
            display: inline-block;
        }
        .billing-address-section .custom-address-select {
            width: 100%;
            font-size: 15px;
            padding: 8px 10px;
            border-radius: 6px;
            border: 1px solid #ccc;
            background: #f9f9f9;
            margin: 0;
        }
        /* .billing-address-section .add_billingaddress {
            display: inline-block;
            font-size: 13px;
            margin-top: 7px;
            margin-left: 8px;
            color: #0c71c3;
            font-weight: 500;
            text-decoration: underline;
            cursor: pointer;
        } */
        .billing-address-section #selected-billing-address-box {
            margin-top: 14px;
        }
        .billing-address-section .shipping-address {
            padding: 14px 20px 8px 18px;
            background: #f5f6fa;
            border-radius: 8px;
            border: 1px solid #ebecec;
            position: relative;
            margin-bottom: 6px;
        }
        .billing-address-section .shipping-address p {
            margin-bottom: 2px;
            font-size: 14px;
            color: #222;
        }
        .billing-address-section .white-checked {
            width: 20px;
            position: absolute;
            right: 12px;
            top: 13px;
        }
        @media (max-width: 600px) {
            .billing-address-section .shipping-address {
                padding: 14px 6px 8px 12px;
            }
        }
        .add-address-link {
        display: inline-block;
        margin-top: 14px;
        font-weight: 600;
        font-size: 15px;
        color: #0d6efd;
        text-decoration: none;
        transition: color 0.18s;
    }
    .add-address-link:hover {
        color: #083f95; 
        text-decoration: underline;
    }

    /* Show the check badge on top of the address, giving it a shadow and circular backing for visibility */
    .enhanced-selected-address {
        position: relative;
        padding-top: 35px;
    }
    .white-checked-badge {
        position: absolute;
        top: -5px;
        left: 97%;
        transform: translateX(-50%);
        background: #1a73e8;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.13);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        border: 2px solid #fff;
    }
    .white-checked-badge img {
        width: 18px;
        height: 18px;
        display: block;
    }

    /*Custom product pages*/

    .cart-count {
        background: red;
        width: 18px;
        color: #fff;
        min-width: 18px;
        height: 18px;
        border-radius: 100%;
        display: inline-block;
        font-size: 12px;
        text-align: center;
        vertical-align: middle;
        padding: 1px 0 0;
        position: relative;
        top: -7px;
    }
    #user-sub-menu {
        padding-top: 15px;
    }
    .container:has(.cp-page) .info-block-product {
        margin-top: 20px;
    }
    .cp-page .shopping-table-cover table th.text-center {
        text-align: left;
    }
    .cp-page table th, .cp-page table td {
        font-size: 16px !important;
    }
    .cp-page .cost-dropdown {
        padding: 0;
        border: 1px solid #ccc;
        border-radius: 10px;
    }
    
    .cp-page .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 0;
        font-size: 16px !important;
    }
    
    .cp-page #collapseContent {
        margin: 0 !important;
        border: 0 !important;
        padding: 15px !important;
    }
    
    .cp-page #collapseContent .custom-hr hr {
        border: 0 !important;
        margin-bottom: 0;
        margin-top: 0;
    }
    .cp-page .cost-dropdown:has(#collapseContent:not(.in)) .dropdown-toggle {
        border-radius: 10px;
    }
    .cp-page .cost-dropdown li, .cost-dropdown span {
        font-size: 16px !important;
    }
    .cart-action-row button, .cart-action-row a {
        border-radius: 0 !important;
        margin: 0 !important;
    }
    .gocheckout {
        background: #2d2e30;
        border-color: #2d2e30;
    }
    .cart-action-row {
        padding: 0 10px;
    }
    .shipping-address p {
        font-size: 16px;
        font-weight: 600;
    }
    .shipping-address p:last-child {
        margin: 0 !important;
    }
    #modal-address.modal .shipping-address-title {
        font-size: 22px;
        border-bottom: 1px solid #ccc;
        margin-bottom: 18px !important;
        padding-bottom: 0 !important;
    }
    #modal-address.modal .create-btn button {
        padding: 8px;
        font-size: 16px;
        background: #2d2e30;
        color: #fff;
        box-shadow: none !important;
        border: 0;
    }


    .modal-header.custom-header {
        display: flex;
        justify-content: space-between;
    }
    
    .modal-header.custom-header::after, .modal-header.custom-header::before {
        display: none;
    }
    
    .modal-header.custom-header h1 {
        margin: 0;
        font-size: 22px;
    }
    .cp-page  .quote-modal .btn-orange {
        padding: 8px;
        min-width: 100px;
        border: 0;
        border-radius: 0;
        background: #2d2e30;
    }
    .custom-radio-list {
        padding: 0 0 0 12px;
    }