:root {
    --sky-select-arrow: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==");
    --sky-check: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-testid="check-icon" aria-hidden="true" class="amount-hint-check-icon"><path d="M13.9259 3.92578L5.77778 12.0739L2.07407 8.37023" stroke="%233442AD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
    --btn-transform: capitalize;
}

.swiper-wrapper {
    display: flex;
    justify-content: space-around;
}

.skydonate-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 13px;
    border-radius: 8px;
    max-width: calc(100% - 40px);
    width: 360px;
    z-index: 9999;
    background: #ffffff;
    color: #212830;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 10px;
}

.skydonate-notification .name {
    font-weight: 700;
    color: #2797ff;
    font-size: 16px;
}

.skydonate-notification .time,
.skydonate-notification .location {
    font-size: 13px;
    line-height: 1.3em;
}

.skydonate-notification .donate-button {
    float: right;
    border: 1px solid rgb(39, 151, 255);
    color: rgb(39, 151, 255);
    padding: 4px 16px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
}

.skydonate-notification .donate-button:hover {
    background-color: #2797ff;
    color: white;
}

.skydonate-notification p {
    margin: 0;
}

.button.primary-button {
    border-radius: var(--btn-accented-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: var(--accent-color);
    text-transform: var(--btn-accented-transform, var(--btn-transform, uppercase));
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600));
    font-family: var(--btn-accented-font-family, var(--btn-font-family, inherit));
    font-style: var(--btn-accented-font-style, var(--btn-font-style, unset));
}

.button.primary-button:hover {
    color: var(--btn-accented-color-hover);
    box-shadow: var(--btn-accented-box-shadow-hover);
    background-color: var(--accent-dark-color);
}

.modal-open-button.donate-unavailable,
.modal-open-button.donate-unavailable:hover,
.modal-open-button.donate-unavailable:focus,
.donation-button.donate-unavailable,
.donation-button.donate-unavailable:hover,
.donation-button.donate-unavailable:focus {
    background-color: #9aa0a6 !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
}

.button.danger-button {
    border-radius: var(--btn-accented-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: var(--danger-color);
    text-transform: var(--btn-accented-transform, var(--btn-transform, uppercase));
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600));
    font-family: var(--btn-accented-font-family, var(--btn-font-family, inherit));
    font-style: var(--btn-accented-font-style, var(--btn-font-style, unset));
}

.button.danger-button:hover {
    background-color: var(--btn-danger-color-hover);
    color: var(--btn-accented-color);
}

.skydonate-notification strong {
    color: #242424;
}

.skydonate-notification .close {
    background-color: #3c444e;
    color: white;
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 99px;
    border: none;
    padding: 0;
    line-height: 16px;
    min-height: inherit;
    text-align: center;
    transition: .3s;
}

.skydonate-notification .close:hover {
    background-color: black;
    color: white;
}

.mce-btn button {
    min-height: 32px;
    min-width: 32px;
}

@media screen and (min-width: 768px) {
    .skydonate-notification .close {
        position: absolute;
        right: -18px;
        top: 0;
        opacity: 0;
    }

    .skydonate-notification .close::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 30px;
        height: 30px;
        display: block;
    }

    .skydonate-notification:hover .close {
        right: -25px;
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .cart-widget-side .woocommerce-mini-cart .mini_cart_item .cart-item-link {
        display: none;
    }

    .skydonate-notification {
        bottom: 80px;
        width: calc(100% - 40px) !important;
    }

    .skydonate-notification .close {
        float: right;
        margin-left: 5px;
        margin-top: 9px;
    }

    .skydonate-notification .donate-button {
        padding: 3px 12px;
        font-size: 14px;
    }

    .skydonate-notification .name {
        font-size: 14px;
    }

}

.product_list_widget>li .wd-entities-title {
    margin-bottom: 3px !important;
}

/* Base style */
input[type="number"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    /* Chrome, Safari, Edge */
    -moz-appearance: textfield !important;
    /* Firefox */
}

/* Chrome, Safari, Edge: hide spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Firefox: hide spinners */
input[type="number"]::-moz-number-spin-box,
input[type="number"]::-moz-number-spin-up,
input[type="number"]::-moz-number-spin-down {
    display: none !important;
}

