/* Minor additions for server-side Laravel forms and messages; original theme CSS remains intact. */
.server-flash,.server-errors{position:fixed;z-index:1010;right:18px;bottom:88px;max-width:min(420px,calc(100vw - 36px));background:#fff;border-left:4px solid #168d6f;border-radius:12px;box-shadow:0 8px 30px #0002;padding:14px 18px;font-size:14px}
.server-errors{border-color:#d14848;bottom:150px}.server-errors ul{padding-left:17px}
.shop-layout form{margin:0}.pagination{margin-top:30px}.pagination nav{display:flex;gap:10px;align-items:center;justify-content:center}.pagination a,.pagination span{display:inline-block;padding:9px;border:1px solid #ddd;border-radius:7px}
@media(min-width:769px){.filter-box .btn-primary{display:block}}.empty-box{grid-column:1/-1}

@media (max-width: 800px) {
    .mobile-drawer-header {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        align-items: center;
        row-gap: 20px;
        padding-bottom: 24px;
    }

    .mobile-drawer-header .brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .mobile-drawer-header .brand-logo {
        height: 60px;
        max-width: 120px;
        object-position: center;
    }

    .mobile-drawer-header [data-menu-close] {
        grid-column: 1;
        grid-row: 1;
    }

    .mobile-drawer-tagline {
        grid-column: 1 / -1;
        margin: 0;
        color: var(--green);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.16em;
        line-height: 1.8;
        text-align: center;
    }

    .checkout-layout > .summary-card {
        order: -1;
    }
}


/* Customer reviews */
.customer-reviews {
    background: linear-gradient(135deg, #edf7f1, #f8fbf6 65%, #f3f6eb);
    border-top: 1px solid #e2eee5;
    border-bottom: 1px solid #e2eee5;
}

.reviews-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.reviews-heading h2 {
    margin: 12px 0;
    font-size: clamp(28px, 3vw, 39px);
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.reviews-heading p {
    margin: 0;
    color: var(--ink2);
    font-size: 14px;
    line-height: 1.7;
}

.reviews-source {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 12px 17px;
    border: 1px solid #dce9df;
    border-radius: 14px;
    background: #ffffffb3;
    text-decoration: none;
}

.reviews-source:hover {
    border-color: #599b70;
}

.reviews-google-mark {
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 800;
    background: conic-gradient(#4285f4 0deg 90deg, #34a853 90deg 180deg, #fbbc05 180deg 230deg, #ea4335 230deg 300deg, #4285f4 300deg);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.reviews-source strong,
.reviews-source span:not(.reviews-google-mark) {
    display: block;
}

.reviews-source strong {
    color: var(--ink);
    font-size: 13px;
}

.reviews-source div > span {
    margin-top: 3px;
    color: #718278;
    font-size: 11px;
}

.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 16px;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.reviews-source:focus-visible,
.reviews-track:focus-visible,
.reviews-controls button:focus-visible {
    outline: 3px solid #108b79;
    outline-offset: 3px;
}

.review-card {
    position: relative;
    display: flex;
    flex: 0 0 calc((100% - 40px) / 3);
    flex-direction: column;
    gap: 22px;
    min-width: 0;
    min-height: 325px;
    margin: 0;
    padding: 27px;
    border: 1px solid #dfeae1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 16px #244d3410;
    scroll-snap-align: start;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #e4f1e8;
    color: #24724b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.review-card:nth-child(3n + 2) .review-avatar {
    background: #f6edda;
    color: #997137;
}

.review-card:nth-child(3n) .review-avatar {
    background: #e9edfa;
    color: #5b6aa2;
}

.review-author strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.5;
}

.review-author div > span {
    display: block;
    margin-top: 3px;
    color: #7a8a80;
    font-size: 10px;
}

.review-quote-mark {
    position: absolute;
    top: 80px;
    right: 23px;
    color: #edf4ee;
    font-family: Georgia, serif;
    font-size: 100px;
    line-height: 1;
    pointer-events: none;
}

.review-card blockquote {
    position: relative;
    flex: 1;
    margin: 0;
}

.review-card blockquote p {
    margin: 0;
    color: #395247;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.review-card-source {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 16px;
    border-top: 1px solid #edf2ee;
    color: #7a8c80;
    font-size: 10px;
}

.review-card-source .icon {
    color: #5a9973;
}

.reviews-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
}

.reviews-caption {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6d8174;
    font-size: 12px;
}

.reviews-caption > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #599b70;
}

.reviews-controls {
    display: flex;
    align-items: center;
    gap: 9px;
}

.reviews-controls[hidden],
.reviews-controls [hidden] {
    display: none;
}

.reviews-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #cedfd2;
    border-radius: 50%;
    background: #fff;
    color: #206b46;
    cursor: pointer;
    transition: background 180ms, color 180ms;
}

.reviews-arrow:hover {
    border-color: #206b46;
    background: #206b46;
    color: #fff;
}

.reviews-autoplay {
    min-width: 54px;
    min-height: 44px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #557761;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .review-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 580px) {
    .reviews-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 21px;
    }

    .reviews-heading p {
        font-size: 12px;
    }

    .reviews-source {
        padding: 9px 13px;
        border-radius: 11px;
    }

    .reviews-google-mark {
        font-size: 26px;
    }

    .reviews-track {
        gap: 14px;
    }

    .review-card {
        flex-basis: 100%;
        min-height: 320px;
        padding: 24px;
        border-radius: 17px;
    }

    .reviews-caption {
        max-width: 130px;
        font-size: 10px;
        line-height: 1.6;
    }

    .reviews-caption > span {
        flex-shrink: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reviews-arrow {
        transition: none;
    }
}

/* Official Brand Logo Enhancements */
.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.brand-logo {
    height: 56px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
    display: block;
}
@media (max-width: 800px) {
    .brand-logo {
        height: 44px;
        max-width: 110px;
    }
}
@media (max-width: 580px) {
    .brand-logo {
        height: 38px;
        max-width: 95px;
    }
}
@media (max-width: 360px) {
    .brand-logo {
        height: 34px;
        max-width: 85px;
    }
}

.invoice-brand-logo {
    max-height: 62px;
    width: auto;
    object-fit: contain;
}

.footer-brand .brand {
    display: inline-block;
    margin-bottom: 4px;
}
.footer-official-logo {
    opacity: 1 !important;
    margin-top: 0 !important;
}


/* Sticky Navigation Menu for All Devices */
html {
    overflow-x: visible !important;
}
body {
    overflow-x: clip;
}
#app-main {
    max-width: 100%;
    overflow-x: clip;
}
.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 14px rgba(16, 139, 121, 0.08) !important;
    width: 100%;
}

/* Product Card Discount Percentage Badge Beside Price */
.price-row {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.price-discount {
    display: inline-flex;
    align-items: center;
    background: #e7f5ed;
    color: #108b79;
    border: 1px solid rgba(16, 139, 121, 0.18);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    align-self: center;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .price-discount {
        font-size: 10px;
        padding: 1.5px 5.5px;
        border-radius: 4px;
    }
}

/* Back to Top Floating Button for all devices */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 88px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #108b79;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 20px rgba(16, 139, 121, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.9);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.28s ease, background 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: #087562;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 24px rgba(16, 139, 121, 0.42);
}

.back-to-top:active {
    transform: translateY(0) scale(0.96);
}

.back-to-top:focus-visible {
    outline: 3px solid #88d7c1;
    outline-offset: 3px;
}

.back-to-top .icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.back-to-top:hover .icon {
    transform: translateY(-2px);
}

/* Tablet view (581px - 800px) */
@media (max-width: 800px) {
    .back-to-top {
        right: 14px;
        bottom: 136px;
        width: 42px;
        height: 42px;
    }
}

/* Mobile phones (<= 580px) */
@media (max-width: 580px) {
    .back-to-top {
        right: 16px;
        bottom: calc(68px + max(4px, env(safe-area-inset-bottom)));
        width: 42px;
        height: 42px;
    }
}

/* Google Authentication Button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: #ffffff;
    color: #173b43;
    border: 1.5px solid #d8e5de;
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(23, 59, 67, 0.04);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-google:hover {
    background: #f7faf8;
    border-color: #108b79;
    color: #0c4d46;
    box-shadow: 0 4px 14px rgba(16, 139, 121, 0.12);
    transform: translateY(-1px);
}

.btn-google:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(23, 59, 67, 0.08);
}

.btn-google .google-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: block;
}

/* ==========================================================================
   Modern Homepage & Category-Wise Showcase Styles
   ========================================================================== */

/* Quick Category Pills Scroll Navigation */
.category-quick-pills {
    background: #f7faf8;
    border-top: 1px solid #e5eee8;
    border-bottom: 1px solid #e5eee8;
    padding: 12px 0;
    margin: 18px 0 28px;
}
.pills-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}
.pills-scroll-wrap::-webkit-scrollbar {
    display: none;
}
.pill-label-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4b6654;
    white-space: nowrap;
    margin-right: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #dce8e0;
    color: #173b43;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 30px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.pill-btn:hover {
    background: #108b79;
    border-color: #108b79;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16, 139, 121, 0.2);
}
.pill-btn.pill-more {
    background: #e6f6ef;
    border-color: #c4e9d9;
    color: #0d6d5f;
}
.pill-btn.pill-more:hover {
    background: #108b79;
    border-color: #108b79;
    color: #ffffff;
}

