body.tt-native {
    --tt-primary: #FFE6C2;
    --tt-secondary: #D3830D;
    --tt-text: #210B4C;
    margin: 0;
    background: #fff;
    font-family: "Philosopher", philo, serif;
    font-size: 16px;
    line-height: 1.6;
}
body.tt-native * { box-sizing: border-box; }
body.tt-native img { max-width: 100%; height: auto; }

.tt-container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.tt-wide { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Cabecera */
.tt-header { background: #fff; position: relative; z-index: 20; }
.tt-header__top { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
body.tt-native .tt-header a.tt-header__title { font-size: 24px; font-weight: 800; color: #000; text-decoration: none; white-space: nowrap; }
body.tt-native .tt-header__logo img { display: block; height: 24px !important; width: auto !important; max-width: none !important; }
.tt-header__logo .custom-logo-link { display: block; }
.tt-header__search { flex: 0 1 480px; min-width: 160px; }
body.tt-native .tt-header button.tt-burger { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
body.tt-native .tt-header button.tt-burger:hover, body.tt-native .tt-header button.tt-burger:focus { background: transparent; }
.tt-burger span { display: block; width: 22px; height: 2px; margin: 4px 0; background: #000; }

.tt-dropdown { position: relative; }
.tt-dropdown summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: #000; }
.tt-dropdown summary::-webkit-details-marker { display: none; }
.tt-dropdown__bars { width: 18px; height: 12px; border-top: 2px solid #000; border-bottom: 2px solid #000; position: relative; }
.tt-dropdown__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #000; }
.tt-dropdown__list { position: absolute; top: 100%; left: 0; z-index: 50; min-width: 260px; margin: 8px 0 0; padding: 8px 0; list-style: none; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.tt-dropdown__list a { display: block; padding: 8px 16px; color: #000; text-decoration: none; }
.tt-dropdown__list a:hover { color: var(--tt-secondary); }

body.tt-native .tt-header a.tt-cart { display: flex; align-items: center; gap: 8px; margin-left: auto; color: #000; text-decoration: none; white-space: nowrap; }
body.tt-native .tt-header a.tt-cart:hover { color: var(--tt-secondary); }
.tt-cart__bag { position: relative; width: 22px; height: 22px; }
.tt-cart__bag::before { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M352 160v-32C352 57.4 294.6 0 224 0S96 57.4 96 128v32H0v272c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V160h-96zm-192-32c0-35.3 28.7-64 64-64s64 28.7 64 64v32H160v-32z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M352 160v-32C352 57.4 294.6 0 224 0S96 57.4 96 128v32H0v272c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V160h-96zm-192-32c0-35.3 28.7-64 64-64s64 28.7 64 64v32H160v-32z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tt-cart__count { position: absolute; top: -8px; right: -10px; display: flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #d63638; color: #fff; font-size: 11px; line-height: 1; }
.tt-cart__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.tt-nav__list { display: flex; flex-wrap: wrap; gap: 6px 40px; margin: 0; padding: 10px 0 14px; list-style: none; }
.tt-nav__list a { color: var(--tt-secondary); text-decoration: none; }
.tt-nav__list a:hover { text-decoration: underline; }

/* Contenido */
.tt-main { padding-bottom: 40px; }
body.tt-native .tt-main h1.tt-title { margin: 20px 0 10px; font-size: 48px; font-weight: 800; line-height: 1.2; color: var(--tt-secondary); }
.tt-main .woocommerce-breadcrumb { margin: 0 0 20px; }
.tt-main .woocommerce-breadcrumb a { color: inherit; }
.tt-content { line-height: 1.7; }
.tt-content img { max-width: 100%; height: auto; }

/* Listado de productos */
.tt-archive .term-description { margin: 0 0 24px; }
.tt-archive .woocommerce-result-count { float: left; margin: 0 0 20px; }
.tt-archive .woocommerce-ordering { float: right; margin: 0 0 20px; }
.tt-archive ul.products { clear: both; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 20px; margin: 0; padding: 0; list-style: none; }
.tt-archive ul.products::before, .tt-archive ul.products::after { display: none !important; }
.tt-archive ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 0; }
.tt-archive ul.products li.product img { width: 100%; height: auto; }
.tt-archive ul.products li.product { border: 0 !important; }
body.tt-native ul.products .star-rating { display: none; }
.tt-archive .woocommerce-pagination { margin: 40px 0 0; }
.tt-archive .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0; padding: 0; list-style: none; border: 0; }
.tt-archive .woocommerce-pagination li { border: 0; }
.tt-archive .woocommerce-pagination .page-numbers { display: block; padding: 8px 14px; border: 1px solid #ddd; color: #000; text-decoration: none; }
.tt-archive .woocommerce-pagination .current { background: var(--tt-secondary); border-color: var(--tt-secondary); color: #fff; }

/* Tarjetas de entradas */
.tt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 30px 0; }
.tt-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 30px; }
.tt-card { padding: 30px 0 15px; background: #fff; border-radius: 3px; box-shadow: 0 0 10px rgba(0, 0, 0, .15); overflow: hidden; }
body.tt-native h4.tt-card__title { margin: 0 30px 25px; font-size: 21px; font-weight: 800; line-height: 1.5; color: #3a3a3a; }
body.tt-native .tt-card__title a { color: var(--tt-secondary); text-decoration: none; }
body.tt-native .tt-card__title a:hover { text-decoration: underline; }
.tt-card__excerpt { margin: 0 30px 20px; font-size: 14px; line-height: 1.5; color: #777; }
.tt-card__more { display: block; margin: 0 30px 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--tt-secondary); }
.tt-card__meta { padding: 15px 30px 0; border-top: 1px solid #eaeaea; font-size: 12px; color: #adadad; }
.tt-pagination { margin: 30px 0; text-align: center; }
.tt-pagination .page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid #ddd; color: #000; text-decoration: none; }
.tt-pagination .current { background: var(--tt-secondary); border-color: var(--tt-secondary); color: #fff; }
.tt-comments { margin-top: 40px; }

/* Pie */
.tt-footer { margin-top: 40px; padding: 40px 0; border-top: 1px solid #eee; background: #fff; }
.tt-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.tt-footer__title { display: block; margin-bottom: 12px; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--tt-secondary); }
.tt-footer a { color: var(--tt-text); text-decoration: none; }
.tt-footer a:hover { text-decoration: underline; }
.tt-footer__links { margin: 0; padding: 0; list-style: none; }
.tt-footer__links li { padding: 3px 0; }
.tt-social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }

@media (max-width: 1024px) {
    .tt-archive ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    body.tt-native .tt-header button.tt-burger { display: block; order: 0; }
    .tt-header__top { flex-wrap: wrap; }
    body.tt-native .tt-header a.tt-header__title { font-size: 20px; }
    body.tt-native .tt-main h1.tt-title { font-size: 42px; }
    .tt-dropdown { display: none; }
    .tt-header__search { order: 5; flex-basis: 100%; }
    .tt-header__nav { display: none; }
    .tt-header.is-open .tt-header__nav { display: block; }
    .tt-nav__list { flex-direction: column; gap: 4px; }
    .tt-archive ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-cards { grid-template-columns: 1fr; }
    .tt-footer__cols { grid-template-columns: 1fr; }
}
