/**
 * Terapia Física Total - Main Stylesheet
 * 
 * Estilos principales del theme premium.
 * @version 1.0.0
 */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */
:root {
    /* Colores */
    --tft-red:          #C4353A;
    --tft-red-dark:     #9B2C2C;
    --tft-red-light:    #E8555A;
    --tft-red-bg:       rgba(196, 53, 58, 0.08);
    --tft-dark:         #1E1E1E;
    --tft-dark-2:       #2D2D2D;
    --tft-gray:         #4A4A4A;
    --tft-gray-2:       #6B7280;
    --tft-gray-3:       #9CA3AF;
    --tft-gray-light:   #E5E7EB;
    --tft-cream:        #FAF8F5;
    --tft-cream-2:      #F7F5F3;
    --tft-white:        #FFFFFF;
    --tft-green:        #059669;
    --tft-green-bg:     rgba(5, 150, 105, 0.08);

    /* Tipografía */
    --tft-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --tft-font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Tamaños */
    --tft-fs-xs:    0.75rem;
    --tft-fs-sm:    0.875rem;
    --tft-fs-base:  1rem;
    --tft-fs-md:    1.125rem;
    --tft-fs-lg:    1.25rem;
    --tft-fs-xl:    1.5rem;
    --tft-fs-2xl:   2rem;
    --tft-fs-3xl:   2.5rem;
    --tft-fs-4xl:   3rem;
    --tft-fs-5xl:   3.75rem;

    /* Espaciado */
    --tft-space-xs:  0.5rem;
    --tft-space-sm:  0.75rem;
    --tft-space-md:  1rem;
    --tft-space-lg:  1.5rem;
    --tft-space-xl:  2rem;
    --tft-space-2xl: 3rem;
    --tft-space-3xl: 4rem;
    --tft-space-4xl: 6rem;
    --tft-space-5xl: 8rem;

    /* Layout */
    --tft-container:     1280px;
    --tft-container-sm:  960px;
    --tft-container-xs:  720px;
    --tft-radius:        8px;
    --tft-radius-lg:     16px;
    --tft-radius-xl:     24px;
    --tft-radius-full:   9999px;

    /* Sombras */
    --tft-shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --tft-shadow:     0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --tft-shadow-md:  0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
    --tft-shadow-lg:  0 20px 40px -10px rgba(0,0,0,0.12), 0 8px 16px -4px rgba(0,0,0,0.04);
    --tft-shadow-xl:  0 25px 50px -12px rgba(0,0,0,0.15);

    /* Transiciones */
    --tft-ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --tft-ease-in:    cubic-bezier(0.4, 0, 1, 1);
    --tft-ease-out:   cubic-bezier(0, 0, 0.2, 1);
    --tft-duration:   300ms;
    --tft-duration-lg: 500ms;

    /* Header */
    --tft-header-h:   80px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--tft-header-h);
}

body {
    font-family: var(--tft-font-body);
    font-size: var(--tft-fs-base);
    line-height: 1.7;
    color: var(--tft-gray);
    background-color: var(--tft-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--tft-red);
    text-decoration: none;
    transition: color var(--tft-duration) var(--tft-ease);
}

a:hover {
    color: var(--tft-red-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tft-font-heading);
    color: var(--tft-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: var(--tft-fs-4xl); }
h2 { font-size: var(--tft-fs-3xl); }
h3 { font-size: var(--tft-fs-xl); }
h4 { font-size: var(--tft-fs-lg); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    word-wrap: normal;
}

.skip-link:focus {
    clip: auto;
    width: auto;
    height: auto;
    padding: 1rem;
    background: var(--tft-red);
    color: white;
    z-index: 100000;
    position: fixed;
    top: 0;
    left: 0;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.tft-container {
    width: 100%;
    max-width: var(--tft-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tft-container--sm {
    max-width: var(--tft-container-sm);
}

.tft-section {
    padding: var(--tft-space-5xl) 0;
}

.tft-section--alt {
    background-color: var(--tft-cream);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.tft-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--tft-space-3xl);
}

.tft-section__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--tft-font-heading);
    font-size: var(--tft-fs-sm);
    font-weight: 600;
    color: var(--tft-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--tft-space-md);
    padding: 0.4rem 1rem;
    background: var(--tft-red-bg);
    border-radius: var(--tft-radius-full);
}

.tft-section__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: var(--tft-space-lg);
    letter-spacing: -0.02em;
}

