/*
 * Single product page (/product/<slug>/): larger, higher-contrast text,
 * benefit chips, a more premium buy box, and a stronger related section.
 *
 * Loaded only on single products. The CDN caches by path and ignores ?ver=,
 * so bump the .vN suffix to publish changes.
 */

/* ─── Breadcrumb (current item failed contrast at #64748b) ─── */
.mx-product-item-crumb {
    font-size: 0.9375rem;
    color: #475569;
}

/* ─── Category eyebrow: bigger, colour-coded chip instead of grey micro-caps ── */
.mx-product-item-cat {
    padding: 5px 12px;
    font-size: 0.875rem;
    letter-spacing: 0.07em;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.mx-product-item-cat[data-cat='seo'] {
    color: #4338ca;
    background: #eef2ff;
    border-color: #e0e7ff;
}

.mx-product-item-cat[data-cat='woocommerce'] {
    color: #7e22ce;
    background: #faf5ff;
    border-color: #f3e8ff;
}

.mx-product-item-cat[data-cat='local-seo'] {
    color: #0e7490;
    background: #ecfeff;
    border-color: #cffafe;
}

.mx-product-item-cat[data-cat='digital-commerce'] {
    color: #047857;
    background: #ecfdf5;
    border-color: #d1fae5;
}

.mx-product-item-cat[data-cat='booking'] {
    color: #be123c;
    background: #fff1f2;
    border-color: #ffe4e6;
}

.mx-product-item-title {
    font-size: clamp(1.75rem, 3vw, 2.15rem);
    letter-spacing: -0.02em;
}

.mx-product-item-tagline {
    font-size: 1.0625rem;
    color: #475569;
}

/* ─── Benefit chips under the title — the "hook" ─── */
.mx-product-item-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.mx-product-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mx-product-chip--free {
    color: #15803d;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.mx-product-chip--free::before {
    content: '';
    width: 7px;
    height: 7px;
    margin-right: 7px;
    background: #22c55e;
    border-radius: 999px;
}

/* ─── Buy box ─── */
.mx-product-item-purchase {
    border-radius: 22px;
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.1);
}

.mx-product-item-pricebox .mx-product-price-main {
    font-size: 2.375rem;
    letter-spacing: -0.02em;
}

/* The term renders as an uppercase pill via a body-scoped rule; match its
   specificity so the label is legible. */
body.single-product .mx-product-item-pricebox .mx-product-price-term {
    font-size: 0.875rem;
}

.mx-product-price-range-hint {
    font-size: 0.875rem;
    color: #475569;
}

.mx-license-picker-label {
    font-size: 0.875rem;
    color: #475569;
}

/* ─── License options: clearer selected state + a badge on the popular tier ─── */
.mx-license-option-body {
    position: relative;
}

.mx-license-option-name {
    font-size: 1rem;
    font-weight: 700;
}

.mx-license-option-amount {
    font-size: 1.15rem;
}

.mx-license-option-term {
    font-size: 0.875rem;
    color: #475569;
}

/* Demo tab credential labels (uppercase eyebrows) were 11.5px */
.mx-product-demo-tab-label {
    font-size: 0.8125rem;
    color: #475569;
}

.mx-license-option-perks li {
    font-size: 0.875rem;
    color: #334155;
}

.mx-license-option.is-selected .mx-license-option-body {
    border-color: #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.16);
}

.mx-license-option.is-featured .mx-license-option-body {
    border-color: #fbbf24;
}

.mx-license-option.is-featured .mx-license-option-name::after {
    content: 'Popular';
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #78350f;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    border-radius: 999px;
    vertical-align: middle;
}

/* ─── Trust list ─── */
.mx-product-item-trust li {
    font-size: 0.9375rem;
}

/* ─── Tabs: readable panel copy ─── */
.mx-product-changelog-date {
    font-weight: 600;
    color: #475569;
}

.mx-product-screenshot-count {
    color: #475569;
}

/* ─── "More from MiroSeo": bland grid → premium cards ─── */
.mx-product-item-related h2 {
    font-size: 1.625rem;
}

.mx-product-item-related-card {
    gap: 10px;
    padding: 22px 22px 20px;
    border-radius: 18px;
}

.mx-product-item-related-card:hover {
    border-color: #6366f1;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
    transform: translateY(-3px);
}

.mx-product-item-related-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mx-product-item-related-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-size: 1.5rem;
    background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.mx-product-item-related-cat {
    padding: 4px 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.mx-product-item-related-cat[data-cat='seo'] { color: #4338ca; background: #eef2ff; border-color: #e0e7ff; }
.mx-product-item-related-cat[data-cat='woocommerce'] { color: #7e22ce; background: #faf5ff; border-color: #f3e8ff; }
.mx-product-item-related-cat[data-cat='local-seo'] { color: #0e7490; background: #ecfeff; border-color: #cffafe; }
.mx-product-item-related-cat[data-cat='digital-commerce'] { color: #047857; background: #ecfdf5; border-color: #d1fae5; }
.mx-product-item-related-cat[data-cat='booking'] { color: #be123c; background: #fff1f2; border-color: #ffe4e6; }

.mx-product-item-related-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.mx-product-item-related-tagline {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #475569;
}

.mx-product-item-related-go {
    margin-top: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4338ca;
}

.mx-product-item-related-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.mx-product-item-related-card:hover .mx-product-item-related-arrow {
    transform: translateX(4px);
}

@media (max-width: 560px) {
    .mx-product-item-pricebox .mx-product-price-main {
        font-size: 2rem;
    }
}
