
/* ── Loader ── */
.loader-backdrop {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999999999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000bd;
    backdrop-filter: blur(10px);
}
.loader {
    display: inline-block;
    width: 100px;
    height: 100px;
    color: inherit;
    vertical-align: middle;
    pointer-events: none;
    z-index: 9999999999;
    background: #4385F5;
    border-radius: 50%;
    animation: loader 1s infinite ease-in-out;
}
@keyframes loader {
    0%   { transform: scale(0); }
    100% { transform: scale(1); opacity: 0; }
}

/* ── Modal overlays (shared backdrop style) ── */
div#organicvegetables,
div#organicvegetables_web,
div#organicvegetables_app,
div#unavailable_modal,
div#unavailable_modal_app,
div#contact_info {
    background: #000000bd;
    backdrop-filter: blur(10px);
}

/* ── Availability modal card ── */
.availability-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.availability-card {
    background: #fff;
    width: 520px;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    font-family: Arial, sans-serif;
}
.availability-card h2 { margin: 0 0 10px; }
.subtitle { font-size: 14px; color: #555; margin-bottom: 20px; }
.product-box {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 10px;
}
.product-box img { width: 70px; margin-right: 12px; }
.product-info { flex: 1; font-size: 14px; }
.product-info h4 { margin: 0; font-size: 15px; }
.qty, .desc { font-size: 13px; color: #666; }
.price { margin-top: 6px; }
.free { color: green; font-weight: bold; margin-right: 6px; }
.add-btn {
    border: 1px solid #3f6df6;
    background: #fff;
    color: #3f6df6;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
}
.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
.city-alert { font-size: 10px; color: white; }

/* ── Theme buttons ── */
.thame-btn {
    display: inline-block;
    font-size: 14px;
    line-height: 14px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0 0.75rem;
    min-height: 34px;
    max-height: 44px;
    border-radius: 8px;
    font-family: 'Nunito Sans', sans-serif;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.thame-btn-primary {
    color: #fff;
    background-color: #4385F5;
    border-color: #4385F5;
}

/* ── Phone floating label ── */
.form-floating-phone > input  { padding-left: 55px !important; }
.form-floating-phone > span   { position: absolute; top: 15px; left: 10px; z-index: 9; }
.form-floating-phone > label  { transform: scale(1) translateY(1.2rem) translateX(3.5rem); }

/* ── Error messages ── */
.error-gender,
.error-date_web,
.error-date_app,
.error_date {
    font-size: 13px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #DA1414;
    background: #FEEFEF;
    border-radius: 8px;
    padding: 6px 16px;
    margin-top: 5px;
    min-height: 32px;
    font-weight: 600;
}
.display_errors { color: red; }
a.position-absolute.fw-bold.display_errors {
    right: 15px;
    top: 38px;
    font-size: 12px;
    line-height: 24px;
}

/* ── Delivery details tabs ── */
.Delivery-details li > a {
    padding: 8px 12px;
    min-height: 36px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    color: #4F4F4Fcc;
    background-color: #fff;
    font-weight: 600;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}
.Delivery-details li > a.active {
    background: rgba(67, 133, 245, 0.1);
    border: 1px solid #4385F5;
    border-radius: 8px;
    color: #2B2B2Bcc;
}

/* ── Gender radio buttons ── */
input.gender[type="radio"] { display: none; }
input.gender[type="radio"] + label {
    padding: 12px 8px;
    width: 100%;
    max-width: 104px;
    min-height: 48px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #4f4f4fcc;
    overflow: hidden;
    background-color: #fff;
}
input.gender[type="radio"]:checked + label {
    background-color: rgba(67, 133, 245, 0.05);
    border: 1px solid #4385F5;
}

/* ── Address input ── */
.currnut_address_input { padding-right: 90px; }
.clear-address { right: 35px; }
.map-current { max-width: 30px; min-width: 30px; max-height: 30px; min-height: 30px; }

/* ── Product page: price extra badge ── */
.price-extra { font-size: 12px; color: white; margin-top: 2px; }

/* ── Product page: see more/less text toggle ── */
.text-details-checkbox > input + span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.text-details-checkbox > input:checked + span {
    overflow: visible;
    text-overflow: inherit;
    -webkit-line-clamp: initial;
}
.text-details-checkbox > input + span + label { cursor: pointer; }
.text-details-checkbox > input + span + label::after        { content: "See More"; display: block; font-weight: bold; }
.text-details-checkbox > input:checked + span + label::after { content: "See Less"; display: block; font-weight: bold; }
button.text-white.text-decoration-none.fw-bold { background: transparent; border: 0; }
h6#cat_name { display: none; }

/* ── Notification badge / sonar pulse ── */
.badge-num {
    background: #4385f5;
    border-radius: 50%;
    max-height: 7px; min-height: 7px;
    max-width: 7px;  min-width: 7px;
    animation: pulse 1.5s infinite;
    padding: 0;
    display: inline-block;
    position: absolute;
    top: 23px;
    margin-left: 5px;
}
.badge-num::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,155,243,.5);
    opacity: 0;
    border-radius: 50%;
    width: 100%; height: 100%;
    animation: sonar 1.5s infinite;
}
@keyframes sonar {
    0%   { transform: scale(1);   opacity: 1; }
    20%  { transform: scale(1.4); opacity: 0.5; }
    50%  { transform: scale(.9);  opacity: 1; }
    80%  { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1);   opacity: 1; }
}
@keyframes pulse {
    0%   { transform: scale(1); }
    20%  { transform: scale(1.4); }
    50%  { transform: scale(.9); }
    80%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ── Responsive: hide more/less link on all screens (as per original) ── */
.not_show_more_less { display: none; }

/* ── AMP Web Push notifications ── */
amp-web-push-widget button.subscribe {
    display: inline-flex;
    align-items: center;
    border-radius: 2px;
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 15px;
    cursor: pointer;
    outline: none;
    font-size: 15px;
    font-weight: 400;
    background: #4A90E2;
    color: white;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.5);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
amp-web-push-widget button.subscribe:active { transform: scale(0.9); }

amp-web-push-widget button.unsubscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    border: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    font-size: 15px;
    font-weight: 400;
    background-color: #eee;
    color: #B1B1B1;
    border-radius: 2px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
amp-web-push-widget button.unsubscribe:active { transform: scale(0.9); }

.img_offer_sample{
    height: 170px;
}