/* Dedicated Listing Detail Page Styling - Exact JustDial Style */

:root {
    --brand-blue: #1a73e8;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.detail-body {
    background: radial-gradient(120% 120% at 50% 0%, #e0f2fe 0%, #f1f5f9 45%, #f8fafc 100%);
    color: var(--slate-900);
    font-family: var(--font-main);
    min-height: 100vh;
}

/* Sticky Nav Bar */
.detail-top-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
}

.nav-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-detail-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--slate-200);
    background: #ffffff;
    color: var(--slate-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-detail-back:hover {
    background: var(--slate-100);
    color: var(--brand-blue);
}

.top-nav-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}

/* Default: Seamless mobile view structure */
.desktop-actions-search-row {
    display: flex;
    flex-direction: column;
}

/* Main Layout */
.detail-main-layout {
    padding: 0.5rem 0.65rem 64px 0.65rem;
}

.detail-container {
    max-width: 720px;
    margin: 0 auto;
}

.detail-content-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.15rem 1rem 0.85rem 1rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* ================= JustDial Header Top Row ================= */
.jd-app-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #f0f9ff 100%);
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid #e0f2fe;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.05);
}

.jd-app-info-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.jd-app-title-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.jd-app-thumb-icon {
    width: 22px;
    height: 22px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.jd-app-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 0;
    line-height: 1.25;
}

.jd-app-rating-line {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.jd-app-score-pill {
    background: #15803d;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.jd-app-ratings-count {
    font-size: 0.82rem;
    color: var(--slate-500);
    font-weight: 500;
}

.jd-app-city-verified-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--slate-800);
    font-weight: 600;
}

/* Arrow button between City and Verified */
.btn-open-address-sheet {
    background: none;
    border: none;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
    font-size: 0.72rem;
    color: var(--slate-500);
}

.btn-open-address-sheet:hover {
    background: #f1f5f9;
    color: var(--brand-blue);
}

.btn-open-address-sheet:hover .jd-address-arrow {
    transform: translateY(1.5px);
}

.jd-address-arrow {
    transition: transform 0.2s ease;
}

.badge-jd-verified {
    background: #f0f9ff;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 5px;
    border: 1px solid #bae6fd;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.jd-app-meta-line {
    font-size: 0.84rem;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
}

.jd-meta-cat {
    color: var(--slate-900);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    flex-shrink: 1;
}

.jd-meta-dot {
    color: var(--slate-400);
    flex-shrink: 0;
}

/* Trigger Button with Arrow */
.btn-open-schedule-sheet {
    background: none;
    border: none;
    padding: 0.15rem 0.35rem;
    margin-left: -0.1rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
    font-size: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-open-schedule-sheet:hover {
    background: #f0fdf4;
}

.jd-live-status-span {
    color: #16a34a;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
}

.jd-schedule-arrow {
    font-size: 0.68rem;
    color: inherit;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
}

.btn-open-schedule-sheet:hover .jd-schedule-arrow {
    transform: translateY(1.5px);
}

/* ========================================================
   JUSTDIAL-STYLE 70% BOTTOM SLIDE SHEET
======================================================== */
.schedule-bottom-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 2500;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.schedule-bottom-sheet-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.schedule-bottom-sheet-panel {
    background: #ffffff;
    width: 100%;
    max-width: 620px;
    height: 75vh; /* Comfortably holds all 7 days without shrinking */
    max-height: 80vh;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.schedule-bottom-sheet-backdrop.open .schedule-bottom-sheet-panel {
    transform: translateY(0);
}

/* Sheet Pull Handle */
.sheet-pull-bar {
    display: flex;
    justify-content: center;
    padding: 0.75rem 0 0.35rem 0;
    cursor: grab;
}

.sheet-pull-handle {
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 10px;
}

/* Sheet Header */
.schedule-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.25rem 0.85rem 1.25rem;
    border-bottom: 1px solid var(--slate-100);
}

.sheet-title-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sheet-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f0fdf4;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid #dcfce7;
}

.sheet-main-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 0;
}

.sheet-sub-title {
    font-size: 0.76rem;
    color: var(--slate-500);
    margin: 0.15rem 0 0 0;
}

.btn-close-sheet {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--slate-200);
    background: #f8fafc;
    color: var(--slate-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-close-sheet:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}

/* Sheet Scroll Body - smoothly scrolls so 7-day schedule never hides */
.schedule-sheet-body {
    padding: 0.85rem 1.25rem 2rem 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

/* Today Highlight Banner */
.sheet-today-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1.5px solid #bbf7d0;
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.today-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.pulse-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

.today-left strong {
    font-size: 0.92rem;
    color: #15803d;
}

.today-time-badge {
    font-size: 0.86rem;
    font-weight: 800;
    color: #166534;
    background: #ffffff;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

/* 7-Days Schedule Table (Exact JustDial Format) - Always Visible, Never Shrinks */
.sheet-week-days-table {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

.sheet-day-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.15rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
    transition: background 0.15s;
}
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
    transition: background 0.15s;
}

.sheet-day-row:last-child {
    border-bottom: none;
}

.sheet-day-row.is-today-active {
    background: #f8fafc;
    font-weight: 700;
}

.sheet-day-col {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.day-label {
    color: var(--slate-800);
}

.today-badge-chip {
    background: #16a34a;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.12rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.sheet-hours-col {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
}

.sheet-hours-col.open-hours {
    color: var(--slate-700);
}

.sheet-hours-col.open-hours i {
    color: #0284c7;
    font-size: 0.8rem;
}

.sheet-hours-col.closed-hours .closed-tag {
    color: #ef4444;
    font-weight: 700;
}

/* Holidays inside Sheet (Compact 2-per-row + More Button) */
.sheet-holidays-box {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 14px;
    padding: 0.75rem 0.95rem;
    flex-shrink: 0;
}

.sheet-holidays-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 0.55rem;
}

.sheet-holidays-pill-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.sheet-holiday-tag {
    background: #ffffff;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(185, 28, 28, 0.05);
}

.sheet-holiday-tag i {
    font-size: 0.72rem;
    color: #ef4444;
    flex-shrink: 0;
}

.hol-date-text {
    font-weight: 700;
    color: #991b1b;
}

.hol-day-text {
    font-size: 0.7rem;
    color: #dc2626;
    opacity: 0.85;
}

/* +X More button */
.sheet-holiday-more-btn {
    background: #ffffff;
    border: 1px solid #f87171;
    color: #b91c1c;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(185, 28, 28, 0.05);
}

.sheet-holiday-more-btn:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
    transform: translateY(-1px);
}

