:root {
    --font-body: Poppins, Arial, Helvetica, sans-serif;
    --font-title: "Plus Jakarta Sans", Poppins, Arial, Helvetica, sans-serif;
    --blue: #0057ae;
    --blue-2: #0057ae;
    --navy: #071f33;
    --navy-2: #06435c;
    --bg: #f5f9fd;
    --card: #ffffff;
    --line: #dce8f3;
    --line-2: #edf4fa;
    --muted: #6a7d91;
    --success: #12a66a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --shadow: 0 18px 36px rgba(7, 31, 51, 0.08);
    --soft-shadow: 0 8px 24px rgba(7, 31, 51, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at top left, rgba(0, 87, 174, 0.13), transparent 28rem),
        linear-gradient(180deg, #f7fbff 0%, var(--bg) 46%);
    color: var(--navy);
    font-family: var(--font-body);
    margin: 0;
}

body.is-busy {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
    max-width: 100%;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.screen-busy {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(7, 31, 51, 0.34);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 200;
}

.screen-busy > div {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 8px;
    justify-items: center;
    max-width: 320px;
    padding: 28px;
    text-align: center;
    width: 100%;
}

.screen-busy strong {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
}

.screen-busy p {
    color: var(--muted);
    margin: 0;
}

.busy-spinner {
    animation: busySpin 0.8s linear infinite;
    border: 4px solid #d7ecfb;
    border-radius: 999px;
    border-top-color: var(--blue);
    height: 42px;
    width: 42px;
}

@keyframes busySpin {
    to {
        transform: rotate(360deg);
    }
}

.phone-shell {
    margin: 0 auto;
    max-width: 480px;
    min-height: 100vh;
    padding: 24px 18px 108px;
}

.home-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.brand-logo {
    display: block;
    height: auto;
    margin: 0 auto 8px;
    max-width: 138px;
    width: 42vw;
}

.brand-logo-auth {
    max-width: 164px;
    width: 48vw;
}

.brand-logo-main {
    margin-left: 0;
    margin-right: 0;
    max-width: 118px;
    width: 32vw;
}

.auth-logo-header {
    display: block;
    text-align: center;
}

.eyebrow {
    color: var(--blue-2);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 4px;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3,
.eyebrow,
button,
.nav-item,
.badge,
.product-title,
.metric-value,
.hero-value {
    font-family: var(--font-title);
}

h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.08;
}

h2 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
}

h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.hidden,
.app-page {
    display: none !important;
}

.app-page.active {
    display: block !important;
}

.icon-button,
.filter-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--blue);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    height: 44px;
    justify-content: center;
    padding: 0 12px;
}

.hero-card {
    align-items: flex-end;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.20), transparent 48%),
        linear-gradient(135deg, #0057ae 0%, #0057ae 55%, #0057ae 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 26px;
    box-shadow: var(--shadow);
    color: #fff;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 16px;
    overflow: hidden;
    padding: 20px;
}

.auth-hero {
    align-items: flex-start;
    min-height: 142px;
}

.auth-hero strong {
    margin-top: 0;
}

.auth-switch {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 14px;
    padding: 6px;
}

.auth-switch button {
    background: transparent;
    border: 0;
    border-radius: 14px;
    color: var(--navy-2);
    font-size: 13px;
    font-weight: 900;
    min-height: 42px;
}

.auth-switch button.active {
    background: var(--blue);
    color: #fff;
}

.auth-panel:not(.active) {
    display: none !important;
}

.auth-panel.active {
    display: grid !important;
}

.link-button {
    background: transparent !important;
    color: var(--blue-2) !important;
    min-height: auto !important;
    padding: 4px 0 !important;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.84);
    margin-top: 8px;
}

.hero-card strong {
    display: block;
    font-size: 24px;
    line-height: 1.15;
    margin-top: 6px;
}

.hero-label {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    font-weight: 800;
}

.hero-action,
.product-card button,
.send-link,
.profile-card button,
.modal-actions button {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 16px;
    color: var(--blue-2);
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 42px;
    padding: 11px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.quick-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 20px;
}

.quick-grid article,
.form-card,
.product-card,
.analysis-card,
.profile-card,
.modal-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--soft-shadow);
}

.quick-grid article {
    padding: 16px;
}

.clickable-card {
    cursor: pointer;
}

.clickable-card:active {
    transform: translateY(1px);
}

.quick-grid span {
    color: var(--blue);
    display: block;
    font-size: 31px;
    font-weight: 900;
}

