@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

:root {
    --fp-blue: #050876;
    --fp-blue-dark: #020042;
    --fp-pink: #ff0055;
    --fp-purple: #8a1cff;
    --fp-green: #15803d;
    --fp-green-light: #22c55e;
    --bg: #ffffff;
    --text: #17152b;
    --muted: #667085;
    --light-muted: #98a2b3;
    --border: #e9edf3;
    --soft-bg: #f8fafc;
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.055);
    --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 22px 65px rgba(15, 23, 42, 0.16);
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 500;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    border: none;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

/* HEADER */

.fp-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.fp-header-inner {
    max-width: 1120px;
    height: var(--header-height);
    margin: 0 auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: auto 175px 1fr auto auto;
    gap: 15px;
    align-items: center;
}

.fp-logo {
    color: var(--fp-blue);
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1.2px;
    text-decoration: none;
    white-space: nowrap;
}

.fp-logo span {
    color: var(--fp-green-light);
}

.fp-location-btn {
    height: 42px;
    padding: 0 8px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    text-align: left;
    transition: 0.18s ease;
}

.fp-location-btn:hover {
    background: #f8fafc;
    border-color: var(--border);
}

.location-pin {
    font-size: 15px;
}

.fp-location-btn strong {
    font-size: 12px;
    font-weight: 600;
    display: block;
    line-height: 1.1;
}

.fp-location-btn small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    max-width: 112px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-top: 3px;
}

.chevron {
    color: var(--muted);
    font-size: 13px;
}

.fp-search-box {
    height: 46px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 15px;
    box-shadow: none;
}

.fp-search-box span {
    font-size: 16px;
    color: var(--muted);
}

.fp-search-box input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: transparent;
}

.fp-search-box input::placeholder {
    color: #6b7280;
}

.header-action {
    position: relative;
    width: 46px;
    height: 52px;
    background: #ffffff;
    border-radius: 12px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: 0.18s ease;
}

.header-action:hover {
    background: #f8fafc;
}

.header-action span {
    font-size: 21px;
    line-height: 1;
}

.header-action small {
    font-size: 11px;
    font-weight: 600;
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 100px;
    background: var(--fp-purple);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TOP TABS */

.top-category-tabs {
    position: sticky;
    top: var(--header-height);
    z-index: 450;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.tabs-inner {
    max-width: 1120px;
    height: 46px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-inner::-webkit-scrollbar {
    display: none;
}

.tab-pill {
    height: 46px;
    background: transparent;
    color: #5f6676;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-pill.active {
    color: #b020ff;
    font-weight: 700;
}

.tab-pill.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 10px 10px 0 0;
    background: #b020ff;
}

/* PAGE */

.page-shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 18px 80px;
}

/* QUICK CATEGORIES */

.quick-categories-section {
    background: #ffffff;
    margin: 0 -18px 14px;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f2f5;
}

.quick-category-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(10, minmax(78px, 1fr));
    gap: 10px;
}

.quick-cat-card,
.zepto-category-card {
    min-height: 96px;
    background: transparent;
    border-radius: 14px;
    padding: 4px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: var(--text);
    transition: 0.18s ease;
    border: 1px solid transparent;
    box-shadow: none;
}

.quick-cat-card:hover,
.quick-cat-card.active,
.zepto-category-card:hover,
.zepto-category-card.active {
    background: transparent;
    border-color: transparent;
    transform: translateY(-2px);
}

.quick-cat-img,
.zepto-cat-img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.045);
    overflow: hidden;
}

.quick-cat-img img,
.zepto-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.quick-cat-card span,
.zepto-category-card span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: #262238;
    max-width: 92px;
}

/* OFFER BANNERS */

.hero-offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.offer-card {
    min-height: 160px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.075);
}

