:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #12211d;
    background:
        radial-gradient(circle at 50% -10%, color-mix(in srgb, var(--qr-accent, #d8a84f) 28%, transparent), transparent 34%),
        linear-gradient(180deg, #10251f 0%, #0b1714 100%);
}

.qr-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 14px;
}

.qr-card {
    position: relative;
    isolation: isolate;
    width: min(100%, 430px);
    overflow: hidden;
    border-radius: 34px;
    padding: 28px 20px 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 239, 222, .94)),
        #fffaf1;
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.qr-card-glow {
    position: absolute;
    inset: -80px -80px auto auto;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--qr-accent, #d8a84f) 38%, transparent);
    filter: blur(8px);
    z-index: -1;
}

.qr-profile {
    text-align: center;
}

.qr-logo {
    display: block;
    width: 108px;
    height: 108px;
    margin: 4px auto 18px;
    object-fit: contain;
    border-radius: 26px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 16px 40px rgba(22, 55, 47, .16);
}

.qr-eyebrow {
    margin: 0 0 8px;
    color: var(--qr-accent, #d8a84f);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.qr-profile h1 {
    margin: 0;
    color: #111b18;
    font-size: clamp(32px, 9vw, 44px);
    line-height: .94;
    letter-spacing: -.08em;
    text-transform: uppercase;
}

.qr-subtitle {
    margin: 14px 0 0;
    color: var(--qr-primary, #16372f);
    font-size: 17px;
    font-weight: 800;
}

.qr-description {
    margin: 12px auto 0;
    max-width: 340px;
    color: #5a625d;
    font-size: 14px;
    line-height: 1.7;
}

.qr-feature {
    margin: 22px 0 0;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(22, 55, 47, .12);
}

.qr-feature img,
.qr-feature video {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.qr-product-panel,
.qr-social-panel {
    margin-top: 18px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(22, 55, 47, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.qr-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.qr-section-heading span {
    color: var(--qr-accent, #d8a84f);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.qr-section-heading strong {
    color: var(--qr-primary, #16372f);
    font-size: 13px;
    text-align: right;
}

.qr-section-heading.compact {
    margin-bottom: 12px;
}

.qr-product-summary {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    align-items: center;
}

.qr-product-summary img {
    width: 86px;
    height: 104px;
    object-fit: cover;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(22, 55, 47, .12);
}

.qr-product-summary h2 {
    margin: 0;
    color: #111b18;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.qr-product-summary p {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: #5f665f;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.qr-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.qr-product-meta span,
.qr-product-meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}

.qr-product-meta span {
    color: var(--qr-primary, #16372f);
    background: #f7f0dd;
}

.qr-product-meta strong {
    color: #201604;
    background: color-mix(in srgb, var(--qr-accent, #d8a84f) 32%, #fff);
}

.qr-info-grid {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.qr-info-grid article {
    padding: 12px;
    border-radius: 18px;
    background: rgba(22, 55, 47, .055);
}

.qr-info-grid span {
    color: var(--qr-primary, #16372f);
    font-size: 12px;
    font-weight: 850;
}

.qr-info-grid p {
    margin: 5px 0 0;
    color: #5c645e;
    font-size: 12px;
    line-height: 1.55;
}

.qr-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.qr-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
    padding: 16px 18px;
    border-radius: 20px;
    color: #fffaf1;
    text-decoration: none;
    background: linear-gradient(135deg, var(--qr-primary, #16372f), #0e201c);
    box-shadow: 0 14px 32px rgba(14, 32, 28, .18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.qr-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(14, 32, 28, .24);
}

.qr-action.is-accent {
    color: #1f1605;
    background: linear-gradient(135deg, var(--qr-accent, #d8a84f), #f1d38a);
}

.qr-action span {
    font-size: 16px;
    font-weight: 850;
}

.qr-action small {
    opacity: .72;
    font-size: 12px;
    font-weight: 700;
}

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

.qr-social-link {
    display: grid;
    gap: 4px;
    min-height: 70px;
    padding: 13px;
    border-radius: 18px;
    color: #172520;
    text-decoration: none;
    background: linear-gradient(145deg, #ffffff, #f8f1df);
    border: 1px solid rgba(22, 55, 47, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.qr-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(22, 55, 47, .12);
}

.qr-social-link span {
    font-size: 13px;
    font-weight: 900;
}

.qr-social-link small {
    color: #697067;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.qr-code-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(22, 55, 47, .08);
}

.qr-code-card img {
    width: 94px;
    height: 94px;
    border-radius: 14px;
    background: #fff;
}

.qr-code-card strong,
.qr-code-card span {
    display: block;
}

.qr-code-card strong {
    color: #111b18;
    font-size: 14px;
}

.qr-code-card span {
    margin-top: 4px;
    color: #626961;
    font-size: 12px;
    line-height: 1.5;
}

.qr-footer {
    margin-top: 20px;
    color: #7b827b;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
}

@media (min-width: 760px) {
    .qr-card {
        width: min(100%, 560px);
        padding: 36px 34px 30px;
    }

    .qr-feature img,
    .qr-feature video {
        height: 270px;
    }

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