/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    min-height: 100vh;
    color: white;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.container {
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ===== HEADER FIJO ===== */
.header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-icon, .info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-icon:hover, .info-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.complete-order-btn {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.complete-order-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* ===== SECCIÓN LOGO ===== */
.logo-section {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 100px; /* Espacio para el header fijo */
}

.logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ff6b35;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* ===== ELEMENTOS DE FONDO ===== */
.bg-elements {
    position: absolute;
    right: -50px;
    bottom: -50px;
    opacity: 0.1;
    font-size: 200px;
    font-weight: bold;
    color: #666;
    z-index: 0;
    pointer-events: none;
}

/* ===== SECCIONES ===== */
.sections {
    padding: 0 20px;
    position: relative;
    z-index: 1;
    padding-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    margin-bottom: 15px;
}

.section-header {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 15px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.section-header:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.section-header.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.section-header.active .dropdown-icon {
    transform: rotate(180deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 15px 15px;
    margin-top: -10px;
    padding-top: 10px;
}

.section-content.active {
    max-height: 1000px;
    padding: 20px 15px 15px;
}

/* ===== PRODUCTOS ===== */
.product-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.product-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

.product-price {
    font-weight: bold;
    color: #ff6b35;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.quantity-controls {
    display: flex;
    gap: 5px;
    align-items: center;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #ff6b35;
    background: transparent;
    color: #ff6b35;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #ff6b35;
    color: white;
    transform: scale(1.1);
}

.qty-display {
    width: 30px;
    text-align: center;
    font-size: 14px;
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (min-width: 768px) {
    .container {
        max-width: 100%;
        width: 100%;
        margin: 0;
        min-height: 100vh;
    }

    .header {
        padding: 20px 40px;
    }

    .user-icon, .info-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .complete-order-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .logo-section {
        padding: 40px 40px;
        padding-top: 110px;
    }

    .logo {
        width: 100px;
        height: 100px;
        font-size: 30px;
    }

    .title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .sections {
        padding: 0 40px 40px;
    }

    .section {
        margin-bottom: 20px;
    }

    .section-header {
        padding: 18px 25px;
        font-size: 16px;
    }

    .section-content.active {
        padding: 25px 20px 20px;
    }

    .product-item {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 20px;
    }

    .product-item:hover {
        transform: translateY(-3px);
    }

    .product-image {
        width: 80px;
        height: 80px;
        margin-right: 20px;
        font-size: 30px;
    }

    .product-name {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .product-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .product-price {
        margin-left: 20px;
        font-size: 16px;
    }

    .quantity-controls {
        gap: 8px;
    }

    .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
        border-radius: 5px;
    }

    .qty-display {
        width: 35px;
        font-size: 16px;
    }

    .bg-elements {
        font-size: 250px;
        right: -80px;
        bottom: -80px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .header {
        padding: 25px 60px;
    }

    .logo-section {
        padding: 60px 60px;
        padding-top: 120px;
    }

    .sections {
        padding: 0 60px 60px;
    }

    .bg-elements {
        font-size: 300px;
        right: -100px;
        bottom: -100px;
    }
}

/* Pantallas grandes */
@media (min-width: 1440px) {
    .header {
        padding: 30px 80px;
    }

    .logo-section {
        padding: 80px 80px;
        padding-top: 130px;
    }

    .sections {
        padding: 0 80px 80px;
    }
}
/* ===== MODAL DE TUTORIAL ===== */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.8); 
  justify-content: center; 
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  background: rgba(44,44,44,0.95);
  border-radius: 15px;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  text-align: center;
}

.modal-title {
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: bold;
  color: white;
}

.modal video {
  width: 100%;
  border-radius: 10px;
  background: black;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: #ff6b35;
}