/* ========================================================
   FULL ADDRESS & CONTACT 70% BOTTOM SLIDE SHEET
======================================================== */
.address-bottom-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 2500;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.address-bottom-sheet-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.address-bottom-sheet-panel {
    background: #ffffff;
    width: 100%;
    max-width: 620px;
    height: 70vh; /* Exactly 70% of screen height */
    max-height: 70vh;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.address-bottom-sheet-backdrop.open .address-bottom-sheet-panel {
    transform: translateY(0);
}

.sheet-icon-circle.blue-tint {
    background: #eff6ff;
    color: var(--brand-blue);
    border: 1px solid #bfdbfe;
}

.addr-sheet-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.addr-sheet-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.addr-sheet-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.addr-sheet-icon.green {
    background: #f0fdf4;
    color: #16a34a;
}

.addr-sheet-info-col {
    flex: 1;
}

.addr-sheet-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.addr-sheet-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-800);
    line-height: 1.45;
    margin: 0;
}

.btn-sheet-direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    transition: background 0.15s ease;
}

.btn-sheet-direction:hover {
    background: #1557b0;
}

.addr-sheet-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.btn-sheet-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-sheet-action.call {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.btn-sheet-action.call:hover {
    background: #dcfce7;
}

.btn-sheet-action.wa {
    background: #25d366;
    color: #ffffff;
}

.btn-sheet-action.wa:hover {
    background: #1eb956;
}

.addr-sheet-verified-card {
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--slate-600);
}

.addr-sheet-verified-card i {
    font-size: 1.25rem;
    color: #0284c7;
    flex-shrink: 0;
}

.addr-sheet-verified-card strong {
    display: block;
    color: var(--slate-900);
    font-size: 0.86rem;
    margin-bottom: 0.1rem;
}

.addr-sheet-verified-card p {
    margin: 0;
    font-size: 0.76rem;
}

/* ========================================================
   HOLIDAYS FULL POPUP MODAL
======================================================== */
.holidays-modal-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.holidays-modal-backdrop.open {
    display: flex;
}

.holidays-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.holidays-modal-header {
    background: #ffffff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--slate-100);
}

.holidays-modal-title-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.holidays-modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.holidays-modal-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 0;
}

.holidays-modal-sub {
    font-size: 0.76rem;
    color: var(--slate-500);
    margin: 0.15rem 0 0 0;
}

.btn-close-holidays-modal {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--slate-200);
    background: #f8fafc;
    color: var(--slate-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s;
}

.btn-close-holidays-modal:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}

.holidays-modal-body {
    padding: 1rem 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 55vh;
}

.holidays-modal-item {
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.holidays-modal-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hol-modal-cal-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.hol-modal-date {
    display: block;
    font-size: 0.9rem;
    color: var(--slate-900);
}

.hol-modal-day {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-500);
}

.hol-modal-badge {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.jd-app-photo-square {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 14px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.jd-app-photo-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jd-photo-counter-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.12rem 0.4rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* 4 Quick Action Buttons */
.jd-app-action-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
    padding-bottom: 0.45rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--slate-100);
}

.jd-app-btn-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--slate-800);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    min-width: 0;
}

.jd-app-icon-squircle {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jd-app-btn-box:hover .jd-app-icon-squircle {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.jd-app-icon-squircle.bg-blue {
    background: #0284c7;
    color: #ffffff;
}

.jd-app-icon-squircle.bg-green {
    background: #16a34a;
    color: #ffffff;
}

.jd-app-icon-squircle.bg-white-border {
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid var(--slate-300);
}

.jd-app-icon-squircle.bg-chat-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border: 1.5px solid #bfdbfe;
}

.jd-app-icon-squircle.bg-share-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    color: #7c3aed;
    border: 1.5px solid #ddd6fe;
}

.jd-app-icon-squircle.bg-bookmark-gold {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 1.5px solid #fde68a;
}

.jd-app-icon-squircle.bg-bookmark-gold.active {
    background: #f59e0b;
    color: #ffffff;
    border-color: #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.jd-app-btn-lbl {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--slate-800);
    white-space: nowrap;
}

@media (max-width: 420px) {
    .jd-app-icon-squircle {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        font-size: 1.05rem;
    }
    .jd-app-btn-lbl {
        font-size: 0.68rem;
    }
    .jd-app-action-grid {
        gap: 0.35rem;
    }
}

/* ========================================================
   PREMIUM FLOATING SEGMENTED CONTROL (APPLE / FINTECH STYLE)
======================================================== */
.premium-segment-container {
    position: sticky;
    top: 56px;
    z-index: 50;
    background: #ffffff;
    padding: 0.75rem 0 0.85rem 0;
    border-bottom: 1px solid var(--slate-100);
    margin-bottom: 1.25rem;
}

.premium-segmented-control {
    background: #f1f5f9;
    padding: 0.3rem;
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
    user-select: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Smooth sliding background capsule */
.segment-slider-indicator {
    position: absolute;
    top: 0.3rem;
    bottom: 0.3rem;
    left: 0.3rem;
    width: calc((100% - 0.6rem) / 2);
    background: #ffffff;
    border-radius: 11px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.segment-btn {
    position: relative;
    z-index: 2;
    background: none;
    border: none;
    padding: 0.65rem 0.4rem;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--slate-500);
    transition: color 0.2s ease;
    outline: none;
    white-space: nowrap;
}

.segment-btn:hover {
    color: var(--slate-800);
}

.segment-btn.active {
    color: var(--brand-blue);
}

.segment-btn i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.segment-btn.active i {
    transform: scale(1.1);
    color: var(--brand-blue);
}

.segment-badge {
    background: #e2e8f0;
    color: var(--slate-600);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.segment-btn.active .segment-badge {
    background: #eff6ff;
    color: var(--brand-blue);
}

@media (max-width: 420px) {
    .segment-btn {
        padding: 0.55rem 0.2rem;
        font-size: 0.78rem;
        gap: 0.3rem;
    }
    .segment-btn i {
        font-size: 0.8rem;
    }
    .segment-badge {
        font-size: 0.64rem;
        padding: 0.08rem 0.35rem;
    }
}

/* Tab Panels */
.jd-tab-panels-wrap {
    min-height: 220px;
    padding-bottom: 2rem;
}

.jd-tab-pane {
    display: none;
    animation: tabFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.jd-tab-pane.active {
    display: block;
}

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

/* Services Showcase Grid */
.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

.service-item-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.service-item-card:hover {
    border-color: #bae6fd;
    transform: translateY(-1.5px);
}

.service-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.service-card-info {
    flex: 1;
}

.service-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0;
}

.service-card-price {
    font-size: 0.78rem;
    font-weight: 600;
    color: #16a34a;
    margin-top: 0.15rem;
    display: block;
}

/* Reviews Summary Card */
.reviews-summary-card {
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.reviews-big-score {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.score-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1;
}

.score-stars {
    color: #eab308;
    font-size: 0.88rem;
    display: flex;
    gap: 0.2rem;
}

.score-caption {
    font-size: 0.76rem;
    color: var(--slate-500);
    font-weight: 500;
}

.btn-write-review {
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.15s ease;
}

.btn-write-review:hover {
    background: #1557b0;
}

/* Write Review Form Card */
.write-review-card {
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-radius: 16px;
    padding: 1.1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.06);
}

.write-review-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 0 0 0.75rem 0;
}

.star-rating-select {
    display: flex;
    gap: 0.45rem;
    font-size: 1.4rem;
    color: #cbd5e1;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.star-rating-select .star-pick {
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-select .star-pick.active,
.star-rating-select .star-pick:hover {
    color: #eab308;
    transform: scale(1.15);
}

.write-review-form input,
.write-review-form textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--slate-300);
    border-radius: 10px;
    font-size: 0.86rem;
    font-family: inherit;
    margin-bottom: 0.65rem;
    outline: none;
    box-sizing: border-box;
}