.woocommerce-product-gallery .wd-gallery-thumb img {
    max-width: 260px !important;
}

.name-on-plaque input[name="cart_custom_text"] {
    border-radius: 6px;
    color: var(--accent-color);
    height: 54px;
    padding: 8px 20px;
    font-size: 16px;
}

.name-on-plaque input[name="cart_custom_text"]::placeholder {
    color: var(--accent-color);
}

.price {
    color: currentColor !important;
}

#billing_address_search-description {
    display: inline-block !important;
    color: green;
    line-height: 1em;
    transform: translateY(5px);
}

.skydonate-address-summary {
    background: #f0faf0;
    border: 1px solid #c3e6c3;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.skydonate-address-summary .address-summary-text {
    color: #333;
    flex: 1;
}

.skydonate-address-summary .address-summary-edit {
    color: green;
    cursor: pointer;
    text-decoration: underline;
    white-space: nowrap;
    font-size: 13px;
}

@keyframes flying-heart-move {
    0% {
        translate: 0 0 0;
        rotate: 0deg;
        opacity: 1;
    }

    5% {
        translate: 0 0 0;
        scale: 1.7;
        rotate: 0deg;
    }

    60% {
        translate: 0 -65px 0;
        scale: 1.7;
        rotate: 25deg;
    }

    80% {
        translate: 0 -80px 0;
        scale: 1.7;
        rotate: 0deg;
        opacity: 1;
    }

    100% {
        translate: 0 -95px 0;
        scale: 2;
        rotate: 0deg;
        opacity: 0;
    }
}

.plaque-name-field {
    margin-bottom: 15px;
    width: 100%;
}

.plaque-name-field input {
    width: 100% !important;
    padding: 8px;
    height: 52px;
    font-size: 15px !important;
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    -webkit-appearance: none !important;
    appearance: none !important;
    color: var(--accent-color);
    border: 2px solid rgb(210, 212, 213) !important;
    border-radius: 6px;
}

/* Donation Button Popup CSS */
.wd-popup-slide-from-left.mfp-ready .wd-popup {
    border-radius: 10px;
}

button.mfp-close {
    width: 50px !important;
    height: 36px !important;
    font-weight: 900 !important;
    color: white !important;
    background-color: red !important;
    border-radius: 100px !important;
    margin-right: 10px !important;
}

/* Cart/Mini CSS */
.woocommerce-mini-cart__buttons .btn-cart:hover {
    color: #fff;
    box-shadow: var(--btn-default-box-shadow-hover);
    background-color: var(--accent-color);
}

.btn-cart {
    color: var(--accent-color) !important;
    border: 1px solid var(--accent-color) !important;
    background: white !important;
}

.loading {
    position: relative;
}

