/* TenorioWP — diseño de la portada y base accesible. */

:root {
    --tn-forest: #102d27;
    --tn-forest-deep: #081f1b;
    --tn-ink: #18322b;
    --tn-muted: #5c6b64;
    --tn-orange: #f47721;
    --tn-orange-bright: #ff963e;
    --tn-orange-dark: #9a3412;
    --tn-cream: #f6f5f2;
    --tn-paper: #ffffff;
    --tn-line: #e6e1d8;
    --tn-peach: #fbf3e8;
    --tn-story: #eef3f0;
    --tn-google: #1a56db;
    --tn-star: #e0a106;
    --tn-focus: #0e2420;
    --tn-wrap: 1120px;
    --tn-font: "Source Sans 3", "Segoe UI", sans-serif;
    --tn-display: "Outfit", "Segoe UI", sans-serif;
    --tn-accent: var(--tn-orange);
    --tn-title-accent: var(--tn-orange-bright);
    --tn-overlay: rgba(8, 28, 24, 0.86);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body.tenorio {
    margin: 0;
    color: var(--tn-ink);
    background: var(--tn-paper);
    font-family: var(--tn-font);
    font-size: 1.0625rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, p {
    overflow-wrap: anywhere;
}

h1, h2, h3 {
    font-family: var(--tn-display);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 0.6rem;
}

a {
    color: var(--tn-forest);
}

a:hover {
    color: var(--tn-orange-dark);
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--tn-focus);
    outline-offset: 3px;
}

.tn-hero :focus-visible,
.tn-promo :focus-visible,
.tn-cta :focus-visible,
.tn-footer :focus-visible,
.tn-btn:focus-visible,
.tn-loc__mapbar a:focus-visible {
    outline-color: #fff;
}

.tn-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tn-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 10000;
    background: #fff;
    color: var(--tn-ink);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

.tn-skip:focus {
    top: 1rem;
}

.tn-wrap {
    width: min(var(--tn-wrap), calc(100% - 2.5rem));
    margin-inline: auto;
}

.tn-shell.e-con,
.tenorio .elementor-section.tn-shell,
.tenorio .tn-shell > .elementor-container {
    padding: 0;
    margin: 0;
    max-width: none;
}

.tn-eyebrow {
    margin: 0 0 0.7rem;
    color: var(--tn-orange);
    font-family: var(--tn-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tn-eyebrow--light {
    color: #f3c39a;
}

.tn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--tn-accent);
    color: #182d25;
    font-family: var(--tn-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.tn-btn:hover,
.tn-btn:focus-visible {
    background: #ff9341;
    color: #182d25;
}

.tn-btn--sm {
    min-height: 44px;
    padding: 0.45rem 0.95rem;
    font-size: 0.92rem;
}

.tn-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.tn-btn--ghost:hover,
.tn-btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.tn-btn--line {
    background: #fff;
    color: #182d25;
    border-color: #b9c7bd;
    min-height: 44px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
}

.tn-btn--line:hover,
.tn-btn--line:focus-visible {
    background: #f2f5f0;
    color: #182d25;
}

.tn-btn--forest,
.tn-btn--forest:hover,
.tn-btn--forest:focus-visible {
    background: var(--tn-forest);
    color: #fff;
}

.tn-btn--forest:hover,
.tn-btn--forest:focus-visible {
    background: #0c221c;
}

.tn-btn--google {
    background: var(--tn-google);
}

.tn-btn--google:hover,
.tn-btn--google:focus-visible {
    background: #1e3a8a;
}

.tn-textlink {
    color: var(--tn-ink);
    font-weight: 700;
    text-underline-offset: 0.22em;
}

.tn-textlink--light {
    color: #fff;
}

.tn-textlink--strong {
    border-bottom: 2px solid var(--tn-ink);
    text-decoration: none;
    padding-bottom: 0.15rem;
}

.tn-iconbtn {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--tn-line);
    border-radius: 999px;
    background: #fff;
    color: var(--tn-ink);
    font-size: 1.1rem;
    cursor: pointer;
}

/* Header */
.tn-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid rgba(20, 34, 30, 0.08);
}

.tn-header__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: min(1180px, calc(100% - 2rem));
    min-height: 76px;
    margin: 0 auto;
}

.tn-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--tn-ink);
    text-decoration: none;
    font-family: var(--tn-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.tn-logo:hover {
    color: var(--tn-ink);
}

.tn-logo__mark,
.tn-logo__img {
    width: 42px;
    height: 42px;
    display: block;
}

.tn-logo__wordmark {
    width: 210px;
    height: 50px;
    display: block;
}

.tn-logo__img {
    width: 112px;
    max-height: none;
    height: auto;
}

.tn-nav {
    margin-left: auto;
}

.tn-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0 0.2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.tn-nav__toggle::-webkit-details-marker {
    display: none;
}

.tn-nav__bars,
.tn-nav__bars::before,
.tn-nav__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--tn-ink);
    content: "";
}

.tn-nav__bars {
    position: relative;
}

.tn-nav__bars::before,
.tn-nav__bars::after {
    position: absolute;
    left: 0;
}

.tn-nav__bars::before { top: -6px; }
.tn-nav__bars::after { top: 6px; }

.tn-nav__list {
    display: flex;
    gap: 0.35rem 1.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tn-nav__list a {
    color: var(--tn-forest);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.02rem;
}

.tn-nav__list a:hover,
.tn-nav__list a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.28em;
}

.tn-header__cta {
    flex: 0 0 auto;
    margin-left: 0.35rem;
}

.tn-topbar {
    background: #0e3a30;
    color: #fff;
    font-size: 0.92rem;
}

.tn-topbar__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: min(1180px, calc(100% - 2rem));
    min-height: 36px;
    margin: 0 auto;
    align-items: center;
}

.tn-topbar p {
    margin: 0;
}

.tn-header__tools,
.tn-header__icons {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.tn-header__tools {
    margin-left: auto;
}

.tn-iconlink {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--tn-forest);
}

.tn-iconlink svg {
    width: 22px;
    height: 22px;
}

.tn-header .site-header__wishlist {
    width: 44px;
    height: 44px;
    color: var(--tn-forest);
}

.tn-header .site-header__search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--tn-forest);
}

.tn-header .site-header__account {
    color: var(--tn-forest);
    min-height: 44px;
    padding: 0.5rem;
    letter-spacing: normal;
    text-transform: none;
}

.tn-header .site-header__search:hover,
.tn-header .site-header__account:hover,
.tn-header .site-header__account:focus-visible {
    color: var(--tn-orange);
    opacity: 1;
}

.tn-shop__search {
    padding-top: 1.5rem;
    scroll-margin-top: 6rem;
}

.tn-product-search label {
    flex-basis: 100%;
    font-weight: 700;
}

.tn-product-search input[type="search"] {
    flex: 1 1 240px;
    width: auto;
}

.tn-header .site-header__wishlist:hover,
.tn-header .site-header__wishlist:focus {
    color: var(--tn-orange);
    opacity: 1;
}

.tn-header .site-header__wishlist-icon svg {
    width: 22px;
    height: 22px;
}

.tn-header .site-header__wishlist-count {
    top: 4px;
    right: 2px;
    background: var(--tn-orange);
}

.tn-cartcount {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: var(--tn-orange);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
}

@media (min-width: 960px) {
    .tn-header__bar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        align-items: center;
    }

    .tn-nav,
    .tn-nav__panel,
    .tn-nav__panel > nav {
        display: contents;
    }

    .tn-nav::details-content {
        display: contents !important;
        content-visibility: visible !important;
    }

    .tn-nav__list {
        display: flex !important;
        grid-column: 2;
        justify-self: center;
    }

    .tn-nav__toggle {
        display: none;
    }

    .tn-header__icons {
        grid-column: 3;
    }

    .tn-header__tools {
        grid-column: 4;
        margin-left: 0.35rem;
        justify-self: end;
    }
}

