
.focus-highlight {
    animation: checkoutPulse 1.1s ease;
    border-radius: 0.75rem;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

@keyframes checkoutPulse {
    0% {
        box-shadow: 0 0 0 0.75rem rgba(13, 110, 253, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}
/* ========================================
   ESHARD Store - Custom Styles
   ======================================== */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --landing-dark: #05070f;
    --landing-panel: #0f1729;
    --landing-panel-strong: #141d32;
    --landing-ink: #e2e8f0;
    --landing-muted: #9aa7bf;
    --landing-accent: #36c1ff;
    --landing-accent-2: #ff6b2c;
}

/* ========== General ========== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ========== Landing Mockup ========== */
.landing-wrapper {
    background: radial-gradient(circle at 10% 20%, rgba(54, 193, 255, 0.25), transparent 55%),
                radial-gradient(circle at 90% 0%, rgba(255, 107, 44, 0.25), transparent 50%),
                linear-gradient(135deg, #04060f 0%, #060913 60%, #020305 100%);
    color: var(--landing-ink);
}

.landing-wrapper a {
    color: inherit;
}

.landing-wrapper .container {
    position: relative;
    z-index: 1;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: clamp(1.5rem, 3vw, 3rem);
    backdrop-filter: blur(20px);
}

.hero-cluster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: stretch;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--landing-muted);
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin: 1rem 0;
    letter-spacing: 0.05em;
}

.hero-description {
    color: var(--landing-muted);
    font-size: 1.05rem;
}

.hero-actions .btn {
    border-radius: 999px;
    padding: 0.65rem 1.75rem;
    font-weight: 600;
}

.hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--landing-ink);
}

.hero-meta {
    font-size: 0.9rem;
    color: var(--landing-muted);
}

.hero-meta i {
    color: var(--landing-accent);
    margin-right: 0.35rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image-frame {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(54, 193, 255, 0.2), rgba(20, 29, 50, 0.8));
    padding: 1rem;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frame img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.placeholder-gradient {
    width: 100%;
    height: 220px;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(54, 193, 255, 0.5), rgba(255, 107, 44, 0.5));
    opacity: 0.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    border-radius: 20px;
    padding: 1.2rem;
}

