/* ============================================================
   CITYGO – Arabic RTL Mobile App
   Font: Tajawal (Google Fonts)
   Gold palette: #C99A45 / #795C29 / #503E1C
   ============================================================ */

:root {
    --gold-pre: #C99A45;
    --gold-normal: #A17B37;
    --gold-dark: #3C2E15;
    --gold-darker: #140F07;
    --gold-light: #F5E8C8;
    --gold-bg: #FDFAF4;
    --gray-text: #535353;
    --gray-dark: #1C1C1C;
    --gray-border: #F5F3F3;
    --gray-mid: #E8E4E4;
    --gray-light: #F9F9F9;
    --white: #FFFFFF;
    --danger: #C94545;
    --success: #45C980;
    --inactive: #9B9B9B;
    --font-main: 'Zain', 'Noto Sans Arabic', sans-serif;
    --font-btn: 'Noto Sans Arabic', 'Zain', sans-serif;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --shadow-card: 0px 4px 16px rgba(0, 0, 0, 0.07);
    --shadow-btn: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}


/* ---------- RESET ---------- */

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

html,
body {
    font-family: 'Tajawal', sans-serif;
    background: #EDE6D6;
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
}

button {
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
}

input,
select,
textarea {
    font-family: 'Tajawal', sans-serif;
}


/* ============================================================
   PAGE BACKGROUND
   ============================================================ */

.page-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: radial-gradient(ellipse at top, #f5ecd5 0%, #ddd0b0 100%);
}


/* ============================================================
   PHONE WRAP + SHELL
   ============================================================ */

.phone-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-shell {
    position: relative;
    width: 390px;
    height: 844px;
    background: #FFFFFF;
    border-radius: 52px;
    overflow: hidden;
    /* Realistic phone border */
    box-shadow: 0 0 0 1px #3a3a3a, 0 0 0 10px #1a1a1a, 0 0 0 11px #2e2e2e, 0 30px 80px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}


/* Dynamic island */

.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 34px;
    background: #0d0d0d;
    border-radius: 20px;
    z-index: 100;
}


/* ============================================================
   STATUS BAR
   ============================================================ */

.sbar {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 6px;
    flex-shrink: 0;
    background: #fff;
    position: relative;
    z-index: 10;
}

.sbar-time {
    font-weight: 700;
    font-size: 15px;
    color: #0a0a0a;
    padding-right: 2px;
}

.sbar-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #0a0a0a;
    padding-left: 2px;
}


/* ============================================================
   TOP NAV HEADER
   ============================================================ */

.topnav {
    width: 100%;
    height: 54px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
    border-bottom: 1px solid #f0e8d6;
    z-index: 9;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-dark {
    font-weight: 900;
    font-size: 22px;
    color: #503E1C;
    letter-spacing: 0.5px;
}

.logo-gold {
    font-weight: 900;
    font-size: 22px;
    color: #C99A45;
    letter-spacing: 0.5px;
}

.icon-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1C1C1C;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s;
}

.icon-btn:hover {
    background: #f5f0e8;
}


/* ============================================================
   MAIN SCROLL AREA
   ============================================================ */

.main-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #FAFAFA;
}

.main-scroll::-webkit-scrollbar {
    display: none;
}

.pb-nav {
    height: 80px;
}


/* ============================================================
   GREETING
   ============================================================ */

.greeting {
    padding: 18px 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: #fff;
}

.greeting-name {
    font-weight: 700;
    font-size: 18px;
    color: #795C29;
    text-align: right;
}

.greeting-sub {
    font-weight: 400;
    font-size: 13px;
    color: #888;
    text-align: right;
}


/* ============================================================
   STATS STRIP
   ============================================================ */

.stats-strip {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-around;
    margin: 12px 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0e8d6;
    padding: 14px 8px;
    box-shadow: 0 2px 10px rgba(201, 154, 69, .08);
}

.stat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
}

.stat-n {
    font-weight: 800;
    font-size: 22px;
    color: #1c1c1c;
    line-height: 1;
}

.stat-l {
    font-size: 10px;
    font-weight: 400;
    color: #888;
    text-align: center;
    line-height: 1.3;
}

.vdiv {
    width: 1px;
    height: 32px;
    background: #f0e8d6;
    flex-shrink: 0;
}

.vdiv-sm {
    width: 1px;
    height: 26px;
    background: #f0e8d6;
    flex-shrink: 0;
}

.gold {
    color: #795C29 !important;
}


