.star-map-premium-page {
    --spm-ink: #30251c;
    --spm-muted: #6e6256;
    --spm-oak: #9a6937;
    --spm-oak-dark: #5f3d20;
    --spm-cream: #f7f1e8;
    --spm-line: rgba(91, 59, 29, 0.15);
    background: #fffdf9;
    color: var(--spm-ink);
}

.spm-kicker {
    margin-bottom: 10px;
    color: var(--spm-oak);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.spm-hero {
    padding: 74px 0 68px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 8%, rgba(177, 125, 68, 0.18), transparent 32%),
        linear-gradient(145deg, #fffdf9 0%, #f5ecdf 100%);
    border-bottom: 1px solid var(--spm-line);
}

.spm-hero-content {
    max-width: 620px;
}

.spm-hero h1 {
    max-width: 680px;
    margin: 0 0 18px;
    color: var(--spm-ink);
    font-size: 49px;
    line-height: 1.06;
    font-weight: 850;
    letter-spacing: -0.8px;
}

.spm-hero-content > p {
    max-width: 590px;
    margin: 0 0 22px;
    color: var(--spm-muted);
    font-size: 17px;
    line-height: 1.63;
}

.spm-hero-price {
    display: inline-block;
    margin-bottom: 22px;
    padding: 14px 17px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--spm-line);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(80, 52, 27, 0.08);
}

.spm-hero-price span,
.spm-hero-price strong,
.spm-hero-price small {
    display: block;
}

.spm-hero-price span {
    margin-bottom: 2px;
    color: #807264;
    font-size: 12px;
    font-weight: 700;
}

.spm-hero-price strong {
    color: var(--spm-ink);
    font-size: 30px;
    line-height: 1.08;
    font-weight: 850;
}

.spm-hero-price small {
    margin-top: 5px;
    color: var(--spm-muted);
    font-size: 13px;
    font-weight: 650;
}

.spm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 18px;
}

.star-map-premium-page .smcp-btn-dark,
.star-map-premium-page .smcp-btn-dark:hover,
.star-map-premium-page .smcp-btn-dark:visited,
.star-map-premium-page .smcp-btn-dark:active {
    background: var(--spm-oak-dark);
    border-color: var(--spm-oak-dark);
}

.star-map-premium-page .smcp-btn-dark:hover {
    background: #462b17;
    border-color: #462b17;
}

.spm-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.spm-hero-benefits span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    color: #604b38;
    background: rgba(255, 255, 255, 0.67);
    border: 1px solid var(--spm-line);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.spm-hero-benefits span::before {
    width: 5px;
    height: 5px;
    margin-right: 7px;
    background: #a5733f;
    border-radius: 50%;
    content: '';
}

.spm-hero-visual {
    position: relative;
    display: flex;
    min-height: 580px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(236, 220, 199, 0.88)),
        #f3e9dc;
    border: 1px solid rgba(95, 61, 32, 0.14);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(72, 46, 24, 0.18);
}

.spm-hero-visual::before,
.spm-hero-visual::after {
    position: absolute;
    border: 1px solid rgba(115, 78, 43, 0.13);
    border-radius: 50%;
    content: '';
}

.spm-hero-visual::before {
    width: 380px;
    height: 380px;
}

.spm-hero-visual::after {
    width: 470px;
    height: 470px;
}

.spm-hero-visual img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 450px;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 20px 24px rgba(63, 40, 21, 0.16));
}