@media (max-width: 959px) {
    .tn-header__bar {
        flex-wrap: wrap;
        width: min(1180px, calc(100% - 1.25rem));
        min-height: 64px;
        padding: 0.35rem 0;
    }

    .tn-logo__img {
        width: 96px;
    }

    .tn-logo__wordmark {
        width: 132px;
        height: 34px;
    }

    .tn-nav__toggle > span:not(.tn-nav__bars) {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .tn-nav {
        position: static;
        order: 3;
        margin-left: 0.2rem;
    }

    .tn-nav__toggle {
        min-width: 44px;
        justify-content: center;
    }

    .tn-header__tools {
        order: 2;
        margin-left: auto;
    }

    .tn-nav__panel,
    .tn-nav__list {
        display: none;
    }

    .tn-nav[open] .tn-nav__panel {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 30;
        padding: 0.35rem 1.25rem 0.85rem;
        background: #fff;
        border-bottom: 1px solid var(--tn-line);
    }

    .tn-nav[open] .tn-nav__list {
        display: flex;
        flex-direction: column;
    }

    .tn-header__icons {
        gap: 0.25rem;
        margin-top: 0.35rem;
        padding-top: 0.45rem;
        border-top: 1px solid var(--tn-line);
    }

    .tn-nav__list a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

@media (max-width: 560px) {
    .tn-header__tools {
        margin-left: auto;
    }
}

/* Hero */
.tn-hero {
    background: #fff;
}

.tn-hero__stage {
    position: relative;
    isolation: isolate;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    color: #fff;
    overflow: hidden;
    background: #10231e;
}

.tn-hero__stage > .tn-hero__img,
.tn-hero__stage > .tn-hero__shade,
.tn-promo__panel > .tn-promo__img,
.tn-promo__panel > .tn-promo__shade {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
}

.tn-hero__img {
    object-fit: cover;
    z-index: -2;
}

.tn-hero__shade {
    z-index: -1;
    background: linear-gradient(90deg, var(--tn-overlay) 0%, rgba(8, 28, 24, 0.42) 46%, rgba(8, 28, 24, 0.08) 78%);
}

.tn-hero__content {
    width: min(34rem, calc(100% - 2.5rem));
    max-width: none;
    margin-left: clamp(1.25rem, 3.5vw, 3.25rem);
    margin-right: auto;
    padding: 4.5rem 0 4rem;
}

.tn-hero h1 {
    display: flex;
    flex-direction: column;
    font-size: clamp(2.7rem, 6vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    margin-bottom: 1rem;
}

.tn-hero__accent {
    color: var(--tn-title-accent);
}

.tn-hero__lead {
    max-width: 38rem;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.92);
}

.tn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 0.9rem;
    margin-top: 1.5rem;
}

.tn-hero__badge {
    position: absolute;
    right: clamp(1.25rem, 3.5vw, 3.25rem);
    bottom: 1.4rem;
    z-index: 1;
    margin: 0;
    padding-right: 0.85rem;
    border-right: 3px solid var(--tn-orange-bright);
    text-align: right;
    color: #fff;
}

.tn-hero__badge strong,
.tn-hero__badge span {
    display: block;
}

.tn-hero__badge strong {
    font-family: var(--tn-display);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}

.tn-hero__badge span {
    font-size: 0.95rem;
}

.tn-trust {
    display: flex;
    justify-content: space-between;
    gap: 1rem 2rem;
    width: 100%;
    margin: 0;
    padding: 1rem max(1.25rem, calc((100% - var(--tn-wrap)) / 2));
    list-style: none;
    background: #f1f6f0;
    color: var(--tn-forest);
    font-weight: 700;
}

.tn-trust li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.tn-trust svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

/* Adventures */
.tn-adv {
    background: var(--tn-section-bg, var(--tn-cream));
    padding: 4.5rem 0 3.5rem;
}

.tn-adv__head {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.6rem;
}

.tn-adv h2,
.tn-reviews h2,
.tn-faq h2,
.tn-banner h1,
.tn-story h2,
.tn-loc h2,
.tn-cta h2,
.tn-gallery h2,
.tn-contact h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    color: var(--tn-forest);
}

.tn-adv__intro,
.tn-loc__intro {
    margin: 0;
    color: var(--tn-muted);
}

.tn-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tn-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(18, 40, 34, 0.05);
}

.tn-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #d9e0db;
}

.tn-card__media .stx-wishlist-toggle {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.tn-card__media .tn-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tn-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1.05rem 1.05rem;
}

.tn-card__cat,
.tn-card__meta,
.tn-place__detail,
.tn-quote__meta,
.tn-reviews__note {
    color: var(--tn-muted);
    font-size: 0.92rem;
}

.tn-card__cat {
    margin: 0 0 0.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
}

.tn-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.tn-card__meta {
    margin: 0 0 0.9rem;
}

.tn-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--tn-line);
}

.tn-card__price {
    margin: 0;
}

.tn-card__price span {
    color: var(--tn-muted);
    font-size: 0.85rem;
}

.tn-card__price strong {
    display: block;
    font-family: var(--tn-display);
    font-size: 1.7rem;
    letter-spacing: -0.04em;
    color: var(--tn-ink);
}

.tn-card__tax {
    display: block;
    font-size: 0.75rem;
}

.tn-adv__more {
    text-align: center;
    margin: 1.6rem 0 0;
}

/* Locations */
.tn-loc {
    padding: 4.2rem 0;
    background: #fff;
}

.tn-loc__head {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.4rem;
}

.tn-loc__grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 1rem;
    align-items: stretch;
}

.tn-loc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tn-place {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--tn-line);
    border-radius: 14px;
    background: #fff;
}

.tn-place--hot {
    background: var(--tn-peach);
    border-color: transparent;
}

.tn-place h3 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.tn-place p {
    margin: 0;
}

.tn-place__pin {
    width: 14px;
    height: 14px;
    margin-top: 0.3rem;
    border-radius: 50%;
    background: var(--tn-orange);
    box-shadow: 0 0 0 5px rgba(226, 106, 30, 0.18);
    flex: 0 0 auto;
}

.tn-loc__map {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--tn-line);
}

.tn-loc__mapbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--tn-forest);
    color: #fff;
}

.tn-loc__mapbar p {
    margin: 0;
    font-weight: 700;
}

.tn-loc__mapbar a {
    color: #fff;
}

.tn-loc__map iframe {
    flex: 1;
    width: 100%;
    min-height: 340px;
    border: 0;
}

/* Promo */
.tn-promo {
    padding: 1rem 0 3rem;
}

.tn-promo__panel {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--tn-forest);
}

.tn-promo__img,
.tn-promo__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tn-promo__img {
    object-fit: cover;
    z-index: -2;
}

.tn-promo__shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(10, 32, 28, 0.88) 0%, rgba(10, 32, 28, 0.55) 42%, rgba(10, 32, 28, 0.1) 75%);
}

.tn-promo__copy {
    max-width: 32rem;
    padding: 2.5rem;
}

.tn-promo h2 {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.tn-promo__accent {
    color: var(--tn-title-accent);
}

.tn-promo__badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    margin: 0;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    background: rgba(12, 32, 28, 0.82);
    font-size: 0.85rem;
    font-weight: 700;
}

.tn-promo__note {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 0.8rem;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    background: var(--tn-peach);
}

.tn-promo__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    margin: 1rem 0 1.3rem;
    padding: 0;
    list-style: none;
}

.tn-promo__chips li {
    font-weight: 700;
    padding-right: 0.8rem;
    border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.tn-promo__chips li:last-child {
    border: 0;
    padding-right: 0;
}

.tn-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.tn-cta__phone {
    color: #d8e4dc;
    font-weight: 700;
    text-decoration: none;
}

.tn-footer__tagline {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
}

.tn-footer__label {
    margin: 0.7rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9fb6a8;
}

.tn-footer__note {
    display: block;
    font-size: 0.78rem;
    color: #9fb6a8;
}

.tn-footer__signoff,
.tn-footer__credit {
    text-align: center;
}

.tn-footer__credit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem .5rem;
    margin: 0;
    padding: 0.9rem 1rem 1.2rem;
    background: rgba(0, 0, 0, .18);
    color: #e7efe9;
}

.tn-footer .tn-footer__credit a.tn-footer__credit-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #f3c39a;
    font-weight: 700;
}

.tn-footer__credit-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.tn-footer .tn-footer__credit a:focus-visible {
    outline-color: #f3c39a;
}

/* Story */
.tn-story {
    background: var(--tn-section-bg, var(--tn-story));
    padding: 4.5rem 0;
}

.tn-story__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.tn-story__text {
    max-width: 38rem;
    color: var(--tn-muted);
}

.tn-story__yearblock {
    text-align: center;
}

.tn-story__year {
    margin: 0;
    font-family: var(--tn-display);
    font-size: clamp(5rem, 12vw, 8.5rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.85;
    color: var(--tn-forest);
}

.tn-story__note {
    color: var(--tn-muted);
}

.tn-story__body {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.tn-story__body h3 {
    font-size: 1.35rem;
}

.tn-story__body p {
    margin-bottom: 0;
    color: var(--tn-muted);
}

@media (max-width: 700px) {
    .tn-story__body {
        grid-template-columns: 1fr;
    }
}

/* Reviews */
.tn-reviews {
    padding: 4.2rem 0 3rem;
    background: #fff;
}

.tn-reviews h2,
.tn-reviews__sub {
    text-align: center;
}

.tn-reviews__sub {
    margin-top: 0;
    color: var(--tn-muted);
}

.tn-reviews__summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin: 1.4rem 0;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: #f4f5f4;
}

.tn-reviews__label,
.tn-reviews__score,
.tn-reviews__note {
    margin: 0;
}

.tn-reviews__score strong {
    font-family: var(--tn-display);
    font-size: 1.4rem;
    margin-right: 0.35rem;
}

.tn-stars .is-on { color: var(--tn-star); }
.tn-stars .is-off { color: #c8c2b6; }

.tn-reviews__viewport {
    overflow: hidden;
}

.tn-reviews__track {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.35s ease;
}

.tn-quote {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-height: 240px;
    padding: 1.1rem;
    border-radius: 14px;
    background: #f6f7f6;
}

.tn-quote__name {
    margin: 0;
    font-weight: 700;
}

.tn-quote__meta {
    margin: 0.15rem 0 0.4rem;
}

.tn-quote blockquote {
    margin: 0.7rem 0;
}

.tn-quote blockquote p {
    margin: 0;
}

.tn-quote__source {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--tn-google);
    font-weight: 700;
    font-size: 0.92rem;
}

.tn-quote__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #188038;
}

.tn-reviews__controls,
.tn-dots {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.tn-dots {
    justify-content: center;
}

.tn-dots button {
    width: 44px;
    height: 18px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.tn-dots button::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5d0c8;
}

.tn-dots button[aria-current="true"]::before {
    background: var(--tn-forest);
}

/* FAQ */
.tn-faq {
    padding: 4rem 0 4.5rem;
}

.tn-faq__grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 2rem;
    align-items: start;
}

.tn-faq__item {
    border-bottom: 1px solid var(--tn-line);
}

