:root {
    color-scheme: light;
    --bg: #f5f7f9;
    --surface: #ffffff;
    --surface-soft: #f9fafb;
    --text: #17202a;
    --muted: #667085;
    --border: #e4e7ec;
    --primary: #1570ef;
    --primary-dark: #175cd3;
    --positive: #067647;
    --positive-bg: #ecfdf3;
    --warning: #b54708;
    --warning-bg: #fffaeb;
    --danger: #b42318;
    --danger-bg: #fef3f2;
    --neutral-bg: #f2f4f7;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow: 0 14px 40px rgba(16, 24, 40, 0.07);
    --shadow-sm: 0 6px 18px rgba(16, 24, 40, 0.06);
    --focus-ring: 0 0 0 4px rgba(21, 112, 239, 0.14);
    --control-height: 44px;
    --font-public: "Vazirmatn Variable", "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
    font-family: var(--font-public);
}

* {
    box-sizing: border-box;
}

button,
input,
select,
textarea,
optgroup {
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-public);
    font-synthesis: none;
}

body {
    margin: 0;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 22px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 17px;
}

.brand small {
    color: var(--muted);
    font-size: 11px;
    margin-top: -3px;
}

.site-header__promise {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.product-page {
    padding-block: 26px 56px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 16px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.hero-card,
.section-card,
.decision-card,
.explanation-card,
.trust-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-card {
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.45fr);
    gap: 34px;
    padding: 30px;
}

.product-visual {
    min-height: 360px;
    display: grid;
    place-items: center;
    background: var(--surface-soft);
    border-radius: 20px;
    overflow: hidden;
}

.product-visual img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    padding: 26px;
}

.product-visual__placeholder {
    width: 126px;
    height: 126px;
    border-radius: 38px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: var(--primary);
    font-size: 64px;
    font-weight: 800;
}

.product-summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.eyebrow span,
.eyebrow a,
.fresh-badge,
.verdict-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--neutral-bg);
    color: #475467;
    font-size: 11px;
    font-weight: 700;
}

.product-summary h1 {
    margin: 0;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.35;
    letter-spacing: normal;
}

.variant-title {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
}


.selected-variant-context {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    padding: 14px 15px;
    border: 1px solid #d1e9ff;
    border-radius: 14px;
    background: #f8fbff;
}

.selected-variant-context > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.selected-variant-context > strong {
    color: #1849a9;
    font-size: 14px;
}

.selected-variant-context__attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.selected-variant-context__attributes small {
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: 9px;
    font-weight: 700;
}

.selected-variant-context p {
    margin: 2px 0 0;
    color: #667085;
    font-size: 10px;
}

.variant-picker {
    margin-top: 21px;
}

.variant-picker__heading {
    display: grid;
    gap: 2px;
    margin-bottom: 9px;
}

.variant-picker__label {
    font-size: 12px;
    color: #344054;
    font-weight: 800;
}

.variant-picker__heading small {
    color: var(--muted);
    font-size: 10px;
}

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

.variant-chip {
    min-width: 0;
    display: grid;
    gap: 3px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    padding: 10px 11px;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.variant-chip strong {
    color: #344054;
    font-size: 11px;
}

.variant-chip > span {
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.variant-chip > small {
    color: var(--primary-dark);
    font-size: 9px;
    font-weight: 800;
}

.variant-chip:hover,
.variant-chip.is-selected {
    border-color: var(--primary);
    background: #eff8ff;
    box-shadow: 0 5px 14px rgba(21, 112, 239, .08);
}

.best-price {
    display: grid;
    gap: 2px;
    margin-top: 26px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: #f4f8ff;
    border: 1px solid #d1e9ff;
}

.best-price__label {
    color: #475467;
    font-size: 12px;
}

.best-price strong {
    color: #1849a9;
    font-size: 29px;
    line-height: 1.45;
}

.best-price__coverage {
    color: var(--muted);
    font-size: 12px;
}

.best-price small {
    color: #475467;
    font-size: 11px;
    font-weight: 700;
}

.product-primary-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    margin-top: 12px;
}

.product-buy-primary,
.product-compare-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 800;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.product-buy-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}

