/* ==========================================================================
   PICU PARADĪZE MODERN CHECKOUT STYLES (MATCHING CRAFT PIZZERIA UI)
   ========================================================================== */

/* Container & Columns */
.c-cart--checkout .c-cart__wrap {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .c-cart--checkout .c-cart__wrap {
        flex-direction: column;
        gap: 24px;
    }

    .c-cart--checkout .c-cart__col-1,
    .c-cart--checkout .c-cart__col-2 {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Base Card Styling */
.pp-checkout-card {
    background: #17191e;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 24px 26px;
    margin-bottom: 22px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .pp-checkout-card {
        padding: 18px 16px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
}

/* Card Titles */
.pp-checkout-card__title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    letter-spacing: -0.01em !important;
}

.pp-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3722c 0%, #d85a15 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: none;
}

/* Form Input Styling */
.pp-checkout-card input[type="text"],
.pp-checkout-card input[type="email"],
.pp-checkout-card textarea,
.pp-checkout-card select {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
    height: 50px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.pp-checkout-card textarea {
    height: 80px !important;
    resize: vertical;
}

.pp-checkout-card input:focus,
.pp-checkout-card textarea:focus {
    border-color: #f3722c !important;
    background: rgba(255, 255, 255, 0.07) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(243, 114, 44, 0.20) !important;
}

.pp-checkout-card label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #a1a5b3 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.pp-checkout-card .required {
    color: #f3722c !important;
    text-decoration: none !important;
}

/* Grid Layouts for Fields */
.pp-card-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pp-card-fields-grid .form-row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* ==========================================================================
   INTERNATIONAL PHONE CONTROL WITH COUNTRY DROPDOWN
   ========================================================================== */
.pp-phone-control {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.pp-phone-control:focus-within {
    border-color: #f3722c !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 0 0 3px rgba(243, 114, 44, 0.20) !important;
}

.pp-country-select-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0 14px !important;
    cursor: pointer !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
    height: 48px !important;
    user-select: none !important;
    transition: background 0.15s ease !important;
    flex-shrink: 0 !important;
}

.pp-country-select-btn:hover,
.pp-country-select-btn.open {
    background: rgba(255, 255, 255, 0.06) !important;
}

.pp-selected-flag {
    font-size: 18px !important;
    line-height: 1 !important;
}

.pp-selected-code {
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
}

.pp-select-arrow {
    color: #8b90a0 !important;
    font-size: 11px !important;
    transition: transform 0.2s ease !important;
}

.pp-country-select-btn.open .pp-select-arrow {
    transform: rotate(180deg) !important;
}

.pp-phone-control input#billing_phone,
.pp-phone-control input[type="tel"] {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 48px !important;
    padding: 12px 14px !important;
    flex: 1 1 auto !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    margin: 0 !important;
}

.pp-phone-control input#billing_phone:focus {
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}

.pp-country-dropdown {
    position: absolute !important;
    top: 52px !important;
    left: 0 !important;
    width: 320px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    background: #1a1c22 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75) !important;
    z-index: 1200 !important;
    padding: 6px 0 !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent !important;
}

.pp-country-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    color: #e5e7eb !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.pp-country-item:hover {
    background: rgba(243, 114, 44, 0.18) !important;
    color: #ffffff !important;
}

.pp-item-flag {
    font-size: 17px !important;
    line-height: 1 !important;
}

.pp-item-name {
    flex: 1 1 auto !important;
}

