/* @import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap");
 */
/* ═══════════════════════════════════════════════════════════
   Leela – Thank You Page
   Palette: cream #FFF9F4 · card #F7EFE5 · accent #3A0D14
   Fonts:   Figtree (body) · Cormorant Garamond (display)
   ═══════════════════════════════════════════════════════════ */

.llt {
    --llt-accent:    #3A0D14;
    --llt-accent-h:  #2a0a0f;
    --llt-text:      #2a0d11;
    --llt-muted:     rgba(42, 13, 20, 0.48);
    --llt-bg:        #FFF9F4;
    --llt-bg-card:   #F7EFE5;
    --llt-border:    rgba(42, 13, 20, 0.10);
    --llt-border-s:  rgba(42, 13, 20, 0.06);
    --llt-font:      "Figtree", sans-serif;
    --llt-serif:     "Cormorant Garamond", serif;

    font-family: var(--llt-font);
    color: var(--llt-text);
    background: var(--llt-bg);
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 72px;
    box-sizing: border-box;
}

.llt *,
.llt *::before,
.llt *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Header ─────────────────────────────────────────────── */
.llt__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 44px;
}

.llt__check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1.5px solid var(--llt-accent);
    border-radius: 50%;
}

.llt__check svg {
    width: 24px;
    height: 24px;
    stroke: var(--llt-accent);
    stroke-width: 2;
    fill: none;
}

.llt__conf {
    font-family: var(--llt-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--llt-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.llt__title {
    font-family: var(--llt-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    color: var(--llt-text);
    line-height: 1.15;
    letter-spacing: 0.01em;
}

/* ── Body grid ──────────────────────────────────────────── */
.llt__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ── Box ────────────────────────────────────────────────── */
.llt__box {
    background: var(--llt-bg-card);
    border: 1px solid var(--llt-border);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
}

.llt__box:last-child {
    margin-bottom: 0;
}

.llt__box-title {
    font-family: var(--llt-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--llt-text);
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--llt-border);
    letter-spacing: 0.01em;
}

.llt__box p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--llt-text);
    margin-bottom: 4px;
}

.llt__box p:last-child {
    margin-bottom: 0;
}

/* ── Details grid ───────────────────────────────────────── */
.llt__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.llt__details-block p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 2px;
}

.llt__details-block strong {
    display: block;
    font-family: var(--llt-font);
    font-size: 11px;
    font-weight: 600;
    color: var(--llt-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 6px;
}

/* ── Product row ────────────────────────────────────────── */
.llt__product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--llt-border-s);
}

.llt__product:last-of-type {
    border-bottom: none;
}

.llt__img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.llt__img-wrap img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--llt-border);
    max-width: none;
}

.llt__img-placeholder {
    width: 64px;
    height: 64px;
    background: #ede5d8;
    border: 1px solid var(--llt-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.llt__qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--llt-accent);
    color: #F9F7F0;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 50%;
}

.llt__product-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--llt-text);
}

.llt__product-price {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--llt-text);
}

/* ── Totals ─────────────────────────────────────────────── */
.llt__totals {
    border-top: 1px solid var(--llt-border);
    margin-top: 4px;
    padding-top: 16px;
}

.llt__totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--llt-text);
    padding: 5px 0;
}

.llt__totals-row--discount {
    color: var(--llt-accent);
}

.llt__totals-row--final {
    font-size: 17px;
    font-weight: 700;
    border-top: 1px solid var(--llt-border);
    margin-top: 10px;
    padding-top: 14px;
}

.llt__free {
    color: var(--llt-accent);
    font-weight: 600;
}

.llt__currency {
    font-size: 12px;
    font-weight: 400;
    color: var(--llt-muted);
    margin-right: 3px;
}

/* ── Footer ─────────────────────────────────────────────── */
.llt__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 36px;
    gap: 16px;
    flex-wrap: wrap;
}

.llt__help {
    font-size: 14px;
    color: var(--llt-muted);
}

.llt__help a {
    color: var(--llt-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(58, 13, 20, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.llt__help a:hover {
    text-decoration-color: var(--llt-accent);
}

/* Pill button — rovnaký štýl ako .ln-eshop-link */
.llt__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--llt-accent);
    color: #F9F7F0;
    font-family: var(--llt-font);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 28px;
    border: 1px solid var(--llt-accent);
    border-radius: 48px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.llt__btn:hover {
    background: var(--llt-accent-h);
    border-color: var(--llt-accent-h);
    color: #F9F7F0;
}

/* ── Error state ────────────────────────────────────────── */
.llt__error {
    padding: 56px 40px;
    text-align: center;
    background: var(--llt-bg-card);
    border: 1px solid var(--llt-border);
    border-radius: 20px;
}

.llt__error p {
    font-size: 15px;
    color: var(--llt-muted);
    margin-bottom: 24px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .llt {
        padding: 32px 16px 56px;
    }

    .llt__body {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .llt__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .llt__btn {
        width: 100%;
        justify-content: center;
    }
}