:root {
    --fp-pink: #ff6900;
    --fp-ink: #242424;
    --fp-muted: #666;
    --fp-border: #d5d7d9;
    --fp-soft: #f7f7f7;
}

/* Unified product card action styling */
.fp-product-copy .fp-product-price {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 14px;
    padding-right: 0;
}

.fp-add-item {
    position: absolute !important;
    right: 14px;
    bottom: 12px !important;
    width: auto !important;
    height: 38px;
    min-width: 98px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid #f15a24;
    border-radius: 6px;
    color: #fff;
    background: #f15a24;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
}

.fp-add-item::after {
    content: 'যোগ করুন';
    font-size: 14px;
    white-space: nowrap;
}

.fp-add-item:hover,
.fp-add-item.added {
    border-color: #dc4610;
    background: #dc4610;
    transform: translateY(-1px);
}

.shop-details-page,
.shop-details-page > main {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
}

.fp-shop,
.fp-shop * {
    box-sizing: border-box;
}

.fp-shop {
    min-height: 100vh;
    color: var(--fp-ink);
    background: #fff;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.fp-shell {
    width: min(1312px, calc(100% - 48px));
    margin-inline: auto;
}

.fp-restaurant-head {
    padding: 21px 0 23px;
    border-bottom: 1px solid #e4e4e4;
    box-shadow: 0 -8px 22px rgba(0, 0, 0, .08);
}

.fp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: #171717;
    font-size: 14px;
    white-space: nowrap;
}

.fp-breadcrumb a {
    color: #171717;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fp-breadcrumb i {
    color: #777;
    font-size: 9px;
}

.fp-breadcrumb span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-profile {
    display: flex;
    align-items: center;
    gap: 24px;
}

.fp-restaurant-photo {
    width: 156px;
    height: 156px;
    flex: 0 0 156px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #a3311e, #ef8b25);
    font-size: 45px;
}

.fp-restaurant-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-profile-copy {
    min-width: 0;
}

.fp-cuisines {
    margin: 0 0 10px;
    color: var(--fp-muted);
}

.fp-cuisines span {
    padding: 0 4px;
}

.fp-profile h1 {
    margin: 0 0 12px;
    color: #050505;
    font-size: clamp(28px, 2.1vw, 38px);
    font-weight: 800;
    letter-spacing: -.9px;
    line-height: 1.18;
}

.fp-delivery-meta,
.fp-rating-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.fp-delivery-meta {
    margin-bottom: 12px;
}

.fp-delivery-meta > span {
    color: var(--fp-pink);
}

.fp-delivery-meta del {
    color: #333;
}

.fp-delivery-meta em {
    color: #1e1e1e;
    font-style: normal;
}

.fp-rating-meta {
    gap: 15px;
}

.fp-rating-meta span i {
    color: #f5a000;
}

.fp-rating-meta small {
    color: #555;
    font-size: 12px;
}

.fp-rating-meta a,
.fp-rating-meta button {
    border: 0;
    padding: 0;
    color: #111;
    background: transparent;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.fp-rating-meta button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fp-rating-meta button i {
    font-size: 18px;
}

.fp-deals {
    padding: 32px 0 25px;
}

.fp-deals h2,
.fp-menu-group > h2,
.fp-similar h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.5px;
}

.fp-deal-row {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.fp-deal {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 280px;
    min-height: 104px;
    padding: 14px 12px;
    overflow: hidden;
    border-radius: 12px;
}

.fp-deal > i {
    margin-top: 3px;
    color: #ff4a94;
}

.fp-deal strong,
.fp-deal small {
    display: block;
}

.fp-deal strong {
    margin-bottom: 5px;
    font-size: 14px;
}

.fp-deal small {
    font-size: 12px;
    line-height: 1.55;
}

.fp-deal-dark {
    color: #fff;
    background: #2f3035;
}

.fp-deal-dark > span {
    position: absolute;
    right: -5px;
    bottom: -21px;
    color: #555861;
    font-size: 70px;
    font-weight: 900;
    transform: rotate(-18deg);
}

.fp-deal-light {
    border: 1px solid var(--fp-border);
    color: #242424;
    background: #fff;
}

.fp-deal-light strong {
    color: var(--fp-pink);
    font-weight: 500;
}

.fp-menu-toolbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 58px;
    border-bottom: 1px solid #eee;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 9px 22px rgba(0, 0, 0, .07);
}

