/* ==========================================================================
   TuApp Theme - Premium Main Stylesheet

   Estilos principales premium que complementan style.css.
   Incluye componentes de diseño de agencia de alto nivel:
   - Hero slider cinematográfico con animaciones GSAP
   - Countdown timers para promociones
   - Carruseles Swiper premium
   - Galería de productos con zoom avanzado
   - Variantes visuales modernas
   - Trust badges premium
   - Newsletter moderna
   - Tabs de producto avanzados
   - Iconografía SVG premium
   - Animaciones tipo Framer Motion
   ========================================================================== */

/* ==========================================================================
   Menú Móvil Off-Canvas
   ========================================================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: var(--color-surface);
    z-index: calc(var(--z-header) + 50);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    will-change: transform;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
    min-height: var(--header-height);
}

.mobile-menu__title {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--color-text);
}

.mobile-menu__close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu__close:hover {
    background: var(--color-surface-alt);
    color: var(--color-text);
}

.mobile-menu__body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
    overscroll-behavior: contain;
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu__list li {
    margin-bottom: var(--space-2xs);
}

.mobile-menu__list a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-menu__list a:hover {
    background: var(--color-surface-alt);
    color: var(--color-accent);
}

.mobile-menu__list .sub-menu {
    padding-left: var(--space-md);
    list-style: none;
}

.mobile-menu__list .sub-menu a {
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-md);
}

/* Overlay del menú móvil */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: calc(var(--z-header) + 49);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Botón "Volver Arriba"
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 38px;
        height: 38px;
    }
}

/* ==========================================================================
   Hero Slider - Detalles Adicionales
   ========================================================================== */

.hero-slider__dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: var(--space-xs);
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.hero-slider__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-slider__dot.is-active {
    background: var(--color-accent);
    border-color: #ffffff;
    transform: scale(1.3);
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all var(--transition-base);
}

.hero-slider:hover .hero-slider__arrow {
    opacity: 1;
}

.hero-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-slider__arrow--prev {
    left: var(--space-md);
}

.hero-slider__arrow--next {
    right: var(--space-md);
}

.hero-slider__arrow:focus-visible {
    opacity: 1;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .hero-slider__arrow {
        width: 36px;
        height: 36px;
    }
    .hero-slider__arrow--prev {
        left: var(--space-xs);
    }
    .hero-slider__arrow--next {
        right: var(--space-xs);
    }
}

/* ==========================================================================
   Banner Grid (Homepage)
   ========================================================================== */

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.banner-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--color-surface-alt);
}

.banner-card__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.banner-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.banner-card:hover .banner-card__image {
    transform: scale(1.05);
}

.banner-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
}

.banner-card__title {
    color: #ffffff;
    font-size: var(--text-md);
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .banner-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Categorías Grid (Homepage)
   ========================================================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.category-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.category-card__link {
    display: block;
    text-decoration: none;
}

.category-card__image-wrapper {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-surface-alt);
}

.category-card__image-wrapper--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card__placeholder-icon {
    font-size: 3rem;
}

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-card__image {
    transform: scale(1.05);
}

.category-card__body {
    padding: var(--space-sm);
    text-align: center;
}

.category-card__title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-3xs);
}

.category-card__count {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
}

/* ==========================================================================
   Sección de Encabezado (Section Header)
   ========================================================================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.section-header__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.section-header__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.section-header__link:hover {
    color: var(--color-accent-hover);
}

.section-header__link svg {
    transition: transform var(--transition-fast);
}

.section-header__link:hover svg {
    transform: translateX(3px);
}

/* ==========================================================================
   Trust Section / Badges
   ========================================================================== */

