
/* PRODUCT INFO */
.affi_product_discount {
	font-weight: 800;font-size: 16px;
	margin:10px 0;
}


/* RESPONSIVE TABLE ANALYSIS */
.affi_analysis_table {
	width: 100%;
	overflow-x: auto;
	display: block;
	margin-bottom: 50px;
	border-collapse: collapse;
}
.affi_analysis_table th, .affi_analysis_table td {
	padding: 8px;
	text-align: left;
}
.affi_analysis_table tr:nth-child(even) {
	background-color: #f2f2f2;
}

.affi_analysis_table th {
	background-color: #f8f8f8;
	color: #807d7d;;
}
.affi_analysis_table_grade {
	margin: 8px auto;
    color: #b30eb3;
    font-weight: 600;
}
.affi_question{
	display:flex;
	align-items:center;
}
.affi_question_icon {  
    width: 20px;  
    height: 20px;  
    background: #e0e0e0;        /* бледно-серый */  
    border-radius: 50%;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    font-size: 14px;  
    color: #555;                /* цвет вопроса */  
    font-weight: bold;  
    box-sizing: border-box;  
    user-select: none;  
	margin-right: 10px;
}  
.affi_question_text{
	font-weight:500;
}

.affi_figure_caption {
    margin: -50px 0 30px 0;
    font-size: 12px;
    text-align: center;
    z-index: 9000;
    position: relative;
    padding: 8px;
    bottom: -10px;
    background-color: aliceblue;
}

/* PRICE SECTION */
.affi_price_card {  
    background: #faf8f7;  
    border-radius: 20px;  
    padding: 22px 20px 18px 20px;  
    max-width: 400px;  
    font-family: 'Arial', sans-serif;  
    box-sizing: border-box; 
	margin: auto;	
}  
  
.affi_main_row {  
    display: flex;  
	flex-wrap: wrap;
    align-items: center;  
    gap: 8px;  
    margin-bottom: 4px;  
}  
  
.affi_price {  
    color: #1e8c61;  
    font-size: 26px;  
    font-weight: 600;  
    margin-right: 2px;  
}  
  
.affi_currency {  
    color: #1e8c61;  
    font-size: 22px;  
    font-weight: 600;  
    margin-right: 2px;  
}  
  
.affi_pay_icon {  
    width: 24px;  
    height: 24px;  
    background: url('https://cdn-icons-png.flaticon.com/128/633/633652.png') no-repeat center/contain;  
    margin-right: 2px;  
}  
  
.affi_old_price {  
    color: #888;  
    font-size: 20px;  
    text-decoration: line-through;  
    margin-right: 4px;  
}  
  
.affi_discount {  
    color: #888;  
    font-size: 18px;  
}  
  
.affi_split_row {  
    display: flex;  
    align-items: center;  
    justify-content: space-between;  
    margin-bottom: 2px;  
}  
  
.affi_split_icon {  
    width: 30px;  
    height: 30px;  
    margin-right: 6px;  
    background: url('/wp-content/plugins/affiguru-yandex/images/split_icon.png') no-repeat center/contain;  
}  
  
.affi_split_text {  
    color: #222;  
    font-size: 18px;  
    font-weight: bold;  
}  
  
.affi_split_subtext {  
    color: #888;  
    font-size: 15px;  
    margin-left: 38px;  
    margin-bottom: 10px;  
}  
  
.affi_split_month {  
    color: #222;  
    font-size: 14px;  
}  
  
.affi_green_box {  
    background: #a2f3d2;  
    border-radius: 12px;  
    padding: 10px 16px;  
    color: #1e8c61;  
    font-size: 15px;  
    font-weight: 500;  
    margin-bottom: 14px;  
    margin-top: 4px;  
    display: flex;  
    align-items: center;  
    justify-content: flex-start;  
}  
  
.affi_buttons_row {  
    display: flex;  
    gap: 10px;  
    margin-top: 0px;  
}  
  
.affi_button {  
	text-align: center;
    flex: 1;  
    border: none;  
    border-radius: 12px;  
    font-size: 18px;  
    font-weight: bold;  
    padding: 14px 0;  
    cursor: pointer;  
    background: #ede9e6;  
    color: #222;  
    transition: background 0.2s;  
}  
  
.affi_button_yellow {  
    background: #ffe000;  
    color: #3b3b3b;  
}  
a.affi_button_yellow:hover {  
    background: #434242; 
	color: #ede9e6;	
}  

