:root {
    --pink: #ff1f5f;
    --pink-dark: #df0b49;
    --text: #151515;
    --muted: #767676;
    --line: #eeeeee;
    --bg: #f5f5f5;
    --green: #278b78;
    --gold: #ffbc19;
}

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

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
}

img,
svg {
    display: block;
}

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

.lp-screen {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 104px;
    background: #ffffff;
    overflow-x: hidden;
}

.lp-gallery {
    background: #ffffff;
}

.lp-gallery__stage {
    position: relative;
    width: 100%;
    background: #f8f8f8;
}

.lp-gallery__stage img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.lp-gallery__counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    min-width: 42px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    text-align: center;
}

.lp-gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 10px 12px;
    scrollbar-width: none;
}

.lp-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.lp-thumb {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #f3f3f3;
}

.lp-thumb.is-active {
    border-color: var(--pink);
}

.lp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buy-summary {
    padding: 12px 12px 15px;
    border-top: 8px solid #f5f5f5;
    background: #ffffff;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    color: var(--pink);
}

.discount-tag {
    align-self: center;
    padding: 4px 7px;
    border-radius: 5px;
    background: var(--pink);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.currency {
    font-size: 16px;
    font-weight: 700;
}

.price-line strong {
    font-size: 34px;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: 0;
}

.coupon-icon {
    align-self: center;
    width: 22px;
    color: var(--pink);
}

.coupon-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.old-price {
    color: #8f8f8f;
    font-size: 16px;
    text-decoration: line-through;
}

.installment-line {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: #2e2e2e;
    font-size: 15px;
    line-height: 1.35;
}

.installment-line svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.installment-line strong {
    color: var(--pink);
    font-weight: 500;
}

.installment-line .chevron {
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: #999999;
}

.coupon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr) 16px;
    gap: 6px;
    align-items: center;
    margin-top: 12px;
}

.coupon-row button {
    min-width: 0;
    height: 32px;
    overflow: hidden;
    padding: 0 7px;
    border: 1px solid #ffd0dd;
    border-radius: 6px;
    color: var(--pink-dark);
    background: #fff9fb;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coupon-row button span {
    display: inline-block;
    width: 12px;
    height: 10px;
    margin-right: 5px;
    border-radius: 2px;
    background: currentColor;
    vertical-align: -1px;
}

.coupon-row svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #999999;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px;
    align-items: start;
    margin-top: 16px;
}

.title-row h1 {
    color: #111111;
    font-size: 18px;
    line-height: 1.16;
    font-weight: 750;
}

.title-row button {
    width: 28px;
    height: 32px;
    color: #111111;
}

.title-row svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: #333333;
    font-size: 15px;
    line-height: 1;
}

.star {
    color: var(--gold);
}

.rating-row strong {
    font-size: 16px;
}

.rating-row a {
    color: #2764ad;
}

.quick-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    border-top: 8px solid #f5f5f5;
    background: #ffffff;
    color: #1f1f1f;
    font-size: 16px;
}

.quick-line svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.earn-card {
    position: relative;
    margin-top: 8px;
    padding: 30px 14px 22px;
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.pull-mark {
    position: absolute;
    top: 10px;
    left: 50%;
    display: grid;
    gap: 2px;
    transform: translateX(-50%);
}

.pull-mark span {
    width: 14px;
    height: 8px;
    border-top: 2px solid #aaaaaa;
    border-left: 2px solid #aaaaaa;
    transform: rotate(45deg);
}

.earn-card h2 {
    color: #171717;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}

.earn-card h2 strong,
.earn-card a {
    color: var(--pink);
}

.earn-card a {
    display: inline-block;
    margin-top: 8px;
    font-size: 16px;
}

.section-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 13px 14px 0;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    scrollbar-width: none;
}

.section-tabs::-webkit-scrollbar {
    display: none;
}

.section-tabs a {
    position: relative;
    flex: 0 0 auto;
    padding-bottom: 13px;
    color: #666666;
    font-size: 15px;
    font-weight: 650;
    white-space: nowrap;
}

.section-tabs a.is-active {
    color: #111111;
}

.section-tabs a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: #111111;
}