.home-metrics-grid span {
    font-size: clamp(20px, 7vw, 30px);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.referral-home-card {
    margin: 18px 0 24px;
    padding: 18px;
}

.referral-home-card h2 {
    margin-bottom: 6px;
}

.referral-home-card p {
    color: var(--muted);
    margin-bottom: 14px;
}

.page-head,
.section-title {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin: 10px 0 14px;
}

.page-head {
    margin-top: 4px;
}

.section-title button {
    background: transparent;
    border: 0;
    color: var(--blue-2);
    font-size: 13px;
    font-weight: 900;
    padding: 0;
}

.search-row {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 94px;
    margin-bottom: 14px;
}

.filter-button {
    gap: 6px;
}

.search-row input,
input,
select,
textarea {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    min-height: 48px;
    outline: none;
    padding: 11px 14px;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(18, 142, 203, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 87, 174, 0.12);
}

textarea {
    min-height: 88px;
}

.form-card {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding: 18px;
}

.form-card.compact {
    margin-top: 16px;
}

label {
    color: var(--navy);
    display: grid;
    font-size: 13px;
    font-weight: 900;
    gap: 7px;
    min-width: 0;
}

.form-card button {
    background: var(--blue);
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-weight: 700;
    min-height: 46px;
}

.check {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.check input {
    min-height: auto;
    width: auto;
}

.pills {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.pills button {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    min-height: 36px;
    padding: 0 14px;
    white-space: nowrap;
}

.pills .active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.product-grid {
    display: grid;
    gap: 13px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
}

.product-card {
    min-width: 0;
    padding: 13px;
}

.product-grid.compact .product-card:nth-child(n+3) {
    display: none;
}

.product-image {
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    color: #fff;
    display: flex;
    font-size: 31px;
    font-weight: 900;
    justify-content: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    width: 100%;
}

.product-photo {
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 24px;
    display: block;
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
    overflow: hidden;
    width: 100%;
}

.product-photo.is-cover {
    object-fit: cover;
}

.product-image.blue {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent),
        linear-gradient(135deg, #0057ae, var(--blue-2));
}

.tag {
    background: #ebf7fe;
    border-radius: 999px;
    color: var(--blue-2);
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
    padding: 4px 8px;
}

.product-card p {
    margin: 8px 0 4px;
}

.product-card strong {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
}

.product-card button {
    background: var(--blue);
    color: #fff;
    margin-top: 7px;
    width: 100%;
}

.product-card .secondary-action {
    background: #eef6fb;
    color: var(--navy-2);
}

.referral-stats-card {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 22px;
}

.referral-stats-card article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    padding: 15px;
}

.referral-stats-card span {
    color: var(--blue);
    display: block;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 6px;
}

.referral-stats-card p {
    font-size: 12px;
    font-weight: 800;
}

.account-tabs {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr;
    margin-bottom: 14px;
    padding: 6px;
}

.account-tabs button {
    background: transparent;
    border: 0;
    border-radius: 14px;
    color: var(--navy-2);
    font-size: 13px;
    font-weight: 900;
    min-height: 40px;
    padding: 0 10px;
    text-align: left;
}

.account-tabs button.active {
    background: var(--blue);
    color: #fff;
}

.account-panel {
    display: none;
}

.account-panel.active {
    display: block;
}

.product-detail-page {
    display: grid;
    gap: 14px;
}

.detail-back {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy-2);
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    justify-self: start;
    min-height: 40px;
    padding: 0 14px;
}

.detail-gallery {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    overflow: hidden;
    padding: 12px;
}

.detail-main-image {
    background: #f4f9fd;
    border: 0;
    border-radius: 20px;
    display: grid;
    min-height: 300px;
    overflow: hidden;
    padding: 0;
    place-items: center;
    position: relative;
    width: 100%;
}

.detail-main-image img {
    height: 300px;
    object-fit: contain;
    width: 100%;
}

.detail-main-image span {
    background: rgba(7, 31, 51, 0.72);
    border-radius: 999px;
    bottom: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 7px 10px;
    position: absolute;
    right: 12px;
}

.image-lightbox {
    align-items: center;
    background: rgba(2, 13, 24, 0.88);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    touch-action: pan-y;
    z-index: 80;
}

.image-lightbox img {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    max-height: 82vh;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 999px;
    color: var(--navy);
    display: inline-flex;
    height: 48px;
    justify-content: center;
    padding: 0;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    z-index: 82;
}

.lightbox-nav svg {
    fill: none;
    height: 28px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.8;
    width: 28px;
}

.lightbox-prev {
    left: 14px;
}

.lightbox-next {
    right: 14px;
}

.lightbox-counter {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    bottom: 22px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    left: 50%;
    padding: 8px 13px;
    position: fixed;
    transform: translateX(-50%);
    z-index: 82;
}

.lightbox-close {
    background: #fff;
    border: 0;
    border-radius: 999px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    padding: 10px 14px;
    position: fixed;
    right: 18px;
    top: 18px;
    z-index: 81;
}

.detail-thumbs {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 10px;
}

.detail-thumbs button {
    background: #f7fbff;
    border: 2px solid transparent;
    border-radius: 14px;
    height: 72px;
    overflow: hidden;
    padding: 0;
}

.detail-thumbs button.active {
    border-color: var(--blue);
}

.detail-thumbs img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.detail-video {
    aspect-ratio: 16 / 9;
    background: #dcecf7;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--soft-shadow);
    overflow: hidden;
}

.detail-video iframe,
.detail-video video {
    border: 0;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.detail-price-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.detail-variants {
    display: grid;
    gap: 10px;
}

.detail-variants > strong {
    font-size: 13px;
}

.variant-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.variant-list button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 900;
    gap: 7px;
    min-height: 42px;
    padding: 0 12px;
}

.variant-list button.active {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 87, 174, 0.12);
    color: var(--blue-2);
}

