/* =================================================================
   SNAKE SHOP - ESTILOS PROFESIONALES (VERSIÓN COMPLETA Y FINAL)
   ================================================================= */

/* --- Importación de Fuentes --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


/* --- 1. Variables y Resets Mejorados --- */
:root {
    /* COLORES PRINCIPALES (Navy & Charcoal - Base Elegante) */
    --primary-color: #1a237e;     /* Azul Marino Profundo (Header, Fondos Oscuros) */
    --secondary-color: #37474f;   /* Gris Pizarra Oscuro (Títulos, Texto principal) */

    /* COLORES DE ACENTO (Modern Cyan - Para Acciones y Precios) */
    --accent-color: #00bcd4;      /* Azul Turquesa Brillante */
    --accent-dark: #0097a7;       /* Versión más oscura para :hover */

    /* COLORES DE FONDO */
    --background-color: #b2b5bc;  /* Gris muy claro, casi blanco (Fondo general) */
    --card-background: #ffffff;   /* Blanco puro para tarjetas y bloques */
    
    /* COLORES DE TEXTO */
    --text-color: #4a4a4a;        /* Gris Oscuro Suave (Cuerpo del texto) */
    --light-text-color: #e3f2fd;  /* Azul Claro (Texto sobre fondos oscuros) */

    /* MENSAJES */
    --danger-color: #d32f2f;      /* Rojo de error más profesional */
    --success-color: #43a047;     /* Verde de éxito más profundo */

    /* SOMBRAS (Sutiles y modernas) */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color); 
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-dark);
}

/* --- 2. Encabezado y Navbar (Ajuste de Carrito) --- */
header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 8px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    min-height: 55px;
}

header h1 a {
    color: var(--light-text-color);
    font-size: 1.5rem;
    font-weight: 700;
}

header nav ul {
    list-style-type: none;
    display: flex;
    gap: 25px; /* Aumentado para mejor espaciado */
}

header nav a {
    color: var(--light-text-color);
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s;
    padding: 4px 0;
}

header nav a:hover {
    color: var(--accent-color);
    transform: none;
}

header img, header .logo {
    height: 32px;
    margin: 0;
    vertical-align: middle;
}

/* ESTILO DE DESTAQUE PARA EL CARRITO */
header nav a.cart-link {
    font-weight: 700; 
    border: 1px solid var(--accent-color); 
    padding: 6px 12px;
    border-radius: 4px;
    color: var(--accent-color); 
    background-color: rgba(0, 188, 212, 0.1); 
}

header nav a.cart-link:hover {
    background-color: var(--accent-color); 
    color: var(--light-text-color); 
}

/* Mensaje de Bienvenida de Administrador */
.admin-message {
    background-color: rgba(0, 188, 212, 0.1);
    color: var(--secondary-color);
    text-align: center;
    padding: 10px 0;
    font-weight: 500;
    margin-top: 55px;
}


/* --- 3. Contenido Principal y Estructura de la Tienda --- */
.main-content {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 50px;
}

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

h1, h2, h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

h2 {
    text-align: center;
    font-size: 2rem;
}

.section-title {
    text-align: left !important;
}

/* Estructura de la Tienda: Sidebar y Productos */
.shop-layout {
    display: flex;
    gap: 30px;
}

.sidebar {
    flex-basis: 250px;
    padding-right: 20px;
}

.product-section {
    flex-grow: 1;
}

/* Filtros de Categorías (Sidebar) */
.category-filters {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.category-filters h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
}

.category-filters ul {
    list-style: none;
    padding: 0;
}

.category-filters li a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s, color 0.2s;
}

.category-filters li:last-child a {
    border-bottom: none;
}

.category-filters li a.active {
    color: var(--accent-color);
    font-weight: 700;
}

.category-filters li a:hover {
    color: var(--primary-color);
    background-color: #f0f4f8;
}

/* --- 4. Hero Section (Página de Inicio) --- */

.home-hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 50px;
    padding-bottom: 50px;
    gap: 40px; /* Espacio entre el texto y la imagen */
}

