/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
 .enhanced-review-wrapper {
        margin: 30px 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
    
    .enhanced-review-wrapper * {
        box-sizing: border-box;
    }
    
    /* ==================== GRID LAYOUT ==================== */
    .review-display-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .review-display-grid.columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-display-grid.columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .review-display-grid.columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    
    /* ==================== CARD STYLES ==================== */
    .review-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .review-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        transform: translateY(-4px);
    }
    
.bonus-text {
	font-size: 12px;
}
    
    .review-card:hover .review-thumbnail img {
        transform: scale(1.05);
    }
    
    .review-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .review-thumbnail:hover .review-overlay {
        opacity: 1;
    }
    
    .overlay-text {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .review-content {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .review-title {
        margin: 0 0 12px 0;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.4;
    }
    
    .review-title a {
        color: #2c3e50;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .review-title a:hover {
        color: #0ccb3b;
    }
    
    /* ==================== RATING STYLES ==================== */
    .review-rating-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .review-rating-stars {
        position: relative;
        display: inline-block;
        font-size: 18px;
        line-height: 1;
    }
    
    .stars-empty {
        color: #ddd;
    }
    
    .stars-filled {
        position: absolute;
        top: 0;
        left: 0;
        color: #ffc107;
        overflow: hidden;
        width: var(--rating, 0%);
    }
    
    .review-rating-number {
        font-size: 14px;
        font-weight: 600;
        color: #666;
    }
    
    .review-rating-number strong {
        color: #2c3e50;
        font-size: 16px;
    }
    
    /* ==================== BONUS STYLES ==================== */
    .review-bonus {
        background: linear-gradient(135deg, #fff5e6 0%, #ffe0b2 100%);
        padding: 10px 12px;
        border-radius: 8px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #e65100;
        border: 1px solid #ffcc80;
    }
    
    .bonus-icon {
        font-size: 16px;
    }
    
    .bonus-text {
        font-weight: 500;
        flex: 1;
    }
    
    /* ==================== BUTTON STYLES ==================== */
    .review-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: auto;
    }
    
    .btn {
        display: inline-block;
        padding: 12px 20px;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }
    
    .btn-primary {
        background-image: -webkit-linear-gradient(260deg, #0ccb3b, #0ccb3b);
        background-image: linear-gradient(190deg, #0ccb3b, #08a02f);
        color: #fff;
        box-shadow: 0 4px 12px rgba(12, 203, 59, 0.3);
    }
    
    .btn-primary:hover {
        background-image: linear-gradient(190deg, #0bd639, #0ccb3b);
        box-shadow: 0 6px 16px rgba(12, 203, 59, 0.4);
        transform: translateY(-2px);
    }
    
    .btn-secondary {
        background-image: -webkit-linear-gradient(260deg, #52c2ff, #00a6ff);
        background-image: linear-gradient(190deg, #52c2ff, #00a6ff);
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 166, 255, 0.3);
    }
    
    .btn-secondary:hover {
        background-image: linear-gradient(190deg, #6eccff, #0db4ff);
        box-shadow: 0 6px 16px rgba(0, 166, 255, 0.4);
        transform: translateY(-2px);
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* ==================== LIST LAYOUT ==================== */
    .review-display-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .review-list-item {
        display: flex;
        gap: 15px;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    
    .review-list-item:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        transform: translateX(4px);
    }
    
    .review-index {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #00a6ff;
        border-radius: 12px;
        color: #fff;
        font-weight: 700;
        font-size: 20px;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    
    .review-list-content {
        flex: 1;
        display: flex;
        gap: 20px;
    }
    
    .review-list-item .review-thumbnail {
        flex-shrink: 0;
        width: 150px;
        height: 150px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .review-list-item .review-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
		border-radius: 10px;
    }
    
    .review-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .review-pros-cons {
        display: flex;
        gap: 20px;
    }
    
    .review-pros,
    .review-cons {
        flex: 1;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .review-pros li {
        color: #2e7d32;
        font-size: 13px;
        line-height: 1.5;
		margin: 0;
    }
    
    .review-cons li {
        color: #c62828;
        font-size: 13px;
        padding: 4px 0;
        line-height: 1.5;
    }
    
    .review-list-item .review-actions {
        flex-shrink: 0;
        width: 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }
    
    .review-list-item .review-bonus {
        margin-bottom: 0;
        font-size: 12px;
        padding: 8px 10px;
    }
    
    @media (max-width: 768px) {
        .review-list-content {
            flex-direction: column;
        }
        
        .review-list-item .review-thumbnail {
            width: 100%;
            height: 200px;
        }
        
        .review-list-item .review-actions {
            width: 100%;
        }
        
        .review-pros-cons {
            flex-direction: column;
        }
    }
    
    /* ==================== CAROUSEL LAYOUT ==================== */
    .review-display-carousel {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 20px;
        padding: 10px 0;
        scrollbar-width: thin;
        scrollbar-color: #0ccb3b #f0f0f0;
    }
    
    .review-display-carousel::-webkit-scrollbar {
        height: 8px;
    }
    
    .review-display-carousel::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 4px;
    }
    
    .review-display-carousel::-webkit-scrollbar-thumb {
        background: #0ccb3b;
        border-radius: 4px;
    }
    
    .review-carousel-item {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }
    
    .review-carousel-item .review-card {
        height: 100%;
    }
    
    .review-carousel-item .review-thumbnail {
        padding-top: 65%;
    }
    
    .review-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255, 193, 7, 0.95);
        color: #fff;
        padding: 6px 12px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .badge-star {
        font-size: 16px;
    }
    
    .review-bonus-small {
        font-size: 12px;
        color: #e65100;
        padding: 6px 0;
        margin-bottom: 10px;
    }
    
    .review-carousel-item .review-pros {
        list-style: none;
        padding: 0;
        margin: 0 0 12px 0;
        font-size: 13px;
    }
    
    .review-carousel-item .review-pros li {
        color: #2e7d32;
        padding: 3px 0;
    }
    
    /* ==================== NO RESULTS ==================== */
    .no-reviews-found {
        text-align: center;
        padding: 40px 20px;
        color: #666;
        font-size: 16px;
        background: #f5f5f5;
        border-radius: 8px;
    }
    
    /* ==================== ANIMATIONS ==================== */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .review-grid-item,
    .review-list-item,
    .review-carousel-item {
        animation: fadeIn 0.5s ease forwards;
    }
    
    .review-grid-item:nth-child(1),
    .review-list-item:nth-child(1) { animation-delay: 0.1s; }
    .review-grid-item:nth-child(2),
    .review-list-item:nth-child(2) { animation-delay: 0.2s; }
    .review-grid-item:nth-child(3),
    .review-list-item:nth-child(3) { animation-delay: 0.3s; }
    .review-grid-item:nth-child(4),
    .review-list-item:nth-child(4) { animation-delay: 0.4s; }


    @media (max-width: 1024px) {
        .review-display-grid.columns-4 {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .review-display-grid.columns-3,
        .review-display-grid.columns-4 {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 480px) {
        .review-display-grid {
            grid-template-columns: 1fr;
			gap: 10px;
        }
		
		.review-content {
			padding: 10px;
		}
		
		.review-title {
		font-size: 16px;
			line-height: 22px;
		}
		
		.review-index {
			    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 9;
			width: 40px;
			height: 40px;
			font-size: 17px;
		}
    }
.taxonomy-description {
	text-align: left;
}

.menu-item svg {
	height: 19px;
	width: 19px;
	margin-top: -2px;
}

.header-bottom .menu-item svg path {
	fill: white;
}

.header-bottom .menu-item:hover svg path {
	fill: #00a6ff;
}

.nav>.menu-item {
	padding: 0 8px;
	margin: 0;
    border-radius: 100px;
}

.header-bottom .nav>.menu-item:hover {
    background: white;
}

.header-bottom .nav>.menu-item:hover a {
    color: #00a6ff !important;
}

.header-button-1 a {
    background-image: linear-gradient(260deg, #52c2ff, #00a6ff);
    background-image: -webkit-linear-gradient(260deg, #52c2ff, #00a6ff);
    border: 1px solid #ffffff80 !important;
    text-transform: inherit;
    letter-spacing: normal;
    font-weight: 500;
    padding: 0 8px;
    font-size: 14px;
}

.header-button-2 a {
    background-image: linear-gradient(260deg, #0ccb3b, #0ccb3b);
    background-image: -webkit-linear-gradient(260deg, #0ccb3b, #0ccb3b);
    border: 1px solid #ffffff80 !important;
    text-transform: inherit;
    letter-spacing: normal;
    font-weight: 500;
    padding: 0 8px;
    font-size: 14px;
}

.section-promotion .col {
	padding-bottom: 0;
}

.border-15 img {
	border-radius: 15px;
}

.border-100 img {
	border-radius: 100px;
}

header#header {
    background-color: rgb(0, 166, 255);
    border-radius: 0px 0px 50px 50px;
    border-width: 0px 5px 5px;
    border-style: solid;
    border-color: rgb(18, 153, 247);
    border-image: initial;
}

#masthead {
	background-color: rgb(0, 166, 255);
}

.header-wrapper.stuck {
	box-shadow: none;
	border-radius: 0px 0px 50px 50px;
    border-width: 0px 5px 5px;
    border-style: solid;
    border-color: rgb(18, 153, 247);
}

.header-bottom, .header-bg-color {
    border-radius: 0px 0px 50px 50px;
}

.textcontent-scrollbox {
    padding: 25px 20px;
    border-radius: 18px;
	background-color: white;
}

.textcontent-scrollbox .accordion-inner {
	max-height: 400px;
    overflow-y: auto;
}

.textcontent-scrollbox .accordion-inner::-webkit-scrollbar {
    width: 5px; /* độ rộng thanh */
}

.textcontent-scrollbox .accordion-inner::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.textcontent-scrollbox .accordion-inner::-webkit-scrollbar-track {
    background: transparent;
}

.textcontent-scrollbox .accordion-title {
    border-bottom: 1px solid #f1f1f1;
    display: block;
    font-size: 100%;
    padding: 10px 20px 10px 0;
	border-top: none;
}

.textcontent-scrollbox .accordion-title.active {
    background-color: transparent;
    border-color: #f1f1f1 !important;
    color: black !important;
	font-weight: normal;
}

.textcontent-scrollbox .accordion .toggle {
	left: inherit;
    right: 0;
}

.textcontent-scrollbox .toggle i {
    font-size: 20px;
}

.banner.is-selected .banner-bg {
	transform: scale(1.15);
	    margin-top: 3% !important;
}

.banner.is-selected {
	z-index: 999;
}

.banner:not(.is-selected) {
	 transform: scale(0.95);
	    margin-top: 2.5% !important;
}

.banner, .banner-bg {
	border-radius: 10px;
	background-color: transparent !important;
}

.flickity-enabled.is-draggable .flickity-viewport {
    height: 400px !important;
}

.flickity-page-dots {
	margin-bottom: 15px;
}

strong, b {
	font-weight: bold;
}

.section-title-normal span:before {
    content: "";
    background-color: #00a6ff;
    width: 4px;
    height: 1.3em;
    position: absolute;
    left: 0;
    top: .05em;
}

.section-title-normal span {
    padding-left: 15px;
    line-height: 1.4em;
    height: 1.4em;
    font-weight: 700;
    position: relative;
    color: #222;
    border: none;
    text-transform: inherit;
    font-size: 24px;
}

.section-title-normal {
	border: none;
}

.section-title-container {
	margin-bottom: 10px;
}

.section-banner .col {
	padding-bottom: 0;
}

.section-footer-1 {
	padding: 50px 0 0 !important;
}

.section-footer-1 .col {
	padding-bottom: 0;
}

.section-footer-1 img {
    filter: grayscale(100%) brightness(120%);
    transition: .3s;
	opacity: 0.5;
	max-height: 30px;
	width: auto;
}

.section-footer-1 img:hover {
    filter: grayscale(0%);
	opacity: 1;
}

.section-footer-2 {
	padding: 0 !important;
}

.section-footer-2 img {
    filter: grayscale(100%) brightness(120%);
    transition: .3s;
	opacity: 0.5;
	max-height: 30px;
	width: auto;
}

.section-footer-2 img:hover {
    filter: grayscale(0%);
	opacity: 1;
}

.section-footer-3 {
	padding: 0px 0 40px !important;
}

.section-footer-3 .col {
	padding-bottom: 0;
}

.section-footer-3 a span {
    color: #999;
    text-transform: initial;
    font-weight: normal;
    letter-spacing: normal;
    font-size: 14px;
}

.section-footer-3 .row-item .col:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 16px;
    background-color: #ccc;
    top: 15px;
    right: 0;
}

.section-footer-3 .row-item .col:nth-last-child(1):before {
	content: none;
}

.section-footer-3 a.button {
	padding: 0;
	margin: 0;
}

.absolute-footer {
    padding: 15px 0 0 !important;
	font-size: 12.5px;
}

.absolute-footer p {
	margin-bottom: 5px;
}

#footer .text-title {
	font-size: 12.5px;
	font-weight: bold;
	color: #666;
}

.taxonomy-description {
    max-height: 400px;
    overflow-y: auto;
    background: white;
    padding: 20px;
    border-radius: 20px;
	margin: 20px 0;
}

.taxonomy-description::-webkit-scrollbar {
    width: 5px;
}

.taxonomy-description::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.taxonomy-description::-webkit-scrollbar-track {
    background: transparent;
}

.blog-archive .large-10 {
	flex-basis: 100%;
    max-width: 100%;
}

.post-item>.col-inner  {
    background: white;
    border-radius: 20px;
}

.post-item>.col-inner .box-text {
    padding: 20px 10px;
}

.post-item>.col-inner img {
	border-radius: 20px 20px 0 0;
}

.blog-single article {
	background-color: white;
	padding: 40px;
	border-radius: 20px;
}

.blog-single .post-sidebar {
	padding-left: 0;
}

.recent-blog-posts-li .badge-inner {
	border-radius: 5px;
}

.post_comments {
	display: none;
}

.recent-blog-posts-li {
    background-color: white;
    padding: 7px;
    border-radius: 5px;
	margin-bottom: 8px !important;
}

.recent-blog-posts a {
	font-size: 14px;
	margin-bottom: 0;
	margin-bottom: 6px;
	color: #333 !important;
}

.tp-cat-list li {
    list-style: none;
    background: #f1f1f1;
    padding: 5px 15px;
    border-radius: 100px;
    font-size: 12.5px;
}

.tp-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
#masthead {
    border-radius: 0 0 50px 50px;
}

	.flickity-enabled.is-draggable .flickity-viewport {
    height: 150px !important;
}
	.section-promotion .col {
    padding-bottom: 20px;
}
	
	.section-new-content {
		padding: 0 10px;
	}
	
	.textcontent-scrollbox .accordion-inner {
    padding: 20px 0;
}
	.section-footer-1 .col {
    padding-bottom: 20px;
}
	
	.section-footer-3 a span {
    font-size: 12.5px;
}
	
}