.trust-section {
    padding: var(--space-2xl) 0;
    background: var(--color-surface-alt);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.trust-section__grid {
    display: grid;
    gap: var(--space-lg);
}

.trust-badge {
    text-align: center;
    padding: var(--space-md);
}

.trust-badge__icon-wrapper {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* ==========================================================================
   Shop Toolbar (Archive Products)
   ========================================================================== */

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border-light);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* View Toggle (Grid/List) */
.view-toggle {
    display: flex;
    gap: 2px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
    padding: 2px;
    border: 1px solid var(--color-border-light);
}

.view-toggle__btn {
    width: 32px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: calc(var(--radius-sm) - 1px);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-toggle__btn:hover {
    color: var(--color-text);
}

.view-toggle__btn.is-active {
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .view-toggle {
        display: none;
    }
}

/* ==========================================================================
   Cart Badge (Header)
   ========================================================================== */

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    border-radius: var(--radius-full);
    pointer-events: none;
    white-space: nowrap;
}

.cart-badge:empty {
    display: none;
}

.header-cart-btn {
    position: relative;
}

/* ==========================================================================
   Search Results Live (Dropdown)
   ========================================================================== */

.search-results-live {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 30;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: var(--space-2xs);
}

.search-results-live.has-results {
    display: block;
}

.search-results-live__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border-light);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.search-results-live__item:hover {
    background: var(--color-surface-alt);
}

.search-results-live__item:last-child {
    border-bottom: none;
}