.spm-hero-visual-label {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    color: #fff;
    background: rgba(76, 48, 24, 0.9);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.spm-hero-placeholder {
    position: relative;
    z-index: 2;
    display: flex;
    width: 260px;
    height: 340px;
    align-items: center;
    justify-content: center;
    color: #a77744;
    border: 12px solid #8f6236;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    font-size: 58px;
}

.spm-value,
.spm-catalog,
.spm-story,
.spm-process,
.spm-gallery,
.spm-reviews {
    padding: 72px 0;
}

.star-map-premium-page .smcp-kicker {
    color: var(--spm-oak);
}

.star-map-premium-page .smcp-section-head h2 {
    color: var(--spm-ink);
}

.star-map-premium-page .smcp-section-head p {
    color: var(--spm-muted);
}

.spm-value {
    background: #fffdf9;
}

.spm-feature-grid,
.spm-product-grid,
.spm-process-grid {
    margin-right: -10px;
    margin-left: -10px;
}

.spm-feature-col,
.spm-product-col,
.spm-process-col {
    margin-bottom: 20px;
    padding-right: 10px;
    padding-left: 10px;
}

.spm-feature-card {
    height: 100%;
    padding: 24px 21px;
    background: #fff;
    border: 1px solid var(--spm-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(72, 46, 24, 0.06);
}

.spm-feature-number {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    color: #fff;
    background: var(--spm-oak-dark);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 850;
}

.spm-feature-card h3 {
    margin: 0 0 8px;
    color: var(--spm-ink);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 850;
}

.spm-feature-card p {
    margin: 0;
    color: var(--spm-muted);
    font-size: 14px;
    line-height: 1.53;
}

.spm-catalog {
    background: linear-gradient(180deg, #f5ede2 0%, #faf6ef 100%);
    border-top: 1px solid var(--spm-line);
    border-bottom: 1px solid var(--spm-line);
}

.spm-product-card {
    border-color: rgba(96, 61, 29, 0.17);
    box-shadow: 0 13px 34px rgba(72, 46, 24, 0.09);
}

.spm-product-image {
    background:
        radial-gradient(circle at 50% 43%, rgba(181, 132, 70, 0.14), transparent 56%),
        #f9f5ee;
}

.spm-product-badge {
    background: rgba(91, 56, 27, 0.93);
}

.spm-product-body {
    padding: 19px;
}

.spm-product-body h3 {
    color: var(--spm-ink);
    font-size: 18px;
}

.spm-product-body > p {
    color: var(--spm-muted);
}

.spm-format-list {
    display: grid;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 13px;
}

.spm-format-row {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 11px;
    background: #f8f4ed;
    border: 1px solid rgba(95, 61, 32, 0.11);
    border-radius: 10px;
}

.spm-format-row--featured {
    background: #f1e4d3;
    border-color: rgba(132, 87, 42, 0.18);
}

.spm-format-row span {
    color: #756656;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.spm-format-row strong {
    color: var(--spm-ink);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 850;
    text-align: right;
    white-space: nowrap;
}

.spm-format-row del {
    margin-right: 4px;
    color: #988b7f;
    font-size: 11px;
    font-weight: 600;
}

.spm-card-btn,
.spm-card-btn:hover,
.spm-card-btn:visited,
.spm-card-btn:active {
    background: var(--spm-oak-dark);
}

.spm-card-btn:hover {
    background: #462b17;
}

.spm-empty-state {
    max-width: 720px;
    margin: 0 auto;
    padding: 26px;
    color: var(--spm-muted);
    background: #fff;
    border: 1px solid var(--spm-line);
    border-radius: 15px;
    text-align: center;
}

.spm-story {
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(188, 139, 80, 0.23), transparent 35%),
        #30251c;
}

.spm-story-panel {
    max-width: 620px;
    padding-right: 28px;
}

.spm-story-panel h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 850;
}

.spm-story-panel p {
    margin: 0 0 21px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 15px;
    line-height: 1.65;
}

.spm-story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.spm-story-tags span {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.spm-spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.spm-spec-item {
    min-height: 146px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.spm-spec-item strong,
.spm-spec-item span {
    display: block;
}

.spm-spec-item strong {
    margin-bottom: 9px;
    color: #fff;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 850;
}

.spm-spec-item span {
    color: rgba(255, 255, 255, 0.69);
    font-size: 13px;
    line-height: 1.5;
}

.spm-process {
    background: #fffdf9;
}

.spm-process-card {
    position: relative;
    height: 100%;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--spm-line);
    border-radius: 15px;
}

.spm-process-card > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #fff;
    background: var(--spm-oak);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 850;
}

.spm-process-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--spm-ink);
    font-size: 16px;
    font-weight: 850;
}

.spm-process-card p {
    margin: 0;
    color: var(--spm-muted);
    font-size: 13px;
    line-height: 1.5;
}

.spm-gallery {
    background: #f4ebe0;
    border-top: 1px solid var(--spm-line);
    border-bottom: 1px solid var(--spm-line);
}