.tft-section__subtitle {
    font-size: var(--tft-fs-md);
    color: var(--tft-gray-2);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.tft-text-accent {
    color: var(--tft-red);
    position: relative;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.tft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--tft-font-heading);
    font-weight: 600;
    font-size: var(--tft-fs-sm);
    padding: 0.8rem 1.6rem;
    border-radius: var(--tft-radius);
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--tft-duration) var(--tft-ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.tft-btn svg {
    flex-shrink: 0;
}

/* Primary Button */
.tft-btn--primary {
    background: var(--tft-red);
    color: var(--tft-white);
    border-color: var(--tft-red);
}

.tft-btn--primary:hover {
    background: var(--tft-red-dark);
    border-color: var(--tft-red-dark);
    color: var(--tft-white);
    transform: translateY(-2px);
    box-shadow: var(--tft-shadow-md);
}

/* Outline Button */
.tft-btn--outline {
    background: transparent;
    color: var(--tft-red);
    border-color: var(--tft-red);
}

.tft-btn--outline:hover {
    background: var(--tft-red);
    color: var(--tft-white);
    transform: translateY(-2px);
    box-shadow: var(--tft-shadow-md);
}

/* White Button */
.tft-btn--white {
    background: var(--tft-white);
    color: var(--tft-red);
    border-color: var(--tft-white);
}

.tft-btn--white:hover {
    background: var(--tft-cream);
    border-color: var(--tft-cream);
    color: var(--tft-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--tft-shadow-lg);
}

/* Outline White */
.tft-btn--outline-white {
    background: transparent;
    color: var(--tft-white);
    border-color: rgba(255,255,255,0.4);
}

.tft-btn--outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--tft-white);
    color: var(--tft-white);
    transform: translateY(-2px);
}

/* Sizes */
.tft-btn--sm { padding: 0.6rem 1.2rem; font-size: var(--tft-fs-xs); }
.tft-btn--lg { padding: 1rem 2rem; font-size: var(--tft-fs-base); }
.tft-btn--block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.tft-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--tft-duration) var(--tft-ease);
    height: var(--tft-header-h);
}

.tft-header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--tft-gray-light);
    box-shadow: var(--tft-shadow-sm);
    height: 70px;
}

.tft-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}

/* Logo */
.tft-header__logo {
    flex-shrink: 0;
}

.tft-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--tft-dark);
}

.tft-header__brand:hover {
    color: var(--tft-red);
}

.tft-header__brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    transition: transform var(--tft-duration) var(--tft-ease);
}

.tft-header--scrolled .tft-header__brand-logo {
    width: 38px;
    height: 38px;
}

.tft-header__brand:hover .tft-header__brand-logo {
    transform: scale(1.05);
}

.tft-header__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tft-header__brand-name {
    font-family: var(--tft-font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.tft-header__brand-slogan {
    font-size: 0.65rem;
    color: var(--tft-gray-2);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Navigation */
.tft-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tft-header__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.tft-header__menu .menu-item a {
    display: block;
    padding: 0.5rem 0.9rem;
    font-family: var(--tft-font-heading);
    font-size: var(--tft-fs-sm);
    font-weight: 500;
    color: var(--tft-gray);
    text-decoration: none;
    border-radius: var(--tft-radius);
    transition: all var(--tft-duration) var(--tft-ease);
    position: relative;
}

.tft-header__menu .menu-item a:hover,
.tft-header__menu .current-menu-item > a {
    color: var(--tft-red);
    background: var(--tft-red-bg);
}

/* Submenu */
.tft-header__menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--tft-white);
    border-radius: var(--tft-radius-lg);
    box-shadow: var(--tft-shadow-lg);
    padding: 0.5rem;
    min-width: 220px;
    z-index: 100;
}

.tft-header__menu .menu-item:hover > .sub-menu {
    display: block;
}

.tft-header__menu .sub-menu .menu-item a {
    padding: 0.6rem 1rem;
    font-size: var(--tft-fs-sm);
}

/* Header CTA */
.tft-header__actions {
    flex-shrink: 0;
}

.tft-header__cta span {
    display: none;
}

/* Hamburger */
.tft-header__hamburger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    border-radius: var(--tft-radius);
    transition: background var(--tft-duration) var(--tft-ease);
}

