/*

     _         _              _                          
    / \  _   _| |_ ___  _ __ | |__   __ _ _ __ _ __ ___  
   / _ \| | | | __/ _ \| '_ \| '_ \ / _` | '__| '_ ` _ \ 
  / ___ \ |_| | || (_) | |_) | | | | (_| | |  | | | | | |
 /_/   \_\__,_|\__\___/| .__/|_| |_|\__,_|_|  |_| |_| |_|
                       |_|                               
 
 * CMS per eCommerce in Farmacia
 * Copyright © 2022
                                                                                                                                       
==============================================================================================*/


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

		Fixes

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

body {
        scroll-behavior: smooth;
    }

/**
* Slick carousel
*/
.slick-track
{
    display: flex !important;
	margin-left:0;
}

.slick-slide
{
    height: inherit !important;
}

@media (min-width: 992px) {
	.sticky-side-div {
		position: sticky;
		top: calc(100px + 1.5rem);
	}
}

[data-meaning="newsletter-signup"]
{
	background-color: var(--vz-newsletter-bg);
}

.fw-500 {
	font-weight: 500;
}

.btn-no-hover:hover {
	background-color: unset;
}

.btn-hover-light:hover {
	background-color: var(--vz-gray-200);
}

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

		LAYOUT

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

/**
* Header info
*/
.navbar-info {
  background: var(--vz-infonav-bg);
  color:  var(--vz-infonav-color);
  border-bottom: 1px solid var(--vz-header-border);
}

/* Small */
@media (max-width: 719px) { 	
	.navbar-info  {
		height: 20px;		
		font-size:12px;		
		padding-top:2px;
	}
}

/* Medium */
@media (min-width: 720px) and (max-width: 959px) { 	
	.navbar-info  {
		height: 24px;	
		font-size:13px;	
		padding-top:4px;
	}
}

/* Large */
@media (min-width: 960px) { 	
	.navbar-info  {
		height: 28px;	
		font-size:13px;	
		padding-top:4px;
	}
}

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

		BANNERS

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

/**
* Horizontal
*/
.banner.banner-horizontal {
    background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
    text-shadow: 2px 0px 4px rgba(0,0,0,0.25);
	margin-bottom: 1.5rem;
}

/* Small */
@media (max-width: 719px) { 	
	.banner.banner-horizontal  {
		min-height: 45vh;
	}
}

/* Medium */
@media (min-width: 720px) and (max-width: 959px) { 	
	.banner.banner-horizontal  {
		min-height: 25vh;
	}
}

/* Large */
@media (min-width: 960px) { 	
	.banner.banner-horizontal  {
		min-height: 25vh;
	}
}

/**
* Vertical
*/
.banner.banner-vertical {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-shadow: 2px 0px 4px rgba(0,0,0,0.25);
    margin-bottom: 1.5rem;
}

/* Small */
@media (max-width: 719px) { 	
    .banner.banner-vertical {
        min-height: 30vh;
    }
}

/* Medium */
@media (min-width: 720px) and (max-width: 959px) { 	
    .banner.banner-vertical {
        min-height: 40vh;
    }
}

/* Large */
@media (min-width: 960px) { 	
    .banner.banner-vertical {
        min-height: 40vh;
    }
}

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

		Page Specific: MANAGE REVIEW

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

body#manage_review .rating-stars {
	font-size: 2rem;
	cursor: pointer;
	display: inline-block;
}

body#manage_review .rating-stars i {
	color: #ddd;
	margin-right: 2px;
	transition: color 0.2s ease;
}

body#manage_review .rating-stars i:hover,
body#manage_review .rating-stars i.active {
	color: #ffc107;
}

body#manage_review .rating-stars i.hover {
	color: #ffeb3b;
}

body#manage_review .admin-reply-section {
	background-color: #f8f9fa;
	border-left: 4px solid #1ab394;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-radius: 0.375rem;
}

body#manage_review .admin-reply-section h5 {
	color: #1ab394;
	margin-bottom: 1rem;
}

body#manage_review .change-request-notice {
	background-color: #fff3cd;
	border: 1px solid #ffecb5;
	color: #664d03;
	padding: 1rem;
	border-radius: 0.375rem;
	margin-bottom: 1.5rem;
}

body#manage_review .change-request-notice .fas {
	color: #f0ad4e;
	margin-right: 0.5rem;
}

