/* PriceViagra: blue Materialize theme and responsive page layout. */
:root {
    --navy: #102a56;
    --blue: #2366dc;
    --sky: #b7d9ff;
    --ink: #193454;
    --muted: #64758d;
    --paper: #f4f7fc;
    --line: #dce5f1;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.75;
    font-size: 15px;
}

a {
    color: #1959c2;
}

a:hover {
    color: #0a3279;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #64a8ff;
    outline-offset: 5px;
}

.container {
    width: 90%;
    max-width: 1200px;
    min-width: 0;
}

/* Grid children must shrink to the viewport, including the table panel. */
.hero-grid > *,
.price-layout > *,
.guide-layout > *,
.quick-grid > *,
.research-grid > *,
.faq-layout > *,
.source-grid > *,
.footer-grid > *,
.article-stack {
    min-width: 0;
}

h1,
h2,
h3,
p,
.source-item a {
    overflow-wrap: anywhere;
}

.global-factors {
    display: grid;
    gap: 15px;
    margin: 25px 0;
}

.global-factors > div {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 17px;
}

.global-factors strong {
    font-size: 13px;
}

.global-factors p {
    font-size: 12px;
    color: var(--muted);
    margin: 8px 0 0;
}

.global-price-overview .chip {
    max-width: 100%;
    height: auto;
    line-height: 1.6;
    padding: 7px 12px;
}

.global-price-overview + .panel-heading {
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin-top: 25px;
}

.regional-link {
    display: inline-block;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid var(--line);
}

.site-header nav {
    height: auto;
    min-height: 80px;
    line-height: normal;
    color: var(--ink);
    background: white;
    box-shadow: none;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    line-height: 1.2;
}

.brand-mark {
    width: 38px;
    height: 38px;
    background: var(--blue);
    border-radius: 12px 4px 12px 4px;
    color: white;
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 800;
}

.brand-name {
    font-size: 23px;
    letter-spacing: -1px;
    font-weight: 800;
}

.brand-name span {
    color: var(--blue);
}

.brand small {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-top: 5px;
}

.desktop-links {
    display: flex;
    gap: 26px;
}

.desktop-links a {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.languages {
    display: flex;
    width: 150px;
    flex: 0 0 150px;
    min-width: 0;
}

.language-select.browser-default {
    display: block;
    width: 100%;
    min-width: 0;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0 8px;
    background-color: #eff4fc;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.language-select:focus-visible {
    outline: 3px solid #64a8ff;
    outline-offset: 3px;
}

.languages a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    padding: 8px 10px;
    border-radius: 5px;
}

.languages a.active {
    background: var(--navy);
    color: white;
}

.flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.menu-trigger {
    display: none;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 5px 11px;
    background: white;
    color: var(--navy);
    cursor: pointer;
    font-size: 22px;
}

.sidenav {
    padding: 28px 15px;
}

.sidenav .brand {
    padding: 0 16px 25px;
}

.hero {
    background: var(--navy);
    color: white;
    overflow: hidden;
    padding: 70px 0 105px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 15px;
}

.hero .eyebrow {
    color: var(--sky);
}