.offer-fees {
    background:
        radial-gradient(circle at 86% 24%, rgba(255, 255, 255, 0.78), transparent 28%),
        linear-gradient(135deg, #f2dcff, #ead7ff, #f8efff);
    color: #6d28d9;
}

.offer-fresh {
    background:
        radial-gradient(circle at 85% 35%, rgba(163, 230, 53, 0.35), transparent 30%),
        linear-gradient(135deg, #071a3c, #050876 60%, #020042);
    color: #ffffff;
}

.offer-label {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(109, 40, 217, 0.10);
    color: #7c3aed;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25px;
    margin-bottom: 9px;
}

.offer-label.green {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.offer-content h1 {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.offer-content p {
    max-width: 340px;
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.88;
    margin-bottom: 10px;
}

.offer-checks {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.offer-checks span {
    color: #6d28d9;
    font-size: 10.5px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 100px;
    padding: 6px 10px;
}

.offer-visual {
    min-width: 100px;
    display: flex;
    justify-content: center;
}

.fee-tile {
    width: 90px;
    height: 76px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 16px 34px rgba(109, 40, 217, 0.14);
    transform: rotate(-4deg);
}

.fee-tile strong {
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
}

.fee-tile span {
    font-size: 13px;
    font-weight: 700;
}

.fresh-visual {
    font-size: 58px;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.white-cta {
    height: 38px;
    padding: 0 20px;
    border-radius: 12px;
    background: #ffffff;
    color: #071a3c;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

/* PRODUCT SECTIONS */

.dynamic-product-sections {
    padding-top: 2px;
}

.product-section,
.zepto-product-section {
    margin-bottom: 18px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0;
}

.section-header h2 {
    font-size: 18px;
    color: #15112c;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.section-header p {
    display: none;
}

.see-all-btn {
    background: transparent;
    color: var(--fp-pink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.horizontal-product-row,
.zepto-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 128px;
    gap: 10px;
    overflow-x: auto;
    padding: 1px 0 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.horizontal-product-row::-webkit-scrollbar,
.zepto-row::-webkit-scrollbar {
    display: none;
}

/* SEE ALL FULL CATEGORY GRID */

.all-category-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 10px;
    padding: 1px 0 12px;
}

.all-category-product-grid .product-card {
    width: 100%;
}

/* PRODUCT CARD */

.product-card {
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    min-height: 205px;
    padding: 7px;
    position: relative;
    box-shadow: none;
    transition: 0.18s ease;
    scroll-snap-align: start;
}

.product-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
    border-color: rgba(255, 0, 85, 0.18);
}

.product-img-box {
    height: 94px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.product-emoji {
    font-size: 38px;
}

.discount-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    background: var(--fp-green);
    color: #ffffff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 8.5px;
    font-weight: 700;
}

.product-card h3 {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 7px;
    min-height: 38px;
    color: #252235;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-unit {
    color: #667085;
    font-size: 9px;
    margin-top: 3px;
    font-weight: 500;
    min-height: 14px;
}

.product-bottom {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.sale-price {
    background: var(--fp-green);
    color: #ffffff;
    padding: 3px 6px;
    border-radius: 5px;
    display: inline-flex;
    width: fit-content;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.mrp-price {
    color: #98a2b3;
    font-size: 9px;
    font-weight: 500;
    text-decoration: line-through;
    margin-top: 2px;
}

.off-text {
    color: var(--fp-green);
    font-size: 8.5px;
    font-weight: 600;
    margin-top: 1px;
}

.add-btn {
    min-width: 48px;
    height: 28px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--fp-pink);
    border: 1.4px solid var(--fp-pink);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(255, 0, 85, 0.07);
}

.qty-stepper {
    height: 28px;
    min-width: 62px;
    border-radius: 8px;
    background: var(--fp-pink);
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 5px 14px rgba(255, 0, 85, 0.18);
}

.qty-stepper button {
    width: 20px;
    height: 28px;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.qty-stepper span {
    flex: 1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

/* VARIANT BOTTOM SHEET */

.variant-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.25);
    z-index: 1000;
    backdrop-filter: none;
}

.variant-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 1001;
    width: min(480px, 100%);
    max-height: 82vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    padding: 8px 14px 18px;
    box-shadow: 0 -20px 60px rgba(15, 23, 42, 0.18);
    animation: freshpeSheetUp 0.22s ease-out;
}

@keyframes freshpeSheetUp {
    from {
        transform: translateX(-50%) translateY(100%);
    }

    to {
        transform: translateX(-50%) translateY(0);
    }
}

.variant-handle {
    width: 42px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 99px;
    margin: 0 auto 12px;
}

.variant-sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.variant-sheet-header h2 {
    color: #15112c;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}

.variant-sheet-header p {
    color: #667085;
    font-size: 12px;
    font-weight: 500;
    margin-top: 3px;
}

.variant-list {
    display: grid;
    gap: 10px;
}

.variant-card {
    background: #ffffff;
    border: 1px solid #e7eaf0;
    border-radius: 15px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.variant-card h3 {
    font-size: 14px;
    color: #17152b;
    font-weight: 600;
    margin-bottom: 4px;
}

.variant-card-price {
    display: flex;
    align-items: center;
    gap: 7px;
}

.variant-card-price strong {
    color: #17152b;
    font-size: 14px;
    font-weight: 700;
}

.variant-card-price span {
    color: #98a2b3;
    font-size: 11px;
    text-decoration: line-through;
    font-weight: 500;
}

.variant-total-row {
    margin-top: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #020042, #050876);
    color: white;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variant-total-row span {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 500;
}

.variant-total-row strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

/* SKELETON */

.product-skeleton {
    height: 205px;
    border-radius: 12px;
    background: linear-gradient(90deg, #eef2f7, #ffffff, #eef2f7);
    background-size: 220% 100%;
    animation: shimmer 1.1s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: 220% 0;
    }

    100% {
        background-position: -220% 0;
    }
}

/* FLOATING CART */

.floating-cart-bar {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 600;
    width: min(430px, calc(100% - 28px));
    min-height: 56px;
    padding: 9px 11px 9px 16px;
    border-radius: 17px;
    background: linear-gradient(135deg, #020042, #050876);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(5, 8, 118, 0.30);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.floating-cart-bar strong {
    font-size: 13px;
    font-weight: 700;
    display: block;
}

.floating-cart-bar span {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
}

.floating-cart-bar button {
    height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--fp-pink);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

/* DRAWER / MODAL COMMON */

.drawer-overlay,
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.25);
    z-index: 900;
    backdrop-filter: none;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 950;
    width: min(390px, 100%);
    height: 100vh;
    background: #ffffff;
    box-shadow: -18px 0 50px rgba(15, 23, 42, 0.16);
    padding: 0 16px 18px;
    display: flex;
    flex-direction: column;
    animation: drawerIn 0.24s ease-out;
}

@keyframes drawerIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.drawer-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.drawer-header p {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.icon-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #eef2f7;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 12px;
    padding-right: 2px;
}

.empty-cart {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px 18px;
    text-align: center;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
}

.empty-cart div {
    font-size: 44px;
    margin-bottom: 8px;
}

.empty-cart strong {
    display: block;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.empty-cart p {
    font-size: 13px;
    font-weight: 500;
}

.cart-item {
    display: grid;
    grid-template-columns: 68px 1fr auto;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    align-items: center;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.055);
}

.cart-item-img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-item-img span {
    font-size: 30px;
}

.cart-item-info h4 {
    font-size: 12.5px;
    line-height: 1.28;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.cart-item-info p {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
}

.cart-item-info strong {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    font-weight: 700;
}

.cart-bill-card {
    margin-top: 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.cart-bill-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
}

.bill-row strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.bill-row.total {
    margin-top: 8px;
    padding-top: 13px;
    border-top: 1px dashed var(--border);
    color: var(--text);
    font-size: 15px;
}

.bill-row.total strong {
    font-size: 18px;
    font-weight: 700;
}

.strike {
    color: #98a2b3;
    text-decoration: line-through;
    margin-right: 5px;
}

.free-text {
    color: #16a34a;
    font-weight: 700;
}

.checkout-btn,
.place-order-btn {
    width: 100%;
    height: 50px;
    margin-top: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--fp-pink), #e6005c);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(255, 0, 85, 0.22);
}

.checkout-btn:disabled,
.place-order-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* MODALS */

.checkout-modal,
.location-modal,
.success-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 980;
    transform: translate(-50%, -50%);
    width: min(620px, calc(100% - 28px));
    max-height: min(92vh, 760px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--shadow-lg);
    animation: modalPop 0.22s ease-out;
}

.location-modal {
    width: min(420px, calc(100% - 28px));
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 14px;
}

.checkout-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.checkout-header p {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    margin-top: 3px;
}

.checkout-form {
    display: grid;
    gap: 14px;
}

.form-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group label {
    display: block;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--border);
    outline: none;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--text);
    padding: 13px 14px;
    font-size: 14px;
    font-weight: 500;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background: #ffffff;
    border-color: var(--fp-pink);
    box-shadow: 0 0 0 4px rgba(255, 0, 85, 0.09);
}

.checkout-summary {
    margin-top: 2px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkout-summary div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-summary span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.checkout-summary strong {
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
}

.checkout-note {
    color: var(--muted);
    text-align: center;
    font-size: 11px;
    line-height: 1.7;
    font-weight: 500;
}

/* LOGIN OTP */

.freshpe-auth-modal {
    width: min(430px, calc(100% - 28px));
}

.freshpe-login-hero {
    background:
        radial-gradient(circle at 92% 10%, rgba(255, 0, 85, 0.12), transparent 30%),
        linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.freshpe-login-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #020042, #050876);
    color: #ffffff;
    font-size: 24px;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(5, 8, 118, 0.22);
}

.freshpe-login-hero strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.freshpe-login-hero span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
    margin-top: 2px;
}

.phone-input-row {
    width: 100%;
    height: 50px;
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #f8fafc;
    overflow: hidden;
}

.phone-input-row span {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    background: #eef2f7;
    border-right: 1px solid var(--border);
}

.phone-input-row input {
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.plain-link-btn {
    background: transparent;
    color: var(--fp-pink);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
}

/* SAVED ADDRESS */

.freshpe-address-modal {
    width: min(560px, calc(100% - 28px));
}

.saved-address-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.freshpe-location-action,
.freshpe-add-address-btn {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #ffffff;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.045);
    text-align: left;
}

.freshpe-location-action span {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #ecfdf3;
    color: #16a34a;
    font-size: 22px;
}

.freshpe-location-action div {
    flex: 1;
}

.freshpe-location-action strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.freshpe-location-action small {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 2px;
}

.freshpe-location-action b {
    color: var(--muted);
    font-size: 22px;
    font-weight: 500;
}

.freshpe-add-address-btn {
    justify-content: center;
    background: #fff5f8;
    border-color: rgba(255, 0, 85, 0.18);
    color: var(--fp-pink);
    font-size: 13px;
    font-weight: 800;
    margin-top: 10px;
}

.saved-address-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
    transition: 0.18s ease;
}

.saved-address-card:hover {
    border-color: rgba(255, 0, 85, 0.24);
    transform: translateY(-1px);
}

.saved-address-card.selected {
    border-color: var(--fp-pink);
    background: #fff7fb;
}

.saved-address-main {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.saved-address-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: linear-gradient(135deg, #020042, #050876);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.saved-address-info {
    flex: 1;
    min-width: 0;
}

.saved-address-info h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.saved-address-info p {
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
    font-weight: 500;
}

.saved-address-info small {
    display: block;
    margin-top: 6px;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.saved-address-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.saved-address-actions button {
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.saved-address-actions button.primary {
    background: var(--fp-pink);
    color: #ffffff;
}

/* ADDRESS FORM / MAP */

.freshpe-address-form-modal {
    width: min(640px, calc(100% - 28px));
}

.freshpe-map-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #f8fafc;
    padding: 12px;
    display: grid;
    gap: 10px;
}

.map-preview-box {
    min-height: 116px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.22), transparent 28%),
        linear-gradient(135deg, #001233, #050876);
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 16px;
    overflow: hidden;
    position: relative;
}

.map-preview-box::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    right: -50px;
    bottom: -60px;
    background: rgba(255, 255, 255, 0.12);
}

.map-preview-box span {
    font-size: 30px;
    display: block;
    margin-bottom: 6px;
}

.map-preview-box strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.map-preview-box small {
    display: block;
    margin-top: 4px;
    font-size: 11.5px;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.45;
}

.map-picker-btn {
    height: 42px;
    border-radius: 13px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--fp-blue);
    font-size: 13px;
    font-weight: 800;
}

.freshpe-map-picker-modal {
    width: min(620px, calc(100% - 28px));
}

.web-map-shell {
    display: grid;
    gap: 13px;
}

.web-map-box {
    height: 300px;
    border-radius: 22px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid var(--border);
}

.web-map-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    background:
        radial-gradient(circle at 30% 22%, rgba(34, 197, 94, 0.18), transparent 26%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 85, 0.14), transparent 28%),
        linear-gradient(135deg, #f8fafc, #eef2f7);
}

.web-map-placeholder span {
    font-size: 44px;
    display: block;
    margin-bottom: 8px;
}

.web-map-placeholder strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
}

.web-map-placeholder small {
    max-width: 330px;
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    margin-top: 6px;
}

.map-location-info {
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 14px;
}

.map-location-info strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

.map-location-info span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45;
}

/* PAYMENT SCREEN */

.freshpe-payment-modal {
    width: min(640px, calc(100% - 28px));
}

.freshpe-payment-user-card,
.freshpe-payment-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
}

.freshpe-payment-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background:
        radial-gradient(circle at 92% 15%, rgba(255, 0, 85, 0.08), transparent 28%),
        #ffffff;
}