body#manage_review .review-form-section {
	background-color: #ffffff;
	border: 1px solid #e9ecef;
	border-radius: 0.375rem;
	padding: 2rem;
	margin: 1.5rem 0;
}

body#manage_review .character-count {
	font-size: 0.875rem;
	color: #6c757d;
	text-align: right;
	margin-top: 0.25rem;
}

body#manage_review .character-count.over-limit {
	color: #dc3545;
	font-weight: 500;
}

body#manage_review .btn-group .btn {
	min-width: 150px;
}

body#manage_review .original-review {
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	padding: 1rem;
	margin-bottom: 1.5rem;
	font-style: italic;
}

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

		Page Specific: CHECKOUT

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

/**
* Main carousel
*/
body#home .main-carousel .item  {
    background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
    text-shadow: 2px 0px 4px rgba(0,0,0,0.25);
}

/* Small */
@media (max-width: 719px) { 	
	body#home .main-carousel .item  {
		min-height: 55vh;
	}
}

/* Medium */
@media (min-width: 720px) and (max-width: 959px) { 	
	body#home .main-carousel .item  {
		min-height: 35vh;
	}
}

/* Large */
@media (min-width: 960px) { 	
	body#home .main-carousel .item  {
		min-height: 55vh;
	}
}

/* Offer specific */
body#home .offer-specific-img  {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

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

		Page Specific: CATEGORY

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

/**
* Main carousel
*/
body#category .main-bg {
    background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
    text-shadow: 2px 0px 4px rgba(0,0,0,0.25);
}

/* Small */
@media (max-width: 719px) { 	
	body#category .main-bg {
		min-height: 45vh;
	}
}

/* Medium */
@media (min-width: 720px) and (max-width: 959px) { 	
	body#category .main-bg {
		min-height: 25vh;
	}
}

/* Large */
@media (min-width: 960px) { 	
	body#category .main-bg {
		min-height: 35vh;
	}
}


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

		Page Specific: PRODUCT

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

body#product #product-tab-description {
	text-align: justify;
}

body#product table td, body#product table th {
    font-size: 12px;
}

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

		Page Specific: AUTH

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


body#auth .auth-page-wrapper .auth-page-content {
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}

body#auth .auth-bg-cover {
    background: linear-gradient(-45deg, var(--vz-auth-1) 50%, var(--vz-auth-2));
}

body#auth .auth-bg-cover>.bg-overlay {
    background-image: url(../images/cover-pattern.png);
    background-position: center;
    background-size: cover;
    opacity: 1;
    background-color: transparent;
}

body#auth .bg-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    opacity: .7;
    background-color: #000;
}

body#auth .auth-one-bg {
    background-image: url(../../../../../../img/auth_bg.jpg);
    background-position: center;
    background-size: cover;
}

body#auth .auth-one-bg .bg-overlay {
    background: -webkit-gradient(linear, left top, right top, from(var(--vz-auth-1)), to(var(--auth-2)));
    background: linear-gradient(to right,var(--vz-auth-1),var(--vz-auth-2));
    opacity: .4;
}

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

		Page Specific: LEAVE REVIEW

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

body#leave_review .rating-stars {
	font-size: 2rem;
	cursor: pointer;
	display: inline-block;
}

body#leave_review .rating-stars i {
	color: #ddd;
	margin-right: 2px;
	transition: color 0.2s ease;
}

body#leave_review .rating-stars i:hover,
body#leave_review .rating-stars i.active {
	color: #ffc107;
}

body#leave_review .rating-stars i.hover {
	color: #ffeb3b;
}

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

		Admin: REVIEWS PRODUCTS

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

.product-thumb {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
}

.product-thumb-sm {
	width: 30px;
	height: 30px;
	object-fit: cover;
	border-radius: 4px;
}

.product-name {
	font-weight: 500;
	color: #333;
}

.product-name-sm {
	font-weight: 500;
	font-size: 0.9em;
	color: #333;
}

#reviews-products .rating-stars {
	display: inline-block;
}

#reviews-products .review-text {
	max-width: 200px;
}

#reviews-products .admin-reply-text {
	max-width: 200px;
}

.top-products-list .product-item {
	padding: 8px;
	background: #f8f9fa;
	border-radius: 4px;
	border: 1px solid #e9ecef;
}

.top-products-list .product-name {
	font-size: 0.95em;
	margin-bottom: 2px;
}