.hero h1 {
    font-size: clamp(40px, 5.5vw, 66px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2.8px;
    margin: 15px 0 26px;
}

.hero h1 span {
    color: var(--sky);
}

.hero-description {
    color: #c7d8ef;
    font-size: 17px;
    line-height: 1.8;
    max-width: 570px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 29px 0 22px;
}

.btn,
.btn-large {
    background: var(--blue);
    border-radius: 7px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    box-shadow: none;
}

.btn:hover,
.btn-large:hover {
    background: #1451bb;
}

.btn-large.secondary {
    border: 1px solid #516b90;
    background: transparent;
    color: white;
}

.hero-note {
    color: #a9bedb;
    font-size: 11px;
    margin-top: 20px;
}

.hero-art {
    position: relative;
    min-height: 345px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #3f5c82;
    border-radius: 24px;
    background: #183966;
}

.hero-art svg {
    width: 100%;
    height: 230px;
    max-width: 330px;
}

.hero-art strong {
    font-size: 30px;
    letter-spacing: -1px;
}

.hero-art small {
    color: #b3c8e4;
    font-size: 12px;
    margin: 4px 0 25px;
}

.art-label {
    position: absolute;
    right: -15px;
    top: 24px;
    padding: 8px 15px;
    font-size: 10px;
    background: #2366dc;
    border-radius: 5px;
    letter-spacing: 1px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    margin-top: -45px;
    z-index: 2;
}

.quick-card.card {
    margin: 0;
    border-radius: 12px;
    padding: 24px 28px;
    border: 1px solid #e1e9f4;
    box-shadow: 0 12px 30px #16315d0b;
}

.quick-card .index {
    color: #2366dc;
    background: #eaf2ff;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.quick-card strong {
    font-size: 15px;
}

.quick-card p {
    color: var(--muted);
    font-size: 12px;
    margin: 8px 0 0;
}

.section-block {
    padding: 70px 0;
}

h2 {
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -1.1px;
    margin: 8px 0 18px;
}

h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 8px 0 13px;
}

.intro {
    color: var(--muted);
    font-size: 14px;
    max-width: 750px;
}

.price-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 45px;
    align-items: start;
}

.price-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 28px;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 17px;
}

.chip {
    background: #eaf2ff;
    color: #27538f;
    font-size: 11px;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.filter-controls button {
    cursor: pointer;
    border: 1px solid var(--line);
    background: white;
    color: var(--muted);
    border-radius: 5px;
    font-size: 11px;
    padding: 7px 12px;
}

.filter-controls button[aria-pressed="true"] {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.table-scroll {
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.price-table th {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--muted);
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
}

.price-table {
    min-width: 620px;
    width: 100%;
}

.price-table td {
    font-size: 12px;
    padding: 20px 10px;
}

.price-table strong {
    font-size: 15px;
    white-space: nowrap;
}

.price-table small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.price-table a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 15px;
    line-height: 1.8;
}

.information-box {
    background: #eaf2ff;
    color: #31588a;
    padding: 20px;
    border-radius: 9px;
    font-size: 12px;
    margin-top: 24px;
    border-left: 3px solid #5590ed;
}

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

.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 45px;
    align-items: start;
}

.article-stack {
    display: grid;
    gap: 22px;
}

.article-card.card {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: none;
    padding: 33px;
    scroll-margin-top: 105px;
}

.article-card h2 {
    font-size: 28px;
}

.article-card p {
    color: #536b86;
    font-size: 14px;
    margin: 14px 0;
}

.source-line {
    font-size: 11px !important;
    color: var(--muted);
}

.source-line a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reading-sidebar {
    position: sticky;
    top: 110px;
}

.reading-sidebar .card-panel {
    margin: 0 0 20px;
    border-radius: 12px;
    box-shadow: none;
    background: #e9f0fb;
    padding: 26px;
}

.reading-sidebar nav {
    background: none;
    color: var(--ink);
    box-shadow: none;
    height: auto;
    line-height: normal;
}

.reading-sidebar nav a {
    display: block;
    color: #42628c;
    padding: 11px 0;
    border-bottom: 1px solid #d4e0f2;
    font-size: 12px;
}

.reading-sidebar p {
    font-size: 12px;
    color: #597091;
}

.reading-sidebar .sidebar-safety {
    background: var(--navy);
    color: white;
}

.sidebar-safety p {
    color: #c7d8ef;
}

.sidebar-safety a {
    color: #b7d9ff;
}

.dose-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 23px 0;
}

.dose-strip div {
    background: #f1f6fd;
    border-radius: 8px;
    padding: 17px;
    text-align: center;
}

.dose-strip strong {
    display: block;
    color: #2366dc;
    font-size: 23px;
}

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

.urgent-box {
    border-left: 3px solid #bb4660;
    background: #fdf0f3;
    padding: 22px;
    border-radius: 7px;
    margin: 20px 0;
}

.urgent-box h3,
.urgent-box p {
    color: #80394c;
}

.urgent-box p {
    font-size: 13px;
}

