/* === Linh Men Shop - layout.css === */

@font-face {
  font-family: 'Avo';
  src: url('../fonts/Avo.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Avo';
  src: url('../fonts/Avo.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Avo';
  src: url('../fonts/Avo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --primary-color: #11519B;
  --fs-color-primary: #11519B;
  --fs-color-secondary: #007784;
  --fs-color-alert: #b20000;
  --fs-color-base: #0a0a0a;
  --footer-2-bg: #f23737;
  --button-badge-bg: #000000;
  --header-icon: #0a0101;
}

/* Base Body Font Rule & Prevent Horizontal Scroll */
html, body {
  font-family: 'Avo', "Open Sans", sans-serif !important;
  font-weight: 300 !important;
  font-size: 100%;
  color: #0a0a0a;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

#header ul, #header li,
.header-wrapper ul, .header-wrapper li,
#footer ul, #footer li,
.footer-wrapper ul, .footer-wrapper li,
.footer-widgets ul, .footer-widgets li,
.absolute-footer ul, .absolute-footer li,
.mobile-nav, .mobile-nav li,
.header-nav, .header-nav li,
.widget ul, .widget li {
  list-style: none !important;
  list-style-type: none !important;
}

/* Containers and Grid */
.container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-flow: row wrap;
  margin-left: -15px;
  margin-right: -15px;
  width: auto;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.col {
  flex: 1;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 100%;
  box-sizing: border-box;
}

.large-columns-3 > .col,
.large-columns-3 > div.col,
.large-columns-3 > .widget {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.large-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.mb-0 { margin-bottom: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Flexbox Layout Helpers */
.flex-row {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.flex-col {
  max-height: 100%;
  box-sizing: border-box;
}

.flex-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 0;
}

.flex-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 0;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.flex-grow {
  flex: 1 1 auto;
}

.logo-center .logo {
  margin: 0 30px;
  text-align: center;
  order: 2;
}

.logo-center .flex-left {
  order: 1;
}

.logo-center .flex-right {
  order: 3;
}

/* Responsive Breakpoints (849px) */
@media screen and (max-width: 849px) {
  .hide-for-medium {
    display: none !important;
  }
  .show-for-medium {
    display: flex !important;
  }
  .large-columns-3 > .col,
  .large-columns-3 > div.col,
  .large-columns-3 > .widget {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .header-main .header-inner.container {
    padding: 0 15px !important;
    height: 70px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
  .header-main .show-for-medium.flex-left {
    order: 1 !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    flex: 0 0 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .header-main #logo {
    order: 2 !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    flex: 0 0 300px !important;
    height: 70px !important;
    margin: 0 auto !important;
  }
  .header-main .show-for-medium.flex-right {
    order: 3 !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    flex: 0 0 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  .header-main .mobile-nav {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  .header-main .mobile-nav li {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  .header-main .header-wishlist-icon .wishlist-link {
    height: 70px !important;
    line-height: 70px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header-main .header-wishlist-icon .wishlist-icon {
    font-size: 20px !important;
    color: rgb(10, 1, 1) !important;
    margin: 0 !important;
  }
  .header-main .menu-btn {
    width: 30px !important;
    height: 70px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
  }
  .medium-logo-center .logo {
    order: 2;
    margin: 0 auto;
    text-align: center;
  }
  .medium-logo-center .flex-left {
    order: 1;
    flex: 0 0 auto;
  }
  .medium-logo-center .flex-right {
    order: 3;
    flex: 0 0 auto;
  }
}

@media screen and (min-width: 850px) {
  .show-for-medium {
    display: none !important;
  }
}

/* Header Structure */
#header {
  position: relative;
  width: 100%;
  z-index: 1001;
  background-color: transparent;
}

.header-wrapper {
  width: 100%;
  position: relative;
}

.header-main {
  height: 60px;
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  border-bottom: 0px none;
  width: 100%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 849px) {
  .header-main {
    height: 70px;
  }
}

#logo {
  width: 300px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0 auto;
}

@media screen and (max-width: 849px) {
  #logo {
    width: 300px !important;
    height: 70px !important;
  }
}

#logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

#logo .header-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-decoration: none;
}

#logo .header-logo-main {
  font-family: 'Avo', "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

#logo .header-logo-sub {
  font-family: 'Avo', "Open Sans", sans-serif;
  font-size: 8px;
  font-weight: 300;
  color: #555555;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2px;
  gap: 6px;
}

#logo .header-logo-sub::before,
#logo .header-logo-sub::after {
  content: "";
  height: 1px;
  background-color: #888888;
  flex: 1 1 0%;
}

.header-bottom {
  height: 60px;
  min-height: 60px;
  position: relative;
  z-index: 9;
  background-color: #ffffff;
  border-top: 0px none !important;
  border-bottom: 0px none !important;
  display: flex;
  align-items: center;
  width: 100%;
}

@media screen and (max-width: 849px) {
  .header-bottom {
    display: none !important;
  }
}

.header-bottom-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.header-bottom-nav > li {
  position: relative;
  display: inline-block;
  margin: 0 13px !important;
}

.header-bottom-nav > li:first-child {
  margin-left: 0 !important;
}

.header-bottom-nav > li:last-child {
  margin-right: 0 !important;
}

.header-bottom-nav > li > a {
  color: rgba(74, 74, 74, 0.85);
  font-family: 'Avo', "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.28px;
  line-height: 40px;
  text-transform: uppercase;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
}

.header-bottom-nav > li > a:hover {
  color: #11519B;
}

.header-bottom-nav ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  min-width: 200px;
  z-index: 999;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  text-align: left;
}

.header-bottom-nav li:hover > ul.sub-menu {
  display: block;
}

.header-bottom-nav ul.sub-menu li {
  display: block;
  width: 100%;
  margin: 0;
}

.header-bottom-nav ul.sub-menu li a {
  display: block;
  padding: 8px 16px;
  color: #333333;
  font-size: 13px;
  text-transform: none;
  line-height: 1.4;
  font-weight: 400;
  text-decoration: none;
}

.header-bottom-nav ul.sub-menu li a:hover {
  background-color: #f5f5f5;
  color: #11519B;
}

/* Header Topbar Info & Elements */
.header-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.html_topbar_right,
.html_topbar_right div,
.html_topbar_right a,
.html_topbar_right span {
  font-family: 'Avo', "Open Sans", sans-serif !important;
  font-size: 11.9px !important;
  color: rgb(10, 10, 10) !important;
  line-height: 19.04px !important;
  font-weight: 300 !important;
  text-decoration: none !important;
}

.html_topbar_right i {
  color: rgb(10, 10, 10);
  font-size: 11.9px;
  margin-right: 4px;
}

.header-nav-main .header-wishlist-icon {
  margin: 0 13px 0 0 !important;
}

.header-nav-main .header-search-form {
  margin: 0 0 0 13px !important;
}

.wishlist-link {
  display: flex;
  align-items: center;
  color: rgb(10, 10, 10);
  font-size: 11.2px !important;
  line-height: 40px !important;
  height: 60px;
  text-decoration: none;
}

.wishlist-link span {
  font-size: 11.2px !important;
  color: rgb(10, 10, 10);
  font-weight: 400;
  line-height: 40px !important;
}

.wishlist-link i {
  font-size: 20px !important;
  color: rgb(10, 1, 1);
  margin-left: 5px;
}

/* Header Search Form */
.header-search-form-wrapper {
  display: flex;
  align-items: center;
}

.searchform {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  width: 161px;
}



.searchform input[type="search"] {
  height: 29px !important;
  width: 158px !important;
  padding: 0 30px 0 8.657px !important;
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 99px;
  font-size: 11.543px !important;
  line-height: 18.47px !important;
  outline: none;
  font-family: 'Avo', "Open Sans", sans-serif;
  box-sizing: border-box;
  color: #0a0a0a;
}

.searchform button[type="submit"] {
  position: absolute;
  right: 0;
  top: 0;
  height: 29px !important;
  width: 30px !important;
  padding: 0 6.926px !important;
  background-color: transparent;
  color: rgb(10, 10, 10);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.searchform button[type="submit"] i {
  font-size: 13.85px !important;
}

.searchform button[type="submit"] i {
  font-size: 13px;
  color: rgb(10, 10, 10);
}

/* Mobile Hamburger Button */
#lms-menu-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  color: #0a0a0a;
  line-height: 1;
}

/* Mobile Offcanvas Drawer - completely hidden by default to avoid probe collision */
.lms-mobile-drawer {
  display: none !important;
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 10000;
  box-shadow: 2px 0 12px rgba(0,0,0,0.25);
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.lms-mobile-drawer.active {
  display: block !important;
  left: 0;
}

.lms-mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eeeeee;
}

.lms-mobile-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555555;
}

.lms-mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lms-mobile-drawer ul li {
  border-bottom: 1px solid #f1f1f1;
}

.lms-mobile-drawer ul li a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: #0a0a0a;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
}

.lms-mobile-drawer ul li a:hover {
  color: #11519B;
}

.lms-mobile-drawer ul.sub-menu {
  padding-left: 15px;
  border-top: 1px solid #f1f1f1;
}

.lms-mobile-drawer ul.sub-menu li a {
  font-size: 13px;
  text-transform: none;
}

.lms-overlay {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
}

.lms-overlay.active {
  display: block !important;
}

/* Main Layout & Margin Containment (WP-TH-01c) */
.home #main {
  display: flow-root;
}

#main > *:last-child,
#content > *:last-child,
.content-area > *:last-child,
.home #main p:last-of-type {
  margin-bottom: 0 !important;
}

/* Footer Structure */
.footer-wrapper {
  position: relative;
  width: 100%;
  background-color: #ffffff;
}

.footer-widgets {
  width: 100%;
  min-height: 352px;
  background-color: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 30px 0 0;
  box-sizing: border-box;
}

@media screen and (max-width: 849px) {
  .footer-widgets {
    min-height: 814px;
    padding: 30px 0 0;
  }
}

.footer-widgets .widget {
  margin-bottom: 21px;
}

.footer-widgets .widget-title {
  font-family: 'Avo', "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 15.75px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  margin-bottom: 0px;
  display: inline;
}

.footer-widgets .is-divider.small {
  height: 3px;
  width: 30px;
  background-color: rgba(0,0,0,0.1);
  margin-top: 9.24px;
  margin-bottom: 14px;
  display: block;
}

.footer-widgets table.ft-fa-icon {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 0px none !important;
  margin-bottom: 14px !important;
}

.footer-widgets table.ft-fa-icon td {
  padding: 7px 0px !important;
  font-size: 14px;
  color: #000000;
  line-height: 23.8px;
  vertical-align: middle !important;
  border-bottom: 1px solid #ececec !important;
  border-top: 0px none !important;
  border-left: 0px none !important;
  border-right: 0px none !important;
}

.footer-widgets table.ft-fa-icon td:first-child {
  padding: 7px 7px 7px 0px !important;
  width: 25px !important;
  max-width: 25px !important;
}

.footer-widgets table.ft-fa-icon td:last-child {
  padding: 7px 0px 7px 7px !important;
}

.footer-widgets table.ft-fa-icon td i {
  color: rgb(10, 10, 10);
  font-size: 14px;
  margin: 0px !important;
  width: 18px !important;
  text-align: center;
}

.footer-widgets figure.wp-caption {
  margin: 0 auto 28px !important;
  text-align: center;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.footer-widgets figure.wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-widgets .wp-caption-text,
.footer-widgets figcaption {
  font-size: 12.6px;
  line-height: 20.16px;
  color: rgb(10, 10, 10);
  font-style: italic !important;
  padding: 5.04px;
  margin: 0px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.05) !important;
  display: block !important;
}

.footer-widgets ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 0 !important;
}

