:root {
	--wd-text-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 17px;
	--wd-title-font: var(--wd-text-font);
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: var(--wd-title-font);
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: var(--wd-title-font);
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: var(--wd-text-font);
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(226,45,45);
	--wd-alternative-color: rgb(158,43,74);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(226,45,45);
	--btn-accented-bgcolor-hover: rgb(110,14,16);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(6,67,33);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(226,45,45);
	--wd-link-color-hover: rgb(226,45,45);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1356px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}



.wd-page-title {
background-color: #0a0a0a;
}

.whb-general-header {
    background-image: url(https://winewander.vn/wp-content/uploads/2023/03/pattern-lux-3.png);
    background-repeat: repeat;
}
.whb-header-bottom {
	  background-image: url(https://winewander.vn/wp-content/uploads/2023/03/pattern-lux-3.png);
    background-repeat: repeat;
}
.wd-side-hidden{
	   background-image: url(https://winewander.vn/wp-content/uploads/2023/03/pattern-lux-3.png);
    background-repeat: repeat;
}
.footer-container  {
    background-image: url(https://winewander.vn/wp-content/uploads/2023/03/pattern-lux-3.png);
    background-repeat: repeat;
}

.homepage a.wd-entities-title {
	color: #dcdcde;
}
.homepage a.wd-entities-title:hover {
	color: #fff;
}
.homepage .woocommerce-Price-amount {
    color:#f1f1f1;
    font-weight: 400;
}

/*Chỉ cho title product*/
.products .product-grid-item .wd-entities-title {
	font-size: 14px;
  }
@media (max-width: 1024px) {
  html body .products .product-grid-item .wd-entities-title {
	font-size: 14px;
  }
}
@media (max-width: 1024px) {
   html body .main-page-wrapper .product-grid-item .wd-entities-title {
	--title-line-height: 20px;
   }
}
.product_title {
    font-size: 25px;
    line-height: 1.2;
    --page-title-display: block;
}

/*Nút danh mục rượu vang*/
.btn.btn-style-semi-round {
    border-radius: 5px;
    width: 150px;
}
.wd-age-additional-information{
		font-size: 12px;
    margin-top: 20px;
    color: #9c1421;;
		text-align: center;
}
/*Ghi chú*/
blockquote {
    margin-bottom: 20px;
    border-left: 4px solid;
    color: #3A3A3A;
    text-align: left;
    font-size: 17px;
    font-style: italic;
    background: #eff7ff;
    padding: 30px 40px 32px 30px;
		border-radius: 6px;
}
.post-single-page .entry-content .wp-block-quote p {
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    line-height: 2;
}
/*Title product gird*/
.products .product-grid-item .wd-entities-title a {
    color: black;
    font-size: 14px;
}
/*woo count*/
.wd-shop-result-count .woocommerce-result-count {
    margin-bottom: 0;
    font-size: 14px;
}
/*single product labels*/
.single-product .woocommerce-product-gallery .product-labels.labels-rectangular {
    top: 15px;
    right: auto;
    left: 17px;
}
/*modified-date*/
ul.entry-meta-list li.modified-date {
	font-size: 14px; 
	margin-right: 10px;
}

/*Single post*/
.post-single-page .meta-post-categories {
    margin-bottom: 0px;
    font-size: 14px;
}
.post-single-page.has-post-thumbnail .article-inner>.entry-header {
    margin-bottom: 30px;
    display: none;
}
.blog-design-default.has-post-thumbnail .article-body-container {
    margin-top: -25px;
    margin-bottom: 40px;
}
.post-single-page .meta-post-categories {
    margin-bottom: 0px;
    font-size: 14px;
}
.post-single-page .wd-post-cat.wd-style-with-bg {
    display: none;
}
.post-single-page .entry-content h2 {
    padding-bottom: 20px;
		padding-top: 15px;
}
.post-single-page .entry-content h3 {
    padding-bottom: 15px;
		padding-top: 10px;
}

.post-single-page .entry-content p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 2em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
		line-height: 2;
}
.post-single-page .entry-content .wp-block-ub-content-toggle-accordion-title-wrap p {
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    line-height: 2;
}
.post-single-page .entry-content p a {
		margin-bottom: 60px;
    font-size: 110%;
    border-bottom: 2px solid rgb(226,45,45);
}

/*mục lục*/
#ub_table-of-contents-ec14aedc-8237-4bac-9eef-d8a791440223 .ub_table-of-contents-toggle{
	font-size: 80%;
}
/*Time review*/
.woocommerce-review__published-date {
display: none;	
}
/*Contac7*/
.hidden-fields-container {display: none;}

/*product-attributes*/
td.woocommerce-product-attributes-item__value p {
    margin-bottom: 0;
}

/*breadcrumb title product*/
body.single-product .woocommerce-breadcrumb .wd-last {
	display: none;
}
body.single-product .woocommerce-breadcrumb .wd-delimiter:has(+ .wd-last) {
	display: none;
}

.wd-content-layout {
    padding-block-start: 10px;
    padding-block-end: 40px;
}
.single-breadcrumbs-wrapper {
    margin-bottom: 20px;
    font-size: 80%;
}

/* Giảm giá động */
/* Căn giữa nội dung cột "Giá" trong bảng */
.wd-dynamic-discounts th:nth-child(2),
.wd-dynamic-discounts .wd-dd-price {
    text-align: center;
}
/* Tiêu đề cột */
.wd-dynamic-discounts thead th {
    color: #fff;
}



/* Frequently bought together */
.single-product .wd-fbt-product-heading .wd-entities-title{
    display:inline;
    margin-inline-end:15px;
    margin-bottom:0;
    font-size:14px;
    font-weight:400;
}

.single-product .wd-fbt-product .wd-entities-title{
    display:inline-block;
    max-width:230px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* Ẩn giá gạch */
.single-product .wd-fbt-product .price del,
.single-product .wd-fbt-product .price del span{
    display:none!important;
}

/* giá hiện tại */
.single-product .wd-fbt-product .price ins{
    text-decoration:none;
    font-weight:400;
    font-size:14px;
}
/* ==================================================== */
/* 2. CSS cho Chú thích ảnh (wp-block-image figcaption) */
/* ==================================================== */
figure.wp-block-image figcaption {
    font-size: 14px; 
    text-align: center; 
    font-style: italic; 
    color: #777; 
    margin-top: 12px;
    line-height: 1.5;
    padding: 0 15px;
}

/*
 * WineWander
 * Khôi phục style WoodMart cho semantic AJAX add-to-cart button.
 *
 * Phạm vi:
 * - Grid mode
 * - List mode
 * - Replace-button structure
 * - Hover
 * - Keyboard focus
 * - AJAX loading spinner
 */

/* =========================================================
 * 1. RESET GIỚI HẠN CHO ADD-TO-CART BUTTON
 * ========================================================= */

.wd-add-btn > button.add-to-cart-loop {
	-webkit-appearance: none;
	appearance: none;

	position: relative;

	margin: 0;
	border: 0;
	padding: 0;

	font: inherit;
	line-height: inherit;

	text-align: center;
	text-decoration: none;

	cursor: pointer;
}


/* =========================================================
 * 2. STYLE ACCENT DÙNG CHUNG CHO GRID VÀ LIST
 * ========================================================= */

.wd-product.wd-hover-fw-button
.wd-add-btn > button.add-to-cart-loop,

.wd-product.product-list-item
.wd-add-btn > button.add-to-cart-loop {
	border-radius: var(--btn-accented-brd-radius);

	color: var(--btn-accented-color);
	box-shadow: var(--btn-accented-box-shadow);
	background-color: var(--btn-accented-bgcolor);

	text-transform: var(
		--btn-accented-transform,
		var(--btn-transform, uppercase)
	);

	font-weight: var(
		--btn-accented-font-weight,
		var(--btn-font-weight, 600)
	);

	font-family: var(
		--btn-accented-font-family,
		var(--btn-font-family, inherit)
	);

	font-style: var(
		--btn-accented-font-style,
		var(--btn-font-style, unset)
	);
}


/* =========================================================
 * 3. GRID MODE
 * ========================================================= */

.wd-product.wd-hover-fw-button
.wd-add-btn > button.add-to-cart-loop {
	width: 100%;
}


/* =========================================================
 * 4. LIST MODE
 * ========================================================= */

.wd-product.product-list-item
.wd-add-btn > button.add-to-cart-loop {
	width: auto;
	min-height: unset;
}

/*
 * Giữ đúng kích thước nút list mặc định của WoodMart.
 */
.wd-product.product-list-item
.wd-add-btn
button.add-to-cart-loop span {
	padding: 5px 14px;
	min-height: 36px;
	font-size: 12px;
}


/* =========================================================
 * 5. WOODMART REPLACE-BUTTON STRUCTURE
 * ========================================================= */

.wd-add-btn-replace > button.add-to-cart-loop {
	--btn-padding: 0;

	position: relative;
	overflow: hidden;
}

/*
 * Text và các span bên trong.
 */
.wd-add-btn-replace > button.add-to-cart-loop span {
	display: flex;
	align-items: center;
	justify-content: center;

	min-height: inherit;

	transition:
		transform 0.25s ease,
		opacity 0.15s ease;
}

/*
 * WoodMart không hiển thị action-icon HTML ở cấu trúc
 * replace button vì icon được xử lý bằng pseudo-element.
 */
.wd-add-btn-replace
> button.add-to-cart-loop
.wd-action-icon {
	display: none;
}


/* =========================================================
 * 6. ICON HOVER CỦA WOODMART
 * Tương đương selector gốc:
 * .wd-add-btn-replace > a::before
 * ========================================================= */

.wd-add-btn-replace > button.add-to-cart-loop::before {
	content: var(--wd-btn-icon, unset);

	position: absolute;
	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	font-family: "woodmart-font";
	font-weight: 400;
	font-size: 20px;

	transition:
		opacity 0.15s ease,
		transform 0.25s ease;

	transform: translateY(100%);
}


/* =========================================================
 * 7. AJAX LOADING SPINNER
 * Tương đương selector gốc:
 * .wd-add-btn-replace > a::after
 * ========================================================= */

.wd-add-btn-replace > button.add-to-cart-loop::after {
	content: "";

	position: absolute;
	top: calc(50% - 9px);
	inset-inline-start: calc(50% - 9px);

	display: inline-block;

	width: 18px;
	height: 18px;

	border: 1px solid rgba(0, 0, 0, 0);
	border-left-color: currentColor;
	border-radius: 50%;

	vertical-align: middle;

	opacity: 0;

	transition: opacity 0.2s ease;

	animation:
		wd-rotate 450ms infinite linear
		var(--wd-anim-state, paused);
}


/* =========================================================
 * 8. HOVER MÀU NÚT
 * ========================================================= */

.wd-product.wd-hover-fw-button
.wd-add-btn > button.add-to-cart-loop:hover,

.wd-product.product-list-item
.wd-add-btn > button.add-to-cart-loop:hover {
	color: var(
		--btn-accented-color-hover,
		var(--btn-accented-color)
	);

	background-color: var(
		--btn-accented-bgcolor-hover,
		var(--btn-accented-bgcolor)
	);

	box-shadow: var(
		--btn-accented-box-shadow-hover,
		var(--btn-accented-box-shadow)
	);
}


/* =========================================================
 * 9. WOODMART REPLACE-BUTTON HOVER ANIMATION
 * Chỉ chạy trên thiết bị có hover thực.
 * ========================================================= */

@media (hover: hover) and (pointer: fine) {

	.wd-add-btn-replace
	> button.add-to-cart-loop:not(.loading):hover::before {
		transform: translateY(0);
	}

	.wd-add-btn-replace
	> button.add-to-cart-loop:not(.loading):hover span {
		transform: translateY(-100%);
	}
}


/* =========================================================
 * 10. KEYBOARD FOCUS
 * ========================================================= */

.wd-product
.wd-add-btn > button.add-to-cart-loop:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}


/* =========================================================
 * 11. AJAX LOADING STATE
 * ========================================================= */

.wd-product
.wd-add-btn > button.add-to-cart-loop.loading {
	pointer-events: none;
}

/*
 * Ẩn text và icon hover trong lúc AJAX đang chạy.
 */
.wd-add-btn-replace
> button.add-to-cart-loop.loading span,

.wd-add-btn-replace
> button.add-to-cart-loop.loading::before {
	opacity: 0;
}

/*
 * Hiển thị và kích hoạt vòng xoay.
 */
.wd-add-btn-replace
> button.add-to-cart-loop.loading::after {
	--wd-anim-state: running;

	opacity: 1;
}


/* =========================================================
 * 12. DISABLED STATE, NẾU WOOCOMMERCE GẮN DISABLED
 * ========================================================= */

.wd-add-btn > button.add-to-cart-loop:disabled {
	cursor: not-allowed;
	opacity: 0.65;
}

----------------

/* CSS riêng cho khu vực sản phẩm nền đỏ */

/* Tiêu đề sản phẩm */
.custom-red-products .wd-entities-title,
.custom-red-products .wd-entities-title a,
.custom-red-products .woocommerce-loop-product__title {
    color: #fff !important;
}

/* Giá sản phẩm */
.custom-red-products .price,
.custom-red-products .price .amount,
.custom-red-products .price bdi,
.custom-red-products .price ins {
    color: #FFB31C !important;
}

/* Tiêu đề khi rê chuột */
.custom-red-products .wd-entities-title a:hover {
    color: #FFB31C !important;
}

/* WoodMart Load More Button */
body.page-id-1047 a.wd-load-more {
    --btn-color: #ffffff;
    --btn-brd-color: #ffffff;
    --btn-bgcolor: transparent;

    color: #ffffff !important;
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
}

/* Hover */
body.page-id-1047 a.wd-load-more:hover {
    --btn-color-hover: #b52129;
    --btn-bgcolor-hover: #ffffff;

    color: #b52129 !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}


/* Nút liên hệ đặt hàng */
.product-contact-popup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 15px;
    background-color: #c00000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

/* Hiệu ứng khi rê chuột */
.product-contact-popup:hover {
    background-color: #990000;
    color: #ffffff;
}

/* Chiều rộng vùng chứa nút */
.wd-add-btn:has(.product-contact-popup) {
    width: 100%;
}

/* Nút trên trang chi tiết sản phẩm */
.single-product .summary-inner > .product-contact-popup {
    min-height: 48px;
    margin-bottom: 20px;
    font-size: 16px;
}
@media (min-width: 1025px) {
	.post-single-page .entry-content {
    margin-bottom: 60px;
    /*box-shadow: 0 8px 15px rgb(97 109 190 / 10%);*/
    padding: 20px 40px 40px 40px;
		/*border-radius: 3px 3px 3px 3px;*/
}
.single-post .site-content {
    padding: 0 22% 0 22%;
    background-color: #ffff;
    z-index: 1;
}
/*tab-description product*/
#tab-description {
	padding: 0 22% 0 22%;
}

}

@media (min-width: 768px) and (max-width: 1024px) {
	.post-single-page .entry-content {
    margin-bottom: 60px;
    /*box-shadow: 0 8px 15px rgb(97 109 190 / 10%);*/
    padding: 0px 10px 40px 10px;
		/*border-radius: 3px 3px 3px 3px;*/
}

}

