@tailwind base;
@tailwind components;
@tailwind utilities;



.slider-image {
    width: 30%; 
    height: 30%;
    object-fit: cover; 
}

.text-white {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    padding: 0.5rem;
}

.text-gray-large {
    color: #6B7280;
    font-size: 1.5rem;
    font-weight: bold; 
}

.border-white-custom {
    border: 0px solid white; 
}

.big-red-price {
    font-size: 3.0rem;
    color: red;
    display: inline-block;
}

.big-dark-name {
    font-size: 2.5rem;
    color: rgb(0, 0, 0);
}

.product-desc {
    font-size: 1.0rem;
    color: rgb(100, 100, 100);
}

.big-dark-sku {
    font-size: 2.0rem;
    color: rgb(100, 100, 100);
}

.fondo-gris {
    background-color :#8d8d8d;
    color: #ffffff;
}


.message {
    font-size: 1rem; 
    color: rgb(0, 0, 0);   
    margin-left: 10px; 
    display: inline-block;
}

.red-button {
    background-color: #ff0000; 
    color: #ffffff; 
    padding: 8px 16px; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
}

.small-input {
    width: 50px;
    padding: 4px 8px;
    margin-left: 70px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: black; 
    background-image: none; 
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '‹';
    font-size: 30px;
    color: white;
}

.carousel-control-next-icon::before {
    content: '›';
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-65%);
    width: 10%;
    height: auto;
    font-size: 1.5rem;  
}   

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); 
    border-radius: 50%; 
    padding: 10px;
}

.carousel-inner2 {
    position: relative; 
    overflow: hidden; 
    width: 100%; 
    height: 100%;
    white-space: nowrap; 
}

.fondo-gris {
    background-color: gray;
}

.clicked {
    background-color: #f0e68c;
    color: #000; 
}


.fondo-activo {
    background-color: rgb(243, 57, 57);
}

tr.clicked {
    background-color: #0fc908; 
}


.dropdown {
display: inline-block;
position: relative;
}
.dropdown-content {
display: none;
position: absolute;
width: auto;
overflow: auto;
box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
z-index: 1001;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a {
display: block;
color: #000000;
padding: 5px;
text-decoration: none;
}
.dropdown-content a:hover {
color: #FFFFFF;
background-color: #ff2a2afd;
}


.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-inner {
    max-height: 100vh;
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(100%); 
}

.cuadrado {
    border-style: dotted;
    border-width: 2px;
    border-color: #000000;
    position: absolute;
    outline: none;
}
.cuadrado:focus {
    background: rgb(255, 0, 0);
    border-color: rgb(0, 0, 0);
}


.cart-summary {
    display: none;
    position: absolute;
    top: 50px;
    right: 0; 
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 1rem;
}

.cart-item-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#cart-count {
    top: 5px;
    right: 5px;
    color: #ff0000 !important;
    background-color: #f1f1f1 ;
}


.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: rgba(215, 255, 215, 0.3);
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.texto-rojo{
    color: #ff2e17;
}

.texto-rojo:hover {
    color: #ff2e17;
    text-decoration: none;
}

.text-negro {
    color: #333;
    font-size: 1.125rem; 
}

.boton-carrito{
    background: #626363;
    text-decoration: none;
}
