/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: rgb(83, 65, 110);
    --primary-hex: #53416e;
    --secondary-color: rgb(120, 100, 150);
    --secondary-hex: #786496;
    --accent-color: rgb(160, 140, 180);
    --accent-hex: #a08cb4;
    --purple-light: rgb(245, 240, 250);
    --purple-medium: rgb(220, 210, 235);
    --purple-dark: rgb(65, 50, 85);
    --purple-very-light: rgb(250, 248, 252);
    --complement-color: rgb(110, 83, 95);
    --complement-hex: #6e535f;
    --dark-color: #2c3e50;
    --light-color: rgb(250, 248, 252);
    --text-color: #4a4a4a;
    --text-light: #7a7a7a;
    --border-color: rgb(220, 210, 235);
    --success-color: #4caf50;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(83, 65, 110, 0.15);
    --shadow-hover: 0 8px 25px rgba(83, 65, 110, 0.25);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, rgb(120, 100, 150) 0%, rgb(83, 65, 110) 100%);
    --gradient-soft: linear-gradient(135deg, rgb(245, 240, 250) 0%, rgb(220, 210, 235) 100%);
    --gradient-complement: linear-gradient(135deg, rgb(83, 65, 110) 0%, rgb(110, 83, 95) 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header y Navegación */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(83, 65, 110, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 0.5rem 0;
}

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

.nav-brand {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
    position: relative;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.15rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    position: relative;
    padding: 0.2rem 0;
}

.create-bouquet-btn {
    position: relative;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #f8b500 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
    animation: gradientShift 3s ease infinite;
    overflow: visible;
}

.create-bouquet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    border-radius: 50px;
    overflow: hidden;
}

.create-bouquet-btn:hover::before {
    left: 100%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.create-bouquet-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.6);
    animation-duration: 1.5s;
}

.create-bouquet-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.create-bouquet-btn .bouquet-icon {
    font-size: 1.05rem;
    display: inline-block;
    animation: sparkle 2s ease-in-out infinite;
    line-height: 1;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
    }
    50% {
        transform: scale(1.15) rotate(180deg);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1));
    }
}

.create-bouquet-btn .new-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #c44569;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.6), 0 0 0 3px white;
    animation: bounce 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 2px solid #ffd700;
    z-index: 10;
    white-space: nowrap;
    line-height: 1.2;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

.cart-btn {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.45rem 0.85rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(83, 65, 110, 0.3);
}

.cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(83, 65, 110, 0.4);
}

.cart-count {
    background: #ffc107;
    color: var(--dark-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    position: absolute;
    top: -6px;
    right: -6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Carrito de Compras */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    max-height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    overflow: hidden;
}

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

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    max-height: none;
}

.cart-sidebar:has(.checkout-form[style*="display: block"]) .cart-items {
    display: none;
}

.cart-empty {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.25rem;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--light-color);
    flex-shrink: 0;
    overflow: visible;
}

.cart-footer:has(.checkout-form[style*="display: block"]) {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    border-top: none;
}

.cart-footer:has(.checkout-form[style*="display: block"]) .cart-total {
    display: none;
}

.cart-total {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.total-line.total-final {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--border-color);
    font-size: 1.25rem;
}

