/* ============================================================
   Mobile Homepage Template
   Mobile-first app-style design inspired by Azures
   ============================================================ */

/* ===== Variables (uses global branding settings) ===== */
body.template-mobile {
    --mora-2: #ee55ee55;
    --mora-2-glow: 0 5px 30px #ee55ee55;
    --shadow-hover: 0 5px 30px rgba(0,0,0,0.15);
    --mobile-primary: var(--primary);
    --mobile-primary-dark: var(--primary-dark);
    --mobile-accent: var(--btn-action);
    --mobile-bg: var(--body-bg);
    --mobile-card-bg: var(--white);
    --mobile-card-bg-dark-light: #a5abc01c;;
    --mobile-text: var(--text);
    --mobile-text-light: var(--text-light);
    --mobile-border: var(--border);
    --mobile-gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--btn-action) 100%);
    --mobile-gradient-deal: linear-gradient(135deg, var(--primary) 0%, var(--btn-action) 100%);
    --mobile-gradient-newsletter: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --mobile-shadow: var(--shadow);
    --mobile-shadow-hover: var(--shadow-hover);
    --mobile-radius: var(--radius-lg, 12px);
    --mobile-radius-sm: var(--radius, 8px);
    --mobile-shadow-morado: var(--mora-2-glow);
}
/* ===== General Styles ===== */
/* Estilo personalizado para el buscador */
.navbar-search {
  flex: 1 !important;
  min-width: 200px !important;
  padding: 14px 20px !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  background: #e0e5ec !important; /* fondo neomórfico */
  box-shadow: inset 6px 6px 12px #a3b1c6 !important,
              inset -6px -6px 12px #ffffff !important;
  transition: all 0.3s ease !important;
  color: var(--text) !important; /* texto */
}

.navbar-search:focus {
  outline: none !important;
  box-shadow: 6px 6px 12px #a3b1c6 !important,
              -6px -6px 12px #ffffff !important;
  background: #f0f3f7 !important;
}

.navbar-search::placeholder {
  color: var(--primary-dark) !important; /* placeholder dorado */
  opacity: 0.8 !important;
}

.navbar-search:focus {
  outline: none;
  box-shadow: 6px 6px 12px #a3b1c6,
              -6px -6px 12px #ffffff;
  background: #f0f3f7;
}
.navbar-search {
  color: var(--primary); /* azul marino */
}
.navbar-search::placeholder {
  color: var(--primary-dark); /* dorado */
  opacity: 0.8;
}

.navbar-search-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mobile-primary);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}
.navbar-search-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}
.lifted {
  background: #e0e5ec; /* fondo claro */
  border-radius: 20px;
  padding: 20px;
  box-shadow: 
    8px 8px 16px #a3b1c6,   /* sombra oscura abajo/derecha */
    -8px -8px 16px #ffffff; /* sombra clara arriba/izquierda */
  transition: all 0.3s ease;
}

/* Efecto al pasar el mouse */
.lifted:hover {
  box-shadow: 
    12px 12px 24px #a3b1c6, 
    -12px -12px 24px #ffffff;
  transform: translateY(-6px); /* se levanta */
}




/* ===== Hero Slider (Azures-style) ===== */
.mobile-hero {
    padding: 30px;
    position: relative;
    height: 70vh !important;
    box-sizing: border-box;
}
.mobile-hero .carousel {
    height: 100%;
    overflow: visible;    
}
.mobile-hero .carousel-inner {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.mobile-hero .carousel-item { height: 100%; }
.mobile-hero-dots {
    position: absolute !important;
    bottom: -30px !important;
    display: flex !important;
    justify-content: center;
    gap: 6px;
    margin: 0 !important;
    list-style: none;
}
.mobile-hero-dots [data-bs-target] {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
    border: none !important;
    /* background: var(--mobile-border) !important; */
    background: fixed #3333338e !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s;
    text-indent: 0 !important;
    opacity: 1 !important;
    flex: none !important;
    box-sizing: content-box;
}
.mobile-hero-dots [data-bs-target].active {
    width: 24px !important;
    border-radius: 4px;
    background: var(--mobile-primary) !important;
}
.mobile-hero .carousel-control-prev,
.mobile-hero .carousel-control-next { display: none; }
.mobile-hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.mobile-hero-slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
}
.mobile-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--body-bg) 100%);
    z-index: 0;
    overflow: hidden;
}

