/* ============================================================
   CorePlatformHA Ecommerce - Style CSS   
   ============================================================ */

:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --btn-action: #28a745;
    --secondary: #6c757d;
    --accent: #ff6b00;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
    --body-bg: #f7f4f4;
    --text: #333333;
    --text-light: #888888;
    --border: #e5e5e5;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 5px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --topbar-bg: #1a1a2e;
    --navbar-bg: #ffffff;
    --navbar-link-color: #1a1a2e;
    --navbar-link-hover-bg: #f0f4ff;
    --footer-bg: #0d0d1a;
    --mora-2: #ee55ee55;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--body-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ============================================================
   Preloader
   ============================================================ */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s;
}
#preloader.hidden { opacity: 0; pointer-events: none; }
/* Preloader auto-hide fallback if jQuery doesn't load */
@media (prefers-reduced-motion: no-preference) {
    #preloader { animation: preloaderFade 2s forwards; }
}
@keyframes preloaderFade { 0%, 70% { opacity: 1; } 100% { opacity: 0; pointer-events: none; } }
.loader {
    width: 50px; height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Top Bar
   ============================================================ */
.top-bar {
    background: var(--topbar-bg);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}
.top-bar-text i { 
    margin-right: 5px; 
    color: var(--primary); 
    font-size: 1.2rem;
}
.top-bar-link {
    color: rgba(255,255,255,0.8);
    margin-left: 15px;
    font-size: 13px;
}
.top-bar-link:hover { color: var(--white); }
.top-bar-link i { margin-right: 4px; }

/* ============================================================
   Main Header
   ============================================================ */
.main-header {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.logo-text {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    color: var(--dark);
}
.logo-text .text-primary { color: var(--primary) !important; }

.search-input {
    height: 46px;
    border-radius: var(--radius) 0 0 var(--radius);
    border: 2px solid var(--border);
    border-right: none;
    padding: 0 20px;
    font-size: 14px;
}
.search-input:focus {
    border-color: var(--primary);
    box-shadow: none;
}
.search-btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0 20px;
}

.header-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}
.action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 40px;
    background: var(--light);
    border-radius: 50%;
    color: var(--dark);
    font-size: 20px;
    transition: var(--transition);
    padding: 4px 0 0 0;
}
.action-btn:hover {
    background: var(--primary);
    color: var(--white);
}


.action-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ============================================================
   Main Navigation
   ============================================================ */
.main-nav {
    background: var(--navbar-bg);
    /* border-bottom: 2px solid var(--border);*/
    padding: 0;
}
.main-nav .navbar-nav .nav-link {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navbar-link-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--navbar-link-hover-bg);
}
.main-nav .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 8px 0;
    margin-top: 0;
    border-top: 3px solid var(--primary);
}
.main-nav .dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
}
.main-nav .dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
    position: relative;
}
.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}
.carousel-control-next, .carousel-control-prev {
    width: 5%;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}
.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
    color: var(--white);
    z-index: 10;
}
.hero-subtitle {
    display: inline-block;
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}
.hero-overlay {
    position: absolute;
    z-index: 5;
}
.hero-overlay img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes bounceIn {
    0%   { opacity: 0; transform: scale(0.3); }
    50%  { opacity: 1; transform: scale(1.05); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}
.hero-overlay.shadow-drop-2-lr {
    -webkit-animation: shadow-drop-2-lr 1.5s linear infinite alternate-reverse both;
            animation: shadow-drop-2-lr 1.5s linear infinite alternate-reverse both;
}
@keyframes shadow-drop-2-lr {
    0% {
        -webkit-transform: scale(0.92);
                transform: scale(0.92);
    }
    100% {
        -webkit-transform: scale(1.06);
                transform: scale(1.06);
    }
}
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.199);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-hover);
}
.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}
.hero-section .carousel-control-prev { left: 20px; }
.hero-section .carousel-control-next { right: 20px; }

/* ============================================================
   Features Bar
   ============================================================ */