.loading:after {
    content: "";
    display: block;
    width: 14px;
    min-width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    /* Light background color */
    border-top: 2px solid transparent;
    /* Spinner color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 5px;
    position: absolute;
    right: 15px;
    top: calc(50% - 8px);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

.wd-side-hidden {
    height: 100%;
}

.cart-widget-side .widget_shopping_cart_content {
    height: calc(100% - 32px) !important;
}

.quick-modal-content .donation-form-wrapper {
    padding: 16px;
}

.quick-modal:not(.sky-modal-wide) .quick-modal-content .donation-form-wrapper {
    max-height: 80vh;
    overflow: hidden;
    overflow-y: auto;
}

.quick-modal-form-wrapper {
    padding: 24px 16px;
}

.cart-info .fa-circle-info {
    font-size: 14px;
    margin-left: 3px;
}

.tiptip {
    position: relative;
    z-index: 3;
    margin-left: 3px;
}

.tiptip .tip-text {
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    font-size: 12px;
    text-align: center;
    background-color: var(--accent-light-color);
    color: var(--accent-color);
    padding: 8px;
    border-radius: 8px;
    display: block;
}

.tiptip .tip-text * {
    color: currentColor;
    font-weight: inherit;
}

.tiptip .tip-text:before {
    content: "";
    position: absolute;
    left: calc(50% - 5px);
    top: -5px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-light-color);
    border-radius: 3px;
    transform: rotate(45deg);
}

.tiptip:hover .tip-text {
    opacity: 1;
    visibility: visible;
}

.product-subtotal .tiptip {
    display: none;
}

button.form-submit-button {
    background-color: var(--accent-color);
    color: white;
    width: 100%;
    border-radius: 8px;
    padding: 12px 16px 12px 16px;
    font-size: 14px;
    height: 50px;
    justify-content: flex-start;
    position: relative;
}

button.form-submit-button:hover {
    background-color: var(--accent-dark-color);
    color: white;
}

button.form-submit-button .button-text {
    width: 100%;
    text-align: center;
}

button.form-submit-button .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button.form-submit-button .icon svg,
button.form-submit-button .icon img {
    width: 24px;
    height: 24px;
}

button.form-submit-button .icon svg path {
    fill: currentColor !important;
}

button.form-submit-button .icon.left {
    justify-content: flex-start;
    font-size: 24px;
}

button.form-submit-button .icon.right {
    width: 24px;
    height: 24px;
    margin-left: auto;
    font-size: 16px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

button.form-submit-button .icon.right .loader-icon {
    position: absolute;
    left: 0%;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    transform: translateX(0%);
    transform-origin: left center;
}

button.form-submit-button.loading-running .icon.right .loader-icon {
    transform: translateX(100%);
}

.loader-svg .loader-circle {
    stroke-dasharray: 230;
    stroke-dashoffset: -230;
    opacity: 0;
}

.loading-running .loader-svg .loader-circle {
    opacity: 1;
    animation: rotateCircle 2.5s 0s linear infinite;
}


@keyframes rotateCircle {
    0% {
        stroke-dashoffset: -230;
    }

    50% {
        stroke-dashoffset: -460;
    }

    100% {
        stroke-dashoffset: -690;
    }
}

.donation-closed {
    text-align: center;
    background-color: #f2f9ff;
    padding: 32px;
    border-radius: 16px;
}

.donation-closed .clossing-img {
    width: 120px;
    display: inline-block;
    margin: 0 auto 12px;
}

.donation-closed .clossing-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.donation-closed h4 {
    margin: 0 0 12px 0;
}

.donation-closed p {
    margin: 0;
}

.quick-modal-form-container .donation-closed {
    background-color: transparent;
    padding: 24px 8px;
}

.donation-form .name-on-plaque {
    margin-top: 12px;
    margin-bottom: 12px;
}

.donation-form .name-on-plaque input[name="cart_custom_text"] {
    border: 1px solid #c7cdd6;
    border-radius: 8px;
}

.donation-form-wrapper .zakat-applicable {
    text-align: center;
    padding: 8px;
    background-color: var(--accent-light-color);
    color: var(--accent-color);
    border-radius: 99px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.donation-form-wrapper .zakat-applicable i {
    font-size: 20px;
}

/* Sky PDF */
.sky-invoice-metabox {
    padding: 20px;
    border: 2px solid #bbcfed;
    border-radius: 10px;
    margin: 20px auto;
    text-align: center;
}

.sky-invoice-admin-download {
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    border: 2px solid #3442ad;
    background: white;
    width: 100%;
}

/* Sky PDF */
.quick-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    display: none;
    /* Initially hidden */
    color: #242424;
}

