/* PANEL DE PEDIDO */
.order-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background-color: var(--bg-white);
    color: var(--text-dark);
    box-shadow: -12px 0 30px rgba(0,0,0,.25);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}

.order-panel.open {
    right: 0;
}

/* HEADER */
.order-header {
    padding: 20px;
    background-color: var(--green-dark);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.order-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
}

/* BODY */
.order-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.order-intro {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

/* CAMPOS */
.order-field {
    margin-bottom: 18px;
}

.order-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--green-dark);
}

.order-field input,
.order-field select,
.order-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.5px solid #ccc;
    font-size: 0.95rem;
}

.order-field textarea {
    resize: none;
    height: 90px;
}

/* FOOTER */
.order-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
}
#sendOrder {
    background-color: #25D366;
    border: none;
    font-weight: 600;
}

#sendOrder:hover {
    background-color: #1ebe5d;
}
.panel {
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
}

.panel.open {
    pointer-events: auto;
}

.panel .order-panel {
    right: -420px;
}

.panel.open .order-panel {
    right: 0;
}
.panel.in-view {
    opacity: 1;
    transform: translateY(0);
}
.panel-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.panel.in-view .panel-item {
    opacity: 1;
    transform: translateY(0);
}

.panel.in-view .panel-item:nth-child(1) { transition-delay: 0.1s; }
.panel.in-view .panel-item:nth-child(2) { transition-delay: 0.2s; }
.panel.in-view .panel-item:nth-child(3) { transition-delay: 0.3s; }
.panel.in-view .panel-item:nth-child(4) { transition-delay: 0.4s; }

.design-card {
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.design-card.active {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 18px;
        font-size: 1rem;
    }
}