.features-bar {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
}
.feature-icon {
    font-size: 36px;
    color: var(--primary);
    flex-shrink: 0;
}
.feature-item h6 {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}
.feature-item p {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
    padding: 30px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
}
.section-desc {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 0;
}
.view-all {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.view-all i { transition: var(--transition); }
.view-all:hover i { transform: translateX(5px); }

.page-header {
    background: var(--light);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.page-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}
.page-desc {
    color: var(--text-light);
    margin: 0;
}
.breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

/* ============================================================
   Categories
   ============================================================ */
.category-card {
    display: block;
    text-align: center;
    padding: 25px 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.category-icon {
    width: 64px; height: 64px;
    margin: 0 auto 12px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}
.category-card:hover .category-icon {
    background: var(--primary);
    color: var(--white);
}
.category-card h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}
.product-count {
    font-size: 12px;
    color: var(--text-light);
}

/* ============================================================
   Product Card
   ============================================================ */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--light);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(177, 176, 176, 0.404);
    transition: var(--transition);
    z-index: 2;
}
.product-card:hover .product-actions {
    bottom: 0;
}
.btn-action {
    width: 36px; height: 36px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-action:hover {
    background: var(--btn-action);
    color: var(--white);
}
.btn-action.in-cart,
.add-to-cart.in-cart {
    background: #4C9E4D !important;
    color: #fff !important;
    border-color: #4C9E4D !important;
}
.btn-action.in-cart:hover,
.add-to-cart.in-cart:hover {
    background: #3d8a3e !important;
}
.btn-action.in-wishlist,
.add-to-wishlist.in-wishlist,
.add-to-wishlist-btn.in-wishlist {
    background: #E11A2F !important;
    color: #fff !important;
    border-color: #E11A2F !important;
}
.btn-action.in-wishlist:hover,
.add-to-wishlist.in-wishlist:hover,
.add-to-wishlist-btn.in-wishlist:hover {
    background: #c01426 !important;
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}
.sale-badge {
    background: var(--accent);
    color: var(--white);
}
.featured-badge {
    background: var(--primary);
    color: var(--white);
}
.new-badge {
    background: #28a745;
    color: var(--white);
}
.product-info {
    padding: 15px;
}
.product-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-name {
    font-size: 15px;
    font-weight: 700;
    margin: 5px 0;
    line-height: 1.3;
}
.product-name a {
    color: var(--dark);
}
.product-name a:hover {
    color: var(--primary);
}
.product-rating {
    color: #ffc107;
    font-size: 12px;
    margin-bottom: 5px;
}
.product-price-box {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-price {
    font-size: 1em;
    font-weight: 800;
    color: var(--dark);
}
.product-price.sale {
    color: var(--accent);
}
/* ============================================================
   Products Carousel
   ============================================================ */
.products-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: var(--white) !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow);
    font-size: 20px !important;
    transition: var(--transition);
}
.products-carousel .owl-nav button:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}
.products-carousel .owl-prev { left: -20px; }
.products-carousel .owl-next { right: -20px; }

/* ============================================================
   Deals Banner
   ============================================================ */
.deals-banner {
    background: linear-gradient(135deg, var(--primary), #0056b3);
    padding: 60px 0;
    color: var(--white);
}
.deals-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.deals-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}
.deals-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}
.countdown {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.15);
    padding: 12px 18px;
    border-radius: var(--radius);
    min-width: 70px;
}
.countdown-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.countdown-item span:last-child {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.8;
}
.deals-image {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

/* ============================================================
   Brands
   ============================================================ */
.brands-section {
    border-top: 1px solid var(--border);
}
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0.6;
    transition: var(--transition);
}
.brand-item:hover { opacity: 1; }
.brand-logo {
    max-height: 50px;
    filter: grayscale(100%);
    transition: var(--transition);
}
.brand-item:hover .brand-logo { filter: grayscale(0); }

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter-section {
    background: var(--dark);
    padding: 50px 0;
}
.newsletter-wrapper {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: var(--radius-lg);
}
.newsletter-title {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}
.newsletter-text {
    color: rgba(255,255,255,0.7);
    margin: 5px 0 0;
}
.newsletter-form .input-group {
    max-width: 500px;
    margin-left: auto;
}
.newsletter-form .form-control {
    height: 50px;
    border-radius: var(--radius) 0 0 var(--radius);
    border: none;
    padding: 0 20px;
}
.newsletter-form .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0 30px;
    font-weight: 700;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}