.tn-faq__item summary {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.tn-faq__item summary::-webkit-details-marker {
    display: none;
}

.tn-faq__item summary::after {
    content: "+";
    font-family: var(--tn-display);
    font-size: 1.4rem;
    color: var(--tn-muted);
}

.tn-faq__item[open] summary::after {
    content: "–";
}

.tn-faq__answer {
    padding: 0 0 1rem;
    color: var(--tn-muted);
    max-width: 62ch;
}

/* CTA */
.tn-cta {
    --tn-section-bg: var(--tn-forest-deep);
    background: var(--tn-section-bg);
    color: #fff;
    padding: 3.2rem 0;
}

.tn-cta h2 {
    color: #fff;
}

.tn-cta__grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.tn-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

/* Footer */
.tn-footer {
    --tn-section-bg: #0e2420;
    background: var(--tn-section-bg, #0e2420);
    color: rgba(255, 255, 255, 0.86);
    padding: 3rem 0 1.2rem;
}

.tn-footer a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.tn-footer h2 {
    color: #f3c39a;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.tn-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 1.5rem;
}

.tn-footer__brand p {
    max-width: 26rem;
}

.tn-logo--footer .tn-logo__img,
.tn-logo--footer .tn-logo__plate {
    display: inline-flex;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
}

.tn-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tn-footer__grid nav li + li {
    margin-top: 0.4rem;
}

.tn-footer__address {
    font-style: normal;
}

.tn-footer__address p {
    margin: 0 0 0.35rem;
}

.tn-social {
    display: flex;
    gap: 0.4rem;
}

.tn-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
}

.tn-social svg {
    width: 20px;
    height: 20px;
}

.tn-footer__base {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tn-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1rem;
}

.tn-footer__base > p {
    margin: 0;
}

.tn-footer__credit {
    text-align: center;
    font-size: 0.85rem;
}

/* Inner pages */
.tn-account-page,
.tn-work-page {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.tn-account-page > h1,
.tn-work-page > h1 {
    margin-bottom: 1.5rem;
}

.tn-work-page .stx-work-with-us__title {
    display: none;
}

.tn-work-page .stx-work-with-us__form-section {
    max-width: 52rem;
    margin-top: 2rem;
}

.tn-work-page .stx-work-with-us__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 2rem;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    background: var(--tn-cream);
}

.tn-work-page .stx-work-with-us__field label,
.tn-work-page .stx-work-with-us__upload-title {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.tn-work-page .stx-work-with-us__field input,
.tn-work-page .stx-work-with-us__field select,
.tn-work-page input[type="file"] {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem;
    border: 1px solid #b1bcb6;
    border-radius: 8px;
    background: #fff;
    color: var(--tn-ink);
    font: inherit;
}

.tn-work-page .stx-work-with-us__upload,
.tn-work-page .stx-work-with-us__feedback {
    grid-column: 1 / -1;
}

.tn-work-page .stx-work-with-us__upload-meta {
    color: var(--tn-muted);
    font-size: 0.9rem;
}

.tn-work-page .stx-work-with-us__hp {
    display: none;
}

.tn-work-page .stx-work-with-us__submit {
    min-height: 44px;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 8px;
    background: var(--tn-forest);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tn-work-page .stx-work-with-us__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.tn-work-page .stx-work-with-us__feedback:empty {
    display: none;
}

.tn-work-page .stx-work-with-us__feedback:not(:empty) {
    padding: 1rem;
    margin: 0;
    border-radius: 8px;
}

.tn-work-page .stx-work-with-us__feedback.is-success {
    background: #e7f6ee;
    color: #0f5132;
}

.tn-work-page .stx-work-with-us__feedback.is-error {
    background: #fff1f2;
    color: #9f1239;
}

@media (max-width: 600px) {
    .tn-work-page .stx-work-with-us__form {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

.tn-account-page .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tn-account-page .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--tn-line);
    text-decoration: none;
}

.tn-account-page .woocommerce-MyAccount-navigation .is-active a {
    background: var(--tn-forest);
    color: #fff;
}

@media (max-width: 768px) {
    .tn-account-page .woocommerce-MyAccount-navigation {
        margin-bottom: 1.5rem;
    }
}

.tn-banner {
    padding: 4.2rem 0 2rem;
    background: var(--tn-cream);
}

.tn-banner__lead {
    max-width: 40rem;
    color: var(--tn-muted);
    font-size: 1.15rem;
}

.tn-banner__body.tn-prose {
    max-width: 46rem;
    padding: 0.5rem 0 0;
}

.tn-gallery__intro {
    max-width: 40rem;
    color: var(--tn-muted);
}

/* Lista de deseos de SmartTravelX */
.tn-wishlist-page .stx-wishlist {
    max-width: none;
    margin: 0;
    padding: 0 0 4.5rem;
    background: #fff;
}

.tn-wishlist-page .stx-wishlist__header {
    margin: 0;
    padding: 4.2rem 0 2.4rem;
    background: var(--tn-cream);
    text-align: left;
}

.tn-wishlist-page .stx-wishlist__header::before {
    content: "Saved adventures";
    display: block;
    width: min(var(--tn-wrap), calc(100% - 2.5rem));
    margin: 0 auto 0.7rem;
    color: var(--tn-orange);
    font-family: var(--tn-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tn-wishlist-page .stx-wishlist__title,
.tn-wishlist-page .stx-wishlist__lead {
    width: min(var(--tn-wrap), calc(100% - 2.5rem));
    margin-left: auto;
    margin-right: auto;
}

.tn-wishlist-page .stx-wishlist__title {
    margin-bottom: 0.55rem;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.tn-wishlist-page .stx-wishlist__lead {
    max-width: 40rem;
    margin-top: 0;
    color: var(--tn-muted);
    font-size: 1.15rem;
}

.tn-wishlist-page .stx-wishlist__content {
    width: min(var(--tn-wrap), calc(100% - 2.5rem));
    margin: 2rem auto 0;
}

.tn-wishlist-page .stx-wishlist__empty {
    max-width: 38rem;
    margin: 0.5rem auto 0;
    padding: 2.6rem 1.6rem;
    border: 0;
    border-radius: 16px;
    background: var(--tn-peach);
    text-align: center;
}

.tn-wishlist-page .stx-wishlist__empty-text {
    margin: 0 0 1.25rem;
    color: var(--tn-ink);
    font-size: 1.08rem;
    line-height: 1.55;
}

.tn-wishlist-page .stx-wishlist__empty-cta,
.tn-wishlist-page .stx-wishlist-card__book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--tn-orange);
    color: #fff;
    font-family: var(--tn-display);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.tn-wishlist-page .stx-wishlist__empty-cta:hover,
.tn-wishlist-page .stx-wishlist__empty-cta:focus-visible,
.tn-wishlist-page .stx-wishlist-card__book:hover,
.tn-wishlist-page .stx-wishlist-card__book:focus-visible {
    background: #ff9341;
    color: #fff;
}

.tn-wishlist-page .stx-wishlist__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    align-items: stretch;
    gap: 1.15rem;
}

.tn-wishlist-page .stx-wishlist-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(18, 40, 34, 0.05);
}

.tn-wishlist-page .stx-wishlist-card__media {
    flex: 0 0 auto;
    width: 100%;
}

.tn-wishlist-page .stx-wishlist-card__media-link {
    display: block;
    width: 100%;
    height: 220px;
    aspect-ratio: auto;
    overflow: hidden;
    background: #e7eeea;
}

.tn-wishlist-page .stx-wishlist-card__media-link img,
.tn-wishlist-page .stx-wishlist-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.tn-wishlist-page .stx-wishlist-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 1.05rem 1.05rem;
}

.tn-wishlist-page .stx-wishlist-card__title {
    font-family: var(--tn-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.tn-wishlist-page .stx-wishlist-card__title a {
    color: var(--tn-forest);
    text-decoration: none;
}

.tn-wishlist-page .stx-wishlist-card__title a:hover,
.tn-wishlist-page .stx-wishlist-card__title a:focus-visible {
    color: var(--tn-orange-dark);
}

.tn-wishlist-page .stx-wishlist-card__price {
    margin-top: auto;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-weight: 800;
}

.tn-wishlist-page .stx-wishlist-card__actions {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--tn-line);
}

.tn-wishlist-page .stx-wishlist-card__price + .stx-wishlist-card__actions {
    margin-top: 0.75rem;
}

.tn-wishlist-page .stx-wishlist-card__book,
.tn-wishlist-page .stx-wishlist-card__remove {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.75rem 0.7rem;
    text-align: center;
}

.tn-wishlist-page .stx-wishlist-card__remove {
    min-height: 48px;
    border: 2px solid #b9c7bd;
    border-radius: 8px;
    background: #fff;
    color: #182d25;
    font-family: var(--tn-display);
    font-size: 0.85rem;
    font-weight: 700;
}

.tn-wishlist-page .stx-wishlist-card__remove:hover,
.tn-wishlist-page .stx-wishlist-card__remove:focus-visible {
    background: #f2f5f0;
    border-color: #b9c7bd;
    color: #182d25;
}

@media (max-width: 700px) {
    .tn-wishlist-page .stx-wishlist__grid {
        grid-template-columns: 1fr;
    }

    .tn-wishlist-page .stx-wishlist-card__media-link {
        height: 200px;
    }
}

.tn-gallery {
    padding: 1rem 0 4rem;
}

.tn-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.tn-gallery__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.tn-lightbox {
    width: min(960px, calc(100% - 2rem));
    border: 0;
    border-radius: 16px;
    padding: 1rem;
}

.tn-lightbox::backdrop {
    background: rgba(8, 20, 18, 0.72);
}

.tn-lightbox img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.tn-contact {
    padding: 1rem 0 4rem;
}

.tn-contact__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
}

.tn-form {
    display: grid;
    gap: 0.85rem;
}

.tn-field {
    margin: 0;
    display: grid;
    gap: 0.3rem;
}

.tn-field label {
    font-weight: 700;
}

.tn-req {
    font-weight: 600;
    color: var(--tn-muted);
}

.tn-field input,
.tn-field textarea,
.tn-search input {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cfc8bc;
    border-radius: 8px;
    font: inherit;
    color: var(--tn-ink);
    background: #fff;
}

.tn-field textarea {
    min-height: 140px;
}

.tn-field__error,
.tn-form__errors {
    color: #9f1239;
    font-weight: 700;
}

.tn-form__ok {
    margin: 0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: #e7f6ee;
    color: #14532d;
    font-weight: 700;
}

.tn-form__errors {
    margin: 0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: #fff1f2;
}

.tn-hp {
    position: absolute;
    left: -9999px;
}

.tn-prose {
    padding: 3rem 0 4rem;
}

.tn-prose h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--tn-forest);
}