.search-results-live__item-image {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.search-results-live__item-info {
    flex: 1;
    min-width: 0;
}

.search-results-live__item-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-results-live__item-price {
    font-size: var(--text-xs);
    color: var(--color-accent);
    font-weight: 600;
}

.search-results-live__no-results {
    padding: var(--space-md);
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* ==========================================================================
   Skip Links
   ========================================================================== */

.skip-links {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}

/* ==========================================================================
   Breadcrumbs (Genérico)
   ========================================================================== */

.woocommerce-breadcrumb {
    padding: var(--space-sm) 0;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumb__item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb__item a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb__item a:hover {
    color: var(--color-accent);
}

.breadcrumb-sep {
    margin: 0 var(--space-2xs);
    color: var(--color-border);
    user-select: none;
}

.breadcrumb__item:last-child {
    color: var(--color-text);
    font-weight: 600;
}

/* ==========================================================================
   Page Hero Banner
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: clamp(280px, 35vw, 420px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-surface-dark);
    margin-bottom: var(--space-xl);
}

.page-hero__image-wrapper {
    position: absolute;
    inset: 0;
}

.page-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-lg);
}

.page-hero__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-text-on-dark);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xs);
}

.page-hero__subtitle {
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Page Layout
   ========================================================================== */

.page-layout {
    display: grid;
    gap: var(--space-xl);
    align-items: start;
}

.page-layout--has-sidebar {
    grid-template-columns: 280px 1fr;
}

.page-body {
    max-width: var(--max-width-narrow);
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    margin-bottom: var(--space-lg);
}

.page-header__title {
    font-size: var(--text-3xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

.page-header__excerpt {
    font-size: var(--text-md);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
    line-height: 1.6;
}

.page-header__description {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-xs);
}

/* ==========================================================================
   Page Thumbnail
   ========================================================================== */

.page-thumbnail {
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.page-thumbnail__image {
    width: 100%;
    height: auto;
    display: block;
}

.page-thumbnail__caption {
    padding: var(--space-sm);
    background: var(--color-surface-alt);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-align: center;
    font-style: italic;
}

/* ==========================================================================
   Page Content Body
   ========================================================================== */

.page-content__body {
    line-height: 1.8;
    color: var(--color-text-light);
}

.page-content__body h2 {
    font-size: var(--text-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.page-content__body h3 {
    font-size: var(--text-lg);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.page-content__body p {
    margin-bottom: var(--space-md);
}

.page-content__body ul,
.page-content__body ol {
    padding-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.page-content__body li {
    margin-bottom: var(--space-2xs);
}

.page-content__body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-lg) 0;
    background: var(--color-surface-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-text-light);
}

.page-content__body img {
    border-radius: var(--radius-sm);
    margin: var(--space-md) 0;
}

.page-content__body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    font-size: var(--text-sm);
}

.page-content__body th,
.page-content__body td {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-border);
    text-align: left;
}

.page-content__body th {
    background: var(--color-surface-alt);
    font-weight: 700;
}

/* Page links (pagination within page) */
.page-links {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    gap: var(--space-2xs);
    align-items: center;
    flex-wrap: wrap;
    font-size: var(--text-sm);
}

.page-links__label {
    font-weight: 600;
    margin-right: var(--space-2xs);
}

.page-links__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 var(--space-2xs);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.page-links__num:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.page-links > .page-links__num {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

/* ==========================================================================
   Page Last Updated
   ========================================================================== */

.page-last-updated {
    margin-top: var(--space-lg);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-style: italic;
}

/* ==========================================================================
   Post Cards (Blog / Archive)
   ========================================================================== */

.posts-grid {
    display: grid;
    gap: var(--space-xl);
}

.post-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-card__image-link {
    display: block;
    height: 100%;
    overflow: hidden;
    background: var(--color-surface-alt);
}

.post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image {
    transform: scale(1.03);
}

.post-card__body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.post-card__date {
    font-size: var(--text-xs);
}

.post-card__separator {
    color: var(--color-border);
}

.post-card__category a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.post-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.post-card__title a {
    color: var(--color-text);
    text-decoration: none;
}

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

.post-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.post-card__read-more {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 768px) {
    .post-card {
        grid-template-columns: 1fr;
    }
    .post-card__image-link {
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================================================
   No Results / Empty States
   ========================================================================== */

.no-results {
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
}

.no-results__icon {
    margin-bottom: var(--space-lg);
    color: var(--color-border);
    opacity: 0.6;
}

.no-results__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.no-results__text {
    font-size: var(--text-base);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================================================
   Category Banner (Archive)
   ========================================================================== */

.category-banner {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--color-surface-alt);
    aspect-ratio: 4 / 1;
    max-height: 300px;
}

.category-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Category Description Extended (SEO)
   ========================================================================== */

.category-description-extended {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border-light);
    margin-top: var(--space-2xl);
}

.category-description-extended h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.category-description-extended p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ==========================================================================
   Shop Layout
   ========================================================================== */

.shop-layout--has-sidebar {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
}

@media (max-width: 1024px) {
    .shop-layout--has-sidebar {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        position: static;
    }
}

/* ==========================================================================
   Product Features (Single Product)
   ========================================================================== */

.product-features {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
}

.product-features__list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: var(--space-sm);
}

.product-features__item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

/* ==========================================================================
   Product Shipping Info (Single Product)
   ========================================================================== */

.product-shipping-info {
    margin: var(--space-md) 0;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: var(--text-sm);
}

.product-shipping-info__header {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    font-weight: 600;
    margin-bottom: var(--space-2xs);
    color: var(--color-text);
}

.product-shipping-info__details {
    display: grid;
    gap: var(--space-3xs);
    color: var(--color-text-light);
}

.product-shipping-info__row {
    display: flex;
    gap: var(--space-xs);
}

.product-shipping-info__row strong {
    min-width: 120px;
}

/* ==========================================================================
   Product Summary Meta
   ========================================================================== */

.product-summary__meta {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.product-summary__meta-row {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-3xs);
}

.product-summary__meta-row strong {
    min-width: 80px;
}

.product-summary__meta-row a {
    color: var(--color-text-light);
}

.product-summary__meta-row a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Product Summary Trust
   ========================================================================== */

.product-summary__trust {
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* ==========================================================================
   Product Rating (Summary)
   ========================================================================== */

.product-summary__rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.product-summary__review-link {
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    text-decoration: underline;
}

/* ==========================================================================
   Search Highlight
   ========================================================================== */

.search-query {
    font-weight: 700;
    color: var(--color-accent);
}

/* ==========================================================================
   Utilidades
   ========================================================================== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-surface-alt) 25%,
        var(--color-border-light) 50%,
        var(--color-surface-alt) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Premium Components - Galería de Producto
   ========================================================================== */
.single-product__gallery {
    position: relative;
}

.single-product__gallery .swiper-container {
    overflow: hidden;
}

.product-gallery__zoom-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

.product-gallery__zoom-lens {
    position: absolute;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.product-gallery__zoom-image {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.product-gallery__thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.product-gallery__thumbnails::-webkit-scrollbar {
    height: 6px;
}

.product-gallery__thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.product-gallery__thumbnails::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-full);
}

.product-gallery__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    cursor: pointer;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__video-trigger {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-gallery__thumb:hover .product-gallery__video-trigger {
    opacity: 1;
}

/* ==========================================================================
   Premium Components - Countdown Timer
   ========================================================================== */
.countdown-premium {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.countdown-premium__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-premium__value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        var(--color-accent),
        var(--color-accent-secondary)
    );
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-lg);
}

.countdown-premium__label {
    margin-top: 0.5rem;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-premium--expired {
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   Premium Components - Swiper Carousel
   ========================================================================== */
.swiper-premium {
    overflow: hidden;
    padding: 1rem 0;
}

.swiper-premium .swiper-slide {
    height: auto;
}

.swiper-premium__pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.swiper-premium__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-border);
    opacity: 1;
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

.swiper-premium__pagination .swiper-pagination-bullet-active {
    background: var(--color-accent);
    width: 32px;
}

.swiper-premium__navigation {
    display: flex;
    gap: 0.5rem;
}

.swiper-premium__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    background: white;
    cursor: pointer;
    transition: all var(--transition-base);
}

.swiper-premium__nav-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: scale(1.05);
}

.swiper-premium__nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ==========================================================================
   Premium Components - Variant Selectors
   ========================================================================== */
.variant-selector {
    margin-bottom: 1.5rem;
}

.variant-selector__label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.variant-selector__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-selector__option {
    position: relative;
}

.variant-selector__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variant-selector__option-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: white;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.variant-selector__option input:checked + .variant-selector__option-btn {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: white;
}

.variant-selector__option-btn:hover {
    border-color: var(--color-accent);
}

.variant-selector__option--color input:checked + .variant-selector__option-btn {
    box-shadow:
        0 0 0 2px white,
        0 0 0 4px var(--color-accent);
}

/* ==========================================================================
   Premium Components - Quantity Selector
   ========================================================================== */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.quantity-selector__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--color-surface-alt);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quantity-selector__btn:hover {
    background: var(--color-border-light);
}

.quantity-selector__input {
    width: 64px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
}

.quantity-selector__input:focus {
    outline: none;
}

/* ==========================================================================
   Premium Components - Trust Badges
   ========================================================================== */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-badge__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--color-accent),
        var(--color-accent-secondary)
    );
    border-radius: var(--radius-xl);
    margin-bottom: 0.75rem;
    color: white;
}

.trust-badge__title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.trust-badge__text {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Premium Components - Product Tabs
   ========================================================================== */
.product-tabs {
    margin-top: 4rem;
}

.product-tabs__nav {
    display: flex;
    gap: 2rem;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 2rem;
}

.product-tabs__tab {
    padding: 1rem 0;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-base);
}

.product-tabs__tab:hover {
    color: var(--color-text);
}

.product-tabs__tab.is-active {
    color: var(--color-accent);
}

.product-tabs__tab.is-active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
}