/* Forma 1 */
.mobile-hero-overlay::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    top: 20%;
    left: -100px;
    background: radial-gradient(circle at center,
        rgba(20, 34, 230, 0.37) 0%,
        transparent 80%);
    border-radius: 50%;
    animation: move1 6s infinite linear;
}

/* Forma 2 */
.mobile-hero-overlay::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: -120px;
    background: radial-gradient(circle at center,
        rgba(2, 17, 83, 0.15) 0%,
        transparent 80%);
    border-radius: 50%;
    animation: move2 8s infinite linear;
}

/* Animaciones rápidas en loop */
@keyframes move1 {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(80px, -40px) scale(1.2); }
    100% { transform: translate(0,0) scale(1); }
}

@keyframes move2 {
    0%   { transform: translate(0,0) rotate(0deg); }
    50%  { transform: translate(-60px, 30px) rotate(180deg); }
    100% { transform: translate(0,0) rotate(360deg); }
}


.mobile-hero-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    max-width: 520px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.445);
}
.mobile-hero-content .mobile-btn-solid,
.mobile-hero-content .mobile-btn-outline { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.445); }
.mobile-hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    /* background: rgba(255,255,255,0.15); */
    background: #51449e7c;
    padding: 5px 16px;
    border-radius: 20px;
    filter:blur(0.15);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.445);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.mobile-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.445);
}
.mobile-hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.445);
}
.mobile-hero-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.mobile-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mobile-primary-dark);
    background: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.445);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    
}
.mobile-btn-solid:hover {
    background: #f0f0f0;
    /* color: var(--mobile-primary); */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mobile-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.445);
}
.mobile-btn-outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ===== Section Shared ===== */
.mobile-section {
    padding: 20px 0;
}
.mobile-section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--mobile-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.mobile-section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--mobile-text);
    margin-bottom: 8px;
}
.mobile-section-desc {
    font-size: 15px;
    color: var(--mobile-text-light);
    max-width: 500px;
}

/* ===== Services ===== */
.mobile-services {
    background: var(--mobile-card-bg);
    padding: 50px 0;
}
.mobile-service-card {
    text-align: center;
    padding: 30px 20px;
}
.mobile-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mobile-primary), var(--mobile-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 24px;
}
.mobile-service-card h6 {
    font-size: 15px;
    font-weight: 700;
    color: var(--mobile-text);
    margin-bottom: 6px;
}
.mobile-service-card p {
    font-size: 13px;
    color: var(--mobile-text-light);
    margin: 0;
}