/* Context Menu Dropdown Styles */
.review-actions-dropdown {
	min-width: 220px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.review-actions-dropdown .action-item {
	padding: 8px 16px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.review-actions-dropdown .action-item:hover {
	background-color: #f8f9fa;
}

.review-actions-dropdown .action-item i {
	width: 20px;
	text-align: center;
	margin-right: 8px;
}

/* Admin Reply Modal */
#adminReplyModalProducts .modal-dialog {
	max-width: 800px;
}

#adminReplyModalProducts #modal-rating .fas.fa-star,
#adminReplyModalProducts #modal-rating .far.fa-star {
	color: #f8ac59;
}

#adminReplyModalProducts .checkbox-primary input[type="checkbox"]:checked + label::before {
	background-color: #1ab394;
	border-color: #1ab394;
}

#adminReplyModalProducts .checkbox-warning input[type="checkbox"]:checked + label::before {
	background-color: #f8ac59;
	border-color: #f8ac59;
}

/* Review text expandable styles */
.review-text-expandable,
.admin-reply-expandable {
	cursor: pointer;
	position: relative;
}

.review-text-expandable:hover,
.admin-reply-expandable:hover {
	background-color: #f8f9fa;
}

.expand-link {
	color: #1ab394;
	font-size: 0.85em;
	text-decoration: none;
}

.expand-link:hover {
	text-decoration: underline;
}

/* Statistics Tab Widgets */
.widget.style1 {
	border-radius: 5px;
	padding: 20px;
	margin-bottom: 20px;
	color: white;
}

.widget.style1 h2 {
	margin: 0;
	color: white;
}

.widget.style1 small {
	color: rgba(255, 255, 255, 0.9);
}

.widget.blue-bg {
	background-color: #1c84c6;
}

.widget.lazur-bg {
	background-color: #23c6c8;
}

.widget.navy-bg {
	background-color: #1ab394;
}

.widget.yellow-bg {
	background-color: #f8ac59;
}

.widget.red-bg {
	background-color: #ed5565;
}

.widget.green-bg {
	background-color: #1ab394;
}

.widget.gray-bg {
	background-color: #999;
}

.progress-small {
	height: 10px;
	margin-bottom: 5px;
}

.progress-mini {
	height: 5px;
	margin-top: 5px;
}

.progress-bar-navy {
	background-color: #1ab394;
}

.progress-bar-yellow {
	background-color: #f8ac59;
}

.feed-activity-list .feed-element {
	padding-bottom: 15px;
	border-bottom: 1px solid #e7eaec;
	margin-bottom: 15px;
}

.feed-activity-list .feed-element:last-child {
	border-bottom: none;
}

.stat-percent {
	font-size: 16px;
	margin-bottom: 5px;
}

/* ── Cart toast ──────────────────────────────────────────── */
.cart-toast .btn-secondary {
    background-color: transparent;
    border-color: var(--vz-border-color);
    color: var(--vz-body-color);
}
.cart-toast .btn-secondary:hover,
.cart-toast .btn-secondary:focus {
    background-color: var(--vz-secondary-bg);
    border-color: var(--vz-border-color);
    color: var(--vz-body-color);
}
.cart-toast .btn-primary {
    background-color: var(--vz-success);
    border-color: var(--vz-success);
    color: #fff;
}
.cart-toast .btn-primary:hover,
.cart-toast .btn-primary:focus {
    background-color: var(--vz-success);
    border-color: var(--vz-success);
    color: #fff;
    filter: brightness(.9);
}

/* -------------------------------------------------------------------------------
        PAGE SPECIFIC: content_page.html
/* -----------------------------------------------------------------------------*/

/* Section headings inside a text block sit just above body size — never
   competing with the page <h1>. Applies to the block-level title and to
   h2/h3/h4 authored inside the sanitised rich text. */
body#content_page .content-block-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2rem 0 .6rem;
}
body#content_page .content-block-title:first-child { margin-top: 0; }
body#content_page .content-page-body h2 { font-size: 1.15rem; font-weight: 600; margin: 1.9rem 0 .55rem; }
body#content_page .content-page-body h3 { font-size: 1.02rem; font-weight: 600; margin: 1.4rem 0 .45rem; }
body#content_page .content-page-body h4 { font-size: .95rem; font-weight: 600; margin: 1.1rem 0 .4rem; }
body#content_page .content-page-body > :first-child { margin-top: 0; }
body#content_page .content-page-body p,
body#content_page .content-page-body ul,
body#content_page .content-page-body ol { margin-bottom: 1rem; }