.footer-widgets ul li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  border: none;
  margin-bottom: 8.4px;
}

.footer-widgets ul li a {
  display: inline;
  padding: 0;
  color: #000000;
  font-size: 14px;
  line-height: 22.4px;
  text-decoration: none;
}

.footer-widgets ul li a:hover {
  color: #11519B;
}

.absolute-footer {
  width: 100%;
  height: 81px;
  min-height: 81px;
  background-color: #ffffff;
  border-top: 0px none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 0 15px;
  text-align: center !important;
}

.absolute-footer .footer-primary,
.absolute-footer .copyright-footer {
  text-align: center !important;
  float: none !important;
  margin: 0 auto !important;
}

.copyright-footer {
  font-size: 13px;
  color: rgba(0,0,0,0.5);
  text-align: center;
  line-height: 1.6;
}

.copyright-footer strong {
  color: #11519B;
  font-weight: 600;
}

/* Page & Shop Content */
body:not(.home) #content {
  padding-top: 33px;
  padding-bottom: 34px;
}

.page-wrapper {
  padding-top: 20px;
  padding-bottom: 40px;
  min-height: 400px;
}

.shop-page-wrapper {
  padding-top: 0px;
  padding-bottom: 40px;
}

.page-title {
  position: relative;
  border-bottom: 1px solid #ececec;
  margin-bottom: 20px;
}