/* ============================================================
   CTA BUTTONS ROW
   ============================================================ */

.cta-row {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    padding: 0 16px 14px;
}

.btn-filled-gold,
.btn-outline-gold {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 10px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-filled-gold:hover,
.btn-outline-gold:hover {
    opacity: .85;
}

.btn-filled-gold {
    background: linear-gradient(90deg, #503E1C, #795C29);
    color: #fff;
}

.btn-outline-gold {
    background: #fff;
    color: #795C29;
    border: 2px solid #C99A45;
}


/* ============================================================
   SECTION HEADER
   ============================================================ */

.sec-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 6px 20px;
}

.sec-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row-reverse;
}

.sec-title {
    font-weight: 700;
    font-size: 16px;
    color: #1c1c1c;
}

.badge-count {
    background: #795C29;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 20px;
}

.see-all {
    font-size: 12px;
    color: #C99A45;
    cursor: pointer;
    text-decoration: underline;
}


/* ============================================================
   PARTNER CHIP
   ============================================================ */

.partner-chip {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 6px;
    padding: 4px 20px 10px;
}

.chip-tag {
    background: #fdf7ed;
    border: 1px solid #C99A45;
    color: #795C29;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
}

.chip-city {
    font-size: 12px;
    color: #888;
}

.chip-pin {
    font-size: 14px;
    color: #888;
}


/* ============================================================
   HORIZONTAL SCROLL CARDS
   ============================================================ */

