@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* START TOOLTIP STYLES */
[tooltip] {
    position: relative;
    cursor: pointer;
    color: var(--primary-color);
}

/* Applies to all tooltips */

[data-tooltip]::before,
[data-tooltip]::after {
    text-transform: none;
    /* opinion 2 */
    font-size: 0.9em;
    /* opinion 3 */
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: "";
    border: 5px solid transparent;
    /* opinion 4 */
    z-index: 1001;
    /* absurdity 1 */
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
    color: #fff;
    z-index: 1000;
    background-color: #000000ed;
    opacity: 1 !important;
    padding: 6px 8px 9px 8px;
    text-align: left;
    line-height: 14px;
    min-width: 100px;
    border-radius: 5px;
}

/* Make the data-tooltips respond to hover */

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    display: block;
}

/* don't show empty data-tooltips */

[data-tooltip=""]::before,
[data-tooltip=""]::after {
    display: none !important;
}

/* FLOW: UP */

[data-tooltip]:not([data-flow])::before,
[data-tooltip][data-flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: var(--primary-color) !important;
}

[data-tooltip]:not([data-flow])::after,
[data-tooltip][data-flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[data-tooltip]:not([data-flow])::before,
[data-tooltip]:not([data-flow])::after,
[data-tooltip][data-flow^="up"]::before,
[data-tooltip][data-flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -0.5em);
}

/* data-flow: DOWN */

[data-tooltip][data-flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: var(--primary-color) !important;
}

[data-tooltip][data-flow^="down"]::after {
    top: calc(100% + 5px);
}

[data-tooltip][data-flow^="down"]::before,
[data-tooltip][data-flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, 0.5em);
}

/* data-flow: LEFT */

[data-tooltip][data-flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    /* border-left-color */
    left: calc(0em - 5px);
    transform: translate(-0.5em, -50%);
}

[data-tooltip][data-flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-0.5em, -50%);
}

/* data-flow: RIGHT */

[data-tooltip][data-flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: var(--primary-color) !important;
    right: calc(0em - 5px);
    transform: translate(0.5em, -50%);
}

[data-tooltip][data-flow^="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    transform: translate(0.5em, -50%);
}

/* KEYFRAMES */

@keyframes data-tooltips-vert {
    to {
        opacity: 0.9;
        transform: translate(-50%, 0);
    }
}

@keyframes data-tooltips-horz {
    to {
        opacity: 0.9;
        transform: translate(0, -50%);
    }
}

/* FX All The Things */

[data-tooltip]:not([data-flow]):hover::before,
[data-tooltip]:not([data-flow]):hover::after,
[data-tooltip][data-flow^="up"]:hover::before,
[data-tooltip][data-flow^="up"]:hover::after,
[data-tooltip][data-flow^="down"]:hover::before,
[data-tooltip][data-flow^="down"]:hover::after {
    animation: data-tooltips-vert 300ms ease-out forwards;
}

[data-tooltip][data-flow^="left"]:hover::before,
[data-tooltip][data-flow^="left"]:hover::after,
[data-tooltip][data-flow^="right"]:hover::before,
[data-tooltip][data-flow^="right"]:hover::after {
    animation: data-tooltips-horz 300ms ease-out forwards;
}

button.button[disabled],
button.disabled {
    pointer-events: none !important;
    color: #1d1d1d !important;
}

.logged-in span.select2-container.select2-container--default.select2-container--open span.select2-dropdown.select2-dropdown--below {
    margin-top: 30px !important;
}


/* Checkout page styles */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}


.form-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}


@media (min-width: 600px) {

    .form-row-first,
    .form-row-last {
        width: calc(50% - 8px) !important;
    }
}


.woocommerce-checkout:not(body) label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    margin-bottom: 6px !important;
    display: inline-block;
    transition: color 0.2s ease;
}

.woocommerce-checkout:not(body) .form-row:focus-within label {
    color: var(--primary-color) !important;
}

.woocommerce-checkout:not(body) .required {
    color: #ef4444 !important;
    text-decoration: none;
}


.woocommerce-checkout:not(body) input[type="text"],
.woocommerce-checkout:not(body) input[type="tel"],
.woocommerce-checkout:not(body) input[type="email"],
.woocommerce-checkout:not(body) input[type="password"],
.woocommerce-checkout:not(body) select,
.woocommerce-checkout:not(body) textarea {
    appearance: none;
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    color: #1f2937;
    padding: 14px 16px !important;
    font-size: 15px !important;
    line-height: 1.5;
    width: 100% !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}


.woocommerce-checkout:not(body) input:focus,
.woocommerce-checkout:not(body) select:focus,
.woocommerce-checkout:not(body) textarea:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(25, 123, 189, 0.15) !important;
    background-color: #fff !important;
}


.select2-container--default .select2-selection--single {
    border: 1px solid #d1d5db;
    height: 50px;
    border-radius: 8px;
    padding-top: 10px;
}