.page-title-inner {
  min-height: 45px;
  display: flex;
  align-items: center;
}

.woocommerce-breadcrumb, .breadcrumbs {
  font-size: 13px;
  padding: 10px 0;
  color: #777777;
  margin-bottom: 0px;
}

.woocommerce-breadcrumb a, .breadcrumbs a {
  color: #555555;
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover, .breadcrumbs a:hover {
  color: #11519B;
}

/* Secondary sidebar: only visible on single post */
body:not(.single):not(.single-post) #secondary {
  display: none !important;
}

form.cart {
  display: none !important;
}

/* === WP-TH-02c Enhancements === */

/* 1. WordPress Standard Emoji Fix (About page & sitewide) */
img.wp-smiley,
img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

/* 2. Home Page: "Hàng mới về" heading & Tâm Thư section */
.home h3.thin-font,
.home h3.uppercase {
  text-transform: uppercase !important;
  font-weight: 300 !important;
}

.home div[style*="padding-top:10px;padding-bottom:20px"] {
  max-width: 780px !important;
  width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.home div[style*="padding-top:10px;padding-bottom:20px"] p {
  font-size: 16.8px !important;
  line-height: 28.56px !important;
  margin-bottom: 21.84px !important;
  width: 780px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 849px) {
  .home div[style*="padding-top:10px;padding-bottom:20px"] {
    max-width: 360px !important;
    width: 360px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .home div[style*="padding-top:10px;padding-bottom:20px"] h3 {
    margin-top: 50px !important;
    font-size: 16.8px !important;
    line-height: 26.88px !important;
    margin-bottom: 8.4px !important;
  }
  .home div[style*="padding-top:10px;padding-bottom:20px"] p {
    font-size: 16.8px !important;
    line-height: 28.56px !important;
    margin-bottom: 21.84px !important;
    width: 360px !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 549px) {
  #lms-banner-slider,
  .lms-slider,
  .slider-wrapper,
  .lms-slider-container {
    height: 156px !important;
    min-height: 156px !important;
    max-height: 156px !important;
  }
}

/* Home Page: Hàng mới về Product Grid */
.home .wc-block-grid,
.home .wc-block-grid__products {
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.home .wc-block-grid.has-4-columns .wc-block-grid__products {
  display: flex !important;
  flex-wrap: wrap !important;
}

.home .wc-block-grid.has-4-columns .wc-block-grid__product {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  padding: 0 15px 30px !important; /* C6: như cột web cũ (trước: 10px) */
  box-sizing: border-box !important;
}

.home .wc-block-grid__product-image img {
  aspect-ratio: 500 / 650 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
}

/* C5: tên SP + giá khối Hàng mới về giống web cũ (đo 10/11: 14px, nét 300, #0a0a0a/#000, không đậm xanh) */
.home .wc-block-grid__product-title {
  font-size: 14px !important;
  font-weight: 300 !important;
  color: #000 !important;
  line-height: 1.3 !important;
  margin: 0.1em 0 !important;
}
.home .wc-block-grid__product-price,
.home .wc-block-grid__product-price .woocommerce-Price-amount,
.home .wc-block-grid__product-price .woocommerce-Price-currencySymbol,
.home .wc-block-grid__product-price .price-label {
  font-size: 14px !important;
  font-weight: 300 !important;
  color: #0a0a0a !important;
}

/* C6: thẻ SP khối Hàng mới về giống web cũ (đo 10/11: nền trắng, bóng 2 lớp, chữ lề 10px; tim tròn viền 2px #c0c0c0 góc phải ảnh, 1280 hiện khi rê chuột) */
/* bỏ lề trái 20px của lưới + viền trong suốt 8px mặc định khối Woo để cột rộng như cũ (240/165) */
.home .wc-block-grid__products { padding-left: 0 !important; padding-right: 0 !important; }
.home .wc-block-grid__product { border: 0 !important; }
.home .wc-block-grid__product .lms-card {
  position: relative;
  height: 100%;
  background: #fff;
  box-shadow: 0 1px 3px -2px rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
  padding-bottom: 19.6px;
  box-sizing: border-box;
}
.home .lms-card .wc-block-grid__product-title,
.home .lms-card .wc-block-grid__product-price {
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.home .lms-card .lms-loop-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  opacity: 0;
  transition: opacity .3s;
}
.home .lms-card:hover .lms-loop-heart { opacity: 1; }
.home .lms-loop-heart .yith-wcwl-add-to-wishlist { margin: 0 !important; }
.home .lms-loop-heart a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 2px solid #c0c0c0;
  border-radius: 999px;
  color: #c0c0c0 !important;
  background: transparent;
  box-sizing: border-box;
}
.home .lms-loop-heart a span { display: none !important; }
.home .lms-loop-heart svg { width: 13px !important; height: 13px !important; margin: 0 !important; color: #c0c0c0 !important; stroke: #c0c0c0 !important; }
.home .lms-card .wc-block-grid__product-title { padding-top: 9.8px !important; }
.home .lms-card .wc-block-grid__product-price { line-height: 14px !important; margin: 0 !important; }
/* đã thích: tim tô đặc trong cùng vòng tròn, cả vòng là link tới trang yêu thích; ẩn chữ YITH "Product added!/Browse wishlist" */
.home .lms-loop-heart .yith-wcwl-wishlistaddedbrowse {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 27px !important;
  height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #c0c0c0;
  border-radius: 999px;
  box-sizing: border-box;
  background: transparent !important;
}
.home .lms-loop-heart .yith-wcwl-wishlistaddedbrowse .feedback {
  display: flex !important;
  font-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.home .lms-loop-heart .yith-wcwl-wishlistaddedbrowse a {
  position: absolute !important;
  inset: -2px;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  font-size: 0 !important;
  background: transparent !important;
}
.home .lms-card .lms-loop-heart .yith-wcwl-wishlistaddedbrowse .feedback svg { width: 13px !important; height: 13px !important; margin: 0 !important; }
@media screen and (max-width: 849px) {
  .home .lms-card .lms-loop-heart { top: 5px; right: 5px; opacity: 1; }
}

@media screen and (max-width: 849px) {
  .home .wc-block-grid,
  .home .wc-block-grid__products {
    max-width: 390px !important; /* C6: web cũ 390 (trước: 360px) */
  }
  .home .wc-block-grid.has-4-columns .wc-block-grid__product {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 15px 30px !important; /* C6: trước 5px */
  }
}

/* 3. Contact Page Layout (page 449) */
.page-template-page-blank #content,
.page-id-449 #content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

#section_1735647715,
.section.has-parallax {
  position: relative !important;
  width: 100% !important;
  min-height: 550px !important;
  padding-top: 30px !important;
  padding-bottom: 30px !important;
  overflow: hidden !important;
}

.section-bg,
.section-bg.fill {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 0 !important;
}

.section-bg img,
.section-bg .bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 49% 47% !important;
  display: block !important;
}

.section-bg-overlay,
.section-bg-overlay.fill {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  z-index: 1 !important;
}

.section-content,
.section-content.relative {
  position: relative !important;
  z-index: 2 !important;
}

@media screen and (min-width: 850px) {
  .page-id-449 .section-content {
    margin-top: 77.5px !important;
  }
  #row-1674843009 {
    max-width: 1050px !important;
    margin: -20px auto 0 !important;
  }
  #row-1674843009 > .col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 !important;
    display: flex !important;
  }
}

@media screen and (max-width: 849px) {
  #row-1674843009 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: -18px 0 0 0 !important;
  }
  #row-1674843009 > .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    display: flex !important;
  }
}

