@font-face {
    font-family: Vazir;
    src: url(Vazir.ttf) format('truetype');
    font-display: swap
}

* {
    box-sizing: border-box
}

html {
    color-scheme: light
}

body {
    margin: 0;
    font: 15px/1.75 Vazir, Tahoma, sans-serif;
    color: #2b202a;
    background: radial-gradient(at 15% 25%, #f8dce2, transparent 40%), radial-gradient(at 80% 75%, #f8e0dc, transparent 40%), #f2edef
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

a,
button {
    touch-action: manipulation
}

button {
    cursor: pointer
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #6b457c;
    outline-offset: 2px
}

.app {
    max-width: 460px;
    min-height: 100dvh;
    margin: auto;
    background: radial-gradient(at 0 0, #ffdae1, transparent 26rem), linear-gradient(155deg, #fff9fa, #faf6f7 65%, #fff5f6);
    padding: 18px 17px 104px;
    box-shadow: 0 0 70px #69304716;
    position: relative
}

.top,
.row,
.section,
.card,
.nav,
.actions,
.mini {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.top,
.section,
.spread {
    justify-content: space-between
}

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

.logo {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #ff646f, #bc1235);
    box-shadow: inset 0 1px 3px #ffafb7, 0 6px 16px #d52b4936;
    color: white;
    border-radius: 16px;
    font: bold italic 22px Georgia
}

.brand b {
    font-size: 22px;
    line-height: 1.1;
    display: block
}

.brand small,
.eyebrow,
.latin {
    font: 700 9px/1.4 Arial;
    letter-spacing: 1.7px;
    color: #986a75
}

.glass,
.card,
.panel,
.cat,
.square,
.search,
details {
    background: linear-gradient(135deg, #fffffff2, #ffffffab);
    border: 1px solid #fff;
    border-radius: 19px;
    box-shadow: 0 5px 20px #69223509, inset 0 0 0 1px #6b273408;
    backdrop-filter: blur(14px)
}

.square {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #a62b49
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 26px;
    padding: 22px 19px;
    color: white;
    margin: 18px 0 14px;
    min-height: 187px;
    background: radial-gradient(at 13% 42%, #ff7187, transparent 45%), linear-gradient(115deg, #ee435c, #b9143a 75%, #940d30);
    box-shadow: inset 0 1px 2px #ffc6cf, 0 10px 22px #c91b4429
}

.hero img {
    position: absolute;
    width: 49%;
    left: -2%;
    top: 16%;
    z-index: -1
}

.hero:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: repeating-linear-gradient(120deg, transparent 0 23px, #ffffff06 24px 25px)
}

.hero .eyebrow {
    color: #ffced9
}

.hero h1 {
    font-size: clamp(22px, 6vw, 29px);
    line-height: 1.5;
    margin: 5px 0 10px
}

.hero a,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 30px;
    font-size: 12px;
    padding: 5px 11px;
    background: #ffffff23;
    border: 1px solid #ffffff58
}

.search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px
}

.search input {
    background: none;
    border: 0;
    min-width: 0;
    margin: 0
}

.search button {
    border: 0;
    background: none;
    color: #b82a4c
}

.section {
    margin: 23px 0 10px
}

.section h2,
h2 {
    font-size: 18px;
    margin: 0
}

.section a,
.link {
    color: #b52449;
    font-size: 12px
}

.cats,
.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px
}

.cat {
    text-align: center;
    padding: 11px 0 7px;
    font-size: 12px;
    font-weight: bold
}

.tile {
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, var(--light), #fff);
    color: var(--color);
    border: 1px solid #fff;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px #00000006;
    width: 50px;
    height: 50px;
    font-size: 21px;
    flex: none
}

.cat .tile {
    margin: 0 auto 4px;
    width: 40px;
    height: 40px
}

.k1 {
    --color: #bf395d;
    --light: #ffdce4
}

.k2 {
    --color: #287b9d;
    --light: #d9f4ff
}

.k3 {
    --color: #9d642a;
    --light: #ffe9cd
}

.k4 {
    --color: #46846e;
    --light: #dbf6e8
}

.strip,
.days {
    display: flex;
    overflow: auto;
    gap: 10px;
    scrollbar-width: thin;
    padding: 2px 1px 8px;
    scroll-snap-type: x proximity
}

.feature {
    flex: 0 0 69%;
    scroll-snap-align: start;
    background: linear-gradient(125deg, #fff, var(--light));
    border-radius: 22px;
    padding: 14px;
    border: 1px solid white;
    position: relative;
    overflow: hidden
}

.feature:after {
    content: '✦';
    font: 120px Georgia;
    color: var(--color);
    opacity: .07;
    position: absolute;
    bottom: -33px;
    left: 2px
}

.feature h3 {
    margin: 9px 0 0
}

.card,
.panel,
details {
    padding: 14px;
    margin: 9px 0
}

.card h3,
.panel h3 {
    font-size: 15px;
    margin: 1px 0
}

.card .info {
    flex: 1;
    min-width: 0
}

.card>i:last-child {
    font-size: 12px;
    color: #b48c96
}

.muted,
small {
    color: #756773;
    font-size: 12px
}

.money {
    font-weight: bold;
    color: #a21d40
}

.badge {
    color: #9c2746;
    background: #fff0f4;
    border: 1px solid #f4d4dc;
    font-size: 11px
}

.nav {
    max-width: 438px;
    width: calc(100% - 22px);
    position: fixed;
    bottom: max(9px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    justify-content: space-around;
    background: #fffc;
    border: 1px solid white;
    border-radius: 24px;
    padding: 7px;
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 25px #5e253827
}

.nav a {
    text-align: center;
    color: #81717a;
    flex: 1;
    font-size: 10px;
    padding: 5px;
    border-radius: 16px
}

.nav a i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px
}

.nav a.on {
    background: #ffe6ec;
    color: #b31841
}

.title {
    margin: 25px 0 12px
}

.title h1 {
    font-size: 24px;
    margin: 4px 0
}

.btn,
button.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #e84660, #b51741);
    color: white;
    border: 0;
    border-radius: 13px;
    padding: 9px 15px;
    font-weight: bold
}

.soft,
.days a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 12px;
    background: #fff1f4;
    color: #a12346;
    border: 1px solid #f1d8df;
    font-size: 12px
}

.days a {
    flex: none
}

.days a.on {
    background: #b61f46;
    color: white
}

.primary {
    width: 100%
}

input:not([type=checkbox]):not([type=radio]),
select,
textarea {
    width: 100%;
    border: 1px solid #e9dae0;
    border-radius: 12px;
    padding: 9px 11px;
    background: #fffc;
    color: #332533
}

.search input:not([type]) {
    border: 0;
    background: none
}

.form label {
    display: block;
    font-size: 13px;
    margin: 9px 0 4px
}

.form button.primary {
    margin-top: 12px
}

.two,
.metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px
}

.metrics .panel {
    margin: 0
}

.metrics b {
    display: block
}

.slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px
}

