/* Premium CSS Styles for CD Printing Calculator */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

.cdpc-container {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    background: transparent;
    padding: 20px 0;
    max-width: 1350px;
    margin: 0 auto;
}

/* Card Wrapper Layout */
.cdpc-card-wrapper {
    display: grid;
    grid-template-columns: 2.6fr 1fr;
    gap: 20px;
    align-items: start;
    /* background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid #e2e8f0; */
}

@media (max-width: 991px) {
    .cdpc-card-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Headings */
.cdpc-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 5px;
}

.cdpc-section-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 0px;
    font-weight: 400;
}

/* Step Number Elements */
.rnumber {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(90deg, #2f6cff 0%, #5a5cf6 50%, #7b5cff 100%);
    font-weight: 700;
    font-size: 16px;
}

.rline {
    background: linear-gradient(90deg, #2f6cff 0%, #5a5cf6 50%, #7b5cff 100%);
    height: 2px;
    margin-top: 15px;
    animation: rline-bottom 3s;
}

@keyframes rline-bottom{
0% {
    width: 0%;
}
100% {
    width: 100%;
}
}

.step-header-row {
    display: flex;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.step-header-num {
    flex: 0 0 45px;
}

.step-header-line {
    flex: 1 1 auto;
}

/* Section Title Blocks */
.testcontentnew {
    margin-bottom: 20px;
}
.row {
    gap: 10px;
}
select#booksizeoption,
select#documentsizeoption {
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}
.testcontentnew h3 {
    letter-spacing: 0.02em;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.row.book-size-page-count {
    grid-template-columns: 2.6fr 1fr;
    display: grid;
}
.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.testcontentnew p {
    font-size: 14px;
    color: #64748b;
    margin: 5px 0 0 0;
}

/* Option Grid - Radio Box Cards */
.radio-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(198px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.typebox {
    border: 1px solid #d1d6e0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    padding: 1px;
}

.typebox::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: conic-gradient(
        from 0deg,
        #2f6cff,
        #7b5cff,
        #2f6cff
    );
    opacity: 0;
    animation: rotateBorder 3s linear infinite;
    transition: opacity .3s ease;
}

.typebox:hover::before, .typebox.active::before {
    opacity: 1;
}

.typebox .ps-post {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 7px;
    height: 100%;
}

@keyframes rotateBorder {
    100% {
        transform: rotate(360deg);
    }
}

.typebox .image-wrap,
.typebox .image-container {
    /* height: 145px; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: #f8fafc; */
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.typebox img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 15px;
    padding: 10px;
}

.typebox .titlebox {
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: normal;
}

.typebox input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #5a5cf6;
    cursor: pointer;
    /* display: none; */
}

.typebox .cd-label {
    margin: 0;
    cursor: pointer;
    font-weight: 700;
}

/* Simple Option Card - Cover Finish, Designing, ISBN */
.typebox1 {
    border: 1px solid #d1d6e0;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 15px;
    transition: border-color 0.2s ease;
	max-height: 58px;
    
}
/*.row.cover-finish {
    grid-template-columns: 1fr 1fr;
    display: grid;
}*/
.typebox1:hover {
    border-color: #1b3e85;
    box-shadow: 0 4px 12px rgb(27 62 133 / 20%);
}

.typebox1.active {
    border: 1px solid #1b3e85;
    background: #f8fafc;
    box-shadow: 0 4px 12px rgb(27 62 133 / 20%);
}

.typebox1 .titlebox {
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: normal;
}

.typebox1 input[type="radio"],
.typebox1 input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #5a5cf6;
    cursor: pointer;
}

/* Locking Overlays */
.locku {
    position: relative;
    width: 100%;
    height: 100%;
}

.lockm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
}

.locku .lockm {
    display: flex !important;
}

.lockm i {
    color: #d1d6e0;
    background: #fff;
    padding: 9px;
    border-radius: 60px;
    width: 30px;
    height: 30px;
    line-height: 7px;
    text-align: center;
    border: 2px solid #d1d6e0;
}

.lockm span {
    background-color: #fff;
    border: 1px solid #d1d6e0;
    border-radius: 0.125rem;
    padding: 3px 9px;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.cd-book-printing-form,
.cd-document-printing-form {
    margin-bottom: 0px !important;
}

/* Size and Page Inputs */
.form-group select,
.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.15s ease;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #1b3e85;
    outline: none;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #334155;
}

/* Specification / Right-side Box */
/* .pbox {
    background-color: #f8fafc;
    border: 1px solid #b4c6e7;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    transition: 0.3s;
    animation: pbox-card-animation 3s ease-in-out infinite;
} */