.spm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.spm-gallery-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    aspect-ratio: 4 / 5;
    background: #fff;
    border: 1px solid var(--spm-line);
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(72, 46, 24, 0.08);
}

.spm-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spm-reviews {
    background: #fffdf9;
}

.spm-reviews .spr-screenshots {
    margin-top: 0;
}

.spm-faq {
    background: #f7f1e8;
}

.spm-faq .smcp-faq-item {
    border-color: var(--spm-line);
}

.spm-faq .smcp-faq-item summary::after {
    color: var(--spm-oak);
}

.spm-final-cta {
    background: #fffdf9;
}

.spm-final-box {
    background:
        radial-gradient(circle at 100% 0, rgba(194, 146, 88, 0.23), transparent 34%),
        var(--spm-oak-dark);
    box-shadow: 0 20px 52px rgba(74, 46, 22, 0.22);
}

@media (max-width: 991.98px) {
    .spm-hero {
        padding: 58px 0 55px;
    }

    .spm-hero-content {
        max-width: none;
        margin-bottom: 30px;
        text-align: center;
    }

    .spm-hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .spm-hero h1 {
        max-width: 760px;
        margin-right: auto;
        margin-left: auto;
        font-size: 41px;
    }

    .spm-hero-actions,
    .spm-hero-benefits {
        justify-content: center;
    }

    .spm-hero-visual {
        min-height: 520px;
    }

    .spm-story-panel {
        max-width: none;
        margin-bottom: 28px;
        padding-right: 0;
        text-align: center;
    }

    .spm-story-tags {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .spm-hero {
        padding: 42px 0;
    }

    .spm-hero-content {
        text-align: left;
    }

    .spm-hero h1 {
        font-size: 33px;
        line-height: 1.1;
    }

    .spm-hero-content > p {
        font-size: 14px;
        line-height: 1.55;
    }

    .spm-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .spm-hero-actions .smcp-btn {
        width: 100%;
    }

    .spm-hero-benefits {
        justify-content: flex-start;
    }

    .spm-hero-benefits span {
        min-height: 28px;
        font-size: 11px;
    }

    .spm-hero-visual {
        min-height: 420px;
        padding: 25px 18px;
        border-radius: 20px;
    }

    .spm-hero-visual::before {
        width: 280px;
        height: 280px;
    }

    .spm-hero-visual::after {
        width: 350px;
        height: 350px;
    }

    .spm-hero-visual img {
        max-height: 370px;
    }

    .spm-value,
    .spm-catalog,
    .spm-story,
    .spm-process,
    .spm-gallery,
    .spm-reviews {
        padding: 44px 0;
    }

    .spm-feature-grid,
    .spm-product-grid,
    .spm-process-grid {
        margin-right: -6px;
        margin-left: -6px;
    }

    .spm-feature-col,
    .spm-product-col,
    .spm-process-col {
        margin-bottom: 12px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .spm-feature-card,
    .spm-process-card {
        padding: 18px 16px;
    }

    .spm-product-body {
        padding: 15px 13px;
    }

    .spm-product-body h3 {
        font-size: 16px;
    }

    .spm-product-body > p {
        display: block;
        font-size: 12px;
    }

    .spm-format-row {
        min-height: 44px;
        padding: 8px 9px;
    }

    .spm-format-row span {
        font-size: 11px;
    }

    .spm-format-row strong {
        font-size: 13px;
    }

    .spm-story-panel {
        text-align: left;
    }

    .spm-story-panel h2 {
        font-size: 28px;
    }

    .spm-story-tags {
        justify-content: flex-start;
    }

    .spm-spec-list {
        gap: 8px;
    }

    .spm-spec-item {
        min-height: 128px;
        padding: 16px 14px;
    }

    .spm-spec-item strong {
        font-size: 18px;
    }

    .spm-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .spm-gallery-item {
        border-radius: 11px;
    }
}

@media (max-width: 370px) {
    .spm-hero h1 {
        font-size: 30px;
    }

    .spm-spec-list {
        grid-template-columns: 1fr;
    }

    .spm-format-row {
        display: block;
    }

    .spm-format-row strong {
        display: block;
        margin-top: 3px;
        text-align: left;
    }
}