/* Contenido de Texto */
.hero-content {
    flex: 1; 
    text-align: left;
    max-width: 500px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Botón principal (Usamos el color de acento para mayor impacto) */
.hero-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: var(--accent-color) !important;
    transition: background-color 0.3s;
    border: none;
}

.hero-btn:hover {
    background-color: var(--accent-dark) !important;
}

/* Contenedor de Imagen */
.hero-image {
    flex: 1; 
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px; 
    box-shadow: var(--shadow-lg); 
}


/* --- 5. Tarjetas de Productos Mejoradas --- */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #fefefe;
}

.product-card h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    font-weight: 600;
    line-height: 1.4;
    height: 3.2em;
    overflow: hidden;
}

.product-card h3 a {
    color: var(--secondary-color);
}

.product-card .price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.6rem;
    margin-top: 15px;
    margin-bottom: 15px;
}

.product-card .btn-add-to-cart {
    background-color: var(--accent-color) !important; 
    color: white !important;
    padding: 8px 15px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.product-card .btn-add-to-cart:hover {
    background-color: var(--accent-dark) !important;
    transform: none;
}


/* --- 6. Estilos de Formularios y Perfil --- */
.form-container {
    /* Centrado horizontal y vertical asegurado */
    display: flex;
    justify-content: center; 
    align-items: center; 
    min-height: calc(100vh - 200px); 
    padding-top: 50px; 
    padding-bottom: 50px;
}

.form-container form {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .profile-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
    outline: none;
}

.helptext {
    font-size: 0.85em;
    color: #777;
    margin-top: 5px;
}

.profile-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 325px;
    margin: 0 auto;
    padding: 16px 0;
}
.profile-input {
    padding: 7px 10px; 
    font-size: 0.95rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* --- 7. Botones (General) --- */
.btn,
button,
input[type="submit"] {
    display: inline-block;
    padding: 12px 25px;
    border: none !important;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #cfd8dc !important; 
    color: var(--secondary-color) !important;
}

.btn-secondary:hover {
    background-color: #b0bec5 !important;
}

/* Botón de Pago Final (Resaltado) */
.checkout-button-final {
    width: 100%;
    padding: 15px 25px !important;
    font-size: 1.1rem;
    background-color: var(--accent-color) !important; 
    color: white !important;
    border-radius: 8px !important;
    margin-top: 20px;
}

.checkout-button-final:hover {
    background-color: var(--accent-dark) !important;
    transform: none;
}


/* --- 8. Estilos de Checkout y Carrito --- */

/* Oculta navegación en la página de checkout */
.checkout-page header nav {
    display: none; 
}

/* Progress Stepper (Indicador de Pasos) */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 30px auto 40px auto;
    padding: 0 20px;
}

.step {
    text-align: center;
    flex-grow: 1;
    position: relative;
    padding-bottom: 20px;
    border-radius: 14px;
    transition: all 0.3s ease;
    padding: 15px 10px 20px;
}

.step-indicator {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #ddd; 
    color: var(--text-color);
    font-weight: 700;
    margin: 0 auto 8px;
    border: 2px solid #ddd;
}

.step.active .step-indicator {
    background-color: var(--accent-color); 
    color: var(--light-text-color);
    border-color: var(--accent-color);
}

.step-title {
    font-size: 0.9rem;
    color: #999;
    display: block;
}

.step.active .step-title {
    color: var(--secondary-color);
    font-weight: 600;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ddd;
    top: 15px;
    left: 50%;
    z-index: -1;
}

.step.completed::after {
    background: var(--accent-color);
}

