
#ivpa-content .ivpa_attribute.ivpa_text.ivpa_border .ivpa_term.ivpa_active.ivpa_outofstock:after{
    z-index: 2;
}
.tooltip-item{
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.pro-single-quantity .qty-input-button{
    justify-content: center;
}


.woocommerce-variation-availability,
.stock.out-of-stock,
.woocommerce a.added_to_cart{
    display: none;
}

/* menge hide */
.ivpa_title,
.ivpa-info-box{
    visibility:  hidden !important;
}

/* remove top-bottom margin-paddings */
.pm-notb-spaces,
.pm-notb-spaces .elementor-widget-wrap.elementor-element-populated{
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
.elementor-71090 .elementor-element.elementor-element-79d73df4 .quantity .qty,
.qty-input-button {
    background-color: #fff !important;
    border: 0.5px solid #939393;
}



/* VARIATIONS */
.ivpa_term {
    width: 144px;
    height: 158px;
    text-align: center;
    position: relative !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: 0.3s;
    margin: unset !important;
}

.ivpa_term span{
    position: absolute;
    bottom: -10px;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    background: #f4f4f4;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    z-index: -1;
}

.ivpa_term img {
    max-width: 100% !important;
    width: auto !important;
    height: 100% !important;
    max-height: 120px !important;
    object-fit: contain;
    z-index: -2;
}   

.ivpa_term.ivpa_active.ivpa_clicked {
    box-shadow: inset 0 0 0px 2.5px rgb(9 142 180) !important;
}

.ivpa-terms{
    display: flex;
    flex-wrap: nowrap;
    position: relative; 
    height: 113px !important;
    margin-bottom: 45px;
    gap: 8px;
}

.ivpa-terms.slider {
    display: flex;       /* Align spans horizontally */
    gap: 10px;          /* Space between spans */ 
    height: 189px !important;
}

span.ivpa_clicked{
    border: 1px solid #0E8EB4 !important;
 }

.ivpa-opt.ivpa_attribute {
    margin-bottom: 32px !important;
}


.pm_savings {
    position: absolute;
    background: #FDC82F;
    color: black;
    padding: 3px 0px;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
    font-weight: 400 !important;
    align-items: center;
    justify-content: center;
    min-width: 289px;
    min-height: 32px;
    z-index: 9;  
    bottom: -45px;
    --arrow-left: 50%; /* default fallback for the arrow */
}
.pm_savings::before {
    content: "";
    position: absolute;
    top: -10px;
    left: var(--arrow-left); /* position controlled by JS */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #FDC82F;
    pointer-events: none;
}
.pm_savings strong {
    font-weight: bold;
    color: #000;
}


.pm_label {
    position: absolute;
    top: 5px;
    left: 45%;
    transform: translate(-50%, -100%);
    background: #0C8EB4;
    color: white;
    padding: 4px 12px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 5; 
    width: 160px;
    height: 32px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    white-space: nowrap;
 }



 .pmps-oostock{
    color: #ff0000 !important;
 }



 .pm_discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FDC82F;
    color: #333;
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
  }
  
@media (max-width: 768px) {
    .pm_label {
        font-size: clamp(10px, 3vw, 14px) !important; /* Dynamically adjust text size */
        width: auto;
        padding: 4px 8px;
        text-align: center;
        max-width: 90%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    } 
    
    .ivpa-terms {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start; /* Align to the left */
        height: auto !important;
        margin-bottom: 0px; /* Adjust spacing */
        gap: 8px; /* Space between items */
    }

    .ivpa_term {
        flex: unset; /* Fixed width of 144px */
        max-width: 144px; /* Prevents it from growing beyond 144px */
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        aspect-ratio: 144 / 158; /* Maintain original aspect ratio */
        background-color: #fff;
    }

    .ivpa_term img {
        height: calc(100% - 18px) !important;
        width: 100% !important;
        object-fit: scale-down;
        z-index: 1;
    }

 
    .ivpa_term span {
        font-size: 14px; /* Adjust font size */
        z-index: 2;
        bottom: -8px;
        width: 95%;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    #pm-harmful-message .elementor-widget-wrap .elementor-element {
        max-width: 100% !important;
        width: 100%;
    }
}

@media (max-width: 480px) {

    .ivpa-terms {
        gap: 4px; /* Space between items */
    }
    .ivpa_term{
        flex: unset;
        margin:0px !important;
        gap: 4px
    }

    .woocommerce-variation-add-to-cart .quantity,
    .woocommerce-variation-add-to-cart .single_add_to_cart_button{
        margin-top: .5rem;
    }

    .pro-single-quantity .qty-input-button{

    }

    /* the founder promise section */
    .pm_section {
        padding: 2rem 1rem;
        min-height: 330px;
    }

    .pm_label { 
        padding: 7px 11px 7px 11px !important; 
    }
    .pm_savings {
        font-size: 14px;
    }

}

/* VARIATIONS */

#single-product-quote-inner{
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}