.footer-widget h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--primary);
    color: var(--white);
}
.contact-info {
    list-style: none;
    padding: 0;
}
.contact-info li {
    margin-bottom: 10px;
    font-size: 16px;
}
.contact-info i {
    margin-right: 10px;
    color: var(--primary);
}
.contact-info a {
    color: var(--text-light);
}
.contact-info a:hover {
    color: var(--primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
}
.copyright {
    margin: 0;
    font-size: 14px;
}
.payment-methods {
    max-height: 30px;
}

/* ============================================================
   Back to Top
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 44px; height: 44px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================================
   Shop Sidebar
   ============================================================ */
.shop-sidebar { position: sticky; top: 20px; }
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.category-list {
    list-style: none;
    padding: 0;
}
.category-list li {
    margin-bottom: 6px;
}
.category-list a {
    display: block;
    padding: 6px 10px;
    font-size: 14px;
    color: var(--text);
    border-radius: 4px;
    transition: var(--transition);
}
.category-list a:hover,
.category-list a.active {
    background: var(--light);
    color: var(--primary);
}
.price-range {
    display: block;
    padding: 6px 10px;
    font-size: 14px;
    color: var(--text);
    border-radius: 4px;
    transition: var(--transition);
}
.price-range:hover {
    background: var(--light);
    color: var(--primary);
}

/* ============================================================
   Shop Toolbar
   ============================================================ */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: var(--light);
    border-radius: var(--radius);
}
.results-count {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}
.sort-options .form-select {
    border-radius: var(--radius);
    padding: 8px 30px 8px 12px;
    font-size: 14px;
    border: 1px solid var(--border);
    cursor: pointer;
}



/* ============================================================
   Landing page Products
   ============================================================ */

.productos-destacados .product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  height: 100%; /* fuerza uniformidad */
  box-sizing: border-box;
}

/* Imagen del producto */
.productos-destacados .product-card img {
  max-width: 100%;
  height: 220px; /* altura fija para uniformidad */
  object-fit: contain; /* mantiene proporción sin deformar */
  margin-bottom: 10px;
}

/* Título y precio */
.productos-destacados .product-card h3,
.productos-destacados .product-card .price {
  min-height: 40px; /* reserva espacio para evitar saltos */
  margin: 5px 0;
}

/* Grid general */
.productos-destacados .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}


/* ============================================================
   Product Detail
   ============================================================ */
.product-gallery {
    position: sticky; top: 20px;
}
.main-image {
    position: relative;
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 15px;
}
.main-image img {
    width: 100%;
    height: auto;
    display: block;
}
.image-thumbnails {
    display: flex;
    gap: 10px;
}
.thumb-item {
    width: 80px; height: 80px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
.thumb-item:hover,
.thumb-item.active {
    border-color: var(--primary);
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
}
.product-brand { color: var(--primary); font-weight: 600; }
.product-sku { color: var(--text-light); }

.product-detail-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}
.product-detail-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 14px;
}
.rating-count { color: var(--text-light); margin-left: 8px; }

.product-detail-price {
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.product-detail-price .product-price {
    font-size: 32px;
}
.product-detail-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.qty-btn {
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--light); }
.quantity-selector input[type="number"] {
    width: 60px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    font-size: 16px;
    font-weight: 600;
    appearance: textfield;
    -webkit-appearance: textfield;
}
.quantity-selector input[type="number"]::-webkit-inner-spin-button,
.quantity-selector input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
.stock-info {
    font-size: 13px;
    color: #28a745;
    font-weight: 600;
}
.stock-danger {
    font-size: 13px;
    color: #dc3545;
    font-weight: 600;
}

