/* A4 print preview — Auxbid-style */
.am-print-preview {
    margin: 0;
    font-family: var(--am-font, 'DM Sans', system-ui, sans-serif);
    background: #e8ecef;
    color: #1a2b33;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.am-print-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #dde4e8;
    box-shadow: 0 2px 12px rgba(12, 74, 92, 0.08);
}

.am-print-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    border: 1px solid #c5d0d6;
    background: #fff;
    color: #1a2b33;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.am-print-toolbar__btn:hover {
    background: #f4f7f8;
    border-color: #0c4a5c;
    color: #0c4a5c;
}

.am-print-toolbar__btn--primary {
    background: #0c4a5c;
    border-color: #0c4a5c;
    color: #fff;
}

.am-print-toolbar__btn--primary:hover {
    background: #083540;
    border-color: #083540;
    color: #fff;
}

.am-print-stage {
    padding: 2rem 1rem 3rem;
    display: flex;
    justify-content: center;
}

.am-print-sheet {
    width: 100%;
    max-width: 820px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(12, 74, 92, 0.14);
    overflow: hidden;
}

.am-print-sheet__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.75rem 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f7a;
}

.am-print-sheet__brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0c4a5c;
    letter-spacing: -0.02em;
    text-transform: none;
}

.am-print-sheet__meta-right {
    text-align: right;
    line-height: 1.6;
}

.am-print-sheet__meta-right span {
    display: block;
}

.am-print-hero {
    position: relative;
    margin: 0 1.75rem;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f3f5;
    aspect-ratio: 16 / 7;
}

.am-print-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.am-print-hero__badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #0c4a5c;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.am-print-headline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1.25rem;
    padding: 1.25rem 1.75rem 0.5rem;
    align-items: start;
}

.am-print-headline h1 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.am-print-price {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #0c4a5c;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
}

.am-print-subline {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: #5c6f7a;
}

.am-print-subline strong { color: #1a2b33; }

.am-print-provider {
    text-align: right;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f7a;
}

.am-print-provider strong {
    display: block;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
    color: #1a2b33;
}

.am-print-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.65rem;
    padding: 1rem 1.75rem 1.25rem;
}

.am-print-spec {
    border: 1px solid #dde4e8;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    background: #fafbfc;
}

.am-print-spec__label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a939f;
    margin-bottom: 0.2rem;
}

.am-print-spec__value {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a2b33;
}

.am-print-columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
    padding: 0 1.75rem 1.25rem;
}

.am-print-block__title {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5c6f7a;
}

.am-print-description {
    margin: 0;
    white-space: pre-wrap;
    font-size: 0.88rem;
    color: #334a55;
}

.am-print-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.am-print-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a2b33;
}

.am-print-highlights i {
    color: #0c4a5c;
    margin-top: 0.15rem;
}

.am-print-table-wrap {
    padding: 0 1.75rem 1.5rem;
}

.am-print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.am-print-table tr {
    border-bottom: 1px solid #e8ecef;
}

.am-print-table th,
.am-print-table td {
    padding: 0.55rem 0;
    text-align: left;
    vertical-align: top;
}

.am-print-table th {
    width: 38%;
    font-weight: 600;
    color: #5c6f7a;
}

.am-print-table td {
    font-weight: 600;
    color: #1a2b33;
}

.am-print-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 1.75rem;
    background: #0c4a5c;
    color: #fff;
}

.am-print-footer__qr {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    background: #fff;
    padding: 6px;
    object-fit: contain;
}

.am-print-footer__text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.am-print-footer__text p {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.9;
    line-height: 1.45;
}

.am-print-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.am-print-footer__cta:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

@media (max-width: 720px) {
    .am-print-columns { grid-template-columns: 1fr; }
    .am-print-headline { grid-template-columns: 1fr; }
    .am-print-price { justify-self: start; }
    .am-print-footer { grid-template-columns: 1fr; text-align: center; }
    .am-print-footer__qr { margin: 0 auto; }
    .am-print-footer__cta { justify-self: center; }
}

@media print {
    @page { size: A4; margin: 12mm; }

    .am-print-preview { background: #fff; }
    .am-print-toolbar { display: none !important; }
    .am-print-stage { padding: 0; }
    .am-print-sheet {
        max-width: none;
        border-radius: 0;
        box-shadow: none;
    }
    .am-print-footer__cta { display: none; }
}