.tft-header__hamburger:hover {
    background: var(--tft-cream);
}

.tft-header__hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--tft-dark);
    border-radius: 2px;
    transition: all var(--tft-duration) var(--tft-ease);
    transform-origin: center;
}

.tft-header__hamburger.active .tft-header__hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.tft-header__hamburger.active .tft-header__hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.tft-header__hamburger.active .tft-header__hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.tft-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--tft-white);
    z-index: 10000;
    transition: right 0.4s var(--tft-ease);
    overflow-y: auto;
    box-shadow: var(--tft-shadow-xl);
}

.tft-mobile-menu.active {
    right: 0;
}

.tft-mobile-menu__inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.tft-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--tft-gray-light);
    margin-bottom: 1.5rem;
}

.tft-mobile-menu__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--tft-font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--tft-dark);
}

.tft-mobile-menu__brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.tft-mobile-menu__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tft-radius);
    color: var(--tft-gray);
    transition: all var(--tft-duration) var(--tft-ease);
}

.tft-mobile-menu__close:hover {
    background: var(--tft-cream);
    color: var(--tft-red);
}

.tft-mobile-menu__nav {
    flex: 1;
}

.tft-mobile-menu__list {
    list-style: none;
}

.tft-mobile-menu__list .menu-item a {
    display: block;
    padding: 0.9rem 0;
    font-family: var(--tft-font-heading);
    font-size: var(--tft-fs-lg);
    font-weight: 600;
    color: var(--tft-dark);
    border-bottom: 1px solid var(--tft-cream-2);
    transition: color var(--tft-duration) var(--tft-ease);
}

.tft-mobile-menu__list .menu-item a:hover {
    color: var(--tft-red);
}

.tft-mobile-menu__contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tft-gray-light);
}

.tft-mobile-menu__phone {
    text-align: center;
    margin-top: 1rem;
    font-size: var(--tft-fs-sm);
    color: var(--tft-gray-2);
}

/* Mobile Menu Overlay */
.tft-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--tft-duration) var(--tft-ease);
}

.tft-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tft-footer {
    background: var(--tft-dark);
    color: var(--tft-gray-3);
}

.tft-footer__top {
    padding: var(--tft-space-4xl) 0 var(--tft-space-3xl);
}

.tft-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.tft-footer__logo {
    margin-bottom: 1.25rem;
}

.tft-footer__brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--tft-white);
    text-decoration: none;
}

.tft-footer__brand-link:hover {
    color: var(--tft-red-light);
}

.tft-footer__brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.tft-footer__brand-name {
    font-family: var(--tft-font-heading);
    font-weight: 800;
    font-size: 1.2rem;
}

.tft-footer__slogan {
    font-style: italic;
    color: var(--tft-red-light);
    margin-bottom: 0.75rem;
    font-size: var(--tft-fs-sm);
}

.tft-footer__description {
    font-size: var(--tft-fs-sm);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tft-footer__social {
    display: flex;
    gap: 0.75rem;
}

.tft-footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tft-radius);
    background: rgba(255,255,255,0.08);
    color: var(--tft-gray-3);
    transition: all var(--tft-duration) var(--tft-ease);
}

.tft-footer__social-link:hover {
    background: var(--tft-red);
    color: var(--tft-white);
    transform: translateY(-2px);
}

.tft-footer__heading {
    font-family: var(--tft-font-heading);
    font-size: var(--tft-fs-base);
    font-weight: 700;
    color: var(--tft-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.tft-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--tft-red);
    border-radius: 2px;
}

.tft-footer__links {
    list-style: none;
}