.product-buy-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.product-compare-action {
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid #b2ddff;
}

.product-compare-action:hover {
    background: #eff8ff;
}

.product-buy-note {
    margin: 7px 2px 0;
    color: var(--muted);
    font-size: 10px;
}

.last-updated {
    color: var(--muted);
    font-size: 11px;
    margin: 10px 2px 0;
}

.price-watch {
    margin-top: 16px;
    display: grid;
    gap: 7px;
}

.price-watch__button {
    width: 100%;
    min-height: 46px;
    border: 1px solid #b2ddff;
    border-radius: 13px;
    background: #eff8ff;
    color: var(--primary-dark);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.price-watch__button:hover:not(:disabled) {
    border-color: var(--primary);
    background: #dbeafe;
}

.price-watch__button.is-active {
    border-color: #abefc6;
    background: var(--positive-bg);
    color: var(--positive);
}

.price-watch__button:disabled {
    cursor: wait;
    opacity: .65;
}

.price-watch p {
    margin: 0 2px;
    color: var(--muted);
    font-size: 10px;
}

.status-callout {
    display: grid;
    gap: 3px;
    margin-top: 20px;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: 12px;
}

.status-callout--muted {
    background: var(--neutral-bg);
    color: #475467;
}

.status-callout--warning {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid #fedf89;
}

.market-signal-panel {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.market-signal-panel__heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 14px;
}

.market-signal-panel__heading h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.45;
}

.market-signal-panel__heading > a {
    flex: 0 0 auto;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
}

.market-signal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.market-signal {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
}

.market-signal > span,
.market-signal > small {
    color: var(--muted);
    font-size: 10px;
}

.market-signal > strong {
    font-size: 15px;
    line-height: 1.5;
}

.market-signal--positive {
    border-color: #abefc6;
    background: var(--positive-bg);
}

.market-signal--positive > strong {
    color: var(--positive);
}

.market-signal--warning {
    border-color: #fedf89;
    background: var(--warning-bg);
}

.market-signal--warning > strong {
    color: var(--warning);
}

.market-signal--danger {
    border-color: #fecdca;
    background: var(--danger-bg);
}

.market-signal--danger > strong {
    color: var(--danger);
}

.market-savings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 12px 0 0;
    padding: 11px 13px;
    border-radius: 12px;
    background: #f8fbff;
    color: #475467;
    font-size: 11px;
}

.market-savings strong {
    color: var(--primary-dark);
    font-size: 13px;
    white-space: nowrap;
}

.decision-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 18px;
    margin-top: 18px;
}

.decision-card,
.explanation-card {
    border-radius: var(--radius-lg);
    padding: 25px;
}

.decision-card--positive {
    background: linear-gradient(145deg, #f6fffa 0%, #ffffff 70%);
    border-color: #abefc6;
}

.decision-card--warning {
    background: linear-gradient(145deg, #fffaf0 0%, #ffffff 70%);
    border-color: #fedf89;
}

.decision-card--danger {
    background: linear-gradient(145deg, #fff6f5 0%, #ffffff 70%);
    border-color: #fecdca;
}

.decision-card--neutral,
.decision-card--muted {
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 70%);
}

.decision-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.section-kicker {
    display: block;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 5px;
}

.decision-card h2,
.explanation-card h2,
.section-heading h2 {
    margin: 0;
    line-height: 1.45;
}

.decision-card h2 {
    font-size: 26px;
}

.decision-card > p {
    color: #475467;
    font-size: 13px;
    margin: 12px 0;
}

.decision-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.decision-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

.decision-links a:hover {
    border-color: #b2ddff;
    color: var(--primary-dark);
}

.score {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    background: #fff;
    border: 6px solid #b2ddff;
    box-shadow: 0 7px 20px rgba(16, 24, 40, .07);
}

.score strong {
    font-size: 22px;
    line-height: 1;
}

.score span {
    color: var(--muted);
    font-size: 9px;
    margin-top: 4px;
}

.confidence-block {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
}

.confidence-block__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
}

.confidence-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaecf0;
    margin-top: 8px;
}

