/* ============================================================================
   COMPONENTES ESPECÍFICOS DEL TEMA
   ============================================================================ */

/* ============================================================================
   COMPONENTE: HEADER
   ============================================================================ */
.mi-tema-v2-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100;
}

.mi-tema-v2-header__logo {
    /* Los tamaños se aplican dinámicamente desde PHP */
    height: auto;
}

.mi-tema-v2-header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ============================================================================
   COMPONENTE: SIDEBAR
   ============================================================================ */
.mi-tema-v2-sidebar {
    /* Los colores y blur se aplican dinámicamente desde PHP */
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding: 27.795px;
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    z-index: 1001;
    overflow-y: auto;
}

.mi-tema-v2-sidebar__logo {
    margin-bottom: 30px;
    text-align: center;
}

.mi-tema-v2-sidebar__nav {
    margin-bottom: 20px;
}

.mi-tema-v2-sidebar__nav-item {
    display: block;
    padding: 6px 0;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.2;
    transition: color 0.3s ease;
    margin-bottom: 5px;
}

.mi-tema-v2-sidebar__nav-item:hover {
    color: #666;
}

/* ============================================================================
   COMPONENTE: FOOTER
   ============================================================================ */
.mi-tema-v2-footer {
    /* Los colores y blur se aplican dinámicamente desde PHP */
    color: #fff;
    padding: 60px 0 30px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100vw;
    max-width: 100vw;
    clear: both;
    display: block;
    visibility: visible;
    opacity: 1;
    margin: 0;
    box-sizing: border-box;
}

.mi-tema-v2-footer__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mi-tema-v2-footer__section {
    display: block;
    visibility: visible;
    opacity: 1;
}

.mi-tema-v2-footer__section-title {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

.mi-tema-v2-footer__section-text {
    font-size: 12px;
    line-height: 1.8;
    color: #ccc;
    text-decoration: none;
    font-weight: 300;
    margin-bottom: 8px;
}

.mi-tema-v2-footer__section-text:hover {
    color: #fff;
}

.mi-tema-v2-footer__logo {
    text-align: center;
    margin-bottom: 20px;
}

.mi-tema-v2-footer__logo-text {
    color: #fff;
    /* El tamaño de fuente se aplica dinámicamente desde PHP */
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================================================
   COMPONENTE: SLIDER
   ============================================================================ */
.mi-tema-v2-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.mi-tema-v2-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mi-tema-v2-slider__slide--active {
    opacity: 1;
}

.mi-tema-v2-slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mi-tema-v2-slider__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.mi-tema-v2-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.mi-tema-v2-slider__dot--active {
    background: #fff;
}

/* ============================================================================
   COMPONENTE: CARRITO
   ============================================================================ */
.mi-tema-v2-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    outline: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.mi-tema-v2-cart__icon {
    flex-shrink: 0;
    background: transparent;
    border: none;
}

.mi-tema-v2-cart__count {
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    margin-left: auto;
    border: none;
    outline: none;
}

/* ============================================================================
   COMPONENTE: SELECTOR DE MONEDA
   ============================================================================ */
.mi-tema-v2-currency {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
}

.mi-tema-v2-currency__icon {
    flex-shrink: 0;
    background: transparent;
    border: none;
}

.mi-tema-v2-currency__select {
    background: transparent;
    border: none;
    color: #000;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    cursor: pointer;
    outline: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