.tft-footer__links li {
    margin-bottom: 0.6rem;
}

.tft-footer__links a {
    color: var(--tft-gray-3);
    font-size: var(--tft-fs-sm);
    transition: all var(--tft-duration) var(--tft-ease);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tft-footer__links a:hover {
    color: var(--tft-white);
    transform: translateX(4px);
}

.tft-footer__contact-list {
    list-style: none;
}

.tft-footer__contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
    font-size: var(--tft-fs-sm);
}

.tft-footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--tft-red);
}

.tft-footer__contact-item a {
    color: var(--tft-gray-3);
}

.tft-footer__contact-item a:hover {
    color: var(--tft-white);
}

.tft-footer__bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.tft-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--tft-fs-xs);
}

.tft-footer__copyright {
    color: var(--tft-gray-3);
}

.tft-footer__credits {
    color: var(--tft-gray-3);
}

/* ==========================================================================
   PAGE HEADERS
   ========================================================================== */
.tft-page-header {
    padding: calc(var(--tft-header-h) + 3rem) 0 3rem;
    background: var(--tft-cream);
    text-align: center;
}

.tft-page-header__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.tft-page-header__subtitle {
    font-size: var(--tft-fs-md);
    color: var(--tft-gray-2);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.tft-breadcrumbs {
    padding: 1rem 0;
    font-size: var(--tft-fs-sm);
    color: var(--tft-gray-3);
    border-bottom: 1px solid var(--tft-gray-light);
}

.tft-breadcrumbs a {
    color: var(--tft-gray-2);
}

.tft-breadcrumbs a:hover {
    color: var(--tft-red);
}

.tft-breadcrumbs__sep {
    margin: 0 0.5rem;
    color: var(--tft-gray-3);
}

.tft-breadcrumbs__current {
    color: var(--tft-dark);
    font-weight: 500;
}

/* ==========================================================================
   CONTENT AREAS
   ========================================================================== */
.tft-content-area {
    padding: var(--tft-space-3xl) 0;
}

.tft-content-area__grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.tft-content-area__single {
    max-width: 800px;
    margin: 0 auto;
}

.tft-page-content__body,
.tft-single-content__body {
    font-size: var(--tft-fs-md);
    line-height: 1.8;
}

.tft-page-content__body h2,
.tft-single-content__body h2 {
    margin-top: 2rem;
}

.tft-page-content__body p,
.tft-single-content__body p {
    margin-bottom: 1.5em;
}

.tft-page-content__body img,
.tft-single-content__body img {
    border-radius: var(--tft-radius-lg);
    margin: 2rem 0;
}

.tft-page-content__image,
.tft-single-content__image {
    margin-bottom: 2rem;
    border-radius: var(--tft-radius-lg);
    overflow: hidden;
}

/* Blog Cards */
.tft-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.tft-post-card {
    background: var(--tft-white);
    border-radius: var(--tft-radius-lg);
    overflow: hidden;
    box-shadow: var(--tft-shadow);
    transition: all var(--tft-duration) var(--tft-ease);
}

.tft-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tft-shadow-lg);
}

.tft-post-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--tft-duration-lg) var(--tft-ease);
}

.tft-post-card:hover .tft-post-card__image img {
    transform: scale(1.05);
}

.tft-post-card__content {
    padding: 1.5rem;
}

.tft-post-card__meta {
    font-size: var(--tft-fs-xs);
    color: var(--tft-gray-3);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.75rem;
}

.tft-post-card__title {
    font-size: var(--tft-fs-lg);
    margin-bottom: 0.75rem;
}

.tft-post-card__title a {
    color: var(--tft-dark);
}

.tft-post-card__title a:hover {
    color: var(--tft-red);
}

.tft-post-card__excerpt {
    font-size: var(--tft-fs-sm);
    color: var(--tft-gray-2);
    margin-bottom: 1rem;
}

.tft-post-card__link {
    font-family: var(--tft-font-heading);
    font-size: var(--tft-fs-sm);
    font-weight: 600;
    color: var(--tft-red);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tft-post-card__link:hover {
    gap: 0.7rem;
}

/* Post Navigation */
.tft-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--tft-gray-light);
    border-bottom: 1px solid var(--tft-gray-light);
    margin: 2rem 0;
}