/* ===== Featured Products ===== */
.mobile-featured {
    background: var(--mobile-bg);
}
.mobile-product-card {
    background: var(--mobile-card-bg);
    border-radius: var(--mobile-radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s;
    margin: 6px;
}
.mobile-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mora-2-glow);
}
.mobile-product-image-wrap {
    position: relative;
    height: 240px;
    background: var(--mobile-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border: 1px solid #06a6b163;
    border-radius: var(--mobile-radius) var(--mobile-radius) 0 0;
}
.mobile-product-image {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}
.mobile-product-card:hover .mobile-product-image {
    transform: scale(1.08);
}
.mobile-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(108,92,231,0.40);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.mobile-product-card:hover .mobile-product-overlay {
    opacity: 1;
}
.mobile-overlay-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--mobile-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    transform: translateY(10px);
    pointer-events: auto;
}
.mobile-product-card:hover .mobile-overlay-btn {
    transform: translateY(0);
}
.mobile-overlay-btn:nth-child(2) { transition-delay: 0.05s; }
.mobile-overlay-btn:nth-child(3) { transition-delay: 0.1s; border: none; }
.mobile-overlay-btn:hover {
    background: var(--mobile-primary);
    color: #fff;
}
.mobile-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--mobile-accent);
    border-radius: 20px;
    text-transform: uppercase;
}
.mobile-product-badge-new {
    background: var(--mobile-primary);
}
.mobile-product-info {
    padding: 16px 18px 20px;
    background: var(--mobile-card-bg-dark-light);
}
.mobile-product-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--mobile-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mobile-product-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--mobile-text);
    text-decoration: none;
    margin: 4px 0 6px;
    transition: color 0.3s;
}
.mobile-product-name:hover {
    color: var(--mobile-primary);
}
.mobile-product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: #f1c40f;
    margin-bottom: 6px;
}
.mobile-product-rating .rating-count {
    color: var(--mobile-text-light);
    font-size: 11px;
    margin-left: 4px;
}
.mobile-product-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--mobile-primary);
}
/* ===== Categories ===== */
.mobile-categories {
    background: var(--mobile-card-bg);
}
.mobile-category-card {
    display: block;
    text-align: center;
    padding: 28px 16px;
    border-radius: var(--mobile-radius);
    background: var(--mobile-bg);
    text-decoration: none;
    transition: all 0.3s;
}
.mobile-category-card:hover {
    background: var(--mobile-primary);
    transform: translateY(-4px);
    box-shadow: var(--mobile-shadow);
}
.mobile-category-icon {
    font-size: 32px;
    color: var(--mobile-primary);
    margin-bottom: 12px;
    transition: color 0.3s;
}
.mobile-category-card:hover .mobile-category-icon {
    color: #fff;
}
.mobile-category-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--mobile-text);
    margin: 0 0 4px;
    transition: color 0.3s;
}
.mobile-category-card:hover .mobile-category-name {
    color: #fff;
}
.mobile-category-count {
    font-size: 12px;
    color: var(--mobile-text-light);
    transition: color 0.3s;
}
.mobile-category-card:hover .mobile-category-count {
    color: rgba(255,255,255,0.8);
}

/* ===== Deal ===== */
.mobile-deal {
    padding: 70px 0;
    background: var(--mobile-gradient-deal);
    color: #fff;
    position: relative;
}
.mobile-deal-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.mobile-deal-aurora::before {
    content: '';
    position: absolute;
    top: -200px; left: -200px;
    right: -200px; bottom: -200px;
    background:
        radial-gradient(ellipse 400px 250px at 15% 20%, rgba(255,255,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 350px 400px at 85% 75%, rgba(255,255,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 300px 350px at 45% 55%, rgba(255,255,255,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 250px 200px at 70% 30%, rgba(255,255,255,0.04) 0%, transparent 60%);
    animation: auroraFlux 20s ease-in-out infinite;
    transform-origin: center;
}
@keyframes auroraFlux {
    0% {
        transform: translate(-8%, -4%) scale(1);
        opacity: 0.3;
    }
    20% {
        transform: translate(6%, -12%) scale(1.08);
        opacity: 0.55;
    }
    40% {
        transform: translate(12%, 6%) scale(0.95);
        opacity: 0.4;
    }
    60% {
        transform: translate(-4%, 12%) scale(1.04);
        opacity: 0.5;
    }
    80% {
        transform: translate(-12%, -6%) scale(0.97);
        opacity: 0.35;
    }
    100% {
        transform: translate(-8%, -4%) scale(1);
        opacity: 0.3;
    }
}
.mobile-deal-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.12);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.mobile-deal-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}
.mobile-deal-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}
.mobile-deal-price {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}
.mobile-deal-image {
    max-height: 520px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

/* ===== Newsletter ===== */
.mobile-newsletter {
    padding: 70px 0;
    background: var(--mobile-gradient-newsletter);
    color: #fff;
    text-align: center;
}
.mobile-newsletter .mobile-section-title { color: #fff; }
.mobile-newsletter .mobile-section-desc { color: rgba(255,255,255,0.8); margin: 0 auto 24px; }
.mobile-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.mobile-newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
}
.mobile-newsletter-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mobile-primary);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}
.mobile-newsletter-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ===== Owl Carousel tweaks ===== */
.mobile-featured .owl-carousel .owl-nav {
    position: absolute;
    top: -50px;
    right: 0;
}
.mobile-featured .owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background: var(--mobile-card-bg) !important;
    border-radius: 50% !important;
    border: none;
    font-size: 16px;
    color: var(--mobile-text) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-left: 6px;
}
.mobile-featured .owl-carousel .owl-nav button:hover {
    background: var(--mobile-primary) !important;
    color: #fff !important;
}