#row-1674843009 {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: stretch !important;
}

#row-1674843009 > .col > .col-inner,
.page-id-449 .col-inner.text-center,
#col-834496571 > .col-inner {
  background-color: rgba(255, 255, 255, 0.9) !important;
  padding: 30px 20px 10px 30px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

#row-1674843009 h1 {
  font-size: 21px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  margin-bottom: 14px !important;
  text-align: center !important;
}

#row-1674843009 p {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #0a0a0a !important;
}

/* Contact Button */
.page-id-449 a.button.success,
.button.success,
a[href^="tel:"].button.success {
  background-color: rgb(122, 156, 89) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  display: inline-block !important;
  padding: 6px 15px !important;
  height: 35px !important;
  line-height: 23px !important;
  font-size: 13px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15) !important;
}

.page-id-449 a.button.success br {
  display: none !important;
}

/* Contact Form Grid (2 columns @1280, 1 column @390) */
.wpcf7-form .row {
  display: flex !important;
  flex-flow: row wrap !important;
}

.page-id-449 .wpcf7-form fieldset.hidden-fields-container {
  display: none !important;
}

.page-id-449 .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

.page-id-449 .wpcf7-form input[type="text"],
.page-id-449 .wpcf7-form input[type="tel"],
.page-id-449 .wpcf7-form input[type="email"] {
  height: 34px !important;
  background-color: #ffffff !important;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  padding: 0 10px !important;
  font-size: 13.5px !important;
  box-sizing: border-box !important;
  margin-bottom: 14px !important;
  width: 100% !important;
}