.fp-toolbar-inner {
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.fp-menu-search {
    width: 235px;
    height: 34px;
    margin: auto 0;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    order: 0;
    border-radius: 22px;
    color: #65676b;
    background: #f5f5f5;
}

.fp-menu-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #333;
    background: transparent;
    font-size: 14px;
}

.fp-menu-tabs {
    min-width: 0;
    display: flex;
    align-items: stretch;
    flex: 1;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
    order: 2;
    scroll-behavior: smooth;
}

.fp-menu-tabs a {
    position: relative;
    min-width: 145px;
    padding: 20px 10px 16px;
    color: #4f5053;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px 6px 0 0;
    transition: color .2s, background .2s;
}

.fp-menu-tabs a:hover {
    color: #1e1e1e;
    background: #f5f5f5;
}

.fp-menu-tabs a.active {
    color: #1e1e1e;
    font-weight: 600;
}

.fp-menu-tabs a.active::after {
    content: "";
    position: absolute;
    right: 7px;
    bottom: 0;
    left: 7px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: #33363b;
}

.fp-tabs-prev,
.fp-tabs-next {
    width: 34px;
    height: 34px;
    margin: auto 0;
    flex: 0 0 34px;
    border: 1px solid var(--fp-border);
    border-radius: 50%;
    color: #333;
    background: #fff;
    order: 3;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
}

.fp-tabs-next:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
    transform: scale(1.04);
}

.fp-tabs-prev {
    order: 1;
}

.fp-menu-tabs::-webkit-scrollbar {
    display: none;
}

.fp-tabs-prev:disabled,
.fp-tabs-next:disabled {
    opacity: .35;
    cursor: default;
}

.fp-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 932px) 352px;
    gap: 28px;
    align-items: start;
    padding: 24px 0 55px;
}

.fp-content-layout.fp-content-layout--listing {
    grid-template-columns: minmax(0, 1fr);
}

.fp-menu-group {
    margin-bottom: 30px;
    scroll-margin-top: 80px;
}

.fp-menu-group > h2 {
    margin-bottom: 6px;
}

.fp-menu-group > h2 i {
    color: #111;
    font-size: 20px;
}

.fp-group-subtitle {
    margin: 0 0 24px;
    color: var(--fp-muted);
    font-size: 16px;
}

.fp-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fp-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e4e7;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(31, 41, 55, .04);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.fp-product-card:hover {
    border-color: #ffc29f;
    box-shadow: 0 10px 26px rgba(31, 41, 55, .11);
    transform: translateY(-3px);
}

.fp-product-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 15px 16px 17px;
    flex: 1;
}