.product-tabs__panel {
    display: none;
}

.product-tabs__panel.is-active {
    display: block;
    animation: fade-in var(--transition-base) ease-out;
}

/* ==========================================================================
   Premium Components - Reviews
   ========================================================================== */
.product-reviews {
    margin-top: 2rem;
}

.product-reviews__summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--color-surface-alt);
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
}

.product-reviews__rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
}

.product-reviews__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.product-reviews__star {
    color: var(--color-gold);
}

.product-reviews__star--empty {
    color: var(--color-border);
}

.product-reviews__count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.product-reviews__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.product-reviews__bar-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    min-width: 40px;
}

.product-reviews__bar-track {
    flex: 1;
    height: 8px;
    background: var(--color-border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.product-reviews__bar-fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

.product-reviews__bar-count {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    min-width: 30px;
    text-align: right;
}

/* ==========================================================================
   Premium Components - Newsletter
   ========================================================================== */
.newsletter-premium {
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
    background: linear-gradient(
        135deg,
        var(--color-accent),
        var(--color-accent-secondary)
    );
    border-radius: var(--radius-2xl);
}

.newsletter-premium__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.newsletter-premium__title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-premium__text {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-premium__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .newsletter-premium__form {
        flex-direction: row;
    }
}

.newsletter-premium__input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: var(--text-base);
}

.newsletter-premium__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-premium__input:focus {
    outline: none;
    border-color: white;
}

.newsletter-premium__btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    background: white;
    color: var(--color-accent);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-premium__btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.newsletter-premium__note {
    font-size: var(--text-xs);
    opacity: 0.7;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ==========================================================================
   Premium Components - Breadcrumbs
   ========================================================================== */
.breadcrumbs-premium {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.breadcrumbs-premium__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.breadcrumbs-premium__link {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.breadcrumbs-premium__link:hover {
    color: var(--color-accent);
}

.breadcrumbs-premium__separator {
    color: var(--color-border);
}

.breadcrumbs-premium__current {
    color: var(--color-text);
    font-weight: 500;
}

/* ==========================================================================
   Premium Components - Add to Cart Bar (Sticky)
   ========================================================================== */
.add-to-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--color-border);
    padding: 1rem;
    z-index: var(--z-header);
    transform: translateY(100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.add-to-cart-bar.is-visible {
    transform: translateY(0);
}

.add-to-cart-bar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.add-to-cart-bar__info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.add-to-cart-bar__image {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.add-to-cart-bar__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-to-cart-bar__title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.add-to-cart-bar__price {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-accent);
}

.add-to-cart-bar__btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--color-accent);
    color: white;
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.add-to-cart-bar__btn:hover {
    background: var(--color-accent-hover);
    transform: scale(1.05);
}

/* ==========================================================================
   Premium Components - Badge de Descuento
   ========================================================================== */
.sale-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(
        135deg,
        var(--color-accent),
        var(--color-accent-hover)
    );
    color: white;
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

/* ==========================================================================
   Premium Components - Stock Indicator
   ========================================================================== */
.stock-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
}

.stock-indicator--in-stock {
    color: var(--color-success);
}

.stock-indicator--low-stock {
    color: var(--color-warning);
}

.stock-indicator--out-of-stock {
    color: var(--color-error);
}

.stock-indicator__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: currentColor;
}

/* ==========================================================================
   Premium Components - Image Comparison Slider
   ========================================================================== */
.image-comparison {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.image-comparison__image {
    width: 100%;
    height: auto;
    display: block;
}

.image-comparison__image--after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-right: 3px solid white;
}

.image-comparison__slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

/* ==========================================================================
   Premium Components - Scrollbar Personalizado
   ========================================================================== */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-full);
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* ==========================================================================
   Premium Components - Loading States
   ========================================================================== */