.quick-modal .quick-modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.quick-modal-body {
    background: #fff;
    padding: 24px 16px;
    width: 400px;
    max-width: 100%;
    border-radius: 16px;
    z-index: 4;
    margin-top: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.quick-modal-close {
    position: absolute;
    top: -50px;
    inset-inline-end: -15px;
    z-index: 1104;
    padding: 0;
    width: 50px;
    height: 36px;
    background: red;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    cursor: pointer;
    display: block;
    text-align: center;
    right: 0;
    border-radius: 99px;
    line-height: 36px;
}

.quick-modal-close:after {
    content: "\f112";
    font-family: "woodmart-font"
}

.quick-modal .secure-donation {
    color: #242424;
    font-weight: 600;
    font-size: 22px;
    text-align: center;
    margin-bottom: 14px;
}

.quick-modal .secure-donation .secure-donation-icon {
    display: inline-block;
    margin-right: 12px;
    color: #2dda82;
    font-size: 120%;
    width: 26px;
    height: 26px;
    line-height: 0em;
}

.quick-modal .secure-donation .secure-donation-icon svg {
    width: 100%;
    height: auto;
    fill: currentColor;
}

.quick-modal .secure-donation .secure-donation-icon svg path {
    fill: currentColor;
}

.donation-form-wrapper .donation-type-select-group {
    margin-top: 12px;
}

.donation-form-wrapper .donation-type-select-group select.donation-category-type-select {
    border-radius: 8px;
    height: 54px;
}

/* jQuery UI Datepicker z-index fix */
.ui-datepicker {
    z-index: 10000000 !important;
}

/* SweetAlert z-index fix — must appear above Elementor popups/modals */
.swal2-container {
    z-index: 99999999 !important;
}

/* Hide donation box title when configured */
.donation-form-wrapper[data-hide-box-title="yes"] .donation-box-title {
    display: none !important;
}



/* Hide zakat applicable text when configured */
.donation-form-wrapper[data-hide-zakat="yes"] .zakat-applicable {
    display: none !important;
}

/* Modal open - prevent scrolling (saves scroll position via JS) */
html.sky-modal-open,
html.sky-modal-open body,
body.sky-modal-open {
    overflow: hidden !important;
}

.sky-popup-body-lock {
    overflow: hidden !important;
}

/* Anonymous donation toggle on checkout — before order total */
.skydonate-anonymous-row td {
    padding: 0 !important;
}

.skydonate-anonymous-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.skydonate-anonymous-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Toggle switch — matches thank you page style */
.skydonate-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.skydonate-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.skydonate-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: background 0.3s;
}

.skydonate-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.skydonate-toggle-switch input:checked+.skydonate-toggle-slider {
    background: var(--accent-color, #3442ad);
}

.skydonate-toggle-switch input:checked+.skydonate-toggle-slider::before {
    transform: translateX(20px);
}

/* Skeleton loading for modal */
.sky-modal-skeleton {
    display: flex;
    gap: 24px;
    padding: 0;
    min-height: 400px;
}

.sky-skel-image {
    width: 55%;
    background: #eee;
    border-radius: 16px;
    animation: skyShimmer 1.5s ease infinite;
}

.sky-skel-content {
    width: 45%;
    padding: 32px 24px;
}

.sky-skel-line {
    height: 14px;
    background: #eee;
    border-radius: 6px;
    margin-bottom: 16px;
    animation: skyShimmer 1.5s ease infinite;
}

.sky-skel-title {
    height: 20px;
    width: 60%;
    margin-bottom: 24px;
}

.sky-skel-text {
    width: 100%;
}

.sky-skel-text.short {
    width: 70%;
}

@keyframes skyShimmer {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .sky-modal-skeleton {
        flex-direction: column;
        gap: 0;
    }

    .sky-skel-image {
        width: 100%;
        height: 200px;
        border-radius: 0;
    }

    .sky-skel-content {
        width: 100%;
        padding: 20px;
    }
}

/* =============================================
   Style Two Modal — Two-column step checkout
   ============================================= */

.quick-modal.sky-modal-wide .quick-modal-body {
    width: 860px;
    max-width: 95vw;
    padding: 0;
    background: none;
}

.quick-modal.sky-modal-wide .quick-modal-body .quick-modal-content {
    max-height: 80vh;
    overflow: auto;
}

.quick-modal.sky-modal-wide .quick-modal-close {
    top: -44px;
    right: 0;
    inset-inline-end: 0;
}

.sky-modal-style-two,
.sky-modal-details-checkout,
.sky-modal-details-add-to-cart {
    display: flex;
    min-height: 520px;
    height: 100%;
    gap: 24px;
}

/* Left column */
.sky-modal-left {
    width: 55%;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
}

.sky-modal-image {
    overflow: hidden;
}

.sky-modal-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.sky-modal-info {
    padding: 24px;
    flex: 1;
}

.sky-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.3;
}

