/*
Theme Name: Nhà Leo Atelier
Text Domain: nha-leo-atelier
Description: Custom premium bakery storefront for Tiệm Bánh Nhà Leo, focused on kids, adults, corporate cakes, prominent flavors, WooCommerce ordering and custom cake requests.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

html{scroll-behavior:smooth}

/* Floating Zalo customer-support button, consistent on desktop and mobile. */
.leo-float-contact .leo-zalo-contact{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  background:#0068ff!important;
  border-color:#0068ff!important;
  color:#fff!important;
  box-shadow:0 9px 22px rgba(0,104,255,.22)!important;
  text-decoration:none!important;
  white-space:nowrap;
}
.leo-float-contact .leo-zalo-contact:hover,
.leo-float-contact .leo-zalo-contact:focus-visible{
  background:#0054d3!important;
  border-color:#0054d3!important;
}
.leo-float-contact .leo-zalo-contact__icon{
  display:inline-grid;
  place-items:center;
  flex:0 0 23px;
  width:23px;
  height:23px;
  border-radius:7px;
  background:#fff;
  color:#0068ff;
  font:900 17px/1 "Be Vietnam Pro",sans-serif;
}
@media(max-width:600px){
 .leo-float-contact{max-width:calc(100% - 16px);right:8px!important;bottom:8px!important;gap:6px!important}
 .leo-float-contact a{font-size:10px!important;padding:9px 9px!important}
 .leo-float-contact .leo-zalo-contact__icon{flex-basis:19px;width:19px;height:19px;font-size:14px;border-radius:5px}
}


/* LEO Bakery logo in the header and footer.
   This uses the logo image selected in the WordPress media library. */
.leo-header .leo-brand__seal:has(img),
.leo-footer .leo-brand__seal:has(img){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  flex:0 0 64px!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
}
.leo-header .leo-brand__seal img,
.leo-footer .leo-brand__seal img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  border-radius:50%!important;
  object-fit:contain!important;
}
.leo-header .leo-brand,
.leo-footer .leo-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
}
@media(max-width:650px){
  .leo-header .leo-brand__seal:has(img),
  .leo-footer .leo-brand__seal:has(img){
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    flex-basis:54px!important;
  }
  .leo-header .leo-brand,
  .leo-footer .leo-brand{
    gap:9px;
  }
}


/* Runtime WooCommerce grid guard.
   WooCommerce renders product markup dynamically, so these essentials live
   in regular CSS to prevent theme/plugin defaults from collapsing cards. */
.home .woocommerce ul.products,
.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products,
.tax-product_tag .woocommerce ul.products{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px 20px!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  list-style:none!important
}

.home .woocommerce ul.products:before,
.home .woocommerce ul.products:after,
.post-type-archive-product .woocommerce ul.products:before,
.post-type-archive-product .woocommerce ul.products:after,
.tax-product_cat .woocommerce ul.products:before,
.tax-product_cat .woocommerce ul.products:after,
.tax-product_tag .woocommerce ul.products:before,
.tax-product_tag .woocommerce ul.products:after{
  display:none!important;
  content:none!important
}

.home .woocommerce ul.products li.product,
.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product,
.tax-product_tag .woocommerce ul.products li.product{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  display:flex!important;
  flex-direction:column!important
}

.home .woocommerce ul.products li.product>a.woocommerce-LoopProduct-link,
.post-type-archive-product .woocommerce ul.products li.product>a.woocommerce-LoopProduct-link,
.tax-product_cat .woocommerce ul.products li.product>a.woocommerce-LoopProduct-link,
.tax-product_tag .woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{
  display:block!important;
  width:100%!important
}

.home .woocommerce ul.products li.product img,
.post-type-archive-product .woocommerce ul.products li.product img,
.tax-product_cat .woocommerce ul.products li.product img,
.tax-product_tag .woocommerce ul.products li.product img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:4/5!important;
  object-fit:cover!important
}

.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title{
  width:auto!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important
}

@media(max-width:1100px){
  .home .woocommerce ul.products,
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important
  }
}

@media(max-width:700px){
  .home .woocommerce ul.products,
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important
  }
}