.loading-skeleton {
    background: linear-gradient(
        90deg,
        var(--color-surface-alt) 25%,
        var(--color-border-light) 50%,
        var(--color-surface-alt) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

.loading-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Premium Components - Glassmorphism
   ========================================================================== */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Premium Components - Gradient Text
   ========================================================================== */
.gradient-text {
    background: linear-gradient(
        135deg,
        var(--color-accent),
        var(--color-accent-secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-gold {
    background: linear-gradient(
        135deg,
        var(--color-gold),
        var(--color-gold-light)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Premium Components - Hover Effects
   ========================================================================== */
.hover-lift {
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform var(--transition-base);
}

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

.hover-glow {
    transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Premium Components - Animaciones Scroll
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-grid > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-grid.is-visible > * {
    animation: fade-in-up 0.6s ease-out forwards;
}

.stagger-grid.is-visible > *:nth-child(1) {
    animation-delay: 0.1s;
}
.stagger-grid.is-visible > *:nth-child(2) {
    animation-delay: 0.2s;
}
.stagger-grid.is-visible > *:nth-child(3) {
    animation-delay: 0.3s;
}
.stagger-grid.is-visible > *:nth-child(4) {
    animation-delay: 0.4s;
}
.stagger-grid.is-visible > *:nth-child(5) {
    animation-delay: 0.5s;
}
.stagger-grid.is-visible > *:nth-child(6) {
    animation-delay: 0.6s;
}

/* ==========================================================================
   Front Page - Hero Slider Premium
   ========================================================================== */
.hero-slider-premium {
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
    min-height: 600px;
}

@media (min-width: 768px) {
    .hero-slider-premium {
        min-height: 700px;
    }
}

@media (min-width: 1200px) {
    .hero-slider-premium {
        min-height: 800px;
    }
}

.hero-slider-premium .js-hero-slide {
    position: relative;
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.hero-slider-premium .js-hero-slide.is-active {
    display: block;
    opacity: 1;
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.6s ease-out;
}

.hero-slider-premium .js-hero-slide.is-active .hero-slide__bg img {
    transform: scale(1);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        transparent 100%
    );
}

.hero-slide__content {
    position: relative;
    z-index: 10;
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: 4rem 1.5rem;
}

.hero-slide__inner {
    max-width: 800px;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--color-accent);
    color: white;
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    animation: fade-in-up 0.6s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
    opacity: 0.9;
    animation: fade-in-up 0.6s ease-out 0.3s both;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fade-in-up 0.6s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fade-in-up 0.6s ease-out 0.5s both;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.hero-arrow--prev {
    left: 1rem;
}

.hero-arrow--next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.is-active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* ==========================================================================
   Front Page - Promo Banner
   ========================================================================== */
.promo-banner {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
}

.promo-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .promo-banner__content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.promo-banner__text {
    text-align: center;
}

@media (min-width: 768px) {
    .promo-banner__text {
        text-align: left;
    }
}

.promo-banner__title {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo-banner__subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
}

.btn--white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #dc2626;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--white:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Front Page - Categories
   ========================================================================== */
.categories-section {
    padding: 4rem 1.5rem;
    background: var(--color-surface-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw + 1rem, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-card__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(
        135deg,
        var(--color-accent),
        var(--color-accent-secondary)
    );
    border-radius: var(--radius-xl);
    color: white;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card__icon {
    transform: scale(1.1);
}

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.category-card__title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.category-card:hover .category-card__title {
    color: var(--color-accent);
}

.category-card__count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================================================
   Front Page - Featured Products
   ========================================================================== */
.featured-section {
    padding: 4rem 1.5rem;
}

.section-header__text {
    text-align: center;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Front Page - Trust Badges
   ========================================================================== */
.trust-section {
    padding: 4rem 1.5rem;
    background: var(--color-primary);
    color: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-badge__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.trust-badge:hover .trust-badge__icon {
    background: var(--color-accent);
    color: white;
    transform: scale(1.1);
}

.trust-badge__title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trust-badge__text {
    font-size: var(--text-sm);
    opacity: 0.8;
    line-height: 1.4;
}

/* ==========================================================================
   Countdown Premium (reusable)
   ========================================================================== */
.countdown-premium {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.countdown-value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==========================================================================
   No Scroll Helper
   ========================================================================== */

.no-scroll {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

/* ==========================================================================
   Screen Reader Text
   ========================================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   Pagination (Posts)
   ========================================================================== */

.navigation.pagination {
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5em;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-links .page-numbers:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.nav-links .page-numbers.current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
    font-size: 0;
}

/* ==========================================================================
   Widget Base Styles
   ========================================================================== */

.widget {
    margin-bottom: var(--space-lg);
}

.widget__title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-accent);
}

/* ==========================================================================
   Utility: Screen Reader Only
   ========================================================================== */

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

/* ==========================================================================
   Accessibility: Focus Visible Enhancer
   ========================================================================== */

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ==========================================================================
   Responsive: Page Layout
   ========================================================================== */

@media (max-width: 768px) {
    .page-layout--has-sidebar {
        grid-template-columns: 1fr;
    }
    .page-sidebar {
        position: static;
    }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .mobile-menu,
    .mobile-menu-overlay,
    .cart-drawer,
    .cart-drawer-overlay,
    .toast-container,
    .back-to-top,
    .hero-slider__arrow,
    .hero-slider__dots,
    .view-toggle,
    .search-results-live {
        display: none !important;
    }

    .site-main {
        padding-top: 0 !important;
    }

    .product-card,
    .post-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