.pp-item-code {
    color: #8b90a0 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

.pp-country-divider {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    margin: 6px 0 !important;
}

/* ==========================================================================
   DELIVERY SWITCHER (SEGMENTED BUTTONS)
   ========================================================================== */
.pp-delivery-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

@media (max-width: 500px) {
    .pp-delivery-switcher {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.pp-switcher-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    color: #9ca3af;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    user-select: none;
    outline: none;
}

.pp-switcher-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.pp-switcher-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pp-switcher-btn:hover {
    border-color: rgba(243, 114, 44, 0.45);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.pp-switcher-btn:hover .pp-switcher-svg {
    color: #ffffff;
}

.pp-switcher-btn.active {
    background: rgba(243, 114, 44, 0.12) !important;
    border-color: #f3722c !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.pp-switcher-btn.active .pp-switcher-svg {
    color: #f3722c;
}

.pp-switcher-btn.active .pp-switcher-radio-dot {
    border-color: #f3722c;
    background: radial-gradient(circle at center, #f3722c 45%, transparent 55%);
}

/* Sub-sections */
.pp-section-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #f3722c;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

/* Structured Delivery Fields: Apartment / Floor / Door code / Postcode */
.pp-delivery-subfields-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    margin-top: 14px !important;
}

@media (max-width: 768px) {
    .pp-delivery-subfields-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
}

.pp-delivery-subfields-grid .form-row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.pp-delivery-subfields-grid label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #a1a5b3 !important;
    margin-bottom: 5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
}

.pp-delivery-subfields-grid label .optional {
    display: none !important;
}

.pp-delivery-subfields-grid input {
    height: 46px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.pp-postcode-hint {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.pp-postcode-hint strong {
    color: #f3722c;
}

/* Pickup Info Box */
.pp-pickup-info-box {
    background: rgba(243, 114, 44, 0.05);
    border: 1px solid rgba(243, 114, 44, 0.22);
    border-radius: 14px;
    padding: 22px 24px;
    animation: ppFadeIn 0.3s ease;
}

@keyframes ppFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pp-pickup-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pp-pickup-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.pp-pickup-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pp-detail-label {
    color: #8b90a0;
    font-weight: 500;
}

.pp-detail-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.pp-detail-phone {
    color: #f3722c !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.pp-detail-phone:hover {
    color: #ff9e54 !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   PAYMENT METHODS SECTION (PREMIUM CARDS)
   ========================================================================== */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#payment .c-cart__sub-header {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 20px 0 14px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#payment ul.payment_methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

#payment ul.payment_methods li.wc_payment_method {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    transition: all 0.22s ease !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}

#payment ul.payment_methods li.wc_payment_method .c-cart__payment-methods-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    margin: 0 !important;
    position: relative !important;
}

/* Container wrap - ensure strictly square, flex-centered */
.c-cart__payment-methods-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex: 0 0 20px !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Radio button itself - 100% mathematically circular (Ratio 1.000) */
#payment ul.payment_methods li.wc_payment_method input[type="radio"],
#payment ul.payment_methods li.wc_payment_method .c-cart__payment-method-radio,
.wc_payment_method input[type="radio"],
input[type="radio"].c-cart__payment-method-radio {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.28) !important;
    background-color: #17191e !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    position: relative !important;
    vertical-align: middle !important;
    transition: all 0.2s ease !important;
}

#payment ul.payment_methods li.wc_payment_method input[type="radio"]:checked,
#payment ul.payment_methods li.wc_payment_method .c-cart__payment-method-radio:checked,
.wc_payment_method input[type="radio"]:checked,
input[type="radio"].c-cart__payment-method-radio:checked {
    border-color: #f3722c !important;
    background-color: #f3722c !important;
    box-shadow: inset 0 0 0 3px #17191e !important;
}

#payment ul.payment_methods li.wc_payment_method .c-cart__payment-method-radio::after {
    display: none !important; /* Inset shadow provides perfect round dot */
}

#payment ul.payment_methods li.wc_payment_method .c-cart__payment-methods-title,
#payment ul.payment_methods li.wc_payment_method label {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #e5e7eb !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    gap: 8px !important;
}

#payment ul.payment_methods li.wc_payment_method:hover {
    border-color: rgba(243, 114, 44, 0.40) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

#payment ul.payment_methods li.wc_payment_method:has(input[type="radio"]:checked) {
    background: rgba(243, 114, 44, 0.08) !important;
    border-color: #f3722c !important;
    box-shadow: none !important;
}

#payment ul.payment_methods li.wc_payment_method .payment_box {
    flex-basis: 100% !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin-top: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: #a1a5b3 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

#payment ul.payment_methods li.wc_payment_method .payment_box:before {
    display: none !important;
}

/* Terms and Submit */
.woocommerce-checkout #payment .place-order {
    padding: 0 !important;
    margin: 0 !important;
}

@keyframes pp-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.woocommerce-checkout #place_order {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 56px !important;
    background: linear-gradient(135deg, #f3722c 0%, #d85a15 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-align: center !important;
}

.woocommerce-checkout #place_order .pp-btn-spinner {
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    border: 2.8px solid rgba(255, 255, 255, 0.35) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: pp-spin 0.75s linear infinite !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.woocommerce-checkout #place_order .pp-btn-text {
    display: inline-block !important;
    line-height: 1 !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