.write-review-form input:focus,
.write-review-form textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.review-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
}

.btn-cancel-rev {
    background: #f1f5f9;
    color: var(--slate-700);
    border: none;
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit-rev {
    background: #16a34a;
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-submit-rev:hover {
    background: #15803d;
}

/* Reviews List */
.reviews-list-container {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.review-single-item {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 0.95rem 1.1rem;
}

.rev-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.rev-user-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.rev-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.rev-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--slate-900);
}

.rev-date {
    font-size: 0.72rem;
    color: var(--slate-400);
}

.rev-star-pill {
    background: #15803d;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.rev-text-comment {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--slate-700);
    margin: 0;
}

/* Empty Notice */
.empty-notice-box {
    text-align: center;
    padding: 2.5rem 1rem;
    background: #f8fafc;
    border: 1.5px dashed var(--slate-200);
    border-radius: 16px;
    color: var(--slate-500);
}

.empty-notice-box i {
    font-size: 2rem;
    color: var(--slate-400);
    margin-bottom: 0.5rem;
}

.empty-notice-box p {
    margin: 0;
    font-size: 0.86rem;
}

.section-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Products Showcase - Exact Clean Mobile Catalog Style (from User Reference Screenshot) */
.products-showcase-grid {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
}

.product-item-card {
    background: #ffffff;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.1rem 0.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: none;
    border-radius: 0;
    transition: background 0.15s ease;
}

.product-item-card:last-child {
    border-bottom: none;
}

.product-item-card:hover {
    background: #fafafa;
    transform: none;
    box-shadow: none;
}

/* Left Column: Clean Transparent/White Image Box */
.prod-card-thumb-wrap {
    width: 86px;
    height: 110px;
    min-width: 86px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prod-card-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.product-item-card:hover .prod-card-thumb {
    transform: scale(1.03);
}

/* Right Column: Product Title, Rating Stars, Price, and Get Best Deal Button */
.prod-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.prod-card-title {
    font-size: 1.02rem;
    font-weight: 500;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.2px;
}

/* Rating Line with Orange Stars + Ratings Count */
.prod-card-rating-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
}

.prod-stars-row {
    color: #f97316;
    display: flex;
    gap: 0.15rem;
    font-size: 0.85rem;
}

.prod-stars-row .star-empty {
    color: #cbd5e1;
}

.prod-ratings-count {
    color: #475569;
    font-size: 0.84rem;
    font-weight: 400;
}

/* Bold Price */
.prod-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0.15rem 0 0 0;
    display: block;
}

@media (max-width: 480px) {
    .prod-card-thumb-wrap {
        width: 75px;
        height: 95px;
        min-width: 75px;
    }
    .prod-card-title {
        font-size: 0.95rem;
    }
    .prod-card-price {
        font-size: 1.15rem;
    }
    .btn-get-best-deal {
        font-size: 0.8rem;
        padding: 0.38rem 0.85rem;
    }
}

/* Schedule */
.schedule-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.sched-info-card {
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sched-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.sched-card-icon.blue { background: #eff6ff; color: #0284c7; }
.sched-card-icon.purple { background: #f5f3ff; color: #7c3aed; }

.sched-card-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--slate-500);
    text-transform: uppercase;
}

.sched-card-val {
    font-size: 0.92rem;
    color: var(--slate-900);
}

.detail-days-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.day-chip {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid var(--slate-300);
    color: var(--slate-700);
}

/* Address Card */
.address-box-card {
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.addr-line {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.86rem;
    color: var(--slate-700);
}

.addr-line i {
    color: var(--brand-blue);
    font-size: 0.95rem;
}

.detail-desc-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--slate-600);
}

/* Chat Modal */
.chat-modal-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.chat-modal-backdrop.open { display: flex; }

.chat-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.chat-modal-header {
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-partner-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.chat-partner-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.chat-partner-name {
    font-size: 0.95rem;
    margin: 0;
}

.chat-status-text {
    font-size: 0.72rem;
    opacity: 0.9;
}

.btn-close-chat {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
}

.chat-modal-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f8fafc;
}

.chat-msg-row {
    display: flex;
}

.chat-msg-row.incoming { justify-content: flex-start; }
.chat-msg-row.outgoing { justify-content: flex-end; }

.msg-bubble {
    max-width: 80%;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    font-size: 0.84rem;
    line-height: 1.4;
    position: relative;
}

.chat-msg-row.incoming .msg-bubble {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    color: var(--slate-800);
}

.chat-msg-row.outgoing .msg-bubble {
    background: var(--brand-blue);
    color: #ffffff;
}

.msg-time {
    display: block;
    font-size: 0.65rem;
    margin-top: 0.25rem;
    opacity: 0.75;
}

.chat-modal-footer {
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-top: 1px solid var(--slate-200);
}

.chat-input-form {
    display: flex;
    gap: 0.5rem;
}

.chat-input-form input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--slate-300);
    border-radius: 20px;
    outline: none;
    font-size: 0.86rem;
}

.btn-send-chat {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Attached Product Inquiry Preview Bar */
.chat-product-preview-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
    animation: fadeIn 0.2s ease-in-out;
}

.chat-product-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #e2e8f0;
    flex-shrink: 0;
    border: 1px solid #cbd5e1;
}