/* @keyframes pbox-card-animation {
0%, 100% {
    box-shadow: 0 5px 10px #fff;
}
50% {
    box-shadow: 0 5px 10px #b4c6e7;
}
}*/ 

/* .pbox:hover {
    box-shadow: 0 5px 10px #b4c6e7;
    transition: 0.3s;
} */

.spec-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-icon-wrap i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-icon {
    font-size: 12px;
}

.spec-blue {
    color: #2f6cff;
    background: rgba(47,108,255,.12);
}

/* Orange */
.spec-orange {
    color: #ff8a3d;
    background: rgba(255,138,61,.12);
}

/* Green */
.spec-green {
    color: #27ae60;
    background: rgba(39,174,96,.12);
}

/* Purple */
.spec-purple {
    color: #8b5cf6;
    background: rgba(139,92,246,.12);
}

/* Red */
.spec-red {
    color: #ff5a5f;
    background: rgba(255,90,95,.12);
}

/* Yellow */
.spec-yellow {
    color: #b59b2a;
    background: rgba(181,155,42,.12);
}

.only-show-on-desktop-heading {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: baseline;
}

.only-show-on-desktop-heading > i{
    color: #fff;
    padding: 10px;
    font-size: 20px;
    border: none;
    background: linear-gradient(90deg, #2f6cff 0%, #5a5cf6 50%, #7b5cff 100%);
    border-radius: 50%;
}
.only-show-on-desktop-heading h3 {
    font-size: 20px;
    font-weight: 700;
    color: #25334d;
    margin-top: 0;
    margin-bottom: 15px;
    /*border-bottom: 1px solid #cbd5e1;*/
    padding-bottom: 12px;
    position: relative;
}

.only-show-on-desktop-heading h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2f6cff 0%, #5a5cf6 50%, #7b5cff 100%);
    border-radius: 10px;
}

.pbox .spec-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
    padding-bottom: 6px;
}

.pbox .spec-row strong {
    color: #334155;
}

.pbox .spec-row div {
    color: #0f172a;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.booksize, .pagecount, .bindingtype, .papertype, .interiorcolor, .coverfinish, .designformatedisplay, .isbncollection {
    margin-left: 10px;
}