@media (max-width: 599px) {
    .quantity.amny-qty-wrap,
    .woocommerce div.product form.cart .button{
        width: calc(50vw - 40px); /* 100% of viewport width minus 40px */
        max-width: none;
    }
}

@media (max-width: 480px) {
 
}

@media (max-width: 320px) {
    .quantity.amny-qty-wrap,
    .woocommerce div.product form.cart .button{
        width: 100% !important;
        max-width: none;
    }

    .woocommerce div.product form.cart .button{
        margin-left:0px !important;
        margin-top: 4px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1150px) {
    .ivpa_term{
        width: 124px;
        height: 154px;
    }
}

.input-text.qty.text{
    background-color: #ffffff !important;
}

/* for order indexes */

/* Base typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0 0 1rem 0;
}

h1 {
    font-size: 40px;
    line-height: 48px;
}

h2 {
    font-size: 32px;
    line-height: 40px;
}

h3 {
    font-size: 28px;
    line-height: 36px;
}

p {
    font-size: 16px;
    color: #333;
}

/* Layout boxes */
.order-box-clear {
    background-color: #F4F4F4;
}

.order-box {
    max-width: 100%;
    gap: 1rem;
    padding: 4rem 2rem;
    margin: auto;
    text-align: center;
}

.order-box h1,
.order-box p {
    font-family: 'PT Sans', sans-serif;
}

.order-box h1 {
    font-size: 40px;
    line-height: 48px;
}

.order-box p {
    font-size: 16px;
    line-height: 24px;
}

/* Order container */
.order-box-bottom {
    min-height: 880px;
    max-width: 1344px;
    padding: 64px 32px;
    margin: auto;
}

.order-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* Cards */
.card {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1rem;
    flex: 1 1 600px;
    box-sizing: border-box;
}

.card-shadow {
    border: 1px solid #939393;
    box-shadow: 0px 0px 25px 0px #00000080;
}

.card.shipping-card {
    width: 100%;
    max-width: 612px;
    margin: 0 auto;
    text-align: center;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 8px 4px !important;
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
    background-color: unset !important;
}

/* Summary styles */
.summary {
    background: #f0f0f0;
    padding: 1rem;
    border-radius: 4px;
}

.summary-image {
    width: 50px;
    height: auto;
}

.summary table,
.summary th,
.summary td {
    border: none !important;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Consultation box */
.consult-box {
    background: #e0f7fa;
    padding: 1rem;
    border-radius: 4px;
}

.box-no-appointment {
    background: #FF000014;
}

/* Buttons */
.btn-order {
    background-color: #0C8EB4 !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.btn-order:hover {
    background-color: #f46459 !important;
    color: #fff;
}

/* Customer info */
.customer-info {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 1rem;
}

.customer-info div {
    margin-bottom: 8px;
}

/* Shipping status */
.shipping-status {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.shipping-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tracking-number-box {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #0C8EB4;
    border-radius: 4px;
    background: white;
    width: 100%;
    text-align: left;
}

.status-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-top: 2px;
}

/* Accordion */
.accordion-card {
    flex: 1 1 600px;
    border: 0;
    padding: 0;
}

.accordion-item {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
    background: #F4F4F4 !important;
}

.accordion-header {
    padding: 1rem;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 1rem 1.5rem;
}

.accordion-item.active .accordion-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
}

/* Steps */
.steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-radius: 4px;
    padding: 1rem;
    background: #0C8EB414;
    margin-bottom: 8px;
    overflow-x: auto;
}

.step {
    text-align: center;
    flex: 0 0 auto;
}

.circle {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    color: white;
    line-height: 75px;
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    margin: 0 auto 0.5rem;
}

.circle-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.complete {
    background: #108043;
}

.pending {
    background: #0C8EB4;
}

.summary-image-container {
    min-width: 60px;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #ffffff;
    vertical-align: middle;
}

.summary-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .order-box {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .order-container {
        flex-direction: column;
    }

    .accordion-header {
        font-size: 20px;
    }

    .card {
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 28px;
        line-height: 36px;
    }
    h2 {
        font-size: 24px;
        line-height: 32px;
    }
    h3 {
        font-size: 20px;
        line-height: 28px;
    }
    p {
        font-size: 14px;
    }
    .steps {
        gap: 1rem;
        padding: 0.5rem;
    }
    .circle {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
    .circle-text {
        font-size: 12px;
        line-height: 16px;
    }
}