::placeholder {
    color: #9ca3af;
    opacity: 1;
    font-weight: 400;
}


.woocommerce-checkout:not(body) textarea {
    min-height: 100px;
    resize: vertical;
}


.woocommerce-checkout:not(body) input:hover,
.woocommerce-checkout:not(body) select:hover {
    border-color: #9ca3af !important;
}


@media (min-width: 992px) {

    .woocommerce-checkout:not(body) {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
        max-width: 1200px;
        margin: 0 auto;
        border-radius: 10px;
    }


    .col2-set {
        flex: 1;
        width: 60% !important;
    }


    #order_review_heading,
    #order_review {
        flex: 0 0 38%;
        width: 38% !important;
        background: #f9f9f9;
        padding: 30px;
        border-radius: 8px;
        position: sticky;
        top: 20px;
        border: 1px solid #e6e6e6;
    }
}


.woocommerce ul.order_details::after,
.woocommerce ul.order_details::before {
    display: none;
}

.woocommerce-checkout:not(body) input[type="text"],
.woocommerce-checkout:not(body) input[type="tel"],
.woocommerce-checkout:not(body) input[type="email"],
.woocommerce-checkout:not(body) select,
.woocommerce-checkout:not(body) textarea {
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    padding: 12px 15px !important;
    font-size: 14px;
    transition: all 0.3s ease;
}

.woocommerce-checkout:not(body) input:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 1px #000;
}


.woocommerce-checkout:not(body) h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}



.shop_table.woocommerce-checkout:not(body)-review-order-table {
    border: none !important;
    background: transparent;
}

.shop_table thead {
    display: none;
}

.cart_item td {
    padding: 15px 0 !important;
    border-top: 1px solid #eee !important;
}

.product-name {
    font-weight: 500;
    color: #333;
}

.product-total {
    text-align: right;
    font-weight: 600;
}

.order-total th,
.order-total td {
    font-size: 1.2rem;
    padding-top: 20px !important;
    border-top: 2px solid #ddd !important;
}



#place_order {
    width: 100%;
    padding: 18px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    text-transform: none;
    transition: background 0.3s ease;
    margin-top: 20px;
}

#place_order:hover {
    background-color: #055a91 !important;
    cursor: pointer;
}


@media (max-width: 991px) {
    .woocommerce-checkout:not(body) {
        display: block;
    }

    #order_review {
        margin-top: 30px;
        width: 100% !important;
    }
}


.checkout.woocommerce-checkout:not(body) #customer_details {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
}

.checkout.woocommerce-checkout:not(body) #customer_details .col-1,
.checkout.woocommerce-checkout:not(body) #customer_details .col-2 {
    width: 100%;
}

.checkout.woocommerce-checkout:not(body) {
    padding: 0;
    margin-bottom: 50px;
}



#order_review {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    padding: 25px !important;
}


.woocommerce-checkout:not(body)-review-order-table {
    border-collapse: separate !important;
    border-spacing: 0 9px !important;
    width: 100% !important;
    border: none !important;
    margin-bottom: 0 !important;
}


.cart_item td {
    background-color: transparent !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 15px;
}

.product-name {
    color: #1a202c;
    font-weight: 500;
}

.product-quantity {
    background: #edf2f7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 5px;
    color: #4a5568;
}

.product-total {
    text-align: right;
    font-weight: 600;
    color: #1a202c;
}


.shop_table tfoot tr th,
.shop_table tfoot tr td {
    border: none !important;
    padding: 10px 0 !important;
    font-weight: 400;
    color: #718096;
}

.order-total th,
.order-total td {
    padding-top: 20px !important;
    border-top: 2px solid #e2e8f0 !important;
    color: #1a202c !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.order-total .amount {
    color: #1a202c !important;
    font-size: 22px !important;
}


#payment {
    background: unset !important;
}


.wc-block-components-notice-banner {
    background-color: #fffaf0 !important;
    border: 1px solid #feebc8 !important;
    border-radius: 6px !important;
    padding: 15px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wc-block-components-notice-banner__content {
    font-size: 14px;
    color: #7b341e;
    line-height: 1.4;
}


.woocommerce-privacy-policy-text {
    font-size: 12px;
    color: #a0aec0;
    line-height: 1.5;
    margin: 20px 0;
}

.woocommerce-privacy-policy-link {
    color: var(--primary-color);
    text-decoration: underline;
}


#place_order {
    width: 100% !important;
    background-color: #1a202c !important;
    color: #ffffff !important;
    padding: 12px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: transform 0.1s ease, background-color 0.2s ease !important;
    cursor: pointer;
}

#place_order:hover {
    background-color: #2d3748 !important;
}

#place_order:active {
    transform: scale(0.98);
}


#ppc-button-ppcp-applepay,
#ppc-button-ppcp-googlepay {
    margin-top: 10px;
}

.woocommerce-page .woocommerce-form-coupon .button {
    min-height: auto !important;
    padding: 9px 0;
    border-radius: 7px;
}