/* Loading & Processing states (bright amber crust, NO NEON, clear spinner) */
.woocommerce-checkout #place_order.pp-loading,
.woocommerce-checkout #place_order:disabled.pp-loading,
.woocommerce-checkout form.checkout.processing #place_order,
.woocommerce-checkout form.checkout.processing #place_order:disabled,
body.pp-mode-pickup .woocommerce-checkout #place_order.pp-loading,
form.checkout.pp-mode-pickup.processing #place_order {
    cursor: wait !important;
    pointer-events: none !important;
    background: linear-gradient(135deg, #f3722c 0%, #d85a15 100%) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}

.woocommerce-checkout #place_order.pp-loading .pp-btn-spinner,
.woocommerce-checkout #place_order:disabled.pp-loading .pp-btn-spinner,
.woocommerce-checkout form.checkout.processing #place_order .pp-btn-spinner {
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    border: 3px solid rgba(255, 255, 255, 0.35) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: pp-spin 0.75s linear infinite !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.woocommerce-checkout #place_order.pp-loading .pp-btn-text,
.woocommerce-checkout #place_order:disabled.pp-loading .pp-btn-text,
.woocommerce-checkout form.checkout.processing #place_order .pp-btn-text {
    display: inline-block !important;
    line-height: 1 !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    letter-spacing: 0.02em !important;
}

/* Fallback CSS spinner if element isn't in DOM */
.woocommerce-checkout form.checkout.processing #place_order:not(.pp-has-js-spinner)::after,
.woocommerce-checkout #place_order.pp-loading:not(.pp-has-js-spinner)::after {
    content: '' !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    margin-left: 10px !important;
    border: 2.5px solid rgba(255, 255, 255, 0.35) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: pp-spin 0.75s linear infinite !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.woocommerce-checkout #place_order:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff823f 0%, #e66620 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.40) !important;
}

.woocommerce-checkout #place_order.szbd-disabled:not(.pp-loading),
.woocommerce-checkout #place_order:disabled:not(.pp-loading) {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    background: #2a2d35 !important;
    color: #8b90a0 !important;
    transform: none !important;
}

/* Hide Default WooCommerce redundant sections */
.woocommerce-billing-fields>h3:first-child,
.woocommerce-shipping-fields,
.woocommerce-additional-fields>h3 {
    display: none !important;
}

/* Hide SZBD Map and Precise Address in Pickup Mode */
body.pp-mode-pickup #szbd_checkout_field,
form.checkout.pp-mode-pickup #szbd_checkout_field,
.pp-mode-pickup #szbd_checkout_field,
body.pp-mode-pickup #szbd_map,
form.checkout.pp-mode-pickup #szbd_map,
body.pp-mode-pickup .szbd-map,
body.pp-mode-pickup #szbd_message {
    display: none !important;
}

/* Ensure place_order is ALWAYS fully enabled and styled in Pickup mode (when not submitting) */
body.pp-mode-pickup .woocommerce-checkout #place_order:not(.pp-loading),
body.pp-mode-pickup .woocommerce-checkout #place_order.szbd-disabled:not(.pp-loading),
body.pp-mode-pickup .woocommerce-checkout #place_order:disabled:not(.pp-loading),
form.checkout.pp-mode-pickup #place_order:not(.pp-loading),
form.checkout.pp-mode-pickup #place_order.szbd-disabled:not(.pp-loading),
form.checkout.pp-mode-pickup #place_order:disabled:not(.pp-loading) {
    opacity: 1 !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #f3722c 0%, #d85a15 100%) !important;
    color: #ffffff !important;
    pointer-events: auto !important;
}

body.pp-mode-pickup .woocommerce-checkout #place_order.pp-loading,
form.checkout.pp-mode-pickup.processing #place_order {
    cursor: wait !important;
    pointer-events: none !important;
}

/* ==========================================================================
   DELIVERY ZONE MINIMUM & OUTSIDE AREA NOTICES
   ========================================================================== */
.pp-delivery-notice-container {
    margin-top: 14px;
    width: 100%;
    transition: opacity 0.2s ease;
}

.pp-delivery-notice {
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 0;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

@keyframes ppNoticeSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.pp-notice-warning {
    background: rgba(243, 114, 44, 0.08);
    border: 1px solid rgba(243, 114, 44, 0.35);
}

.pp-notice-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.pp-notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pp-notice-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pp-notice-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.pp-notice-title strong {
    color: #f3722c;
}

.pp-notice-error .pp-notice-title strong {
    color: #f87171;
}

.pp-notice-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #d1d5db;
    margin-bottom: 14px;
}

.pp-notice-body strong {
    color: #ffffff;
    font-weight: 700;
}

.pp-notice-actions {
    display: flex;
    gap: 10px;
}