.hero-stats span {
    font-size: 0.8rem;
    color: var(--landing-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-stats strong {
    display: block;
    font-size: 1.15rem;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chip-pill.passive {
    color: var(--landing-muted);
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--landing-accent);
    display: inline-block;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.spotlight-card h3 {
    margin: 0.5rem 0;
}

.spotlight-card p {
    color: var(--landing-muted);
    margin-bottom: 1rem;
}

.spotlight-link {
    font-weight: 600;
    text-decoration: none;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.insight-card i {
    font-size: 1.75rem;
    color: var(--landing-accent);
}

.insight-card h4 {
    margin: 0.75rem 0 0.35rem;
}

.insight-card p {
    color: var(--landing-muted);
}

.product-showcase .eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--landing-muted);
    font-size: 0.75rem;
}

.product-showcase .section-title {
    margin: 0;
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.landing-wrapper .product-card {
    background: var(--landing-panel);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    color: var(--landing-ink);
    overflow: hidden;
}

.landing-wrapper .product-thumb {
    border-radius: 18px;
    overflow: hidden;
    display: block;
    margin: 0.5rem 0;
}

.landing-wrapper .product-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.landing-wrapper .product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.landing-wrapper .product-card h5 {
    margin-bottom: 0.5rem;
}

.landing-wrapper .product-card .product-copy {
    color: var(--landing-muted);
    font-size: 0.9rem;
}

.landing-wrapper .product-card .label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.landing-wrapper .product-card .stock-alert {
    color: var(--landing-accent-2);
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.assurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.assurance-card i {
    font-size: 1.8rem;
    color: var(--landing-accent);
}

.assurance-card p {
    color: var(--landing-muted);
}

.badge-soft {
    display: inline-flex;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--landing-accent);
}

/* ========== Navbar ========== */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-brand .brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

@media (min-width: 992px) {
    .navbar-brand .brand-logo {
        height: 70px;
    }
}

.nav-gallery {
    background: linear-gradient(135deg, rgba(5, 8, 18, 0.98) 0%, rgba(9, 15, 32, 0.97) 55%, rgba(5, 9, 18, 0.99) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--landing-ink);
    padding: 2.2rem 0;
}

.nav-gallery .container {
    padding: 0 1rem;
}

.nav-gallery-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-gallery-carousel .carousel-inner {
    border-radius: 28px;
    background: rgba(11, 16, 30, 0.85);
    border: 1px solid rgba(54, 193, 255, 0.08);
    padding: 0.5rem;
}

.nav-gallery-carousel .carousel-item {
    padding: 0.35rem;
}

.nav-gallery-card {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 26px;
    overflow: hidden;
    min-height: 240px;
    width: min(100%, 1040px);
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.nav-gallery-media {
    display: block;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.nav-gallery-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-gallery-card:hover,
.nav-gallery-card:focus-visible {
    border-color: rgba(54, 193, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
    outline: none;
}

.nav-gallery-control {
    width: 3rem;
    height: 3rem;
    top: 50%;
    transform: translateY(-50%);
}

.nav-gallery-control .carousel-control-prev-icon,
.nav-gallery-control .carousel-control-next-icon {
    filter: invert(1) drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}

@media (max-width: 991.98px) {
    .nav-gallery {
        padding: 1.6rem 0;
    }

    .nav-gallery .container {
        padding: 0;
    }

    .nav-gallery-carousel {
        padding: 0 0.5rem;
    }

    .nav-gallery-carousel .carousel-inner {
        border-radius: 20px;
        padding: 0.25rem;
    }

    .nav-gallery-card {
        border-radius: 18px;
        width: 100%;
        min-height: 220px;
    }

    .nav-gallery-control {
        display: none;
    }
}

.tracking-wide {
    letter-spacing: 0.25em;
}

.mega-dropdown .dropdown-menu {
    min-width: min(90vw, 760px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--landing-panel-strong);
    color: var(--landing-ink);
}

.menu-category-list {
    max-height: 320px;
    overflow-y: auto;
    border-radius: 18px;
}

.menu-category-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--landing-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    border-radius: 14px;
}

.menu-category-btn.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.menu-category-btn i {
    color: var(--landing-muted);
    transition: transform 0.2s ease;
}

.menu-category-btn.active i {
    transform: translateX(4px);
    color: var(--landing-accent);
}

.subcat-panel {
    display: none;
}

.subcat-panel.active {
    display: block;
}

.subcat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.65rem 0.9rem;
    color: var(--landing-ink);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.subcat-link:hover {
    border-color: var(--landing-accent);
    color: var(--landing-accent);
    transform: translateY(-2px);
}

.subcat-link i {
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .mega-dropdown .dropdown-menu {
        min-width: 100%;
    }
    
    .menu-category-list {
        max-height: 200px;
    }
}

/* ========== Carrusel ========== */
.carousel-img {
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
}

.bg-dark-overlay {
    background: rgba(0, 0, 0, 0.7) !important;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* ========== Cards ========== */
.card {
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* ========== Tarjetas de Categoría ========== */
.category-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: white !important;
}

.category-card:hover .card-title,
.category-card:hover .card-text {
    color: white !important;
}

.category-card:hover i {
    color: white !important;
}

/* ========== Tarjetas de Producto ========== */
.product-card {
    overflow: hidden;
}

.product-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.btn-add-cart {
    transition: all 0.3s ease;
}

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

/* ========== Página de Producto ========== */
.product-gallery .main-image img {
    max-height: 500px;
    object-fit: contain;
    width: 100%;
}

.thumbnail-img {
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.price-section {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.product-action-row {
    flex-wrap: nowrap;
}

.product-action-row .btn {
    height: 52px;
}

.quantity-control {
    display: inline-flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.quantity-btn {
    flex: 0 0 48px;
    height: 48px;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.quantity-btn:focus,
.quantity-btn:active {
    box-shadow: none !important;
}

.quantity-input {
    width: 70px;
    border: none;
    font-weight: 600;
    box-shadow: none !important;
}

.quantity-input:focus {
    border: none;
    box-shadow: none;
}

/* ========== Características ========== */
.feature-box {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.feature-box:hover {
    background-color: var(--light-bg);
    transform: translateY(-5px);
}

/* ========== Carrito ========== */
.cart-item {
    transition: background-color 0.3s ease;
}

.cart-item:hover {
    background-color: var(--light-bg);
}

.cart-quantity {
    max-width: 80px;
}

/* ========== Badges ========== */
.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

/* ========== Botones ========== */
.btn {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========== Footer ========== */
footer {
    margin-top: auto;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    background-color: var(--light-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

/* ========== List Group ========== */
.list-group-item {
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    border-left-color: var(--primary-color);
    background-color: var(--light-bg);
}

.list-group-item.active {
    border-left-color: var(--primary-color);
    background-color: var(--primary-color);
}

/* ========== Search Bar ========== */
.input-group .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ========== Animaciones ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ========== Servicios ========== */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card-link .glass-panel {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card-link:hover .glass-panel {
    transform: translateY(-6px);
    border-color: rgba(54, 193, 255, 0.35);
    box-shadow: 0 15px 40px rgba(5, 7, 15, 0.35);
}

.service-thumb {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at 30% 20%, rgba(54, 193, 255, 0.25), transparent 65%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 44, 0.25), transparent 60%),
                rgba(255, 255, 255, 0.02);
    padding: 1rem;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 0;
    aspect-ratio: 1 / 1;
    position: relative;
    perspective: 800px;
    box-shadow: inset 0 0 15px rgba(5, 8, 15, 0.35);
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    transform: rotateX(6deg) rotateY(-6deg) translateZ(12px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card-link:hover .service-thumb img {
    transform: rotateX(0deg) rotateY(0deg) translateZ(0);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.repair-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
}

.repair-card i {
    color: var(--landing-accent);
}

.repair-card li {
    font-size: 0.95rem;
}

/* ========== Loading Spinner ========== */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-overlay.show {
    display: flex;
}

/* ========== Toast Notifications ========== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .product-img {
        height: 200px;
    }

    .landing-wrapper .product-thumb img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .btn {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }
    
    .product-img {
        height: 180px;
    }

    .landing-wrapper .glass-panel {
        padding: 1.25rem;
    }
    
    .landing-wrapper .product-thumb img {
        height: 180px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ========== Utilidades ========== */
.cursor-pointer {
    cursor: pointer;
}

.shadow-custom {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.text-light-emphasis {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-light-emphasis:hover {
    color: rgba(255, 255, 255, 1) !important;
}