.page-id-449 .wpcf7-form textarea {
  height: 120px !important;
  background-color: #ffffff !important;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  padding: 10px !important;
  font-size: 13.5px !important;
  box-sizing: border-box !important;
  margin-bottom: 14px !important;
  width: 100% !important;
}

.page-id-449 .wpcf7-form input[type="submit"] {
  height: 35px !important;
  background-color: rgb(17, 81, 155) !important;
  color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 0 !important;
  padding: 0 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

@media screen and (min-width: 850px) {
  .wpcf7-form .row > .col.medium-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    box-sizing: border-box !important;
  }
  .wpcf7-form .row > .col.small-12:not(.medium-6) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media screen and (max-width: 849px) {
  #row-1674843009 > .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  #row-1674843009 {
    max-width: 360px !important;
    margin: 0 auto !important;
  }
  .wpcf7-form .row > .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* 4. Blog Single & Policy Page (post 11187) */
.blog-single.page-wrapper {
  padding-top: 13px !important;
  padding-bottom: 40px !important;
}

@media screen and (max-width: 849px) {
  .blog-single.page-wrapper {
    padding-top: 19px !important;
    margin-top: 0 !important;
  }
}

.blog-single .large-9 {
  flex: 0 0 75% !important;
  max-width: 75% !important;
  padding-right: 30px !important;
  box-sizing: border-box !important;
}

.blog-single .large-3,
.blog-single .post-sidebar {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  padding-left: 15px !important;
  box-sizing: border-box !important;
}

@media screen and (min-width: 850px) {
  .entry-header .entry-title {
    font-size: 23.8px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 15px 0 !important;
    color: #0a0a0a !important;
  }
}

@media screen and (max-width: 849px) {
  .entry-header .entry-title {
    font-size: 19.6px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 15px 0 !important;
    color: #0a0a0a !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

.entry-category a {
  color: #777777 !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
}

.entry-divider.is-divider.small {
  height: 3px !important;
  width: 30px !important;
  background-color: rgba(0,0,0,0.1) !important;
  margin: 10px 0 20px 0 !important;
}

.blog-single .entry-content h2 {
  font-size: 22.4px !important;
  font-weight: 700 !important;
  line-height: 29.12px !important;
  margin: 25px 0 11.2px 0 !important;
}

.blog-single .entry-content h3 {
  font-size: 17.5px !important;
  font-weight: 700 !important;
  line-height: 28px !important;
  margin: 20px 0 8.75px 0 !important;
}

.blog-single .entry-content p {
  font-size: 14px !important;
  line-height: 26.6px !important;
  margin-bottom: 20px !important;
  color: #333333 !important;
}

.blog-single .entry-content li {
  font-size: 14px !important;
  line-height: 26.6px !important;
  margin-bottom: 5.6px !important;
  color: #333333 !important;
}

.blog-single .entry-content ul,
.blog-single .entry-content ol {
  padding-left: 20px !important;
  margin: 10px 0 20px 0 !important;
}

.blog-share {
  margin: 30px 0 20px 0 !important;
  text-align: center !important;
}

.blog-share .is-divider.medium {
  height: 1px !important;
  width: 100% !important;
  background-color: rgba(0,0,0,0.08) !important;
  margin-bottom: 20px !important;
}

.social-icons a.button.circle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background-color: #f1f1f1 !important;
  color: #333333 !important;
  margin: 0 5px !important;
  text-decoration: none !important;
}

.social-icons a.button.circle:hover {
  background-color: #11519B !important;
  color: #ffffff !important;
}

.single-post #secondary,
.single #secondary {
  display: block !important;
  width: 217px !important;
  min-height: 367px !important;
  height: 367px !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}

@media screen and (max-width: 849px) {
  .single-post #secondary,
  .single #secondary {
    width: 360px !important;
    min-height: 349px !important;
    height: 349px !important;
  }
}

