.eltyp-wrap {
    max-width: 640px;
    margin: 40px auto;
    padding: 0 20px 60px;
    color: #fff;
    font-family: inherit;
}

.eltyp-header {
    text-align: center;
    margin-bottom: 24px;
}

.eltyp-order-number {
    color: #D4AF37;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.eltyp-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.eltyp-trust-message {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 16px 18px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    text-align: center;
}

.eltyp-section {
    background: #0d0d0d;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.eltyp-section-title {
    color: #D4AF37;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 16px;
}

/* Order items */
.eltyp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.eltyp-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

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

.eltyp-item-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
}

.eltyp-item-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 3px;
}

.eltyp-item-meta table {
    border: none;
}

.eltyp-item-meta table td, .eltyp-item-meta table th {
    border: none;
    padding: 0 4px 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.eltyp-item-qty {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
}

.eltyp-item-price {
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Totals */
.eltyp-totals {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.eltyp-totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 0;
}

.eltyp-discount-row span:last-child {
    color: #7FCF7F;
}

.eltyp-total-row {
    font-size: 1.05rem;
    font-weight: 700;
    color: #D4AF37;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* Office card */
.eltyp-office-card {
    text-align: center;
}

.eltyp-office-commune {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.eltyp-office-address {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.eltyp-office-phone {
    margin-bottom: 14px;
}

.eltyp-office-phone a {
    color: #D4AF37;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.eltyp-maps-btn {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37, #F3D77A);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 24px;
    text-decoration: none;
}

/* WhatsApp box */
.eltyp-whatsapp-box {
    text-align: center;
}

.eltyp-whatsapp-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0 0 12px;
}

.eltyp-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
}

.eltyp-whatsapp-icon {
    font-size: 1.1rem;
}

.eltyp-whatsapp-number {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    direction: ltr;
    display: inline-block;
}

/* Related products */
.eltyp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.eltyp-related-item {
    display: block;
    text-decoration: none;
    background: #000;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 10px;
    transition: border-color 0.3s ease;
}

.eltyp-related-item:hover {
    border-color: #D4AF37;
}

.eltyp-related-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.eltyp-related-name {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eltyp-related-price {
    color: #D4AF37;
    font-size: 0.82rem;
    font-weight: 700;
}

@media (max-width: 480px) {
    .eltyp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