.confidence-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.confidence-block p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.explanation-card h2 {
    font-size: 21px;
}

.evidence-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 9px;
}

.evidence-list li {
    position: relative;
    padding: 10px 36px 10px 11px;
    background: var(--surface-soft);
    border-radius: 12px;
    font-size: 12px;
    color: #344054;
}

.evidence-list li::before {
    content: "✓";
    position: absolute;
    right: 12px;
    top: 10px;
    color: var(--positive);
    font-weight: 900;
}

.warning-list {
    margin-top: 13px;
    display: grid;
    gap: 7px;
}

.warning-list p {
    margin: 0;
    padding: 9px 11px;
    border-radius: 10px;
    background: var(--warning-bg);
    color: var(--warning);
    font-size: 11px;
}

.muted-text,
.empty-state {
    color: var(--muted);
}

.section-card {
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-top: 18px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: 21px;
}

.fresh-badge {
    color: var(--positive);
    background: var(--positive-bg);
}

.offer-list {
    display: grid;
    gap: 10px;
}

.offer-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(170px, auto) minmax(150px, auto);
    gap: 18px;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 15px;
}

.offer-row--best {
    border-color: #b2ddff;
    background: #f8fbff;
}

.offer-row__shop {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-rank {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--neutral-bg);
    color: #475467;
    font-weight: 800;
    font-size: 12px;
}

.offer-row__shop strong,
.offer-row__shop span {
    display: block;
}

.offer-row__shop strong {
    font-size: 13px;
}

.offer-row__shop div span {
    color: var(--muted);
    font-size: 10px;
}

.offer-row__price {
    display: grid;
    gap: 1px;
    white-space: nowrap;
}

.offer-row__price strong {
    font-size: 15px;
    font-weight: 800;
}

.offer-row__price small {
    color: var(--positive);
    font-size: 9px;
    font-weight: 700;
}

.offer-row__action {
    text-align: left;
}

.offer-row__action a,
.offer-row__action span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 11px;
    padding: 7px 13px;
    font-size: 11px;
    font-weight: 800;
}

.offer-row__action a {
    color: #fff;
    background: var(--primary);
}

.offer-row__action a:hover {
    background: var(--primary-dark);
}

.offer-row__action span {
    color: var(--muted);
    background: var(--neutral-bg);
}


.history-decision-callout {
    display: grid;
    gap: 3px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid #abefc6;
    border-radius: 14px;
    background: var(--positive-bg);
}

.history-decision-callout span {
    color: #475467;
    font-size: 10px;
}

.history-decision-callout strong {
    color: var(--positive);
    font-size: 13px;
}

.history-range {
    margin-bottom: 15px;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
}

.history-range__labels {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 10px;
}

.history-range__labels span {
    display: grid;
    gap: 2px;
}

.history-range__labels span:last-child {
    text-align: left;
}

.history-range__labels strong {
    color: #344054;
    font-size: 11px;
}

.history-range__track {
    position: relative;
    height: 8px;
    margin: 13px 2px 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dcfae6 0%, #fef0c7 50%, #fee4e2 100%);
}

.history-range__track span {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(16, 24, 40, .2);
    transform: translate(50%, -50%);
}

.history-range p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
}

