@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@700&family=Noto+Sans:wght@400;500;600;700&display=swap');

:root {
    --pv-bg: #e8e8e8;
    --pv-card: transparent;
    --pv-title: rgb(115, 133, 116);
    --pv-text: rgb(23, 41, 53);
    --pv-muted: rgba(23, 41, 53, 0.68);
    --pv-border: rgba(115, 133, 116, 0.28);
    --pv-primary: rgb(115, 133, 116);
    --pv-primary-dark: rgb(92, 108, 94);
    --pv-success-bg: rgba(115, 133, 116, 0.12);
    --pv-success: rgb(82, 112, 86);
    --pv-warning-bg: rgba(210, 166, 72, 0.14);
    --pv-warning: rgb(129, 92, 24);
    --pv-danger-bg: rgba(180, 70, 70, 0.12);
    --pv-danger: rgb(160, 55, 55);
    --pv-radius: 18px;
}

html {
    font-size: 16px;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    background: var(--pv-bg);
    color: var(--pv-text);
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
}

a {
    color: var(--pv-text);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.pv-hero h1,
.pv-card h2,
.pv-option-card h3 {
    font-family: 'Cardo', serif;
    font-weight: 700;
    color: var(--pv-title);
}

p,
span,
label,
strong,
small,
td,
th,
button,
input,
.pv-muted,
.pv-card-header p,
.pv-option-card p {
    font-family: 'Noto Sans', sans-serif;
}

header.my-5 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.navbar-brand img {
    max-width: 190px;
    height: auto;
}

main.container {
    max-width: 1180px;
}

footer {
    background: transparent !important;
    color: var(--pv-muted);
    font-size: 0.85rem;
    padding: 1.25rem !important;
    border-top: 1px solid var(--pv-border);
}

.pv-page {
    padding-bottom: 2rem;
}

.pv-shell {
    width: 100%;
}

.pv-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--pv-border);
    padding-bottom: 1.25rem;
}

.pv-eyebrow {
    color: var(--pv-title);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 0.25rem;
    font-weight: 700;
}

.pv-hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.pv-muted,
.pv-card-header p,
.pv-option-card p {
    color: var(--pv-muted);
    margin: 0.25rem 0 0;
}

.pv-hero-summary {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.pv-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.pv-status-pending {
    background: var(--pv-warning-bg);
    color: var(--pv-warning);
}

.pv-status-paid {
    background: var(--pv-success-bg);
    color: var(--pv-success);
}

.pv-total {
    text-align: right;
}

    .pv-total span,
    .pv-summary-total span {
        display: block;
        color: var(--pv-muted);
        font-size: 0.85rem;
    }

    .pv-total strong,
    .pv-summary-total strong {
        display: block;
        font-size: 1.8rem;
        color: var(--pv-text);
        line-height: 1.1;
    }

.pv-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
}

.pv-main,
.pv-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pv-card {
    background: transparent;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius);
    padding: 1.25rem;
    box-shadow: none;
}

.pv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .pv-card-header h2 {
        margin: 0;
        font-size: 1.65rem;
    }

.pv-info-list,
.pv-summary-list {
    display: grid;
    gap: 0.85rem;
}

    .pv-info-list div,
    .pv-summary-list div {
        display: grid;
        gap: 0.15rem;
    }

.pv-summary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

    .pv-info-list span,
    .pv-summary-list span {
        color: var(--pv-title);
        font-size: 0.86rem;
        font-weight: 700;
    }

    .pv-info-list strong,
    .pv-summary-list strong {
        color: var(--pv-text);
        font-weight: 500;
        overflow-wrap: anywhere;
    }

.pv-info-list small {
    color: var(--pv-muted);
}

.pv-summary-list.compact {
    grid-template-columns: 1fr;
}

.pv-link-button,
.pv-inline-link {
    border: 1px solid var(--pv-primary);
    border-radius: 8px;
    background: transparent;
    color: var(--pv-text);
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    text-decoration: none;
}

    .pv-link-button:hover,
    .pv-inline-link:hover {
        background: rgba(115, 133, 116, 0.12);
        color: var(--pv-text);
    }

.pv-small-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    background: var(--pv-danger-bg);
    color: var(--pv-danger);
    font-size: 0.8rem;
    font-weight: 700;
}

.pv-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--pv-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    min-height: 44px;
    width: 100%;
}

.pv-button-primary {
    background: var(--pv-primary);
    color: white;
}

    .pv-button-primary:hover {
        background: var(--pv-primary-dark);
        color: white;
    }

    .pv-button-primary:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