.tn-entry {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--tn-line);
}

.tn-entry__meta {
    color: var(--tn-muted);
}

.tn-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: end;
    margin-top: 1rem;
}

.tn-search label {
    flex: 1 0 100%;
    font-weight: 700;
}

.tn-search input {
    flex: 1 1 220px;
}

.tn-comments {
    padding-bottom: 4rem;
}

@media (max-width: 980px) {
    .tn-adv__head,
    .tn-loc__head,
    .tn-loc__grid,
    .tn-story__grid,
    .tn-faq__grid,
    .tn-contact__grid,
    .tn-footer__grid {
        grid-template-columns: 1fr;
    }

    .tn-cards,
    .tn-gallery__grid {
        grid-template-columns: 1fr 1fr;
    }

    .tn-quote {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .tn-cta__grid,
    .tn-promo__note,
    .tn-footer__base,
    .tn-reviews__summary {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .tn-cards,
    .tn-gallery__grid {
        grid-template-columns: 1fr;
    }

    .tn-quote {
        flex-basis: 100%;
    }

    .tn-hero__stage {
        min-height: 0;
        display: block;
    }

    .tn-hero__stage > .tn-hero__img {
        position: relative !important;
        inset: auto !important;
        display: block;
        width: 100% !important;
        height: 46vw !important;
        min-height: 168px;
        max-height: 240px;
        object-position: center;
    }

    .tn-hero__shade {
        display: none;
    }

    .tn-hero__content {
        width: auto;
        margin: 0 1.15rem;
        padding: 1.15rem 0 0.15rem;
    }

    .tn-hero h1 {
        font-size: 2.15rem;
        margin-bottom: 0.55rem;
    }

    .tn-hero__lead {
        font-size: 1rem;
        line-height: 1.45;
    }

    .tn-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .tn-hero__actions .tn-btn {
        width: 100%;
    }

    .tn-hero__badge {
        position: static;
        margin: 0.9rem 1.15rem 1.15rem;
        text-align: left;
        border-right: 0;
        border-left: 3px solid var(--tn-orange-bright);
        padding: 0 0 0 0.75rem;
    }

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

.offices-layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 1.4rem;
    align-items: stretch;
}

.office-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.office-card {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 1.1rem;
    border: 1px solid #dbe2de;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.office-card:hover {
    border-color: #244b38;
}

.office-main {
    background: #fff6eb;
    border-color: #e9c6a2;
}

.office-card.is-selected {
    background: #edf3ee;
    border-color: #244b38;
    box-shadow: inset 3px 0 #244b38;
}

.office-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    margin: 0;
    border-radius: 50%;
    background: #edf2ed;
    color: #244b38;
    font-weight: 800;
}

.office-main .office-number {
    background: var(--tn-orange);
    color: var(--tn-ink);
}

.office-kind {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #77532e;
}

.office-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.office-area {
    margin: 0.25rem 0 0;
    color: var(--tn-muted);
    font-size: 0.9rem;
}

.office-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-top: 0.5rem;
}

.office-directions {
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tn-ink);
    text-decoration: none;
    padding: 0.4rem 0;
}

.office-map-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dbe2de;
    border-radius: 8px;
    background: #edf2eb;
}

.office-map-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: var(--tn-forest);
    color: #fff;
    font-weight: 700;
}

.office-show-all {
    font: inherit;
    font-size: 0.82rem;
    color: #fff;
    border: 1px solid #8aa194;
    border-radius: 4px;
    padding: 0.4rem 0.7rem;
    background: transparent;
    cursor: pointer;
}

.office-map {
    min-height: 400px;
    flex: 1;
    background: #e4ecdf;
}

.office-map-fallback,
.office-map-status,
.office-note {
    margin: 0;
    color: var(--tn-muted);
}

.office-map-fallback {
    padding: 1.5rem;
}

.office-map-status {
    padding: 0.7rem 1rem;
    background: #f4f7f1;
    font-size: 0.85rem;
}

.office-note {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.office-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #173f32;
    color: #fff;
    font: 700 15px Arial, sans-serif;
    box-shadow: 0 2px 9px rgba(16, 45, 39, 0.25);
}

.office-pin-main {
    background: var(--tn-orange);
    color: var(--tn-ink);
}

@media (max-width: 900px) {
    .offices-layout {
        grid-template-columns: 1fr;
    }

    .office-map {
        min-height: 320px;
    }
}

/* Tienda */
body.woocommerce-shop {
    background: var(--tn-cream);
}

.tn-shop__hero {
    padding: clamp(2.4rem, 6vw, 4.2rem) 0 clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse at 88% 0%, rgba(244, 119, 33, 0.34), transparent 46%),
        linear-gradient(125deg, var(--tn-forest-deep) 0%, var(--tn-forest) 58%, #1c4a3c 100%);
    color: #fff;
}

.tn-shop__hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    letter-spacing: -0.04em;
}

.tn-shop__lead {
    max-width: 36rem;
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
}

.tn-shop__catalog {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem 1.25rem;
    min-width: 0;
    padding: 0;
}

.tn-shop__layout {
    display: grid;
    grid-template-columns: minmax(15.5rem, 17.5rem) minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
    align-items: start;
    width: min(1180px, calc(100% - 2.5rem));
    margin-inline: auto;
    padding: 1.6rem 0 4.2rem;
}

.tn-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tn-shop-filters-wrap {
    position: sticky;
    top: 5.5rem;
}

.tn-shop-filters__open,
.tn-shop-filters__close,
.tn-shop-filters__backdrop {
    display: none;
}

.tn-shop-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 1.1rem;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(18, 40, 34, 0.05);
}

.tn-shop-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.tn-shop-filters__title {
    margin: 0;
    font-size: 1.15rem;
    color: var(--tn-forest);
}

.tn-shop-filters__search label,
.tn-shop-filters legend {
    display: block;
    margin: 0 0 0.4rem;
    color: var(--tn-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tn-shop-filters fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.tn-shop-filters__search input,
.tn-shop-filters__search select {
    width: 100%;
    min-height: 44px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--tn-line);
    border-radius: 8px;
    background: #fff;
    color: var(--tn-ink);
    font: inherit;
}

.tn-shop-filters fieldset label,
.tn-shop-filters__check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 36px;
    margin: 0;
    color: var(--tn-ink);
    font-weight: 600;
    cursor: pointer;
}

.tn-shop-filters input[type="radio"],
.tn-shop-filters input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--tn-orange);
}

.tn-shop-filters__actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tn-shop-filters__clear {
    padding: 0;
    border: 0;
    background: none;
    color: var(--tn-ink);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.tn-shop-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tn-shop-chips form {
    margin: 0;
}

.tn-shop-chips button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 36px;
    padding: 0.2rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--tn-peach);
    color: var(--tn-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tn-shop-chips button:hover,
.tn-shop-chips button:focus-visible {
    background: var(--tn-orange);
    color: #182d25;
}

.tn-shop .woocommerce::before,
.tn-shop .woocommerce::after,
.tn-shop ul.products::before,
.tn-shop ul.products::after {
    content: none;
    display: none;
}

.tn-shop__catalog > .woocommerce-notices-wrapper,
.tn-shop__catalog > ul.products,
.tn-shop__catalog > .woocommerce-pagination,
.tn-shop .woocommerce-notices-wrapper,
.tn-shop ul.products,
.tn-shop .woocommerce-pagination {
    grid-column: 1 / -1;
}

.tn-shop .woocommerce-notices-wrapper:empty {
    display: none;
}

.tn-shop .woocommerce-result-count {
    float: none;
    margin: 0;
    color: var(--tn-muted);
    font-weight: 700;
}

.tn-shop .woocommerce-ordering {
    float: none;
    margin: 0;
}

.tn-shop .woocommerce-ordering select {
    min-height: 44px;
    padding: 0.4rem 2.2rem 0.4rem 0.85rem;
    border: 1px solid var(--tn-line);
    border-radius: 8px;
    background-color: #fff;
    color: var(--tn-ink);
    font: inherit;
    font-weight: 700;
}

.tn-shop ul.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
}

.tn-shop ul.products[class*="columns-"] li.product,
.tn-shop ul.products li.product,
.tn-shop-card {
    float: none;
    clear: none;
    width: auto;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(18, 40, 34, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tn-shop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(18, 40, 34, 0.1);
}

.tn-shop-card__media {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #d9e0db;
}

.tn-shop-card__media-link {
    position: absolute;
    inset: 0;
    display: block;
}

.tn-shop ul.products li.product .tn-shop-card__media img,
.tn-shop-card__img,
.tn-shop-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    display: block;
}