.slots input {
    position: absolute;
    opacity: 0
}

.slots span {
    display: block;
    text-align: center;
    padding: 6px;
    border-radius: 9px;
    border: 1px solid #efd8e0;
    background: #fff
}

.slots input:checked+span,
.slots input:focus-visible+span {
    background: #ab224a;
    color: white
}

.empty,
.flash {
    padding: 14px;
    border-radius: 15px;
    background: #fff4f6;
    font-size: 13px
}

.flash {
    background: #e7f6ed;
    color: #265638;
    margin-top: 13px
}

.error {
    background: #ffeaed;
    color: #9e2841
}

.actions,
.mini {
    flex-wrap: wrap
}

.mini input {
    max-width: 140px
}

.price {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px dashed #e8d9dd
}

.status {
    color: #ab2751;
    font-size: 12px
}

summary {
    cursor: pointer;
    font-weight: bold
}

hr {
    border: 0;
    border-top: 1px solid #f1e0e6;
    margin: 14px 0
}

.foot {
    text-align: center;
    margin-top: 24px;
    color: #9b7b86;
    font-size: 11px
}

p {
    margin: 8px 0
}

i.fa-solid {
    min-width: 1em
}

.noicons i[data-alt]:before {
    font: normal 1em Vazir;
    content: attr(data-alt)
}

@media(max-width:350px) {
    .app {
        padding-inline: 10px
    }

    .hero img {
        width: 44%;
        top: 26%
    }

    .cats {
        gap: 4px
    }
}