/* PRODUCT DETAIL REPAIR — NHA LEO, NOV 2026 */
body.single-product.woocommerce{background:#fbf7f1}
body.single-product.woocommerce *{box-sizing:border-box}
body.single-product.woocommerce .woocommerce-breadcrumb{
  width:min(1180px,calc(100% - 40px));
  margin:28px auto 0;
  padding:0;
  color:#816b60;
  line-height:1.55;
  font-size:12px;
}
body.single-product.woocommerce .woocommerce-breadcrumb a{color:#9b6857;text-decoration:none}
body.single-product.woocommerce div.product{
  display:flow-root;
  width:min(1180px,calc(100% - 40px));
  max-width:100%;
  margin:26px auto 80px;
}
body.single-product.woocommerce div.product div.images{
  float:left;
  width:52%;
  max-width:52%;
  margin:0 0 32px;
  min-width:0;
}
body.single-product.woocommerce div.product div.summary{
  float:right;
  width:44%;
  max-width:44%;
  min-width:0;
  margin:0 0 34px;
  position:relative!important;
  top:auto!important;
  padding:clamp(22px,2.8vw,34px);
  background:#fffdf9;
  border:1px solid #ebdfd5;
  border-radius:23px;
  box-shadow:0 12px 44px rgba(56,39,29,.06);
}
body.single-product.woocommerce div.product .woocommerce-product-gallery{
  opacity:1!important;
  visibility:visible!important;
  max-width:100%;
}
body.single-product.woocommerce div.product .woocommerce-product-gallery__wrapper{
  overflow:hidden;
  border-radius:23px;
  background:#f3eae1;
}
body.single-product.woocommerce div.product div.images img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:contain;
  border-radius:23px;
}
body.single-product.woocommerce div.product .woocommerce-product-gallery__trigger{
  z-index:3;
  top:15px;
  right:15px;
  left:auto;
}
body.single-product.woocommerce div.product .product_title{
  max-width:100%;
  margin:0 0 16px;
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(32px,3.4vw,47px);
  line-height:1.12;
  color:#342720;
  overflow-wrap:anywhere;
}
body.single-product.woocommerce div.product .summary > p.price{
  display:block;
  color:#a65f49;
  font-size:clamp(17px,2vw,23px);
  line-height:1.55;
  font-weight:800;
  overflow-wrap:anywhere;
  margin:0 0 14px;
}
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description{
  color:#705d53;
  line-height:1.7;
  font-size:14px;
  margin:0 0 20px;
}
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description p{margin:0}
body.single-product.woocommerce div.product .summary form.cart{
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
}
body.single-product.woocommerce div.product form.variations_form table.variations{
  width:100%;
  max-width:100%;
  margin:0 0 18px;
  padding:0;
  border:0;
  border-collapse:collapse;
  table-layout:auto;
}
body.single-product.woocommerce div.product form.variations_form .variations tbody,
body.single-product.woocommerce div.product form.variations_form .variations tr,
body.single-product.woocommerce div.product form.variations_form .variations th,
body.single-product.woocommerce div.product form.variations_form .variations td{
  display:block;
  width:100%;
  max-width:100%;
  padding:0;
  margin:0;
  text-align:left;
  background:transparent;
  border:0;
}
body.single-product.woocommerce div.product form.variations_form .variations label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:#4d3d35;
  margin:0 0 9px;
}
body.single-product.woocommerce div.product form.variations_form .variations select,
body.single-product.woocommerce div.product .leo-cake-field :is(input,select,textarea){
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:47px;
  padding:10px 13px;
  border:1px solid #ddcfc4;
  border-radius:11px;
  background:#fff;
  color:#392b25;
  font-family:inherit;
  font-size:13px;
}
body.single-product.woocommerce div.product .variations select{margin:0 0 6px}
body.single-product.woocommerce div.product .reset_variations{display:inline-block!important;margin:5px 0 0!important;font-size:12px}
body.single-product.woocommerce div.product .single_variation_wrap{
  display:block;
  width:100%;
  max-width:100%;
}
body.single-product.woocommerce div.product .single_variation{
  margin:0 0 12px;
  font-weight:700;
  color:#aa624e;
}
body.single-product.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
body.single-product.woocommerce div.product form.cart .woocommerce-variation-add-to-cart.variations_button{
  display:grid!important;
  grid-template-columns:110px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:end!important;
  width:100%;
  min-width:0;
  float:none!important;
}
body.single-product.woocommerce div.product form.cart .leo-cake-options{
  display:block;
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  clear:both;
  margin:8px 0 8px!important;
  padding:clamp(18px,2vw,26px);
  border:1px solid #ead9cd;
  border-radius:17px;
  background:#faf0e7;
}
body.single-product.woocommerce div.product form.cart .leo-cake-options__title{
  margin:0 0 20px;
  font-family:"Fraunces",Georgia,serif;
  font-size:25px;
  line-height:1.2;
  color:#493128;
}
body.single-product.woocommerce div.product form.cart .leo-cake-options__grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 14px;
  align-items:start;
  width:100%;
  max-width:100%;
}
body.single-product.woocommerce div.product form.cart .leo-cake-field{
  display:flex;
  flex-direction:column;
  min-width:0;
  margin:0;
  gap:7px;
}
body.single-product.woocommerce div.product form.cart .leo-cake-field--full{grid-column:1 / -1}
body.single-product.woocommerce div.product form.cart .leo-cake-field label{
  margin:0;
  font-weight:700;
  color:#503b30;
  line-height:1.4;
}
body.single-product.woocommerce div.product .leo-cake-field textarea{
  min-height:110px;
  resize:vertical;
}
body.single-product.woocommerce div.product .leo-cake-field input[type=file]{
  display:block;
  height:auto;
  min-height:55px;
  padding:11px;
  font-size:12px;
  overflow:hidden;
}
body.single-product.woocommerce div.product .leo-cake-field input[type=file]::file-selector-button{
  max-width:100%;
  margin-right:8px;
  padding:8px 11px;
  border:0;
  border-radius:8px;
  color:#fff;
  background:#a96952;
  cursor:pointer;
}
body.single-product.woocommerce div.product .leo-cake-field small{
  display:block;
  font-size:11px;
  line-height:1.5;
  color:#82695d;
  overflow-wrap:anywhere;
}
body.single-product.woocommerce div.product form.cart .woocommerce-variation-add-to-cart > .quantity{
  grid-column:1!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0;
}
body.single-product.woocommerce div.product form.cart .woocommerce-variation-add-to-cart > .quantity::before{
  content:"Số lượng";
  display:block;
  font-size:11px;
  font-weight:700;
  margin:0 0 7px;
  color:#69534a;
}
body.single-product.woocommerce div.product form.cart .quantity .qty{
  display:block;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:52px;
  margin:0!important;
  border:1px solid #ddcfc4;
  border-radius:12px;
  text-align:center;
  font-size:16px;
  background:#fff;
}
body.single-product.woocommerce div.product form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button{
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:52px;
  margin:0!important;
  padding:12px 14px!important;
  border-radius:12px;
  border:0;
  color:#fff!important;
  background:#392a23;
  font-size:13px;
  line-height:1.4;
  white-space:normal;
  text-align:center;
}
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button:not(:disabled):hover{background:#ab6b55}
body.single-product.woocommerce div.product .woocommerce-tabs{
  clear:both;
  width:100%;
  padding-top:24px;
}
body.single-product.woocommerce div.product .woocommerce-tabs .panel{
  max-width:100%;
  border-radius:18px;
}
body.single-product.woocommerce div.product .related.products{
  clear:both;
  width:100%;
  padding-top:30px;
}
body.single-product.woocommerce div.product .product_meta{
  margin-top:25px;
  padding-top:15px;
  font-size:12px;
  color:#877166;
  overflow-wrap:anywhere;
}
@media(max-width:1024px){
  body.single-product.woocommerce div.product div.images,
  body.single-product.woocommerce div.product div.summary{
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 24px!important;
  }
  body.single-product.woocommerce div.product div.summary{
    position:static!important;
    top:auto!important;
  }
  body.single-product.woocommerce div.product div.images{max-width:690px!important;margin-inline:auto!important}
}
@media(max-width:560px){
  body.single-product.woocommerce .woocommerce-breadcrumb,
  body.single-product.woocommerce div.product{width:calc(100% - 28px)}
  body.single-product.woocommerce div.product{margin-top:18px;margin-bottom:50px}
  body.single-product.woocommerce div.product div.summary{padding:20px 16px!important;border-radius:17px}
  body.single-product.woocommerce div.product .product_title{font-size:34px!important}
  body.single-product.woocommerce div.product form.cart .leo-cake-options{padding:16px 13px;margin:7px 0!important}
  body.single-product.woocommerce div.product form.cart .leo-cake-options__grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  body.single-product.woocommerce div.product form.cart .leo-cake-field--full{grid-column:1}
  body.single-product.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{grid-template-columns:86px minmax(0,1fr)!important;gap:10px!important}
  body.single-product.woocommerce div.product form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button{font-size:12px;padding-inline:8px!important}
  body.single-product.woocommerce div.product .woocommerce-tabs .panel{padding:20px 16px}
  body.single-product.woocommerce div.product .related.products > h2{font-size:28px}
}




/* PREMIUM PRODUCT DESCRIPTION — editorial spacing and mobile-safe detail tabs */
body.single-product.woocommerce div.product .woocommerce-tabs {
  display:block!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  max-width:100%!important;
  padding-top:42px!important;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs {
  display:flex!important;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0 0 22px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid #e5d9cf;
  list-style:none!important;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display:none!important;
  border:0!important;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li {
  display:block!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display:none!important;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display:inline-flex!important;
  justify-content:center;
  align-items:center;
  min-height:42px;
  padding:11px 19px!important;
  border:1px solid #e7d9cf;
  border-radius:999px;
  background:#fffdf9;
  color:#695449;
  font-family:"Be Vietnam Pro",sans-serif;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.4;
  text-decoration:none!important;
  white-space:normal;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  background:#392923!important;
  border-color:#392923!important;
  color:#fff!important;
}
body.single-product.woocommerce div.product .woocommerce-tabs .panel {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:0!important;
  margin:0 0 25px;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow-wrap:anywhere;
  color:#554138;
  line-height:1.75;
}
body.single-product.woocommerce div.product .woocommerce-tabs .panel > h2 {
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(28px,3.5vw,38px);
  color:#382822;
  margin:0 0 16px;
  line-height:1.2;
}
body.single-product.woocommerce div.product .woocommerce-tabs .panel > p,
body.single-product.woocommerce div.product .woocommerce-tabs .panel > ul {
  font-size:15px;
  line-height:1.85;
  max-width:850px;
}
body.single-product.woocommerce div.product .woocommerce-tabs .panel > h3 {
  font-family:"Fraunces",Georgia,serif;
  font-size:24px;
  margin:24px 0 10px;
}
body.single-product.woocommerce div.product .woocommerce-tabs .panel > ul {
  padding-left:23px;
}
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes {
  width:100%;
  max-width:780px;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid #e8dcd2;
  border-radius:16px;
  background:#fff;
}
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
  padding:16px 20px;
  border:0;
  background:transparent;
  font-size:14px;
}
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes th {
  width:170px;
  font-weight:800;
  color:#4f392e;
  background:#faf0e8;
}
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes td p {
  margin:0;
}
body.single-product.woocommerce div.product .leo-description-editorial {
  display:block;
  width:100%;
  max-width:100%;
  padding:clamp(24px,4vw,52px);
  background:linear-gradient(135deg,#fffdf9 0%,#fbf3ec 100%);
  border:1px solid #ebded4;
  border-radius:26px;
  box-shadow:0 14px 48px rgba(62,41,32,.045);
}
body.single-product.woocommerce div.product .leo-description-editorial__intro {
  max-width:850px;
  margin:0 0 32px;
}
body.single-product.woocommerce div.product .leo-description-editorial__eyebrow,
body.single-product.woocommerce div.product .leo-description-editorial__index {
  display:inline-block;
  font-size:10px;
  font-weight:800;
  color:#ab715c;
  text-transform:uppercase;
  letter-spacing:.14em;
}
body.single-product.woocommerce div.product .leo-description-editorial__intro h2 {
  max-width:800px;
  margin:13px 0 17px;
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(30px,4.3vw,51px);
  line-height:1.13;
  color:#35251e;
  letter-spacing:-.035em;
}
body.single-product.woocommerce div.product .leo-description-editorial__intro h2 em {
  display:inline;
  font-weight:500;
  color:#b16d58;
}
body.single-product.woocommerce div.product .leo-description-editorial__intro p {
  max-width:720px;
  margin:0;
  font-size:15px;
  line-height:1.9;
  color:#745d50;
}
body.single-product.woocommerce div.product .leo-description-editorial__cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:0 0 27px;
}
body.single-product.woocommerce div.product .leo-description-editorial__card {
  min-width:0;
  padding:26px 22px 27px;
  border:1px solid #ecdcd1;
  border-radius:18px;
  background:#fff;
}
body.single-product.woocommerce div.product .leo-description-editorial__card h3 {
  font-family:"Fraunces",Georgia,serif;
  font-size:22px;
  line-height:1.25;
  margin:14px 0 9px;
  color:#3a2821;
}
body.single-product.woocommerce div.product .leo-description-editorial__card p {
  margin:0;
  font-size:13px;
  line-height:1.8;
  color:#755f54;
}
body.single-product.woocommerce div.product .leo-description-editorial__details {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  border-top:1px solid #e6d7cc;
  padding-top:27px;
}
body.single-product.woocommerce div.product .leo-description-editorial__details h3 {
  margin:9px 0 8px;
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(22px,3vw,31px);
  line-height:1.25;
  color:#382820;
}
body.single-product.woocommerce div.product .leo-description-editorial__details p {
  margin:0;
  font-size:13px;
  line-height:1.7;
  color:#745e50;
}
body.single-product.woocommerce div.product .leo-description-editorial__cta {
  display:inline-flex;
  align-items:center;
  gap:15px;
  justify-content:center;
  min-height:49px;
  padding:12px 22px;
  background:#392923;
  border-radius:999px;
  color:#fff!important;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
body.single-product.woocommerce div.product .leo-description-editorial__cta:hover{background:#b16d58}
body.single-product.woocommerce div.product .woocommerce-Reviews #review_form_wrapper{
  max-width:740px;
  background:#fff;
  border:1px solid #eaded4;
  border-radius:20px;
  padding:22px;
}
body.single-product.woocommerce div.product .woocommerce-Reviews input:not([type=checkbox]),
body.single-product.woocommerce div.product .woocommerce-Reviews textarea,
body.single-product.woocommerce div.product .woocommerce-Reviews select{
  max-width:100%;
  border:1px solid #dfd1c6;
  border-radius:10px;
  padding:10px;
}
@media(max-width:880px){
  body.single-product.woocommerce div.product .leo-description-editorial__cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.single-product.woocommerce div.product .leo-description-editorial__details{grid-template-columns:1fr}
  body.single-product.woocommerce div.product .leo-description-editorial__cta{justify-self:start}
}
@media(max-width:600px){
  body.single-product.woocommerce div.product .woocommerce-tabs{padding-top:26px!important}
  body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs{gap:7px}
  body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a{
    font-size:11px!important;
    padding:9px 13px!important;
    min-height:39px;
  }
  body.single-product.woocommerce div.product .leo-description-editorial{padding:24px 18px;border-radius:18px}
  body.single-product.woocommerce div.product .leo-description-editorial__intro{margin-bottom:23px}
  body.single-product.woocommerce div.product .leo-description-editorial__intro h2{font-size:34px}
  body.single-product.woocommerce div.product .leo-description-editorial__cards{grid-template-columns:1fr;gap:11px}
  body.single-product.woocommerce div.product .leo-description-editorial__card{padding:20px 18px}
  body.single-product.woocommerce div.product .leo-description-editorial__details{padding-top:23px}
  body.single-product.woocommerce div.product .leo-description-editorial__cta{width:100%;white-space:normal}
  body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes th{width:110px}
  body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
  body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes td{padding:12px}
}


/* HOME PRODUCT DISCOVERY REFINEMENT — NOV 2026
   Unlayered rules intentionally outrank Tailwind's layered component CSS. */
.leo-hero{padding:60px 0 77px!important;background:linear-gradient(116deg,#fff8f1 0%,#f5e7dc 60%,#edf0e7 100%)!important}
.leo-hero__grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;gap:clamp(28px,5vw,72px)!important}
.leo-hero h1{max-width:740px;font-size:clamp(49px,5.8vw,78px)!important;line-height:1.08!important;letter-spacing:-.06em}
.leo-hero__lead{max-width:530px;font-size:16px;line-height:1.85}
.leo-hero__visual{min-height:480px!important}
.leo-hero__seal{background:#a9624d!important;width:112px;height:112px;font-size:14px}
.leo-hero__notes{margin-top:23px}
.leo-hero__notes span{font-size:11px}
.leo-hero .leo-btn--dark{box-shadow:0 14px 28px rgba(47,33,28,.14)}
.leo-fast-find{position:relative;z-index:4;margin-top:-37px;background:transparent;padding:0 0 3px}
.leo-fast-find__inner{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(320px,1.3fr);gap:18px 32px;align-items:center;padding:24px 30px;background:#fff;border:1px solid #eadfd5;border-radius:23px;box-shadow:0 24px 65px rgba(58,42,33,.1)}
.leo-fast-find__intro{display:flex;flex-direction:column;gap:7px;min-width:0}
.leo-fast-find__intro .leo-eyebrow{font-size:9px}
.leo-fast-find__intro strong{font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:22px;line-height:1.25;letter-spacing:-.025em;color:#3d2821}
.leo-fast-find__search{display:flex;align-items:center;gap:13px;min-width:0;min-height:57px;padding:6px 7px 6px 18px;background:#faf5ee;border:1px solid #e6d8cd;border-radius:15px}
.leo-fast-find__search svg{flex:0 0 auto;color:#ab725d}
.leo-fast-find__search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#39271f;font-family:inherit;font-size:13px;line-height:1.5}
.leo-fast-find__search input::placeholder{color:#8d7c71;opacity:1}
.leo-fast-find__search button{flex:0 0 auto;min-height:43px;border:0;border-radius:10px;padding:0 20px;background:#3a2922;color:white;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:background .2s}
.leo-fast-find__search button:hover{background:#b36d58}
.leo-fast-find__search button span{font-size:16px;margin-left:5px}
.leo-fast-find__categories{display:flex;grid-column:1/-1;flex-wrap:wrap;gap:9px;padding-top:16px;border-top:1px solid #f0e6df}
.leo-fast-find__categories a{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:36px;padding:9px 14px;border:1px solid #e9dbd0;border-radius:100px;background:#fffdfa;color:#60483d;text-decoration:none;font-size:11px;font-weight:750;line-height:1.2;transition:all .2s}
.leo-fast-find__categories a:hover{border-color:#b77560;background:#fcf1e8;color:#a45e4c}
.leo-fast-find__categories a span{color:#b8735d;font-size:14px}
.leo-shop-front{padding-top:78px!important;padding-bottom:85px!important}
.leo-shop-front__top{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}
.leo-shop-front__top > div{max-width:650px}
.leo-shop-front__top h2{font-family:"Fraunces",Georgia,serif;font-size:clamp(38px,4.8vw,61px);line-height:1.07;letter-spacing:-.04em;margin:12px 0 12px;color:#33251f}
.leo-shop-front__top h2 em,.leo-section-head h2 em{font-weight:500;font-style:italic;color:#aa6a54}
.leo-shop-front__top p{max-width:620px;color:#776157;font-size:14px;line-height:1.8;margin:0}
.leo-shop-front__all{white-space:nowrap;display:inline-flex;align-items:center;gap:14px;padding:12px 0;color:#965d4b;text-decoration:none;font-size:12px;font-weight:850;border-bottom:1px solid currentColor}
.leo-shop-front__all span{font-size:17px}
.leo-shop-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:23px;padding-bottom:12px}
.leo-shop-filter{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e7d8ce;background:#fcf7f2;color:#70584c;min-height:40px;padding:10px 17px;border-radius:999px;font:750 12px/1.3 "Be Vietnam Pro",sans-serif;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.leo-shop-filter:hover{border-color:#bc8774;color:#9c5845}
.leo-shop-filter.is-active{background:#382822;color:white;border-color:#382822}
.leo-home-product-grid--curated{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:19px!important;align-items:stretch}
.leo-home-product-card--curated{display:flex;flex-direction:column!important;min-width:0!important;min-height:0;margin:0!important;border:1px solid #eaded6;border-radius:18px;background:#fff;box-shadow:0 12px 33px rgba(59,40,32,.055);overflow:hidden;transition:transform .2s,box-shadow .2s}
.leo-home-product-card--curated:hover{transform:translateY(-4px);box-shadow:0 17px 43px rgba(59,40,32,.095)}
.leo-home-product-card--curated .leo-home-product-card__image{display:block;position:relative;width:calc(100% - 16px)!important;margin:8px 8px 0!important;aspect-ratio:4 / 4.55!important;border-radius:11px!important;background:#f2e9df;overflow:hidden}
.leo-home-product-card--curated .leo-home-product-card__image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 43%}
.leo-card-image-action{position:absolute;bottom:12px;right:12px;padding:9px 13px;border-radius:999px;background:rgba(255,253,249,.94);color:#4d3128;font-size:10px;font-weight:850;box-shadow:0 5px 17px rgba(35,24,17,.09)}
.leo-home-product-card--curated .leo-home-product-card__body{flex:1;display:flex;flex-direction:column;min-width:0;padding:17px 17px 16px}
.leo-home-product-card--curated .leo-home-product-card__category{font-size:9px;letter-spacing:.1em;line-height:1.4;margin:0 0 7px;color:#ac6d59}
.leo-home-product-card--curated h3{font-family:"Fraunces",Georgia,serif;min-height:47px;margin:0;font-size:20px;line-height:1.2;letter-spacing:-.015em;overflow-wrap:anywhere}
.leo-home-product-card--curated h3 a{text-decoration:none;color:#30221d;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.leo-home-product-card--curated .leo-home-product-card__price{margin:10px 0 14px;padding:0;min-height:23px;color:#a35d47;font-size:13px;font-weight:850;line-height:1.65;overflow-wrap:anywhere}
.leo-home-product-card--curated .leo-home-product-card__button{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:43px;margin:auto 0 0!important;padding:10px 14px!important;border-radius:11px;background:#392922;color:#fff!important;font-size:11px;font-weight:800;line-height:1.35;text-decoration:none}
.leo-home-product-card--curated .leo-home-product-card__button:hover{background:#ab6752}
.leo-home-product-card--curated .leo-home-product-card__button svg{width:18px;height:18px;flex-shrink:0}
.leo-shop-front__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px;padding:23px 27px;border:1px solid #ead9cc;border-radius:15px;background:#fcf3ec;font-size:13px;color:#70584c;line-height:1.65}
.leo-shop-front__bottom a{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-weight:800;color:#a6624d;white-space:nowrap}
.leo-shop-front__empty{background:#f7ece4;padding:28px;border-radius:15px}
#danh-muc.leo-section{padding-top:85px;padding-bottom:85px}
#danh-muc .leo-section-head,#huong-vi .leo-section-head{margin-bottom:32px}
#huong-vi .leo-flavor-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px}
#huong-vi .leo-flavor{display:block;min-width:0;border-radius:18px;overflow:hidden}
#huong-vi .leo-flavor__media{height:210px;overflow:hidden}
#huong-vi .leo-flavor__media img{height:100%;width:100%;object-fit:cover}
#huong-vi .leo-flavor__body{padding:19px 21px}
#huong-vi .leo-flavor h3{font-size:23px}
#huong-vi .leo-flavor p{font-size:12px}
@media(max-width:1100px){
.leo-hero__visual{min-height:430px!important}
.leo-hero h1{font-size:clamp(45px,6vw,66px)!important}
.leo-home-product-grid--curated{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
.leo-hero__grid{grid-template-columns:1fr!important;gap:24px!important}
.leo-hero__visual{min-height:390px!important;max-width:610px;width:100%;margin:0 auto}
.leo-fast-find__inner{grid-template-columns:1fr;padding:23px 24px}
.leo-fast-find__categories{grid-column:1}
.leo-shop-front__top{align-items:start;flex-direction:column;gap:10px}
.leo-home-product-grid--curated{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#huong-vi .leo-flavor-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
.leo-hero{padding:43px 0 66px!important}
.leo-hero h1{font-size:clamp(39px,10.5vw,53px)!important;margin-bottom:16px!important;line-height:1.07!important}
.leo-hero__lead{font-size:14px!important;line-height:1.77!important}
.leo-hero__visual{min-height:315px!important}
.leo-hero__seal{width:85px;height:85px;font-size:11px}
.leo-hero__notes{gap:10px 16px}
.leo-hero__notes span{font-size:10px}
.leo-fast-find{margin-top:-30px}
.leo-fast-find__inner{padding:18px 16px;gap:14px;border-radius:17px}
.leo-fast-find__intro strong{font-size:19px}
.leo-fast-find__search{min-height:51px;padding:4px 4px 4px 11px;gap:9px}
.leo-fast-find__search input{font-size:12px}
.leo-fast-find__search button{min-height:42px;padding:0 12px;font-size:11px}
.leo-fast-find__search button span{display:none}
.leo-fast-find__categories{gap:7px;padding-top:13px}
.leo-fast-find__categories a{font-size:10px;padding:8px 11px;gap:8px}
.leo-shop-front{padding:57px 0 66px!important}
.leo-shop-front__top h2{font-size:clamp(33px,9vw,43px)}
.leo-shop-front__top p{font-size:12px}
.leo-shop-front__all{font-size:11px}
.leo-shop-filters{gap:7px;margin-bottom:16px}
.leo-shop-filter{min-height:35px;padding:8px 12px;font-size:10px}
.leo-home-product-grid--curated{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.leo-home-product-card--curated{border-radius:14px!important}
.leo-home-product-card--curated .leo-home-product-card__image{width:calc(100% - 12px)!important;margin:6px 6px 0!important;border-radius:10px!important}
.leo-card-image-action{display:none}
.leo-home-product-card--curated .leo-home-product-card__body{padding:12px 11px 12px}
.leo-home-product-card--curated h3{font-size:16px;min-height:39px}
.leo-home-product-card--curated .leo-home-product-card__category{font-size:8px}
.leo-home-product-card--curated .leo-home-product-card__price{font-size:11px;line-height:1.5;margin:8px 0 10px}
.leo-home-product-card--curated .leo-home-product-card__button{padding:9px!important;min-height:40px;font-size:10px}
.leo-home-product-card--curated .leo-home-product-card__button svg{width:15px;height:15px}
.leo-shop-front__bottom{flex-direction:column;align-items:flex-start;margin-top:22px;padding:18px;font-size:11px;gap:8px}
.leo-shop-front__bottom a{font-size:12px;white-space:normal}
#danh-muc.leo-section{padding:65px 0}
#huong-vi .leo-flavor-grid{gap:10px!important}
#huong-vi .leo-flavor__media{height:auto;aspect-ratio:4/4.6}
#huong-vi .leo-flavor__body{padding:13px 12px}
#huong-vi .leo-flavor h3{font-size:18px}
#huong-vi .leo-flavor p{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.leo-home-product-card--curated{transition:none}}

/* RELATED PRODUCTS GRID FIX — NOV 2026 */
/* WooCommerce's unlayered default floats override the draft's @layer grid.
   Keep the related cards in a real CSS grid outside @layer. */
body.single-product.woocommerce div.product section.related.products {
  clear:both!important;
  float:none!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:34px 0 0!important;
  padding:38px 0 0!important;
  border-top:1px solid #e7d9cf;
}
body.single-product.woocommerce div.product section.related.products > h2 {
  margin:0 0 26px!important;
  color:#35251e;
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(28px,3.2vw,38px);
  line-height:1.15;
  letter-spacing:-.025em;
}
body.single-product.woocommerce div.product section.related.products ul.products {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:20px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  float:none!important;
  clear:none!important;
}
body.single-product.woocommerce div.product section.related.products ul.products::before,
body.single-product.woocommerce div.product section.related.products ul.products::after {
  display:none!important;
  content:none!important;
}
body.single-product.woocommerce div.product section.related.products ul.products li.product,
body.single-product.woocommerce div.product section.related.products ul.products li.product.first,
body.single-product.woocommerce div.product section.related.products ul.products li.product.last {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  float:none!important;
  clear:none!important;
  position:relative;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:9px 9px 16px!important;
  border:1px solid #eaded6;
  border-radius:19px;
  overflow:hidden;
  background:#fffdf9;
  box-shadow:0 8px 25px rgba(61,40,31,.055);
}
body.single-product.woocommerce div.product section.related.products ul.products li.product > a.woocommerce-LoopProduct-link {
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  flex:1 1 auto;
  text-decoration:none!important;
}
body.single-product.woocommerce div.product section.related.products ul.products li.product > a.woocommerce-LoopProduct-link img {
  display:block!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:4/5!important;
  object-fit:cover!important;
  object-position:center 45%;
  margin:0 0 14px!important;
  padding:0!important;
  border-radius:12px;
  background:#f4ece5;
}
body.single-product.woocommerce div.product section.related.products ul.products li.product .leo-product-category {
  display:block;
  width:100%;
  padding:0 8px;
  margin:0 0 7px;
  color:#ad6f5a;
  font-size:10px;
  font-weight:750;
  letter-spacing:.08em;
  line-height:1.35;
  text-transform:uppercase;
}
body.single-product.woocommerce div.product section.related.products ul.products li.product h2.woocommerce-loop-product__title {
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  width:100%!important;
  min-height:49px!important;
  max-width:100%;
  margin:0 0 12px!important;
  padding:0 8px!important;
  font-family:"Fraunces",Georgia,serif;
  font-size:19px!important;
  font-weight:600;
  line-height:1.27!important;
  color:#33241e;
  overflow-wrap:anywhere!important;
}
body.single-product.woocommerce div.product section.related.products ul.products li.product .price {
  display:block!important;
  width:100%;
  min-height:42px;
  margin:auto 0 0!important;
  padding:0 8px!important;
  color:#a65f49!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.55!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.single-product.woocommerce div.product section.related.products ul.products li.product > a.button {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  flex:0 0 auto;
  width:calc(100% - 16px)!important;
  max-width:100%;
  min-height:44px;
  margin:14px 8px 0!important;
  padding:10px 14px!important;
  background:#35251f!important;
  color:#fff!important;
  border:0!important;
  border-radius:12px!important;
  text-align:center!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.35!important;
  text-decoration:none!important;
}
body.single-product.woocommerce div.product section.related.products ul.products li.product > a.button:hover {
  background:#ae6b55!important;
}
@media(max-width:1080px){
  body.single-product.woocommerce div.product section.related.products ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }
}
@media(max-width:760px){
  body.single-product.woocommerce div.product section.related.products ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body.single-product.woocommerce div.product section.related.products ul.products li.product {
    border-radius:15px;
    padding:7px 7px 12px!important;
  }
  body.single-product.woocommerce div.product section.related.products ul.products li.product h2.woocommerce-loop-product__title {
    font-size:15px!important;
    min-height:38px!important;
    line-height:1.25!important;
    margin-bottom:8px!important;
  }
  body.single-product.woocommerce div.product section.related.products ul.products li.product .price {
    min-height:39px;
    font-size:11px!important;
    line-height:1.5!important;
  }
  body.single-product.woocommerce div.product section.related.products ul.products li.product .leo-product-category {
    font-size:9px;
  }
  body.single-product.woocommerce div.product section.related.products ul.products li.product > a.button {
    width:calc(100% - 12px)!important;
    min-height:40px;
    margin:10px 6px 0!important;
    font-size:11px!important;
    padding:8px 10px!important;
  }
}
@media(max-width:370px){
  body.single-product.woocommerce div.product section.related.products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  body.single-product.woocommerce div.product section.related.products ul.products li.product .leo-product-category{
    font-size:8px;
  }
}