.info-panel,
.offers-panel,
.creator-panel,
.description-gallery-panel,
.reviews-panel,
.shop-card,
.more-shop,
.description-panel {
    border-bottom: 8px solid #f5f5f5;
    background: #ffffff;
}

.info-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 16px 14px;
    border-bottom: 1px solid #f1f1f1;
}

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

.info-row > svg {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    fill: none;
    stroke: #4b4b4b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.info-row h2 {
    margin-bottom: 7px;
    color: #353535;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.info-row p {
    color: #4b4b4b;
    font-size: 14px;
    line-height: 1.35;
}

.info-row p strong,
.info-row .green {
    color: var(--green);
    font-weight: 600;
}

.info-row ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    color: #333333;
    font-size: 14px;
    line-height: 1.25;
    list-style: none;
}

.info-row li::before {
    content: "\2713";
    margin-right: 5px;
    color: #555555;
}

.arrow {
    color: #999999;
    font-size: 30px;
    line-height: 1;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 14px 12px;
}

.section-head h2 {
    color: #171717;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.section-head > span,
.section-head a {
    color: #888888;
    font-size: 14px;
    white-space: nowrap;
}

.section-head > span {
    font-size: 28px;
    line-height: 1;
}

.offer-scroll,
.creator-scroll,
.product-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 14px 18px;
    scrollbar-width: none;
}

.offer-scroll::-webkit-scrollbar,
.creator-scroll::-webkit-scrollbar,
.product-scroll::-webkit-scrollbar {
    display: none;
}

.offer-card {
    position: relative;
    width: 240px;
    min-height: 92px;
    flex: 0 0 auto;
    padding: 13px 14px;
    overflow: hidden;
    border-radius: 8px;
}

.offer-card.teal {
    background: #e9fbf6;
}

.offer-card.blush {
    background: #fff0f5;
}

.offer-card strong {
    display: block;
    color: #222222;
    font-size: 16px;
}

.offer-card p {
    max-width: 150px;
    margin-top: 6px;
    color: #595959;
    font-size: 13px;
    line-height: 1.2;
}

.offer-card button {
    position: absolute;
    right: 12px;
    bottom: 15px;
    padding: 7px 12px;
    border-radius: 5px;
    background: #22b9a8;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.offer-card.blush button {
    background: var(--pink);
}

.creator-scroll article {
    position: relative;
    width: 118px;
    height: 164px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #eeeeee;
}

.creator-scroll img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-scroll span {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 9px;
    overflow: hidden;
    color: #ffffff;
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.description-gallery-panel {
    padding-bottom: 14px;
}

.description-images {
    display: grid;
    gap: 10px;
    padding: 0 12px 4px;
}

.description-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #f5f5f5;
}

.reviews-panel {
    padding-bottom: 12px;
}

.reviews-panel .section-head h2 {
    font-size: 18px;
}

.review-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 10px;
    padding: 0 14px 16px;
}