/* ===== Shop page product cards match mobile style ===== */
body.template-mobile .product-card {
    border-radius: var(--mobile-radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: none;
    overflow: hidden;
    transition: all 0.3s;
    background: var(--mobile-card-bg);
}
body.template-mobile .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mobile-shadow);
}
body.template-mobile .product-image {
    aspect-ratio: auto;
    height: 240px;
    background: var(--mobile-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--btn-action);
    border-bottom: 1px solid var(--text-light);
    border-radius: var(--mobile-radius) var(--mobile-radius) 0 0;
    overflow: hidden;
}
body.template-mobile .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.template-mobile .product-actions {
    bottom: -53px;
    background: rgba(0,0,0,0.5);
    padding: 8px 0;
}
body.template-mobile .product-card:hover .product-actions {
    bottom: 0;
}
body.template-mobile .product-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--mobile-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
body.template-mobile .product-name a {
    font-size: 14px;
    font-weight: 600;
    color: var(--mobile-text);
}
body.template-mobile .product-name a:hover {
    color: var(--mobile-primary);
}
body.template-mobile .product-price-box {
    font-size: 14px;
    font-weight: 800;
    color: var(--mobile-primary);
}
body.template-mobile .product-info {
    padding: 16px 18px 20px;
}
body.template-mobile .product-badge {
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
}

/* ===== Floating buttons higher with this template ===== */
body.template-mobile .cart-float-btn { bottom: 320px; }
body.template-mobile .whatsapp-btn { bottom: 255px; }
body.template-mobile .chat-widget-btn { bottom: 190px; }
body.template-mobile .chat-widget-box { bottom: 190px; }
body.template-mobile .back-to-top { bottom: 130px; }