/* Category-wise Showcase Sections */
.category-showcase-section {
    padding: 44px 0 36px;
    border-top: 1px solid #edf4f0;
}
.category-showcase-section:nth-of-type(even) {
    background: #fbfdfc;
}
.category-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.showcase-title-wrap {
    max-width: 650px;
}
.showcase-title-wrap h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 8px 0 6px;
    color: #123e2d;
    line-height: 1.2;
}
.showcase-title-wrap p {
    font-size: 13px;
    color: #556d5e;
    margin: 0;
    line-height: 1.5;
}
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}
.view-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e7f5ee;
    color: #108b79;
    border: 1px solid #cce8dc;
    border-radius: 11px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.view-link-btn:hover {
    background: #108b79;
    border-color: #108b79;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 139, 121, 0.25);
}

/* Deals / High Savings Banner */
.deals-container {
    background: linear-gradient(135deg, #fff9f0 0%, #fffcf7 100%);
    border: 1.5px solid #fde7cc;
    border-radius: 24px;
    padding: 34px 30px;
    margin: 28px auto;
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.05);
}
.deals-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.deals-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ea580c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Hero Popular Search Tags */
.hero-popular-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 12px;
}
.hero-popular-tags strong {
    color: #2b5941;
    font-weight: 800;
    white-space: nowrap;
}
.tag-pill {
    background: #ffffff;
    border: 1px solid #d4e8da;
    color: #1a6d47;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}
.tag-pill:hover {
    background: #108b79;
    border-color: #108b79;
    color: #ffffff;
}

/* Modern Trust Features Grid */
.trust-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px auto 36px;
}
.trust-card-item {
    background: #ffffff;
    border: 1px solid #e2ebe4;
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(18, 62, 45, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.trust-card-item:hover {
    transform: translateY(-2px);
    border-color: #b5ded1;
    box-shadow: 0 8px 22px rgba(18, 62, 45, 0.06);
}
.trust-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e6f6ef;
    color: #108b79;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.trust-card-item strong {
    display: block;
    font-size: 13px;
    color: #153e2e;
    margin-bottom: 2px;
}
.trust-card-item p {
    font-size: 11px;
    color: #63786a;
    line-height: 1.45;
    margin: 0;
}

/* Modern Prescription Order Banner */
.rx-banner-modern {
    background: linear-gradient(135deg, #0e554d 0%, #15794d 100%);
    border-radius: 24px;
    padding: 44px 42px;
    color: #ffffff;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(14, 85, 77, 0.16);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    align-items: center;
}
.rx-banner-modern:before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    right: -80px;
    top: -80px;
    pointer-events: none;
}
.rx-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.rx-banner-modern h2 {
    font-size: clamp(25px, 2.8vw, 36px);
    color: #ffffff;
    margin: 12px 0 10px;
    line-height: 1.2;
}
.rx-banner-modern p {
    color: #e0f2ea;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 580px;
}
.rx-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.rx-banner-actions .btn-white {
    background: #ffffff;
    color: #0e554d;
    font-weight: 800;
    border-radius: 12px;
    padding: 13px 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.rx-banner-actions .btn-white:hover {
    background: #f0faf5;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.rx-banner-actions .btn-glass {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 800;
    border-radius: 12px;
    padding: 13px 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}
.rx-banner-actions .btn-glass:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}
.rx-banner-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}
.rx-card-mock {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rx-card-mock .mock-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
}
.rx-card-mock .mock-pill svg {
    color: #7ce3ba;
}