.freshpe-payment-user-card span,
.freshpe-payment-card-header span {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
}

.freshpe-payment-user-card strong,
.freshpe-payment-card-header strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    margin-top: 4px;
}

.freshpe-payment-user-card button,
.freshpe-payment-card-header button {
    height: 36px;
    padding: 0 14px;
    border-radius: 11px;
    background: #fff5f8;
    color: var(--fp-pink);
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(255, 0, 85, 0.15);
}

.freshpe-payment-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.freshpe-payment-card-header small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
}

.freshpe-payment-methods {
    display: grid;
    gap: 10px;
}

.payment-choice {
    width: 100%;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
    transition: 0.18s ease;
}

.payment-choice.active {
    border-color: var(--fp-pink);
    background: #fff7fb;
}

.payment-choice.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.payment-choice span {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    font-size: 21px;
}

.payment-choice.active span {
    background: var(--fp-pink);
    color: #ffffff;
}

.payment-choice div {
    flex: 1;
}

.payment-choice strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.payment-choice small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
}

.payment-choice b {
    color: var(--fp-pink);
    font-size: 17px;
}

.freshpe-payment-bill {
    margin-top: 0;
}

/* SUCCESS */

.success-modal {
    width: min(420px, calc(100% - 28px));
    text-align: center;
    padding: 28px;
}