.hscroll {
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
    padding: 0 20px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hscroll::-webkit-scrollbar {
    display: none;
}

.hcard {
    flex-shrink: 0;
    width: 188px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0e8d6;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
    transition: transform .15s;
    cursor: pointer;
}

.hcard:hover {
    transform: translateY(-2px);
}

.hcard-img {
    width: 100%;
    height: 108px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px;
}

.festival-bg {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}

.restaurant-bg {
    background: linear-gradient(135deg, #2d1b00, #5a3800, #8B6914);
}

.premium-bg {
    background: linear-gradient(135deg, #503E1C, #795C29, #C99A45);
}

.hbadge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
}

.hbadge-event {
    background: rgba(121, 92, 41, .9);
}

.hbadge-discount {
    background: rgba(192, 57, 43, .9);
}

.hbadge-premium {
    background: rgba(80, 62, 28, .9);
}

.fav-btn {
    background: rgba(255, 255, 255, .85);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #535353;
    flex-shrink: 0;
    cursor: pointer;
    transition: color .15s, transform .15s;
}

.fav-btn:active {
    transform: scale(.9);
}

.hcard-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.hcard-title {
    font-weight: 700;
    font-size: 14px;
    color: #1c1c1c;
    text-align: right;
}

.hcard-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #888;
    flex-direction: row-reverse;
}

.hcard-meta i {
    font-size: 12px;
    color: #795C29;
}

.btn-card-outline,
.btn-card-filled {
    width: 100%;
    padding: 7px 10px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-card-outline:hover,
.btn-card-filled:hover {
    opacity: .85;
}

.btn-card-outline {
    background: #fff;
    color: #795C29;
    border: 2px solid #C99A45;
}

.btn-card-filled {
    background: linear-gradient(90deg, #503E1C, #795C29);
    color: #fff;
    border: none;
}


/* ============================================================
   MY CARD ITEMS
   ============================================================ */

.mycard-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    margin: 0 16px 10px;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    cursor: pointer;
    transition: box-shadow .15s;
}

.mycard-item:hover {
    box-shadow: 0 4px 16px rgba(201, 154, 69, .15);
}

.mycard-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.mycard-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.usage-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.usage-n {
    font-weight: 800;
    font-size: 20px;
    color: #1c1c1c;
}

.usage-l {
    font-size: 10px;
    color: #888;
}

.mycard-name {
    font-weight: 700;
    font-size: 16px;
    color: #1c1c1c;
}

.mycard-rem {
    font-size: 13px;
    color: #888;
}

.rem-val {
    color: #795C29;
    font-weight: 800;
    font-size: 16px;
}

.rem-lab {
    font-size: 12px;
}

.mycard-exp {
    font-size: 11px;
    color: #aaa;
}


/* ============================================================
   PREMIUM PILL
   ============================================================ */

.premium-pill {
    display: inline-block;
    background: linear-gradient(90deg, #503E1C, #C99A45);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: .5px;
}


/* ============================================================
   EXPLORE BANNER
   ============================================================ */

.explore-banner {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    margin: 4px 16px 14px;
    background: linear-gradient(135deg, #503E1C, #795C29, #C99A45);
    border-radius: 14px;
    padding: 16px 16px;
    cursor: pointer;
    transition: opacity .2s;
}

.explore-banner:hover {
    opacity: .9;
}

.exp-icon {
    font-size: 28px;
    color: rgba(255, 255, 255, .6);
}

.exp-arrow {
    font-size: 22px;
    color: rgba(255, 255, 255, .7);
}

.exp-text {
    flex: 1;
    padding: 0 12px;
    text-align: right;
}

.exp-title {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.exp-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
}


/* ============================================================
   ACTIVITY LIST
   ============================================================ */

.activity-list {
    padding: 0 16px;
}

.act-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f0e8;
}

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

.act-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: #fdf7ed;
    color: #795C29;
}

.act-body {
    flex: 1;
    text-align: right;
}

.act-title {
    font-weight: 700;
    font-size: 14px;
    color: #1c1c1c;
}

.act-desc {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.act-time {
    font-size: 10px;
    color: #aaa;
    white-space: nowrap;
    flex-shrink: 0;
}


/* ============================================================
   BOTTOM NAV
   ============================================================ */

.bottom-nav {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-around;
    padding: 8px 0 18px;
    background: #fff;
    border-top: 1px solid #f0e8d6;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    flex: 1;
    padding: 4px;
    border-radius: 10px;
    transition: background .15s, transform .12s;
}

.nav-item:hover {
    background: #fdf7ed;
}

.nav-item i {
    font-size: 22px;
    color: #aaa;
    transition: color .15s;
}

.nav-item span {
    font-size: 10px;
    color: #aaa;
    font-weight: 500;
}

.nav-item.active i {
    color: #795C29;
}

.nav-item.active span {
    color: #795C29;
    font-weight: 700;
}

.nav-item.active::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: #795C29;
    border-radius: 50%;
    margin-top: 2px;
}


/* ============================================================
   OVERLAY SCREENS
   ============================================================ */

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.overlay.open {
    display: flex;
}

.oframe {
    width: 390px;
    height: 844px;
    background: #FAFAFA;
    border-radius: 52px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #3a3a3a, 0 0 0 10px #1a1a1a, 0 0 0 11px #2e2e2e, 0 30px 80px rgba(0, 0, 0, .4);
    display: flex;
    flex-direction: column;
    animation: slideIn .25s ease-out;
}

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


/* Inner header */

.inner-header {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 52px;
    background: #fff;
    border-bottom: 1px solid #f0e8d6;
    flex-shrink: 0;
}

.inner-title {
    font-weight: 700;
    font-size: 17px;
    color: #1c1c1c;
}

.back-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: #1c1c1c;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


/* Overlay scroll area */

.oscroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.oscroll::-webkit-scrollbar {
    display: none;
}


/* ============================================================
   TAB BAR
   ============================================================ */

.tab-bar {
    display: flex;
    flex-direction: row-reverse;
    border-bottom: 1px solid #f0e8d6;
    background: #fff;
    flex-shrink: 0;
}

.tab {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all .15s;
}

.tab.active-tab {
    color: #503E1C;
    border-bottom-color: #503E1C;
    font-weight: 700;
}


/* ============================================================
   SUB CARD (MY CARDS SCREEN)
   ============================================================ */

.sub-card {
    margin: 14px 16px 0;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.gold-border {
    border-color: #C99A45;
    box-shadow: 0 4px 16px rgba(201, 154, 69, .15);
}

.sub-card-head {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.sub-name {
    font-weight: 700;
    font-size: 17px;
    color: #1c1c1c;
}

.sub-stats-row {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #f0e8d6;
    border-bottom: 1px solid #f0e8d6;
    margin-bottom: 12px;
}

.sub-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.ss-val {
    font-weight: 800;
    font-size: 22px;
    color: #1c1c1c;
}

.ss-lab {
    font-size: 11px;
    color: #888;
}

.sub-footer {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sub-rem {
    font-size: 13px;
    color: #888;
}

.sub-exp {
    font-size: 11px;
    color: #aaa;
}

.btn-full-outline {
    width: 100%;
    padding: 11px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    background: #fff;
    color: #795C29;
    border: 2px solid #C99A45;
    cursor: pointer;
    transition: background .15s;
}

.btn-full-outline:hover {
    background: #fdf7ed;
}


/* ============================================================
   TICKET
   ============================================================ */

.ticket {
    margin: 16px 16px 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0e8d6;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

.ticket-top {
    background: linear-gradient(135deg, #503E1C, #795C29, #C99A45);
    padding: 20px 18px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.tick-discount {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-weight: 900;
    font-size: 30px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, .3);
}

.tick-logo {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.tick-qr {
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}

.tick-sep {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: #fff;
}

.tick-hole {
    width: 20px;
    height: 20px;
    background: #FAFAFA;
    border-radius: 50%;
    flex-shrink: 0;
}

.tick-hole-r {
    margin-right: -10px;
}

.tick-hole-l {
    margin-left: -10px;
}

.tick-dashes {
    flex: 1;
    border-top: 2px dashed #f0e8d6;
}

.ticket-bot {
    padding: 14px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.tick-code {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 1px;
}

.tick-name {
    font-weight: 700;
    font-size: 20px;
    color: #1c1c1c;
}

.tick-tag {
    display: inline-block;
    background: #fdf7ed;
    color: #795C29;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid #C99A45;
}

.tick-loc {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: row-reverse;
}

.tick-price {
    font-weight: 900;
    font-size: 26px;
    color: #795C29;
}


/* ============================================================
   INFO CARD (reusable detail block)
   ============================================================ */

.info-card {
    margin: 12px 16px 0;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 14px;
    padding: 14px 16px;
}

.info-title {
    font-weight: 700;
    font-size: 15px;
    color: #1c1c1c;
    text-align: right;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-direction: row-reverse;
}

.info-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f0e8;
}

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

.info-key {
    font-size: 13px;
    color: #888;
}

.info-val {
    font-size: 13px;
    color: #1c1c1c;
    font-weight: 700;
}

.terms-p {
    font-size: 13px;
    color: #888;
    line-height: 1.9;
    text-align: right;
}

.green-badge {
    background: #e8f8ef;
    color: #27AE60;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid #27AE60;
}

.map-box {
    background: #f0f4f8;
    border-radius: 10px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #888;
}

.btn-open-map {
    background: #795C29;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    cursor: pointer;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: 14px;
    color: #1c1c1c;
    justify-content: flex-end;
    border-bottom: 1px solid #f5f0e8;
}

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

.contact-row i {
    font-size: 17px;
}


/* ============================================================
   MAIN FULL BUTTON
   ============================================================ */

.btn-main-full {
    display: block;
    width: calc(100% - 32px);
    margin: 14px 16px 0;
    padding: 14px;
    background: linear-gradient(90deg, #503E1C, #C99A45);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-main-full:hover {
    opacity: .85;
}


/* ============================================================
   ORDER CARD
   ============================================================ */

.order-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 14px;
    margin: 14px 16px 0;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    transition: box-shadow .15s;
}

.order-card:hover {
    box-shadow: 0 4px 16px rgba(201, 154, 69, .14);
}

.order-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.order-price {
    font-weight: 800;
    font-size: 20px;
    color: #795C29;
}

.order-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.order-num {
    font-size: 11px;
    color: #aaa;
}

.order-name {
    font-weight: 700;
    font-size: 15px;
    color: #1c1c1c;
}

.order-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
    flex-direction: row-reverse;
}


/* ============================================================
   STATUS CHIP
   ============================================================ */

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 14px 16px 4px;
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    flex-direction: row-reverse;
}

.status-done {
    background: #e8f8ef;
    color: #27AE60;
    border: 1px solid #27AE60;
}


/* HELP ROW */

.help-row {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    margin: 12px 16px 0;
}

.btn-whatsapp,
.btn-help-out {
    flex: 1;
    padding: 11px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-whatsapp:hover,
.btn-help-out:hover {
    opacity: .85;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-help-out {
    background: #fff;
    color: #795C29;
    border: 2px solid #C99A45;
}


/* ============================================================
   REPORTS
   ============================================================ */

.filter-chips {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    padding: 12px 16px;
    flex-wrap: wrap;
}

.fchip {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #f0e8d6;
    background: #fff;
    color: #888;
    cursor: pointer;
    transition: all .15s;
}

.fchip.active-fchip {
    background: #fdf7ed;
    color: #795C29;
    border-color: #C99A45;
}

.rep-top {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    padding: 0 16px;
}

.rep-card {
    flex: 1;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.rep-n {
    font-weight: 900;
    font-size: 30px;
    color: #795C29;
}

.rep-l {
    font-size: 12px;
    color: #888;
}

.rep-big-n {
    font-weight: 900;
    font-size: 36px;
    color: #795C29;
}

.savings-banner {
    margin: 12px 16px 0;
    background: linear-gradient(135deg, #503E1C, #C99A45);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

.sav-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    text-align: right;
}

.sav-val {
    font-weight: 900;
    font-size: 28px;
    color: #fff;
    text-align: right;
}

.bar-row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.bar-lbl {
    font-size: 13px;
    color: #888;
    width: 55px;
    text-align: right;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: #f0e8d6;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #795C29;
    border-radius: 4px;
    transition: width .6s ease;
}

.bar-2 {
    background: #A17B37;
}

.bar-3 {
    background: #C99A45;
}

.bar-pct {
    font-size: 12px;
    font-weight: 700;
    color: #795C29;
    width: 32px;
    text-align: left;
}

.insight-row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f0e8;
    font-size: 14px;
    color: #1c1c1c;
    cursor: pointer;
}

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


/* ============================================================
   SUBSCRIPTIONS
   ============================================================ */

.city-tabs {
    display: flex;
    flex-direction: row-reverse;
    border-bottom: 1px solid #f0e8d6;
    background: #fff;
}

.ctab {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all .15s;
}

.ctab.active-ctab {
    color: #503E1C;
    border-bottom-color: #503E1C;
    font-weight: 700;
}

.sub-mini-stats {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
}

.mini-stat {
    background: #fdf7ed;
    border: 1px solid #f0e8d6;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ms-n {
    font-weight: 700;
    font-size: 15px;
    color: #795C29;
}

.ms-l {
    font-size: 10px;
    color: #888;
}

.plans-title {
    font-weight: 700;
    font-size: 15px;
    color: #1c1c1c;
    padding: 8px 20px;
    text-align: right;
}

.plan-box {
    margin: 0 16px 12px;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 14px;
    padding: 16px;
}

.plan-box-plus {
    border-color: #2D7AB5;
}

.plan-box-prem {
    background: linear-gradient(135deg, #503E1C, #795C29, #C99A45);
    border: none;
}

.plan-box-elite {
    border-color: #503E1C;
}

.plan-head {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.plan-name {
    font-weight: 900;
    font-size: 20px;
    color: #1c1c1c;
}

.plan-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.pb-popular {
    background: #fdf7ed;
    color: #795C29;
    border: 1px solid #C99A45;
}

.pb-plus {
    background: #e8f4fd;
    color: #2D7AB5;
}

.pb-prem {
    background: rgba(255, 255, 255, .25);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
}

.plan-desc {
    font-size: 13px;
    color: #888;
    text-align: right;
    margin-bottom: 8px;
}

.plan-price {
    font-weight: 900;
    font-size: 22px;
    color: #795C29;
    text-align: right;
    margin-bottom: 10px;
}

.plan-partners-chips {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ppc {
    font-size: 12px;
    color: #888;
    background: #f5f0e8;
    border-radius: 20px;
    padding: 3px 10px;
}

.btn-plan-out,
.btn-plan-fill,
.btn-plan-prem,
.btn-plan-elite {
    width: 100%;
    padding: 11px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-plan-out {
    background: #fff;
    color: #795C29;
    border: 2px solid #C99A45;
}

.btn-plan-fill {
    background: linear-gradient(90deg, #1C3A50, #2D7AB5);
    color: #fff;
}

.btn-plan-prem {
    background: rgba(255, 255, 255, .9);
    color: #503E1C;
}

.btn-plan-elite {
    background: linear-gradient(90deg, #503E1C, #795C29);
    color: #fff;
}

.btn-plan-out:hover,
.btn-plan-fill:hover,
.btn-plan-prem:hover,
.btn-plan-elite:hover {
    opacity: .85;
}

.partner-logos {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    padding: 4px 16px 14px;
    flex-wrap: wrap;
}

.plogo {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 13px;
    color: #1c1c1c;
}

.cart-sticky-bar {
    margin: 0 16px 12px;
    background: linear-gradient(90deg, #503E1C, #C99A45);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.csb-total {
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
}

.csb-btn {
    background: #fff;
    color: #795C29;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity .2s;
}

.csb-btn:hover {
    opacity: .85;
}


/* ============================================================
   CART
   ============================================================ */

.cart-subtitle {
    font-size: 14px;
    color: #888;
    padding: 12px 20px 6px;
    text-align: right;
}

.cart-item-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    margin: 0 16px 10px;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 14px;
    padding: 14px;
}

.del-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #C0392B;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform .15s;
}

.del-btn:hover {
    transform: scale(1.1);
}

.cic-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.cic-name {
    font-weight: 700;
    font-size: 16px;
    color: #1c1c1c;
}

.cic-price {
    font-size: 13px;
    color: #888;
}

.form-grp {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 10px;
}

.form-lbl {
    font-size: 12px;
    color: #888;
}

.form-inp {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #f0e8d6;
    border-radius: 10px;
    font-size: 14px;
    color: #1c1c1c;
    text-align: right;
    background: #fafafa;
    outline: none;
    transition: border-color .15s;
}

.form-inp:focus {
    border-color: #C99A45;
}

.form-row2 {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
}

.promo-row {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    align-items: center;
}

.promo-inp {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #f0e8d6;
    border-radius: 10px;
    font-size: 14px;
    text-align: right;
    background: #fafafa;
    outline: none;
    transition: border-color .15s;
}

.promo-inp:focus {
    border-color: #C99A45;
}

.btn-apply {
    background: #795C29;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s;
}

.price-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
}

.price-key {
    font-size: 14px;
    color: #888;
}

.price-val {
    font-size: 14px;
    color: #1c1c1c;
    font-weight: 700;
}

.price-divider {
    height: 1px;
    background: #f0e8d6;
    margin: 4px 0;
}


/* ============================================================
   PARTNERS SCREEN
   ============================================================ */

.pcard {
    margin: 14px 16px 0;
    background: #fff;
    border: 1px solid #f0e8d6;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    transition: transform .15s;
}

.pcard:hover {
    transform: translateY(-2px);
}

.pcard-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pcard-emoji {
    font-size: 42px;
}

.pcard-disc {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(192, 57, 43, .9);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.pcard-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.pcard-name {
    font-weight: 700;
    font-size: 17px;
    color: #1c1c1c;
}

.pcard-sub {
    font-size: 13px;
    color: #888;
}

.pcard-phone {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}


/* ============================================================
   ACCOUNT
   ============================================================ */

.profile-row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border-bottom: 1px solid #f0e8d6;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #503E1C, #C99A45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.profile-name {
    font-weight: 700;
    font-size: 18px;
    color: #1c1c1c;
}

.profile-email {
    font-size: 13px;
    color: #888;
}

.why-row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f0e8;
}

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

.why-icon {
    font-size: 26px;
    color: #795C29;
    flex-shrink: 0;
}

.why-row>div {
    flex: 1;
    text-align: right;
}

.why-t {
    font-weight: 700;
    font-size: 15px;
    color: #1c1c1c;
}

.why-s {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}


/* ============================================================
   RESPONSIVE – on small screens fill the viewport
   ============================================================ */

@media (max-width: 500px) {
    .page-bg {
        padding: 0;
        background: #fff;
        align-items: flex-start;
    }
    .phone-wrap {
        width: 100vw;
        height: 100svh;
    }
    .phone-shell {
        width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    .overlay {
        position: fixed;
        background: rgba(0, 0, 0, .5);
    }
    .oframe {
        width: 100vw;
        height: 100svh;
        border-radius: 0;
        box-shadow: none;
    }
    .dynamic-island {
        display: none;
    }
}


/* ============================================
   SIDE DRAWER
   ============================================ */

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: none;
    backdrop-filter: blur(2px);
}

.drawer-overlay.open {
    display: block;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 201;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
}

.side-drawer.open {
    right: 0;
}

.drawer-header {
    background: var(--gold-dark);
    padding: 32px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.drawer-avatar {
    width: 52px;
    height: 52px;
    background: rgba(201, 154, 69, 0.25);
    border: 2px solid var(--gold-pre);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold-pre);
    margin-bottom: 4px;
}

.drawer-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.drawer-nav {
    flex: 1;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-dark);
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-border);
    transition: background 0.2s;
}

.drawer-link i {
    font-size: 18px;
    color: var(--gold-pre);
}

.drawer-link.active {
    color: var(--gold-pre);
    background: var(--gold-bg);
}

.drawer-link:hover {
    background: var(--gray-light);
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-border);
}

@media (min-width: 501px) and (max-width: 900px) {
    .page-bg {
        padding: 20px;
    }
}