/* Category Grid Polish & Real Graphics */
.category-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.category-card:hover {
    transform: translateY(-4px);
    border-color: #72cfb0;
    box-shadow: 0 12px 28px rgba(16, 139, 121, 0.12);
}
.category-visual {
    width: 82px !important;
    height: 82px !important;
    border-radius: 24px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 auto 14px !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}
.category-card:hover .category-visual {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 22px rgba(16, 139, 121, 0.18) !important;
}
.category-real-graphic {
    width: 66px;
    height: 66px;
    display: block;
    object-fit: contain;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}
.category-card:hover .category-real-graphic {
    transform: scale(1.07);
}
.badge-category-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
}
.pill-cat-icon {
    width: 17px;
    height: 17px;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
}
.pill-btn-deals {
    color: #ea580c !important;
    border-color: #fed7aa !important;
    background: #fff7ed !important;
}
.pill-btn-deals:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
}
.category-count-pill {
    font-size: 10px;
    font-weight: 800;
    color: #26794c;
    background: #edf7ef;
    padding: 2px 7px;
    border-radius: 10px;
    margin-top: 6px;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .trust-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    .rx-banner-modern {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }
    .rx-banner-graphic {
        display: none;
    }
}
@media (max-width: 580px) {
    .category-visual {
        width: 66px !important;
        height: 66px !important;
        border-radius: 18px !important;
        margin-bottom: 8px !important;
    }
    .category-real-graphic {
        width: 52px !important;
        height: 52px !important;
    }
    .badge-category-icon {
        width: 17px;
        height: 17px;
    }
    .pill-cat-icon {
        width: 14px;
        height: 14px;
    }
    .trust-grid-modern {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .category-showcase-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .showcase-title-wrap h2 {
        font-size: 20px;
    }
    .view-link-btn {
        width: 100%;
        justify-content: center;
    }
    .deals-container {
        padding: 22px 16px;
        border-radius: 18px;
    }
}

/* ==========================================================================
   Clean Minimal Customer Auth Page
   ========================================================================== */
.auth-simple-page {
    background: linear-gradient(180deg, #f4f8f6 0%, #ffffff 100%);
    min-height: calc(100vh - 240px);
    display: flex;
    align-items: center;
    padding: 50px 0 70px;
}
.auth-simple-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.auth-simple-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #dfede6;
    border-radius: 24px;
    padding: 38px 34px 34px;
    box-shadow: 0 16px 48px rgba(12, 77, 70, 0.08);
    margin: 0 auto;
}
.auth-simple-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}
.auth-simple-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.auth-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px !important;
    background: #f1f6f4;
    padding: 5px;
    border-radius: 14px;
    margin-bottom: 22px !important;
    border: none !important;
}
.auth-tabs button {
    border: none;
    background: transparent;
    color: #4b6654;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.auth-tabs button.active {
    background: #ffffff;
    color: #0c4d46;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.auth-simple-card .form-group {
    margin-bottom: 14px;
}
.auth-simple-card .form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #1a4239;
    margin-bottom: 6px;
    display: block;
}
.auth-simple-card .form-group input {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1.5px solid #dce8e2;
    padding: 0 15px;
    font-size: 14px;
    background: #f8fbf9;
    color: #173b43;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.auth-simple-card .form-group input:focus {
    background: #ffffff;
    border-color: #108b79;
    box-shadow: 0 0 0 3px rgba(16, 139, 121, 0.12);
    outline: none;
}
.btn-auth-submit {
    width: 100%;
    margin-top: 14px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 12px;
}
.checkout-prompt-banner {
    background: #e6f6ef;
    border: 1px solid #108b79;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #0c4d46;
    font-weight: 600;
}
@media (max-width: 580px) {
    .auth-simple-page {
        padding: 24px 0 44px;
        min-height: auto;
    }
    .auth-simple-card {
        padding: 28px 20px 24px;
        border-radius: 18px;
        box-shadow: 0 8px 24px rgba(12, 77, 70, 0.06);
    }
    .auth-simple-logo img {
        height: 40px;
    }
}