.effects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.research-band {
    background: #e8effa;
    padding: 65px 0;
}

.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

.research-card.card {
    margin: 0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: none;
}

.research-card p {
    font-size: 13px;
    color: var(--muted);
}

.research-card a {
    display: inline-block;
    font-size: 12px;
    margin-top: 15px;
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 65px;
}

details {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 20px 24px;
}

summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    color: var(--blue);
}

details[open] summary::after {
    content: "−";
}

details p {
    color: var(--muted);
    font-size: 13px;
    margin: 17px 0 0;
}

.source-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 35px;
    margin-top: 30px;
}

.source-item {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    display: flex;
    align-items: start;
    gap: 14px;
}

.source-item span {
    color: var(--blue);
    font-size: 11px;
    padding-top: 4px;
}

.source-item a {
    font-size: 12px;
    font-weight: 600;
}

.source-item p {
    color: var(--muted);
    font-size: 10px;
    margin: 6px 0;
}

.site-footer {
    background: var(--navy);
    color: white;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 50px;
}

.site-footer .brand,
.site-footer .brand-name span {
    color: white;
}

.site-footer p {
    color: #aebfda;
    font-size: 12px;
    max-width: 470px;
    margin-top: 19px;
}

.footer-links strong {
    font-size: 11px;
    color: #b7d9ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    font-size: 12px;
    color: #c7d8ef;
    margin: 10px 0;
}

.footer-bottom {
    border-top: 1px solid #375079;
    padding-top: 22px;
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 10px;
    color: #aebfda;
}

.footer-bottom a {
    color: #b7d9ff;
}

.policy {
    max-width: 800px;
    padding: 60px 0;
}

.policy h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.policy h2 {
    font-size: 25px;
    margin-top: 35px;
}

.policy p {
    font-size: 14px;
    color: var(--muted);
}

.skip {
    position: absolute;
    top: -100px;
    left: 15px;
    background: white;
    padding: 12px;
    z-index: 100;
}

.skip:focus {
    top: 10px;
}

.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;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1000px) {
    .desktop-links {
        gap: 15px;
    }
    .hero-grid {
        gap: 30px;
    }
    .price-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 25px;
    }
    .guide-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 25px;
    }
}

@media (max-width: 800px) {
    .container {
        width: 90%;
    }
    .header-row {
        min-height: 74px;
        gap: 10px;
        flex-wrap: nowrap;
    }
    .site-header nav {
        min-height: 74px;
    }
    .brand-name {
        font-size: 19px;
    }
    .brand small {
        font-size: 7px;
    }
    .brand-mark {
        width: 32px;
        height: 32px;
    }
    .desktop-links {
        display: none;
    }
    .languages {
        margin-inline-start: auto;
        flex-shrink: 0;
    }
    .languages a {
        padding: 7px;
    }
    .menu-trigger {
        display: block;
        flex-shrink: 0;
    }
    .hero {
        padding: 45px 0 80px;
    }
    .hero-grid,
    .price-layout,
    .guide-layout,
    .faq-layout,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .hero h1 {
        letter-spacing: -1.8px;
    }
    .hero-description {
        font-size: 15px;
    }
    .hero-art {
        min-height: 275px;
    }
    .hero-art svg {
        height: 165px;
    }
    .art-label {
        right: 15px;
        font-size: 9px;
    }
    .quick-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: -35px;
    }
    .quick-card.card {
        padding: 20px 24px;
    }
    .section-block {
        padding: 45px 0;
    }
    .price-panel {
        padding: 20px;
    }
    .panel-heading {
        display: block;
    }
    .price-table td,
    .price-table th {
        padding: 14px 8px;
    }
    .reading-sidebar {
        position: static;
        order: -1;
    }
    .reading-sidebar nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px 15px;
    }
    .reading-sidebar .sidebar-safety {
        display: none;
    }
    .article-card.card {
        padding: 24px;
    }
    .research-grid,
    .source-grid {
        grid-template-columns: 1fr;
    }
    .dose-strip div {
        padding: 14px 6px;
    }
    .dose-strip strong {
        font-size: 20px;
    }
    .footer-bottom {
        display: block;
    }
    .footer-bottom a {
        display: block;
        margin-top: 15px;
    }
}