.tft-post-nav a {
    color: var(--tft-gray);
    font-size: var(--tft-fs-sm);
}

.tft-post-nav a:hover {
    color: var(--tft-red);
}

.tft-post-nav__next {
    text-align: right;
}

/* Tags */
.tft-single-content__tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tft-gray-light);
}

.tft-single-content__tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--tft-cream);
    border-radius: var(--tft-radius-full);
    font-size: var(--tft-fs-xs);
    color: var(--tft-gray);
    margin: 0.25rem;
    transition: all var(--tft-duration) var(--tft-ease);
}

.tft-single-content__tags a:hover {
    background: var(--tft-red);
    color: var(--tft-white);
}

/* Sidebar */
.tft-sidebar {
    position: sticky;
    top: calc(var(--tft-header-h) + 2rem);
}

.tft-widget {
    background: var(--tft-cream);
    padding: 1.5rem;
    border-radius: var(--tft-radius-lg);
    margin-bottom: 1.5rem;
}

.tft-widget__title {
    font-size: var(--tft-fs-base);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--tft-red);
}

/* Pagination */
.tft-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.tft-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border-radius: var(--tft-radius);
    font-family: var(--tft-font-heading);
    font-weight: 600;
    font-size: var(--tft-fs-sm);
    color: var(--tft-gray);
    background: var(--tft-cream);
    transition: all var(--tft-duration) var(--tft-ease);
}

.tft-pagination .page-numbers.current,
.tft-pagination .page-numbers:hover {
    background: var(--tft-red);
    color: var(--tft-white);
}

/* 404 */
.tft-404 {
    padding: calc(var(--tft-header-h) + 4rem) 0 6rem;
}

.tft-404__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.tft-404__number {
    font-family: var(--tft-font-heading);
    font-size: 8rem;
    font-weight: 900;
    color: var(--tft-red);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -1rem;
}

.tft-404__title {
    font-size: var(--tft-fs-3xl);
    margin-bottom: 1rem;
}

.tft-404__text {
    color: var(--tft-gray-2);
    margin-bottom: 2rem;
    font-size: var(--tft-fs-md);
}

.tft-404__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Alerts */
.tft-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--tft-radius);
    margin-bottom: 1.5rem;
    font-size: var(--tft-fs-sm);
    font-weight: 500;
}

.tft-alert--success {
    background: rgba(5, 150, 105, 0.1);
    color: var(--tft-green);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.tft-alert--error {
    background: rgba(196, 53, 58, 0.08);
    color: var(--tft-red);
    border: 1px solid rgba(196, 53, 58, 0.15);
}

/* No Results */
.tft-no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.tft-no-results h2 {
    margin-bottom: 1rem;
}

.tft-no-results p {
    color: var(--tft-gray-2);
    margin-bottom: 2rem;
}

/* Stars */
.tft-stars {
    display: flex;
    gap: 2px;
    margin: 0.75rem 0;
}

.tft-star--filled {
    color: #F59E0B;
}

.tft-star--empty {
    color: var(--tft-gray-3);
}

/* ==========================================================================
   SWEETALERT2 CUSTOM STYLES
   ========================================================================== */
.tft-swal-popup {
    border-radius: var(--tft-radius-lg) !important;
    padding: 2.5rem 1.5rem !important;
    font-family: var(--tft-font-body) !important;
}

.tft-swal-title {
    font-family: var(--tft-font-heading) !important;
    font-weight: 800 !important;
    color: var(--tft-dark) !important;
    font-size: var(--tft-fs-xl) !important;
}

.tft-swal-confirm {
    background: var(--tft-red) !important;
    border-radius: var(--tft-radius) !important;
    font-family: var(--tft-font-heading) !important;
    font-weight: 600 !important;
    padding: 0.8rem 2.5rem !important;
    transition: all var(--tft-duration) var(--tft-ease) !important;
}

.tft-swal-confirm:hover {
    background: var(--tft-red-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--tft-shadow-md);
}