/* CAL TO ACTION TIMER */
.modern-clock {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: bold;
  color: #18181b;
  background: #fcfcfc;
  letter-spacing: 0.05em;
  border-radius: 1em;
  padding: 0.2em 0.8em;
  box-shadow: 0 4px 18px rgba(30, 41, 59, 0.06);
  gap: 0.2em;
  transition: box-shadow 0.2s;
}

.modern-clock span {
  margin: 0 0.13em;
  color: #6366f1;         /* Modern blue accent */
  font-size: 1em;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

/* REVIEWS */
.affi_product_reviews {
    position: relative;
    padding: 30px 20px;
    background-color: #fbfffb;
    border: 1px solid #94f098;
    border-radius: 4px;
    margin: 30px 0 50px 0;
}


/* TOP PRODUCTS SHORTCODE */
.affi-top-products-grid {  
    display: grid;  
    grid-template-columns: repeat(2, 1fr);  
    gap: 10px;  
}  
.affi-top-product-card {  
	position:relative;
    background: #fff;  
    border: 1px solid #eee;  
    border-radius: 5px;  
    padding: 10px;  
    text-align: center;  
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);  
    max-width: 140px;  
    margin: 0 auto;  
}  
.affi_top_product_price {
    position: absolute;
    padding: 2px 7px;
    background-color: #94f68c;
    border-radius: 5px;
    color: #121312;
    right: 0;
    top: 0;
    font-weight: 600;
}
.affi-top-product-card img {  
    max-width: 100%;  
    height: auto;  
    object-fit: contain;  
    margin-bottom: 8px;  
}  
.affi-top-product-title {  
    font-size: 15px;  
    font-weight: 500;  
    color: #333;  
    margin: 0;  
    white-space: nowrap;  
    overflow: hidden;  
    text-overflow: ellipsis;  
}  


/* PRODUCT CARD SMALL SHORTCODE */
.affi-product-card {  
	display: flex;  
	align-items: center;  
	gap: 15px;  
	background: #fafbfc;  
	border-radius: 14px;  
	padding: 18px 24px;  
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);  
	font-family: inherit;  
	max-width: 80%;  
	margin: 18px auto;  
}  
.affi-product-card__img {  
	width: 100px;  
	height: 100px;  
	object-fit: cover;  
	border-radius: 8px;  
	background: #fff;  
	border: 1px solid #eee;  
}  
.affi-product-card__content {  
	flex: 1;  
	min-width: 0;  
}  
.affi-product-card__title {  
	font-size: 1.06em;  
	font-weight: 600;  
	margin-bottom: 7px;  
	color: #222;  
	text-overflow: ellipsis;  
	white-space: nowrap;  
	overflow: hidden;  
}  
.affi-product-card__price {  
	font-size: 1.07em;  
	color: #124d9e;  
	font-weight: 500;  
}  
.affi-product-card__discount {  
	background: #3ea90d;  
	color: #fff;  
	font-size: 0.95em;  
	font-weight: 500;  
	border-radius: 6px;  
	padding: 0px 8px 3px 8px; 
	margin-left: 8px;  
	vertical-align: middle;  
}  
.affi-product-card__cta {  
	display: inline-block;  
	margin-top: 9px;  
	padding: 5px 15px;  
	background: #1967D2;  
	color: #fff;  
	font-size: 0.97em;  
	border-radius: 8px;  
	text-decoration: none;  
	font-weight: 500;  
	transition: background 0.2s;  
}  
.affi-product-card__cta:hover {  
	background: #0F4C94;
	color:#ffdf3b;		
}  

.affi-product-card__reviews {  
	color: #888;  
	font-size: 0.97em;  
	margin-left:7px;
}  

/* STARS */
.affi-product-card__rating {  
	margin-bottom: 4px;  
	font-size: 1em;  
	display: flex;  
	align-items: center;  
}  
.affi-star {  
	font-size: 1.15em;  
	margin-right: 1px;  
	display: inline-block;  
	position: relative;  
}  
.affi-star-empty {  
	color: #eee;  
}  
.affi-star-half {  
	color: #FFD600;  
	position: relative;  
}  
.affi-star-half:after {  
	content: '';  
	position: absolute;  
	right: 0;  
	top: 0;  
	width: 55%;  
	height: 100%;  
	background: #eee;  
	z-index: 2;  
	border-radius: 0 50% 50% 0;  
	display: block;  
}  