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

body {
    font-family: 'Inter', sans-serif;
    background: #f7fafc;
    color: #1a202c;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: #052C50;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left a,
.top-bar-right a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-left a:hover,
.top-bar-right a:hover {
    color: #1EB2F5;
}

.top-bar-left a.active {
    color: #1EB2F5;
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.logo {
    flex: 0 0 auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #052C50;
    text-decoration: none;
    font-style: italic;
    letter-spacing: -0.5px;
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
}

.location-selector i {
    color: #D758D1;
}

.change-location {
    background: none;
    border: none;
    color: #1EB2F5;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

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

.search-box {
    display: flex;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 10px 15px;
    width: 200px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    background: #1EB2F5;
    border: none;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
}

.cart-icon {
    position: relative;
    color: #4a5568;
    font-size: 22px;
    text-decoration: none;
    cursor: pointer;
}

.cart-icon:hover {
    color: #1EB2F5;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #D758D1;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    gap: 25px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
}

.nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #1EB2F5;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(90deg, #D758D1, #1EB2F5);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
}

.urgency-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.countdown {
    font-weight: 700;
    font-size: 15px;
    background: rgba(0,0,0,0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Product Detail */
.product-detail {
    padding: 40px 0;
}

.product-back a {
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 30px;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-gallery {
    text-align: center;
}

.product-gallery img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.product-info h2 {
    font-size: 28px;
    color: #052C50;
    margin-bottom: 10px;
}

.product-rating {
    color: #f6ad55;
    margin-bottom: 20px;
    font-size: 14px;
}

.product-rating span {
    color: #4a5568;
    margin-left: 5px;
}

.product-price {
    font-size: 32px;
    color: #1EB2F5;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-installments {
    color: #38a169;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-specs {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #4a5568;
}

.spec-item i {
    color: #38a169;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.btn-add-cart,
.btn-buy-now {
    flex: 1;
    padding: 14px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-add-cart {
    background: #f7fafc;
    color: #052C50;
    border: 2px solid #e2e8f0;
}

.btn-add-cart:hover {
    border-color: #1EB2F5;
    color: #1EB2F5;
}

.btn-buy-now {
    background: #1EB2F5;
    color: white;
}

.btn-buy-now:hover {
    background: #0d94d4;
}

/* Offers Section */
.offers {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #052C50;
    margin-bottom: 10px;
}

.section-title p {
    color: #4a5568;
    font-size: 16px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.offer-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #D758D1;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.offer-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.offer-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.offer-content {
    padding: 20px;
}

.offer-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #052C50;
    line-height: 1.3;
}

.offer-price {
    font-size: 22px;
    color: #1EB2F5;
    font-weight: 700;
    margin-bottom: 5px;
}

.offer-original {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 13px;
    margin-left: 8px;
}

.offer-installments {
    color: #38a169;
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.offer-btn {
    width: 100%;
    background: #052C50;
    color: white;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.offer-btn:hover {
    background: #1EB2F5;
}

/* Recargas Section */
.recargas {
    padding: 60px 0;
    background: white;
}

.recarga-card {
    max-width: 500px;
    margin: 0 auto;
    background: #f7fafc;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.recarga-icon {
    font-size: 48px;
    color: #1EB2F5;
    margin-bottom: 20px;
}

.recarga-card h3 {
    font-size: 22px;
    color: #052C50;
    margin-bottom: 8px;
}

.recarga-desc {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 20px;
}

.recarga-btn {
    width: 100%;
    padding: 14px;
    background: #1EB2F5;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recarga-btn:hover {
    background: #0d94d4;
}

.recarga-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.recarga-amount {
    padding: 10px 6px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #052C50;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.recarga-amount:hover {
    border-color: #1EB2F5;
}

.recarga-amount:focus-visible {
    outline: 2px solid #1EB2F5;
    outline-offset: 2px;
}

.recarga-amount.is-selected {
    border-color: #1EB2F5;
    background: rgba(30, 178, 245, 0.12);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

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

.cart-header h3 {
    font-size: 18px;
    color: #052C50;
}

.cart-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #4a5568;
    cursor: pointer;
}

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

.cart-empty {
    text-align: center;
    color: #4a5568;
    padding: 40px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1EB2F5;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #052C50;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 16px;
    color: #1EB2F5;
    font-weight: 700;
}

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

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #052C50;
}

.cart-checkout {
    width: 100%;
    padding: 14px;
    background: #1EB2F5;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Checkout Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 35px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #a0aec0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: #f7fafc;
}

.modal h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #052C50;
}

.modal-subtitle {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 20px;
}

.order-summary {
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.summary-title {
    font-weight: 600;
}

.summary-price {
    color: #1EB2F5;
    font-size: 20px;
    font-weight: 700;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #1EB2F5;
}

.error-msg {
    display: block;
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    min-height: 14px;
}

.checkout-error {
    display: none;
    background: #fff5f5;
    border: 1px solid #f6c2c2;
    color: #e53e3e;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.payment-section {
    background: #f7fafc;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.payment-section h4 {
    margin-bottom: 15px;
    color: #052C50;
    font-size: 16px;
}

.payment-method {
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-method.active {
    border-color: #1EB2F5;
    background: rgba(30,178,245,0.1);
}

.card-type {
    display: inline-block;
    padding: 3px 8px;
    background: #f7fafc;
    border-radius: 4px;
    font-size: 12px;
    color: #4a5568;
    margin-bottom: 15px;
}

.submit-btn {
    width: 100%;
    background: #1EB2F5;
    color: white;
    padding: 14px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #0d94d4;
}

.secure-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #4a5568;
    font-size: 13px;
}

.secure-icon i {
    color: #48bb78;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading i {
    font-size: 40px;
    color: #1EB2F5;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Email Capture Overlay */
.email-capture-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 44, 80, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.email-capture-card {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s ease;
}

.email-capture-header {
    margin-bottom: 32px;
}

.email-capture-header .logo-text {
    color: #D758D1;
    font-size: 32px;
    font-weight: 700;
}

.email-capture-content h2 {
    color: #052C50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.email-capture-content p {
    color: #4A5568;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.email-capture-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.email-capture-form input {
    padding: 16px 20px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s;
}

.email-capture-form input:focus {
    outline: none;
    border-color: #1EB2F5;
    box-shadow: 0 0 0 4px rgba(30, 178, 245, 0.15);
}

.email-capture-btn {
    padding: 16px;
    background: linear-gradient(135deg, #D758D1, #1EB2F5);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.email-capture-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215, 88, 209, 0.3);
}

.email-capture-note {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    color: #A0AEC0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Footer */
.footer {
    background: #052C50;
    color: white;
    padding: 50px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #1EB2F5;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
}

.footer-logo .logo-text {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #1EB2F5;
}

.footer-note {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* Utilidades */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

section[id] {
    scroll-margin-top: 110px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 3px solid #1EB2F5;
    outline-offset: 2px;
}

.search-empty {
    text-align: center;
    color: #4a5568;
    font-size: 16px;
    padding: 30px 0 0;
}

/* Accesorios Section */
.accesorios {
    padding: 60px 0;
    background: white;
}

/* Recarga Gratis Promo */
.recarga-promo {
    max-width: 500px;
    margin: 30px auto 0;
    background: linear-gradient(135deg, #052C50, #0d4d7d);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: white;
    position: relative;
}

.recarga-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #D758D1;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.recarga-promo h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.recarga-promo p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin-bottom: 22px;
}

.recarga-promo-btn {
    padding: 14px 32px;
    background: #1EB2F5;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recarga-promo-btn:hover {
    background: #1096cf;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,178,245,0.35);
}

/* Planes Section */
.planes {
    padding: 60px 0;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.plan-card.popular {
    border-color: #1EB2F5;
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #1EB2F5;
    color: white;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #052C50;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 34px;
    font-weight: 700;
    color: #1EB2F5;
    margin-bottom: 10px;
}

.plan-period {
    font-size: 15px;
    font-weight: 500;
    color: #4a5568;
}

.plan-offer-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #D758D1;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.plan-offer-row {
    margin-bottom: 15px;
}

.plan-original {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 14px;
    margin-right: 8px;
}

.plan-offer-note {
    color: #38a169;
    font-size: 12px;
    font-weight: 600;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 12px;
}

.plan-features i {
    color: #38a169;
}

.plan-btn {
    width: 100%;
    padding: 14px;
    background: #052C50;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-btn:hover {
    background: #1EB2F5;
}

/* Resumen de precio (modal) */
.summary-original {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 14px;
    font-weight: 500;
}

.summary-free {
    color: #38a169;
    font-size: 22px;
    font-weight: 700;
}

/* Carrito: quitar item */
.cart-item {
    align-items: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.cart-item-remove:hover {
    color: #e53e3e;
    background: rgba(229,62,62,0.08);
}

/* Success view (modal) */
.success-view {
    text-align: center;
    padding: 30px 0 10px;
}

.success-check {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #48bb78;
    color: white;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.4s ease;
}

.success-view h3 {
    font-size: 22px;
    color: #052C50;
    margin-bottom: 10px;
}

.success-view p {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 20px;
}

.success-order {
    display: inline-block;
    background: #f7fafc;
    border: 1px dashed #cbd5e0;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: #052C50;
    margin-bottom: 25px;
    font-size: 15px;
}

.success-btn {
    width: 100%;
    padding: 14px;
    background: #1EB2F5;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.success-btn:hover {
    background: #0d94d4;
}

/* Email Capture Overlay: cierre animado */
.email-capture-overlay {
    transition: opacity 0.35s ease;
}

.email-capture-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Top bar: compacta para celular */
    .top-bar {
        font-size: 12px;
        padding: 6px 0;
    }

    .top-bar .container {
        flex-wrap: wrap;
        gap: 4px;
    }

    .top-bar-left {
        gap: 12px;
    }

    .top-bar-right {
        gap: 10px;
    }

    /* Header: search ocupa el ancho completo en su propia fila */
    .header-content {
        flex-wrap: wrap;
        row-gap: 8px;
        padding: 10px 0;
    }

    .logo-text {
        font-size: 22px;
    }

    .location-selector {
        font-size: 12px;
    }

    .header-actions {
        order: 3;
        flex: 1 1 100%;
        gap: 12px;
    }

    .search-box {
        flex: 1;
        min-width: 0;
        border-radius: 22px;
    }

    .search-box input {
        flex: 1;
        width: auto;
        min-width: 0;
        padding: 9px 12px;
    }

    .search-box button {
        flex: 0 0 auto;
        padding: 9px 12px;
    }

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

    /* Nav: scroll horizontal (evita colapsar en celular) */
    .nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        padding: 10px 0 12px;
    }

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

    .nav a {
        white-space: nowrap;
        font-size: 13px;
        padding: 8px 14px;
    }

    /* Urgencia: permite wrap si es chica la pantalla */
    .urgency-content {
        flex-wrap: wrap;
        text-align: center;
    }

    /* Producto: single column con padding chico */
    .product-detail {
        padding: 20px 0;
    }

    .product-back a {
        margin-bottom: 15px;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        border-radius: 12px;
    }

    .product-info h2 {
        font-size: 22px;
    }

    .product-price {
        font-size: 26px;
    }

    .product-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    /* Secciones: paddings y títulos chicos */
    .offers,
    .recargas,
    .planes,
    .accesorios {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .offer-image {
        height: 150px;
    }

    /* Recargas: padding del card y promo */
    .recarga-card {
        padding: 24px 20px;
    }

    .recarga-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    .recarga-promo {
        padding: 24px 18px;
    }

    .recarga-promo h3 {
        font-size: 20px;
    }

    /* Planes */
    .plan-card {
        padding: 25px 20px;
    }

    .plan-price {
        font-size: 26px;
    }

    /* Carrito: full width off-canvas */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-header {
        padding: 15px;
    }

    /* Modal checkout: bottom sheet en celular */
    .modal {
        align-items: flex-end;
        padding: 0;
    }

    .modal-content {
        border-radius: 20px 20px 0 0;
        padding: 20px;
        max-height: calc(100vh - 24px);
        max-width: calc(100vw - 24px);
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .payment-section {
        padding: 12px;
    }

    /* Email capture: overlay con padding y card chica */
    .email-capture-overlay {
        padding: 16px;
    }

    .email-capture-card {
        max-width: calc(100vw - 32px);
        padding: 28px 20px;
    }

    .email-capture-header .logo-text {
        font-size: 26px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 20px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Celulares: ajustes extra chicos */
@media (max-width: 480px) {
    .top-bar-left {
        gap: 8px;
    }

    .top-bar-right {
        gap: 6px;
    }

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

    .location-selector span {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .search-box button {
        padding: 9px 10px;
    }

    .urgency-banner {
        font-size: 12px;
    }

    .product-detail-content {
        padding: 16px;
    }

    .product-price {
        font-size: 22px;
    }

    .section-title h2 {
        font-size: 21px;
    }

    .plan-card {
        padding: 20px 14px;
    }

    .plan-price {
        font-size: 22px;
    }

    .plan-features li {
        font-size: 13px;
        gap: 8px;
    }

    .success-check {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .success-view h3 {
        font-size: 19px;
    }
}