.tn-shop-card__media img.woocommerce-placeholder {
    object-fit: contain;
    padding: 2.2rem;
    background:
        linear-gradient(160deg, #e7efe9 0%, #d5e3da 100%);
}

.tn-shop-card .onsale {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 2;
    min-height: 0;
    margin: 0;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--tn-orange);
    color: #182d25;
    font-family: var(--tn-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tn-shop-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    padding: 1rem 1.05rem 0.4rem;
}

.tn-shop-card__cat,
.tn-shop-card__title,
.tn-shop-card__price {
    /* overflow-wrap:anywhere en h1/h2/p deja el texto en ancho 0 dentro del flex de Firefox. */
    overflow-wrap: break-word;
    min-width: 0;
    max-width: 100%;
}

.tn-shop-card__cat {
    margin: 0 0 0.3rem;
    color: var(--tn-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tn-shop-card__title {
    margin: 0 0 0.7rem;
    font-size: 1.18rem;
    line-height: 1.25;
}

.tn-shop-card__title a {
    color: var(--tn-forest);
    text-decoration: none;
}

.tn-shop-card__title a:hover,
.tn-shop-card:hover .tn-shop-card__title a {
    color: var(--tn-orange-dark);
}

.tn-shop-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.4rem;
    margin-top: auto;
    padding-top: 0.15rem;
    color: var(--tn-muted);
    font-size: 0.92rem;
}

.tn-shop-card__price .price,
.tn-shop-card__price .stx-price-from-prefix,
.tn-shop-card__price .woocommerce-price-suffix {
    color: var(--tn-muted);
    font-size: 0.92rem;
}

.tn-shop-card__price .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.4rem;
    margin: 0;
}

.tn-shop-card__price .woocommerce-Price-amount {
    font-family: var(--tn-display);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--tn-ink);
}

.tn-shop-card__cta {
    padding: 0.85rem 1.05rem 1.05rem;
}

.tn-shop-card__cta .button,
.tn-shop-card__cta a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0.45rem 0.85rem;
    border: 2px solid #b9c7bd;
    border-radius: 8px;
    background: #fff;
    color: #182d25;
    font-family: var(--tn-display);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.tn-shop-card__cta .button:hover,
.tn-shop-card__cta .button:focus-visible,
.tn-shop-card__cta a.button:hover,
.tn-shop-card__cta a.button:focus-visible {
    background: var(--tn-orange);
    border-color: var(--tn-orange);
    color: #182d25;
}

.tn-shop .woocommerce-pagination {
    margin: 0.4rem 0 0;
}

.tn-shop .woocommerce-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.tn-shop .woocommerce-pagination ul.page-numbers li {
    float: none;
    margin: 0;
    border: 0;
}

.tn-shop .woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.7rem;
    border: 1px solid var(--tn-line);
    border-radius: 8px;
    background: #fff;
    color: var(--tn-ink);
    font-weight: 700;
    text-decoration: none;
}

.tn-shop .woocommerce-pagination a.page-numbers:hover,
.tn-shop .woocommerce-pagination a.page-numbers:focus-visible {
    border-color: var(--tn-forest);
    color: var(--tn-forest);
}

.tn-shop .woocommerce-pagination .page-numbers.current {
    background: var(--tn-forest);
    border-color: var(--tn-forest);
    color: #fff;
}

@media (min-width: 981px) {
    .tn-shop-filters__toggle {
        display: none !important;
    }
}

@media (max-width: 980px) {
    body:has(.tn-shop-filters__toggle:checked) {
        overflow: hidden;
    }

    .tn-shop__layout {
        grid-template-columns: 1fr;
    }

    .tn-shop-filters-wrap {
        position: relative;
        top: auto;
    }

    .tn-shop-filters__open {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        margin: 0;
        padding: 0.55rem 0.95rem;
        border: 1px solid var(--tn-line);
        border-radius: 12px;
        background: #fff;
        color: var(--tn-forest);
        font: inherit;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(18, 40, 34, 0.05);
    }

    .tn-shop-filters__toggle:focus-visible + .tn-shop-filters__open {
        outline: 2px solid var(--tn-orange);
        outline-offset: 3px;
    }

    .tn-shop-filters__badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.4rem;
        min-height: 1.4rem;
        padding: 0 0.4rem;
        border-radius: 999px;
        background: var(--tn-orange);
        color: #fff;
        font-size: 0.78rem;
        line-height: 1;
    }

    .tn-shop-filters {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 70;
        width: min(100%, 24rem);
        height: 100dvh;
        overflow: auto;
        border-radius: 0;
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform 0.25s ease;
    }

    .tn-shop-filters__toggle:checked ~ .tn-shop-filters {
        transform: none;
        visibility: visible;
        box-shadow: 8px 0 32px rgba(18, 40, 34, 0.16);
    }

    .tn-shop-filters__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        border-radius: 999px;
        color: var(--tn-ink);
        font-size: 1.6rem;
        line-height: 1;
        cursor: pointer;
    }

    .tn-shop-filters__backdrop {
        position: fixed;
        inset: 0;
        z-index: 60;
        margin: 0;
        background: rgba(8, 28, 24, 0.45);
        cursor: pointer;
    }

    .tn-shop-filters__toggle:checked ~ .tn-shop-filters__backdrop {
        display: block;
    }

    .tn-shop ul.products {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .tn-shop__catalog,
    .tn-shop .woocommerce {
        grid-template-columns: 1fr;
    }

    .tn-shop ul.products {
        grid-template-columns: 1fr;
    }
}

/* Ficha de servicio */
body.single-product {
    background: var(--tn-cream);
}

.tn-service__hero {
    padding: clamp(1.8rem, 4vw, 2.8rem) 0 clamp(3.4rem, 6vw, 4.6rem);
    background:
        radial-gradient(ellipse at 88% 0%, rgba(244, 119, 33, 0.34), transparent 46%),
        linear-gradient(125deg, var(--tn-forest-deep) 0%, var(--tn-forest) 58%, #1c4a3c 100%);
    color: #fff;
}

.tn-service__hero h1 {
    max-width: 18ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.15rem, 4.6vw, 3.5rem);
    letter-spacing: -0.04em;
}

.tn-service__hero .woocommerce-breadcrumb {
    margin: 0 0 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.tn-service__hero .woocommerce-breadcrumb a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.tn-service__hero .woocommerce-breadcrumb a:hover,
.tn-service__hero .woocommerce-breadcrumb a:focus-visible {
    color: var(--tn-orange-bright);
}

.tn-service__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 25.5rem);
    grid-template-areas:
        "gallery book"
        "facts book"
        "story book";
    gap: 1rem 1.4rem;
    align-items: start;
    margin-top: -2.4rem;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tn-service__gallery {
    grid-area: gallery;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(18, 40, 34, 0.05);
}

body.single-product div.tn-service div.woocommerce-product-gallery {
    float: none;
    width: 100%;
    margin: 0;
}

.tn-service .woocommerce-product-gallery__wrapper,
.tn-service .woocommerce-product-gallery__image,
.tn-service .woocommerce-product-gallery__image a {
    display: block;
}

.tn-service .woocommerce-product-gallery__wrapper:not(.flexslider) > .woocommerce-product-gallery__image + .woocommerce-product-gallery__image {
    display: none;
}

.tn-service .woocommerce-product-gallery__image img,
.tn-service .woocommerce-product-gallery img.wp-post-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.tn-service .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.6rem 0.7rem 0.7rem;
    padding: 0;
    list-style: none;
}

.tn-service .flex-control-thumbs li {
    float: none;
    width: 4.4rem;
    margin: 0;
}

.tn-service .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.72;
}

.tn-service .flex-control-thumbs img.flex-active,
.tn-service .flex-control-thumbs img:hover {
    opacity: 1;
}

.tn-service__facts {
    grid-area: facts;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tn-service__facts li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.85rem 0.95rem;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 14px;
}