.fp-product-copy h3 {
    margin: 0 0 4px;
    overflow: hidden;
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
    display: -webkit-box;
    min-height: 43px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fp-product-copy > strong {
    display: block;
    margin-bottom: 7px;
    font-size: 16px;
    font-weight: 400;
}

.fp-product-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; margin-bottom: 0; }
.fp-product-price-values { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.fp-product-price strong { color: #ff5a00; font-size: 17px; font-weight: 700; white-space: nowrap; }
.fp-product-price del { color: #aaa; font-size: 14px; font-weight: 400; white-space: nowrap; }
.fp-product-price .fp-add-item {
    position: static !important;
    right: auto;
    bottom: auto !important;
    min-width: 98px;
    margin-left: auto;
    flex: 0 0 auto;
}

.fp-product-description {
    margin: 0 0 3px;
    display: -webkit-box;
    overflow: hidden;
    color: var(--fp-muted);
    font-size: 14px;
    line-height: 1.45;
    min-height: 41px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fp-product-description p {
    margin: 0;
}

.fp-popular-tag {
    display: block;
    margin-top: 10px;
    color: #555;
    font-size: 12px;
}

.fp-popular-tag i {
    color: #ff5627;
}

.fp-product-image {
    position: relative;
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    overflow: hidden;
    background: #fafafa;
}

.fp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.fp-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 6px;
    color: #fff;
    background: #ff5a00;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.fp-add-item {
    position: absolute;
    right: 14px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #d4d4d4;
    border-radius: 50%;
    color: #555;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
    cursor: pointer;
    transition: .2s;
}

.fp-add-item:hover,
.fp-add-item.added {
    border-color: var(--fp-pink);
    color: #fff;
    background: var(--fp-pink);
    transform: scale(1.08);
}
.fp-add-item i { font-size: 17px; font-weight: 900; }
.fp-add-item.is-stock-out { right: 8px; width: auto; min-width: 78px; padding: 0 10px; color: #fff; background: #8b8d91; border-color: #8b8d91; border-radius: 18px; font-size: 12px; font-weight: 700; }
.fp-add-item.is-stock-out { display: none; }
.fp-stock-out-label { position: absolute; right: 9px; bottom: 12px; padding: 6px 10px; color: #fff; background: #8b8d91; border-radius: 16px; font-size: 12px; font-weight: 700; }

.fp-product-count {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #f15a24;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.fp-items-featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fp-items-featured .fp-product-card {
    height: 100%;
    flex-direction: column;
}

.fp-items-featured .fp-product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
}

.fp-items-featured .fp-product-copy {
    min-height: 0;
}

.fp-items-featured .fp-product-description {
    font-size: 14px;
}

.fp-cart {
    position: sticky;
    top: 78px;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    padding: 18px 16px 16px;
    border: 1px solid var(--fp-border);
    border-radius: 10px;
    background: #fff;
}

.fp-cart-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2px 0 16px;
    border-bottom: 1px solid #e5e5e5;
}

.fp-cart-mobile-title, .fp-cart-close, .fp-mobile-order-mode, .fp-mobile-cart-bar, .fp-mobile-cart-backdrop { display: none; }
.fp-cart-merchant-name { display: block; margin-top: 3px; color: #666; }

.fp-cart-heading h2 {
    margin: 0;
    color: #242424;
    font-size: 19px;
    font-weight: 700;
}

.fp-cart-items-title {
    margin: 18px 0 6px;
    font-size: 17px;
    font-weight: 700;
}

.fp-order-toggle {
    height: 56px;
    display: flex;
    padding: 3px;
    border-radius: 9px;
    background: #fafafa;
}

.fp-order-toggle button {
    flex: 1;
    border: 0;
    border-radius: 9px;
    color: #111;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}

.fp-order-toggle button.active {
    border: 1px solid var(--fp-border);
    background: #fff;
}

.fp-cart-empty {
    margin: auto 0;
    text-align: center;
}

.fp-offer-illustration {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    color: #ffdf35;
    background: #ff3d8d;
    box-shadow: inset 0 0 0 9px #ff80b5;
    font-size: 35px;
    transform: rotate(10deg) scale(.75);
}

.fp-offer-illustration b {
    position: absolute;
    right: -14px;
    bottom: -13px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--fp-pink);
    font-size: 22px;
}

.fp-cart-empty h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.fp-cart-empty p {
    margin: 0;
    color: #555;
}

.fp-cart-items {
    margin: 0;
    overflow-y: auto;
}
.fp-cart-add-more { display: none; }

.fp-cart-line {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.fp-cart-line > img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
    border-radius: 8px;
}

.fp-cart-line-copy {
    min-width: 0;
    flex: 1;
}

.fp-cart-line-copy strong,
.fp-cart-line-copy small,
.fp-cart-line-copy b {
    display: block;
}

.fp-cart-line-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-cart-line-copy small { margin-top: 6px; color: #666; font-weight: 600; }
.fp-cart-line-copy b { color: #ff5a00; font-size: 15px; font-weight: 700; }
.fp-cart-line-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.fp-cart-line-footer .fp-cart-line-actions{margin-left:auto}

.fp-cart-image-placeholder {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(145deg, #efb183, #c35f3c);
}

.fp-cart-quantity {
    display: flex;
    align-items: center;
    align-self: end;
    gap: 8px;
    padding: 3px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.fp-cart-quantity span {
    min-width: 15px;
    text-align: center;
}

.fp-cart-quantity button {
    width: 25px;
    height: 25px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 17px;
}

.fp-cart-quantity button { font-weight: 800; }
.fp-cart-quantity button i { font-size: 15px; font-weight: 900; }

.fp-modal-open { overflow: hidden; }
.fp-product-modal[hidden] { display: none; }
.fp-shop-conflict-modal[hidden] { display: none; }
.fp-shop-conflict-modal { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 18px; }
.fp-shop-conflict-backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, .58); }
.fp-shop-conflict-dialog { position: relative; z-index: 1; width: min(430px, 100%); padding: 28px 26px 24px; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.28); text-align: center; }
.fp-shop-conflict-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; color: #ff5a00; background: #fff1e9; font-size: 23px; }
.fp-shop-conflict-dialog h2 { margin: 0 0 9px; color: #202124; font-size: 20px; }
.fp-shop-conflict-dialog p { margin: 0; color: #62656b; font-size: 14px; line-height: 1.55; }
.fp-shop-conflict-actions { display: flex; gap: 10px; margin-top: 22px; }
.fp-shop-conflict-actions button { flex: 1; min-height: 43px; padding: 8px 14px; border: 0; border-radius: 7px; font-size: 14px; font-weight: 700; cursor: pointer; }
.fp-shop-conflict-cancel { color: #45484d; background: #eef0f2; }
.fp-shop-conflict-confirm { color: #fff; background: #ff5a00; }
@media (max-width: 420px) { .fp-shop-conflict-dialog { padding: 24px 18px 20px; } .fp-shop-conflict-actions { flex-direction: column-reverse; } }
.fp-product-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 18px; }
.fp-product-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .58); }
.fp-product-dialog { position: relative; z-index: 1; width: min(480px, 100%); max-height: calc(100vh - 36px); overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); }
.fp-product-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; font-size: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.16); }
.fp-dialog-image { height: 235px; display: grid; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #f1bd98, #b94b2d); font-size: 50px; }
.fp-dialog-image img { width: 100%; height: 100%; object-fit: cover; }
.fp-dialog-body { padding: 22px; }
.fp-dialog-body > h2 { margin: 0 0 8px; font-size: 21px; }
.fp-dialog-price { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 18px; }
.fp-dialog-price span { color: #ff5a00; }
.fp-dialog-price del { color: #aaa; font-size: 14px; font-weight: 400; }
.fp-dialog-body > p { display: -webkit-box; padding-bottom: 0; margin: 0; overflow: hidden; color: #606268; line-height: 1.5; border-bottom: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.fp-item-note-field{display:block;margin-top:14px;text-align:left}.fp-item-note-field span{display:block;margin-bottom:6px;font-size:13px;font-weight:700}.fp-item-note-field textarea{width:100%;padding:10px 12px;border:1px solid #d9dde3;border-radius:8px;resize:vertical;font-size:14px}.fp-cart-line-actions{display:flex;align-items:center;gap:5px}.fp-cart-note{width:27px;height:27px;border:1px solid #ddd;border-radius:50%;color:#ff5a00;background:#fff}.fp-note-modal[hidden]{display:none}.fp-note-modal{position:fixed;inset:0;z-index:2200;display:grid;place-items:center;padding:18px}.fp-note-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58)}.fp-note-dialog{position:relative;z-index:1;width:min(420px,100%);padding:24px;border-radius:10px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.3)}.fp-note-dialog>button{position:absolute;top:12px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:#f1f2f4}.fp-note-dialog h2{margin:0 0 5px;font-size:20px}.fp-note-dialog p{margin:0 0 15px;color:#68707c;font-size:13px}.fp-note-dialog textarea{width:100%;padding:11px;border:1px solid #d6d9de;border-radius:8px;resize:vertical;font-size:14px}.fp-note-dialog>div:last-child{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.fp-note-dialog>div:last-child button{min-height:38px;padding:7px 14px;border:0;border-radius:7px;font-weight:700}.fp-note-dialog>div:last-child button:last-child{color:#fff;background:#ff5a00}
.fp-item-prescription-field { display: none; margin-top: 14px; padding: 14px; text-align: left; border: 1px dashed #ff9a5a; border-radius: 12px; background: #fff7f1; }
.fp-item-prescription-field.is-visible { display: block; }
.fp-item-prescription-field .fp-prescription-title { margin: 0 0 8px; color: #d64f00; font-size: 13px; font-weight: 800; }
.fp-item-prescription-field .fp-prescription-title i { margin-right: 5px; }
.fp-item-prescription-field input[type="file"] { width: 100%; padding: 9px 10px; border: 1px solid #e2d3c8; border-radius: 9px; background: #fff; font-size: 12.5px; }
.fp-item-prescription-field small { display: block; margin-top: 7px; color: #8a8a8a; font-size: 11.5px; }
.fp-item-prescription-field small.fp-prescription-error { display: none; color: #d92d20; font-weight: 700; }
.fp-item-prescription-field.has-error small.fp-prescription-error { display: block; }
.fp-item-prescription-field.has-error input[type="file"] { border-color: #d92d20; }
.fp-variation-box { padding: 15px 12px 5px; margin-top: 18px; border: 1px solid #f1bdcf; border-radius: 10px; background: #fff0f4; }
.fp-variation-heading { display: flex; justify-content: space-between; margin-bottom: 8px; }
.fp-variation-heading h3 { margin: 0; font-size: 16px; }
.fp-variation-heading small { color: #555; }
.fp-variation-heading > span { align-self: start; padding: 3px 7px; color: #fff; background: var(--fp-pink); border-radius: 12px; font-size: 10px; }
.fp-variation-option { display: grid; grid-template-columns: 1fr auto 22px; gap: 12px; align-items: center; min-height: 54px; cursor: pointer; border-top: 1px solid rgba(226,27,112,.12); }
.fp-variation-option span b, .fp-variation-option span small { display: block; }
.fp-variation-option span small { color: #777; font-size: 11px; }
.fp-variation-price { display: flex; flex-direction: column; align-items: flex-end; }
.fp-variation-price strong { color: #ff5a00; }
.fp-variation-price del { color: #aaa; font-size: 12px; font-weight: 400; }
.fp-variation-option input { position: absolute; opacity: 0; }
.fp-variation-option > i { width: 18px; height: 18px; border: 1px solid #888; border-radius: 50%; }
.fp-variation-option input:checked + i { border: 5px solid var(--fp-pink); }
.fp-variation-option.is-stock-out { cursor: not-allowed; opacity: .55; }
.fp-dialog-footer { position: sticky; bottom: 0; display: flex; gap: 14px; padding: 12px 18px; border-top: 1px solid #ddd; background: #fff; }
.fp-dialog-quantity { display: flex; align-items: center; gap: 9px; }
.fp-dialog-quantity button { width: 28px; height: 28px; border: 1px solid #ddd; border-radius: 50%; background: #fff; }
#addVariationToCart { min-height: 42px; flex: 1; border: 0; border-radius: 7px; color: #fff; background: var(--fp-pink); font-weight: 700; }
#addVariationToCart:disabled { background: #c8c9cb; }

.fp-cart-line span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-cart-bottom {
    margin-top: auto;
    text-align: left;
    padding-top: 16px;
    border-top: 1px solid #ececec;
}

.fp-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}
.fp-cart-charge-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;color:#666;font-size:13px}.fp-cart-charge-row[hidden]{display:none}.fp-cart-charge-row strong{color:#333;font-weight:600;white-space:nowrap}

.fp-total small {
    color: #666;
    font-size: 11px;
}

.fp-cart-bottom > a {
    display: block;
    margin: 3px 0 10px;
    color: #333;
    text-decoration: underline;
}

.fp-cart-bottom > button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--fp-pink);
    font-weight: 700;
}

.fp-cart-bottom > button:disabled {
    color: #aaa;
    background: #d5d6d8;
}

.fp-cart-bottom > button i {
    font-size: 13px;
}

.fp-rider-tip{padding:14px 0;border-bottom:1px solid #ececec}.fp-rider-tip>div:first-child{display:flex;align-items:center;gap:10px}.fp-tip-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:#ff5a00;background:#fff1e8}.fp-rider-tip strong,.fp-rider-tip small{display:block}.fp-rider-tip small{margin-top:3px;color:#737981;font-size:11px}.fp-tip-options{display:flex;gap:7px;margin-top:11px}.fp-tip-options button{flex:1;min-height:32px;border:1px solid #d9dde3;border-radius:7px;background:#fff;color:#34383d;font-size:12px;font-weight:700}.fp-tip-options button.active{border-color:#ff5a00;color:#ff5a00;background:#fff7f2}.fp-order-summary{margin:13px 0 12px;padding:0 12px 8px;border:1px solid #e0e5eb;border-radius:10px;background:#f8fafc}.fp-summary-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 0 9px;border-bottom:1px solid #e0e5eb}.fp-summary-heading span{padding:4px 8px;border-radius:10px;background:#e8edf3;color:#5b6673;font-size:10px;font-weight:700}.fp-summary-heading strong{font-size:13px}
@media (max-width: 767px){.fp-cart{padding:15px 15px 14px;border:0;border-radius:0;min-height:100%;}.fp-cart-bottom{margin-top:18px;padding-top:12px}.fp-rider-tip{margin-top:4px}.fp-order-summary{margin-top:12px}.fp-cart-bottom > button{min-height:48px}}

.fp-no-results {
    padding: 50px 20px;
    color: #666;
    text-align: center;
}

.fp-similar {
    padding: 34px 0 46px;
    background: #f7f7f7;
}

.fp-similar.polished-home {
    width: 100%;
    max-width: none;
}

.fp-similar h2 {
    margin-bottom: 26px;
    font-size: 32px;
    font-weight: 400;
}

.fp-similar-list {
    display: block;
    overflow: hidden;
}

.fp-similar-card {
    display: block;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #222;
    background: #fff;
}

.fp-similar-list .owl-item .fp-similar-card {
    height: 100%;
}

.fp-similar-list .owl-nav {
    position: absolute;
    top: 50%;
    right: 6px;
    left: 6px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.fp-similar-list .owl-nav button.owl-next,
.fp-similar-list .owl-nav button.owl-prev {
    display: grid;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #242424;
    background: #fff;
    box-shadow: 0 2px 9px rgba(0, 0, 0, .2);
    font-size: 15px;
    place-items: center;
    pointer-events: auto;
}

.fp-similar-list .owl-nav button.owl-next:hover,
.fp-similar-list .owl-nav button.owl-prev:hover {
    color: #fff;
    background: var(--fp-pink);
}

.fp-similar-image {
    position: relative;
    height: 136px;
}

.fp-similar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-similar-image span {
    position: absolute;
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 9px;
    overflow: hidden;
    border-radius: 7px;
    color: #fff;
    background: #f71978;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-similar-copy {
    padding: 9px;
}

.fp-similar-copy h3 {
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-similar-copy p,
.fp-similar-copy small,
.fp-similar-copy b {
    margin: 3px 0 0;
    display: block;
    overflow: hidden;
    font-size: 12px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-similar-copy p i {
    color: #f3a000;
}

.fp-similar-copy small {
    color: #666;
}

.fp-similar-copy b {
    color: var(--fp-pink);
}

@media (max-width: 1100px) {
    .fp-content-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

    .fp-items,
    .fp-items-featured {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fp-items-featured .fp-product-card {
        min-height: 0;
    }

}

@media (max-width: 820px) {
    .fp-shell {
        width: min(100% - 28px, 680px);
    }

    .fp-restaurant-head {
        padding-top: 14px;
    }

    .fp-profile {
        align-items: flex-start;
    }

    .fp-restaurant-photo {
        width: 100px;
        height: 100px;
        flex-basis: 100px;
    }

    .fp-profile h1 {
        font-size: 24px;
    }

    .fp-deal-row {
        overflow-x: auto;
    }

    .fp-deal {
        min-width: 270px;
    }

    .fp-menu-search {
        width: 180px;
    }

    .fp-menu-tabs {
        overflow-x: auto;
    }

    .fp-menu-tabs a {
        min-width: 135px;
    }

    .fp-content-layout {
        display: block;
    }

    .fp-cart {
        position: static;
        min-height: 460px;
        margin-top: 25px;
    }
}

@media (max-width: 560px) {
    .fp-shell {
        width: calc(100% - 24px);
    }

    .fp-breadcrumb {
        font-size: 12px;
    }

    .fp-profile {
        gap: 13px;
    }

    .fp-restaurant-photo {
        width: 82px;
        height: 82px;
        flex-basis: 82px;
        border-radius: 9px;
    }

    .fp-cuisines {
        margin-bottom: 4px;
        font-size: 12px;
    }

    .fp-profile h1 {
        margin-bottom: 7px;
        font-size: 20px;
    }

    .fp-delivery-meta,
    .fp-rating-meta {
        font-size: 12px;
    }

    .fp-deals {
        padding-top: 24px;
    }

    .fp-deals h2,
    .fp-menu-group > h2 {
        font-size: 22px;
    }

    .fp-toolbar-inner {
        width: 100%;
        padding: 0 10px;
    }

    .fp-menu-search {
        width: 155px;
        flex-basis: 155px;
    }

    .fp-tabs-next {
        display: block;
    }

    .fp-items,
    .fp-items-featured {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fp-items-featured .fp-product-card,
    .fp-product-card {
        min-height: 350px;
        flex-direction: column;
    }

    .fp-items-featured .fp-product-image,
    .fp-product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        flex: 0 0 auto;
    }

    .fp-items-featured .fp-product-copy {
        min-height: 0;
    }

    .fp-product-description {
        font-size: 13px;
    }

    .fp-cart {
        min-height: 420px;
    }

    .fp-similar h2 {
        font-size: 26px;
    }

}
.fp-product-image img{display:block;width:100%;height:100%;object-fit:cover}.fp-cart-line>img,.fp-cart-image-placeholder{display:block;width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:8px}.fp-cart-quantity button .fa-trash-can{font-size:13px;line-height:1;color:#d52b63}

.fp-product-card .fp-add-item {
    bottom: 12px !important;
    width: auto !important;
    height: 38px;
    min-width: 98px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid #f15a24;
    border-radius: 6px;
    color: #fff;
    background: #f15a24;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
}
.fp-product-card .fp-add-item:hover,
.fp-product-card .fp-add-item.added {
    border-color: #dc4610;
    color: #fff;
    background: #dc4610;
    transform: translateY(-1px);
}

/* ── শপ পেজের প্রেসক্রিপশন রিকোয়েস্ট (অর্ডার ফ্লো থেকে আলাদা) ───────────── */
.fp-rx-cta {
    flex: 0 0 auto;
    width: min(430px, 40%);
    margin-left: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #ffd9c2;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7f2, #fff);
    box-shadow: 0 6px 20px rgba(241, 90, 36, .08);
}
.fp-rx-cta-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: #f15a24;
    font-size: 20px;
}
.fp-rx-cta-copy h2 {
    margin: 0 0 4px;
    color: #1b1b1b;
    font-size: 17px;
    font-weight: 800;
}
.fp-rx-cta-copy p {
    margin: 0;
    color: #6a6d73;
    font-size: 12.5px;
    line-height: 1.5;
}
.fp-rx-cta-button {
    grid-column: 1 / -1;
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: #f15a24;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease;
}
.fp-rx-cta-button:hover { background: #dc4610; }
.fp-rx-cta-button i { margin-right: 6px; }

.fp-rx-modal[hidden] { display: none; }
.fp-rx-modal { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 18px; }
.fp-rx-backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, .58); }
.fp-rx-dialog {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 26px 24px 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}
.fp-rx-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    font-size: 16px;
    cursor: pointer;
}
.fp-rx-dialog h2 { margin: 0 0 6px; color: #1b1b1b; font-size: 20px; font-weight: 800; }
.fp-rx-dialog h2 i { margin-right: 6px; color: #f15a24; }
.fp-rx-subtitle { margin: 0 0 16px; color: #6a6d73; font-size: 13px; line-height: 1.55; }
.fp-rx-field { display: block; margin-bottom: 14px; }
.fp-rx-field > span { display: block; margin-bottom: 6px; color: #303236; font-size: 13px; font-weight: 700; }
.fp-rx-field input[type="file"],
.fp-rx-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e4e8;
    border-radius: 9px;
    background: #fff;
    color: #1b1b1b;
    font-size: 13px;
    font-family: inherit;
}
.fp-rx-field textarea { resize: vertical; }
.fp-rx-field input[type="file"]:focus,
.fp-rx-field textarea:focus { outline: 0; border-color: #f15a24; }
.fp-rx-field small { display: block; margin-top: 6px; color: #8a8d92; font-size: 11.5px; }
.fp-rx-feedback { margin: 0 0 14px; padding: 10px 12px; border-radius: 9px; color: #087443; background: #e7f7ef; font-size: 13px; line-height: 1.5; }
.fp-rx-feedback.is-error { color: #b42318; background: #fdeceb; }
.fp-rx-actions { display: flex; gap: 10px; }
.fp-rx-actions button { flex: 1; min-height: 44px; border: 0; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; }
.fp-rx-cancel { color: #45484d; background: #eef0f2; }
.fp-rx-submit { display: grid; place-items: center; color: #fff !important; background: #f15a24; text-decoration: none; }
.fp-rx-submit:hover { background: #dc4610; }
.fp-rx-submit:disabled { opacity: .65; cursor: not-allowed; }
.fp-rx-login { text-align: center; }
.fp-rx-login p { margin: 0 0 14px; color: #6a6d73; font-size: 13.5px; }
.fp-rx-login .fp-rx-submit { min-height: 44px; padding: 10px 18px; border-radius: 9px; }

@media (max-width: 1100px) {
    .fp-profile { flex-wrap: wrap; }
    .fp-rx-cta { width: 100%; flex-basis: 100%; margin-top: 16px; margin-left: 0; padding: 15px 16px; }
}

@media (max-width: 560px) {
    .fp-rx-dialog { padding: 22px 17px 18px; }
    .fp-rx-actions { flex-direction: column-reverse; }
}

/* ── প্রোডাক্ট ডিটেইলস পেজ (গ্যালারি + বাই-বক্স + বিবরণ) ─────────────────── */
.fp-product-top {
    display: grid;
    grid-template-columns: minmax(0, 380px) 1fr;
    gap: 32px;
    margin-bottom: 34px;
}
.fp-product-gallery { position: sticky; top: 90px; }
.fp-gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fafafa;
    color: #c9c9c9;
    font-size: 46px;
    cursor: zoom-in;
}
.fp-gallery-main::after {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(17, 24, 39, .72);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    content: '\f00e  ছবি বড় করে দেখুন';
    font-family: "Font Awesome 6 Free", "Baloo Da 2", sans-serif;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
}
.fp-gallery-main:focus-visible { outline: 3px solid rgba(255, 105, 0, .3); outline-offset: 3px; }
.fp-gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.fp-gallery-main:hover img { transform: scale(1.02); }
.fp-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.fp-gallery-thumb {
    width: 66px;
    height: 66px;
    padding: 0;
    border: 2px solid #ececec;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
    cursor: pointer;
}
.fp-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.fp-gallery-thumb.active { border-color: var(--fp-pink); }

.fp-product-buybox { min-width: 0; }
.fp-buybox-category { margin: 0 0 6px; color: var(--fp-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.fp-buybox-name { margin: 0 0 14px; color: #111; font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.25; }
.fp-buybox-price { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #ececec; font-size: 24px; }
.fp-buybox-price strong { color: var(--fp-pink); }
.fp-buybox-price del { color: #aaa; font-size: 16px; font-weight: 400; }
.fp-buybox-stock-out { margin: 0 0 16px; color: #d92d20; font-weight: 700; font-size: 14px; }
.fp-buybox-stock-out i { margin-right: 6px; }
.fp-buybox-variation { margin: 0 0 18px; }
.fp-product-buybox .fp-item-note-field { display: block; margin-bottom: 18px; }
.fp-product-buybox .fp-item-prescription-field { margin-bottom: 18px; }
.fp-buybox-actions { display: flex; align-items: center; gap: 16px; }
.fp-buybox-quantity button { width: 38px; height: 38px; font-size: 17px; }
.fp-buybox-quantity span { min-width: 22px; text-align: center; font-weight: 700; }
#addProductToCart {
    flex: 1;
    min-height: 50px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--fp-pink);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease;
}
#addProductToCart i { margin-right: 8px; }
#addProductToCart:hover { background: #dc4610; }
#addProductToCart:disabled { background: #c8c9cb; cursor: not-allowed; }
#addProductToCart.added { background: #16a34a; }

.fp-product-details-description { padding-top: 26px; border-top: 1px solid #ececec; }
.fp-product-details-description h2 { margin: 0 0 12px; color: #111; font-size: 19px; font-weight: 800; }
.fp-product-description-body { color: #45484d; font-size: 14.5px; line-height: 1.7; }
.fp-product-description-body p { margin: 0 0 12px; }
.fp-product-description-body ul,
.fp-product-description-body ol { margin: 0 0 12px; padding-left: 22px; }
.fp-product-description-body li { margin-bottom: 6px; }
.fp-product-description-body img { max-width: 100%; height: auto; }

/* Keep the LightGallery viewer above the sticky storefront header and dialogs. */
.lg-backdrop { z-index: 200000 !important; }
.lg-outer { z-index: 200001 !important; }

@media (max-width: 820px) {
    .fp-product-top { grid-template-columns: 1fr; }
    .fp-product-gallery { position: static; }
}

.fp-product-short-description { margin: 12px 0 20px; line-height: 1.7; overflow-wrap: anywhere; }
.fp-product-short-description img { max-width: 100%; height: auto; }
.fp-product-tabs { display: flex; gap: 28px; border-bottom: 1px solid #ececec; margin-bottom: 20px; }
.fp-product-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 0 0 12px; font-size: 19px; font-weight: 700; color: #666; cursor: pointer; }
.fp-product-tabs button[aria-selected="true"] { color: #ff6900; border-bottom-color: #ff6900; }
.fp-product-tabs button:focus-visible { outline: 2px solid #ff6900; outline-offset: 3px; }
.fp-product-details-description [hidden] { display: none !important; }
.fp-product-video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
