/* Cliente Page */
.cliente-page {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cliente-header {
    background: white;
    box-shadow: 0 2px 10px var(--shadow);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cliente-header .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cliente-header .logo {
    font-size: 2.5rem;
}

.cliente-header h1 {
    font-size: 1.8rem;
    color: var(--dark);
}

.cliente-nav {
    display: flex;
    gap: 10px;
}

.cliente-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

.welcome-section {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease;
}

.welcome-section h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-section p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.order-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.option-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 10px 30px var(--shadow-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.option-card:hover::before {
    transform: scaleX(1);
}

.option-icon {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.option-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--dark);
}

.option-card > p {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.option-features {
    list-style: none;
    margin: 25px 0;
    flex: 1;
}

.option-features li {
    padding: 12px 0;
    color: var(--dark);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
}

.option-features li:last-child {
    border-bottom: none;
}

.cliente-footer {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* Personalizada Page */
.builder-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.builder-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.builder-steps {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px var(--shadow);
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.step-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.step-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.step-header p {
    color: #7f8c8d;
    font-size: 1.05rem;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.item-card {
    background: white;
    border: 3px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.item-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.item-card.selected {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
}

.item-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.item-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    background: var(--light);
}

.item-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.item-price {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.quantity-selector button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-selector button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.quantity-selector span {
    font-size: 1.3rem;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.step-navigation button {
    flex: 1;
}

/* Order Summary */
.order-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px var(--shadow);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.summary-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.summary-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.hamburger-count {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.hamburger-count label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.hamburger-count input {
    width: 80px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.summary-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.summary-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.summary-item-title {
    font-weight: 600;
    color: var(--dark);
}

.summary-item-price {
    color: var(--primary);
    font-weight: bold;
}

.summary-item-details {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.summary-total {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.summary-total-label {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.summary-total-amount {
    font-size: 2.5rem;
    font-weight: bold;
}

.delivery-options {
    margin-bottom: 20px;
}

.delivery-option {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.delivery-option:hover {
    border-color: var(--primary);
}

.delivery-option.selected {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
}

.delivery-option input[type="radio"] {
    margin-right: 10px;
}

.delivery-option label {
    cursor: pointer;
    font-weight: 600;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.progress-step {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.progress-step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.progress-step.completed {
    border-color: var(--success);
    background: var(--success);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .builder-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .welcome-section h2 {
        font-size: 2rem;
    }

    .order-options {
        grid-template-columns: 1fr;
    }

    .option-card {
        padding: 30px 20px;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }

    .item-image {
        height: 100px;
    }
}