.sky-modal-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Right column */
.sky-modal-right {
    width: 45%;
    background: #fff;
    overflow: visible;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

/* Google Places autocomplete dropdown must appear above modal */
.pac-container {
    z-index: 99999999 !important;
    background-color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    font-family: inherit !important;
    margin-top: -4px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.pac-container-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.pac-container .pac-item {
    padding: 10px 14px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: block !important;
    visibility: visible !important;
}

.pac-container .pac-item:hover {
    background: #f5f5f5 !important;
}

/* Hide "powered by Google" attribution at bottom of dropdown */
.pac-container::after,
.pac-attribution,
.gm-ui-hover-effect {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* Hide pac-container when not active */
.pac-container.pac-hide {
    display: none !important;
}

/* Steps */
.sky-step {
    display: none;
    padding: 28px 24px;
    overflow: auto;
    flex: 1;
    clip-path: none;
}

.sky-step.active {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Default: left-aligned header (for steps with back button) */
.sky-step-header {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Step 1 only: centred header (Secure donation + icon) */
.sky-step[data-step="1"] .sky-step-header {
    justify-content: center;
}

.sky-secure-icon {
    color: #0dda82;
    flex-shrink: 0;
}

.sky-back {
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #333;
    font-weight: 400;
    transition: color 0.2s;
    user-select: none;
}

.sky-back:hover {
    color: #000;
}

/* Step body fills remaining space, pushes button to bottom */
.sky-step-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Continue button pushed to bottom */
.sky-step-body>.sky-step-btn:last-child {
    margin-top: auto;
}

/* Step 1: Donation form — full flex chain to push submit button to bottom */
.sky-step-donation-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sky-step-donation-form .donation-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.sky-step-donation-form .donation-form-wrapper>form,
.sky-step-donation-form .donation-form-wrapper>.donation-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sky-fee-toggle-step1 {
    margin-top: auto;
    margin-bottom: 0;
}

.sky-step-donation-form .donation-form-wrapper .form-submit-button {
    justify-content: space-between;
    text-align: center;
}

.sky-step-donation-form .donation-form-wrapper .form-submit-button .button-text {
    width: auto;
}

.sky-step-donation-form .donation-form-wrapper .form-submit-button .icon.right {
    margin-left: 8px;
}

.sky-step-donation-form .donation-box-title {
    display: none;
}

/* Fields */
.sky-field-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
}

.sky-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-bottom: none;
    outline: none;
    background: #fff;
    color: #333;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
    height: 44px;
}

.sky-input::placeholder {
    font-size: 13px;
}

.sky-input:first-child {
    border-radius: 8px 8px 0 0;
}

.sky-input:last-child {
    border-bottom: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
}

.sky-input:only-child {
    border-bottom: 1px solid #ddd;
    border-radius: 8px;
}

.sky-input:focus {
    border-color: #3371e6;
    z-index: 1;
    position: relative;
}

/* Title select — own row above name */
/* Title floating field */
.sky-floating-title {
    width: 100%;
}

.sky-floating-title select.sky-input-title {
    appearance: auto;
    cursor: pointer;
    width: 100%;
    color: #555;
    font-size: 12px;
    height: 45px;
    padding-top: 18px;
    padding-bottom: 2px;
    padding-left: 10px;
}

.sky-floating-title .sky-floating-label {
    left: 10px;
    top: 4px;
    transform: none;
    font-size: 10px;
    color: #666;
}

/* First + Last name in one row */
.sky-name-row {
    flex-direction: row;
    gap: 10px;
}

.sky-name-row .sky-floating-field {
    flex: 1;
    margin-bottom: 0;
}

.sky-row {
    display: flex;
}

.sky-row .sky-input {
    border-radius: 0;
}

.sky-row .sky-input:first-child {
    border-right: none;
}

.sky-select {
    appearance: auto;
    cursor: pointer;
}

/* Buttons */
.sky-step-btn {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #4361ee;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sky-step-btn:hover {
    background: #3451d1;
}

.sky-step-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sky-skip {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #333;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.sky-skip:hover {
    color: #000;
}

/* Floating label fields */
.sky-floating-field {
    position: relative;
    overflow: visible;
}

/* Address input needs overflow visible for Google dropdown */
#sky-address-search {
    overflow: visible !important;
}

.sky-floating-field .sky-input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px 12px 6px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
    margin: 0;
    height: 50px;
}

.sky-floating-field.sky-has-value .sky-input {
    font-size: 13px;
}

.sky-floating-field .sky-input:focus {
    border-color: #3371e6;
    outline: none;
}

.sky-floating-label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 13px;
    color: #888;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    z-index: 1;
}