/* Home footer alignment to match old site */
html body.home #main {
  padding-bottom: 378px !important;
}
@media screen and (max-width: 849px) {
  html body.home #main {
    padding-bottom: 508px !important;
  }
}

/* Contact 390 footer alignment to match old site */
@media screen and (max-width: 849px) {
  .page-template-page-blank #main,
  .page-id-449 #main {
    margin-top: -18px !important;
    margin-bottom: 0px !important;
  }
}

.single #secondary .widget-title,
.single-post #secondary .widget-title {
  font-family: 'Avo', "Open Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #666666 !important;
  text-transform: uppercase !important;
  display: inline-block !important;
}

.single #secondary .is-divider.small,
.single-post #secondary .is-divider.small {
  height: 3px !important;
  width: 30px !important;
  background-color: rgba(0,0,0,0.1) !important;
  margin-top: 9px !important;
  margin-bottom: 14px !important;
  display: block !important;
}

.recent-blog-posts-li {
  margin-bottom: 12px !important;
  border-bottom: 1px solid #f1f1f1 !important;
  padding-bottom: 10px !important;
}

.recent-blog-posts-li .recent-blog-posts {
  display: flex !important;
  align-items: flex-start !important;
}

.recent-blog-posts-li .mr-half {
  margin-right: 10px !important;
}