.pp-notice-pickup-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f3722c 0%, #d85a15 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.pp-notice-pickup-btn:hover {
    background: linear-gradient(135deg, #ff823f 0%, #e66620 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   ELEGANT COLLAPSIBLE COUPON BOX (CART & CHECKOUT)
   ========================================================================== */
.c-cart__coupon {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px dashed rgba(255, 255, 255, 0.16) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    margin: 16px 0 20px 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.c-cart__coupon::after {
    display: none !important;
}

.c-cart__coupon:hover {
    border-color: rgba(243, 114, 44, 0.35) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.c-cart__coupon a.js-cart-coupon {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    width: 100% !important;
    outline: none !important;
}

.c-cart__coupon .c-cart__sub-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #e5e7eb !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.04em !important;
}

.c-cart__coupon .c-cart__select-svg {
    width: 14px !important;
    height: 14px !important;
    fill: #f3722c !important;
    transition: transform 0.25s ease !important;
    float: none !important;
    flex-shrink: 0 !important;
}

.c-cart__coupon.c-cart__coupon--opened .c-cart__select-svg,
.c-cart__coupon:has(.c-cart__coupon-from-wrap--opened) .c-cart__select-svg {
    transform: rotate(180deg) !important;
}

.c-cart__coupon-from-wrap {
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
}

.c-cart__coupon-form {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    padding-top: 14px !important;
    margin-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.c-cart__coupon-form input.input-text,
.c-cart__coupon-form input#coupon_code {
    flex: 1 1 auto !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    padding: 0 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.c-cart__coupon-form input.input-text:focus {
    border-color: #f3722c !important;
    outline: none !important;
}

.c-cart__coupon-apply,
.c-cart__coupon-form button.button {
    height: 44px !important;
    background: linear-gradient(135deg, #f3722c 0%, #d85a15 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    padding: 0 18px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}

.c-cart__coupon-apply:hover,
.c-cart__coupon-form button.button:hover {
    background: linear-gradient(135deg, #ff823f 0%, #e66620 100%) !important;
    transform: translateY(-1px) !important;
}



/* ==========================================================================
   BROWSER AUTOFILL FIX FOR DARK THEME (CHROME, EDGE, SAFARI, FIREFOX)
   Prevents bright white/light-blue background with invisible white text
   ========================================================================== */
.pp-checkout-fields-container input:-webkit-autofill,
.pp-checkout-fields-container input:-webkit-autofill:hover, 
.pp-checkout-fields-container input:-webkit-autofill:focus, 
.pp-checkout-fields-container input:-webkit-autofill:active,
.pp-checkout-fields-container textarea:-webkit-autofill,
.pp-checkout-fields-container textarea:-webkit-autofill:hover,
.pp-checkout-fields-container textarea:-webkit-autofill:focus,
.pp-checkout-fields-container textarea:-webkit-autofill:active,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #1d1f27 inset !important;
    box-shadow: 0 0 0 1000px #1d1f27 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    caret-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

input:autofill,
textarea:autofill,
select:autofill {
    background-color: #1d1f27 !important;
    color: #ffffff !important;
    filter: none !important;
}

/* Ensure Switcher SVGs never fill solid colors */
.pp-switcher-svg svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    display: inline-block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
.pp-switcher-svg svg * {
    fill: none !important;
    stroke: currentColor !important;
}

/* Shipping Methods in Order Summary */
#shipping_method {
    list-style: none !important;
    margin: 8px 0 14px 0 !important;
    padding: 0 !important;
}

#shipping_method li {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    color: #d1d5db !important;
    line-height: 1.4 !important;
}

#shipping_method li label {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    margin: 0 !important;
    color: #e5e7eb !important;
    font-size: 14px !important;
}

#shipping_method input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    aspect-ratio: 1 / 1 !important;
    margin-right: 10px !important;
    cursor: pointer !important;
    accent-color: #f3722c !important;
}

/* In delivery mode, hide local pickup in DOM */
body.pp-mode-delivery #shipping_method li:has(input[value*="local_pickup"]) {
    display: none !important;
}

/* In pickup mode, hide szbd delivery in DOM */
body.pp-mode-pickup #shipping_method li:has(input[value*="szbd"]) {
    display: none !important;
}

/* Hide unmatched zones completely so user is not prompted to choose between invalid zones */
#shipping_method li[szbd="false"],
body.pp-mode-delivery #shipping_method li[szbd="false"] {
    display: none !important;
}

