:root {
    --primary-blue: #0A2351;
    --accent-orange: #FF5A00;
    --text-dark: #333;
    --bg-light: #f4f6f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #0A2351 0%, #1a1a4e 50%, #0A2351 100%);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-bar strong {
    color: #FF5A00;
    font-weight: 800;
}

/* Header */
.header {
    background: linear-gradient(135deg, #0A2351 0%, #0f2d6b 60%, #1a0f40 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 3px solid #e90074;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #e90074, #FF5A00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(233, 0, 116, 0.5);
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.logo-container:hover .logo-icon {
    transform: rotate(0deg) scale(1.1);
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    color: white;
}

.logo-text h1 span {
    color: #e90074;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

/* Cart Icon */
.cart-icon {
    color: white;
    font-size: 18px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(20deg);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 18px 8px 14px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cart-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 500;
}

.cart-count {
    background: linear-gradient(135deg, #e90074, #FF5A00);
    color: white;
    font-size: 12px;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    align-self: flex-start;
}

/* Nav Bar */
.header-nav {
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 20px;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    border-bottom-color: #e90074;
    background: rgba(233, 0, 116, 0.08);
}

.nav-badge {
    background: linear-gradient(135deg, #FF5A00, #e90074);
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

/* Search */
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: white;
}

.action-btn span {
    font-size: 12px;
    font-weight: 600;
}

.discount-tag-elegant {
    background-color: #e60000;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(230, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.discount-tag-elegant:hover {
    transform: translateY(-2px);
}



/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 50px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.date-badge {
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.cyber-title,
.monday-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 0.9;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
}

.year-title {
    font-size: 90px;
    font-weight: 900;
    color: var(--accent-orange);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 0.9;
    margin-bottom: 20px;
}

.subtitle {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    line-height: 1.4;
    margin-bottom: 15px;
}

.hero-line {
    height: 4px;
    width: 100px;
    background-color: var(--accent-orange);
}

/* Categories */
.categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 50px;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.category-card {
    flex: 1;
    height: 160px;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
}

.tech-card {
    background: linear-gradient(135deg, #0076a8, #004d73);
}

.home-card {
    background: linear-gradient(135deg, #ff7a00, #cc4400);
}

.travel-card {
    background: linear-gradient(135deg, #0051e6, #002b80);
}

.card-content {
    z-index: 2;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.card-content .hasta {
    font-size: 14px;
}

.card-content .discount {
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
}

.card-content .de-descuento {
    font-size: 14px;
}

.category-card img {
    position: absolute;
    right: 30px;
    bottom: -10px;
    height: 120%;
    object-fit: cover;
    z-index: 1;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.arrow-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-blue);
    border: none;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .categories {
        flex-direction: column;
        margin-top: 20px;
    }
}

/* Flash Sale Section */
.flash-sale-section {
    padding: 40px 50px;
    max-width: 1800px;
    margin: 0 auto;
}

.flash-sale-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.flash-sale-title {
    color: #e6007e;
    font-size: 32px;
    font-weight: 500;
}

.flash-sale-title .pill {
    background-color: #e6007e;
    color: white;
    padding: 5px 20px;
    border-radius: 30px;
    font-weight: 700;
}

.countdown-timer {
    display: flex;
    gap: 5px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span:first-child {
    background-color: #e6007e;
    color: white;
    font-size: 36px;
    font-weight: 800;
    padding: 10px 15px;
    border-radius: 5px;
    min-width: 60px;
    text-align: center;
}

.time-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-weight: 500;
}

.flash-sale-subtitle {
    color: #e6007e;
    font-size: 32px;
    font-weight: 700;
}

/* Flash Sale Products */
.flash-sale-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}



.product-card {
    height: 380px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    border-radius: 15px;
}

.product-card.light-bg {
    color: #333;
}

.product-card.light-bg::before {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 60%);
}

.product-info {
    position: absolute;
    z-index: 2;
}

.top-left {
    top: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
    text-align: right;
}

.top-right {
    top: 20px;
    right: 20px;
}

.product-card h4 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 5px;
}

.highlight-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
}

.small-text {
    font-size: 12px;
    opacity: 0.9;
}

.discount-badge {
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 800;
    z-index: 2;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.discount-badge span {
    font-size: 10px;
    font-weight: 400;
}

.price-now {
    font-size: 24px;
    font-weight: 800;
}

.price-old {
    font-size: 14px;
    text-decoration: line-through;
    opacity: 0.7;
}

.text-white {
    color: white !important;
}

.coupon-badge {
    background-color: #e6007e;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .flash-sale-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Health Section */
.health-section {
    padding: 60px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.health-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary-blue);
}

.health-card:hover {
    transform: translateY(-10px);
}

.health-card .icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.health-card h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.health-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.health-card a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
}

.pharma {
    border-color: #00d2ff;
}

.dental {
    border-color: #3a7bd5;
}

.optical {
    border-color: #8e2de2;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, var(--primary-blue), #004d73);
    padding: 80px 50px;
    color: white;
    text-align: center;
    margin-top: 40px;
}

.info-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.info-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 5px;
    border-radius: 50px;
}

.subscribe-form input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    outline: none;
    font-size: 16px;
}

.subscribe-form button {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #e65000;
}

/* Footer */
.footer {
    background-color: #051636;
    color: white;
    padding: 60px 50px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column.brand h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-column.brand h2 span {
    color: #e60000;
}

.footer-column.brand p {
    opacity: 0.7;
    line-height: 1.6;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column ul li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Shoes Carousel Section */
.shoes-carousel-section {
    padding: 40px 50px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.shoes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #f4f6f9;
    padding-bottom: 15px;
}

.shoes-nav {
    display: flex;
    gap: 10px;
}

.shoes-nav button {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    color: var(--primary-blue);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shoes-nav button:hover {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    color: white;
}

.shoes-track-container {
    overflow: hidden;
}

.shoes-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.shoes-track::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.shoe-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
}

.shoe-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.shoe-image {
    width: 100%;
    height: 220px;
    background-color: transparent;
    border-radius: 12px 12px 0 0;
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shoe-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.shoe-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e60000;
    color: white;
    font-weight: 800;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
}

.shoe-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shoe-brand {
    color: #888;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.shoe-name {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
    height: 42px;
    overflow: hidden;
}

.shoe-rating {
    font-size: 12px;
    color: #ffb400;
}

.shoe-rating span {
    color: #888;
    margin-left: 5px;
}

.shoe-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.shoe-price-now {
    font-size: 24px;
    font-weight: 800;
    color: #e60000;
}

.shoe-price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.shoe-shipping {
    font-size: 12px;
    color: #555;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .subscribe-form {
        flex-direction: column;
        background: transparent;
    }

    .subscribe-form input {
        margin-bottom: 10px;
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    position: relative;
    cursor: pointer;
    background: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-btn:hover {
    background: var(--secondary-blue);
    transform: scale(1.05);
}

.cart-btn .cart-icon {
    font-size: 20px;
}

.cart-btn .cart-label {
    font-size: 14px;
    font-weight: 700;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-red);
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.add-to-cart-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-header h2 {
    font-size: 20px;
    color: var(--primary-blue);
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.close-cart-btn:hover {
    color: var(--primary-red);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: #999;
    margin-top: 50px;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--primary-red);
    font-weight: bold;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.2s;
}

.remove-item-btn:hover {
    color: var(--primary-red);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.qty-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px;
    font-size: 14px;
}


.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: #e67e00;
}

/* Mascot Widget */
.mascot-widget {
    position: fixed;
    bottom: 12%;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.mascot-img-container {
    position: absolute;
    /* Feet touch the top border of the box, body pokes above */
    bottom: 100%;
    right: -55px;
    z-index: 10;
    pointer-events: none;
}

.mascot-img {
    width: 100px;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

/* Real mascota.png image styles */
.mascota-real-img {
    width: 155px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
    animation: floatMascot 3s ease-in-out infinite;
    display: block;
}

.modal-mascota {
    width: 160px;
    margin-top: auto;
    position: absolute;
    right: -75px;
    top: -90px;
    animation: floatMascot 3s ease-in-out infinite;
}

/* Toast mascot image */
.toast-mascot {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
    margin-left: auto;
}

.mascot-sign {
    background: #09193b;
    color: white;
    padding: 25px;
    border-radius: 20px 20px 20px 0;
    width: 340px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 5px solid #ff5a00;
    z-index: 1;
    overflow: visible;
    /* Extra top padding to give room for the mascot peeking above */
    margin-top: 80px;
}

/* Bubble tail pointing UP toward mascot at top-right corner */
.mascot-sign::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 30px;
    border-width: 0 14px 20px 14px;
    border-style: solid;
    border-color: transparent transparent #ff5a00 transparent;
}


/* Promo iPhone Section */
.promo-iphone-section {
    max-width: 1400px;
    margin: 20px auto 40px;
    padding: 0 50px;
}

.promo-iphone-header {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #111;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    text-transform: uppercase;
}

.promo-iphone-header .hola {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: lowercase;
    line-height: 0.8;
}

.promo-iphone-header .dot {
    color: #8cc63f;
    font-weight: 800;
}

.promo-iphone-header .bipmarket-text {
    color: #8cc63f;
}

.promo-iphone-container {
    background: #f4f5f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    border-radius: 4px;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.promo-left {
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.promo-tag {
    background: #3b2326;
    color: #fff;
    font-size: 13px;
    letter-spacing: 5px;
    padding: 8px 15px;
    margin-bottom: 15px;
}

.promo-title {
    font-size: 42px;
    font-weight: 700;
    color: #3b2326;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.promo-subtitle {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111;
}

.promo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pro-bg-text {
    font-size: 200px;
    font-weight: 900;
    background: linear-gradient(180deg, #fff 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    letter-spacing: -10px;
    z-index: 1;
    filter: drop-shadow(5px 15px 15px rgba(0, 0, 0, 0.15));
}

.iphone-img {
    position: relative;
    z-index: 2;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(-10px 15px 15px rgba(0, 0, 0, 0.4));
    mix-blend-mode: multiply;
    cursor: pointer;
    transition: transform 0.3s;
}

.iphone-img:hover {
    transform: scale(1.05) translateY(-5px);
}

.promo-right {
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-installments {
    background: #39b54a;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    padding: 12px 25px;
    margin-bottom: 10px;
}

.promo-disclaimer {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

/* Fashion Section */
.fashion-section {
    padding: 40px 50px;
    max-width: 1600px;
    margin: 0 auto;
    background: #fff;
}

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

.fashion-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s;
}

.fashion-card:hover {
    transform: translateY(-3px);
}

.fashion-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #f4f4f4;
    position: relative;
}

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

.tech-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    border-radius: 12px;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.fashion-info {
    padding: 15px 5px;
    text-align: left;
}

.fashion-brand {
    font-size: 13px;
    color: #444;
    margin-bottom: 5px;
    line-height: 1.4;
}

.fashion-rating {
    margin-bottom: 8px;
}

.fashion-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.fashion-now {
    font-size: 18px;
    font-weight: 800;
    color: #111;
}

.fashion-discount-badge {
    background: #e60023;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
}

.fashion-old {
    font-size: 12px;
    color: #888;
    text-decoration: line-through;
    margin-bottom: 10px;
}

.fashion-shipping {
    font-size: 11px;
    color: #555;
}

.fashion-plus {
    background: #111;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    border-left: 2px solid #c5ff00;
    font-size: 10px;
    font-weight: 600;
}

/* Trust Badges */
.trust-badges-section {
    max-width: 1600px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 50px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #8cc63f;
    transition: transform 0.2s;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 40px;
}

.trust-text h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
}

.trust-text p {
    color: #666;
    font-size: 14px;
}

/* Brands Section */
.brands-section {
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 50px;
    text-align: center;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
    opacity: 0.6;
}

.brand-logo {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s;
    cursor: pointer;
}

.brand-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes floatMascot {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


.close-mascot {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.close-mascot:hover {
    opacity: 1;
}

.mascot-sign h3 {
    margin: 0 0 10px 0;
    color: #ff5a00;
    font-size: 24px;
}

.mascot-sign p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mascot-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mascot-form input {
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 16px;
}

.mascot-form button {
    background: #ff5a00;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.mascot-form button:hover {
    background: #e67e00;
    transform: translateY(-2px);
}

/* Tech Specs Modal */
.tech-specs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}

.tech-specs-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tech-specs-modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.tech-specs-overlay.active .tech-specs-modal {
    transform: translateY(0);
}

.close-specs-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.close-specs-btn:hover {
    color: #e60023;
}

.specs-modal-header {
    display: flex;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
    gap: 20px;
}

.specs-modal-header img {
    height: 100px;
    object-fit: contain;
}

.specs-modal-header h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 5px;
}

.specs-sku {
    color: #888;
    font-size: 12px;
    margin-bottom: 10px;
}

.specs-price {
    font-size: 24px;
    font-weight: 800;
    color: #e6007e;
}

.specs-content {
    padding: 20px 30px;
}

.specs-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

.specs-table th {
    color: #555;
    font-weight: 600;
    width: 35%;
    background: #f9f9f9;
}

.specs-table td {
    color: #333;
}

.specs-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.mascot-modal-addon {
    position: absolute;
    right: calc(50% + 330px);
    top: 40%;
    transform: translateY(-50%) translateX(-50px);
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 15px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10001;
}

.tech-specs-overlay.active .mascot-modal-addon {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    transition-delay: 0.3s;
}

@media (max-width: 900px) {}
}

/* =========================================
   NEW FEATURES CSS (CREDIBILITY, URGENCY, POWER)
========================================= */

/* Dark Mode Variables */
:root {
    --bg-color: #f5f5f5;
    --text-main: #333;
    --text-muted: #666;
    --card-bg: #fff;
    --header-bg: #0f254f;
    --footer-bg: #0f254f;
}

body.dark-mode {
    --bg-color: #121212;
    --text-main: #e0e0e0;
    --text-muted: #aaa;
    --card-bg: #1e1e1e;
    --header-bg: #0a1930;
    --footer-bg: #0a1930;
    background-color: var(--bg-color);
    color: var(--text-main);
}

body.dark-mode .product-card,
body.dark-mode .shoe-card,
body.dark-mode .tech-card,
body.dark-mode .fashion-card,
body.dark-mode .category-card {
    background: var(--card-bg);
    border-color: #333;
}

body.dark-mode .product-card h3,
body.dark-mode .tech-name,
body.dark-mode .shoe-name,
body.dark-mode .fashion-brand,
body.dark-mode .testimonial-card p {
    color: var(--text-main) !important;
}

body.dark-mode .product-price,
body.dark-mode .tech-now,
body.dark-mode .shoe-price-now,
body.dark-mode .fashion-now {
    color: #fff !important;
}

/* Header Search & Theme Btn */
.header-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 15px;
    margin: 0 20px;
    flex-grow: 1;
    max-width: 400px;
}

.header-search input {
    background: none;
    border: none;
    color: white;
    outline: none;
    width: 100%;
}

.header-search input::placeholder {
    color: #ccc;
}

.header-search button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.theme-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    margin-right: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.theme-btn:hover {
    color: #c5ff00;
}

/* Flash Sale Countdown Banner */
.flash-sale-banner {
    background: #e60023;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 5px;
}

.flash-text {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.time-box {
    background: #000;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3px 6px;
    min-width: 60px;
}

.time-box-inner {
    background: #e90074;
    color: #fff;
    width: 100%;
    border-radius: 4px;
    padding: 8px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.time-box-inner span {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.time-box small,
.time-box .time-label {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    margin-top: 4px;
    text-transform: uppercase;
}

.time-colon {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin: 0 2px;
}

/* Testimonials */
.testimonials-section {
    padding: 50px 20px;
    background: var(--bg-color);
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--text-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-card .stars {
    color: #fbc02d;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--text-main);
    font-size: 14px;
}

/* Professional Footer */
.site-footer {
    background: var(--footer-bg);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-brand h2 span {
    color: #c5ff00;
}

.footer-brand p {
    font-size: 13px;
    color: #ccc;
    margin: 15px 0;
}

.social-icons {
    font-size: 20px;
    gap: 15px;
    display: flex;
}

.social-icons i {
    cursor: pointer;
    transition: color 0.2s;
}

.social-icons i:hover {
    color: #c5ff00;
}

.footer-links h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.trust-badges {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

.trust-badges i {
    color: #4CAF50;
    width: 20px;
}

.payment-icons {
    font-size: 30px;
    display: flex;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #888;
}

/* Checkout Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    /* Higher than mascot widget and everything else */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: #e60023;
}

.checkout-content {
    background: var(--card-bg);
    width: 900px;
    max-width: 95%;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    color: var(--text-main);
}

.checkout-content h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.checkout-steps {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.checkout-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: var(--bg-color);
    color: var(--text-main);
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.payment-method {
    flex: 1;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

.payment-method.selected {
    border-color: #0f254f;
    background: rgba(15, 37, 79, 0.05);
    font-weight: bold;
}

.card-details {
    display: flex;
    gap: 10px;
}

.pay-btn {
    width: 100%;
    padding: 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.pay-btn:hover {
    background: #45a049;
}

.checkout-summary {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
}

.chk-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.chk-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    border-top: 2px solid #ccc;
    padding-top: 15px;
}

/* Live Notifications Container */
#live-notifications-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.live-toast {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-color) 100%);
    color: var(--text-main);
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    gap: 18px;
    animation: slideInLeft 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, fadeOut 0.5s ease-in 6.5s forwards;
    width: 340px;
    border-left: 6px solid #4CAF50;
    position: relative;
}

.live-toast img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.live-toast-text p {
    margin: 3px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-muted);
}

.live-toast-text strong {
    font-size: 15px;
    font-weight: 800;
}

.live-toast-time {
    font-size: 11px;
    color: #4CAF50;
    font-weight: 700;
    margin-top: 5px;
    display: block;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* 1. Search Suggestions */
.header-search {
    position: relative;
    flex: 1;
    max-width: 560px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 5px 5px 5px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header-search:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: #e90074;
    box-shadow: 0 0 0 3px rgba(233, 0, 116, 0.2);
}

.search-icon-left {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}

.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 8px 5px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.header-search button {
    background: linear-gradient(135deg, #e90074, #FF5A00);
    border: none;
    cursor: pointer;
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 25px;
    transition: all 0.3s;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.header-search button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(233, 0, 116, 0.4);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #0f2d6b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.search-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.search-suggestions li {
    padding: 12px 18px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.search-suggestions li:hover {
    background: rgba(233, 0, 116, 0.2);
}

.search-suggestions li i {
    margin-right: 12px;
    color: rgba(255, 255, 255, 0.4);
    width: 14px;
}

.search-suggestions li .fa-fire {
    color: #FF5A00;
}




/* 4. Recently Viewed */
.recently-viewed {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 40px auto;
    background: var(--card-bg);
    border-radius: 12px;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.2s;
}

.recent-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.recent-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.recent-info p {
    margin: 0 0 5px;
    font-size: 12px;
    color: var(--text-main);
    line-height: 1.2;
}

.recent-info strong {
    font-size: 14px;
    color: #e90074;
}

/* Ensure SweetAlert2 Phishing Modal is always on top of product specs overlay and all other modals */
.swal2-container {
    z-index: 9999999 !important;
}

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
========================================= */
@media (max-width: 768px) {
    /* Header */
    .header-container {
        padding: 10px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-search {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 8px 0 0 0;
    }

    .cart-btn .cart-label {
        display: none;
    }

    .cart-btn {
        padding: 8px 14px;
    }

    .theme-btn {
        margin-right: 5px;
    }

    .header-nav {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 15px;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .header-nav::-webkit-scrollbar {
        display: none;
    }

    /* Top Bar & Banners */
    .top-bar {
        font-size: 11px;
        padding: 6px 10px;
        line-height: 1.3;
    }

    .flash-sale-banner {
        flex-direction: column;
        gap: 8px;
        padding: 10px 15px;
    }

    .flash-text {
        font-size: 13px;
    }

    .countdown-timer {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .time-box {
        min-width: 45px;
        padding: 2px 4px;
    }

    .time-box-inner span {
        font-size: 18px;
    }

    /* Hero & Categories */
    .hero {
        padding: 30px 15px;
        min-height: auto;
        text-align: center;
    }

    .cyber-title, .monday-title, .year-title {
        font-size: 32px;
    }

    .categories {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 15px;
    }

    .category-card {
        height: auto;
        min-height: 150px;
        padding: 20px;
    }

    /* Promo iPhone */
    .promo-iphone-section {
        padding: 20px 15px;
    }

    .promo-iphone-container {
        flex-direction: column;
        height: auto;
        padding: 20px 15px;
        gap: 15px;
        text-align: center;
    }

    .promo-left, .promo-right {
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .promo-title {
        font-size: 28px;
        justify-content: center;
    }

    .promo-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin: 10px 0;
    }

    .iphone-img {
        height: 180px;
    }

    .pro-bg-text {
        font-size: 90px;
        letter-spacing: -4px;
    }

    /* Product Grids */
    .flash-sale-products, .fashion-grid, .tech-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 15px 10px !important;
    }

    .shoes-carousel-section, .fashion-section, .tech-section {
        padding: 20px 15px;
    }

    /* Mascot Widget on Mobile */
    .mascot-widget {
        position: fixed;
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: calc(100vw - 20px);
        z-index: 9999;
    }

    .mascot-sign {
        padding: 15px 15px 12px;
        border-radius: 14px;
        width: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .mascot-sign h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .mascot-sign p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .mascot-form input {
        padding: 10px;
        font-size: 13px;
    }

    .mascot-form button {
        padding: 10px;
        font-size: 14px;
    }

    .mascot-img-container {
        display: block !important;
        position: absolute;
        bottom: calc(100% - 22px);
        right: 15px;
        z-index: 10;
        pointer-events: none;
    }

    .mascota-real-img {
        width: 95px !important;
        height: auto;
    }

    /* Specs Overlay & Mascot Modal Addon */
    .tech-specs-modal {
        width: 95%;
        max-height: 85vh;
        margin: auto;
    }

    .mascot-modal-addon {
        position: static;
        transform: none !important;
        width: 100%;
        margin-bottom: 15px;
        opacity: 1;
    }

    /* SweetAlert Phishing Alert Responsiveness */
    .swal2-popup.responsive-phishing-swal {
        width: 95% !important;
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .swal2-html-container img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .flash-sale-products, .fashion-grid, .tech-grid {
        grid-template-columns: 1fr !important;
    }

    .logo-text p {
        display: none;
    }

    .logo-text h1 {
        font-size: 20px;
    }
}