.checkout-btn {
    width: 100%;
    padding: 1.1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(83, 65, 110, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(83, 65, 110, 0.4);
}

.checkout-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* Formulario de Checkout */
.checkout-form {
    margin-top: 1.5rem;
    padding: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    width: 100%;
    background: white;
    border-radius: 12px;
    max-height: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
}

.cart-footer:has(.checkout-form[style*="display: block"]) {
    padding: 0;
    border-top: none;
}

.cart-footer:has(.checkout-form[style*="display: block"]) .checkout-form {
    margin-top: 0;
    border-top: none;
    border-radius: 0;
    padding: 1.5rem;
}

.checkout-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(83, 65, 110, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.address-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-fields .form-group {
    margin-bottom: 0;
}

.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.char-counter span {
    font-weight: 600;
    color: var(--primary-color);
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.radio-option:hover {
    border-color: var(--purple-medium);
    background: var(--purple-very-light);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.radio-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-option input[type="radio"] {
    accent-color: var(--primary-color);
}

.radio-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: var(--purple-very-light);
}

/* Fallback para navegadores sin soporte :has() */
.radio-option.checked {
    border-color: var(--primary-color);
    background: var(--purple-very-light);
}

.delivery-fields {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--purple-very-light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.delivery-section-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.delivery-section-title:first-of-type {
    margin-top: 0.5rem;
}

.delivery-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(83, 65, 110, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.delivery-notice i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.delivery-notice p {
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cancel-btn {
    flex: 1;
    padding: 0.85rem;
    background: var(--light-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cancel-btn:hover {
    background: var(--border-color);
    border-color: var(--purple-medium);
}

.submit-btn {
    flex: 1;
    padding: 0.85rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(83, 65, 110, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(83, 65, 110, 0.4);
}

.continue-btn {
    flex: 1;
    padding: 0.85rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(83, 65, 110, 0.3);
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(83, 65, 110, 0.4);
}

/* Resumen de Pedido */
.order-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    width: 100%;
}

.order-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.summary-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--purple-very-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.summary-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-info p {
    margin: 0.5rem 0;
    color: var(--text-color);
    line-height: 1.6;
}

.summary-info strong {
    color: var(--text-color);
    margin-right: 0.5rem;
}

.summary-items {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-name {
    flex: 1;
    color: var(--text-color);
}

.summary-item-quantity {
    color: var(--text-light);
    margin: 0 0.5rem;
}

.summary-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.summary-totals {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

/* Estilos para Mercado Pago */
#mercadopago-button-container {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--purple-very-light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

#mercadopago-button-container .mercadopago-button {
    width: 100%;
    padding: 1rem;
    background: #009ee3;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

#mercadopago-button-container .mercadopago-button:hover {
    background: #0088c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 158, 227, 0.3);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.98;
    line-height: 1.6;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1.1rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(83, 65, 110, 0.3);
    background: var(--purple-light);
}

/* Products Section */
.products {
    background: var(--gradient-soft);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 3.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.load-more-container {
    margin-top: 3rem;
    padding: 2rem 0;
}

.load-more-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(83, 65, 110, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(83, 65, 110, 0.4);
}

.load-more-btn i {
    transition: var(--transition);
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--purple-medium);
}

.product-image {
    width: 100%;
    height: 280px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(83, 65, 110, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

/* Animaciones suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.feed-item,
.testimonial-card,
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Mejoras de accesibilidad y UX */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

.product-info {
    padding: 1.75rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.4;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.add-to-cart-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(83, 65, 110, 0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(83, 65, 110, 0.4);
}

.add-to-cart-btn i {
    font-size: 0.9rem;
}

/* Feed Section */
.feed {
    background: white;
}

/* Instagram Feed Container */
.instagram-feed-container {
    margin-top: 3rem;
}

.instagram-header {
    text-align: center;
    margin-bottom: 3rem;
}

.instagram-header i {
    font-size: 3rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.instagram-header h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.instagram-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Ajustes visuales extra de header y botones ===== */
.header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(179, 32, 78, 0.16);
    box-shadow: 0 10px 28px rgba(56, 26, 49, 0.13);
}

.navbar .container {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(179, 32, 78, 0.1);
    border-radius: 12px;
    padding: 0.4rem 0.75rem;
}

.nav-link {
    padding: 0.28rem 0.45rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(179, 32, 78, 0.09);
}

.create-bouquet-btn,
.cart-btn,
.load-more-btn,
.add-to-cart-btn,
.checkout-btn,
.continue-btn,
.submit-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    letter-spacing: 0.2px;
}

.create-bouquet-btn:hover,
.cart-btn:hover,
.load-more-btn:hover,
.add-to-cart-btn:hover,
.checkout-btn:hover,
.continue-btn:hover,
.submit-btn:hover {
    transform: translateY(-3px) scale(1.01);
}

.hero .btn-primary {
    background: #ffffff;
    color: #571f47;
    border: 2px solid rgba(87, 31, 71, 0.2);
    box-shadow: 0 14px 32px rgba(30, 9, 25, 0.28);
    font-weight: 700;
}

.hero .btn-primary:hover {
    background: #fff0f7;
    color: #4b153b;
    border-color: rgba(87, 31, 71, 0.35);
    box-shadow: 0 18px 36px rgba(30, 9, 25, 0.34);
    transform: translateY(-3px) scale(1.02);
}

/* Botón flotante — Sucursales */
.floating-contact-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #cf3a6b 0%, #8f2f8f 55%, #4d2f7d 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 28px rgba(179, 32, 78, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-contact-btn i {
    font-size: 1.1rem;
    opacity: 0.95;
}

.floating-contact-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(79, 28, 68, 0.45);
}

.floating-contact-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .floating-contact-btn {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.88rem;
    }

    .instagram-feed {
        grid-template-columns: 1fr;
    }
}

/* ===== Rediseño integral 2026 ===== */
:root {
    --rd-primary: #b3204e;
    --rd-primary-dark: #7d1235;
    --rd-secondary: #6f3b6f;
    --rd-text: #2c1f2f;
    --rd-muted: #6f6073;
    --rd-surface: #ffffff;
    --rd-surface-soft: #fff7fb;
    --rd-border: #efd7e2;
    --rd-shadow: 0 14px 40px rgba(58, 28, 53, 0.12);
    --rd-shadow-hover: 0 18px 45px rgba(58, 28, 53, 0.2);
    --rd-gradient: linear-gradient(135deg, #cf3a6b 0%, #8f2f8f 55%, #4d2f7d 100%);
}

body {
    font-family: "Poppins", "Segoe UI", sans-serif;
    color: var(--rd-text);
    background: linear-gradient(180deg, #fff7fb 0%, #ffffff 22%, #fff9fc 100%);
}

.header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(188, 84, 123, 0.15);
    box-shadow: 0 8px 30px rgba(86, 41, 74, 0.09);
}

.navbar {
    padding: 0.45rem 0;
}

.nav-link {
    color: var(--rd-muted);
    font-weight: 600;
    letter-spacing: 0.2px;
    font-size: 0.88rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rd-primary);
}

.nav-link.active::after {
    background: var(--rd-gradient);
    height: 2px;
}

.create-bouquet-btn,
.cart-btn,
.btn-primary,
.load-more-btn,
.add-to-cart-btn,
.checkout-btn,
.continue-btn,
.submit-btn {
    background: var(--rd-gradient);
    box-shadow: 0 10px 24px rgba(179, 32, 78, 0.26);
}

.create-bouquet-btn:hover,
.cart-btn:hover,
.btn-primary:hover,
.load-more-btn:hover,
.add-to-cart-btn:hover,
.checkout-btn:hover,
.continue-btn:hover,
.submit-btn:hover {
    box-shadow: 0 16px 30px rgba(179, 32, 78, 0.35);
}

.hero {
    padding: 7.5rem 2rem 6rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 85% 28%, rgba(255, 177, 206, 0.3) 0%, transparent 35%),
        var(--rd-gradient);
}

.hero::before {
    opacity: 0.16;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1rem, 2.1vw, 1.25rem);
}

.products,
.services,
.contact {
    margin-top: 3%;
    background: transparent;
}

.feed {
    background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #9f1945 0%, #6a2f7f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--rd-muted);
}

.product-card,
.service-card,
.contact-item,
.instagram-item {
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow);
}

.product-card:hover,
.service-card:hover,
.contact-item:hover,
.instagram-item:hover {
    box-shadow: var(--rd-shadow-hover);
    border-color: #e9bdd0;
}

.product-info {
    background: linear-gradient(180deg, #ffffff 0%, #fff9fd 100%);
}

.product-name {
    color: #341d31;
}

.product-price {
    background: linear-gradient(135deg, #b3204e 0%, #7e2f86 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #fff5fb 100%);
}

.service-card h3,
.contact-item h3,
.sucursal-header h3 {
    color: #3f2440;
}

.service-card p,
.contact-item p,
.sucursal-detail p {
    color: var(--rd-muted);
}

.contact-item,
.contact-sucursal {
    background: linear-gradient(150deg, #ffffff 0%, #fff4fa 100%);
}

.whatsapp-btn {
    border-radius: 14px;
    font-weight: 700;
}

.footer {
    margin-top: 3%;
    background:
        radial-gradient(circle at top left, rgba(255, 145, 187, 0.18) 0%, transparent 40%),
        linear-gradient(135deg, #2a1d3a 0%, #47214e 55%, #2a1d3a 100%);
    padding: 3rem 0;
}

.footer p {
    font-weight: 500;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .hero {
        padding: 5.75rem 1.25rem 4.25rem;
    }

    .navbar {
        padding: 0.45rem 0;
    }

    .nav-menu {
        border-top: 1px solid var(--rd-border);
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(7px);
    }

    .logo-img {
        height: 46px;
        max-width: 180px;
    }

    .nav-brand {
        min-height: 46px;
    }
}
.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.instagram-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(83, 65, 110, 0.85) 0%, rgba(120, 100, 150, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

/* Modal de imágenes */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.instagram-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem auto 0;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    max-width: 300px;
}

.instagram-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(220, 39, 67, 0.4);
}

.instagram-link-btn i {
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--gradient-soft);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--purple-medium);
}

.stars {
    color: #ffc107;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-source {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gradient-soft);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: white;
    border-color: var(--purple-medium);
}

.service-card i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(83, 65, 110, 0.2));
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.15);
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--gradient-soft);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-content p:first-child {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--gradient-soft);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: white;
    border-color: var(--purple-medium);
}

.contact-item i {
    font-size: 2.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
    color: var(--purple-dark);
}

.contact-item h3 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Estilos para sucursales */
.contact-sucursal {
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.sucursal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.sucursal-header i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sucursal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sucursal-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    flex: 1;
}

.sucursal-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sucursal-detail i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.sucursal-detail p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    flex: 1;
}

.sucursal-detail a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.sucursal-detail a:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

.location-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.location-link:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

.location-link::after {
    content: ' 📍';
    font-size: 0.9em;
    margin-left: 0.25rem;
    opacity: 0.7;
    transition: var(--transition);
}

.location-link:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

/* Botón de WhatsApp */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-top: 0.5rem;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 1.5rem;
    -webkit-text-fill-color: white;
    background: none;
    filter: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

.footer.footer-compact {
    padding: 0.65rem 0;
}

.footer.footer-compact p {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    opacity: 0.88;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.footer-social-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 56px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Carrito móvil mejorado */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-header {
        padding: 1.25rem 1rem;
    }

    .cart-header h2 {
        font-size: 1.3rem;
    }

    .close-cart {
        font-size: 1.75rem;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-items {
        padding: 0.75rem;
    }

    .cart-item {
        padding: 0.75rem;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .cart-item-name {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .cart-item-price {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .quantity-btn {
        width: 36px;
        height: 36px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.1rem;
    }

    .quantity-input {
        width: 50px;
        padding: 0.4rem;
        font-size: 1rem;
    }

    .remove-item {
        font-size: 1.3rem;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-footer {
        padding: 1rem;
    }

    .cart-total {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .checkout-btn {
        padding: 1.2rem;
        font-size: 1.1rem;
        min-height: 50px;
    }

    /* Formulario de checkout móvil */
    .checkout-form {
        padding: 1.25rem 1rem;
        margin-top: 1rem;
    }

    .checkout-form h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .form-group {
        margin-bottom: 1.1rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group select,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 1rem;
        min-height: 48px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .radio-option {
        padding: 1rem;
        min-height: 56px;
    }

    .radio-option input[type="radio"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
    }

    .delivery-fields {
        padding: 1.25rem 1rem;
        margin-top: 1.25rem;
    }

    .delivery-section-title {
        font-size: 1rem;
        margin: 1.25rem 0 0.75rem 0;
    }

    .delivery-notice {
        padding: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .delivery-notice p {
        font-size: 0.9rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.25rem;
    }

    .cancel-btn,
    .continue-btn,
    .submit-btn {
        padding: 1.1rem;
        font-size: 1rem;
        min-height: 50px;
        width: 100%;
    }

    .order-summary {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }

    .order-summary h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .summary-section {
        padding: 0.9rem;
        margin-bottom: 1.1rem;
    }

    .summary-section h4 {
        font-size: 1rem;
        margin-bottom: 0.65rem;
    }

    .summary-info p {
        font-size: 0.9rem;
        margin: 0.4rem 0;
    }

    /* Botones de productos móvil */
    .product-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .product-price {
        font-size: 1.5rem;
        text-align: center;
        order: 1;
        margin-bottom: 0.5rem;
    }

    .add-to-cart-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 25px;
        justify-content: center;
        order: 2;
    }

    .hero {
        padding: 5rem 1.5rem 4rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .products-grid,
    .feed-grid,
    .testimonials-grid,
    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item,
    .contact-sucursal {
        padding: 1.5rem;
        margin: 0;
    }
    
    .sucursal-header {
        margin-bottom: 1rem;
    }
    
    .sucursal-header h3 {
        font-size: 1.3rem;
    }
    
    .sucursal-info {
        gap: 0.75rem;
    }
    
    .sucursal-detail {
        gap: 0.75rem;
    }
    
    .whatsapp-btn {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
        min-height: 48px;
        margin-top: 0.75rem;
    }
    
    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
    }

    .products,
    .feed,
    .testimonials,
    .services,
    .about,
    .contact {
        padding: 4rem 0;
    }

    .product-card,
    .feed-item,
    .testimonial-card,
    .service-card,
    .contact-item {
        margin: 0 auto;
        max-width: 100%;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.2rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .logo-img {
        height: 42px;
        max-width: 170px;
    }

    .nav-brand {
        min-height: 42px;
    }
    
    .logo {
        font-size: 1.35rem;
    }

    .cart-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.85rem;
        min-height: 40px;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .create-bouquet-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.8rem;
        min-height: 40px;
    }

    .create-bouquet-btn span:not(.new-badge) {
        display: none;
    }

    .create-bouquet-btn .bouquet-icon {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .instagram-feed {
        grid-template-columns: 1fr;
    }
    
    .instagram-header h3 {
        font-size: 1.5rem;
    }

    /* Carrito móvil pequeño */
    .cart-header {
        padding: 1rem 0.75rem;
    }

    .cart-header h2 {
        font-size: 1.2rem;
    }

    .cart-items {
        padding: 0.5rem;
    }

    .cart-item {
        padding: 0.65rem;
        gap: 0.65rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-name {
        font-size: 0.9rem;
    }

    .cart-item-price {
        font-size: 0.95rem;
    }

    .cart-footer {
        padding: 0.9rem 0.75rem;
    }

    .cart-total {
        font-size: 1.2rem;
    }

    .checkout-form {
        padding: 1rem 0.75rem;
    }

    .checkout-form h3 {
        font-size: 1.1rem;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group select,
    .form-group textarea {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    /* Productos en móvil pequeño */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-card {
        max-width: 100%;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 1.25rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-price {
        font-size: 1.4rem;
        text-align: center;
        order: 1;
        margin-bottom: 0.25rem;
    }

    .add-to-cart-btn {
        width: 100%;
        padding: 0.95rem 1.25rem;
        font-size: 0.95rem;
        min-height: 48px;
        justify-content: center;
        order: 2;
    }

    /* Sucursales en móvil pequeño */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-item,
    .contact-sucursal {
        padding: 1.25rem;
    }

    .sucursal-header h3 {
        font-size: 1.2rem;
    }

    .sucursal-detail {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .sucursal-detail i {
        margin-top: 0;
    }

    .whatsapp-btn {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }

    /* Navegación móvil pequeño */
    .logo-img {
        height: 38px;
        max-width: 155px;
    }

    .nav-brand {
        min-height: 38px;
    }

    .cart-btn {
        padding: 0.42rem 0.7rem;
        font-size: 0.82rem;
        min-height: 38px;
    }

    .create-bouquet-btn {
        padding: 0.42rem 0.65rem;
        font-size: 0.75rem;
        min-height: 38px;
    }

    .create-bouquet-btn span:not(.new-badge) {
        display: none;
    }

    .create-bouquet-btn .new-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.45rem;
        top: -10px;
        right: -10px;
        border-width: 1.5px;
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.6), 0 0 0 2px white;
    }

    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -6px;
        right: -6px;
    }
}

/* Modal de Producto */
.product-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    z-index: 99999 !important;
    display: none !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
    pointer-events: none;
}

.product-modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.product-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition);
}

.product-modal-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-modal-image-section {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.product-modal-image-section img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.product-modal-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-modal-info-section h2 {
    color: var(--primary-color);
        font-size: 2rem;
    margin: 0;
    }

.product-modal-description {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

.product-modal-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.product-modal-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.stars-display {
    display: flex;
    gap: 0.2rem;
    font-size: 1.5rem;
}

.star {
    color: #ddd;
    transition: var(--transition);
}

.star-full {
    color: #ffc107;
}

.star-half {
    background: linear-gradient(90deg, #ffc107 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.add-to-cart-modal-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Sección de Comentarios */
.comments-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.comments-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-header strong {
    color: var(--primary-color);
}

.comment-stars {
    display: flex;
    gap: 0.1rem;
    font-size: 0.9rem;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.no-comments, .error-comments {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

/* Formulario de Comentarios */
.add-comment-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.add-comment-form h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.add-comment-form .form-group {
    margin-bottom: 1rem;
}

.add-comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.add-comment-form input[type="text"],
.add-comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.add-comment-form input[type="text"]:focus,
.add-comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Sistema de Estrellas Interactivo */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.3rem;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input .star-label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.star-rating-input .star-label:hover,
.star-rating-input .star-label:hover ~ .star-label,
.star-rating-input input[type="radio"]:checked ~ .star-label {
    color: #ffc107;
}

.star-rating-input .star-label.selected {
    color: #ffc107;
}

.submit-comment-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-comment-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.submit-comment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive para Modal de Producto */
@media (max-width: 968px) {
    .product-modal-body {
        grid-template-columns: 1fr;
    }
    
    .product-modal-image-section {
        position: relative;
        top: 0;
    }
    
    .product-modal-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .product-modal {
        padding: 0.5rem;
    }

    .product-modal-content {
        max-height: 95vh;
        margin: 0.5rem;
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
    }
    
    .product-modal-body {
        padding: 1rem;
        gap: 1rem;
    }
    
    .product-modal-image-section {
        max-height: 300px;
    }
    
    .product-modal-info-section h2 {
        font-size: 1.5rem;
    }
    
    .product-modal-price {
        font-size: 2rem;
    }

    .product-modal-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .add-to-cart-modal-btn {
        width: 100%;
        padding: 1.1rem;
        font-size: 1rem;
        min-height: 50px;
    }

    .product-modal-close {
        width: 40px;
        height: 40px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.5rem;
    }

    .comments-section h3 {
        font-size: 1.3rem;
    }

    .star-rating-input .star-label {
        font-size: 1.75rem;
    }

    .submit-comment-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-modal {
        padding: 0.25rem;
    }

    .product-modal-content {
        margin: 0.25rem;
        width: calc(100% - 0.5rem);
        max-width: calc(100% - 0.5rem);
        max-height: 98vh;
    }
    
    .product-modal-body {
        padding: 0.75rem;
    }
    
    .product-modal-image-section {
        max-height: 250px;
    }
    
    .product-modal-info-section h2 {
        font-size: 1.3rem;
    }
    
    .product-modal-price {
        font-size: 1.75rem;
    }

    .product-modal-description {
        font-size: 1rem;
    }

    .stars-display {
        font-size: 1.3rem;
    }

    .rating-text {
        font-size: 0.85rem;
    }

    .product-modal-close {
        width: 36px;
        height: 36px;
        min-width: 44px;
        min-height: 44px;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.3rem;
    }
}