.history-window-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.history-window {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.history-window__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.history-window__top > span {
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

.history-coverage {
    border-radius: 999px;
    padding: 3px 6px;
    font-size: 8px;
    font-weight: 800;
}

.history-coverage--positive {
    background: var(--positive-bg);
    color: var(--positive);
}

.history-coverage--neutral {
    background: var(--neutral-bg);
    color: #475467;
}

.history-coverage--warning {
    background: var(--warning-bg);
    color: var(--warning);
}

.history-window > strong {
    font-size: 14px;
}

.history-window > span,
.history-window > small {
    color: var(--muted);
    font-size: 9px;
}

.history-window > p {
    margin: 2px 0 0;
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 800;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.history-stat {
    display: grid;
    gap: 3px;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
}

.history-stat > span {
    color: var(--muted);
    font-size: 11px;
}

.history-stat strong {
    font-size: 14px;
}

.history-stat small {
    color: #667085;
    font-size: 10px;
}

.history-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.trust-card {
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    margin-top: 18px;
}

.trust-card strong {
    font-size: 13px;
}

.trust-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    font-size: 11px;
}

.site-footer p {
    margin: 0;
    padding-block: 24px;
}

@media (max-width: 900px) {
    .hero-card,
    .decision-grid {
        grid-template-columns: 1fr;
    }

    .product-visual {
        min-height: 290px;
    }

    .product-visual img {
        height: 290px;
    }

    .offer-row {
        grid-template-columns: 1fr auto;
    }

    .offer-row__action {
        grid-column: 1 / -1;
        text-align: initial;
    }

    .offer-row__action a,
    .offer-row__action span {
        width: 100%;
    }

    .history-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-signal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .search-suggest {
        max-height: min(360px, 58vh);
    }

    .search-suggest__option {
        grid-template-columns: minmax(0, 1fr);
        gap: 3px;
    }

    .search-suggest__price {
        max-width: none;
    }

    .shell {
        width: min(100% - 20px, 1180px);
    }

    .site-header__inner {
        min-height: 66px;
    }

    .site-header__promise {
        display: none;
    }

    .hero-card,
    .section-card,
    .decision-card,
    .explanation-card {
        border-radius: 18px;
        padding: 17px;
    }

    .hero-card {
        gap: 20px;
    }

    .product-summary h1 {
        font-size: 25px;
    }

    .best-price strong {
        font-size: 24px;
    }

    .product-primary-actions {
        grid-template-columns: 1fr;
    }

    .market-signal-panel {
        padding: 15px;
        border-radius: 18px;
    }

    .market-signal-panel__heading {
        display: grid;
        gap: 8px;
    }

    .market-signal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .market-savings {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .decision-card__top {
        gap: 12px;
    }

    .score {
        width: 68px;
        height: 68px;
    }

    .variant-picker__items,
    .history-window-grid {
        grid-template-columns: 1fr;
    }

    .history-range__labels {
        gap: 8px;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }

    .offer-row {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .offer-row__price strong {
        font-size: 17px;
    }

    .offer-row__action {
        grid-column: auto;
    }
}

.price-alert {
    margin-top: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    display: grid;
    gap: 12px;
}

.price-alert[hidden] {
    display: none;
}

.price-alert__heading {
    display: grid;
    gap: 2px;
}

.price-alert__heading strong {
    font-size: 12px;
}

.price-alert__heading span,
.price-alert__baseline {
    color: var(--muted);
    font-size: 10px;
}

.price-alert__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.price-alert__fields label {
    display: grid;
    gap: 5px;
    color: #344054;
    font-size: 10px;
    font-weight: 700;
}

.price-alert__input-wrap {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 0 10px;
    background: #fff;
}

.price-alert__input-wrap:focus-within {
    border-color: #84caff;
    box-shadow: 0 0 0 3px #eff8ff;
}

.price-alert__input-wrap input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    direction: ltr;
    text-align: left;
}

.price-alert__input-wrap > span {
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
}

.price-alert__save {
    min-height: 42px;
    border: 0;
    border-radius: 11px;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.price-alert__save:hover:not(:disabled) {
    background: var(--primary-dark);
}

.price-alert__save:disabled {
    cursor: wait;
    opacity: .65;
}

@media (max-width: 640px) {
    .price-alert__fields {
        grid-template-columns: 1fr;
    }
}

/* Public UX foundation: shared accessibility, navigation, and layout primitives. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 10px;
    right: 12px;
    transform: translateY(-160%);
    padding: 9px 13px;
    border-radius: 10px;
    background: #101828;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(21, 112, 239, .34);
    outline-offset: 2px;
}

main:focus {
    outline: none;
}

.site-header {
    position: sticky;
    z-index: 60;
    top: 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.brand {
    min-width: max-content;
}

.brand__copy {
    min-width: 0;
}

.site-search {
    min-width: 0;
    min-height: var(--control-height);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    overflow: visible;
    border: 1px solid #d0d5dd;
    border-radius: 13px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.site-search:focus-within {
    border-color: #84adff;
    box-shadow: var(--focus-ring);
}

.site-search input {
    min-width: 0;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 13px;
    color: var(--text);
    font: inherit;
    font-size: 12px;
}

.site-search input::placeholder {
    color: #98a2b3;
}

.site-search button {
    align-self: stretch;
    min-width: 72px;
    border: 0;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 12px 0 0 12px;
}

.site-search button:hover {
    background: var(--primary-dark);
}


.search-suggest-host {
    position: relative;
}

.search-suggest {
    position: absolute;
    z-index: 120;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(440px, 64vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .16);
    text-align: right;
}

.search-suggest[hidden] {
    display: none;
}

.search-suggest__option {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--text);
}

.search-suggest__option:hover,
.search-suggest__option.is-active {
    background: #f2f6ff;
}

.search-suggest__body {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.search-suggest__body strong,
.search-suggest__body small,
.search-suggest__meta,
.search-suggest__price {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggest__body strong {
    font-size: 11px;
    line-height: 1.7;
}

.search-suggest__body small,
.search-suggest__meta {
    color: var(--muted);
    font-size: 9px;
    line-height: 1.65;
}

.search-suggest__price {
    max-width: 150px;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

.search-suggest__all {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    border-top: 1px solid #eaecf0;
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 800;
}

.search-suggest__all:hover {
    background: #f8fafc;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.site-nav a {
    min-height: var(--control-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 10px;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
    transition: background .15s ease, color .15s ease;
}

.site-nav a:hover {
    background: var(--neutral-bg);
    color: var(--text);
}

.site-nav a.is-active {
    background: #eff8ff;
    color: var(--primary-dark);
}

.price-alert__feed-link {
    display: inline-flex;
    width: fit-content;
    min-height: 36px;
    align-items: center;
    margin-top: 4px;
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 800;
}

.price-alert__feed-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer {
    margin-top: 12px;
}

.site-footer__inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 24px;
}

.site-footer__inner > div {
    max-width: 650px;
}

.site-footer__inner strong {
    color: #344054;
    font-size: 12px;
}

.site-footer__inner p {
    padding: 0;
    margin-top: 5px;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px 14px;
}

.site-footer__nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    color: #475467;
    font-size: 10px;
    font-weight: 700;
}

.site-footer__nav a:hover {
    color: var(--primary-dark);
}

@media (max-width: 920px) {
    .site-header__inner {
        grid-template-columns: auto 1fr;
        gap: 10px 14px;
        padding-block: 10px;
    }

    .site-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .site-nav {
        min-width: 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: relative;
    }

    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr);
        padding-block: 9px;
    }

    .brand__mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 19px;
    }

    .brand small {
        display: none;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .site-nav a {
        min-height: 40px;
        padding-inline: 9px;
        font-size: 10px;
    }

    .site-search input {
        height: 44px;
    }

    .site-search button {
        min-width: 68px;
    }

    .site-footer__inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-footer__nav {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Product mobile conversion dock and watch/alert interaction polish. */
.price-watch {
    padding: 12px;
    border: 1px solid #d1e9ff;
    border-radius: 15px;
    background: #f8fbff;
}

.price-watch[data-watch-state="watched"] {
    border-color: #abefc6;
    background: #f6fef9;
}

.price-watch[aria-busy="true"] .price-watch__button {
    opacity: .7;
}

.price-alert {
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.price-alert[aria-busy="true"] {
    opacity: .78;
}

.product-mobile-dock {
    display: none;
}

@media (max-width: 640px) {
    .product-page {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .product-mobile-dock {
        position: fixed;
        z-index: 90;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(208, 213, 221, .92);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -10px 28px rgba(16, 24, 40, .11);
        backdrop-filter: blur(12px);
    }

    .product-mobile-dock__inner {
        width: min(100%, 620px);
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(0, .85fr) minmax(185px, 1.15fr);
        align-items: center;
        gap: 10px;
    }

    .product-mobile-dock__inner--watch-only {
        grid-template-columns: 1fr;
    }

    .product-mobile-dock__price {
        min-width: 0;
        display: grid;
        gap: 1px;
    }

    .product-mobile-dock__price span {
        overflow: hidden;
        color: var(--muted);
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-mobile-dock__price strong {
        overflow: hidden;
        font-size: 13px;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-mobile-dock__actions {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(74px, auto) minmax(96px, 1fr);
        gap: 7px;
    }

    .product-mobile-dock__inner--watch-only .product-mobile-dock__actions {
        grid-template-columns: 1fr;
    }

    .product-mobile-watch,
    .product-mobile-buy {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        padding: 7px 10px;
        font: inherit;
        font-size: 11px;
        font-weight: 900;
        text-align: center;
    }

    .product-mobile-watch {
        border: 1px solid #b2ddff;
        background: #eff8ff;
        color: var(--primary-dark);
        cursor: pointer;
    }

    .product-mobile-watch.is-active {
        border-color: #abefc6;
        background: var(--positive-bg);
        color: var(--positive);
    }

    .product-mobile-watch:disabled {
        cursor: wait;
        opacity: .65;
    }

    .product-mobile-buy {
        border: 1px solid var(--primary);
        background: var(--primary);
        color: #fff;
    }

    .product-mobile-buy:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
    }
}

@media (max-width: 370px) {
    .product-mobile-dock__inner {
        grid-template-columns: minmax(0, .72fr) minmax(176px, 1.28fr);
        gap: 7px;
    }

    .product-mobile-dock__price span {
        display: none;
    }

    .product-mobile-dock__price strong {
        font-size: 12px;
    }
}


/* Phase 16I4: public quality hardening for narrow screens, touch, and resilient text. */
main,
.shell,
.site-header__inner,
.site-footer__inner,
.product-summary,
.section-card,
.decision-card,
.explanation-card,
.trust-card {
    min-width: 0;
}

:where(h1, h2, h3, p, strong, small, a, button, label, span) {
    overflow-wrap: break-word;
}

:where(button, input, select, textarea) {
    max-width: 100%;
}

:where(button, a) {
    -webkit-tap-highlight-color: rgba(21, 112, 239, .12);
}

.search-suggest__all.is-active {
    background: #f2f6ff;
}

.public-error-page {
    min-height: min(68vh, 620px);
    display: grid;
    place-items: center;
    padding-block: 48px 72px;
}

.public-error-card {
    width: min(100%, 680px);
    padding: clamp(24px, 5vw, 46px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    text-align: center;
}

.public-error-card__code {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--neutral-bg);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.public-error-card h1 {
    margin: 0;
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1.45;
}

.public-error-card p {
    max-width: 520px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 12px;
}

.public-error-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
}

.public-error-card__actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    background: #fff;
    color: #344054;
    font-size: 11px;
    font-weight: 800;
}

.public-error-card__actions a:first-child {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header,
    .product-mobile-dock {
        background: #fff;
    }
}

@media (pointer: coarse) {
    :where(button, select, input:not([type="hidden"])) {
        min-height: 44px;
    }

    .site-nav a,
    .site-footer__nav a,
    .price-alert__feed-link,
    .share-action {
        min-height: 44px;
    }
}

@media (max-width: 420px) {
    .shell {
        width: min(100% - 24px, 1180px);
    }

    .site-header__inner {
        gap: 8px 10px;
    }

    .brand__copy strong {
        font-size: 15px;
    }

    .site-search button {
        min-width: 62px;
        padding-inline: 9px;
    }

    .search-suggest {
        right: -4px;
        left: -4px;
    }

    .search-suggest__option {
        grid-template-columns: minmax(0, 1fr);
        gap: 3px;
    }

    .search-suggest__price {
        max-width: none;
    }

    .public-error-card__actions {
        flex-direction: column;
    }

    .public-error-card__actions a {
        width: 100%;
    }
}

/* Phase 16J2: crawlable brand/category context links on product pages. */
.eyebrow a {
    text-decoration: none;
}

.eyebrow a:hover {
    color: var(--primary);
    background: #eef4ff;
}


/* Phase 20A: public visual system refresh. */
:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #111827;
    --muted: #667085;
    --border: #e5e9f0;
    --primary: #1769e0;
    --primary-dark: #1256bb;
    --primary-soft: #eef5ff;
    --shadow: 0 18px 46px rgba(15, 23, 42, .07);
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, .055);
    --radius-lg: 22px;
    --radius-md: 16px;
}

body {
    background:
        linear-gradient(180deg, #ffffff 0, #f7f9fc 360px, var(--bg) 680px);
}

.shell {
    width: min(1200px, calc(100% - 40px));
}

.site-header {
    border-bottom-color: rgba(226, 232, 240, .88);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .025);
    backdrop-filter: blur(18px) saturate(145%);
}

.site-header__inner {
    min-height: 72px;
    grid-template-columns: auto minmax(320px, 1fr) auto;
    gap: 22px;
}

.brand {
    gap: 10px;
}

.brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(23, 105, 224, .19);
}

.brand strong {
    color: #111827;
    font-size: 16px;
    line-height: 1.45;
}

.brand small {
    color: #7b8496;
    font-size: 10px;
    margin-top: -1px;
}

.site-search {
    min-height: 46px;
    border-color: #d9dee8;
    border-radius: 14px;
    background: #fbfcfe;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, .015);
}

.site-search:focus-within {
    border-color: #8ab5f5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23, 105, 224, .09);
}

.site-search input {
    height: 44px;
    padding-inline: 15px;
    font-size: 12px;
}

.site-search button {
    min-width: 76px;
    border-radius: 12px 0 0 12px;
    font-size: 11px;
}

.site-nav {
    gap: 3px;
}

.site-nav a {
    min-height: 40px;
    padding-inline: 11px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #536174;
    font-size: 10.5px;
}

.site-nav a:hover {
    border-color: #edf0f5;
    background: #f8fafc;
    color: #182230;
}

.site-nav a.is-active {
    border-color: #d8e8ff;
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.search-suggest {
    top: calc(100% + 10px);
    padding: 7px;
    border-color: #dbe1ea;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

.search-suggest__option {
    min-height: 66px;
    border-radius: 11px;
}

.search-suggest__body strong {
    font-size: 11.5px;
}

.search-suggest__price {
    color: #1f5fbf;
    font-size: 10.5px;
}

.site-footer {
    margin-top: 26px;
    border-top: 1px solid #e9edf3;
    background: rgba(255, 255, 255, .7);
}

.site-footer__inner {
    min-height: 122px;
}

@media (max-width: 920px) {
    .shell {
        width: min(100% - 28px, 1200px);
    }

    .site-header__inner {
        grid-template-columns: auto 1fr;
        gap: 10px 12px;
        padding-block: 9px;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 22px, 1200px);
    }

    .site-header {
        position: sticky;
    }

    .site-header__inner {
        padding-block: 8px;
    }

    .site-nav a {
        min-height: 38px;
        padding-inline: 8px;
    }
}