.review-body {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cdb3a7;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.avatar.soft {
    background: #9aa6ac;
}

.review-stars {
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 13px;
    line-height: 1;
}

.review-stars span {
    color: #8d8d8d;
}

.review-card p:last-child {
    color: #202020;
    font-size: 15px;
    line-height: 1.24;
}

.review-card > img {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    object-fit: cover;
}

.store-review-tags {
    padding: 6px 14px 2px;
}

.store-review-tags h3 {
    margin-bottom: 12px;
    color: #171717;
    font-size: 19px;
    line-height: 1.2;
}

.store-review-tags div {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.store-review-tags div::-webkit-scrollbar {
    display: none;
}

.store-review-tags span {
    flex: 0 0 auto;
    padding: 8px 9px;
    border-radius: 6px;
    background: #fff9e8;
    color: #9b7a1e;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.shop-card {
    padding: 18px 14px;
}

.shop-card__main {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.shop-card__main img {
    width: 58px;
    height: 58px;
    padding: 7px;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    object-fit: contain;
}

.shop-card__main h2 {
    color: #171717;
    font-size: 18px;
    line-height: 1.2;
}

.shop-card__main p {
    margin-top: 4px;
    color: #777777;
    font-size: 14px;
}

.shop-card__main button {
    min-width: 86px;
    height: 38px;
    border-radius: 999px;
    background: var(--pink);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.shop-card__stats {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    color: #777777;
    font-size: 13px;
}

.shop-card__stats strong {
    color: #222222;
}

.product-scroll article {
    width: 118px;
    flex: 0 0 auto;
}

.product-scroll img {
    width: 118px;
    height: 118px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f1f1;
}

.product-scroll article strong {
    display: block;
    margin-top: 8px;
    color: #111111;
    font-size: 15px;
    line-height: 1;
}

.product-scroll article span {
    display: block;
    margin-top: 5px;
    color: var(--pink);
    font-size: 12px;
}

.coupon-product {
    min-height: 166px;
    padding: 18px 10px 12px;
    border-radius: 8px;
    background: #fff0f5;
}

.coupon-product strong {
    color: var(--pink) !important;
    font-size: 19px !important;
}

.coupon-product p {
    margin-top: 9px;
    color: #606060;
    font-size: 13px;
}

.coupon-product button {
    width: 100%;
    height: 34px;
    margin-top: 36px;
    border-radius: 999px;
    background: var(--pink);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.description-panel {
    padding: 20px 14px 26px;
}

.description-panel h2 {
    color: #171717;
    font-size: 20px;
    line-height: 1.2;
}

.description-panel h3 {
    margin-top: 18px;
    color: #222222;
    font-size: 16px;
}

.description-panel dl {
    margin-top: 14px;
}

.description-panel dl div {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid #f1f1f1;
}

.description-panel dt {
    color: #8a8a8a;
    font-size: 14px;
    line-height: 1.25;
}

.description-panel dd {
    color: #333333;
    font-size: 14px;
    line-height: 1.25;
}

.bottom-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 20;
    width: 100%;
    max-width: 430px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 52px 52px minmax(0, 1.05fr) minmax(0, 1.25fr);
    gap: 7px;
    align-items: center;
    padding: 10px 10px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid #eeeeee;
    background: #ffffff;
}

.mini-action {
    display: grid;
    place-items: center;
    gap: 3px;
    color: #111111;
    font-size: 12px;
    line-height: 1.1;
}

.mini-action svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-action,
.buy-action {
    min-height: 50px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 17px;
    line-height: 1.08;
    font-weight: 800;
}

.cart-action {
    background: #f1f1f1;
    color: #111111;
}

.buy-action {
    background: var(--pink);
    color: #ffffff;
}

@media (max-width: 390px) {
    .price-line strong {
        font-size: 31px;
    }

    .coupon-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.58fr) 14px;
    }

    .title-row h1 {
        font-size: 17px;
    }

    .cart-action,
    .buy-action {
        min-height: 48px;
        font-size: 16px;
    }

    .bottom-bar {
        grid-template-columns: 46px 46px minmax(0, 1fr) minmax(0, 1.24fr);
        gap: 6px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 350px) {
    .discount-tag,
    .old-price,
    .installment-line,
    .coupon-row button,
    .rating-row,
    .mini-action {
        font-size: 12px;
    }

    .price-line strong {
        font-size: 28px;
    }

    .section-tabs {
        gap: 18px;
        padding-left: 12px;
    }

    .section-tabs a {
        font-size: 14px;
    }

    .bottom-bar {
        grid-template-columns: 42px 42px minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 5px;
    }

    .cart-action,
    .buy-action {
        min-height: 46px;
        padding: 0 8px;
        font-size: 15px;
    }
}
