@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//mazibooks.com/wp-content/themes/mazi/fonts/woodmart-font-1-400.woff2?v=8.3.8") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//mazibooks.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//mazibooks.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//mazibooks.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//mazibooks.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//mazibooks.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//mazibooks.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//mazibooks.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//mazibooks.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Source Sans 3", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--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: "Lato", Arial, Helvetica, sans-serif;
	--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(158,95,62);
	--wd-alternative-color: rgb(184,169,140);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(158,95,62);
	--btn-accented-bgcolor-hover: rgb(184,169,140);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.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: 1600px;
--wd-form-brd-radius: 0px;
--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: 0px;
}

@media (min-width: 1600px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1600px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1600px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


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

/* ================================
Mazi Books - Shared CSS (WoodMart)
Paste once in: WoodMart > Theme Settings > Custom CSS
================================ */

/* ACF / taxonomy small helpers */
.mb-tax a { text-decoration: none; }
.mb-tax a:hover { text-decoration: underline; }
.mb-tax { display: block; margin: 4px 0; }
.vc_acf-label { font-weight: 700; }

/* Global tokens */
:root{
  --mz-max: 980px;
  --mz-radius: 14px;

  /* WoodMart is usually light background => use dark-ish borders */
  --mz-border: rgba(0,0,0,0.12);
  --mz-border-soft: rgba(0,0,0,0.08);
  --mz-bg-soft: rgba(0,0,0,0.02);
}

/* ===== WPBakery page content wrapper (recommended) ===== */
.mz-page{ max-width: var(--mz-max); margin: 0 auto; }
.mz-justify{ text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }

.mz-page p,.mz-page li{ line-height: 1.75; font-size: 16px; }
.mz-page p{ margin: 0 0 14px; }
.mz-page h2{ margin: 0 0 14px; font-size: 30px; line-height: 1.25; }
.mz-page h3{ margin: 18px 0 10px; font-size: 20px; line-height: 1.3; }
.mz-page h4{ margin: 14px 0 8px; font-size: 16px; line-height: 1.35; }
.mz-page ul,.mz-page ol{ margin: 0 0 14px 18px; }
.mz-page a{ text-decoration: underline; }

/* ===== Legacy/article layout (keep if you still use it) ===== */
.mz-article { max-width: var(--mz-max); margin: 0 auto; padding: 24px 16px; line-height: 1.65; }
.mz-header { margin-bottom: 18px; }
.mz-kicker { font-size: 0.95rem; margin: 0 0 6px; opacity: 0.85; }
.mz-article h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 8px; line-height: 1.2; }
.mz-lead { font-size: 1.05rem; margin: 0; max-width: 70ch; }
.mz-section { margin-top: 28px; }
.mz-section h2 { font-size: 1.35rem; margin: 0 0 12px; line-height: 1.3; }

/* Cards / grid */
.mz-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.mz-card{
  grid-column: span 12;
  border: 1px solid var(--mz-border);
  border-radius: var(--mz-radius);
  padding: 14px 14px 12px;
  background: var(--mz-bg-soft);
}
.mz-card h3 { font-size: 1.1rem; margin: 0 0 10px; }
.mz-card ul { margin: 0 0 10px; padding-left: 18px; }
.mz-best { margin: 0; }

/* Tables */
.mz-table-wrap { overflow-x: auto; border-radius: var(--mz-radius); border: 1px solid var(--mz-border); }
.mz-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.mz-table th, .mz-table td { text-align: left; padding: 12px 12px; vertical-align: top; }
.mz-table thead th { font-weight: 700; border-bottom: 1px solid var(--mz-border); background: rgba(0,0,0,0.03); }
.mz-table tbody tr + tr td { border-top: 1px solid var(--mz-border-soft); }

.mz-choices { margin: 0; padding-left: 18px; }
.mz-contact a { text-decoration: underline; }
.mz-footer { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--mz-border-soft); opacity: 0.9; }

/* Responsive */
@media (min-width: 720px){ .mz-card { grid-column: span 6; } }
@media (min-width: 980px){ .mz-card { grid-column: span 4; } }



/* ===== Mazi Books - Mailchimp inline (match sample) ===== */

.mz-newsletter{
  max-width: 520px; /* chỉnh theo vị trí đặt */
}

.mz-newsletter__title{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 10px;
}

.mz-newsletter__row{
  position: relative;
}

.mz-newsletter__row input[type="email"]{
  width: 100%;
  height: 46px;
  border: 1px solid rgba(0,0,0,.25);
  background: #fff;
  color: #111;
  font-size: 14px;
  padding: 0 56px 0 14px; /* chừa chỗ cho nút */
  border-radius: 0;       /* góc vuông như mẫu */
  outline: none;
  box-shadow: none;
}

.mz-newsletter__row input[type="email"]::placeholder{
  color: rgba(0,0,0,.55);
}

.mz-newsletter__btn{
  position: absolute;
  right: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border: 0;
  border-left: 1px solid rgba(0,0,0,.25); /* vạch ngăn giống mẫu */
  background: #2f3a40; /* màu nút */
  color: #fff;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mz-newsletter__btn span{
  font-size: 30px;   /* icon “>” */
  line-height: 1;
  transform: translateY(-1px);
}

/* Hover/focus */
.mz-newsletter__btn:hover{
  filter: brightness(1.08);
}

.mz-newsletter__row input[type="email"]:focus{
  border-color: rgba(47,58,64,.65);
  box-shadow: 0 0 0 4px rgba(47,58,64,.12);
}

/* Optional: ẩn message mặc định nếu muốn tự style (bỏ nếu cần) */
/* .mc4wp-response { margin-top: 10px; } */