/* Layout de 2 Columnas */
.checkout-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.checkout-form-column {
    flex: 2;
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.order-summary-column {
    flex: 1;
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

/* Subtítulos de paso en Checkout */
.step-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left !important;
}

/* Contenedores de información (Dirección/Pago) */
.shipping-info-box, .payment-box {
    background-color: #f7f9fc;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Estilos de pago y fields en fila */
.payment-form-card h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.row-fields {
    display: flex;
    gap: 20px;
}
.row-fields .form-field {
    flex: 1; 
}


/* Tablas y Resúmenes */
.cart-table, .order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    box-shadow: var(--shadow-sm);
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
}

.cart-table th, .cart-table td, .order-table th, .order-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th, .order-table th {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

.total-summary {
    text-align: right;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 20px;
    color: var(--secondary-color);
}

.total-summary span {
    color: var(--accent-color);
}

/* Detalles del resumen (Totales) en la columna lateral */
.order-summary-column .summary-details {
    padding: 15px 0;
    margin-bottom: 15px;
}

.order-summary-column .summary-details p {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 5px;
}

.order-summary-column .total-summary {
    text-align: left;
    font-size: 1.4rem;
    padding-top: 15px;
    border-top: 2px solid var(--accent-color); 
}

/* Botón Volver al carrito con ancho completo en la columna derecha */
.btn-full-width {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

/* --- 9. Estilos Específicos del Carrito de Compras */
.cart-section {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-top: 30px;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.cart-product-thumbnail {
    width: 60px; 
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #eee;
}

/* Campo de Cantidad (Formulario) */
.quantity-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-input {
    width: 60px; 
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    -moz-appearance: textfield; 
    appearance: none;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-update-quantity {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 5px !important;
    transition: background-color 0.3s;
    border: none !important;
}

.btn-update-quantity:hover {
    background-color: var(--secondary-color) !important;
    transform: none !important;
}

/* Botón Eliminar (Rojo de Peligro) */
.btn-remove-item {
    background-color: var(--danger-color) !important;
    color: white !important;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 5px !important;
    transition: background-color 0.3s;
    border: none !important;
}

.btn-remove-item:hover {
    background-color: #c0392b !important;
    transform: none !important;
}

/* --- 10. Estilos de Confirmación de Pedido (Order Complete) --- */
.order-confirmation-box {
    background-color: var(--card-background); 
    border-radius: 12px;
    box-shadow: var(--shadow-lg); 
    padding: 40px;
    width: 100%;
    max-width: 500px;
    text-align: center; 
}

.order-confirmation-box h1 {
    color: var(--success-color); 
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.order-confirmation-box .greeting {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.order-details {
    padding: 15px;
    background-color: var(--background-color); 
    border-radius: 8px;
    margin-bottom: 30px;
}

.order-details .order-id {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
}

.order-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.order-actions .btn {
    padding: 12px 20px;
    font-weight: 600;
}


/* --- 11. Pie de Página y Mensajes --- */
footer {
    padding: 20px;
    text-align: center;
    background-color: var(--primary-color); 
    color: var(--light-text-color);
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); 
}

.messages {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    text-align: center;
}

.messages li {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: 500;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}


/* --- 12. Responsive Design --- */
@media (max-width: 992px) {
    .shop-layout {
        flex-direction: column;
    }
    .sidebar {
        flex-basis: auto;
        padding-right: 0;
        margin-bottom: 30px;
    }
    .checkout-layout {
        flex-direction: column;
    }
    /* Home Hero en Móvil */
    .home-hero-section {
        flex-direction: column; 
        text-align: center;
        padding-top: 30px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-image {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header nav ul {
        justify-content: center;
        margin-top: 10px;
        gap: 15px;
    }
    .main-content {
        padding-top: 120px;
    }
    .product-list {
        grid-template-columns: 1fr;
    }
    .product-detail-container {
        flex-direction: column;
    }
    /* En móvil, los campos de pago se apilan */
    .row-fields {
        flex-direction: column;
        gap: 0;
    }
    .order-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Estilos para la Vista de Detalle de Producto --- */

.product-detail-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.product-card-detail {
    display: flex;
    gap: 40px;
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-image-column {
    flex: 1; /* Ocupa la mitad del espacio */
    text-align: center;
    max-width: 450px;
}

.product-detail-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #f0f4f8; /* Borde sutil */
    background-color: white;
}

.product-info-column {
    flex: 1;
    text-align: left;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-divider {
    border-top: 1px solid #eee;
    margin: 15px 0;
}

/* Precio y Stock */
.price-stock-group {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.price-display {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color); /* Precio en Turquesa */
    margin: 0;
}

.stock-info {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.stock-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}
.status-available {
    background-color: var(--success-color);
}
.status-sold-out {
    background-color: var(--danger-color);
}

/* Descripción */
.description-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 5px;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 5px;
}

.product-description-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Formulario de Cantidad y Botón */
.add-to-cart-form {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.quantity-field {
    max-width: 150px;
    margin-bottom: 20px;
}

.quantity-field .quantity-input {
    text-align: center;
}

.add-button-full {
    width: 100%;
    padding: 15px 0;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.back-link-container {
    text-align: center;
    padding-top: 10px;
}

/* Responsive para tablet y móvil */
@media (max-width: 768px) {
    .product-card-detail {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .product-image-column {
        max-width: 100%;
    }
    
    .price-stock-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-display {
        margin-bottom: 10px;
    }
}
/* --- Estilos Específicos para Contacto Técnico --- */

.contact-form-box {
    /* Reutiliza la caja general de formularios */
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 650px; /* Un poco más ancho para campos detallados */
}

.contact-form-box .form-description {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.tech-contact-form .form-field {
    /* Asegurar que los campos se vean limpios */
    margin-bottom: 15px;
}

/* --- ESTILOS DE SOPORTE TÉCNICO (VALIDACIÓN VISUAL) --- */

/* Contenedor del campo de pedido */
.order-id-field {
    transition: all 0.3s ease;
    padding: 10px; /* Un poco de padding para que se vea como una caja */
    border-radius: 8px;
    border: 1px solid transparent; /* Borde inicial invisible */
}

/* Estado de campo REQUERIDO (Solo cuando la lógica JS lo indica) */
.order-id-field.is-required {
    background-color: rgba(255, 165, 0, 0.08); /* Fondo amarillo suave */
    border-color: #ffaa00; /* Borde naranja */
}

/* El input dentro del campo requerido también se resalta */
.order-id-field.is-required .order-check-input:not(:focus) {
    border-color: #ffaa00;
}

/* --- ESTILOS PARA DETALLE DEL PEDIDO (detalle_pedido.html) --- */

.order-detail-layout {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    max-width: 1000px;
    margin: 30px auto;
}

.order-summary-box {
    flex: 1; /* Columna Izquierda (General info) */
    background-color: var(--card-background);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.order-items-box {
    flex: 2; /* Columna Derecha (Tabla de productos) */
    background-color: var(--card-background);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.order-items-box .order-table {
    margin-top: 15px;
    box-shadow: none; /* Eliminar sombra de la tabla interna */
    border: 1px solid #eee;
}

.total-summary-detail {
    text-align: right;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.total-summary-detail span {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-left: 10px;
}

@media (max-width: 900px) {
    .order-detail-layout {
        flex-direction: column;
    }
}

/* --- Estilos Específicos de la Vista de Perfil --- */

/* La clase .form-container ya centra el layout */

.profile-card-box {
    /* Reutilizamos estilos de tarjeta similar a los formularios de login/register */
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 550px; /* Hacemos el formulario más ancho y legible */
}

.profile-title {
    /* Estilo para el subtítulo dentro de la tarjeta */
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-bottom: 30px;
}

/* El estilo de los inputs .profile-input y .form-field ya está definido globalmente
   y es reutilizado aquí, lo que asegura un aspecto limpio. */

/* Estilo para el botón de envío */
.profile-submit-btn {
    /* Usamos el estilo del botón final de checkout para dar prominencia */
    width: 100%;
    padding: 12px 25px;
    font-size: 1rem;
    margin-top: 15px;
}

/* Ajustes de centrado para la página completa si es necesario */

.text-decoration-line-through { text-decoration: line-through; }
.badge { font-size: 0.5rem; }

.btn-shop-now {
    font-size: 5rem;        /* ⬅️ AQUÍ se aumenta el tamaño */
    padding: 14px 30px;
    font-weight: 600;
    background-color: var(--primary-color);
    /* background-color: var(--accent-color); */
    color: white !important;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-shop-now:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}