.product-actions-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.product-actions-btns .btn { flex: 1; }
.add-to-wishlist-btn {
    width: 54px;
    flex: 0 0 54px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Notifications dropdown */
.notif-backdrop {
    display: none; position: fixed; inset: 0; z-index: 9998;
    background: rgba(0,0,0,0.35);
}
.notif-backdrop.show { display: block; }
.notif-dropdown {
    position: absolute; top: 100%; right: 0; z-index: 9999;
    width: 320px; background: #fff; border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    display: none; overflow: hidden;
}
.notif-dropdown.show { display: block; }
.notif-header { padding: 10px 14px; border-bottom: 1px solid #eee; font-size: 13px; }
.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item {
    display: block; padding: 10px 14px; border-bottom: 1px solid #f5f5f5;
    text-decoration: none; color: #333; font-size: 12px; transition: background .2s;
}
.notif-item:hover { background: #f8f9fa; }
.notif-item.unread { background: #eef6ff; border-left: 3px solid var(--btn-action); }
.notif-item .notif-title { font-weight: 600; display: block; margin-bottom: 2px; font-size: 12px; }
.notif-item .notif-time { font-size: 10px; color: #999; }

.product-extra-info {
    background: var(--light);
    border-radius: var(--radius);
    padding: 15px;
}
.extra-item {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
}
.extra-item i {
    color: var(--primary);
    margin-right: 10px;
}

/* Tabs */
.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--border);
}
.product-tabs .nav-tabs .nav-link {
    border: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 12px 25px;
    font-size: 15px;
    position: relative;
}
.product-tabs .nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 25px; right: 25px;
    height: 2px;
    background: transparent;
    transition: var(--transition);
}
.product-tabs .nav-tabs .nav-link.active {
    color: var(--primary);
    background: none;
}
.product-tabs .nav-tabs .nav-link.active::after {
    background: var(--primary);
}
.tab-content {
    padding: 25px 0;
}
.product-description {
    line-height: 1.8;
    color: var(--text);
}

/* Reviews */
.review-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.review-rating { color: #ffc107; font-size: 13px; }
.review-date { font-size: 12px; color: var(--text-light); margin-left: auto; }

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}
.star-rating input { display: none; }
.star-rating label {
    font-size: 24px;
    color: var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

/* ============================================================
   Shop List Template
   ============================================================ */
.shop-list-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.shop-list-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.shop-list-card:hover { box-shadow: var(--shadow-hover); }
.shop-list-image {
    width: 200px;
    min-height: 200px;
    flex-shrink: 0;
    background: var(--light);
}
.shop-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-list-body {
    flex: 1;
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.shop-list-body .product-category {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
}
.shop-list-body .product-name { margin: 0; }
.shop-list-body .product-name a { color: var(--dark); font-size: 18px; }
.shop-list-body .product-name a:hover { color: var(--primary); }
.shop-list-desc {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}
.shop-list-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
@media (max-width: 575px) {
    .shop-list-card { flex-direction: column; }
    .shop-list-image { width: 100%; min-height: 180px; }
    .shop-list-body { padding: 0 12px 12px; }
}

/* ============================================================
   Cart
   ============================================================ */
.cart-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.cart-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
}
.cart-item-row {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 12px;
}
.cart-item-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cart-item-col-actions {
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cart-item-left-row {
    display: flex;
    gap: 10px;
}
.cart-item-img-wrap {
    width: 33%;
    aspect-ratio: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light);
    flex-shrink: 0;
}
.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-info h6 {
    margin: 0;
    font-size: 14px;
}
.cart-item-info h6 a { color: var(--dark); }
.cart-item-info h6 a:hover { color: var(--primary); }
.cart-item-info small { font-size: 11px; }
.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-item-price {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
}
.cart-item-label {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
}
.cart-item-sku {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 2px;
}
.cart-item-info h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
}
.cart-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.cart-item-option {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
    color: var(--text);
}
.cart-item-option .option-label {
    font-weight: 600;
    color: var(--text-light);
}
.cart-item-subtotal {
    font-size: 15px;
}
.cart-item-subtotal .cart-item-label {
    display: block;
    font-size: 10px;
}
.btn-remove {
    border: none;
    background: none;
    color: #dc3545;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    padding: 6px;
    line-height: 1;
}
.btn-remove:hover { transform: scale(1.2); }
.cart-qty .qty-btn {
    width: 32px; height: 32px;
    font-size: 14px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-summary {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 25px;
    position: sticky; top: 20px;
}
.cart-summary h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}
.summary-row.total {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}
.free-shipping-note {
    background: #e8f4fd;
    padding: 10px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ============================================================
   Checkout
   ============================================================ */
.checkout-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.checkout-form h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}
.payment-options .form-check {
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: var(--transition);
}
.payment-options .form-check:hover,
.payment-options .form-check:has(input:checked) {
    border-color: var(--primary);
    background: #f0f7ff;
}

.order-summary {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 25px;
    position: sticky; top: 20px;
}
.order-summary h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
}
.order-item {
    padding: 8px 0;
}
.order-item-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* ============================================================
   Auth Pages
   ============================================================ */
.auth-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.auth-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}
.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 25px;
}
.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.auth-footer p {
    margin-bottom: 5px;
    font-size: 14px;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #333;
    border: 1px solid #dadce0;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    color: #333;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}
.blog-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}
.blog-info {
    padding: 20px;
}
.blog-author {
    font-size: 13px;
    color: var(--text-light);
}
.blog-title {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.3;
}
.blog-title a {
    color: var(--dark);
}
.blog-title a:hover {
    color: var(--primary);
}
.blog-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}
.blog-read-more {
    font-weight: 600;
    font-size: 14px;
}
.blog-read-more i {
    transition: var(--transition);
}
.blog-read-more:hover i {
    transform: translateX(5px);
}