.sky-floating-field .sky-input:focus~.sky-floating-label,
.sky-floating-field.sky-has-value .sky-floating-label,
.sky-floating-field .sky-input:not(:placeholder-shown)~.sky-floating-label {
    top: 4px;
    transform: translateY(0);
    font-size: 10px;
    color: #666;
}

.sky-floating-field select.sky-input~.sky-floating-label {
    top: 4px;
    transform: translateY(0);
    font-size: 10px;
    color: #666;
}

.sky-floating-field select.sky-input {
    padding-top: 20px;
    padding-bottom: 4px;
    height: 50px;
    font-size: 13px;
    appearance: none;
    background-image: var(--sky-select-arrow);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

/* Error state — red border + light red background */
.sky-input-error,
.sky-floating-field.sky-field-error .sky-input {
    border-color: #e74a6d !important;
    background: #fef2f2 !important;
}

.sky-floating-field.sky-field-error .sky-floating-label {
    color: #e74a6d;
}

.sky-required {
    color: #e74a6d;
    font-weight: 600;
}

.sky-optional {
    color: #999;
    font-size: 12px;
    font-weight: 400;
}

/* Address search */
.sky-address-search-wrap {
    margin-top: 12px;
    margin-bottom: 4px;
    position: relative;
    z-index: 10;
}

.sky-address-search-wrap .sky-floating-field {
    margin-bottom: 4px;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.sky-step .sky-address-search-wrap {
    overflow: visible;
}

.sky-manual-address {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

/* Search icon in address field label — matches checkout .paa-search-icon */
.sky-modal-style-two .sky-search-icon {
    display: inline-flex;
    width: 11px;
    height: 11px;
    margin-right: 4px;
    color: #16a34a;
    font-size: 11px;
}

/* SVG edit icon in address field — matches checkout pencil */
.sky-edit-svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.sky-enter-manually-link {
    display: inline-block;
    font-size: 14px;
    color: #16a34a;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 12px;
}

.sky-enter-manually-link:hover {
    color: #15803d;
}

.sky-inline-edit {
    position: absolute;
    right: 1px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #16a34a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    background: white;
    padding: 13px 8px;
    border-radius: 10px;
}

.sky-inline-edit:hover {
    color: #15803d;
}

.sky-floating-field.sky-has-value .sky-input[readonly] {
    padding-right: 60px;
}

/* Filled field check icon */
.sky-floating-field.sky-has-value .sky-input:not([readonly]):not(:focus)::after {
    content: '✓';
    position: absolute;
    right: 14px;
    color: #16a34a;
}

.sky-address-fields .sky-field-group {
    margin-bottom: 0;
}

/* Gift Aid Step */
.sky-gift-aid-step .sky-step-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

img.sky-giftaid-logo {
    margin-left: auto;
    height: 32px;
    width: auto;
    object-fit: contain;
}

.sky-gift-aid-body {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sky-gift-aid-content {
    flex: 1;
}

.sky-gift-aid-actions {
    margin-top: auto;
    padding-top: 16px;
}

.sky-gift-aid-boost {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.sky-gift-aid-desc {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
}

.sky-gift-aid-legal {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.sky-claim-gift-aid {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #4361ee;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.sky-claim-gift-aid:hover {
    background: #3451d1;
}

.sky-no-gift-aid {
    display: block;
    text-align: center;
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.sky-no-gift-aid:hover {
    color: #000;
}

/* Donation options (Gift Aid / Anonymous) */
.sky-option-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    background: #fafafa;
    transition: border-color 0.2s;
}

.sky-option-card:has(.sky-checkbox:checked) {
    border-color: var(--sky-primary, #4f46e5);
    background: #f5f3ff;
}

.sky-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.sky-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--sky-primary, #4f46e5);
}

.sky-checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sky-checkbox-text strong {
    font-size: 14px;
    color: #1a1a1a;
}

.sky-checkbox-text small {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Payment */
.sky-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.sky-payment-method {
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: background 0.2s;
}

.sky-payment-method:last-child {
    border-bottom: none;
}

.sky-payment-method.active {
    background: #f0f3ff;
    border-color: #3371e6;
    position: relative;
}

.sky-pm-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

.sky-pm-icon-fa {
    font-size: 18px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sky-pm-check {
    margin-left: auto;
    color: #3371e6;
    display: flex;
    align-items: center;
}

.sky-stripe-card-wrap {
    margin-bottom: 20px;
}

.sky-stripe-field {
    border: 1px solid #ddd;
    padding: 14px 16px;
    min-height: 20px;
}

.sky-stripe-number {
    border-radius: 8px 8px 0 0;
}

.sky-stripe-row {
    display: flex;
}

.sky-stripe-row .sky-stripe-field {
    flex: 1;
    border-top: none;
}

.sky-stripe-expiry {
    border-radius: 0 0 0 8px;
    border-right: none;
}

.sky-stripe-cvc {
    border-radius: 0 0 8px 0;
}

.sky-error {
    color: #e74a6d;
    font-size: 13px;
    margin-top: 8px;
}

/* Toggle rows — payment step (fees + anonymous) */
.sky-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f3f3f3;
    padding: 12px 14px;
    border-radius: 10px;
}

.sky-toggle-row.sky-fee-toggle-step1 {
    margin-top: auto;
}

.sky-toggle-label {
    font-size: 13px;
    color: #333;
    font-weight: 400;
    line-height: 1.3;
}

/* Toggle switch */
.sky-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    margin-left: 10px;
}

.sky-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.sky-toggle-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 22px;
    cursor: pointer;
    transition: background 0.3s;
}

.sky-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sky-toggle input:checked+.sky-toggle-track {
    background: #3d7c3f;
}

.sky-toggle input:checked+.sky-toggle-track .sky-toggle-thumb {
    transform: translateX(18px);
}

/* Order summary breakdown */
.sky-order-summary {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.sky-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: #555;
}

.sky-summary-donation {
    color: #333;
}

.sky-summary-fee {
    color: #888;
    font-size: 12px;
}

.sky-summary-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

.sky-summary-total {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 2px 0 0;
}

.sky-summary-total .sky-total-amount {
    font-size: 16px;
    font-weight: 700;
}

/* Success */
.sky-success {
    text-align: center;
    padding: 40px 24px !important;
}

.sky-success-banner {
    background: #e8faf0;
    color: #0dda82;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
}

.sky-success-emoji {
    font-size: 64px;
    margin-bottom: 16px;
    line-height: 1;
}

.sky-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.sky-success-detail {
    color: #666;
    font-size: 14px;
    margin: 0 0 24px;
}

.sky-share p {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 12px;
}

.sky-share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.sky-share-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}

.sky-share-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
    color: #333;
}

.sky-close-link {
    color: #333;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

/* Inline validation errors */
.sky-inline-error {
    display: block;
    color: #e74a6d;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Step-level error banner */
.sky-step-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Processing spinner */
.sky-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sky-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes sky-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   Style Two — Responsive (mobile full-screen)
   ============================================= */
@media (max-width: 768px) {

    /* Full-screen takeover */
    .quick-modal.sky-modal-wide {
        align-items: stretch;
    }

    .quick-modal.sky-modal-wide .quick-modal-overlay {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .quick-modal.sky-modal-wide .quick-modal-body {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
        top: 0;
        left: 0;
        transform: none;
        position: fixed;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .quick-modal.sky-modal-wide .quick-modal-content {
        max-height: none;
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .quick-modal.sky-modal-wide .quick-modal-form-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* Close button — circular, fixed top-right */
    .quick-modal.sky-modal-wide .quick-modal-close {
        position: fixed;
        top: 12px;
        right: 12px;
        inset-inline-end: 12px;
        z-index: 20;
        background: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: #fff;
        font-size: 18px;
        line-height: 40px;
        text-align: center;
    }

    /* Single scrollable column — image, title, desc, form all in one flow */
    .sky-modal-style-two,
    .sky-modal-details-checkout,
    .sky-modal-details-add-to-cart {
        flex-direction: column;
        min-height: 0;
        max-height: none;
        gap: 0;
        background: #fff;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Left column — seamless header */
    .sky-modal-left {
        width: 100%;
        border-radius: 0;
        background: #fff;
        flex-shrink: 0;
    }

    .sky-modal-image img {
        height: 200px;
        border-radius: 0;
    }

    .sky-modal-info {
        padding: 16px 20px;
    }

    .sky-modal-title {
        font-size: 18px;
    }

    .sky-modal-desc {
        font-size: 13px;
    }

    /* Bigger field heights on mobile */
    .sky-floating-field .sky-input {
        height: 54px;
        padding: 22px 12px 6px;
    }

    .sky-floating-field select.sky-input {
        height: 54px;
        padding-top: 22px;
    }

    .sky-input-title {
        height: 54px;
    }

    .sky-floating-label {
        font-size: 14px;
    }

    .sky-modal-right {
        width: 100%;
        max-height: none;
        flex: none;
        border-radius: 0;
        overflow: visible;
        display: block;
    }

    /* Steps */
    .sky-step {
        padding: 16px 20px 100px;
    }

    .sky-step.active {
        display: block;
        min-height: auto;
    }

    /* Sticky header for steps 2, 3.5, 4 on mobile */
    .sky-step[data-step="2"] .sky-step-header,
    .sky-step[data-step="3.5"] .sky-step-header,
    .sky-step[data-step="4"] .sky-step-header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #fff;
        padding: 16px 0;
        margin: 0 0 16px;
        border-bottom: 1px solid #eee;
    }

    /* Mobile close button — red circle with X */
    .sky-mobile-close {
        margin-left: auto;
        width: 28px;
        height: 28px;
        background: #e74a6d;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        text-decoration: none;
        flex-shrink: 0;
    }

    .sky-mobile-close svg {
        width: 14px;
        height: 14px;
    }

    .sky-mobile-close:hover {
        background: #d63a5c;
    }

    /* Back button + title clickable as one unit */
    .sky-step-header .sky-back-group {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .sky-step-header .sky-back-group:hover {
        opacity: 0.7;
    }

    /* Centre content on steps 2, 3.5 on mobile */
    .sky-step[data-step="2"] .sky-step-body,
    .sky-step[data-step="3.5"] .sky-step-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sky-step[data-step="2"] .sky-step-body>*,
    .sky-step[data-step="3.5"] .sky-step-body>* {
        width: 100%;
        max-width: 400px;
    }

    /* Hide original buttons on mobile (cloned into fixed bar) */
    .sky-step-donation-form .donation-form-wrapper .form-submit-button,
    .sky-step-body>.sky-step-btn.sky-address-continue,
    .sky-step-body>.sky-step-btn.sky-donate-final,
    .sky-gift-aid-actions .sky-claim-gift-aid,
    .sky-gift-aid-actions .sky-no-gift-aid {
        display: none !important;
    }

    /* Fixed action button bar at viewport bottom */
    .sky-mobile-fixed-btn {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 20px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 15;
        border-top: 1px solid #eee;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
        text-align: center;
    }

    .sky-mobile-fixed-btn .form-submit-button,
    .sky-mobile-fixed-btn .sky-step-btn {
        width: 100%;
        margin: 0;
    }

    .sky-mobile-fixed-btn .sky-no-gift-aid {
        display: block;
        margin-top: 8px;
    }

    /* Hide mobile fixed button for non-step checkout modals */
    .quick-modal:not(.sky-modal-details-checkout) .sky-mobile-fixed-btn {
        display: none !important;
    }
}

/* ===== Quantity Selector (Modern Minimal) — Global ===== */
.sky-quantity-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 12px 0px 12px 0px;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sky-quantity-wrap .sky-qty-input[type=number] {
    background: none;
    border: none;
    outline: none;
}

.sky-quantity-wrap .sky-qty-btn {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.25s ease;
    border-radius: 6px;
    user-select: none;
    padding: 0px;
}

button.sky-qty-btn:hover {
    background: none;
    color: var(--accent-color);
}

.sky-qty-btn:active {
    transform: scale(0.95);
    background: #d8dce0;
}

.sky-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.sky-qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 0 8px;
    color: #333;
    border-radius: 6px;
    margin: 0 4px;
    font-family: inherit;
}

/* Remove number input spinners */
.sky-qty-input::-webkit-outer-spin-button,
.sky-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sky-qty-input[type=number] {
    -moz-appearance: textfield;
}