/* Estilos específicos del carrito */

/* Header amarillo LEGO */
.header.shop {
    background: #F6DA01 !important;
    box-shadow: 0 2px 8px rgba(246, 218, 1, 0.2);
}

.header .middle-inner {
    background: #F6DA01 !important;
}

.header .logo img {
    max-height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: filter 0.3s ease;
}

.header .logo img:hover {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Botones y elementos del header */
.header .single-icon {
    color: #222 !important;
    font-weight: 600;
}

.header .total-count {
    background: #222 !important;
    color: #F6DA01 !important;
    border: 2px solid #fff;
}

.header .search-form input {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: #222;
    border-radius: 8px;
}

.header .search-form input:focus {
    border-color: #222;
    background: rgba(255, 255, 255, 0.4);
}

.header .search-form button {
    background: #222 !important;
    color: #F6DA01 !important;
    border: none;
    border-radius: 8px;
}

/* Estilo LEGO para la tabla del carrito */
.shopping-summery thead tr.main-hading {
    background: #F6DA01 !important;
}

.shopping-summery thead tr.main-hading th {
    background: #F6DA01 !important;
    color: #222 !important;
    font-weight: 700 !important;
    padding: 20px 15px !important;
    border: none !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.shopping-summery thead tr.main-hading th:first-child {
    border-radius: 12px 0 0 12px;
}

.shopping-summery thead tr.main-hading th:last-child {
    border-radius: 0 12px 12px 0;
}

/* Estilos de la tabla */
.shopping-summery {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: none !important;
}

.shopping-summery tbody tr {
    border-bottom: 1px solid #f1f1f1;
}

.shopping-summery tbody tr:hover {
    background: rgba(246, 218, 1, 0.05);
}

.shopping-summery tbody td {
    padding: 20px 15px;
    vertical-align: middle;
}

/* Botones de cantidad con estilo LEGO */
.shopping-summery .input-group {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 150px;
    position: relative;
    margin: auto;
}

.shopping-summery .btn-primary {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #F6DA01 !important;
    border: none !important;
    color: #222 !important;
    font-weight: 600 !important;
    border-radius: 50% !important;
    width: 28px;
    height: 28px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    z-index: 2;
}

.shopping-summery .input-group .btn:first-child {
    left: 0;
}

.shopping-summery .input-group .btn:last-child {
    right: 0;
}

.shopping-summery .btn-primary:hover {
    background: #E6CA01 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(246, 218, 1, 0.3);
}

.shopping-summery .form-control {
    width: 80px !important;
    text-align: center !important;
    padding: 5px 25px !important;
    height: 30px !important;
    border: 1px solid #ddd !important;
    border-radius: 20px !important;
    margin: 0 auto !important;
    font-weight: 600 !important;
    color: #222 !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: textfield !important;
    position: relative;
    z-index: 1;
}

.shopping-summery .form-control::-webkit-outer-spin-button,
.shopping-summery .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shopping-summery .ti-minus,
.shopping-summery .ti-plus {
    font-size: 12px;
    line-height: 1;
}

.shopping-summery .input-number:focus {
    border-color: #F6DA01 !important;
    box-shadow: 0 0 0 0.2rem rgba(246, 218, 1, 0.25) !important;
}

/* Ícono de eliminar */
.shopping-summery .remove-icon {
    color: #ff3c5f;
    font-size: 18px;
    transition: all 0.3s ease;
}

.shopping-summery .remove-cart-item:hover .remove-icon {
    color: #ff1744;
    transform: scale(1.1);
}

/* Totales con estilo moderno */
.total-amount .right {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #f1f1f1;
}

.total-amount .right ul {
    margin-bottom: 25px;
}

.total-amount .right ul li {
    display: flex;
    justify-content: space-between;
    align-items: left;
    padding: 15px 0;
    font-weight: 500;
    color: #666;
    font-size: 15px;
}

.total-amount .right ul li:not(:last-child) {
    border-bottom: 1px solid #f1f1f1;
}

.total-amount .right ul li span {
    font-weight: 600;
    color: #222;
}

.total-amount .right ul li.last {
    border-top: 2px solid #f1f1f1;
    margin-top: 10px;
    padding-top: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.total-amount .right ul li.last span {
    color: #007bff;
    font-size: 24px;
}

/* Botones de pago */
.total-amount .right .button5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.total-amount .right .button5 .btn {
    width: 100%;
    padding: 16px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.total-amount .right .button5 .btn:first-child {
    background: #007bff !important;
    color: #fff !important;
}

.total-amount .right .button5 .btn:last-child {
    background: #28a745 !important;
    color: #fff !important;
}

.total-amount .right .button5 .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.total-amount .right .button5 .btn:first-child:hover {
    background: #0056b3 !important;
}

.total-amount .right .button5 .btn:last-child:hover {
    background: #218838 !important;
}
header .shopping-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid rgba(246, 218, 1, 0.2);
}

.header .dropdown-cart-header {
    background: #F6DA01;
    color: #222;
    font-weight: 600;
}

.header .dropdown-cart-header a {
    color: #222 !important;
}

.header .shopping-item .btn.animate {
    background: #007bff !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
}

.header .shopping-item .btn.animate:hover {
    background: #0056b3 !important;
}