.pv-button-large {
    max-width: 360px;
}

.pv-shipping-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pv-option-card {
    display: grid;
    gap: 1rem;
    border: 1px solid var(--pv-border);
    border-radius: 14px;
    padding: 1rem;
    background: transparent;
}

    .pv-option-card h3 {
        margin: 0;
        font-size: 1.4rem;
    }

    .pv-option-card > strong {
        font-size: 1.45rem;
        color: var(--pv-text);
    }

.pv-option-disabled {
    opacity: 0.8;
}

.pv-alert {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    background: transparent;
}

    .pv-alert h1,
    .pv-alert h2,
    .pv-alert p {
        margin: 0;
        text-align: left;
    }

    .pv-alert h1,
    .pv-alert h2 {
        font-size: 1.5rem;
    }

.pv-alert-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: 0 0 auto;
    border: 1px solid currentColor;
}

.pv-alert-success {
    color: var(--pv-success);
    border-color: rgba(82, 112, 86, 0.35);
}

.pv-alert-warning {
    color: var(--pv-warning);
    border-color: rgba(129, 92, 24, 0.35);
}

.pv-alert-danger {
    color: var(--pv-danger);
    border-color: rgba(160, 55, 55, 0.35);
}

.pv-mt {
    margin-top: 1rem;
}

.pv-selected-pr {
    border: 1px solid var(--pv-border);
    border-radius: 14px;
    padding: 1rem;
    background: transparent;
}

.pv-selected-pr-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .pv-selected-pr-header span {
        color: var(--pv-title);
        font-size: 0.85rem;
        font-weight: 700;
        display: block;
    }

    .pv-selected-pr-header strong {
        display: block;
        color: var(--pv-text);
    }

.pv-single-payment-form {
    display: flex;
    justify-content: flex-start;
}

.pv-sticky-summary {
    position: sticky;
    top: 1rem;
}

    .pv-sticky-summary h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

.pv-summary-total {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--pv-border);
}

.pv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

    .pv-table th {
        color: var(--pv-title);
        font-size: 0.82rem;
        font-weight: 700;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--pv-border);
    }

    .pv-table td {
        color: var(--pv-text);
        padding: 0.85rem 0.5rem;
        border-bottom: 1px solid var(--pv-border);
        vertical-align: top;
    }

    .pv-table tbody tr:last-child td {
        border-bottom: 0;
    }

.pv-lines-mobile {
    display: none;
}

.pv-line-card {
    border: 1px solid var(--pv-border);
    border-radius: 14px;
    padding: 1rem;
    background: transparent;
}

    .pv-line-card + .pv-line-card {
        margin-top: 0.75rem;
    }

.pv-line-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

    .pv-line-card-header span {
        color: var(--pv-title);
        font-size: 0.85rem;
        font-weight: 700;
    }

.pv-line-card p {
    margin: 0 0 0.75rem;
    color: var(--pv-text);
    font-weight: 500;
}

.pv-line-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

    .pv-line-meta span {
        border-radius: 999px;
        border: 1px solid var(--pv-border);
        color: var(--pv-muted);
        padding: 0.3rem 0.55rem;
        font-size: 0.78rem;
    }

.btn-custom {
    background-color: var(--pv-primary);
    color: white;
}

    .btn-custom:hover {
        background-color: var(--pv-primary-dark);
        color: white;
    }

@media (max-width: 991px) {
    main.container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .pv-grid {
        grid-template-columns: 1fr;
    }

    .pv-side {
        order: -1;
    }

    .pv-sticky-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    header.my-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .navbar-brand img {
        max-width: 145px;
    }

    .pv-hero {
        flex-direction: column;
        gap: 1rem;
    }

    .pv-hero-summary {
        width: 100%;
        align-items: stretch;
    }

    .pv-total {
        text-align: left;
        border: 1px solid var(--pv-border);
        border-radius: 14px;
        padding: 1rem;
        background: transparent;
    }

    .pv-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .pv-card-header,
    .pv-selected-pr-header {
        flex-direction: column;
    }

    .pv-summary-list {
        grid-template-columns: 1fr;
    }

    .pv-shipping-grid {
        grid-template-columns: 1fr;
    }

    .pv-lines-desktop {
        display: none;
    }

    .pv-lines-mobile {
        display: block;
    }

    footer {
        font-size: 0.75rem;
    }
    .pv-info-item,
    .pv-summary-item {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
    }

        .pv-info-item i,
        .pv-summary-item i {
            font-size: 1.2rem;
            color: var(--pv-title);
            margin-top: 0.15rem;
            flex-shrink: 0;
        }
}