/* ===== Bottom Navigation Bar (mobile only) ===== */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--mobile-card-bg);
    border-top: 1px solid var(--mobile-border);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--mobile-text-light);
    font-size: 10px;
    transition: color 0.3s;
    padding: 4px 12px;
    position: relative;
}
.mobile-bottom-item i {
    font-size: 20px;
    transition: color 0.3s;
}
.mobile-bottom-item.active,
.mobile-bottom-item:hover {
    color: var(--mobile-primary);
}
.mobile-bottom-item.active i,
.mobile-bottom-item:hover i {
    color: var(--mobile-primary);
}
.mobile-bottom-badge {
    position: absolute;
    top: 0;
    right: 2px;
    background: var(--mobile-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1;
}
@media (max-width: 767px) {
    .mobile-bottom-bar { display: flex; }
    body.template-mobile { padding-bottom: 64px; }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .mobile-hero-title { font-size: 32px; }

    .mobile-section-title { font-size: 24px; }
    .mobile-deal-title { font-size: 26px; }
    .mobile-deal-image { max-height: 260px; }
}
@media (max-width: 767px) {
    .mobile-hero { padding: 20px; height: 48vh; } 
    .mobile-hero-title { font-size: 26px; }
    .mobile-hero-desc { font-size: 14px; }
    .mobile-btn-solid, .mobile-btn-outline { padding: 12px 24px; font-size: 14px; }
    .mobile-section { padding: 35px 0; }
    .mobile-section-title { font-size: 22px; }
    .mobile-product-image-wrap { height: 200px; }
    .mobile-featured .owl-carousel .owl-nav { position: static; display: flex; justify-content: center; margin-top: 16px; gap: 8px; }
    .mobile-featured .owl-carousel .owl-nav button { position: static; }
}
@media (max-width: 575px) {
    .mobile-hero { padding: 20px; height: 45vh; } 
    .mobile-hero-title { font-size: 22px; }       
    .mobile-deal-title { font-size: 22px; }
    .mobile-product-image-wrap { height: 180px; }
    .mobile-newsletter-form { flex-direction: column; align-items: stretch; }
    .mobile-newsletter-input { text-align: center; }
}

/* ===== DARK MODE ===== */
/* Gradient backgrounds use darker tones in dark mode */
body.dark-mode .mobile-hero-overlay { background: linear-gradient(to bottom, var(--primary) 0%, #0f1117 100%) !important; }
body.dark-mode .mobile-deal { background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, var(--btn-action) 100%) !important; }
body.dark-mode .mobile-btn-solid { color: var(--mobile-primary); }
body.dark-mode .mobile-newsletter { background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, var(--primary) 100%) !important; }
body.dark-mode .mobile-bottom-bar { background: var(--white) !important; border-top-color: var(--border) !important; }
body.dark-mode .mobile-bottom-item { color: var(--text-light) !important; }
body.dark-mode .mobile-bottom-item.active,
body.dark-mode .mobile-bottom-item:hover { color: var(--primary) !important; }
body.dark-mode .mobile-bottom-bar + * { --body-padding-bottom: 70px; }
body.dark-mode .mobile-product-card .mobile-product-overlay .mobile-overlay-btn { color: var(--mobile-primary) !important; background: var(--white) !important; } 
body.dark-mode .mobile-product-card .mobile-product-overlay .mobile-overlay-btn:hover { color: var(--white) !important; background: var(--mobile-primary) !important; }
/* ===== Promotional Banners ===== */
.mobile-promo-card {
    display: block;
    position: relative;
    border-radius: var(--mobile-radius, 12px);
    overflow: hidden;
    box-shadow: var(--mobile-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.mobile-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--mora-2-glow);
}
.mobile-promo-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.mobile-promo-overlay {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    pointer-events: none;
    overflow: hidden;
}
.mobile-promo-overlay::before,
.mobile-promo-overlay::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}
.mobile-promo-overlay::before {
    width: 60px;
    height: 60px;
    background: #7B5BEB;
    left: var(--c1x, 10%);
    top: var(--c1y, -20px);
    animation: floatCircle 5s ease-in-out infinite;
}
.mobile-promo-overlay::after {
    width: 40px;
    height: 40px;
    background: #EE5EFE;
    left: var(--c2x, 5%);
    bottom: var(--c2y, 30%);
    animation: floatDiamond 7s ease-in-out infinite 1.5s;
}
.mobile-promo-card .shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 30px solid #1F7BFF;
    opacity: 0.3;
    pointer-events: none;
    left: var(--tx, 20%);
    bottom: var(--ty, 20%);
    animation: floatTriangle 6s ease-in-out infinite 0.8s;
}
@keyframes floatCircle {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.15; }
    25%  { transform: translate(18px, -20px) scale(1.15); opacity: 0.28; }
    50%  { transform: translate(-12px, -6px) scale(0.9); opacity: 0.18; }
    75%  { transform: translate(14px, -24px) scale(1.1); opacity: 0.25; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
}
@keyframes floatDiamond {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.12; }
    25%  { transform: translate(-16px, 12px) rotate(90deg) scale(1.2); opacity: 0.24; }
    50%  { transform: translate(10px, -14px) rotate(180deg) scale(0.85); opacity: 0.15; }
    75%  { transform: translate(-12px, 10px) rotate(270deg) scale(1.15); opacity: 0.22; }
    100% { transform: translate(0, 0) rotate(360deg) scale(1); opacity: 0.12; }
}
@keyframes floatTriangle {
    0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.1; }
    20%  { transform: translate(20px, -12px) rotate(18deg); opacity: 0.22; }
    40%  { transform: translate(-10px, -22px) rotate(-12deg); opacity: 0.14; }
    60%  { transform: translate(16px, -4px) rotate(22deg); opacity: 0.2; }
    80%  { transform: translate(-18px, -16px) rotate(-8deg); opacity: 0.25; }
    100% { transform: translate(0, 0) rotate(0deg); opacity: 0.1; }
}
.mobile-promo-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}
.mobile-promo-desc {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}
@media (max-width: 576px) {
    .mobile-promo-img { height: 140px; }
    .mobile-promo-overlay { padding: 12px; }
    .mobile-promo-title { font-size: 15px; }
    .mobile-promo-desc { font-size: 12px; }
}

/* All other colors use global CSS variables automatically (--white, --text, --body-bg, --border, etc.) */