.color-dot {
    background: var(--dot-color);
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(8, 33, 54, 0.18);
    display: inline-block;
    height: 17px;
    width: 17px;
}

.detail-price-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    padding: 14px;
}

.detail-price-grid span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 6px;
}

.detail-price-grid strong {
    color: var(--blue-2);
    display: block;
    font-size: 19px;
    line-height: 1.15;
}

.detail-price-grid article:nth-child(2) strong {
    color: var(--success);
}

.detail-primary {
    background: var(--blue);
    border: 0;
    border-radius: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    min-height: 52px;
    width: 100%;
}

.analysis-list {
    display: grid;
    gap: 12px;
}

.analysis-card {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 15px;
}

.analysis-card > div {
    min-width: 0;
}

.analysis-card p,
.analysis-card strong {
    overflow-wrap: anywhere;
}

.analysis-card .status {
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

.analysis-card.approved .status {
    color: var(--success);
}

.analysis-card.pending .status {
    color: var(--warning);
}

.send-link {
    background: var(--blue);
    color: #fff;
    justify-self: stretch;
    min-height: 46px;
}

.payment-waiting {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.inline-link {
    background: transparent;
    border: 0;
    color: var(--blue);
    display: inline;
    font: inherit;
    font-weight: 700;
    padding: 0;
    text-decoration: underline;
}

.form-card .inline-link,
.check .inline-link {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--blue);
    min-height: 0;
    padding: 0;
}

.pre-analysis-card,
.approved-card,
.terms-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.pre-analysis-card {
    align-items: center;
    min-height: 72vh;
    text-align: center;
}

.pre-analysis-card video {
    aspect-ratio: 1 / 1;
    border: 0;
    display: block;
    max-width: 270px;
    object-fit: contain;
    width: 82%;
}

.pre-analysis-card h2,
.approved-card h2,
.terms-card h2 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.08;
    margin: 0;
}

.pre-analysis-card p,
.pre-analysis-card small,
.approved-card p,
.terms-card p {
    color: var(--muted);
    margin: 0;
}

.analysis-progress {
    background: #e5f2fb;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
    width: 100%;
}

.analysis-progress span {
    background: linear-gradient(90deg, var(--blue), var(--success));
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .25s ease;
    width: 0;
}

.approved-card {
    text-align: center;
}

