/* ==========================
 * RX NOTICE LABEL
 * ========================== */
.petzone-rx-required {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0d47a1;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    border: 1px solid #90caf9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.petzone-rx-single {
    margin-top: 0;
    margin-bottom: 15px;
}

.petzone-rx-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(255, 65, 108, 0.4);
}

/* ==========================
 * WOODMART STICKY ADD TO CART FIX (MOBILE & DESKTOP)
 * ========================== */
.woodmart-sticky-add-cart,
.wd-sticky-add-cart {
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .woodmart-sticky-add-cart,
    .wd-sticky-add-cart {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 12px !important;
        min-height: 60px !important;
        box-sizing: border-box !important;
    }
    .woodmart-sticky-add-cart .button,
    .wd-sticky-add-cart .button,
    .woodmart-sticky-add-cart button,
    .wd-sticky-add-cart button {
        width: auto !important;
        min-height: 40px !important;
        line-height: 40px !important;
        padding: 0 16px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}

/* ==========================
 * WOODMART BUY NOW BUTTON STYLING
 * ========================== */
.wd-buy-now-loop-btn {
    display: block !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding: 0 10px !important;
    min-height: 36px;
    line-height: 36px !important;
    box-sizing: border-box;
    text-align: center;
    background-color: #F0AD1D !important;
    color: #ffffff !important;
    border: 1px solid #F0AD1D !important;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.wd-buy-now-loop-btn:hover {
    background-color: #A37102 !important;
    border-color: #A37102 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.wd-buy-now-loop-btn::before,
.wd-buy-now-loop-btn::after {
    display: none !important;
}

@media (max-width: 767px) {
    .wd-buy-now-loop-btn {
        min-height: 34px;
        line-height: 34px !important;
        padding: 0 7px !important;
        margin-top: 1px !important;
        font-size: 11px;
    }
}

/* ==========================
 * MODAL POPUP STYLING
 * ========================== */
#petzone-rx-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

#petzone-rx-modal.petzone-rx-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.petzone-rx-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(2px);
}

.petzone-rx-modal-box {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 480px;
    margin: auto;
    padding: 30px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}



.petzone-rx-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1565c0;
    padding-right: 40px;
}

.petzone-rx-description {
    margin-bottom: 20px;
    color: #64748b;
    font-size: 14px;
}

.petzone-rx-file {
    display: block;
    width: 100%;
    padding: 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s;
}

.petzone-rx-file:hover {
    border-color: #1565c0;
}

.petzone-rx-file input {
    width: 100%;
    margin-top: 10px;
}

.petzone-rx-selected-file {
    margin-top: 8px;
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
    word-break: break-word;
}

.petzone-rx-error {
    margin-top: 10px;
    color: #ef4444;
    font-size: 13px;
}

.petzone-rx-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.petzone-rx-buttons button {
    min-height: 42px;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.petzone-rx-cancel {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
}

.petzone-rx-cancel:hover {
    background: #f1f5f9;
}

.petzone-rx-upload {
    border: 0;
    background: linear-gradient(135deg, #ff3b30, #ffcc00);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
    transition: opacity 0.2s;
}

.petzone-rx-upload:hover {
    opacity: 0.9;
}

.petzone-rx-upload:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media(max-width:480px) {
    .petzone-rx-modal-box {
        padding: 20px;
    }
    .petzone-rx-buttons {
        flex-direction: column-reverse;
    }
    .petzone-rx-buttons button {
        width: 100%;
    }
}