.blog-post-header {
    margin-bottom: 25px;
}
.blog-post-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}
.blog-post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}
.blog-post-content {
    line-height: 1.8;
    font-size: 16px;
}
.blog-post-content p {
    margin-bottom: 15px;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-info {
    padding: 0;
}
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-icon {
    width: 50px; height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-item h6 {
    font-weight: 700;
    margin-bottom: 2px;
}
.contact-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.contact-form-wrapper h4 {
    font-weight: 700;
    margin-bottom: 20px;
}

/* ============================================================
   Account
   ============================================================ */
.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px;
}
.account-user {
    text-align: center;
    margin-bottom: 20px;
}
.account-avatar {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 10px;
}
.account-nav {
    list-style: none;
    padding: 0;
}
.account-nav li a {
    display: block;
    padding: 10px 15px;
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}
.account-nav li a:hover,
.account-nav li a.active {
    background: var(--light);
    color: var(--primary);
}
.account-nav li a i {
    margin-right: 8px;
}

.account-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}
.tab-panel h4 {
    font-weight: 700;
    margin-bottom: 20px;
}

/* ============================================================
   About
   ============================================================ */
.about-stat {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
}
.about-stat h3 {
    font-size: 36px;
    font-weight: 800;
}
.about-stat p {
    color: var(--text-light);
    margin: 0;
}
.about-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}
.about-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.about-card-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}
.about-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}
.about-card p {
    color: var(--text-light);
    margin: 0;
}

/* ============================================================
   Empty State
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state i {
    font-size: 64px;
    color: var(--border);
    margin-bottom: 20px;
}
.empty-state h4 {
    font-weight: 700;
    margin-bottom: 10px;
}
.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination .page-link {
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 8px 14px;
    font-size: 14px;
}
.pagination .page-item.active .page-link {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}
.pagination .page-link:hover {
    background: var(--light);
    color: var(--primary-dark);
}

.btn-accent {
    background: var(--btn-action) !important;
    border-color: var(--btn-action) !important;
    color: #fff !important;
}
.btn-accent:hover {
    background: color-mix(in srgb, var(--btn-action), #000 20%) !important;
    border-color: color-mix(in srgb, var(--btn-action), #000 20%) !important;
    color: #fff !important;
}
.btn-accent.btn-outline-accent {
    background: transparent !important;
    color: var(--btn-action) !important;
}
.btn-accent.btn-outline-accent:hover {
    background: var(--btn-action) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .hero-overlay { display: none; }
    .hero-title { font-size: 32px; }
    .carousel-item { height: 400px; }
}

/* ============================================================
   PWA Install Banner
   ============================================================ */