.approved-card canvas {
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.approved-card img {
    justify-self: center;
    max-height: 260px;
    object-fit: contain;
    width: min(100%, 320px);
}

.approved-values {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.approved-values article {
    background: #f4faff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    text-align: left;
}

.approved-values span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 6px;
}

.approved-values strong {
    color: var(--blue-2);
    display: block;
    font-size: 22px;
}

.approved-values article:nth-child(2) strong {
    color: var(--success);
}

.approved-card > button,
.primary-action {
    background: var(--blue);
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-weight: 700;
    min-height: 46px;
    padding: 0 16px;
    width: 100%;
}

.terms-card {
    line-height: 1.55;
}

.payment-modal {
    display: grid;
    gap: 12px;
}

.payment-link-row {
    align-items: stretch;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 52px;
    min-width: 0;
}

.payment-link-row input {
    background: #f7fbff;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--navy);
    font: inherit;
    font-size: 13px;
    min-width: 0;
    padding: 0 12px;
}

.copy-icon-button {
    align-items: center;
    background: var(--blue);
    border: 0;
    border-radius: 16px;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    padding: 0;
}

.profile-card {
    align-items: center;
    display: grid;
    justify-items: center;
    padding: 28px 18px;
    text-align: center;
}

.profile-card span {
    align-items: center;
    background: linear-gradient(135deg, var(--blue), var(--navy-2));
    border-radius: 24px;
    color: #fff;
    display: flex;
    font-size: 34px;
    font-weight: 900;
    height: 86px;
    justify-content: center;
    margin-bottom: 14px;
    width: 86px;
}

.profile-card button {
    background: var(--blue);
    color: #fff;
    margin-top: 18px;
}

.account-form {
    align-items: stretch;
    gap: 12px;
    justify-items: stretch;
    text-align: left;
}

.account-form > span,
.account-form > h3,
.account-form > p {
    justify-self: center;
    text-align: center;
}

.account-form input[readonly] {
    background: #eef6fb;
    color: var(--muted);
}

.two-fields {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(74px, 82px);
}

.account-form .secondary-action {
    background: #eef6fb;
    color: var(--blue-2);
    margin-top: 0;
}

.bottom-nav {
    align-items: center;
    background: var(--blue);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    bottom: 10px;
    box-shadow: 0 -12px 30px rgba(0, 87, 174, 0.22);
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(5, 1fr);
    left: 50%;
    max-width: 480px;
    padding: 10px 12px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    z-index: 20;
}

.bottom-nav a {
    align-items: center;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 700;
    gap: 3px;
    justify-content: center;
    min-height: 42px;
    text-decoration: none;
}

.bottom-nav a[data-nav="home"] {
    grid-column: 1;
}

.bottom-nav a[data-nav="catalog"] {
    grid-column: 2;
}

.bottom-nav a[data-nav="analyses"] {
    grid-column: 4;
}

.bottom-nav a[data-nav="account"] {
    grid-column: 5;
}

.nav-icon,
.cart-icon {
    display: inline-flex;
    line-height: 1;
}

.nav-icon {
    font-size: 21px;
}

.bottom-nav a.active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.bottom-nav a.primary {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(0, 29, 69, 0.24);
    color: var(--blue);
    height: 54px;
    left: calc(50% - 27px);
    margin: 0;
    min-height: 54px;
    position: absolute;
    top: -18px;
    width: 54px;
    z-index: 2;
}

.cart-icon {
    font-size: 25px;
}

.modal {
    align-items: flex-end;
    background: rgba(8, 32, 51, 0.46);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 14px;
    position: fixed;
    z-index: 40;
}

.modal-card {
    max-height: 92vh;
    max-width: 480px;
    overflow-y: auto;
    padding: 16px;
    position: relative;
    width: 100%;
}

.modal-close {
    background: #eef6fb;
    border: 0;
    border-radius: 999px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    padding: 9px 12px;
    position: absolute;
    right: 14px;
    top: 14px;
}

.modal-visual {
    height: 150px;
    margin-top: 38px;
}

.modal-visual .product-photo {
    height: 150px;
    margin-bottom: 0;
}

.spec-box {
    background: #f7fbff;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-top: 14px;
    padding: 14px;
}

.spec-box strong {
    display: block;
    margin-bottom: 6px;
}

.modal-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.modal-actions button {
    background: var(--blue);
    color: #fff;
}

.modal-actions .pix-cancel-button,
.modal-actions .secondary-action {
    background: #edf3f8;
    color: var(--navy);
}

#pixConfirmModal .modal-actions {
    display: grid;
    gap: 10px;
}

#pixConfirmModal #confirmPixBtn {
    background: var(--blue);
    color: #fff;
    order: 1;
}

#pixConfirmModal .pix-cancel-button {
    background: #edf3f8;
    color: var(--navy);
    margin-top: 0;
    order: 2;
}

.toast {
    background: var(--navy);
    border-radius: 14px;
    bottom: 84px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    left: 50%;
    max-width: 440px;
    padding: 12px 14px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    z-index: 50;
}

.empty {
    background: #fff;
    border: 1px dashed #bfd7e9;
    border-radius: 18px;
    padding: 16px;
}

@media (min-width: 760px) {
    .phone-shell {
        padding-top: 34px;
    }

    .analysis-card {
        align-items: center;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .send-link {
        justify-self: end;
    }
}