.success-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--fp-green-light);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(34, 197, 94, 0.24);
}

.success-modal h2 {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.success-modal p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 18px;
}

.success-info-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 15px;
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.success-info-box div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.success-info-box span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.success-info-box strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

/* TOAST */

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 1200;
    transform: translateX(-50%);
    background: #020617;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
    max-width: 88%;
    text-align: center;
}

/* MOBILE BOTTOM NAV */

.mobile-bottom-nav {
    display: none;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .quick-category-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .quick-category-grid::-webkit-scrollbar {
        display: none;
    }

    .quick-cat-card {
        min-width: 96px;
    }
}

@media (max-width: 980px) {
    .fp-header-inner {
        grid-template-columns: auto 1fr auto auto;
        gap: 10px;
    }

    .fp-location-btn {
        display: none;
    }

    .hero-offers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 116px;
    }

    body {
        padding-bottom: 76px;
    }

    .fp-header-inner {
        height: auto;
        padding: 12px 14px 14px;
        grid-template-columns: 1fr auto auto;
        grid-template-areas:
            "logo login cart"
            "search search search";
        gap: 10px;
    }

    .fp-logo {
        grid-area: logo;
        font-size: 28px;
    }

    .fp-search-box {
        grid-area: search;
        height: 46px;
        border-radius: 14px;
    }

    .header-action {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .header-action span {
        font-size: 19px;
    }

    .header-action small {
        display: none;
    }

    #loginBtn {
        grid-area: login;
    }

    #headerCartBtn {
        grid-area: cart;
    }

    .top-category-tabs {
        top: var(--header-height);
    }

    .tabs-inner {
        height: 44px;
        gap: 18px;
        padding: 0 14px;
    }

    .tab-pill {
        height: 44px;
        font-size: 13px;
    }

    .page-shell {
        padding: 0 0 95px;
    }

    .quick-categories-section {
        margin: 0 0 14px;
        padding: 12px 12px 9px;
    }

    .quick-category-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .quick-category-grid::-webkit-scrollbar {
        display: none;
    }

    .quick-cat-card,
    .zepto-category-card {
        min-width: 86px;
        min-height: 96px;
    }

    .quick-cat-img,
    .zepto-cat-img {
        width: 64px;
        height: 64px;
        font-size: 30px;
    }

    .quick-cat-card span,
    .zepto-category-card span {
        font-size: 10.5px;
        max-width: 84px;
    }

    .hero-offers-grid {
        padding: 0 14px;
        gap: 12px;
        margin-bottom: 16px;
    }

    .offer-card {
        min-height: 150px;
        border-radius: 22px;
        padding: 16px;
    }

    .offer-content h1 {
        font-size: 23px;
    }

    .offer-content p {
        font-size: 12px;
        max-width: 250px;
    }

    .offer-checks {
        display: none;
    }

    .offer-visual {
        min-width: 82px;
    }

    .fee-tile {
        width: 76px;
        height: 72px;
        border-radius: 17px;
    }

    .fee-tile strong {
        font-size: 24px;
    }

    .fee-tile span {
        font-size: 13px;
    }

    .fresh-visual {
        font-size: 52px;
    }

    .dynamic-product-sections {
        padding-top: 2px;
    }

    .product-section,
    .zepto-product-section {
        margin-bottom: 21px;
    }

    .section-header {
        padding: 0 14px;
        margin-bottom: 8px;
    }

    .section-header h2 {
        font-size: 17px;
    }

    .see-all-btn {
        font-size: 12px;
    }

    .horizontal-product-row,
    .zepto-row {
        grid-auto-columns: 128px;
        padding: 1px 14px 8px;
        gap: 9px;
    }

    .all-category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 1px 14px 12px;
    }

    .product-card {
        min-height: 202px;
        border-radius: 12px;
        padding: 7px;
    }

    .product-img-box {
        height: 92px;
    }

    .product-card h3 {
        font-size: 10.8px;
        min-height: 37px;
    }

    .product-unit {
        font-size: 8.8px;
    }

    .floating-cart-bar {
        bottom: 82px;
        width: calc(100% - 28px);
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 620;
        height: 72px;
        background: #ffffff;
        border-top: 1px solid var(--border);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.08);
    }

    .mobile-nav-item {
        background: #ffffff;
        color: #667085;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 11px;
        font-weight: 600;
    }

    .mobile-nav-item span {
        font-size: 20px;
    }

    .mobile-nav-item.active {
        color: var(--fp-pink);
    }

    .cart-drawer {
        width: 100%;
        border-radius: 26px 26px 0 0;
        top: auto;
        bottom: 0;
        height: 88vh;
        animation: drawerUp 0.25s ease-out;
    }

    @keyframes drawerUp {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .checkout-modal,
    .location-modal,
    .success-modal {
        width: 100%;
        max-height: 90vh;
        top: auto;
        bottom: 0;
        transform: translateX(-50%);
        border-radius: 28px 28px 0 0;
        animation: modalUp 0.24s ease-out;
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    }

    @keyframes modalUp {
        from {
            transform: translateX(-50%) translateY(100%);
        }

        to {
            transform: translateX(-50%) translateY(0);
        }
    }

    .variant-sheet {
        width: 100%;
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .form-row.two {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        grid-template-columns: 1fr 1fr;
    }

    .freshpe-payment-user-card,
    .freshpe-payment-card-header {
        align-items: flex-start;
    }

    .web-map-box {
        height: 260px;
    }

    .toast {
        bottom: 92px;
    }
}

@media (max-width: 390px) {
    .horizontal-product-row,
    .zepto-row {
        grid-auto-columns: 124px;
    }

    .product-card {
        min-height: 198px;
        padding: 7px;
    }

    .product-img-box {
        height: 90px;
    }

    .product-card h3 {
        font-size: 10.5px;
    }

    .sale-price {
        font-size: 10.5px;
    }

    .add-btn {
        min-width: 46px;
        height: 28px;
    }

    .offer-card {
        padding: 15px;
    }

    .offer-content h1 {
        font-size: 22px;
    }
}

/* ADVANCED WEB MAP LIKE APP */

.freshpe-map-picker-modal {
    width: min(720px, calc(100% - 28px));
    padding: 0;
    overflow: hidden;
}

.freshpe-map-picker-modal .checkout-header {
    margin: 0;
    padding: 18px 20px;
    background: #050876;
    color: white;
}

.freshpe-map-picker-modal .checkout-header h2 {
    color: white;
}

.freshpe-map-picker-modal .checkout-header p {
    color: #cbd5e1;
}

.advanced-map-shell {
    position: relative;
    height: 620px;
    background: #f8fafc;
}

.web-map-search-card {
    position: absolute;
    top: 14px;
    left: 16px;
    right: 16px;
    z-index: 5;
    height: 50px;
    background: white;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 42px 1fr 44px;
    align-items: center;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.18);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.web-map-search-card span {
    text-align: center;
    font-size: 18px;
}

.web-map-search-card input {
    height: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.web-map-search-card button {
    height: 100%;
    background: #f1f5f9;
    color: #050876;
    font-size: 20px;
    font-weight: 900;
}

.advanced-real-map {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
}

.web-map-center-pin {
    position: absolute;
    left: 50%;
    top: 45%;
    z-index: 4;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pin-label {
    background: #111827;
    color: white;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.pin-dot {
    width: 18px;
    height: 18px;
    background: #ff0055;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(255, 0, 85, 0.35);
}

.pin-stick {
    width: 4px;
    height: 34px;
    background: #111827;
    border-radius: 99px;
}

.advanced-location-card {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 86px;
    z-index: 5;
    background: white;
    border-radius: 18px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.location-card-left {
    width: 42px;
    height: 42px;
    background: #fff1f6;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.location-card-main {
    flex: 1;
    min-width: 0;
}

.location-card-main strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-card-main small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.advanced-map-shell .place-order-btn {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 18px;
    z-index: 5;
    width: auto;
    background: #ff0055;
}

/* PROFILE LIKE APP */

.freshpe-profile-modal {
    width: min(430px, calc(100% - 28px));
    padding: 0;
    background: #f1f5f9;
    overflow: hidden;
}

.profile-web-header {
    background: #050876;
    color: white;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.profile-back-btn {
    width: 38px;
    height: 38px;
    background: transparent;
    color: white;
    font-size: 26px;
    font-weight: 700;
}

.profile-web-header h2 {
    font-size: 18px;
    font-weight: 900;
}

.profile-web-header p {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.profile-user-card {
    margin: 12px;
    background: white;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #001a4e, #000817);
    display: grid;
    place-items: center;
    font-size: 24px;
}

.profile-user-card strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
}

.profile-user-card span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.profile-section-title {
    margin: 6px 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.profile-menu-card {
    margin: 0 12px;
    background: white;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.profile-row {
    width: 100%;
    background: white;
    display: grid;
    grid-template-columns: 42px 1fr 20px;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.profile-row.no-border {
    border-bottom: none;
}

.profile-row > span {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.profile-row strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.profile-row small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.profile-row b {
    color: #94a3b8;
    font-size: 22px;
}

.profile-logout-btn {
    width: calc(100% - 24px);
    margin: 12px;
    height: 48px;
    border-radius: 14px;
    background: white;
    color: #ef4444;
    font-size: 14px;
    font-weight: 900;
    border: 1px solid #e2e8f0;
}

.profile-footer {
    padding: 2px 12px 16px;
    text-align: center;
    display: grid;
    gap: 3px;
}

.profile-footer strong {
    color: #94a3b8;
    font-size: 12px;
}

.profile-footer span {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
}

.profile-footer small {
    color: #cbd5e1;
    font-size: 10px;
    font-weight: 600;
}

@media (max-width: 760px) {
    .freshpe-map-picker-modal {
        width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }

    .advanced-map-shell {
        height: calc(100vh - 86px);
    }

    .freshpe-profile-modal {
        width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
}
/* RAZORPAY READY PUBLIC FOOTER */

.freshpe-public-footer {
    margin-top: 34px;
    background:
        radial-gradient(circle at 8% 15%, rgba(255, 0, 85, 0.10), transparent 28%),
        linear-gradient(135deg, #050876, #020042);
    color: #ffffff;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
}

.freshpe-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 18px 26px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
    gap: 28px;
}

.freshpe-footer-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    margin-bottom: 12px;
}

.freshpe-footer-logo span {
    color: #22c55e;
}

.freshpe-footer-brand p {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
    max-width: 360px;
}

.freshpe-footer-badges {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.freshpe-footer-badges span {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.freshpe-footer-column h3 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 12px;
}

.freshpe-footer-column a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.freshpe-footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.freshpe-footer-contact {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.75;
}

.freshpe-footer-contact strong {
    color: #ffffff;
}

.freshpe-footer-contact a {
    display: inline;
    color: #ffffff;
    font-weight: 800;
}

.freshpe-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 18px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .freshpe-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .freshpe-public-footer {
        border-radius: 22px 22px 0 0;
        margin-bottom: 66px;
    }

    .freshpe-footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px 18px 22px;
    }

    .freshpe-footer-logo {
        font-size: 30px;
    }

    .freshpe-footer-bottom {
        display: grid;
        gap: 6px;
    }
}
/* SIMPLE LEGAL PAGES */

.legal-top-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 70px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e9edf3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-home-link {
    text-decoration: none;
    color: #050876;
    font-size: 13px;
    font-weight: 900;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 999px;
}

.legal-page-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: 34px 18px 60px;
}

.legal-hero {
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 0, 85, 0.12), transparent 30%),
        linear-gradient(135deg, #050876, #020042);
    color: #ffffff;
    border-radius: 28px;
    padding: 34px;
    margin-bottom: 18px;
}

.legal-hero span {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.legal-hero h1 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
}

.legal-hero p {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.legal-card {
    background: #ffffff;
    border: 1px solid #e9edf3;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.legal-card h2 {
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    margin-top: 22px;
    margin-bottom: 8px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p,
.legal-card li {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.75;
}

.legal-card a {
    color: #050876;
    font-weight: 900;
}

.legal-footer {
    padding: 24px 18px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    border-top: 1px solid #e9edf3;
}