.pwa-install-banner {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 99999;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.pwa-install-banner.show {
    bottom: 20px;
}
.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}
.pwa-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pwa-banner-icon i {
    font-size: 28px;
    color: #fff;
}
.pwa-banner-text {
    flex: 1;
    min-width: 0;
}
.pwa-banner-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.pwa-banner-text p {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.4;
}
.pwa-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pwa-features li {
    font-size: 11px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f0f7ff;
    padding: 3px 8px;
    border-radius: 20px;
}
.pwa-features li i {
    color: #007bff;
    font-size: 10px;
}
.pwa-banner-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-install {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-install:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}
.btn-install:active {
    transform: translateY(0);
}
.btn-dismiss {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.btn-dismiss:hover {
    color: #333;
}

@media (max-width: 480px) {
    .pwa-install-banner {
        width: 95%;
        bottom: -100%;
    }
    .pwa-install-banner.show {
        bottom: 10px;
    }
    .pwa-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
    .pwa-banner-actions {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .pwa-features {
        justify-content: center;
    }
    .btn-install {
        width: 100%;
        justify-content: center;
    }

}


/* ============================================================
   New Install Banner
   ============================================================ */

.install-banner {
  display: block;
  align-items: center;
  justify-content: space-between;
  padding: 2em 1em;
  /*background: linear-gradient(135deg, #2b1e70, #5a3bb3);*/
  background: linear-gradient(135deg, var(--primary), #0056b3);
  color: white;
  /*font-family: 'Poppins', sans-serif;*/
  flex-wrap: wrap;
  opacity: 0; /* inicial */
  transform: translateY(40px); /* inicial */
  transition: opacity 1s ease, transform 1s ease;
}

.install-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.pwa-text {
  max-width: 45%;
  min-width: 300px;
}

.pwa-text h1 {
  font-size: 2.8em;
  font-weight: 800;
  margin-bottom: 15px;
  }

.pwa-text h1 span {
  color: #00d4ff;
}

.pwa-text p {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.6;
}

#installBtn {
    display: block;
    position: relative;
  padding: 12px 28px;
  /*background: linear-gradient(180deg, #ff7b00, #ffb347);*/
  background: transparent;
  color: white;
  border: 1px solid #f3f1ef;
  border-radius: 8px;
  font-size: 1.5em;
  font-weight: 400;
  letter-spacing: 2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#installBtn:hover {
    font-weight: 500;
    border-color: #ff7b00;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.6);
}

.pwa-illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.phone {
  width: 260px;
  height: 490px;
  /*background: linear-gradient(180deg, #3b2a8a, #5a3bb3);*/
  background-position: center;
  border: 5px solid #000000c7;
  border-radius: 30px;
  padding: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.screen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.icon {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coreapp { 
    text-align: center;
    background: rgba(255, 255, 255, 0.247);
    padding: 12px 18px;
    border-radius: 16px;
    align-items: center;
    cursor: pointer;
}
.logo-coreapp {
  width: 60px; /* ajusta según tu diseño */
  height: auto;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5));
}
.logo-animated {
  width: 60px;
  height: auto;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5));
  animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo {
  0%   { transform: translateY(0) scale(1); filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5)); }
  50%  { transform: translateY(-8px) scale(1.05); filter: drop-shadow(0px 8px 12px rgba(0,0,0,0.6)); }
  100% { transform: translateY(0) scale(1); filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5)); }
}