/* Clean single-rate display without redundant radio circle */
body.pp-mode-delivery #shipping_method li[szbd="true"] input[type="radio"],
body.pp-mode-pickup #shipping_method li:has(input[value*="local_pickup"]) input[type="radio"] {
    display: none !important;
}

body.pp-mode-delivery #shipping_method li[szbd="true"] label,
body.pp-mode-pickup #shipping_method li:has(input[value*="local_pickup"]) label {
    font-weight: 600 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   ROUND 3 FIXES:
   1. Chrome autofill dark scheme and zero text-glitch
   2. Coupon box unclipped layout
   3. Complete elimination of muddy square / blockUI blur
   ========================================================================== */
:root, html, body {
    color-scheme: dark !important;
}

input, textarea, select {
    color-scheme: dark !important;
}

/* Absolute Autofill Dark Fix & High Contrast Legibility */
:root, html, body {
    color-scheme: dark !important;
}

input, textarea, select {
    color-scheme: dark !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
input:-webkit-autofill-previewed,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
textarea:-webkit-autofill-previewed,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active,
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill,
input:autofill,
textarea:autofill,
select:autofill {
    -webkit-box-shadow: 0 0 0 1000px #17191e inset !important;
    box-shadow: 0 0 0 1000px #17191e inset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    caret-color: #ffffff !important;
    background-color: #17191e !important;
    transition: background-color 5000000s ease-in-out 0s, color 5000000s ease-in-out 0s !important;
}

/* Coupon box: accordion state handling & never clip button */
.c-cart__coupon {
    position: relative !important;
}

.c-cart__coupon-from-wrap {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.3s !important;
}

.c-cart__coupon-from-wrap.c-cart__coupon-from-wrap--opened,
.c-cart__coupon--opened .c-cart__coupon-from-wrap,
.c-cart__coupon:has(.c-cart__coupon-from-wrap--opened) .c-cart__coupon-from-wrap {
    max-height: 160px !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}


.c-cart__coupon-form {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.c-cart__coupon-form input.input-text,
.c-cart__coupon-form input#coupon_code {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 0 !important;
    box-sizing: border-box !important;
}

.c-cart__coupon-apply,
.c-cart__coupon-form button.button,
.c-cart__coupon-form input[type="submit"] {
    flex: 0 0 auto !important;
    min-width: 84px !important;
    width: auto !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    box-sizing: border-box !important;
}

/* Complete elimination of muddy square during WooCommerce AJAX updates */
.c-cart__collaterals .blockUI.blockOverlay,
.c-cart__collaterals .c-cart__review-order .blockUI.blockOverlay,
.c-cart__review-order .blockUI.blockOverlay,
#order_review .blockUI.blockOverlay,
.woocommerce-checkout .blockUI.blockOverlay,
.blockUI.blockOverlay {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    opacity: 0 !important;
    display: none !important;
    pointer-events: none !important;
}

.c-cart__review-order .blockUI.blockOverlay::after,
#order_review .blockUI.blockOverlay::after,
.blockUI.blockMsg {
    display: none !important;
}

.processing {
    filter: none !important;
    -webkit-filter: none !important;
}

.woocommerce-checkout-review-order-table.processing,
.woocommerce-checkout-review-order.processing {
    opacity: 0.8 !important;
    transition: opacity 0.15s ease !important;
}

/* Stripe Card Element Country Explanation */
.pp-stripe-country-hint {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding: 12px 14px !important;
    background: rgba(243, 114, 44, 0.06) !important;
    border: 1px solid rgba(243, 114, 44, 0.18) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #c4c8d6 !important;
}

.pp-stripe-country-hint .pp-hint-icon {
    font-size: 15px !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
}

.pp-stripe-country-hint .pp-hint-text {
    flex: 1 !important;
}

.pp-stripe-country-hint strong {
    color: #ffffff !important;
}

.pp-stripe-country-hint em {
    color: #f3722c !important;
    font-style: normal !important;
    font-weight: 600 !important;
}



/* ==========================================================================
   PICU PARADĪZE - BRAND ORANGE QUANTITY BUTTONS (+ / -) [NO-NEON & CENTERED]
   Clean, matte craft orange (#f3722c) without any neon glow/colored shadows.
   Centered horizontally in product grid cards.
   ========================================================================== */

/* Centering in product grid cards */
.c-product-grid__quantity-wrap {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.c-product-grid__quantity-wrap .c-quantity,
.c-product-grid__quantity,
.c-product-grid__item .c-quantity {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    box-shadow: none !important;
}

/* Plus and Minus buttons: Clean matte craft orange, NO NEON, NO colored box-shadow */
.c-quantity__minus,
.c-quantity__plus,
.c-quantity .js-quantity-minus,
.c-quantity .js-quantity-plus,
.c-quantity__btn,
button.c-quantity__minus,
button.c-quantity__plus,
.c-product-grid__quantity .c-quantity__minus,
.c-product-grid__quantity .c-quantity__plus,
.c-product__quantity-wrap .c-quantity__minus,
.c-product__quantity-wrap .c-quantity__plus,
.c-cart__item-quantity .c-quantity__minus,
.c-cart__item-quantity .c-quantity__plus {
    background: #f3722c !important;
    background-color: #f3722c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    outline: none !important;
    transition: background-color 0.2s ease !important;
}

.c-quantity__minus:hover,
.c-quantity__plus:hover,
.c-quantity .js-quantity-minus:hover,
.c-quantity .js-quantity-plus:hover,
.c-quantity__btn:hover,
button.c-quantity__minus:hover,
button.c-quantity__plus:hover,
.c-product-grid__quantity .c-quantity__minus:hover,
.c-product-grid__quantity .c-quantity__plus:hover,
.c-product__quantity-wrap .c-quantity__minus:hover,
.c-product__quantity-wrap .c-quantity__plus:hover,
.c-cart__item-quantity .c-quantity__minus:hover,
.c-cart__item-quantity .c-quantity__plus:hover {
    background: #d85a15 !important;
    background-color: #d85a15 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    transform: none !important;
}

.c-quantity__minus:active,
.c-quantity__plus:active,
.c-quantity .js-quantity-minus:active,
.c-quantity .js-quantity-plus:active,
button.c-quantity__minus:active,
button.c-quantity__plus:active,
.c-product-grid__quantity .c-quantity__minus:active,
.c-product-grid__quantity .c-quantity__plus:active,
.c-product__quantity-wrap .c-quantity__minus:active,
.c-product__quantity-wrap .c-quantity__plus:active,
.c-cart__item-quantity .c-quantity__minus:active,
.c-cart__item-quantity .c-quantity__plus:active {
    background: #be4c0e !important;
    background-color: #be4c0e !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Quantity value number input */
.c-quantity__value,
input.c-quantity__value,
.c-quantity input.js-quantity-value,
.c-product-grid__quantity .c-quantity__value,
.c-product__quantity-wrap .c-quantity__value,
.c-cart__item-quantity .c-quantity__value {
    background-color: #17191e !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
}
/* --- Dark Google Maps Styling --- */
#szbd_checkout_field {
    background: #17191e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin-top: 18px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
}

#szbd_checkout_field > p,
#szbd_checkout_field > label {
    color: #94a3b8 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

#szbd_checkout_field > p:first-of-type,
#szbd_checkout_field strong {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 4px !important;
}

#szbd_map {
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: #181a20 !important;
    margin-top: 10px !important;
}