.tn-service__fact-label {
    color: var(--tn-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tn-service__fact-value {
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.tn-service__story {
    grid-area: story;
    padding: 1.25rem 1.3rem 1.45rem;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
}

.tn-service__story h2 {
    margin: 0 0 0.75rem;
    color: var(--tn-forest);
    font-size: 1.45rem;
}

.tn-service__story p,
.tn-service__story li {
    color: var(--tn-ink);
}

.tn-service__lead {
    font-size: 1.12rem;
}

.tn-service__book {
    grid-area: book;
    position: sticky;
    top: 5.5rem;
}

.tn-service__card {
    position: relative;
    padding: 1.15rem 1.15rem 1.2rem;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(18, 40, 34, 0.08);
}

.tn-service__card .stx-wishlist-single-toggle {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    margin: 0;
}

body.single-product .tn-service__card .stx-wishlist-toggle {
    color: var(--tn-forest);
    background: var(--tn-peach);
    border: 1px solid #f0d7b8;
}

body.single-product .tn-service__card .stx-wishlist-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
}

body.single-product .tn-service__card .stx-wishlist-toggle path {
    fill: none;
    stroke: currentColor;
}

body.single-product .tn-service__card .stx-wishlist-toggle:hover,
body.single-product .tn-service__card .stx-wishlist-toggle:focus-visible,
body.single-product .tn-service__card .stx-wishlist-toggle--active {
    color: var(--tn-orange-dark);
    background: #fff;
}

body.single-product .tn-service__card .stx-wishlist-toggle--active path {
    fill: currentColor;
    stroke: currentColor;
}

.tn-service__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.45rem;
    max-width: calc(100% - 2.8rem);
    margin: 0 0 0.85rem;
    overflow-wrap: break-word;
}

.tn-service__price-label,
.tn-service__price .woocommerce-price-suffix {
    color: var(--tn-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.tn-service__price .woocommerce-Price-amount {
    font-family: var(--tn-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--tn-ink);
    line-height: 1;
}

body.single-product .tn-service form.cart {
    margin: 0;
    padding: 0;
}

body.single-product .tn-service .stx-booking-fields.stx-booking-skin {
    --stx-booking-accent: #f47721;
    --stx-booking-accent-soft: #fbf3e8;
    --stx-booking-border: #e6e1d8;
    --stx-booking-muted: #5c6b64;
    --stx-booking-ink: #18322b;
    --stx-booking-font: var(--tn-font);
    margin: 0 0 0.85rem;
    padding: 0.15rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.single-product .tn-service .stx-booking-fields.stx-booking-skin .stx-booking-fields__title {
    margin-bottom: 0.75rem;
    padding-bottom: 0.55rem;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.single-product .tn-service form.cart button.single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0.15rem 0 0;
    padding: 0.75rem 1.1rem;
    border: 0;
    border-radius: 8px;
    background: var(--tn-orange);
    color: #182d25;
    font-family: var(--tn-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    cursor: pointer;
}

body.single-product .tn-service form.cart button.single_add_to_cart_button:hover,
body.single-product .tn-service form.cart button.single_add_to_cart_button:focus-visible {
    background: #ff9341;
    color: #182d25;
}

.tn-service .stx-service-videos {
    margin: 1.1rem 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.tn-service .stx-service-videos h3 {
    margin: 0 0 0.75rem !important;
    color: var(--tn-forest);
    font-family: var(--tn-display) !important;
    font-size: 1.2rem !important;
}

.tn-service__related {
    padding-bottom: 3.6rem;
}

.tn-service__related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.4rem 0 0.85rem;
}

.tn-service__related-head h2 {
    margin: 0;
    color: var(--tn-forest);
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.tn-service__related-head .tn-reviews__controls {
    margin: 0;
    flex: 0 0 auto;
}

.tn-service__related .tn-iconbtn:disabled {
    opacity: 0.38;
    cursor: default;
}

.tn-service__viewport {
    overflow: hidden;
    padding: 0.2rem 0.1rem 0.85rem;
    margin: 0 -0.1rem;
}

.tn-service__rail {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.35s ease;
}

body.single-product .tn-service__related .tn-shop-card {
    flex: 0 0 calc((100% - 2rem) / 3);
    width: auto;
    max-width: none;
    float: none;
    clear: none;
    margin: 0;
}

.tn-service__related .tn-shop-card__title {
    font-size: 1.02rem;
}

.tn-service__related .tn-shop-card__price .woocommerce-Price-amount {
    font-size: 1.28rem;
}

@media (max-width: 980px) {
    body.single-product .tn-service__related .tn-shop-card {
        flex-basis: calc((100% - 1rem) / 2);
    }
}

@media (max-width: 680px) {
    body.single-product .tn-service__related .tn-shop-card {
        flex-basis: 100%;
    }
}

body.single-product .woocommerce-notices-wrapper:empty {
    display: none;
}

body.single-product .woocommerce-message {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.single-product .woocommerce-error,
body.single-product .woocommerce-info {
    width: min(var(--tn-wrap), calc(100% - 2.5rem));
    margin: 1rem auto 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--tn-line);
    border-radius: 12px;
    background: #fff;
    color: var(--tn-ink);
    list-style: none;
}

/* Paquetes: itinerario a la izquierda y reserva compacta a la derecha. */
.tn-package { background: var(--tn-paper, #f6f6f1); padding-top: 1.6rem; }
.tn-package__breadcrumbs .woocommerce-breadcrumb { margin: 0 0 1.2rem; font-size: .8rem; }
.tn-package__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem); gap: 2rem; align-items: start; }
.tn-package__main { min-width: 0; }
.tn-package__heading { margin-bottom: 1.5rem; }
.tn-package__heading h1 { margin: .4rem 0 .8rem; font: 800 clamp(1.9rem, 3.3vw, 3rem)/1.1 var(--tn-display); color: var(--tn-ink); overflow-wrap: anywhere; }
.tn-package__heading > p:last-child { color: var(--tn-muted); font-size: .95rem; }
.tn-package__gallery { margin-bottom: 1.5rem; padding: .6rem; background: #fff; border: 1px solid var(--tn-line); border-radius: 16px; }
body.single-product .tn-package div.woocommerce-product-gallery { width: 100%; float: none; margin: 0; }
.tn-package .woocommerce-product-gallery__image img { max-height: 31rem; aspect-ratio: 16 / 10; object-fit: cover; }
.tn-package__story { margin: 1.4rem 0 2rem; color: var(--tn-ink); line-height: 1.75; }
.tn-package__itinerary { padding: 1.4rem; background: #fff; border: 1px solid var(--tn-line); border-radius: 16px; }
.tn-package__itinerary > header { margin-bottom: 1.6rem; }
.tn-package__itinerary h2 { margin: 0 0 .6rem; font-size: 1.7rem; }
.tn-package__itinerary > header p { margin: .4rem 0; color: var(--tn-muted); font-size: .9rem; }
.tn-package__day + .tn-package__day { margin-top: 1.6rem; }
.tn-package__day-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.tn-package__day-heading > span:first-child { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--tn-green, #005044); color: #fff; font-weight: 700; }
.tn-package__day-heading h3 { margin: 0; font-size: 1.25rem; }
.tn-package__day-date { margin-left: auto; color: var(--tn-muted); font-size: .8rem; }
.tn-package__day-heading { flex-wrap: wrap; }
.tn-package__stops { list-style: none; padding: 0 0 0 1.2rem; margin: 0 0 0 1.2rem; border-left: 2px solid var(--tn-line); }
.tn-package__stop { padding: 1rem; background: #f8faf7; border: 1px solid var(--tn-line); border-radius: 12px; }
.tn-package__stop + .tn-package__stop { margin-top: .8rem; }
.tn-package__stop.is-unavailable { border-color: #b83c28; }
.tn-package__status { margin: .8rem 0 0; color: #a32e20; font-size: .85rem; }
.tn-package__time { margin: 0 0 .7rem; color: var(--tn-muted); font-size: .85rem; font-weight: 700; }
.tn-package__stop-info { display: flex; gap: .9rem; align-items: start; }
.tn-package__stop-info > img { flex: 0 0 7rem; width: 7rem; height: 5.5rem; object-fit: cover; border-radius: 8px; }
.tn-package__stop-info > div { min-width: 0; }
.tn-package__stop .tn-eyebrow { font-size: .65rem; margin: 0 0 .35rem; }
.tn-package__stop h4 { font-size: 1.05rem; line-height: 1.35; margin: 0; }
.tn-package__stop h4 a { color: var(--tn-ink); text-decoration: none; }
.tn-package__stop h4 a:hover { text-decoration: underline; }
.tn-package__duration { margin: .5rem 0 0; color: var(--tn-muted); font-size: .85rem; }
.tn-package__fields:empty { display: none; }
.tn-package__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.tn-package__fields .stx-transfer-field { min-width: 0; }
.tn-package__fields .stx-booking-fields__label { display: block; margin-bottom: .4rem; font-size: .75rem; font-weight: 700; color: var(--tn-ink); }
.tn-package__fields .stx-booking-fields__label-note { display: none; }
.tn-package__fields select, .tn-package__fields input { width: 100%; max-width: 100%; min-height: 2.5rem; }
.tn-package__fields .select2-container { max-width: 100%; }
.tn-package__fields .select2-selection--single { min-height: 2.5rem; border: 1px solid var(--tn-line); border-radius: 6px; background: #fff; }
.tn-package__fields .select2-selection__rendered { line-height: 2.4rem; font-size: .85rem; color: var(--tn-ink); }
.tn-package__book { position: sticky; top: 1rem; min-width: 0; }
.tn-package__book .tn-service__card { position: relative; padding: 1.25rem; }
.tn-package__book .tn-service__price { flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
body.single-product .tn-package .stx-booking-fields.stx-booking-skin { padding: 0; }
.tn-package__book .stx-booking-fields__title { display: none; }
.tn-package__book .woocommerce-grouped-product-list { display: none; }
body.single-product .tn-package form.cart button.single_add_to_cart_button { margin-top: 1rem; }
.tn-package__book .stx-wishlist-single-toggle { position: static; margin-top: 1rem; }
@media (max-width: 880px) {
    .tn-package__layout { grid-template-columns: minmax(0, 1fr); }
    .tn-package__book { position: static; }
}
@media (max-width: 540px) {
    .tn-package__itinerary { padding: 1rem; }
    .tn-package__stops { margin-left: .7rem; padding-left: .7rem; }
    .tn-package__stop { padding: .8rem; }
    .tn-package__stop-info { flex-direction: column; }
    .tn-package__stop-info > img { flex: auto; width: 100%; height: 9rem; }
    .tn-package__fields { grid-template-columns: minmax(0, 1fr); }
}

.tn-cart-modal {
    width: min(24rem, calc(100% - 2rem));
    margin: auto;
    padding: 1.6rem 1.4rem 1.35rem;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: var(--tn-ink);
    text-align: center;
    box-shadow: 0 24px 60px rgba(8, 31, 27, 0.28);
}

.tn-cart-modal::backdrop {
    background: rgba(8, 31, 27, 0.62);
}

.tn-cart-modal__close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--tn-forest);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.tn-cart-modal__close:hover,
.tn-cart-modal__close:focus-visible {
    background: var(--tn-peach);
}

.tn-cart-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: #e7f6ee;
    color: #157347;
}

.tn-cart-modal h2 {
    margin: 0.85rem 0 0.35rem;
    color: var(--tn-forest);
    font-size: 1.45rem;
}

.tn-cart-modal p {
    margin: 0 0 1.2rem;
    color: var(--tn-muted);
    font-size: 1.02rem;
}

.tn-cart-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.tn-cart-modal__actions .tn-btn {
    width: 100%;
}

@media (max-width: 900px) {
    .tn-service__layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "gallery"
            "facts"
            "book"
            "story";
        margin-top: -1.6rem;
    }

    .tn-service__book {
        position: static;
    }

    .tn-service__hero h1 {
        max-width: none;
    }

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

    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .stx-booking-fields__section {
        margin-bottom: 0.85rem;
    }

    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .stx-booking-fields__label {
        margin-bottom: 0.35rem;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .stx-booking-fields__input,
    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .stx-passenger-row__qty,
    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .stx-booking-fields__textarea {
        min-height: 44px;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        font-size: 1rem !important;
    }

    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .select2-container--default .select2-selection--single {
        min-height: 44px;
        padding: 0.5rem 2.2rem 0.5rem 0.75rem;
    }

    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 1rem;
        line-height: 1.4;
    }

    body.single-product .tn-service .stx-transfer-fields {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    body.single-product .tn-service .stx-booking-fields .select2-container {
        display: block;
        height: auto !important;
    }

    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .stx-booking-fields__hint,
    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .stx-booking-fields__hint--capacity,
    body.single-product .tn-service .stx-booking-fields.stx-booking-skin--compact .stx-booking-fields__hint--min-pax {
        font-size: 0.8rem;
        line-height: 1.35;
    }
}

/* Carrito (bloque de WooCommerce) */
body.woocommerce-cart {
    background: var(--tn-cream);
}

body.woocommerce-cart .tn-prose {
    padding-top: 2rem;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title {
    margin: 0.4rem 0 0;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    text-align: center;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 0.85rem;
    color: var(--tn-orange);
    mask-size: 3.25rem;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator {
    display: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-heading {
    margin: 1.6rem 0 1rem;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.woocommerce-cart .wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-cart .wc-block-grid.has-4-columns .wc-block-grid__product,
body.woocommerce-cart .wc-block-grid__product {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: none;
    flex: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    text-align: left;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(18, 40, 34, 0.05);
}

body.woocommerce-cart .wc-block-grid__product-link {
    color: inherit;
    text-decoration: none;
}

body.woocommerce-cart .wc-block-grid__product-image {
    display: block;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #e7efe9 0%, #d5e3da 100%);
}

body.woocommerce-cart .wc-block-grid__product-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

body.woocommerce-cart .wc-block-grid__product-image img.woocommerce-placeholder {
    object-fit: contain;
    padding: 1.5rem;
}

body.woocommerce-cart .wc-block-grid__product-title {
    margin: 0;
    padding: 1rem 1.05rem 0.25rem;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

body.woocommerce-cart .wc-block-grid__product-price {
    margin: 0.35rem 0 0;
    padding: 0 1.05rem;
    color: var(--tn-muted);
    font-size: 0.92rem;
}

body.woocommerce-cart .wc-block-grid__product-price .woocommerce-Price-amount {
    color: var(--tn-ink);
    font-family: var(--tn-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart {
    align-self: stretch;
    width: 100%;
    margin: auto 0 0;
    padding: 0.85rem 1.05rem 1.05rem;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0.45rem 0.85rem;
    border: 2px solid #b9c7bd;
    border-radius: 8px;
    background: #fff;
    color: #182d25;
    font-family: var(--tn-display);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:focus-visible {
    background: var(--tn-orange);
    border-color: var(--tn-orange);
    color: #182d25;
}

@media (max-width: 680px) {
    body.woocommerce-cart .wc-block-grid__products {
        grid-template-columns: 1fr;
    }
}

body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar {
    padding: 1.15rem 1.15rem 1.2rem;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    background: #fff;
}

body.woocommerce-cart .wc-block-components-product-name {
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
}

body.woocommerce-cart .wc-block-components-product-metadata {
    font-size: 0.95rem;
    line-height: 1.45;
}

body.woocommerce-cart .wc-block-components-product-details {
    display: grid;
    gap: 0.2rem;
    margin: 0.45rem 0 0;
    padding: 0;
    font-size: 0.92rem;
    line-height: 1.4;
    list-style: none;
}

body.woocommerce-cart .wc-block-components-product-details li,
body.woocommerce-cart .wc-block-components-product-details > span {
    display: block;
    margin: 0;
    color: var(--tn-muted);
}

body.woocommerce-cart .wc-block-components-product-details > span > span[aria-hidden="true"] {
    display: none;
}

body.woocommerce-cart .wc-block-components-product-details__name {
    font-weight: 700;
    color: var(--tn-ink);
}

body.woocommerce-cart .wc-block-components-quantity-selector {
    min-height: 44px;
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    min-width: 44px;
    min-height: 44px;
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

body.woocommerce-cart .wc-block-product-template,
body.woocommerce-cart .wc-block-product-template__responsive,
body.woocommerce-cart .wc-block-product-template__responsive.columns-3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

body.woocommerce-cart .wc-block-product-template > li.wc-block-product {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(18, 40, 34, 0.05);
    text-align: left;
}

body.woocommerce-cart .wc-block-product .wp-block-post-title {
    margin: 0;
    padding: 1rem 1.05rem 0.2rem;
    font-size: 1.12rem;
    line-height: 1.25;
    text-align: left !important;
}

body.woocommerce-cart .wc-block-product .wp-block-post-title a {
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-weight: 800;
    text-decoration: none;
}

body.woocommerce-cart .wc-block-product .wc-block-components-product-price,
body.woocommerce-cart .wc-block-product .wp-block-woocommerce-product-price {
    margin: 0.35rem 0 0;
    padding: 0 1.05rem;
    text-align: left !important;
    color: var(--tn-muted);
}

body.woocommerce-cart .wc-block-product .woocommerce-Price-amount {
    color: var(--tn-ink);
    font-family: var(--tn-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.woocommerce-cart .wc-block-components-product-image__inner-container {
    height: 100%;
}

body.woocommerce-cart .wc-block-components-product-button {
    align-self: stretch;
    width: 100%;
    margin: auto 0 0;
    padding: 0.85rem 1.05rem 1.05rem;
}

body.woocommerce-cart .wc-block-components-product-button .wp-block-button__link,
body.woocommerce-cart .wc-block-components-product-button .wp-element-button,
body.woocommerce-cart .wc-block-components-product-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0.45rem 0.85rem;
    border: 2px solid #b9c7bd !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #182d25 !important;
    font-family: var(--tn-display);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

body.woocommerce-cart .wc-block-components-product-button .wp-block-button__link:hover,
body.woocommerce-cart .wc-block-components-product-button .wp-block-button__link:focus-visible,
body.woocommerce-cart .wc-block-components-product-button .wp-element-button:hover,
body.woocommerce-cart .wc-block-components-product-button .wp-element-button:focus-visible,
body.woocommerce-cart .wc-block-components-product-button a:hover,
body.woocommerce-cart .wc-block-components-product-button a:focus-visible {
    background: var(--tn-orange) !important;
    border-color: var(--tn-orange) !important;
    color: #182d25 !important;
}

body.woocommerce-cart .wc-block-product .wc-block-grid__product-image {
    position: relative;
    aspect-ratio: 16 / 10;
}

body.woocommerce-cart .wc-block-product .wc-block-components-product-image__inner-container,
body.woocommerce-cart .wc-block-product .wc-block-grid__product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 980px) {
    body.woocommerce-cart .wc-block-components-sidebar-layout {
        flex-direction: column;
        align-items: stretch;
    }

    body.woocommerce-cart .wc-block-cart__main,
    body.woocommerce-cart .wc-block-cart__sidebar {
        width: 100%;
        max-width: none;
        flex: none;
    }
}

@media (max-width: 680px) {
    body.woocommerce-cart .wc-block-product-template,
    body.woocommerce-cart .wc-block-product-template__responsive,
    body.woocommerce-cart .wc-block-product-template__responsive.columns-3 {
        grid-template-columns: 1fr;
    }
}

body.woocommerce-cart .wc-block-cart__submit-button {
    min-height: 48px;
    border-radius: 8px;
    background: var(--tn-orange);
    color: #182d25;
    font-family: var(--tn-display);
    font-weight: 700;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:focus-visible {
    background: #ff9341;
    color: #182d25;
}

/* Carrito clásico: edición de reserva */
body.tn-cart-page {
    background: var(--tn-cream);
}

.tn-cart {
    padding: 2rem 0 4rem;
}

.tn-cart__title {
    margin: 0 0 1.25rem;
    color: var(--tn-forest);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.tn-cart-layout {
    display: grid;
    gap: 1.25rem;
}

.tn-cart-layout__primary {
    display: contents;
}

.tn-cart-layout__main {
    order: 1;
}

.tn-cart-layout__suggestions {
    order: 2;
}

.tn-cart-layout__aside {
    order: 3;
}

.tn-cart-items,
.tn-cart-summary .cart_totals {
    padding: 1rem 1.05rem 1.15rem;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    background: #fff;
}

.tn-cart .stx-cart-items__head {
    display: none;
}

.tn-cart .stx-cart-items__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.tn-cart .stx-cart-item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) 2.75rem;
    grid-template-areas:
        "media main remove"
        "qty subtotal subtotal";
    gap: 0.65rem 0.75rem;
    align-items: start;
}

.tn-cart .stx-cart-item__media {
    grid-area: media;
}

.tn-cart .stx-cart-item__media img {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 10px;
    background: linear-gradient(160deg, #e7efe9 0%, #d5e3da 100%);
}

.tn-cart .stx-cart-item__main {
    grid-area: main;
    min-width: 0;
}

.tn-cart .stx-cart-item__title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.3;
}

.tn-cart .stx-cart-item__title a {
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-weight: 800;
    text-decoration: none;
}

.tn-cart .stx-cart-item__remove {
    grid-area: remove;
}

.tn-cart .stx-cart-item__remove .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: var(--tn-forest);
    font-size: 1.4rem;
    line-height: 1;
    text-decoration: none;
}

.tn-cart .stx-cart-item__remove .remove:hover,
.tn-cart .stx-cart-item__remove .remove:focus-visible {
    background: var(--tn-peach);
}

.tn-cart .variation {
    display: grid;
    gap: 0.15rem;
    margin: 0.45rem 0 0;
    color: var(--tn-muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.tn-cart .variation p,
.tn-cart .variation dt,
.tn-cart .variation dd {
    margin: 0;
}

.tn-cart .variation dt {
    font-weight: 700;
    color: var(--tn-ink);
}

.tn-cart .stx-cart-item-edit__link {
    min-height: 44px;
    border: 2px solid #b9c7bd;
    border-radius: 8px;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.tn-cart .stx-cart-item-edit__link:hover,
.tn-cart .stx-cart-item-edit__link:focus-visible {
    background: var(--tn-orange);
    border-color: var(--tn-orange);
    color: #182d25;
}

.tn-cart .stx-cart-item__stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.tn-cart .stx-cart-item__stat-label {
    color: var(--tn-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tn-cart .stx-cart-item__stat.product-quantity {
    grid-area: qty;
}

@media (max-width: 980px) {
    .tn-cart .stx-cart-item:has(.stx-cart-item__stat--line-breakdown) {
        grid-template-areas:
            "media main remove"
            "qty qty qty"
            "subtotal subtotal subtotal";
    }
}

.tn-cart .stx-cart-item__stat.product-subtotal {
    grid-area: subtotal;
    text-align: right;
}

.tn-cart .stx-cart-item__stat--line-breakdown,
.tn-cart .stx-cart-item__stat-value:has(.stx-cart-line-pricing) {
    text-align: left;
    white-space: normal;
}

.tn-cart .stx-rack-price-form__apply.button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--tn-orange);
    color: #182d25;
    font-family: var(--tn-display);
    font-weight: 700;
}

.tn-cart .stx-rack-price-form__apply.button:hover,
.tn-cart .stx-rack-price-form__apply.button:focus-visible {
    background: #ff9341;
    color: #182d25;
}

.tn-cart .quantity .qty {
    min-height: 44px;
    min-width: 3.5rem;
    border: 1px solid var(--tn-line);
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
}

.tn-cart .cart-collaterals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    float: none;
    width: 100%;
}

.tn-cart .cart-collaterals::before,
.tn-cart .cart-collaterals::after {
    display: none;
}

.tn-cart .cart-collaterals .cart_totals {
    float: none !important;
    clear: both;
    width: 100% !important;
}

.tn-cart .cart-collaterals .cart_totals table.shop_table,
.tn-cart .cart-collaterals .cart_totals table.shop_table_responsive {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.tn-cart .cart-collaterals .cart_totals table.shop_table tr,
.tn-cart .cart-collaterals .cart_totals table.shop_table_responsive tr {
    display: table-row;
}

.tn-cart .cart-collaterals .cart_totals table.shop_table th,
.tn-cart .cart-collaterals .cart_totals table.shop_table td,
.tn-cart .cart-collaterals .cart_totals table.shop_table_responsive th,
.tn-cart .cart-collaterals .cart_totals table.shop_table_responsive td {
    display: table-cell !important;
    width: auto;
    float: none;
}

.tn-cart .cart-collaterals .cart_totals table.shop_table td::before,
.tn-cart .cart-collaterals .cart_totals table.shop_table_responsive td::before {
    display: none !important;
    content: none !important;
}

.tn-cart .stx-cart-checkout-form {
    float: none;
    width: 100%;
    margin: 0;
    padding: 1rem 1.05rem 1.15rem;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    background: #fff;
}

.tn-cart .stx-cart-checkout-form .form-row,
.tn-cart .stx-cart-checkout-form .form-row-first,
.tn-cart .stx-cart-checkout-form .form-row-last,
.tn-cart .stx-cart-checkout-form .form-row-wide {
    float: none;
    width: 100%;
    margin: 0 0 0.85rem;
    padding: 0;
}

.tn-cart .woocommerce-billing-fields > h3,
.tn-cart .stx-cart-checkout-section__heading {
    margin: 0 0 0.85rem;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.tn-cart .stx-cart-checkout-section--payment {
    margin-top: 0.4rem;
}

.tn-cart .stx-cart-checkout-form .input-text,
.tn-cart .stx-cart-checkout-form select,
.tn-cart .stx-cart-checkout-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--tn-line);
    border-radius: 8px;
    background: #fff;
    color: var(--tn-ink);
    font: inherit;
}

.tn-cart .stx-cart-checkout-form #payment {
    background: transparent;
    border-radius: 0;
}

.tn-cart .stx-cart-checkout-form #payment ul.payment_methods {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    border: 0;
}

.tn-cart .stx-cart-checkout-form #place_order {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--tn-orange);
    color: #182d25;
    font-family: var(--tn-display);
    font-weight: 700;
}

.tn-cart-summary .cart_totals > h2 {
    margin: 0 0 0.8rem;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tn-cart-summary .shop_table {
    width: 100%;
    margin: 0;
    border: 0;
}

.tn-cart-summary .shop_table th,
.tn-cart-summary .shop_table td {
    padding: 0.7rem 0;
    border-top: 1px solid var(--tn-line);
    background: transparent;
    font-weight: 700;
}

.tn-cart-summary .shop_table td {
    text-align: right;
}

.tn-cart .checkout-button,
.tn-cart .wc-proceed-to-checkout .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 0.85rem;
    border: 0;
    border-radius: 8px;
    background: var(--tn-orange);
    color: #182d25;
    font-family: var(--tn-display);
    font-weight: 700;
    text-decoration: none;
}

.tn-cart .checkout-button:hover,
.tn-cart .checkout-button:focus-visible,
.tn-cart .wc-proceed-to-checkout .button:hover,
.tn-cart .wc-proceed-to-checkout .button:focus-visible {
    background: #ff9341;
    color: #182d25;
}

.tn-cart-layout__suggestions {
    min-width: 0;
}

.tn-cart .cross-sells > h2,
.tn-cart-suggest__head > h2 {
    margin: 0;
    color: var(--tn-forest);
    font-family: var(--tn-display);
}

.tn-cart-suggest__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.tn-cart-suggest__controls {
    display: flex;
    gap: 0.4rem;
    flex: 0 0 auto;
}

.tn-cart-suggest__controls[hidden] {
    display: none;
}

.tn-cart .cross-sells ul.products {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin: 0;
    padding: 0.15rem 0.1rem 0.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    list-style: none;
}

.tn-cart .cross-sells ul.products::-webkit-scrollbar {
    display: none;
}

.tn-cart .cross-sells ul.products::before,
.tn-cart .cross-sells ul.products::after {
    content: none;
    display: none;
}

.tn-cart .cross-sells ul.products li.product {
    flex: 0 0 calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
    max-width: none;
    float: none;
    clear: none;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 680px) {
    .tn-cart .cross-sells ul.products li.product {
        flex-basis: 100%;
        width: 100%;
    }

    .tn-cart .cross-sells ul.products li.product:first-child:nth-last-child(n + 2),
    .tn-cart .cross-sells ul.products li.product:first-child:nth-last-child(n + 2) ~ li.product {
        flex-basis: 86%;
        width: 86%;
    }
}

@media (min-width: 981px) {
    .tn-cart-layout {
        grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
        align-items: start;
        column-gap: 1.25rem;
    }

    .tn-cart-layout__primary {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        min-width: 0;
        order: 0;
    }

    .tn-cart-layout__main,
    .tn-cart-layout__suggestions {
        order: 0;
    }

    .tn-cart-layout__aside {
        position: sticky;
        top: 5.5rem;
        order: 0;
    }

    .tn-cart .stx-cart-items__head {
        display: grid;
        grid-template-columns: 2.75rem 4.5rem minmax(0, 1fr) minmax(5.5rem, 7rem) minmax(6.5rem, 9rem);
        gap: 0.75rem 1rem;
        margin-bottom: 0.35rem;
        color: var(--tn-muted);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .tn-cart .stx-cart-items__head-service {
        grid-column: 1 / 4;
    }

    .tn-cart .stx-cart-item {
        grid-template-columns: 2.75rem 4.5rem minmax(0, 1fr) minmax(5.5rem, 7rem) minmax(11rem, 13rem);
        grid-template-areas: "remove media main qty subtotal";
        gap: 0.75rem 1rem;
        align-items: start;
        padding-top: 0.85rem;
        border-top: 1px solid var(--tn-line);
    }

    .tn-cart .stx-cart-items__head {
        grid-template-columns: 2.75rem 4.5rem minmax(0, 1fr) minmax(5.5rem, 7rem) minmax(11rem, 13rem);
    }

    .tn-cart .stx-cart-item__stat-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .tn-cart .stx-cart-item__stat.product-subtotal {
        text-align: left;
    }
}

body.woocommerce-order-received .woocommerce ul.order_details li.woocommerce-order-overview__booking-number {
    display: block;
    float: none;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--tn-line);
    border-radius: 14px;
    background: var(--tn-peach);
    clear: both;
    color: var(--tn-muted);
    font-size: 0.95rem;
}

body.woocommerce-order-received .woocommerce ul.order_details li.woocommerce-order-overview__booking-number strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--tn-forest);
    font-family: var(--tn-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .tn-reviews__track,
    .tn-service__rail,
    .tn-shop-card {
        transition: none;
    }
}