.shop_table tfoot tr {
    align-items: center !important;

    width: 100%;
}


.shop_table tfoot {
    border: none !important;
}


.shop_table tfoot th {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    text-align: left !important;
    width: 100%;
}


.shop_table tfoot td {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-align: right !important;
    padding: 0 !important;
}


.shop_table tfoot tr.order-total {
    border-top: 2px solid #1e293b !important;
    border-bottom: none !important;
    margin-top: 10px !important;
    padding-top: 20px !important;
}

.order-total th {
    font-size: 18px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.order-total td {
    font-size: 24px !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}



.shop_table tfoot tr:hover {
    background-color: #f8fafc;
}

.woocommerce-checkout:not(body) #payment ul.payment_methods {
    padding: 0;
}

#order_review_heading {
    display: none;
}

.woocommerce-checkout:not(body) .select2-container .select2-selection--single {
    padding-top: 0 !important;
}

.woocommerce-NoticeGroup {
    width: 100%;
}

.woocommerce-checkout:not(body) span.select2-selection.select2-selection--single {
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    height: 46px;
    padding: 14px !important;
}

.woocommerce-checkout:not(body) span.select2-selection__arrow {
    top: 0 !important;
}

/* END CHECKOUT PAGE STYLES */
/* --- Container Styling --- */
.woocommerce-order {
    max-width: 1200px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a202c;
}

/* --- Success Message Banner --- */
.woocommerce-thankyou-order-received {
    text-align: center;
    background-color: #f0fff4;
    color: #22543d;
    padding: 25px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 40px;
    border: 1px solid #c6f6d5;
}

/* --- Order Header Bar (Number, Date, Total) --- */
ul.woocommerce-order-overview {
    display: flex;
    justify-content: start;
    list-style: none;
    flex-wrap: wrap;
    padding: 0 0 25px 0;
    gap: 16px;
    margin-bottom: 40px;
    border-bottom: 2px solid #edf2f7;
}

.woocommerce-order-overview li {
    font-size: 12px !important;
    color: #718096;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    line-height: 1.5 !IMPORTANT;
    border: 1px dotted #7180964f !important;
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 8px;
    flex: 1;
    min-width: 220px;
}

.woocommerce-order-overview li strong {
    display: block;
    font-size: 14px !important;
    color: #2d3748;
    text-transform: none !important;
    margin-top: 5px;
    font-weight: 500;
}

/* --- Order Details Table --- */
.woocommerce-order-details__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a202c;
    letter-spacing: -0.5px;
}

.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 50px !important;
    border: unset !important;
}

/* Table Headers */
.woocommerce-table--order-details thead th {
    padding: 15px 0;
    border-bottom: 2px solid #1a202c;
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    color: #1a202c;
}

.woocommerce-table--order-details thead th.product-total {
    text-align: right;
}

/* Product Rows */
.woocommerce-table--order-details td {
    padding: 25px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 16px;
}

.product-name .product-quantity {
    background: #edf2f7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    margin-left: 10px;
    color: #4a5568;
}

.product-total {
    text-align: right;
    font-weight: 700;
    color: #1a202c;
}

/* Totals Summary */


.woocommerce-table--order-details tfoot td {
    text-align: right;
    padding: 15px 0;
    font-weight: 700;
    color: #2d3748;
}

/* Final Grand Total Row */
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 1.8rem;
    color: #1a202c;
    border-top: 2px solid #1a202c;
    padding-top: 30px;
}

/* --- Billing Information Card --- */
.woocommerce-customer-details {
    background-color: #f7fafc;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #edf2f7;
}

.woocommerce-column__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a202c;
}

address {
    font-style: normal;
    line-height: 1.8;
    color: #4a5568;
    font-size: 15px;
}

address p {
    margin: 5px 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .woocommerce-order {
        padding: 25px;
        margin: 10px;
    }

    .woocommerce-order-overview {
        flex-direction: column;
        gap: 20px;
    }

    .woocommerce-order-overview li {
        border-bottom: 1px solid #edf2f7;
        padding-bottom: 10px;
        width: 100%;
    }
}

.woocommerce-table--order-details td,
.woocommerce-table--order-details th {
    width: 50% !important;
    border: unset !important;
    padding: 15px 0 !important;
}

.elementor-heading-title {
    white-space: normal !important;
}

.elementor-icon-list-icon svg {
    width: 15px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f0f0f0 !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 0px !important; 
}
.cwp-repeating-single-field-move {
    top: 7px !important;
}
.cubewp-elementor-submit-form-wrapper .cubewp-collapse .cwp-repeating-single-field-collapse {
    right: 60px;
}
.cwp-repeating-single-field-actions .cwp-repeating-single-field-collapse {
    right: 60px;
}
.cwp-repeating-single-field-actions .cwp-repeating-single-field-remove {
    width: 20px !important;
    right: 12px;
}