/*
*
* @name Site24 Essentials Main Styles
* @author  Site24
* @version 1.0.0
*/

/*----------------------------
- CSS Map

1. General Settings
2. Brands
3. Searchbar
4. Social Share
5. Swatches
6. Quantity
7. Alerts
8. Whatsapp

----------------------------*/

/*- 1. General Settings -*/
:root{
    --essentials-color-1:#212121;
    --essentials-color-2:#c33;
    --essentials-transition:all .3s linear;
}
/*- 3. Searchbar -*/
#s24-ajax-search-results {
    position: absolute;
    width: 100%;
    background: #fafafa;
    z-index: 99;
    padding: 10px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}
#s24-ajax-search-results .search-item {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

#s24-ajax-search-results .search-item img {
    max-width: 50px;
    border-radius: 5px;
    background: #fff;
}
.widget_product_search {
    position: relative;
}
/*- </3. Searchbar -*/

/*- 4. Social Share -*/
.s24-social-share {
    display: flex !important;
    flex-direction: row;
}

.s24-social-share ul {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    list-style: none;
    margin: 0 0 0 5px;
    padding: 0;
}
.s24-social-share ul li {
    font-size: 20px;
    line-height: 20px;
    color:var(--essentials-color-1);
}
/*- </4. Social Share -*/

/*- 5. Swatches-*/
.s24-swatch .s24-swatch-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 20px;
	margin-bottom:20px;
    align-items: center;
}
.s24-swatch .s24-swatch-item:last-child{
	margin-bottom:0;
}
.s24-swatch .s24-swatch-item .swatch-attribute {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 15px;
}

.s24-swatch .s24-swatch-title {
    font-weight: 700;
    text-transform:capitalize;
}

.s24-swatch {
    padding: 20px 0;
}

.s24-swatch .s24-swatch-item .swatch {
    background: #fff;
    color: #212121;
    text-align: center;
    padding: 5px;
    font-size: 13px;
    border-radius: 5px;
    min-width: 15%;
    border: 2px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all .3s linear;
    font-weight: 500;
    text-transform: capitalize;
}

.s24-swatch .s24-swatch-item .swatch:hover,
.s24-swatch .s24-swatch-item .swatch.active{
    background: var(--essentials-color-2);
    color: #fff;
    padding: 5px 20px;
}
.single-product div.product table.variations{
    display:none !important;
}
/*- </5. Swatches-*/
/*- 6. Quantity -*/
.quantity {
    display: flex;
    align-items: center;
}
.quantity input {
    order: 2;
    background: #fff !important;
    box-shadow: none !important;
    text-align: center !important;
    -webkit-appearance: none !important;
}
.quantity .quantity-minus {
    order: 1;
}  
.quantity .quantity-plus {
    order: 3;
}
.quantity .quantity-minus,
.quantity .quantity-plus{
    background: #eee;
    border-radius: 25px;
    font-size: 26px;
    width: 28px;
    height: 28px;
    color: #212121;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor:pointer;
    transition:var(--essentials-transition);
}
.quantity .quantity-minus{
    line-height:25px;
    align-items:flex-start;
}
.quantity .quantity-minus:hover,
.quantity .quantity-plus:hover{
    background:var(--essentials-color-2) !important;
    color:#fff !important;
}
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin:0
} 
/*- </6. Quantity -*/
/*- 7. Alerts -*/

#swal2-title br {
    display: none;
}

#swal2-title {
    font-size: 20px;
}

.swal2-icon {
    margin-top: 20px;
}
div:where(.swal2-container) div:where(.swal2-popup){
    width:30em;
}
/*- 8. Whatsapp -*/
#essentials-chatbox {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}
#essentials-chatbox a{
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    font-size: 25px;
	box-shadow: 0 0px 10px #25D366;
    border-radius: 50px;
}
#essentials-chatbox svg {
    fill: #fff;
}
.s24-whatsapp-order-button {
    color: #24d366;
    fill: #24d366;
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-direction: row;
    column-gap: 5px;
}

.s24-whatsapp-order-button svg {
    font-size: 25px;
}

.s24-whatsapp-order-button:hover {
    color: #212121;
    fill: #212121;
}