@media (max-width: 420px) {
    .header-row {
        gap: 7px;
    }
    .site-header .brand {
        min-width: 0;
        gap: 7px;
    }
    .site-header .brand-name {
        font-size: 16px;
        white-space: nowrap;
    }
    .site-header .brand small {
        display: none;
    }
    .site-header .brand-mark {
        width: 27px;
        height: 27px;
        font-size: 18px;
        flex-shrink: 0;
    }
    .languages {
        width: 100px;
        flex-basis: 100px;
    }
    .language-select.browser-default {
        font-size: 11px;
        padding-inline: 4px;
        height: 36px;
    }
    .languages a {
        gap: 4px;
        padding: 6px;
        font-size: 10px;
    }
    .languages .flag {
        width: 17px;
        height: 12px;
    }
    .menu-trigger {
        padding: 5px 8px;
        font-size: 19px;
    }
    .hero h1 {
        font-size: 37px;
    }
    .hero-actions .btn-large {
        max-width: 100%;
        padding: 0 19px;
        font-size: 12px;
    }
    .art-label {
        max-width: calc(100% - 30px);
    }
}

/* Translated navigation labels need more room than the original English. */
@media (max-width: 1100px) {
    .desktop-links {
        display: none;
    }
    .menu-trigger {
        display: block;
        flex-shrink: 0;
    }
    .languages {
        margin-inline-start: auto;
    }
}

/* Arabic uses the same responsive grid, with logical alignment. */
html[dir="rtl"] body {
    text-align: start;
    font-family: Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] h2,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .brand-name {
    letter-spacing: 0;
}

html[dir="rtl"] .hero h1 {
    line-height: 1.4;
}

html[dir="rtl"] .information-box,
html[dir="rtl"] .urgent-box {
    border-left: 0;
    border-right: 3px solid #5590ed;
}

html[dir="rtl"] .urgent-box {
    border-right-color: #bb4660;
}

html[dir="rtl"] .art-label {
    right: auto;
    left: 15px;
}

html[dir="rtl"] .brand {
    direction: ltr;
}

html[dir="rtl"] .brand small {
    direction: rtl;
}

html[dir="rtl"] .hero-art,
html[dir="rtl"] .source-line a {
    unicode-bidi: isolate;
}

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

@media print {
    .site-header,
    .reading-sidebar,
    .hero-actions,
    .filter-controls,
    .site-footer {
        display: none;
    }
    .hero,
    .hero-description,
    .hero-note {
        color: black;
        background: white;
    }
    .guide-layout,
    .price-layout {
        display: block;
    }
    .article-card {
        break-inside: avoid;
    }
}

/* International references scroll inside their panel on small screens. */
.table-wrap {
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    border:1px solid var(--line);
    border-radius:12px;
    background:white;
}

.international-prices {
    min-width:960px;
    margin:0;
}

.international-prices thead {
    background:#eaf2ff;
}

.international-prices thead th {
    padding:18px;
    font-size:11px;
}

.international-prices tbody th {
    text-transform:none;
    letter-spacing:0;
    font-size:13px;
    text-align:start;
    padding:18px;
}

.international-prices td {
    font-size:13px;
    padding:18px;
}

.international-prices strong {
    white-space:normal;
}

.international-prices tr[hidden] {
    display:none;
}

.market-control {
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
    margin:24px 0 10px;
}

.market-control label {
    color:var(--ink);
    font-size:13px;
}

.country-select {
    max-width:100%;
}

.country-select select {
    width:230px;
    max-width:100%;
    border:1px solid var(--line);
    border-radius:7px;
    color:var(--blue);
    background:white;
    font-size:13px;
    padding-inline:12px;
}

.price-method-notes {
    margin-top:25px;
    padding-inline-start:22px;
    list-style:disc;
    color:var(--muted);
    font-size:12px;
    line-height:1.85;
}

.price-method-notes li {
    list-style:disc;
    margin-block:12px;
}

.visually-hidden {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
}