/* Cost per Book/Document banner */
.cpp {
    background: linear-gradient(90deg, #2f6cff 0%, #5a5cf6 50%, #7b5cff 100%);
    border-radius: 4px 4px 4px 4px;
    padding: 12px 20px;
    color: #ffffff;
   
}
.numberofcopies-costperbook.mt-3{
    gap: 10px;
    display: grid;
    grid-template-columns: 1.5fr 2.6fr;
    margin-top: 16px !important;
}
.cpp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cpp-row h3 {
    margin: 0;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
}

/* Estimates and Order Widget */
.ps-block--checkout-order {
    /*background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;*/
    padding: 10px 20px 10px 20px;
    transition: 0.3s;
}

/*.ps-block--checkout-order:hover {
    box-shadow: 0 5px 10px #e2e8f0;
    transition: 0.3s;
}*/

.ps-block--checkout-order figure {
    padding-top: 10px;
    margin: 0 0 12px 0;
    padding-bottom: 12px;
    border-bottom: 1px dashed #cbd5e1;
}

.ps-block--checkout-order figure:last-of-type {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.ps-block--checkout-order figcaption {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
}

.ps-block--checkout-order figcaption strong {
    color: #334155;
     text-align: right; 
    line-height: 1.3;
}

.ps-block--checkout-order figcaption strong small {
    display: block;
    text-align: left;
    font-weight: 400;
    color: #64748b;
    font-size: 11px;
    margin-top: 2px;
}

.ps-block--checkout-order .discountt figcaption strong {
    color: #1fa445;
}

.ps-block--checkout-order .ps-block__total {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ps-block--checkout-order .ps-block__total h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ps-block--checkout-order .ps-block__total h3 strong {
    color: #1b3e85;
    font-size: 22px;
    text-align: right;
}

.ps-block--checkout-order .ps-block__total h3 strong small {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: block;
	letter-spacing: 0;
    font-weight: 400;
    color: #64748b;
    font-size: 11px;
    margin-top: 2px;
}

/* File Inputs & Custom styling */
.cdpc-file-group {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.cdpc-file-group label {
    font-weight: 700;
    font-size: 12px;
    color: #475569;
    display: block;
    margin-bottom: 8px;
}

.cdpc-file-group input[type="file"] {
    font-size: 12px;
}

.fileError {
    font-size: 12px;
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 10px;
}

.notice-numberofcopies {
    font-size: 12px;
    color: #ef4444;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

/* Action button */
.cd-submit-book-order {
    display: none;
    width: 100%;
    /* background: linear-gradient(90deg, #2f6cff 0%, #5a5cf6 50%, #7b5cff 100%); */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 140, 202, 0.15);
    margin-top: 20px;
    /* animation: cd-submit-book-order-hover-animation 3s ease-in-out infinite; */
    background: linear-gradient(
        90deg,
        #2f6cff,
        #5a5cf6,
        #6e4dff,
        #5a5cf6,
        #2f6cff
    );
    background-size: 300% 100%;
    animation: gradientMove 4s linear infinite;
}

.cd-submit-book-order i {
    margin-right: 10px;
}

/*@keyframes cd-submit-book-order-animation {
0%, 100% {
    box-shadow: 0 1px 10px 3px #fff;
}
50% {
    box-shadow: 0 1px 10px 3px #0068f361;
}
} */

/* .cd-submit-book-order:hover {
    background: linear-gradient(90deg, #7b5cff 0%, #5a5cf6 50%, #2f6cff 100%);
    animation: cd-submit-book-order-hover-animation 3s ease-in-out infinite;
} */

@keyframes gradientMove {
    0% {
        background-position: 0%;
    }
    50% {
        background-position: 100%;
    }
    100% {
        background-position: 0%;
    }
}

.cd-submit-book-order:disabled {
    background: linear-gradient(90deg, #2f6cff 0%, #5a5cf6 50%, #7b5cff 100%);
    cursor: not-allowed;
    box-shadow: none;
}

/* Sticky sidebar styling */
.cdpc-summary-container {    
    position: sticky !important;
    top: 10px !important;
    z-index: 99 !important;
    align-self: start !important;
}

/* Force overflow visible on parent containers to ensure sticky positioning works */
.ps-page--blog,
.bookoption,
.bookoption .container,
.ps-page--blog .container,
.cdpc-container,
.cdpc-card-wrapper,
.site-content,
#content,
.site-main {
    overflow: visible !important;
}

/* Product type chooser glassmorphism styles */
.cdpc-product-chooser {
    margin-bottom: 35px;
    width: 100%;
}

.chooser-layout {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}

.chooser-label {
    font-size: 13px;
    font-weight: 700;
    color: #1b3e85;
    line-height: 1.4;
    min-width: 120px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 2px solid rgba(27, 62, 133, 0.15);
    padding-right: 25px;
}

.cdpc-chooser-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cdpc-chooser-card {
    flex: 1 1 120px;
    max-width: 150px;
    min-width: 100px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.cdpc-chooser-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.cdpc-chooser-card.active {
    border-color: #5d5fef;
    background-color: #f8fafc;
    box-shadow: 0 4px 12px rgba(93, 95, 239, 0.15);
}

.cdpc-chooser-card img {
    width: 60px;
    height: 75px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 4px;
    background-color: #f8fafc;
    padding: 2px;
}

.cdpc-chooser-card span {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    line-height: 1.3;
    display: block;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .chooser-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .chooser-label {
        text-align: center;
        border-right: none;
        padding-right: 0;
        padding-bottom: 10px;
        border-bottom: 2px solid rgba(27, 62, 133, 0.15);
        min-width: auto;
    }
    .cdpc-chooser-grid {
        justify-content: center;
    }
    .cdpc-chooser-card {
        flex: 0 0 calc(50% - 10px);
        max-width: 100%;
    }
}

/* Custom WooCommerce Single Product Layout Responsiveness */
.book-hero .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: center;
}

.book-hero .left-part,
.book-hero .right-part {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .book-hero .row {
        flex-direction: column-reverse;
    }
    .book-hero .left-part,
    .book-hero .right-part {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .book-hero .left-part {
        margin-top: 30px;
        text-align: center;
    }
    .book-hero .left-part h1.book-title {
        font-size: 32px !important;
    }
    .book-hero .book-actions {
        display: flex;
        justify-content: center;
    }
}

.cdpc-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.cdpc-form-container-heading,
.cd-book-printing-form,
.cdpc-summary-container,
.cd-document-printing-form {
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
}

.cdpc-form-container form > .step-header-row:first-of-type {
    margin-top: 0 !important;
}

/* Quantity Discounts Styling matching the premium screenshot */
.quantity-discounts-section {
    width: 100%;
    /*margin-top: 5px; */
}

.quantity-discounts-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #475569;
    letter-spacing: 0.75px;
    margin-bottom: 12px;
}
.quantity-discounts-section label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #334155;
}
.quantity-discounts-card {
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #cbd5e1;
    padding: 20px;
    margin-bottom: 10px;
}

.quantity-discounts-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.quantity-discounts-table th {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.quantity-discounts-table th.text-center {
    text-align: center;
}

.quantity-discounts-table th.text-right {
    text-align: right;
}

.quantity-discounts-table td {
    padding: 12px 0;
    font-size: 14px;
    color: #475569;
    vertical-align: middle;
}

.quantity-discounts-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #f8fafc;
}

.quantity-discounts-table td.text-center {
    text-align: center;
}

.quantity-discounts-table td.text-right {
    text-align: right;
    color: #0f172a;
    font-weight: 600;
}

/* Discount Purple Badge */
.discount-badge-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #faf5ff; /* purple-50 */
    color: #7e22ce; /* purple-700 */
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    border: 1px solid #f3e8ff; /* purple-100 */
}

.discount-badge i {
    font-size: 10px;
}

.quantity-discounts-footer {
    font-size: 12px !important;
    color: #64748b;
    display: block;
    margin-top: 8px;
    font-style: italic;
}

@media (max-width: 768px) {
    .quantity-discounts-section {
        margin-top: 20px;
    }
    .quantity-discounts-card {
        padding: 15px;
    }
    .quantity-discounts-table th,
    .quantity-discounts-table td {
        font-size: 13px;
    }
    .discount-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}
@media (max-width: 500px) {
 .numberofcopies-costperbook.mt-3 {
    grid-template-columns: none;
  }
}

.pricing-summary-container,
.bulk-discount-levels-section {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.ps-block--checkout-order .cdpc-breakdown-row {
    padding-top: 4px;
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: none;
    padding-left: 15px;
}
.ps-block--checkout-order .cdpc-breakdown-row figcaption {
    font-size: 13px;
    color: #64748b;
}
.ps-block--checkout-order .cdpc-breakdown-row figcaption strong {
    font-weight: 500;
    color: #475569;
}

/* Visually hide the entire pricing summary container from the page display */
.pricing-summary-container {
    display: none !important;
}

/* Visually hide the right-side sticky Total block and the prices inside the Bulk Discount Levels column */
.cdpc-summary-container .ps-block__total,
.bulk-discount-levels-section .discount-price-200,
.bulk-discount-levels-section .discount-price-250,
.bulk-discount-levels-section .discount-price-300 {
    display: none !important;
}

/* Pricing Estimate Layout (Side-by-Side) */
.pe-layout-container {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    align-items: start;
}

@media (max-width: 768px) {
    .pe-layout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.pe-left-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pe-right-column {
    display: flex;
    flex-direction: column;
}

/* Qty Input Pill Style */
.pe-qty-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #0f172a;
    border-radius: 50px;
    background: #ffffff;
    height: 52px;
    padding: 0 24px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.pe-qty-input-wrapper:focus-within {
    border-color: #1b3e85;
}

.pe-qty-input-wrapper input.numberofcopies {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    text-align: right !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.pe-qty-input-wrapper input.numberofcopies::-webkit-outer-spin-button,
.pe-qty-input-wrapper input.numberofcopies::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pe-qty-suffix {
    flex: 1;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    padding-left: 6px;
    text-transform: uppercase;
}
input#numberofcopies {
    border-radius: 10px;
    height: 50px;
}
/* Share Estimate Button Pill Style */
.pe-share-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    background: linear-gradient(90deg, #2f6cff, #5a5cf6, #6e4dff, #5a5cf6, #2f6cff);
    background-size: 300% 100%;
    animation: gradientMove 4s linear infinite;
    color: #fff !important;
    height: 52px;
    padding: 0 24px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 140, 202, 0.15);
    margin-top: 0 !important;
    width: 100% !important;
}

.pe-share-note {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Bulk Discounts Section */
.pe-bulk-discounts-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px !important;
    text-align: center;
}

.pe-bulk-discounts-card {
    background: #ffffff;
    overflow: hidden;
}

.pe-bulk-discount-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.pe-bulk-discount-table th,
.pe-bulk-discount-table td {
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #cbd5e1;
    vertical-align: middle;
}

.pe-bulk-discount-table th {
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
}

.pe-bulk-discount-table td {
    color: #334155;
    font-weight: 500;
}

.pe-discounts-footer {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

/* Hide price display inside the new bulk discount table cells to match current behavior */
.pe-bulk-discounts-section .discount-price-200,
.pe-bulk-discounts-section .discount-price-250,
.pe-bulk-discounts-section .discount-price-300 {
    display: none !important;
}