.chat-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.chat-product-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.chat-product-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--slate-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-product-price {
    font-size: 0.78rem;
    font-weight: 700;
    color: #16a34a;
}

.btn-clear-chat-product {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.35rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-clear-chat-product:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Chat bubble attached product card */
.chat-card-attachment {
    display: flex;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.45rem;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.chat-msg-row.outgoing .chat-card-attachment {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.chat-card-attachment img {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.chat-card-attachment-meta {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.chat-card-attachment-title {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-card-attachment-price {
    font-size: 0.74rem;
    font-weight: 700;
    color: #16a34a;
}

.chat-msg-row.outgoing .chat-card-attachment-price {
    color: #a7f3d0;
}

@media (max-width: 600px) {
    .schedule-cards-grid {
        grid-template-columns: 1fr;
    }
    .products-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   FLIPKART / AMAZON STYLE STORE COMMERCE UI / UX
======================================================== */

/* 1. Store Search Pill (Compact & Raised closer to action buttons) */
.store-search-bar-wrap {
    position: relative;
    margin-top: 0.35rem;
    margin-bottom: 0.15rem;
    z-index: 80;
}

.btn-clear-store-search {
    background: transparent;
    border: none;
    color: var(--slate-400);
    cursor: pointer;
    padding: 2px 6px;
    font-size: 0.85rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.btn-clear-store-search:hover {
    color: var(--slate-700);
    background: #f1f5f9;
}

.store-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.2), 0 4px 12px rgba(15, 23, 42, 0.08);
    border: 1px solid #cbd5e1;
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    padding: 0.35rem 0;
    scrollbar-width: thin;
    animation: fadeInSugg 0.18s ease-out;
}

@keyframes fadeInSugg {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.store-search-suggestions::-webkit-scrollbar {
    width: 5px;
}
.store-search-suggestions::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.search-sugg-header {
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-sugg-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f8fafc;
}

.search-sugg-item:last-child {
    border-bottom: none;
}

.search-sugg-item:hover,
.search-sugg-item.active {
    background: #eff6ff;
}

.search-sugg-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.search-sugg-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-sugg-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.search-sugg-title mark {
    background: #fef08a;
    color: #854d0e;
    padding: 0 2px;
    border-radius: 2px;
}

.search-sugg-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
}

.search-sugg-price {
    font-weight: 800;
    color: #16a34a;
}

.search-sugg-cat {
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.search-sugg-action {
    color: #94a3b8;
    font-size: 0.85rem;
    padding-left: 0.25rem;
    transition: color 0.15s, transform 0.15s;
}

.search-sugg-item:hover .search-sugg-action {
    color: #2563eb;
    transform: translateX(2px);
}

.search-sugg-empty {
    padding: 1.25rem 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.search-sugg-empty i {
    font-size: 1.4rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 0.35rem;
}

.store-search-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    gap: 0.65rem;
    height: 40px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.store-search-pill:focus-within {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 4px 12px rgba(37, 99, 235, 0.1);
}

.search-leading-icon {
    font-size: 0.88rem;
    color: var(--slate-400);
}

.store-search-pill input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    color: var(--slate-800);
    font-family: inherit;
    font-weight: 500;
}

.store-search-pill input::placeholder {
    color: var(--slate-400);
    font-weight: 400;
}

/* 2. Horizontal Sliding Category Icons Bar (Card Box Style with Subtle Color Themes) */
.store-cats-slide-wrap {
    margin-top: 0.2rem;
    margin-bottom: 0.65rem;
    overflow: hidden;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

.store-cats-track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.25rem 0.25rem 0.5rem 0.25rem;
    scrollbar-width: none;
}

.store-cats-track::-webkit-scrollbar {
    display: none;
}

/* Base Card Box Design for each category */
.store-cat-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 68px;
    padding: 0.55rem 0.5rem 0.45rem 0.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.store-cat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.store-cat-icon-circle {
    width: auto;
    height: 38px;
    background: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.store-cat-icon-circle .cat-emoji {
    font-size: 1.9rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.store-cat-item:hover .store-cat-icon-circle {
    transform: scale(1.12);
}

.store-cat-item span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-700);
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* Distinct Subtle Card Themes Left-to-Right */
/* 1. For You */
.store-cat-item.cat-box-for-you {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    border-color: #dbeafe;
}
.store-cat-item.cat-box-for-you .store-cat-icon-circle {
    background: transparent !important;
}

/* 2. Popular */
.store-cat-item.cat-box-popular {
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
    border-color: #ffe4e6;
}
.store-cat-item.cat-box-popular .store-cat-icon-circle {
    background: transparent !important;
}

/* 3. Fashion */
.store-cat-item.cat-box-fashion {
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
    border-color: #f3e8ff;
}
.store-cat-item.cat-box-fashion .store-cat-icon-circle {
    background: transparent !important;
}

/* 4. Electronics */
.store-cat-item.cat-box-electronics {
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
    border-color: #ccfbf1;
}
.store-cat-item.cat-box-electronics .store-cat-icon-circle {
    background: transparent !important;
}

/* 5. Grocery */
.store-cat-item.cat-box-grocery {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    border-color: #dcfce7;
}
.store-cat-item.cat-box-grocery .store-cat-icon-circle {
    background: transparent !important;
}

/* 6. Beauty */
.store-cat-item.cat-box-beauty {
    background: linear-gradient(180deg, #fdf2f8 0%, #ffffff 100%);
    border-color: #fce7f3;
}
.store-cat-item.cat-box-beauty .store-cat-icon-circle {
    background: transparent !important;
}

/* 7. Home */
.store-cat-item.cat-box-home {
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    border-color: #fef3c7;
}
.store-cat-item.cat-box-home .store-cat-icon-circle {
    background: transparent !important;
}

/* Active Highlight State */
.store-cat-item.active {
    border-color: var(--brand-blue);
    background: #eff6ff !important;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
    transform: translateY(-2px);
}
.store-cat-item.active span {
    color: var(--brand-blue);
    font-weight: 800;
}

/* 3. Sliding Promotional Ad Banners (Carousel) */
.store-ads-carousel-wrap {
    margin-bottom: 0.35rem;
    position: relative;
}

.store-ads-slider {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 18px;
    scroll-behavior: smooth;
}

.store-ads-slider::-webkit-scrollbar {
    display: none;
}

.store-ad-card {
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    border-radius: 18px;
    padding: 1.15rem 1.25rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 125px;
    box-sizing: border-box;
}

.store-ad-card.is-custom-img {
    padding: 0;
    background: #000;
}

.store-ad-custom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 16:9 Banner Nav Buttons (Prev/Next) */
.store-ads-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(203, 213, 225, 0.8);
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 0;
}

.store-ads-carousel-wrap:hover .store-ads-nav-btn {
    opacity: 1;
}

.store-ads-nav-btn.prev {
    left: 8px;
}

.store-ads-nav-btn.next {
    right: 8px;
}

.store-ads-nav-btn:hover {
    background: #ffffff;
    color: var(--brand-blue);
    transform: translateY(-50%) scale(1.1);
}

.festive-ad-1 {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

.festive-ad-2 {
    background: linear-gradient(135deg, #831843 0%, #db2777 50%, #f472b6 100%);
}

.festive-ad-3 {
    background: linear-gradient(135deg, #065f46 0%, #059669 50%, #34d399 100%);
}

.store-ad-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.store-ad-content {
    margin: 0.4rem 0;
}

.store-ad-sub {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.store-ad-heading {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0.15rem 0 0.25rem 0;
    line-height: 1.2;
}

.store-ad-deal {
    font-size: 0.82rem;
    margin: 0;
    color: #fef08a;
}

.store-ad-tag {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.62rem;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    letter-spacing: 0.4px;
}

.store-ads-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.ad-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: all 0.2s ease;
}

.ad-dot.active {
    width: 20px;
    background: var(--brand-blue);
}

/* 4. Quick Product Horizontal Slider (Clean Square Box Style) */
.store-featured-shelf {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.65rem 0.65rem 0.5rem 0.65rem;
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
}

.store-shelf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.1rem 0.15rem 0.45rem 0.15rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0.5rem;
}

.shelf-header-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.shelf-header-badge {
    background: #fef3c7;
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.shelf-header-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.2px;
}

.shelf-header-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2px 7px;
    border-radius: 12px;
    white-space: nowrap;
}

.shelf-slider-container {
    position: relative;
}

.shelf-products-slider {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0.15rem 0.25rem 0.15rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.shelf-products-slider::-webkit-scrollbar {
    display: none;
}

/* Shelf Navigation Buttons (Prev / Next) */
.shelf-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.shelf-slider-container:hover .shelf-nav-btn {
    opacity: 1;
    pointer-events: auto;
}

.shelf-nav-btn.prev {
    left: -8px;
}

.shelf-nav-btn.next {
    right: -8px;
}

.shelf-nav-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-50%) scale(1.12);
}

.shelf-prod-card {
    min-width: 120px;
    max-width: 120px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.shelf-prod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.shelf-prod-thumb-box {
    width: 100%;
    height: 105px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.shelf-prod-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shelf-prod-meta {
    padding: 0.5rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.shelf-prod-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--slate-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shelf-prod-price {
    font-size: 0.84rem;
    font-weight: 800;
    color: #16a34a;
    white-space: nowrap !important;
    display: inline-block;
    letter-spacing: -0.2px;
}

/* 5. Fixed Mobile Bottom Navigation Bar */
.app-bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
}

.app-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    transition: all 0.15s ease;
    flex: 1;
}

.app-nav-tab i {
    font-size: 1.15rem;
}

.app-nav-tab.active,
.app-nav-tab:hover {
    color: var(--brand-blue);
}

/* ========================================================
   SEAMLESS 1-PAGE COMPACT MOBILE VIEWPORT (FIT ON 1 SCREEN)
   Fits all sections (Store info, 5 action buttons, search pill, 
   category slider, 16:9 banner, featured shelf) on 1 mobile screen
   without scrolling down and without removing any content.
======================================================== */
@media (max-width: 767px) {
    /* Main Layout & Container */
    body.detail-body {
        min-height: 100vh;
    }

    .detail-top-nav {
        padding: 0.4rem 0.75rem;
    }

    .top-nav-title {
        font-size: 0.95rem;
    }

    .btn-detail-back {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .detail-main-layout {
        padding: 0.35rem 0.5rem 54px 0.5rem;
    }

    .detail-content-card {
        padding: 0.65rem 0.65rem 0.45rem 0.65rem;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    }

    /* 1. Store Header & Square Profile Photo */
    .jd-app-header-grid {
        gap: 0.5rem;
        margin-bottom: 0.4rem;
        align-items: center;
    }

    .jd-app-place-title {
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .jd-app-title-line {
        margin-bottom: 0.12rem;
        gap: 0.35rem;
    }

    .jd-app-thumb-icon {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    .jd-app-rating-line {
        margin-bottom: 0.12rem;
        gap: 0.35rem;
    }

    .jd-app-score-pill {
        padding: 0.1rem 0.38rem;
        font-size: 0.7rem;
        gap: 0.2rem;
    }

    .jd-app-rating-count {
        font-size: 0.7rem;
    }

    .jd-app-city-verified-row {
        margin-bottom: 0.12rem;
        gap: 0.35rem;
    }

    .jd-app-locality-name {
        font-size: 0.72rem;
    }

    .jd-app-verified-badge {
        padding: 0.1rem 0.4rem;
        font-size: 0.65rem;
        gap: 0.2rem;
    }

    .jd-app-meta-line {
        gap: 0.35rem;
        font-size: 0.72rem;
    }

    .jd-meta-cat {
        font-size: 0.72rem;
    }

    .jd-open-timing-trigger {
        font-size: 0.7rem;
        gap: 0.2rem;
    }

    .jd-app-photo-square {
        width: 68px;
        height: 68px;
        border-radius: 12px;
    }

    .jd-photo-counter-overlay {
        font-size: 0.62rem;
        padding: 0.1rem 0.32rem;
        bottom: 3px;
        right: 3px;
    }

    /* 2. 5 Quick Action Buttons */
    .jd-app-action-grid {
        gap: 0.35rem;
        padding-bottom: 0.35rem;
        margin-bottom: 0;
    }

    .jd-app-btn-box {
        gap: 0.25rem;
    }

    .jd-app-icon-squircle {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 0.95rem;
    }

    .jd-app-btn-lbl {
        font-size: 0.65rem;
    }

    /* 3. Search in this Store Pill */
    .store-search-bar-wrap {
        margin-top: 0.25rem;
        margin-bottom: 0.15rem;
    }

    .store-search-pill {
        height: 34px;
        padding: 0 0.75rem;
        border-radius: 999px;
        gap: 0.45rem;
    }

    .store-search-pill i {
        font-size: 0.82rem;
    }

    .store-search-pill input {
        font-size: 0.78rem;
    }

    /* 4. Sliding Category Icons Bar */
    .store-cats-slide-wrap {
        margin-top: 0.2rem;
        margin-bottom: 0.35rem;
    }

    .store-cats-track {
        gap: 0.5rem;
        padding: 0.15rem 0.15rem 0.35rem 0.15rem;
    }

    .store-cat-item {
        min-width: 58px;
        padding: 0.35rem 0.4rem 0.3rem 0.4rem;
        border-radius: 10px;
        gap: 0.15rem;
    }

    .store-cat-icon-circle {
        height: 26px;
        font-size: 1.35rem;
    }

    .store-cat-icon-circle .cat-emoji {
        font-size: 1.35rem;
    }

    .store-cat-item span {
        font-size: 0.66rem;
    }

    /* 5. 16:9 Banner Carousel (Thick, Full 16:9 Aspect Ratio - Nothing Clipped/Cut-off) */
    .store-ads-carousel-wrap {
        margin-top: 0.35rem;
        margin-bottom: 0.55rem;
    }

    .store-ads-slider {
        border-radius: 16px;
    }

    .store-ad-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        aspect-ratio: 16 / 9;
        min-height: 175px;
        height: auto;
        padding: 1.15rem 1.25rem;
        border-radius: 16px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .store-ad-card.is-custom-img {
        padding: 0;
        background: #0f172a;
        overflow: hidden;
        aspect-ratio: 16 / 9;
        min-height: 175px;
        height: auto;
    }

    .store-ad-custom-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 16px;
    }

    .store-ad-badge {
        font-size: 0.68rem;
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 6px;
    }

    .store-ad-sub {
        font-size: 0.72rem;
    }

    .store-ad-heading {
        font-size: 1.15rem;
        font-weight: 800;
        margin: 0.2rem 0;
        line-height: 1.25;
    }

    .store-ad-deal {
        font-size: 0.85rem;
        font-weight: 700;
        color: #fef08a;
    }

    .store-ad-tag {
        font-size: 0.62rem;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .store-ads-dots {
        margin-top: 0.45rem;
        gap: 0.35rem;
    }

    .ad-dot {
        width: 6px;
        height: 6px;
    }

    .ad-dot.active {
        width: 16px;
    }

    /* 6. Featured Top Picks Shelf */
    .store-featured-shelf {
        padding: 0.4rem 0.5rem 0.35rem 0.5rem;
        margin-top: 0.2rem;
        margin-bottom: 0.15rem;
        border-radius: 12px;
    }

    .store-shelf-header {
        padding: 0.05rem 0.1rem 0.25rem 0.1rem;
        margin-bottom: 0.35rem;
    }

    .shelf-header-title {
        font-size: 0.8rem;
    }

    .shelf-header-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
    }

    .shelf-header-count {
        font-size: 0.65rem;
        padding: 1px 5px;
    }

    .shelf-products-slider {
        gap: 0.5rem;
        padding: 0.1rem 0.1rem 0.2rem 0.1rem;
    }

    .shelf-prod-card {
        min-width: 120px;
        max-width: 125px;
        border-radius: 12px;
    }

    .shelf-prod-thumb-box {
        height: 80px;
        padding: 0.35rem;
    }

    .shelf-prod-meta {
        padding: 0.35rem 0.5rem;
        gap: 0.12rem;
    }

    .shelf-prod-name {
        font-size: 0.72rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .shelf-prod-price {
        font-size: 0.8rem;
        font-weight: 800;
        color: #16a34a;
        white-space: nowrap !important;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: -0.2px;
    }

    /* 7. Bottom Fixed Nav Bar */
    .app-bottom-nav {
        height: 48px;
        padding: 0 0.5rem;
    }

    .app-nav-tab span {
        font-size: 0.62rem;
    }

    .app-nav-tab i {
        font-size: 1rem;
    }
}

/* ========================================================
   PROFESSIONAL DESKTOP & LARGE SCREEN RESPONSIVE STYLING
   (Strictly @media min-width: 992px to keep mobile 100% untouched)
======================================================== */
@media (min-width: 992px) {
    body.detail-body {
        background: radial-gradient(100% 100% at 50% 0%, #dbeafe 0%, #f1f5f9 40%, #f8fafc 100%);
    }

    .nav-content {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .detail-main-layout {
        padding: 2rem 2.5rem 3.5rem 2.5rem;
    }

    /* 100% Full-Width Desktop Showcase Container */
    .detail-container {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    .detail-content-card {
        border-radius: 24px;
        border: 1px solid #e2e8f0;
        padding: 2.25rem 3rem 2.25rem 3rem;
        box-shadow: 0 10px 35px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
        gap: 1.25rem;
        background: #ffffff;
        width: 100%;
    }

    /* JustDial Header Row on Desktop */
    .jd-app-header-top {
        gap: 2rem;
        align-items: center;
        padding-bottom: 0.5rem;
    }

    .jd-app-title {
        font-size: 1.75rem;
        letter-spacing: -0.3px;
    }

    .jd-app-photo-square {
        width: 110px;
        height: 110px;
        border-radius: 18px;
    }

    /* Desktop: Side-by-Side Action Buttons and Search Box covering full card width */
    .desktop-actions-search-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        padding-bottom: 0.85rem;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 0.35rem;
    }

    .jd-app-action-grid {
        display: flex;
        align-items: center;
        gap: 1.25rem;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
        flex-shrink: 0;
    }

    .jd-app-icon-squircle {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 1.25rem;
    }

    .jd-app-btn-lbl {
        font-size: 0.82rem;
        font-weight: 700;
    }

    /* Store Search Pill on Desktop: Expands cleanly side-by-side */
    .store-search-bar-wrap {
        flex: 1;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .store-search-pill {
        height: 48px;
        padding: 0.5rem 1.35rem;
        border-radius: 999px;
        background: #f8fafc;
        border: 1.5px solid #e2e8f0;
    }

    .store-search-pill input {
        font-size: 0.95rem;
    }

    /* Slide Categories Bar on Desktop */
    .store-cats-track {
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.5rem 0.25rem 0.65rem 0.25rem;
    }

    .store-cat-item {
        min-width: 90px;
        padding: 0.75rem 0.65rem 0.65rem 0.65rem;
    }

    .store-cat-icon-circle {
        width: auto;
        height: 44px;
        background: transparent !important;
        font-size: 2.25rem;
    }

    .store-cat-icon-circle .cat-emoji {
        font-size: 2.25rem;
    }

    .store-cat-item span {
        font-size: 0.82rem;
    }

    /* 16:9 Banner Carousel on Desktop: Exactly 3 banners side-by-side on 1 page with circular sliding */
    .store-ads-carousel-wrap {
        max-width: 100%;
        margin: 0.65rem 0 1rem 0;
        position: relative;
        padding: 0 4px;
    }

    .store-ads-slider {
        display: flex;
        gap: 1.15rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        border-radius: 18px;
        scroll-behavior: smooth;
        padding: 4px 2px;
    }

    .store-ads-slider::-webkit-scrollbar {
        display: none;
    }

    /* By default on Desktop: exactly 3 banners side-by-side filling 1 screen */
    .store-ad-card {
        flex: 0 0 calc((100% - (2 * 1.15rem)) / 3);
        min-width: calc((100% - (2 * 1.15rem)) / 3);
        max-width: calc((100% - (2 * 1.15rem)) / 3);
        width: calc((100% - (2 * 1.15rem)) / 3);
        scroll-snap-align: start;
        aspect-ratio: 16 / 9;
        min-height: unset;
        padding: 1.1rem 1.25rem;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .store-ad-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    }

    /* If only 1 banner exists */
    .store-ad-card:only-child {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }

    /* If exactly 2 banners exist */
    .store-ad-card:first-child:nth-last-child(2),
    .store-ad-card:first-child:nth-last-child(2) ~ .store-ad-card {
        flex: 0 0 calc((100% - 1.15rem) / 2);
        min-width: calc((100% - 1.15rem) / 2);
        max-width: calc((100% - 1.15rem) / 2);
        width: calc((100% - 1.15rem) / 2);
    }

    .store-ad-card.is-custom-img {
        padding: 0;
        background: #0f172a;
        overflow: hidden;
    }

    .store-ad-custom-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 16px;
    }

    .store-ad-heading {
        font-size: 1.05rem;
        line-height: 1.25;
        margin: 0.15rem 0 0.25rem 0;
    }

    .store-ad-sub {
        font-size: 0.72rem;
    }

    .store-ad-deal {
        font-size: 0.82rem;
    }

    .store-ad-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    .store-ads-nav-btn {
        width: 40px;
        height: 40px;
        background: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
        border: 1px solid #cbd5e1;
        opacity: 0.85;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .store-ads-carousel-wrap:hover .store-ads-nav-btn {
        opacity: 1;
    }

    .store-ads-nav-btn.prev {
        left: -14px;
    }

    .store-ads-nav-btn.next {
        right: -14px;
    }

    .store-ads-dots {
        display: flex;
        justify-content: center;
        margin-top: 0.55rem;
    }

    /* Square Box Products Shelf on Desktop: Horizontal Carousel Slider like Mobile */
    .store-featured-shelf {
        margin-top: 0.35rem;
        margin-bottom: 0.5rem;
    }

    .shelf-products-slider {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 1.15rem;
        overflow-x: auto;
        padding: 0.35rem 0.25rem 0.85rem 0.25rem;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }

    .shelf-products-slider::-webkit-scrollbar {
        height: 6px;
        display: block;
    }

    .shelf-products-slider::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 999px;
    }

    .shelf-products-slider::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

    .shelf-products-slider::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .shelf-prod-card {
        min-width: 160px;
        max-width: 160px;
        flex-shrink: 0;
        border-radius: 16px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .shelf-prod-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .shelf-prod-thumb-box {
        height: 140px;
    }

    .shelf-prod-name {
        font-size: 0.84rem;
    }

    .shelf-prod-price {
        font-size: 0.92rem;
        white-space: nowrap !important;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Hide Mobile Bottom App Bar on Desktop to Look Clean & Professional */
    .app-bottom-navbar {
        display: none;
    }
}

/* ================= STOREFRONT PRODUCT VIEWER MODAL ================= */
.detail-product-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.detail-product-modal-card {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.25s ease;
}

.detail-product-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.15rem;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.detail-modal-cat-badge {
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.btn-close-dpm {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 0.9rem;
    transition: all 0.15s;
}

.btn-close-dpm:hover {
    background: #fee2e2;
    color: #ef4444;
}

.detail-product-modal-body {
    padding: 0.95rem 1.15rem;
    overflow-y: auto;
    flex: 1;
}

.dpm-slider-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
}

.dpm-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: 220px;
    background: #f8fafc;
}

.dpm-slider-track::-webkit-scrollbar {
    display: none;
}

.dpm-slide-img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    scroll-snap-align: start;
}

.dpm-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
}

.dpm-slider-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.2s;
}

.dpm-slider-dots .dot.active {
    background: #2563eb;
    width: 16px;
    border-radius: 8px;
}

.dpm-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.dpm-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.dpm-stock-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.dpm-stock-pill.in {
    background: #dcfce7;
    color: #15803d;
}

.dpm-stock-pill.out {
    background: #fee2e2;
    color: #b91c1c;
}

.dpm-title {
    margin: 0 0 0.4rem 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.35;
}

.dpm-desc {
    margin: 0;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.5;
    white-space: pre-line;
}

.detail-product-modal-footer {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem 1.15rem;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
    flex-shrink: 0;
}

.btn-dpm-action {
    flex: 1;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: none;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.15s, opacity 0.15s;
}

.btn-dpm-action.chat {
    background: #2563eb;
    color: #ffffff;
}

.btn-dpm-action.call {
    background: #10b981;
    color: #ffffff;
}

.btn-dpm-action:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* ================= DESKTOP QUICK-VIEW 2-COLUMN VIEW (Zero Scroll, Perfectly Balanced) ================= */
@media (min-width: 768px) {
    .detail-product-modal-card {
        max-width: 760px;
        max-height: 85vh;
        border-radius: 20px;
    }

    .detail-product-modal-body {
        display: grid;
        grid-template-columns: 290px 1fr;
        gap: 1.4rem;
        align-items: start;
        padding: 1.25rem 1.4rem;
        overflow-y: auto;
    }

    .dpm-slider-wrap {
        margin-bottom: 0;
        width: 100%;
        height: 290px;
        display: flex;
        flex-direction: column;
    }

    .dpm-slider-track {
        height: 250px;
    }

    .dpm-slide-img {
        object-fit: contain;
        padding: 0.75rem;
    }

    .dpm-meta {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 290px;
    }

    .dpm-price-row {
        margin-bottom: 0.5rem;
    }

    .dpm-price {
        font-size: 1.55rem;
    }

    .dpm-title {
        font-size: 1.25rem;
        margin-bottom: 0.6rem;
    }

    .dpm-desc {
        font-size: 0.88rem;
        line-height: 1.6;
        max-height: 170px;
        overflow-y: auto;
        padding-right: 0.4rem;
        scrollbar-width: thin;
    }

    .dpm-desc::-webkit-scrollbar {
        width: 4px;
    }

    .dpm-desc::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    .detail-product-modal-footer {
        padding: 0.85rem 1.4rem;
        gap: 1rem;
    }
}

/* ================= STORE ALL PHOTOS GALLERY MODAL ================= */
.store-gallery-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.store-gallery-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 740px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    animation: slideUp 0.25s ease;
}

.store-gallery-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

.gallery-header-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.gallery-store-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.gallery-count-badge {
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-close-gallery {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.15s;
}

.btn-close-gallery:hover {
    background: #fee2e2;
    color: #ef4444;
}

.store-gallery-modal-body {
    padding: 1rem 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.gallery-sub-tip {
    margin: 0 0 0.85rem 0;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.store-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

@media (min-width: 600px) {
    .store-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.store-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.store-gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-gallery-item:hover .store-gallery-thumb {
    transform: scale(1.06);
}

.gallery-item-chip {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
}

.gallery-item-expand {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.2s ease;
}

.store-gallery-item:hover .gallery-item-expand {
    opacity: 1;
    transform: scale(1);
}

/* ================= FULLSCREEN HIGH-RES LIGHTBOX MODAL ================= */
.store-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 29, 0.96);
    backdrop-filter: blur(10px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.18s ease;
}

.store-lightbox-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    position: relative;
}

.lightbox-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem 0.75rem 0.5rem;
    z-index: 20;
}

.lightbox-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lightbox-store-name {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.lightbox-counter-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.lightbox-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-lightbox-icon {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.btn-lightbox-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.btn-lightbox-icon.close {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 1.1rem;
}

.btn-lightbox-icon.close:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* Center Stage with Big Image */
.lightbox-main-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0;
}

.lightbox-img-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.lightbox-img-wrapper img {
    max-width: 90vw;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
    animation: zoomInLight 0.25s ease-out;
}

@keyframes zoomInLight {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-arrow {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    transform: scale(1.1);
}

/* Bottom Thumbnail Filmstrip */
.lightbox-filmstrip-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.65rem 0.5rem;
    scrollbar-width: thin;
    max-width: 90vw;
    margin: 0 auto;
}

.lightbox-filmstrip-thumb {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.45;
    border: 2px solid transparent;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.lightbox-filmstrip-thumb:hover {
    opacity: 0.85;
}

.lightbox-filmstrip-thumb.active {
    opacity: 1;
    border-color: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    transform: scale(1.08);
}

/* ====================================================
   OFFICIAL STORE QR & SHARE STANDEE MODAL SUITE
   ==================================================== */
.m-submodal-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 99999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
}

.m-submodal-overlay.active {
    display: flex !important;
}

.m-submodal-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    width: 100% !important;
    max-width: 440px !important;
    max-height: 94vh !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    animation: mPortalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid #e2e8f0;
}

@keyframes mPortalPop {
    0% { opacity: 0; transform: scale(0.95) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.m-submodal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.35rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
    background: #ffffff;
}

.m-submodal-header h4 {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.btn-submodal-close {
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 1.25rem !important;
    cursor: pointer !important;
    padding: 0.25rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.18s ease;
}

.btn-submodal-close:hover {
    color: #ef4444 !important;
}

.qr-modal-body {
    padding: 0.65rem 1.25rem 0.5rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow-y: auto !important;
    flex: 1 1 auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: calc(94vh - 145px) !important;
    box-sizing: border-box;
}

/* Dedicated Pinned Action Footer */
.qr-modal-footer {
    padding: 0.85rem 1.25rem 1.1rem 1.25rem !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.qr-modal-footer .btn-qr-action.download {
    flex: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    background: #059669 !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    padding: 0.85rem 1.15rem !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
    white-space: nowrap !important;
}

.qr-modal-footer .btn-qr-action.download:hover {
    background: #047857 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4) !important;
}

.qr-modal-footer .btn-qr-action.share {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    padding: 0.85rem 0.95rem !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    white-space: nowrap !important;
}

.qr-modal-footer .btn-qr-action.share:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

/* Standee Card */
.qr-standee-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.15rem 1.15rem;
    width: 100%;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.standee-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed #cbd5e1;
}

.standee-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.standee-brand-pill i {
    font-size: 0.82rem;
    color: #93c5fd;
}

.standee-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid #a7f3d0;
}

.standee-store-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.75rem;
    width: 100%;
}

.standee-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    margin-bottom: 0.45rem;
    background: #f1f5f9;
}

.standee-store-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.15rem 0;
    line-height: 1.3;
    max-width: 100%;
    word-break: break-word;
}

.standee-store-meta {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* Standee QR Frame with Corner Brackets */
.standee-qr-frame {
    position: relative;
    padding: 10px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-corner-bracket {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: #2563eb;
    border-style: solid;
    pointer-events: none;
}

.qr-corner-bracket.top-left {
    top: 6px;
    left: 6px;
    border-width: 3px 0 0 3px;
    border-top-left-radius: 6px;
}

.qr-corner-bracket.top-right {
    top: 6px;
    right: 6px;
    border-width: 3px 3px 0 0;
    border-top-right-radius: 6px;
}

.qr-corner-bracket.bottom-left {
    bottom: 6px;
    left: 6px;
    border-width: 0 0 3px 3px;
    border-bottom-left-radius: 6px;
}

.qr-corner-bracket.bottom-right {
    bottom: 6px;
    right: 6px;
    border-width: 0 3px 3px 0;
    border-bottom-right-radius: 6px;
}

.standee-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px;
}

.standee-qr-box canvas,
.standee-qr-box img {
    display: block;
    max-width: 175px !important;
    height: auto !important;
    border-radius: 8px;
}

/* Footer Section of Standee */
.standee-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
}

.standee-scan-prompt {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.standee-scan-prompt i {
    color: #2563eb;
    font-size: 0.95rem;
}

/* Standee Link Box with Copy Button */
.standee-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    padding: 0.25rem 0.35rem 0.25rem 0.85rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.standee-link-row:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.standee-link-url {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: #2563eb;
    font-size: 0.76rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 600;
}

.standee-link-url:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.standee-link-url i {
    font-size: 0.75rem;
    color: #64748b;
    flex-shrink: 0;
}

.standee-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

.standee-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.standee-copy-btn:hover {
    background: #1d4ed8;
    transform: scale(1.03);
}

.standee-copy-btn.copied {
    background: #059669 !important;
    box-shadow: 0 1px 4px rgba(5, 150, 105, 0.35);
}

.standee-tagline {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}
