.tsv-smart-block {
    margin: 3.5rem 0;
}

.tsv-smart-block .tsv-textbox + .tsv-widget {
    margin-top: 1.15rem;
}

.tsv-textbox,
.tsv-widget,
.tsv-sidebar,
.tsv-sidecard,
.tsv-card {
    box-sizing: border-box;
}

.tsv-textbox {
    position: relative;
    overflow: hidden;
    margin: 2.5rem 0 1.15rem;
    padding: 1.9rem 2rem;
    border: 1px solid rgba(212, 164, 54, 0.22);
    border-radius: 30px;
    background: #f7f3ea;
    box-shadow: 0 18px 40px rgba(48, 35, 22, 0.06);
}

.tsv-textbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 5px;
    border-radius: 999px;
    background: #d4a436;
}

.tsv-textbox__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.tsv-textbox__actions {
    position: relative;
    z-index: 2;
    margin-top: 1.25rem;
}

.tsv-textbox--style-split {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.8fr);
    align-items: center;
    gap: 1.75rem;
}

.tsv-textbox--style-split .tsv-textbox__actions {
    margin-top: 0;
    justify-self: end;
}

.tsv-textbox--style-graphic {
    padding: 2.1rem 2rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(247,243,234,0.96) 0%, rgba(247,243,234,0.92) 46%, rgba(247,243,234,0.55) 70%, rgba(247,243,234,0.20) 100%),
        var(--tsv-box-bg-image, none) center/cover no-repeat,
        #f7f3ea;
}

.tsv-textbox--style-graphic .tsv-textbox__content {
    max-width: 56%;
}

.tsv-textbox--style-graphic .tsv-textbox__actions {
    margin-top: 1.4rem;
}

.tsv-textbox--conclusion {
    background: linear-gradient(135deg, #f6efe0, #fbf8f1);
}

.tsv-textbox__eyebrow,
.tsv-widget__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
    color: #c48d22;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tsv-textbox__eyebrow::before,
.tsv-widget__eyebrow::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 164, 54, 0.32);
    box-shadow: inset 0 0 0 3px rgba(212, 164, 54, 0.20);
}

.tsv-textbox h3 {
    margin: 0 0 0.7rem;
    color: #1f2f56;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.tsv-textbox p:last-child {
    margin: 0;
    color: #666462;
    font-size: 1.04rem;
    line-height: 1.68;
}

.tsv-textbox__button,
.tsv-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.92rem 1.35rem;
    border-radius: 999px;
    background: #a4672d;
    color: #fff !important;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.tsv-textbox__button:hover,
.tsv-card__button:hover {
    opacity: 0.96;
    transform: translateY(-1px);
    background: #8d5826;
}

.tsv-widget {
    margin: 3rem 0;
    padding: 2rem;
    border: 1px solid rgba(31, 111, 134, 0.14);
    border-radius: 28px;
    background: #fbf8f1;
    box-shadow: 0 18px 45px rgba(48, 35, 22, 0.08);
}

.tsv-smart-block .tsv-widget {
    margin: 0;
}

.tsv-widget--conclusion {
    background: #fcf9f2;
    border-color: rgba(31, 111, 134, 0.2);
}

.tsv-widget--notice {
    padding: 1rem 1.25rem;
    border-radius: 16px;
}

.tsv-widget__header {
    max-width: 790px;
    margin-bottom: 1.5rem;
}

