/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/





/****************************************************************************
 NUOVO BOX IN HOME PAGE CON LA LISTA DEI PRODOTTI
 ****************************************************************************/

 



	.main_amazon_outer {
	margin-bottom: 10px;
	}

	.main_amazon {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    color: #000;
    width: 100%;
	padding: 20px 20px 10px 20px;
    border-radius: 18px;
    background: #fff;
	}
	
.deals-box-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.main_amazon {
  box-sizing: border-box;
  flex: 1 1 376px;
  max-width: 376px;
  width: 100%;
}

@media (max-width: 1244px) {
  .main_amazon {max-width: unset;}
}


	
	.amazon_first_outer {
	display: inline-block;
	}
	
	.amazon_first {
	width: 100%;
    height: 235px;
    margin: 20px 0px 0px 0px;
    background: #fff;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
        display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ddd;
	}
	
	.amazon_first img {
    max-height: 210px;
    max-width: 80%;
	}
	
		@media (max-width: 670px) {.amazon_first img {max-width: 100%;}}
	
	.amazon_second {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.23536em;
	}
	
	.amazon_second_title {
    height: 104px;
    overflow: hidden;
	}
	
	.amazon_second_title a {color: #000 !important;}
	.amazon_second_title a:hover {color: #0071e3 !important;}

	
	.amazon_second_prezzo {
	margin-top: 15px;
	font-size: 17px;
	width: 49%;
	float: left;
	    height: 60px;
	}
	
	.amazon_third {
	width: 50%;
    text-align: right;
	}
	
	.o-button {
	position: relative;
    right: auto;
    left: auto;
    display: inline-block;
    width: 101%;
    height: 40px;
    margin: 0 auto;
    overflow: hidden;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    line-height: 40px;
    white-space: nowrap;
    text-align: center;
    /* text-transform: uppercase; */
    text-overflow: ellipsis;
    background-color: #0071e3;
    border-radius: 43px;
    cursor: pointer;
    transition: background-color .5s;
    top: 22px;
	}

	.o-button:hover {
    background-color: #007fff;
	}

	.o-button.c-button {
    padding: 0 50px 0 8px;
	}

	.o-button.c-button span.code {
    position: absolute;
    right: 0;
    display: inline-block;
    width: 43px;
    height: 40px;
    padding-top: 2px;
    color: #000;
    line-height: 40px;
    text-align: left;
    background: #e1e1e4;
    box-shadow: inset 7px 0 9px -6px rgba(0, 0, 0, .4);
	}
	
    .coupons_prima_new {
    color: #989BAF;
    line-height: 26px;
    font-size: 15px;
    font-weight: 400;
    }
    
    .coupons_prezzo_scontato_new {
    font-size: 22px;
    color: #51525C;
    width: auto;
    }
    
    .pubblicatofadesk {
	margin-left: -64px;
    margin-top: -30px;
    font-size: 12px;
    background: #f0f0f0;
    padding: 0 12px;
    border-radius: 30px;
    color: #777;
    height: 26px;
    }
	
	.categorie_home {
	width: 100%;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0px;
	}
	
	.categorie_home a {
	color: #0088ff;
	}
	
	
.o-button.c-button span.code {
    position: absolute;
    right: 0;
    display: inline-block;
    width: 43px;
    height: 40px;
    padding-top: 2px;
    color: #000;
    line-height: 40px;
    text-align: left;
    background: #e1e1e4;
    box-shadow: inset 7px 0 9px -6px rgba(0, 0, 0, .4);
}


/****************************************************************************
PAGINAGION
 ****************************************************************************/

 


.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 12px;
  background-color: #f0f0f0;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  min-width: 36px;
  text-align: center;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background-color: #ffd700;
  color: #000;
  border-color: #ccc;
}

.pagination .current {
  background-color: #ffc107;
  color: #000;
  font-weight: 700;
  border-color: #ffa000;
}