#szbd_map .gm-style {
    background-color: #181a20 !important;
}

#szbd_map .gm-control-active {
    background-color: #20242c !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

#szbd_map .gm-control-active svg,
#szbd_map .gm-control-active img {
    filter: invert(1) hue-rotate(180deg) brightness(1.2) !important;
}

#szbd_map .gm-style-cc {
    background: rgba(23, 25, 30, 0.85) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 4px !important;
}

#szbd_map .gm-style-cc a,
#szbd_map .gm-style-cc span {
    color: #64748b !important;
    font-size: 10px !important;
}

/* SVG Stroke & Fill Protection for Subtitles and Buttons */
.pp-section-subtitle svg,
.pp-switcher-svg svg {
    display: inline-block !important;
    vertical-align: middle !important;
    fill: none !important;
    flex-shrink: 0 !important;
}

.pp-section-subtitle svg *,
.pp-switcher-svg svg * {
    fill: none !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.pp-section-subtitle svg {
    stroke: #f3722c !important;
    color: #f3722c !important;
}

.pp-section-subtitle svg * {
    stroke: #f3722c !important;
}


/* Cart Auto-Update Visual Feedback */
.woocommerce-cart-form.pp-cart-updating {
    opacity: 0.55 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease !important;
}

.woocommerce-cart-form.pp-cart-updating .c-cart__shop-update-svg {
    animation: pp-spin 0.8s linear infinite !important;
}

/* Header Cart Count Badge (NO-NEON amber crust) */
.c-header__cart-count,
.js-cart-count {
    background-color: #f3722c !important;
    color: #ffffff !important;
}