/* ==========================================================================
   Mobile Bottom Navigation Cart Counter & Animations
   ========================================================================== */
.mobile-bottom .mobile-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mobile-bottom .mobile-icon-wrap .icon {
    width: 22px;
    height: 22px;
}
.mobile-bottom .cart-count,
.mobile-bottom .wish-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #108b79;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    line-height: 14px;
    border-radius: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
    z-index: 2;
}

@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.badge-bump {
    animation: badgePop 0.3s ease-in-out;
}

/* ==========================================================================
   Hero Section Custom Card Backgrounds & Responsive Styling
   ========================================================================== */

.hero-v2.has-card-bg {
    background-image: linear-gradient(90deg, rgba(245, 250, 246, 0.97) 0%, rgba(245, 250, 246, 0.90) 42%, rgba(245, 250, 246, 0.18) 70%, rgba(245, 250, 246, 0.02) 100%), var(--hero-card-1-bg);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-v2.has-card-bg:before {
    display: none;
}

.hero-v2.has-card-bg .hero-right img {
    display: none;
}

.hero-v2.has-card-bg .hero-left {
    position: relative;
    z-index: 2;
}

/* Card 2: Doorstep Dispatch */
.hero-offer.offer-orange.has-card-bg {
    background-image: linear-gradient(90deg, rgba(255, 250, 243, 0.98) 0%, rgba(255, 245, 233, 0.94) 44%, rgba(255, 240, 222, 0.28) 72%, rgba(255, 240, 222, 0.04) 100%), var(--hero-card-2-bg);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.hero-offer.has-card-bg .offer-art {
    display: none;
}

.hero-offer.has-card-bg > span,
.hero-offer.has-card-bg h2,
.hero-offer.has-card-bg p,
.hero-offer.has-card-bg a {
    position: relative;
    z-index: 2;
}

/* Card 3: Quick Prescription */
.hero-offer.offer-teal.has-card-bg {
    background-image: linear-gradient(90deg, rgba(12, 77, 54, 0.97) 0%, rgba(10, 68, 48, 0.92) 44%, rgba(8, 55, 39, 0.30) 72%, rgba(8, 55, 39, 0.06) 100%), var(--hero-card-3-bg);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
    .hero-v2.has-card-bg .hero-right {
        display: none;
    }

    .hero-v2.has-card-bg .hero-left {
        padding: 34px 26px;
    }
}

@media (max-width: 580px) {
    .hero-v2.has-card-bg {
        background-color: #f5faf6;
        background-image: linear-gradient(90deg, #f5faf6 0%, rgba(245, 250, 246, 0.98) 48%, rgba(245, 250, 246, 0.08) 72%, rgba(245, 250, 246, 0) 100%), var(--hero-card-1-bg);
        background-size: cover, auto clamp(180px, 54vw, 250px);
        background-position: center, right 64px;
    }

    .hero-v2.has-card-bg .hero-left {
        padding: 22px 18px 24px;
    }

    .hero-v2.has-card-bg h1 {
        max-width: calc(100% - clamp(94px, 27vw, 140px));
        font-size: clamp(26px, 7.8vw, 36px);
        margin: 12px 0 10px;
    }

    .hero-v2.has-card-bg p {
        max-width: calc(100% - clamp(94px, 27vw, 140px));
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 0;
    }

    .hero-v2.has-card-bg .hero-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }

    .hero-v2.has-card-bg .hero-buttons .btn-primary {
        min-height: 50px;
        padding: 10px 5px;
        border: 1px solid #d99b2c;
        background: linear-gradient(135deg, #ffda80, #f5b942);
        color: #153e2b;
        font-size: clamp(10px, 2.8vw, 13px);
        font-weight: 900;
        box-shadow: 0 5px 14px #bc811e33;
    }

    .hero-v2.has-card-bg .hero-buttons .btn-primary:hover {
        background: linear-gradient(135deg, #ffd168, #efa923);
    }

    .hero-v2.has-card-bg .hero-buttons .btn-outline {
        min-height: 50px;
        padding: 10px 5px;
        background: #ffffffeb;
        font-size: clamp(10px, 2.8vw, 12px);
    }

    .hero-v2.has-card-bg .hero-buttons .btn {
        min-width: 0;
        gap: 4px;
        letter-spacing: -0.02em;
    }

    .hero-v2.has-card-bg .hero-buttons .icon {
        width: 14px;
        height: 14px;
    }

    .hero-v2.has-card-bg .hero-bottom {
        margin-top: 16px;
        gap: 7px 12px;
    }

    .hero-side {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-offer {
        min-height: 180px;
        padding: 16px 14px;
    }

    .hero-offer.offer-orange.has-card-bg,
    .hero-offer.offer-teal.has-card-bg {
        background-size: cover, auto 230px;
        background-position: center, right top;
    }

    .hero-offer h2 {
        font-size: 16px;
        line-height: 1.25;
        margin: 8px 0 6px;
        max-width: 66%;
    }

    .hero-offer p {
        font-size: 11px;
        line-height: 1.45;
        max-width: 66%;
        margin-bottom: 8px;
    }
}

/* ==========================================================================
   Social Media Icons & Buttons (Footer, Drawer, Contact)
   ========================================================================== */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    align-items: center;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #e5f0ed;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social a:hover {
    transform: translateY(-2px);
}

.footer-social a.social-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.footer-social a.social-ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

.footer-social a.social-email:hover {
    background: #108b79;
    border-color: #108b79;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 139, 121, 0.4);
}

.footer-social a.social-wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

/* Mobile Drawer Social Buttons */
.drawer-social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #dce8e3;
    background: #f7faf8;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: var(--ink2);
    transition: all 0.2s ease;
}

.drawer-social-btn:hover {
    transform: translateY(-1px);
}

.drawer-social-btn.social-fb { color: #1877f2; }
.drawer-social-btn.social-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }

.drawer-social-btn.social-ig { color: #d6249f; }
.drawer-social-btn.social-ig:hover { background: #d6249f; color: #fff; border-color: #d6249f; }

.drawer-social-btn.social-email { color: #108b79; }
.drawer-social-btn.social-email:hover { background: #108b79; color: #fff; border-color: #108b79; }

.drawer-social-btn.social-wa { color: #25d366; }
.drawer-social-btn.social-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }

/* Contact Page Social Pill Hovers */
.contact-social-pill {
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-social-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Product Card Image Display - Fit Original Size with Pure White Background
   ========================================================================== */
.product-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.product-card .product-image {
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
    height: 205px !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.product-card .product-image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    background: #ffffff !important;
}

.product-card .product-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    transition: transform 0.25s ease !important;
}

.product-card:hover .product-image img {
    transform: scale(1.03) !important;
}

.product-card .product-label {
    z-index: 2;
}

.product-card .wish-toggle {
    z-index: 2;
}

/* Tablet viewports */
@media (max-width: 800px) {
    .product-card .product-image {
        height: 175px !important;
        padding: 10px 12px !important;
    }
}

/* Mobile devices (phones) */
@media (max-width: 580px) {
    .product-card .product-image {
        height: 155px !important;
        padding: 8px 10px !important;
    }
    .product-card .product-image img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

/* Product Detail Page Main Image */
.product-detail .main-image {
    background: #ffffff !important;
    border: 1px solid var(--border);
    padding: 20px;
    box-sizing: border-box;
}

.product-detail .main-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    background: #ffffff !important;
}

/* ==========================================================================
   Password Input Field Wrap & Eye Visibility Toggle Button
   ========================================================================== */
.password-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.password-wrap input {
    width: 100% !important;
    padding-right: 44px !important;
    box-sizing: border-box !important;
}

.password-toggle-btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    padding: 6px 8px !important;
    cursor: pointer !important;
    color: #6a8279 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    transition: color 0.18s ease, background-color 0.18s ease !important;
    line-height: 1 !important;
    z-index: 3 !important;
    box-shadow: none !important;
}

.password-toggle-btn:hover {
    color: var(--green, #108b79) !important;
    background-color: #f0f7f4 !important;
    transform: translateY(-50%) !important;
}

.password-toggle-btn:focus-visible {
    outline: 2px solid var(--green, #108b79) !important;
    outline-offset: 1px !important;
}

.password-toggle-btn .icon {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2 !important;
    color: inherit !important;
}

/* ==========================================================================
   PWA "Add to Home Screen" Popup Styles (Storefront)
   ========================================================================== */
.pwa-install-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    width: calc(100% - 32px);
    max-width: 390px;
    margin: 0;
    pointer-events: auto;
    animation: pwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pwaSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pwa-banner-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #dce8e4;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 16px 48px -8px rgba(12, 77, 70, 0.24), 0 6px 18px rgba(0, 0, 0, 0.08);
}

.pwa-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f6f4;
    border: none;
    border-radius: 50%;
    color: #4a665d;
    cursor: pointer;
    transition: background-color 0.18s, color 0.18s;
}

.pwa-close-btn:hover {
    background: #e2ede8;
    color: #0c4d46;
}

.pwa-close-btn svg {
    width: 16px;
    height: 16px;
}

.pwa-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.pwa-app-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(12, 77, 70, 0.14);
    border: 1px solid #e1ebe7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-header-meta {
    flex: 1;
    min-width: 0;
}

.pwa-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwa-app-title {
    font-size: 17px;
    font-weight: 700;
    color: #0c4d46;
    margin: 0;
    line-height: 1.25;
}

.pwa-app-badge {
    background: #e0f2ee;
    color: #0c4d46;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pwa-app-subtitle {
    font-size: 12px;
    color: #617f76;
    margin: 2px 0 0 0;
}

.pwa-card-body {
    margin-bottom: 16px;
}

.pwa-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: #3b544d;
    margin: 0;
}

.pwa-ios-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    background: #f7faf9;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed #cde2dc;
}

.pwa-ios-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #27473f;
}

.pwa-ios-step .step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0c4d46;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pwa-ios-step .inline-svg {
    width: 16px;
    height: 16px;
    display: inline;
    vertical-align: middle;
    margin: 0 2px;
    stroke: currentColor;
}

.pwa-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pwa-install-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0c4d46;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(12, 77, 70, 0.28);
    transition: background-color 0.18s, transform 0.15s;
}

.pwa-install-btn:hover {
    background: #083732;
    transform: translateY(-1px);
}

.pwa-install-btn .btn-icon {
    width: 17px;
    height: 17px;
}

.pwa-dismiss-btn {
    background: #f1f6f4;
    color: #557269;
    border: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.18s, color 0.18s;
}

.pwa-dismiss-btn:hover {
    background: #e2ece7;
    color: #1a332d;
}

@media (max-width: 640px) {
    .pwa-install-banner {
        left: 12px;
        right: 12px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        width: calc(100% - 24px);
        max-width: none;
    }

    .pwa-banner-card {
        padding: 16px;
        border-radius: 18px;
    }
}

/* ==========================================================================
   Request A Medicine When Not Found Styles
   ========================================================================== */
.missing-medicine-container {
    width: 100%;
    margin: 10px 0 40px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.missing-medicine-header {
    background: linear-gradient(135deg, #f0f7f3 0%, #f9fbf9 100%);
    border: 1px solid #d8eadf;
    border-radius: 20px;
    padding: 24px 28px;
    margin: 0 auto 24px;
    max-width: 680px;
    position: relative;
    overflow: hidden;
}

.missing-medicine-header:after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 117, 73, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.missing-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e2f2e7;
    color: #125e3b;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.missing-status-pill .icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.missing-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: #123e2d;
    line-height: 1.25;
    margin: 0 0 10px;
}

.missing-subtitle {
    font-size: 14px;
    line-height: 1.65;
    color: #4a6659;
    max-width: 720px;
    margin: 0;
}

.missing-medicine-card {
    display: block;
    max-width: 680px;
    margin: 0 auto;
}

/* Request Form Card */
.missing-form-col {
    background: #ffffff;
    border: 1px solid #dbe8e0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 36px -8px rgba(12, 77, 70, 0.09);
}

.form-card-header {
    margin-bottom: 22px;
    border-bottom: 1px solid #edf4ef;
    padding-bottom: 16px;
}

.form-card-header h3 {
    font-size: 21px;
    font-weight: 800;
    color: #0c4d46;
    margin: 0 0 5px;
}

.form-card-header p {
    font-size: 13px;
    color: #5f7a6f;
    margin: 0;
}

.medicine-request-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.medicine-request-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.medicine-request-form label {
    font-size: 13px;
    font-weight: 700;
    color: #1a3d31;
    display: flex;
    align-items: center;
    gap: 4px;
}

.req-star {
    color: #de5847;
    font-weight: 800;
}

.medicine-request-form .form-control {
    width: 100%;
    padding: 12px 14px;
    background: #fbfdfc;
    border: 1.5px solid #dbe8e0;
    border-radius: 11px;
    font-size: 13.5px;
    color: #123e2d;
    transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s;
}

.medicine-request-form .form-control:focus {
    background: #ffffff;
    border-color: #108b79;
    box-shadow: 0 0 0 3px rgba(16, 139, 121, 0.14);
    outline: none;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap .field-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #6a887b;
    pointer-events: none;
}

.input-icon-wrap .form-control {
    padding-left: 42px;
}

.field-hint {
    font-size: 11.5px;
    color: #6a8579;
    margin-top: 2px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #dbe8e0;
    border-radius: 11px;
    background: #fbfdfc;
    overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.phone-input-group:focus-within {
    border-color: #108b79;
    box-shadow: 0 0 0 3px rgba(16, 139, 121, 0.14);
    background: #ffffff;
}

.country-prefix {
    padding: 12px 14px;
    background: #edf5f0;
    color: #165b3d;
    font-size: 13px;
    font-weight: 800;
    border-right: 1.5px solid #dbe8e0;
    flex-shrink: 0;
}

.phone-input-group .form-control {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 12px 14px;
}

.consent-group {
    margin-top: 4px;
}

.consent-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #3f5d50 !important;
    line-height: 1.45;
    cursor: pointer;
}

.consent-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #0c4d46;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-submit-request {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0c4d46;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(12, 77, 70, 0.25);
    transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
    margin-top: 8px;
}

.btn-submit-request:hover {
    background: #073832;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(12, 77, 70, 0.32);
}

.trust-guarantees-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px dashed #dce8e0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #426456;
}

.trust-icon {
    width: 15px;
    height: 15px;
    color: #108b79;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .missing-medicine-card {
        max-width: 100%;
    }

    .form-row-two {
        grid-template-columns: 1fr;
    }

    .missing-form-col {
        padding: 22px;
    }

    .trust-guarantees-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}