.recent-blog-posts-li a {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #333333 !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}

.recent-blog-posts-li a:hover {
  color: #11519B !important;
}

@media screen and (max-width: 849px) {
  .blog-single .large-9,
  .blog-single .large-3,
  .blog-single .post-sidebar {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .blog-single .post-sidebar {
    margin-top: 30px !important;
  }
}

/* 5. Wishlist Page Styling */
.woocommerce-wishlist #content {
  padding-top: 0 !important;
}

.woocommerce-wishlist h2,
.wishlist-title h2 {
  font-size: 16.8px !important;
  margin: 0 0 8.4px 0 !important;
  padding: 0 !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.wishlist-title {
  margin: 0 0 20px 0 !important;
}

table.wishlist_table {
  font-size: 12.6px !important;
  margin: 0 0 12.6px 0 !important;
  width: 100% !important;
}

td.wishlist-empty {
  text-align: center !important;
  padding: 50px 0px !important;
  font-size: 28px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

@media screen and (max-width: 849px) {
  .wishlist-title,
  .wishlist-empty,
  .yith_wcwl_wishlist_footer {
    text-align: center !important;
  }
  .page-id-38710 .wishlist-title h2 {
    margin-top: 38px !important;
    margin-bottom: 20px !important;
  }
  .page-id-38710 .wishlist_table th.product-price {
    display: none !important;
  }
  .page-id-38710 .wishlist_table th {
    font-size: 10px !important;
    line-height: 14px !important;
    padding: 7px 2px !important;
    height: 29px !important;
  }
  .page-id-38710 .wishlist_table td.wishlist-empty {
    padding: 50px 0 !important;
    height: 174px !important;
  }
  .page-id-38710 .content-area {
    height: 383px !important;
  }
}

/* 5. About Page Layout (page 447) */
.page-id-447 #content {
  padding-top: 0 !important;
}
.page-id-447 #section_362272232,
.page-id-447 .section {
  padding-top: 30px !important;
}
.page-id-447 h3 {
  font-size: 21px !important;
  line-height: 33.6px !important;
  margin-top: 0 !important;
  margin-bottom: 10.5px !important;
}
.page-id-447 p {
  font-size: 16.8px !important;
  line-height: 28.56px !important;
  margin-bottom: 21.84px !important;
  margin-top: 0 !important;
}

@media screen and (max-width: 849px) {
  .page-id-447 h3 {
    font-size: 16.8px !important;
    line-height: 26.88px !important;
    margin-top: 0 !important;
    margin-bottom: 8.4px !important;
  }
  .page-id-447 p {
    font-size: 16.8px !important;
    line-height: 28.56px !important;
    margin-bottom: 21.84px !important;
  }
}

/* Home Tâm Thư spacing on 390 */
@media screen and (max-width: 849px) {
  .home .lms-slider-container {
    margin-bottom: 20px !important;
  }
  .home div[style*="padding-top:10px;padding-bottom:20px"] {
    padding-top: 25px !important;
  }
  .home div[style*="padding-top:10px;padding-bottom:20px"] h3 {
    margin-top: 0 !important;
    margin-bottom: 8.4px !important;
  }
  .home div[style*="padding-top:10px;padding-bottom:20px"] p {
    margin-top: 0 !important;
    margin-bottom: 21.84px !important;
  }
}

/* Policy Page (11187) */
.postid-11187 .entry-header-text h6.entry-category,
.page-wrapper .entry-header-text h6.entry-category {
  font-size: 9.8px !important;
  line-height: 11.76px !important;
  margin: 0 0 4.9px 0 !important;
}
.postid-11187 .entry-header-text h1.entry-title,
.page-wrapper .entry-header-text h1.entry-title {
  font-size: 23.8px !important;
  font-weight: 700 !important;
  line-height: 30.94px !important;
  margin: 0 0 11.9px 0 !important;
}
.postid-11187 .entry-divider.is-divider.small,
.page-wrapper .entry-divider.is-divider.small {
  margin: 14px 0 !important;
  width: 30px !important;
}
.postid-11187 .entry-header-text,
.page-wrapper .entry-header-text {
  padding-bottom: 21px !important;
}
.postid-11187 .entry-content,
.page-wrapper .entry-content {
  margin-top: 36px !important;
}
.postid-11187 .entry-content h3,
.page-wrapper .entry-content h3 {
  margin-top: 0 !important;
  margin-bottom: 8.75px !important;
}
.postid-11187 .entry-content p,
.page-wrapper .entry-content p {
  margin-top: 0 !important;
  margin-bottom: 22.75px !important;
}
@media screen and (max-width: 849px) {
  .postid-11187 .entry-content,
  .page-wrapper .entry-content {
    margin-top: 5px !important;
  }
  .postid-11187 .entry-header-text h1.entry-title,
  .page-wrapper .entry-header-text h1.entry-title {
    font-size: 19.6px !important;
    font-weight: 700 !important;
    line-height: 25.48px !important;
    margin: 0 0 9.8px 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .postid-11187 .entry-content h3,
  .page-wrapper .entry-content h3 {
    font-size: 14px !important;
    line-height: 22.4px !important;
    margin-bottom: 7px !important;
  }
  .postid-11187 .entry-content p,
  .page-wrapper .entry-content p {
    font-size: 14px !important;
    line-height: 26.6px !important;
    margin-bottom: 18.2px !important;
  }
}


