body {
    margin: 0;
    padding: 0;
}


.checkout-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

/* Formularios y secciones */
.checkout-form { flex: 2; min-width: 320px; }
.order-summary { flex: 1; min-width: 300px; height: fit-content; }

.form-section { margin-bottom: 30px; }
.form-section h3 { margin-bottom: 15px; color: #333; }

/* Inputs Estilizados */
input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
}

.row-inputs {
    display: flex;
    gap: 10px;
}

/* Botón principal */
.btn-primary {
    width: 100%;
    padding: 18px;
    background-color: #008080; /* El color verde de tu catálogo */
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover { background-color: #006666; }

/* Resumen de orden */
.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.final { font-size: 1.2rem; border-top: 2px solid #eee; padding-top: 10px; }

.cart-container { max-width: 1000px; margin: 0 auto; padding: 20px; }

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th {
    border-bottom: 2px solid #eee;
    padding: 15px;
    text-align: left;
    color: #888;
    font-size: 0.8rem;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
}

.remove-item {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    color: #ccc;
}

.cart-totals {
    max-width: 400px;
    margin-left: auto;
    margin-top: 30px;
    border: 1px solid #eee;
    padding: 25px;
}

.btn-finalize {
    display: block;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    text-transform: uppercase;
}

/* Contenedor Principal */
.cart-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}

.cart-main { flex: 2; }
.cart-totals { flex: 1; min-width: 320px; }

/* Tabla de Productos */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 13px;
    color: #888;
    letter-spacing: 1px;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.product-info { display: flex; align-items: center; gap: 15px; }
.product-info img { width: 60px; border-radius: 8px; }

.remove-item {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    color: #999;
}

/* Footer del Carrito (Cupones) */
.cart-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.coupon-section input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.btn-coupon, .btn-continue {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-coupon { background: #000; color: #fff; border: none; }
.btn-continue { background: transparent; border: 1px solid #000; color: #000; }

/* Caja de Totales (Glass Style) */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 30px;
    border-radius: 12px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.shipping-options label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.btn-checkout {
    display: block;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 18px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsivo */
@media (max-width: 900px) {
    .cart-content-wrapper { flex-direction: column; }
    .cart-totals { width: 100%; }
}


/* Estilo General del Carrito */
.cart-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 24px;
    /*
    padding: 0 20px;
    */
    font-family: 'Poppins', sans-serif;
}

/* Pasos del Checkout */
.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: #888;
}

.step.active { color: #000; font-weight: 600; }

/* Grid Principal */
.cart-grid {

    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;

  
}

/* Efecto Glassmorphism (Igual a tu catálogo) */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

/* Tabla Moderna */
.cart-table-modern {
    width: 100%;
    border-collapse: collapse;
}

.cart-table-modern th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #f4f4f4;
    font-weight: 500;
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.cart-table-modern td { padding: 25px 15px; border-bottom: 1px solid #f9f9f9; }

/* Detalles de Producto en Tabla */
.product-cell { display: flex; align-items: center; gap: 20px; }

.product-img-mini {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.product-img-mini img { width: 100%; height: 100%; object-fit: cover; }

.p-name { display: block; font-weight: 600; color: #333; }
.p-category { font-size: 0.75rem; color: #008080; } /* Verde como tu badge */

/* Botón Finalizar Compra (Inspirado en Anka) */
.btn-main-checkout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 25px;
    transition: transform 0.3s ease;
}

.btn-main-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsivo */
@media (max-width: 992px) {
    .cart-grid { grid-template-columns: 1fr; }
    .cart-summary-aside { position: static; }
}