.tsv-widget__header h2,
.tsv-sidebar__header h3 {
    margin: 0 0 0.62rem;
    color: #23414a;
    font-size: clamp(1.75rem, 2.55vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.tsv-sidebar__header h3 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.tsv-widget--conclusion .tsv-widget__header h2 {
    font-size: clamp(1.85rem, 2.7vw, 2.7rem);
}

.tsv-widget__header p,
.tsv-sidebar__header p {
    margin: 0;
    color: #5f6d6f;
    font-size: 1.03rem;
    line-height: 1.68;
}

.tsv-widget__debug {
    margin-top: 0.65rem !important;
    font-size: 0.85rem !important;
    color: #8a5a28 !important;
}

.tsv-widget__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.tsv-card {
    overflow: hidden;
    border: 1px solid rgba(31, 111, 134, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(48, 35, 22, 0.06);
}

.tsv-card__image,
.tsv-sidecard__image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8dcc6;
}

.tsv-card__image img,
.tsv-sidecard__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.tsv-card:hover .tsv-card__image img,
.tsv-sidecard:hover .tsv-sidecard__image img {
    transform: scale(1.04);
}

.tsv-card__body,
.tsv-sidecard__body {
    padding: 1rem;
}

.tsv-card__rating {
    margin: 0 0 0.45rem;
    color: #0f8f72;
    font-size: 0.82rem;
    font-weight: 700;
}

.tsv-card h3,
.tsv-sidecard h4 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.tsv-sidecard h4 {
    font-size: 1.32rem;
}

.tsv-card h3 a,
.tsv-sidecard h4 a {
    color: #263a3c;
    text-decoration: none;
}

.tsv-card h3 a:hover,
.tsv-sidecard h4 a:hover {
    color: #1f6f86;
}

.tsv-card__meta-line {
    position: relative;
    margin: 0 0 0.45rem;
    padding-left: 1.18rem;
    color: #3b4748;
    font-size: 0.92rem;
    line-height: 1.35;
}

.tsv-card__meta-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #7d8d91;
}

.tsv-card__meta-line--check::before {
    content: "✓";
    top: 0.02rem;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #0f8f72;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
}

.tsv-card__description {
    margin: 0.65rem 0 1rem;
    color: #667476;
    font-size: 0.92rem;
    line-height: 1.55;
}

.tsv-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.tsv-card__price,
.tsv-sidecard__price {
    color: #111;
    font-size: 1.02rem;
    font-weight: 700;
    white-space: nowrap;
}

.tsv-card__button {
    min-height: 38px;
    padding: 0.75rem 1rem;
    background: #0f8f72;
    font-size: 0.9rem;
}

.tsv-card__button:hover {
    background: #0d7a61;
}

.tsv-card__button--full {
    width: 100%;
    margin-top: 0.9rem;
}

.tsv-sidebar {
    padding: 1.1rem;
    border: 1px solid rgba(31, 111, 134, 0.14);
    border-radius: 24px;
    background: #fbf8f1;
    box-shadow: 0 16px 34px rgba(48, 35, 22, 0.08);
}

.tsv-sidebar--sticky {
    position: sticky;
    top: 1.5rem;
}

.tsv-sidebar__header {
    padding: 0.35rem 0.25rem 1rem;
}

.tsv-sidebar__header p {
    font-size: 0.94rem;
}

.tsv-sidebar__list {
    display: grid;
    gap: 1rem;
}

.tsv-sidecard {
    overflow: hidden;
    border: 1px solid rgba(31, 111, 134, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(48, 35, 22, 0.05);
}

.tsv-sidecard__image {
    aspect-ratio: 16 / 10;
}

.tsv-sidecard__body .tsv-card__rating {
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .tsv-textbox--style-split,
    .tsv-textbox--style-graphic {
        display: block;
    }

    .tsv-textbox--style-split .tsv-textbox__actions,
    .tsv-textbox--style-graphic .tsv-textbox__actions {
        margin-top: 1.2rem;
        justify-self: start;
    }

    .tsv-textbox--style-graphic {
        min-height: 0;
    }

    .tsv-textbox--style-graphic .tsv-textbox__content {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .tsv-widget,
    .tsv-textbox,
    .tsv-sidebar {
        padding: 1.25rem;
    }

    .tsv-widget__grid {
        grid-template-columns: 1fr;
    }

    .tsv-card--mobile-extra {
        display: none;
    }

    .tsv-card {
        display: grid;
        grid-template-columns: 112px 1fr;
    }

    .tsv-card__image {
        height: 100%;
        aspect-ratio: auto;
    }

    .tsv-card__body {
        padding: 0.9rem;
    }

    .tsv-card h3 {
        font-size: 1rem;
    }

    .tsv-card__description {
        display: none;
    }

    .tsv-card__footer {
        margin-top: 0.6rem;
    }
}

@media (max-width: 520px) {
    .tsv-smart-block,
    .tsv-widget,
    .tsv-textbox,
    .tsv-sidebar {
        margin: 2rem 0;
    }

    .tsv-widget,
    .tsv-textbox,
    .tsv-sidebar {
        padding: 1rem;
        border-radius: 22px;
    }

    .tsv-textbox h3 {
        font-size: 2rem;
    }

    .tsv-card {
        grid-template-columns: 96px 1fr;
        border-radius: 18px;
    }

    .tsv-card__button,
    .tsv-textbox__button {
        min-height: 34px;
        padding: 0.62rem 0.85rem;
        font-size: 0.82rem;
    }
}


.tsv-inline-link {
    color: #0f6f86;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.tsv-inline-link:hover {
    color: #0d5870;
}