.img1 { background: #00c8ff86 url('https://img.icons8.com/ios-filled/50/ffffff/image.png') no-repeat center; background-size: 40px; }
.img2 { background: #ff5b5b86 url('https://img.icons8.com/ios-filled/50/ffffff/image.png') no-repeat center; background-size: 40px; }
.gear { background: #ffb24786 url('https://img.icons8.com/ios-filled/50/ffffff/settings.png') no-repeat center; background-size: 40px; }
.lock { background: #00d5ff86 url('https://img.icons8.com/ios-filled/50/ffffff/lock.png') no-repeat center; background-size: 40px; }
.calendar { background: #c5dfd386 url('https://img.icons8.com/ios-filled/50/ffffff/calendar.png') no-repeat center; background-size: 40px; }
.search { background: #ff5b5b86 url('https://img.icons8.com/ios-filled/50/ffffff/search.png') no-repeat center; background-size: 40px; }

.os-icons {
  margin: 20px 0;
  margin-right: 8px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.os-icons img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1); /* fuerza monocromo blanco */
  transition: transform 0.2s ease;
}

.os-icons img:hover {
  transform: scale(1.1);
}

.os-group {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.os-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1); /* transparente */
  padding: 8px 12px;
  border-radius: 8px;
}

.os-name {
  font-size: 1em;
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .install-banner {
    flex-direction: column;
    text-align: center;
  }

  .pwa-text {
    max-width: 100%;
  }

  .pwa-text h1 {
    font-size: 2.2em;
  }

  .pwa-text p {
    font-size: 1em;
  }

  .pwa-illustration {
    margin-top: 40px;
  }

  .phone {
    width: 220px;
    height: 420px;
  }

  .icon {
    width: 80px;
    height: 80px;
  }
}

/* Mobile Header */
.header-mobile { display: none; background: #fff; padding: 10px 15px; border-bottom: 1px solid #dfdddd; }
.header-mobile-container { display: flex; align-items: center; justify-content: space-between; }
.header-mobile .logo img { height: 40px; }
.header-mobile .logo h1 { font-size: 18px; margin: 0; }
.header-icons { display: flex; align-items: center; gap: 10px; }
.header-icons .icon { position: relative; background: #f8f8f8; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.header-icons .icon i { color: #333; font-size: 18px; }
.header-icons .icon .badge { position: absolute; top: -5px; right: -5px; background: #e91e63; color: #fff; font-size: 11px; border-radius: 50%; padding: 2px 5px; min-width: 18px; text-align: center; }
.menu-toggle { background: #f8f8f8; border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle i { font-size: 18px; color: #333; }
@media (max-width: 768px) { .header-mobile { display: block; } .header { display: none; } }
@media (min-width: 769px) { .header-mobile { display: none !important; } }
/* Mobile Nav Panel */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9998; }
.mobile-nav-overlay.open { display: block; }
.mobile-nav-panel { position: fixed; top: 0; left: -350px; width: 350px; height: 100%; background: #fff; z-index: 9999; overflow-y: auto; transition: left 0.3s ease; box-shadow: 2px 0 8px rgba(0,0,0,0.15); }
.mobile-nav-panel.open { left: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid #eee; color: #181717;}
.mobile-nav-body { padding: 10px 0; }
.mobile-search { padding: 0 15px 15px; }
.mobile-account-links { padding: 10px 15px; }
.mobile-nav-link { display: block; padding: 10px 0; color: #1f1e1e; text-decoration: none; font-size: 17px; }
.mobile-nav-link i { margin-right: 8px; }
.mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav-list li { border-bottom: 1px solid #cdc9c9; }
.mobile-nav-list li a { display: block; padding: 12px 15px; color: #333; text-decoration: none; font-size: 17px; }
.mobile-nav-list li a:hover { background: #f8f8f8; }
.mobile-nav-list .dropdown-menu { display: none; position: static; border: none; box-shadow: none; padding-left: 15px; }
.mobile-nav-list .dropdown-menu.show { display: block; }
.mobile-nav-list .dropdown-toggle::after { float: right; margin-top: 8px; }
body.mobile-nav-locked { overflow: hidden; }
.mobile-nav-list .mobile-submenu { display: none; list-style: none; padding: 0; margin: 0; background: #f9f9f9; }
.mobile-nav-list li.show > .mobile-submenu,
.mobile-nav-list li.show > .dropdown-menu { display: block; }
.mobile-nav-list .mobile-submenu li a { padding-left: 30px; }
.mobile-nav-list .mobile-dropdown-toggle { display: block; padding: 12px 15px; color: #333; text-decoration: none; font-size: 14px; cursor: pointer; }
.mobile-nav-list .mobile-dropdown-toggle:hover { background: #f8f8f8; }
.mobile-nav-list .mobile-submenu .dropdown-divider { margin: 0; }


    --bs-btn-color: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0d6efd;
    --bs-btn-active-border-color: #0d6efd;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0d6efd;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-gradient: none;





/* ============================================================
   Animations
   ============================================================ */
   .bounce { animation: bounce 2s infinite; }
    @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
    }

    .bounceInLeft { animation: bounceInLeft 1.5s ease both;}
    @keyframes bounceInLeft {
    0% {
        opacity: 0;
        transform: translateX(-300px);
    }
    60% {
        opacity: 1;
        transform: translateX(25px);
    }
    80% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
    }



/* ============================================================
   Dark Mode
   ============================================================ */
body.dark-mode .page-header { 
    background: transparent; 
    border: none;
}
body.dark-mode .hero-content h1 { 
    color: #fff !important;
}
body.dark-mode .hero-content .btn-accent:hover { 
    background: var(--primary) !important; 
    color: #181818 !important;
}
body.dark-mode .product-actions .btn-actions { 
    color: #fff !important;
}
body.dark-mode .footer .footer-widget .footer-social .cart-float-btn:hover { 
    color: #fff !important;
}
body.dark-mode .whatsapp-btn:hover  {
    color: #fff !important;
}
body.dark-mode .navbar-toggler-icon {
    filter: invert(1);
}


