@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,600&display=swap");
/*
Theme Name: Alice Flowers Luxury
Theme URI: https://example.com/alice-flowers-luxury
Author: Alice Flowers
Description: Giao diện cửa hàng hoa cao cấp, tương thích WooCommerce, tông kem - xanh rêu - vàng champagne.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: alice-flowers-luxury
*/
:root{--af-cream:#FAF4EC;--af-cream-dark:#EFE5D7;--af-moss:#344C3B;--af-gold:#C6A15B;--af-text:#303A32;--af-white:#fff;--af-muted:#77796f;--af-border:#e8ded0;--af-shadow:0 14px 40px rgba(52,76,59,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--af-cream);color:var(--af-text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}a{color:var(--af-moss);text-decoration:none}a:hover{color:#1f3327}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.af-container{width:min(1240px,calc(100% - 40px));margin-inline:auto}.af-topbar{background:var(--af-moss);color:#fff;font-size:12px;letter-spacing:.02em}.af-topbar .af-container{display:flex;justify-content:space-between;gap:16px;padding:7px 0}.af-header-main{background:#fffaf3;border-bottom:1px solid var(--af-border)}.af-header-inner{min-height:105px;display:grid;grid-template-columns:220px minmax(180px,1fr) 190px;align-items:center;gap:30px}.af-brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-size:29px;font-weight:bold;line-height:1.05;color:var(--af-moss)}.af-brand img{max-height:76px;width:auto}.af-brand small{display:block;color:var(--af-gold);font:10px Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase;margin-top:5px}.af-search{display:flex;max-width:580px;width:100%;margin:auto}.af-search input{min-width:0;flex:1;border:1px solid var(--af-border);border-radius:30px 0 0 30px;padding:13px 18px;background:#fff}.af-search button,.af-btn,.button,button.single_add_to_cart_button{border:0;background:var(--af-moss);color:#fff;padding:12px 21px;border-radius:4px;cursor:pointer;font-weight:600}.af-search button{border-radius:0 30px 30px 0}.af-phone{text-align:right;font-weight:700;color:var(--af-moss);line-height:1.35}.af-phone small{display:block;font-size:10px;letter-spacing:.13em;color:var(--af-muted)}.af-nav{background:#fff;border-bottom:1px solid var(--af-border)}.af-nav-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:52px}.af-menu{display:flex;gap:28px;align-items:center;list-style:none;margin:0;padding:0}.af-menu li{margin:0}.af-menu a{font-size:14px;font-weight:600;display:block;padding:15px 0}.af-menu a:hover{color:var(--af-gold)}.af-nav-tools{display:flex;gap:18px;align-items:center;font-size:13px;font-weight:600}.af-mobile-toggle{display:none;background:transparent;color:var(--af-moss);border:1px solid var(--af-border)}
.af-hero{padding:34px 0 20px}.af-hero-card{min-height:420px;border-radius:8px;overflow:hidden;background:linear-gradient(90deg,rgba(250,244,236,.96) 0%,rgba(250,244,236,.86) 45%,rgba(250,244,236,.06) 100%),url('assets/hero-flower.jpg') center/cover no-repeat;display:flex;align-items:center;padding:clamp(28px,6vw,82px);border:1px solid rgba(198,161,91,.25)}.af-hero-copy{max-width:560px}.af-eyebrow{color:var(--af-gold);font-size:12px;letter-spacing:.2em;text-transform:uppercase;font-weight:700}.af-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4.5vw,58px);line-height:1.12;color:var(--af-moss);font-weight:500;margin:14px 0}.af-hero p{font-size:17px;color:#5f665e;max-width:490px}.af-btn{display:inline-block;margin-top:14px;border:1px solid var(--af-gold);padding:12px 25px}.af-btn:hover{background:#25392c;color:#fff}.af-section{padding:34px 0}.af-section-head{text-align:center;margin-bottom:25px}.af-section-head .af-eyebrow{display:block}.af-section h2{font-family:Georgia,'Times New Roman',serif;color:var(--af-moss);font-size:clamp(26px,3vw,36px);font-weight:500;line-height:1.2;margin:8px 0}.af-section-head p{color:var(--af-muted);margin:8px auto;max-width:650px}.af-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.af-service{background:#fff;border:1px solid var(--af-border);padding:20px;border-radius:6px;text-align:center}.af-service .af-icon{font-size:25px;color:var(--af-gold)}.af-service strong{display:block;color:var(--af-moss);margin:7px 0 2px}.af-service span{font-size:13px;color:var(--af-muted)}.af-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.af-category{position:relative;min-height:190px;background:linear-gradient(135deg,#e8e8d9,#f7e5d9);border-radius:7px;overflow:hidden;display:flex;align-items:end;padding:20px;border:1px solid var(--af-border)}.af-category:before{content:'✿';position:absolute;right:14px;top:0;font-size:100px;color:rgba(198,161,91,.15)}.af-category h3{position:relative;margin:0;color:var(--af-moss);font:24px Georgia,serif}.af-category a{position:absolute;inset:0}.af-category:hover{transform:translateY(-2px);box-shadow:var(--af-shadow)}.af-products-section{background:#fffaf3;border-block:1px solid var(--af-border)}.af-product-grid,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px!important;list-style:none;margin:0!important;padding:0!important}.af-product-card,.woocommerce ul.products li.product{background:#fff;border:1px solid var(--af-border);border-radius:7px;overflow:hidden;padding:0!important;margin:0!important;width:auto!important;float:none!important;box-shadow:0 3px 14px rgba(30,50,36,.03);transition:transform .2s,box-shadow .2s}.af-product-card:hover,.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--af-shadow)}.af-product-image,.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1/1;object-fit:cover;margin:0!important;background:#f2eade}.af-product-info{padding:14px}.af-product-title,.woocommerce ul.products li.product .woocommerce-loop-product__title{font:17px/1.35 Georgia,serif!important;color:var(--af-moss);padding:0!important;margin:0 0 8px!important;min-height:45px}.af-price,.woocommerce ul.products li.product .price{font-weight:700!important;color:#8b6530!important;margin:7px 0 12px!important}.af-product-info .button,.woocommerce ul.products li.product .button{font-size:12px!important;padding:9px 12px!important;margin:0!important}.af-view-more{text-align:center;margin-top:25px}.af-occasion-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.af-occasion{background:#fff;border:1px solid var(--af-border);padding:22px;border-radius:7px}.af-occasion h3{font:22px Georgia,serif;color:var(--af-moss);margin:5px 0}.af-occasion p{font-size:14px;color:var(--af-muted);margin:5px 0 12px}.af-story{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.af-story-art{min-height:320px;border-radius:8px;background:linear-gradient(135deg,#e2e8d8,#f2d5c8);display:grid;place-items:center;color:rgba(52,76,59,.5);font-size:120px}.af-story h2{font:38px/1.2 Georgia,serif;color:var(--af-moss);font-weight:500}.af-story p{color:#62675f}.af-cta{background:var(--af-moss);color:#fff;padding:34px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;gap:20px}.af-cta h2{font:30px Georgia,serif;margin:0}.af-cta p{margin:5px 0 0;color:#e6e7de}.af-cta .af-btn{background:var(--af-cream);color:var(--af-moss);white-space:nowrap}.af-footer{margin-top:44px;background:#26392d;color:#f7f2e9;padding:42px 0 18px}.af-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}.af-footer h3{font:22px Georgia,serif;color:#fff;margin-top:0}.af-footer a{color:#f3e8d5}.af-footer p,.af-footer li{font-size:14px;color:#e1e3d9}.af-footer ul{list-style:none;padding:0;margin:0}.af-footer li{margin:7px 0}.af-copyright{border-top:1px solid rgba(255,255,255,.16);margin-top:28px;padding-top:15px;font-size:12px;color:#d5d8ce}.af-page{padding:35px 0 55px;min-height:45vh}.af-page-card{background:#fff;border:1px solid var(--af-border);border-radius:8px;padding:clamp(20px,4vw,42px);box-shadow:var(--af-shadow)}.entry-title,.woocommerce-products-header__title,.woocommerce div.product .product_title{font:clamp(28px,3vw,38px)/1.2 Georgia,serif;color:var(--af-moss)}.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--af-muted)}.woocommerce div.product div.images img{border-radius:7px}.woocommerce div.product .summary{background:#fff;padding:24px;border:1px solid var(--af-border);border-radius:7px}.woocommerce div.product form.cart{display:flex;gap:10px;flex-wrap:wrap}.woocommerce div.product form.cart .quantity .qty{padding:10px;border:1px solid var(--af-border);border-radius:4px}.woocommerce table.shop_table,.woocommerce-checkout #payment{border-color:var(--af-border)!important;border-radius:6px}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{border:1px solid var(--af-border);padding:11px;border-radius:4px;background:#fff}.woocommerce-message,.woocommerce-info{border-top-color:var(--af-gold)!important;background:#f7f4ec}.woocommerce-message::before,.woocommerce-info::before{color:var(--af-moss)!important}.woocommerce span.onsale{background:var(--af-gold);color:#fff}.woocommerce nav.woocommerce-pagination ul{border:0}.woocommerce nav.woocommerce-pagination ul li{border:0;margin:2px}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{background:#fff;border:1px solid var(--af-border);border-radius:3px}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--af-moss);color:#fff}.woocommerce #reviews #comments ol.commentlist li .comment-text{border-color:var(--af-border)}.af-content-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:25px}.af-shop-sidebar{background:#fff;border:1px solid var(--af-border);padding:20px;border-radius:7px;height:max-content}.af-shop-sidebar h3{font:22px Georgia,serif;color:var(--af-moss);margin-top:0}.af-shop-sidebar ul{list-style:none;padding:0}.af-shop-sidebar li{padding:7px 0;border-bottom:1px solid #f0e9df}.af-shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.af-shop-toolbar .woocommerce-result-count{margin:0}.af-empty{padding:25px;background:#fff;border-radius:7px;border:1px solid var(--af-border)}
@media(max-width:1000px){.af-header-inner{grid-template-columns:180px 1fr;gap:18px;padding:15px 0}.af-phone{display:none}.af-product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.af-category-grid,.af-occasion-grid{grid-template-columns:repeat(2,1fr)}.af-footer-grid{grid-template-columns:repeat(2,1fr)}.af-content-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:680px){.af-container{width:min(100% - 28px,1240px)}.af-topbar .af-container{justify-content:center;text-align:center}.af-topbar .af-container span:last-child{display:none}.af-header-inner{grid-template-columns:1fr auto;min-height:auto;padding:15px 0}.af-brand{font-size:24px}.af-brand img{max-height:56px}.af-search{grid-column:1/-1;grid-row:2}.af-mobile-toggle{display:block;padding:8px 12px}.af-nav-inner{display:block;padding:0}.af-menu{display:none;flex-direction:column;align-items:stretch;gap:0;padding:8px 0}.af-menu.is-open{display:flex}.af-menu a{padding:10px 0;border-top:1px solid #f0e9df}.af-nav-tools{padding:12px 0}.af-hero{padding-top:16px}.af-hero-card{min-height:390px;background-position:65% center;padding:24px;background-image:linear-gradient(90deg,rgba(250,244,236,.97),rgba(250,244,236,.78)),url('assets/hero-flower.jpg')}.af-hero p{font-size:15px}.af-section{padding:25px 0}.af-service-grid{grid-template-columns:repeat(2,1fr)}.af-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}.af-product-info{padding:10px}.af-product-title,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important}.af-category-grid,.af-occasion-grid{grid-template-columns:repeat(2,1fr);gap:10px}.af-category{min-height:150px;padding:13px}.af-category h3{font-size:19px}.af-story{grid-template-columns:1fr;gap:18px}.af-story-art{min-height:200px}.af-cta{display:block;padding:25px}.af-cta .af-btn{margin-top:18px}.af-footer-grid{grid-template-columns:1fr;gap:18px}.af-content-layout{grid-template-columns:1fr}.af-shop-sidebar{order:2}.af-shop-toolbar{align-items:flex-start;flex-direction:column}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}.woocommerce div.product .summary{margin-top:18px}.af-page-card{padding:18px}}


/* =========================================================
   ALICE FLOWERS LUXURY — STABLE LAYOUT NORMALIZATION 1.0.1
   Prevent layout shrinking, overflow, and inconsistent widths.
   ========================================================= */
:root{--af-layout-width:1240px;--af-page-gutter:clamp(14px,2.4vw,28px)}
html{width:100%;overflow-x:clip}
body{width:100%;min-width:320px;overflow-x:clip}
body,body *{min-width:0}
.af-container{width:calc(100% - (var(--af-page-gutter) * 2));max-width:var(--af-layout-width);margin-left:auto;margin-right:auto}
.af-topbar .af-container,.af-header-inner,.af-nav-inner,.af-footer>.af-container{max-width:var(--af-layout-width)}
.af-header-inner{grid-template-columns:minmax(170px,230px) minmax(220px,1fr) minmax(145px,190px);gap:clamp(12px,2vw,28px)}
.af-header-inner>div:first-child{min-width:0;display:flex;align-items:center}
.af-header-inner .custom-logo-link{display:inline-flex;align-items:center;max-width:100%;line-height:0}
.af-header-inner .custom-logo{display:block;width:auto;height:auto;max-width:100%;max-height:78px;object-fit:contain}
.af-brand{max-width:100%;overflow-wrap:anywhere}
.af-nav-inner{min-width:0}
.af-nav-inner>.menu,.af-nav-inner>div:not(.af-nav-tools){min-width:0;max-width:100%}
.af-menu{flex-wrap:wrap;row-gap:0;min-width:0}
.af-nav-tools{flex-shrink:0;white-space:nowrap}
.af-hero-card{width:100%;max-width:100%;background-color:#f6efe4;background-image:linear-gradient(90deg,rgba(250,244,236,.97) 0%,rgba(250,244,236,.86) 48%,rgba(250,244,236,.20) 100%),url('assets/hero-flower.jpg');background-size:cover;background-position:center;overflow:hidden}
.af-section,.af-hero,.af-footer{width:100%;max-width:100%}
.af-product-grid{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
.af-product-card{display:flex;flex-direction:column;min-width:0;height:100%}
.af-product-card>a:first-child{display:block;width:100%;overflow:hidden;background:#f2eade;aspect-ratio:1/1}
.af-product-card>a:first-child img,.af-product-image{display:block;width:100%!important;height:100%!important;max-width:100%;object-fit:cover;aspect-ratio:1/1;margin:0!important}
.af-product-info{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0;overflow-wrap:anywhere}
.af-product-title,.woocommerce ul.products li.product .woocommerce-loop-product__title{display:block;width:100%;overflow-wrap:anywhere;word-break:normal}
.af-product-info .price,.af-product-info .button{margin-top:auto}
.woocommerce ul.products li.product{display:flex!important;flex-direction:column;min-width:0!important;height:100%;overflow:hidden}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;width:100%;overflow:hidden;aspect-ratio:1/1;background:#f2eade}
.woocommerce ul.products li.product a img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;aspect-ratio:1/1;margin:0!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .button{margin-left:12px!important;margin-right:12px!important}
.woocommerce ul.products li.product .button{align-self:flex-start;margin-top:auto!important;margin-bottom:12px!important}
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(18px,3vw,36px);align-items:start}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:100%!important;max-width:100%;min-width:0;margin:0!important}
.woocommerce div.product div.images img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:#fff;border:1px solid var(--af-border)}
.woocommerce div.product .summary{overflow-wrap:anywhere}
.woocommerce div.product .product_title{overflow-wrap:anywhere}
.woocommerce div.product form.cart{align-items:center}
.woocommerce div.product form.cart .quantity{max-width:100%}
.woocommerce div.product form.cart .quantity .qty{width:5em;max-width:100%}
.woocommerce .quantity input.qty{min-height:42px}
.woocommerce table.shop_table{width:100%;max-width:100%;border-collapse:collapse}
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{width:100%;max-width:100%;overflow-wrap:anywhere}
.woocommerce-cart-form,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{min-width:0;max-width:100%}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{overflow-wrap:anywhere}
.woocommerce .col2-set,.woocommerce-page .col2-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%;max-width:100%}
.af-content-layout{grid-template-columns:minmax(220px,260px) minmax(0,1fr);align-items:start}
.af-shop-main,.af-shop-main>.af-page-card{min-width:0;max-width:100%}
.af-page-card{width:100%;min-width:0;overflow-wrap:anywhere}
.af-footer-grid>*{min-width:0;overflow-wrap:anywhere}
.alignwide,.alignfull{max-width:100%}
.wp-block-image img,.entry-content img{max-width:100%;height:auto}
@media(max-width:1050px){
 .af-header-inner{grid-template-columns:minmax(150px,200px) minmax(0,1fr);gap:16px;padding:14px 0}
 .af-phone{display:none}
 .af-nav-inner{flex-wrap:wrap}
 .af-menu{gap:18px}
 .af-product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
 .af-content-layout{grid-template-columns:minmax(190px,230px) minmax(0,1fr);gap:18px}
}
@media(max-width:700px){
 .af-container{width:calc(100% - 28px)}
 .af-header-inner{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .af-header-inner .custom-logo{max-height:58px}
 .af-nav-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
 .af-nav-tools{justify-content:space-between;white-space:normal;padding:10px 0}
 .af-menu{width:100%;flex-direction:column;align-items:stretch;flex-wrap:nowrap}
 .af-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
 .af-content-layout{grid-template-columns:minmax(0,1fr)}
 .af-shop-sidebar{width:100%;order:0}
 .woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:18px}
 .woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}
 .woocommerce div.product div.images img{max-height:none}
 .woocommerce .col2-set,.woocommerce-page .col2-set{grid-template-columns:minmax(0,1fr)}
 .woocommerce table.shop_table{font-size:13px}
 .woocommerce-cart table.cart .product-thumbnail{display:none}
 .af-page-card{padding:clamp(16px,4vw,22px)}
}
@media(max-width:380px){
 .af-product-grid,.woocommerce ul.products{grid-template-columns:minmax(0,1fr)}
 .af-service-grid,.af-category-grid,.af-occasion-grid{grid-template-columns:minmax(0,1fr)}
 .af-nav-tools{gap:10px;font-size:12px}
}


/* 1.0.2 visual fixes: real JPG imagery, consistent page width and card crops */
body .af-container{
  width:calc(100% - 48px)!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.af-hero-card{
  background-image:linear-gradient(90deg,rgba(250,244,236,.97) 0%,rgba(250,244,236,.84) 43%,rgba(250,244,236,.05) 100%),url('assets/hero-flower.jpg')!important;
  background-position:center,right center;
  background-size:cover;
}
.af-category:before{display:none!important}
.af-category{
  background-size:cover!important;
  background-position:center!important;
  border:1px solid var(--af-border);
  isolation:isolate;
}
.af-category:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(250,244,236,.94) 0%,rgba(250,244,236,.38) 48%,rgba(250,244,236,.02) 100%);
  z-index:0;pointer-events:none;
}
.af-category h3{z-index:1}
.af-category>a{z-index:2}
.af-category-birthday{background-image:url('assets/occasion-birthday.jpg')!important}
.af-category-opening{background-image:url('assets/occasion-opening.jpg')!important}
.af-category-graduation{background-image:url('assets/occasion-graduation.jpg')!important}
.af-category-love{background-image:url('assets/occasion-love.jpg')!important}
.af-category h3{
  display:inline-block;
  max-width:100%;
  padding:7px 12px;
  background:rgba(250,244,236,.88);
  border-radius:4px;
  overflow-wrap:anywhere;
}
.af-story-art{
  background-image:linear-gradient(0deg,rgba(250,244,236,.08),rgba(250,244,236,.08)),url('assets/story-flower.jpg')!important;
  background-size:cover!important;
  background-position:center!important;
  color:transparent!important;
}
.af-section-head h2,.af-story h2,.entry-title,.woocommerce-products-header__title,.woocommerce div.product .product_title{
  overflow-wrap:break-word;
  word-break:normal;
  letter-spacing:normal;
}
.af-product-card>a:first-child{aspect-ratio:1/1;display:block;overflow:hidden}
.af-product-card>a:first-child img{width:100%;height:100%;object-fit:cover}
@media(max-width:700px){
  body .af-container{width:calc(100% - 28px)!important}
}


/* =========================================================
   ALICE FLOWERS LUXURY 1.0.3
   Full-screen floral background + centered website frame
   Typography: Playfair Display / Be Vietnam Pro
   ========================================================= */
:root {
  --af-layout-width: 1240px;
  --af-body-font: "Be Vietnam Pro", Arial, sans-serif;
  --af-heading-font: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* Full-screen background image: preserve original JPG, no tiling. */
html, body {
  min-height: 100%;
}
body {
  font-family: var(--af-body-font);
  background-color: #dce9c9;
  background-image: url("assets/nen.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Keep the store itself as one centered column so the flowers remain
   visible at both sides, as in the supplied reference layout. */
.af-topbar,
.af-header-main,
.af-nav,
main,
.af-footer {
  width: min(var(--af-layout-width), 100%);
  margin-left: auto;
  margin-right: auto;
}

/* Preserve the brand's existing solid surfaces and cream content panels. */
.af-topbar { background: var(--af-moss); }
.af-header-main { background: #fffaf3; }
.af-nav { background: #fff; }
main {
  background: rgba(250, 244, 236, .97);
  min-height: 48vh;
}
.af-footer {
  background: #26392d;
  margin-top: 0;
}

/* Consistent font system throughout the storefront. */
body, button, input, select, textarea,
.af-topbar, .af-menu, .af-nav-tools,
.af-service, .af-footer p, .af-footer li,
.woocommerce, .woocommerce-message, .woocommerce-info,
.woocommerce table, .woocommerce form {
  font-family: var(--af-body-font);
}
h1, h2, h3, h4, h5, h6,
.af-brand, .af-hero h1, .af-section h2,
.af-category h3, .af-story h2, .af-cta h2,
.af-footer h3, .af-shop-sidebar h3,
.entry-title, .woocommerce-products-header__title,
.woocommerce div.product .product_title,
.af-product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--af-heading-font) !important;
}
.af-menu a, .af-nav-tools a,
.af-product-info, .af-product-info .button,
.woocommerce ul.products li.product .button {
  font-family: var(--af-body-font) !important;
}

/* Make all page templates share the same centered canvas. */
.af-page,
.af-hero,
.af-section {
  background-color: transparent;
}
.af-page-card {
  background: rgba(255,255,255,.96);
}
.af-products-section {
  background: #fffaf3;
}

/* Keep the supplied image fixed on desktop; use a stable non-fixed
   background on narrow screens to avoid mobile browser repaint issues. */
@media (max-width: 767px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }
  .af-topbar,
  .af-header-main,
  .af-nav,
  main,
  .af-footer {
    width: 100%;
  }
}


/* Contact form */
.af-contact-form { max-width: 760px; margin: 28px auto 8px; }
.af-contact-form p { margin: 0 0 16px; }
.af-contact-form label { display: block; margin-bottom: 6px; color: var(--af-moss); font-weight: 600; }
.af-contact-form label span { color: #e53945; }
.af-contact-form input,
.af-contact-form textarea {
  display: block; width: 100%; padding: 12px 14px;
  border: 1px solid var(--af-border); border-radius: 5px;
  background: #fff; color: var(--af-text);
}
.af-contact-form textarea { resize: vertical; }
.af-contact-form .af-btn { cursor: pointer; }


/* =========================================================
   ALICE FLOWERS LUXURY 1.0.4 — SHOP + CART HOTFIX
   - One sorting control only (WooCommerce native toolbar)
   - Four larger product cards per row, similar to supplied reference
   - Consistent centered shop canvas
   - AJAX cart count in header
   ========================================================= */

/* Keep the main store canvas aligned with the header and footer. */
main.af-page.af-shop-page {
  width: min(1240px, 100%) !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 34px 0 56px;
}
.af-shop-page > .af-container {
  width: calc(100% - 48px) !important;
  max-width: 1192px !important;
  margin: 0 auto !important;
}
.af-content-layout {
  display: grid !important;
  grid-template-columns: 225px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: start !important;
}
.af-shop-sidebar {
  width: 100%;
  padding: 20px 18px !important;
}
.af-shop-sidebar h3 {
  margin: 0 0 12px !important;
}
.af-shop-sidebar ul {
  margin: 0 !important;
}
.af-shop-sidebar li a {
  display: block;
  line-height: 1.45;
}
.af-shop-main,
.af-shop-main > .af-page-card {
  min-width: 0 !important;
  width: 100% !important;
}
.af-shop-main > .af-page-card {
  padding: clamp(20px, 2.5vw, 32px) !important;
}

/* WooCommerce should display exactly one sorting dropdown, in its own toolbar. */
.af-shop-sidebar .woocommerce-ordering,
.af-shop-sidebar .woocommerce-result-count {
  display: none !important;
}
.af-shop-main .woocommerce .woocommerce-ordering {
  float: right;
  margin: 0 0 18px 18px !important;
  max-width: 260px;
}
.af-shop-main .woocommerce .woocommerce-ordering select {
  width: 100%;
  min-height: 42px;
  padding: 9px 34px 9px 12px !important;
  border: 1px solid var(--af-border) !important;
  border-radius: 5px !important;
  background-color: #fff !important;
  color: var(--af-text);
  font: 13px/1.4 var(--af-body-font);
}
.af-shop-main .woocommerce .woocommerce-result-count {
  float: left;
  margin: 10px 0 18px !important;
  font-size: 13px;
  color: var(--af-muted);
}
.af-shop-main .woocommerce .woocommerce-notices-wrapper {
  clear: both;
}

/* Larger, balanced product cards like the supplied reference image. */
.af-shop-main .woocommerce ul.products {
  clear: both;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.af-shop-main .woocommerce ul.products::before,
.af-shop-main .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}
.af-shop-main .woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--af-border) !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(52,76,59,.06);
  text-align: center;
}
.af-shop-main .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #f7f2ea;
}
.af-shop-main .woocommerce ul.products li.product a img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
}
.af-shop-main .woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 42px;
  padding: 12px 10px 0 !important;
  margin: 0 !important;
  color: var(--af-moss) !important;
  font: 600 14px/1.45 var(--af-body-font) !important;
  text-align: center;
}
.af-shop-main .woocommerce ul.products li.product .price {
  display: block;
  margin: 6px 8px 12px !important;
  color: #8b6530 !important;
  font: 700 14px/1.4 var(--af-body-font) !important;
  text-align: center;
}
.af-shop-main .woocommerce ul.products li.product .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 34px;
  max-width: calc(100% - 24px);
  margin: auto 12px 12px !important;
  padding: 8px 13px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--af-moss) !important;
  color: #fff !important;
  font: 600 11px/1.3 var(--af-body-font) !important;
  text-align: center;
  white-space: normal;
}
.af-shop-main .woocommerce ul.products li.product .button:hover {
  background: #24382b !important;
  color: #fff !important;
}
.af-shop-main .woocommerce nav.woocommerce-pagination {
  clear: both;
  padding-top: 22px;
}

/* Header cart count stays visually compact and can be replaced by WooCommerce AJAX. */
.af-nav-tools .af-cart-count {
  display: inline-block;
  min-width: 1ch;
  font-variant-numeric: tabular-nums;
}

/* Responsive store grid. */
@media (max-width: 1050px) {
  .af-content-layout {
    grid-template-columns: 205px minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  .af-shop-main .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 700px) {
  main.af-page.af-shop-page {
    width: 100% !important;
    padding: 20px 0 36px;
  }
  .af-shop-page > .af-container {
    width: calc(100% - 28px) !important;
  }
  .af-content-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .af-shop-sidebar {
    order: 0;
  }
  .af-shop-main .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .af-shop-main > .af-page-card {
    padding: 16px !important;
  }
  .af-shop-main .woocommerce .woocommerce-ordering {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 12px !important;
  }
  .af-shop-main .woocommerce .woocommerce-result-count {
    float: none;
    margin: 0 0 12px !important;
  }
}

/* =========================================================
   ALICE FLOWERS LUXURY 1.0.5 — PRODUCT CARD MATCH
   Match the supplied shop-card reference: inset square image,
   compact centered title/price, and centered moss-green button.
   ========================================================= */
.af-shop-main .woocommerce ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 13px !important;
  align-items: stretch !important;
}
.af-shop-main .woocommerce ul.products li.product {
  box-sizing: border-box !important;
  padding: 9px !important;
  min-height: 296px;
  border: 1px solid #e8ded0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: center !important;
}
.af-shop-main .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  background: #f7f2ea !important;
}
.af-shop-main .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  margin: 0 !important;
}
.af-shop-main .woocommerce ul.products li.product .woocommerce-loop-product__title {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  padding: 8px 2px 0 !important;
  margin: 0 !important;
  color: #303a32 !important;
  font: 500 12px/1.35 'Be Vietnam Pro', Arial, sans-serif !important;
  text-align: center !important;
}
.af-shop-main .woocommerce ul.products li.product .price {
  flex: 0 0 auto !important;
  margin: 5px 0 8px !important;
  color: #303a32 !important;
  font: 600 12px/1.35 'Be Vietnam Pro', Arial, sans-serif !important;
  text-align: center !important;
}
.af-shop-main .woocommerce ul.products li.product .button {
  flex: 0 0 auto !important;
  align-self: center !important;
  min-height: 21px !important;
  max-width: 100% !important;
  margin: auto 0 0 !important;
  padding: 5px 10px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #344c3b !important;
  color: #fff !important;
  font: 600 10px/1.2 'Be Vietnam Pro', Arial, sans-serif !important;
  white-space: nowrap !important;
  text-align: center !important;
}
.af-shop-main .woocommerce ul.products li.product .button:hover {
  background: #26392d !important;
  color: #fff !important;
}
@media (max-width: 1050px) {
  .af-shop-main .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 13px !important;
  }
}
@media (max-width: 700px) {
  .af-shop-main .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }
  .af-shop-main .woocommerce ul.products li.product {
    min-height: 0;
    padding: 8px !important;
  }
  .af-shop-main .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 11px !important;
  }
  .af-shop-main .woocommerce ul.products li.product .price {
    font-size: 11px !important;
  }
  .af-shop-main .woocommerce ul.products li.product .button {
    font-size: 9px !important;
    white-space: normal !important;
  }
}


/* =========================================================
   ALICE FLOWERS LUXURY 1.0.7 — KEEP SIDEBAR + SORTING
   Preserve category navigation and WooCommerce sorting.
   Restyle only the product cards to match the supplied sample.
   ========================================================= */
main.af-page.af-shop-page {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.af-shop-page > .af-container {
  width: min(1192px, calc(100% - 40px)) !important;
  max-width: 1192px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep left category navigation and right product area side by side. */
.af-shop-page .af-content-layout {
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
  width: 100% !important;
}
.af-shop-page .af-shop-sidebar {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: max-content !important;
  padding: 16px 14px !important;
}
.af-shop-page .af-shop-main,
.af-shop-page .af-shop-main > .af-page-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.af-shop-page .af-shop-main > .af-page-card {
  padding: clamp(16px, 2vw, 26px) !important;
}

/* Preserve the single native sorting dropdown in the product column. */
.af-shop-page .af-shop-sidebar .woocommerce-ordering,
.af-shop-page .af-shop-sidebar .woocommerce-result-count {
  display: none !important;
}
.af-shop-page .af-shop-main .woocommerce .woocommerce-ordering {
  display: block !important;
  float: right !important;
  width: 200px !important;
  max-width: 100% !important;
  margin: 0 0 14px 14px !important;
}
.af-shop-page .af-shop-main .woocommerce .woocommerce-ordering select {
  width: 100% !important;
  min-height: 38px !important;
}

/* Product cards: image only is square; title, price and button remain below. */
.af-shop-page .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 13px !important;
  align-items: stretch !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
}
.af-shop-page .woocommerce ul.products::before,
.af-shop-page .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}
.af-shop-page .woocommerce ul.products li.product {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 9px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e8ded0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 3px 14px rgba(30,50,36,.05) !important;
  text-align: center !important;
}
.af-shop-page .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  background: transparent !important;
  text-align: center !important;
}
.af-shop-page .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 6px !important;
}
.af-shop-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 8px 2px 0 !important;
  margin: 0 !important;
  color: #303a32 !important;
  font: 500 12px/1.35 'Be Vietnam Pro', Arial, sans-serif !important;
  text-align: center !important;
}
.af-shop-page .woocommerce ul.products li.product .price {
  display: block !important;
  margin: 5px 0 8px !important;
  color: #303a32 !important;
  font: 600 12px/1.35 'Be Vietnam Pro', Arial, sans-serif !important;
  text-align: center !important;
}
.af-shop-page .woocommerce ul.products li.product .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  min-height: 21px !important;
  max-width: 100% !important;
  margin: auto 0 0 !important;
  padding: 5px 10px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #344c3b !important;
  color: #fff !important;
  font: 600 10px/1.2 'Be Vietnam Pro', Arial, sans-serif !important;
  white-space: nowrap !important;
  text-align: center !important;
}
.af-shop-page .woocommerce ul.products li.product .button:hover {
  background: #26392d !important;
  color: #fff !important;
}
@media (max-width: 1000px) and (min-width: 761px) {
  .af-shop-page .af-content-layout {
    grid-template-columns: 170px minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  .af-shop-page .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .af-shop-page > .af-container {
    width: calc(100% - 24px) !important;
  }
  .af-shop-page .af-content-layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .af-shop-page .af-shop-sidebar {
    display: block !important;
  }
  .af-shop-page .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }
  .af-shop-page .woocommerce ul.products li.product {
    padding: 8px !important;
  }
  .af-shop-page .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .af-shop-page .woocommerce ul.products li.product .price {
    font-size: 11px !important;
  }
  .af-shop-page .woocommerce ul.products li.product .button {
    font-size: 9px !important;
    white-space: normal !important;
  }
}


/* =========================================================
   ALICE FLOWERS LUXURY 1.0.8 — EXACTLY 3 PRODUCTS PER ROW
   Keep category sidebar, sorting, product card styling intact.
   ========================================================= */
@media (min-width: 761px) {
  .af-shop-page .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* =========================================================
   ALICE FLOWERS LUXURY 1.0.9 — FORCE SHOP PRODUCT PRESENTATION
   Target the actual WooCommerce loop inside the shop content.
   Exactly 3 cards per row on desktop; 2 on mobile.
   ========================================================= */
@media (min-width: 761px) {
  body.woocommerce main.af-page.af-shop-page
  .af-content-layout .af-shop-main .af-page-card
  .woocommerce ul.products,
  body.woocommerce-page main.af-page.af-shop-page
  .af-content-layout .af-shop-main .af-page-card
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    column-gap: 13px !important;
    row-gap: 13px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
  }
}
body.woocommerce main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
.woocommerce ul.products > li.product,
body.woocommerce-page main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
ul.products > li.product {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  float: none !important;
  clear: none !important;
  position: relative !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 9px !important;
  border: 1px solid #e8ded0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 3px 14px rgba(30,50,36,.05) !important;
  text-align: center !important;
}
body.woocommerce main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
.woocommerce ul.products > li.product > a.woocommerce-LoopProduct-link,
body.woocommerce-page main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
ul.products > li.product > a.woocommerce-LoopProduct-link {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 6px !important;
}
body.woocommerce main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
.woocommerce ul.products > li.product > a.woocommerce-LoopProduct-link img,
body.woocommerce-page main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
ul.products > li.product > a.woocommerce-LoopProduct-link img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
}
body.woocommerce main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
.woocommerce ul.products > li.product .woocommerce-loop-product__title,
body.woocommerce-page main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
ul.products > li.product .woocommerce-loop-product__title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 0 !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 2px !important;
  color: #303a32 !important;
  font: 500 12px/1.4 'Be Vietnam Pro', Arial, sans-serif !important;
  text-align: center !important;
}
body.woocommerce main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
.woocommerce ul.products > li.product .price,
body.woocommerce-page main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
ul.products > li.product .price {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  margin: 5px 0 9px !important;
  color: #303a32 !important;
  font: 600 12px/1.35 'Be Vietnam Pro', Arial, sans-serif !important;
  text-align: center !important;
}
body.woocommerce main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
.woocommerce ul.products > li.product > a.button,
body.woocommerce-page main.af-page.af-shop-page
.af-content-layout .af-shop-main .af-page-card
ul.products > li.product > a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 22px !important;
  margin: 0 auto !important;
  padding: 5px 11px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: #344c3b !important;
  color: #fff !important;
  font: 600 10px/1.25 'Be Vietnam Pro', Arial, sans-serif !important;
  text-align: center !important;
  white-space: nowrap !important;
}
@media (max-width: 760px) {
  body.woocommerce main.af-page.af-shop-page
  .af-content-layout .af-shop-main .af-page-card
  .woocommerce ul.products,
  body.woocommerce-page main.af-page.af-shop-page
  .af-content-layout .af-shop-main .af-page-card ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }
}

/* ==================================================
   ALICE FLOWERS - SHOP PRODUCT LAYOUT FIX
   Version 1.0.9
   ================================================== */

/* 1. Vùng chứa danh sách sản phẩm */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    justify-content: start !important;
    align-items: start !important;
}

/* 2. Từng thẻ sản phẩm */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    clear: none !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 10px !important;

    box-sizing: border-box !important;

    background: #FFFFFF !important;
    border: 1px solid #E8DDCD !important;
    border-radius: 12px !important;

    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* 3. Ảnh sản phẩm vuông, đồng nhất */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    display: block !important;

    width: 100% !important;
    aspect-ratio: 1 / 1 !important;

    height: auto !important;
    object-fit: cover !important;

    border-radius: 7px !important;
    margin: 0 auto !important;
}

/* 4. Tên sản phẩm */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    width: 100% !important;

    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    color: #303A32 !important;

    padding: 10px 0 4px !important;
    margin: 0 !important;
}

/* 5. Giá sản phẩm */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    width: 100% !important;

    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    color: #344C3B !important;

    margin: 0 0 10px !important;
}

/* 6. Nút thêm vào giỏ hàng */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    display: inline-block !important;

    margin: 10px auto 0 !important;
    padding: 9px 16px !important;

    background: #344C3B !important;
    color: #FFFFFF !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    border: none !important;
    border-radius: 25px !important;

    text-align: center !important;
    line-height: 1.4 !important;

    transition: all 0.3s ease !important;
}

/* 7. Hiệu ứng khi di chuột */
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background: #C6A15B !important;
    color: #FFFFFF !important;
}

/* 8. Loại bỏ các quy tắc clear của WooCommerce */
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last {
    clear: none !important;
}

/* 9. Đảm bảo các sản phẩm căn từ trái sang phải */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

/* 10. Responsive trên điện thoại */
@media (max-width: 600px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* ==========================================================
   ALICE FLOWERS LUXURY 1.0.9
   FINAL FIX — MENU, BUTTON, FOOTER
   Chỉ áp dụng cho trang Cửa hàng và danh mục sản phẩm.
   ========================================================== */


/* ==========================================================
   1. FIX MENU KHÔNG BỊ NHẢY XUỐNG DÒNG
   Giữ menu chính trên cùng một hàng.
   ========================================================== */

@media (min-width: 761px) {

    .af-nav-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .af-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 1 1 auto !important;
        gap: clamp(12px, 2vw, 24px) !important;
        white-space: nowrap !important;
        min-width: 0 !important;
    }

    .af-menu li {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .af-menu a {
        white-space: nowrap !important;
    }

    .af-nav-tools {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
        white-space: nowrap !important;
    }
}


/* ==========================================================
   2. FIX NÚT THÊM VÀO GIỎ HÀNG
   Cách phần nội dung phía trên 10px.
   Giữ nút ở chính giữa thẻ sản phẩm.
   ========================================================== */

body.woocommerce-page main.af-page.af-shop-page
.af-shop-main .woocommerce ul.products li.product .button,

body.woocommerce main.af-page.af-shop-page
.af-shop-main .woocommerce ul.products li.product .button {

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;

    width: auto !important;
    min-height: 22px !important;

    margin: 10px auto 0 !important;

    padding: 6px 12px !important;

    background: #344C3B !important;
    color: #FFFFFF !important;

    border: none !important;
    border-radius: 20px !important;

    font-size: 11px !important;
    font-weight: 600 !important;

    line-height: 1.3 !important;
    text-align: center !important;

    white-space: nowrap !important;
}

body.woocommerce-page main.af-page.af-shop-page
.af-shop-main .woocommerce ul.products li.product .button:hover,

body.woocommerce main.af-page.af-shop-page
.af-shop-main .woocommerce ul.products li.product .button:hover {

    background: #C6A15B !important;
    color: #FFFFFF !important;
}


/* ==========================================================
   3. LOẠI BỎ KHOẢNG TRỐNG CUỐI TRANG CỬA HÀNG
   Không ảnh hưởng khoảng cách bên trong thẻ sản phẩm.
   ========================================================== */

body.woocommerce-page main.af-page.af-shop-page,
body.woocommerce main.af-page.af-shop-page {

    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-page main.af-page.af-shop-page > .af-container,
body.woocommerce main.af-page.af-shop-page > .af-container {

    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-page main.af-page.af-shop-page
.af-shop-main > .af-page-card,

body.woocommerce main.af-page.af-shop-page
.af-shop-main > .af-page-card {

    margin-bottom: 0 !important;
}

/* Không để footer tạo thêm khoảng cách sau cửa hàng. */

body.woocommerce-page .af-footer,
body.woocommerce .af-footer {

    margin-top: 0 !important;
}


/* ==========================================================
   4. RESPONSIVE — GIỮ NGUYÊN MENU TRÊN ĐIỆN THOẠI
   ========================================================== */

@media (max-width: 760px) {

    .af-nav-inner {
        display: block !important;
    }

    .af-menu {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

}

/* ==========================================================
   ALICE FLOWERS LUXURY 1.0.9 — PRECISE SHOP LAYOUT PATCH
   Chỉ áp dụng trang cửa hàng và danh mục sản phẩm.
   Không tác động trang chủ, trang chi tiết, header/footer styling,
   sorting hoặc chức năng AJAX giỏ hàng.
   ========================================================== */

/* A. Khoảng cách từ menu chính đến nội dung cửa hàng và trước footer */
body.woocommerce-page main.af-page.af-shop-page,
body.woocommerce main.af-page.af-shop-page {
    min-height: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-page main.af-page.af-shop-page > .af-container,
body.woocommerce main.af-page.af-shop-page > .af-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-page main.af-page.af-shop-page .af-content-layout,
body.woocommerce main.af-page.af-shop-page .af-content-layout {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    align-items: start !important;
}

body.woocommerce-page .af-footer,
body.woocommerce .af-footer {
    margin-top: 0 !important;
}

/* B. Mở rộng menu danh mục để các tên dài không bị ngắt dòng */
@media (min-width: 761px) {
    body.woocommerce-page main.af-page.af-shop-page .af-content-layout,
    body.woocommerce main.af-page.af-shop-page .af-content-layout {
        grid-template-columns: 175px minmax(0, 1fr) !important;
        column-gap: 14px !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar {
        width: 175px !important;
        min-width: 175px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar a,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar a {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        font-size: 12px !important;
    }
}

/* C. Lưới đúng 3 sản phẩm mỗi hàng trên desktop */
@media (min-width: 761px) {
    body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products,
    body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 14px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }
}

/* D. Thẻ sản phẩm: khung trắng, viền kem, bo góc */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
    border: 1px solid #E8DDCD !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 14px rgba(30,50,36,.05) !important;
    text-align: center !important;
    overflow: hidden !important;
}

/* E. Link WooCommerce phải chứa được cả ảnh VÀ tên sản phẩm.
      Không khóa cả link ở tỷ lệ 1:1 vì sẽ cắt mất tên sản phẩm. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.woocommerce-LoopProduct-link,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.woocommerce-LoopProduct-link {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    text-align: center !important;
}

/* Chỉ ảnh vuông 1:1; không ép toàn bộ link sản phẩm thành hình vuông. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.woocommerce-LoopProduct-link img,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.woocommerce-LoopProduct-link img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 7px !important;
}

/* F. Tên sản phẩm căn giữa, nằm dưới ảnh và không bị cắt. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product .woocommerce-loop-product__title,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product .woocommerce-loop-product__title {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 9px 0 0 !important;
    padding: 0 2px !important;
    color: #303A32 !important;
    font-family: 'Be Vietnam Pro', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
}

/* G. Giá căn giữa ngay dưới tên sản phẩm. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product .price,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product .price {
    display: block !important;
    width: 100% !important;
    margin: 5px 0 0 !important;
    color: #344C3B !important;
    font-family: 'Be Vietnam Pro', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* H. Nút nằm dưới tên/giá, cách phần thông tin phía trên 10px. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.button,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 26px !important;
    margin: 10px auto 2px !important;
    padding: 6px 12px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-family: 'Be Vietnam Pro', Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.button:hover,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.button:hover {
    background: #C6A15B !important;
    color: #FFFFFF !important;
}

/* I. Điện thoại: giữ sidebar và sorting, chỉ đổi lưới còn 2 cột. */
@media (max-width: 760px) {
    body.woocommerce-page main.af-page.af-shop-page .af-content-layout,
    body.woocommerce main.af-page.af-shop-page .af-content-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar a,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar a {
        white-space: normal !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products,
    body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 11px !important;
    }
}


/* FIX CUỐI: dịch nút Thêm vào giỏ hàng xuống đúng 10px về mặt hiển thị.
   Dùng position/top để tránh bị các quy tắc margin của WooCommerce ghi đè. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.button,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.button {
    position: relative !important;
    top: 10px !important;
}


/* FIX CHIỀU CAO KHUNG: tạo thêm 10px trong luồng bố cục bên dưới nút.
   Nút đã được dịch xuống 10px bằng top; tăng margin-bottom từ 2px lên 12px
   để khung sản phẩm thực sự nở xuống 10px, không chỉ dịch nút bằng hình ảnh. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.button,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product > a.button {
    margin-bottom: 12px !important;
}


/* ==========================================================
   ALICE FLOWERS — TĂNG CHIỀU CAO KHUNG SẢN PHẨM THÊM 10PX
   Giữ nguyên vị trí nút (top: 10px) và mọi thành phần khác.
   Khung gốc đang có padding: 10px; tăng riêng padding đáy lên 20px.
   ========================================================== */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product,
body.woocommerce-page main.af-page.af-shop-page .af-content-layout .af-shop-main .af-page-card ul.products > li.product,
body.woocommerce main.af-page.af-shop-page .af-content-layout .af-shop-main .af-page-card ul.products > li.product {
    padding-bottom: 20px !important;
}


/* ==========================================================
   ALICE FLOWERS — SHOP PAGE SIDEBAR + BODY WIDTH ALIGNMENT
   Desktop: sidebar 230px, heading 24px, category links 14px.
   Main shop container follows the same .af-container width as
   header/footer. Product grid and card contents are untouched.
   ========================================================== */
@media (min-width: 761px) {
    body.woocommerce-page main.af-page.af-shop-page > .af-container,
    body.woocommerce main.af-page.af-shop-page > .af-container {
        width: min(1240px, calc(100% - 40px)) !important;
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-content-layout,
    body.woocommerce main.af-page.af-shop-page .af-content-layout {
        display: grid !important;
        grid-template-columns: 230px minmax(0, 1fr) !important;
        column-gap: 20px !important;
        align-items: start !important;
        width: 100% !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar {
        width: 230px !important;
        min-width: 230px !important;
        max-width: 230px !important;
        box-sizing: border-box !important;
        padding: 16px 14px !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar h3,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar h3 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin: 0 0 12px !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar li,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar li {
        padding: 8px 0 !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar li a,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar li a {
        display: block !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
}

/* Mobile layout remains stacked; only improve readable menu typography. */
@media (max-width: 760px) {
    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar h3,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar h3 {
        font-size: 22px !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar li a,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar li a {
        font-size: 14px !important;
    }
}



/* ==========================================================
   ALICE FLOWERS LUXURY — FINAL ALIGNMENT + SHOP PRODUCT INFO
   Bản bổ sung dựa trên style.css ngày 03/11/2026.
   - Đồng bộ lề trái/phải phần nội dung main với Header/Footer.
   - Giữ nguyên bố cục, màu sắc, font và responsive hiện tại.
   - Bảo đảm tên + đơn giá hiện dưới ảnh trong thẻ sản phẩm shop.
   ========================================================== */

/* Phần thân website dùng cùng quy tắc chiều rộng .af-container
   như Header, Menu và Footer: desktop chừa 24px mỗi bên. */
main > .af-container,
main .af-page > .af-container,
main.af-page > .af-container,
main.af-page.af-shop-page > .af-container {
    box-sizing: border-box !important;
    width: calc(100% - 48px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Thẻ sản phẩm cửa hàng: giữ thứ tự ảnh → tên → đơn giá → nút mua.
   Không thay đổi số cột, kích thước ảnh, vị trí nút hoặc chiều cao khung. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product .woocommerce-loop-product__title,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product .woocommerce-loop-product__title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    color: #303A32 !important;
    text-align: center !important;
    white-space: normal !important;
}

body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product .price,
body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product .price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    color: #344C3B !important;
    text-align: center !important;
}

/* Trên điện thoại, Header/Menu/Footer và nội dung main cùng chừa 14px
   mỗi bên theo quy tắc .af-container hiện có của giao diện. */
@media (max-width: 700px) {
    main > .af-container,
    main .af-page > .af-container,
    main.af-page > .af-container,
    main.af-page.af-shop-page > .af-container {
        width: calc(100% - 28px) !important;
        max-width: 1240px !important;
    }
}

/*
 * Alice Flowers Luxury - product card styles
 * Add this block at the VERY END of the active theme style.css.
 * Scope: WooCommerce shop/category product cards only.
 */

body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 9px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid #E8DDCD !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    text-align: center !important;
}

/* Square, equal-sized product images. */
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card > .af-shop-product-image-link,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card > .af-shop-product-image-link {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 6px !important;
    background: #F7F2EA !important;
}

body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-image,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    margin: 0 !important;
}

/* Product name. */
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-title,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-title {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 9px 0 0 !important;
    padding: 0 2px !important;
    color: #303A32 !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    text-align: center !important;
}

body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-title a,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-title a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Price. */
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price {
    display: block !important;
    width: 100% !important;
    margin: 6px 0 10px !important;
    color: #344C3B !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* Add-to-cart button. */
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-action,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-action {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: auto !important;
}

body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .button,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: normal !important;
}

body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .button:hover,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .button:hover {
    background: #C6A15B !important;
    color: #FFFFFF !important;
}

/* Keep the agreed 3-column desktop and 2-column mobile layout. */
@media (min-width: 761px) {
    body.woocommerce-page main.af-page.af-shop-page
    .af-shop-main ul.products,
    body.woocommerce main.af-page.af-shop-page
    .af-shop-main ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    body.woocommerce-page main.af-page.af-shop-page
    .af-shop-main ul.products,
    body.woocommerce main.af-page.af-shop-page
    .af-shop-main ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.woocommerce-page main.af-page.af-shop-page
    .af-shop-main ul.products > li.af-shop-product-card,
    body.woocommerce main.af-page.af-shop-page
    .af-shop-main ul.products > li.af-shop-product-card {
        padding: 7px !important;
    }

    body.woocommerce-page main.af-page.af-shop-page
    .af-shop-main ul.products > li.af-shop-product-card .af-shop-product-title,
    body.woocommerce-page main.af-page.af-shop-page
    .af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price,
    body.woocommerce main.af-page.af-shop-page
    .af-shop-main ul.products > li.af-shop-product-card .af-shop-product-title,
    body.woocommerce main.af-page.af-shop-page
    .af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price {
        font-size: 11px !important;
    }

    body.woocommerce-page main.af-page.af-shop-page
    .af-shop-main ul.products > li.af-shop-product-card .button,
    body.woocommerce main.af-page.af-shop-page
    .af-shop-main ul.products > li.af-shop-product-card .button {
        font-size: 9px !important;
        padding: 6px 8px !important;
    }
}

/*
 * ALICE FLOWERS LUXURY
 * CSS bổ sung cho trang Cửa hàng / danh mục sản phẩm.
 * Dán ở CUỐI style.css đang hoạt động.
 */

/* 1. Tên sản phẩm: in đậm, giữ màu chữ xanh đậm hiện tại. */
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-title,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-title {
    font-weight: 700 !important;
}

/* 2. Đơn giá: in đậm và màu đỏ. */
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price,
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price .amount,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price .amount,
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price ins,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price ins {
    color: #D62828 !important;
    font-weight: 700 !important;
}

/* Nếu sản phẩm giảm giá, giá gốc vẫn hiển thị màu xám và gạch ngang. */
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price del,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price del,
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price del .amount,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.af-shop-product-card .af-shop-product-price del .amount {
    color: #888888 !important;
    font-weight: 400 !important;
}

/*
 * 3. Căn chiều rộng khung Cửa hàng trùng với khung Header/Footer.
 * Giới hạn ở trang shop và trang danh mục sản phẩm, không tác động trang chủ.
 * Cho container con dùng hết chiều rộng khung cha thay vì tự thu hẹp.
 */
body.woocommerce-page main.af-page.af-shop-page > .af-container,
body.woocommerce main.af-page.af-shop-page > .af-container,
body.tax-product_cat main.af-page.af-shop-page > .af-container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Nếu template có lớp bọc .af-container bên trong trang shop. */
body.woocommerce-page main.af-page.af-shop-page .af-container,
body.woocommerce main.af-page.af-shop-page .af-container,
body.tax-product_cat main.af-page.af-shop-page .af-container {
    box-sizing: border-box !important;
    max-width: none !important;
}

/* Trên màn hình nhỏ vẫn giữ khoảng đệm hai bên để không sát mép. */
@media (max-width: 760px) {
    body.woocommerce-page main.af-page.af-shop-page > .af-container,
    body.woocommerce main.af-page.af-shop-page > .af-container,
    body.tax-product_cat main.af-page.af-shop-page > .af-container {
        width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}
/*
 * ALICE FLOWERS LUXURY
 * Ẩn liên kết "Xem giỏ hàng" sau khi thêm sản phẩm bằng AJAX.
 * Không ẩn nút Thêm vào giỏ hàng và không can thiệp bộ đếm giỏ hàng.
 */

/* Chỉ ẩn liên kết được WooCommerce chèn sau nút mua trên trang cửa hàng/danh mục. */
body.woocommerce-page main.af-page.af-shop-page
.af-shop-main ul.products > li.product a.added_to_cart.wc-forward,
body.woocommerce main.af-page.af-shop-page
.af-shop-main ul.products > li.product a.added_to_cart.wc-forward {
    display: none !important;
}

/*
 * ALICE FLOWERS LUXURY
 * Thu hẹp khoảng cách giữa menu danh mục và nội dung cửa hàng còn 10px.
 * Dán vào CUỐI style.css đang sử dụng.
 */
body.woocommerce-page main.af-page.af-shop-page .af-content-layout,
body.tax-product_cat main.af-page.af-shop-page .af-content-layout {
    column-gap: 10px !important;
}

/*
 * ALICE FLOWERS LUXURY — SINGLE PRODUCT PAGE
 * Add this file's contents to the VERY END of the active style.css.
 * Scoped only to the single-product page; shop cards and homepage are untouched.
 */

body.single-product .af-single-product-page {
    width: 100%;
    max-width: 100%;
    color: var(--af-text, #303A32);
}

body.single-product .af-single-breadcrumb {
    margin: 0 0 20px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--af-border, #e8ded0);
    font-size: 12px;
    color: #858579;
}

body.single-product .af-single-breadcrumb a {
    color: var(--af-moss, #344C3B);
}

body.single-product .af-single-product-layout {
    width: 100%;
    max-width: 100%;
}

body.single-product .af-single-product-top {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: start;
    gap: clamp(22px, 3vw, 42px);
}

body.single-product .af-single-gallery,
body.single-product .af-single-summary {
    min-width: 0;
}

body.single-product .af-single-gallery .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.single-product .af-single-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

body.single-product .af-single-gallery .woocommerce-product-gallery__image {
    margin: 0;
}

body.single-product .af-single-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    background: #fff;
}

body.single-product .af-single-gallery .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body.single-product .af-single-gallery .flex-control-thumbs li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0;
}

body.single-product .af-single-gallery .flex-control-thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 6px;
    opacity: .72;
    cursor: pointer;
    transition: opacity .2s, border-color .2s;
}

body.single-product .af-single-gallery .flex-control-thumbs img.flex-active,
body.single-product .af-single-gallery .flex-control-thumbs img:hover {
    opacity: 1;
    border-color: var(--af-gold, #C6A15B);
}

body.single-product .af-single-summary {
    padding: clamp(20px, 2.5vw, 32px);
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(52, 76, 59, .055);
}

body.single-product .af-single-summary .product_title {
    margin: 0 0 12px !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: var(--af-heading-font, "Playfair Display", Georgia, serif) !important;
    font-size: clamp(27px, 2.5vw, 36px) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

body.single-product .af-single-summary .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: 12px;
}

body.single-product .af-single-summary .star-rating {
    color: var(--af-gold, #C6A15B);
}

body.single-product .af-single-summary p.price,
body.single-product .af-single-summary span.price {
    margin: 12px 0 18px !important;
    color: #D62828 !important;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif);
    font-size: 23px !important;
    font-weight: 700 !important;
}

body.single-product .af-single-summary .price del {
    color: #888 !important;
    font-size: .78em;
    font-weight: 400;
    opacity: .8;
}

body.single-product .af-single-summary .price ins {
    color: #D62828 !important;
    text-decoration: none;
}

body.single-product .af-single-summary .woocommerce-product-details__short-description {
    margin: 0 0 20px;
    color: #65695f;
    font-size: 14px;
    line-height: 1.8;
}

body.single-product .af-single-summary .stock {
    color: var(--af-moss, #344C3B);
    font-size: 13px;
    font-weight: 600;
}

body.single-product .af-single-summary form.cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 18px !important;
    padding: 18px 0;
    border-top: 1px solid var(--af-border, #e8ded0);
    border-bottom: 1px solid var(--af-border, #e8ded0);
}

body.single-product .af-single-summary form.cart .quantity {
    margin: 0 !important;
}

body.single-product .af-single-summary form.cart .quantity .qty {
    width: 76px !important;
    min-height: 46px;
    padding: 9px 10px !important;
    border: 1px solid var(--af-border, #e8ded0) !important;
    border-radius: 5px !important;
    background: #fff;
    color: var(--af-text, #303A32);
}

body.single-product .af-single-summary button.single_add_to_cart_button {
    min-height: 46px;
    padding: 12px 25px !important;
    border: 1px solid var(--af-moss, #344C3B) !important;
    border-radius: 5px !important;
    background: var(--af-moss, #344C3B) !important;
    color: #fff !important;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: background .2s, border-color .2s;
}

body.single-product .af-single-summary button.single_add_to_cart_button:hover {
    border-color: var(--af-gold, #C6A15B) !important;
    background: #26392d !important;
    color: #fff !important;
}

body.single-product .af-single-summary table.variations {
    width: 100%;
    margin: 0 0 14px !important;
}

body.single-product .af-single-summary table.variations th,
body.single-product .af-single-summary table.variations td {
    display: block;
    padding: 5px 0 !important;
    text-align: left;
}

body.single-product .af-single-summary table.variations label {
    color: var(--af-moss, #344C3B);
    font-size: 13px;
    font-weight: 700;
}

body.single-product .af-single-summary table.variations select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 5px;
    background: #fff;
}

body.single-product .af-single-summary .reset_variations {
    display: inline-block;
    margin: 6px 0;
    color: #8a6a36;
    font-size: 12px;
}

body.single-product .af-single-summary .product_meta {
    display: grid;
    gap: 5px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--af-border, #e8ded0);
    color: #77796f;
    font-size: 12px;
}

body.single-product .af-single-summary .product_meta a {
    color: var(--af-moss, #344C3B);
}

body.single-product .af-single-product-extras {
    margin-top: 42px;
}

body.single-product .af-single-product-extras .woocommerce-tabs {
    margin: 0 0 38px;
    padding: 0;
}

body.single-product .af-single-product-extras .wc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--af-border, #e8ded0);
}

body.single-product .af-single-product-extras .wc-tabs::before,
body.single-product .af-single-product-extras .wc-tabs::after {
    display: none !important;
    content: none !important;
}

body.single-product .af-single-product-extras .wc-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.single-product .af-single-product-extras .wc-tabs li::before,
body.single-product .af-single-product-extras .wc-tabs li::after {
    display: none !important;
}

body.single-product .af-single-product-extras .wc-tabs li a {
    display: block;
    padding: 11px 16px !important;
    color: #77796f !important;
    font-size: 13px;
    font-weight: 600;
}

body.single-product .af-single-product-extras .wc-tabs li.active a {
    color: var(--af-moss, #344C3B) !important;
    border-bottom: 2px solid var(--af-gold, #C6A15B);
}

body.single-product .af-single-product-extras .woocommerce-Tabs-panel {
    padding: 8px 2px 18px !important;
    color: #5f665e;
    font-size: 14px;
    line-height: 1.85;
}

body.single-product .af-single-product-extras .woocommerce-Tabs-panel h2 {
    margin: 0 0 12px;
    color: var(--af-moss, #344C3B);
    font-family: var(--af-heading-font, "Playfair Display", Georgia, serif);
    font-size: 24px;
    font-weight: 500;
}

body.single-product .af-single-product-extras .related,
body.single-product .af-single-product-extras .upsells {
    margin-top: 34px;
}

body.single-product .af-single-product-extras .related > h2,
body.single-product .af-single-product-extras .upsells > h2 {
    margin: 0 0 20px;
    color: var(--af-moss, #344C3B);
    font-family: var(--af-heading-font, "Playfair Display", Georgia, serif);
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 500;
    text-align: center;
}

body.single-product .af-single-product-extras .related ul.products,
body.single-product .af-single-product-extras .upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body.single-product .af-single-product-extras #reviews #comments ol.commentlist {
    padding-left: 0;
}

body.single-product .af-single-product-extras #review_form_wrapper {
    margin-top: 22px;
}

@media (max-width: 900px) {
    body.single-product .af-single-product-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 18px;
    }

    body.single-product .af-single-summary {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    body.single-product .af-single-product-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    body.single-product .af-single-summary {
        padding: 18px;
    }

    body.single-product .af-single-gallery .flex-control-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    body.single-product .af-single-summary .product_title {
        font-size: 27px !important;
    }

    body.single-product .af-single-summary p.price,
    body.single-product .af-single-summary span.price {
        font-size: 21px !important;
    }

    body.single-product .af-single-summary form.cart {
        align-items: stretch;
    }

    body.single-product .af-single-summary button.single_add_to_cart_button {
        flex: 1 1 180px;
    }

    body.single-product .af-single-product-extras {
        margin-top: 30px;
    }

    body.single-product .af-single-product-extras .related ul.products,
    body.single-product .af-single-product-extras .upsells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.single-product .af-single-product-extras .wc-tabs {
        gap: 0;
    }

    body.single-product .af-single-product-extras .wc-tabs li a {
        padding: 10px 11px !important;
        font-size: 12px;
    }
}


/* =========================================================
   FIX 03-11-2026
   Prevent the theme's legacy .woocommerce div.product grid
   from placing the details and related products side-by-side.
   Keep the product top section in its own two-column layout.
   ========================================================= */

body.single-product .woocommerce div.product.af-single-product-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

body.single-product .af-single-product-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start !important;
    width: 100% !important;
}

body.single-product .af-single-product-extras {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 38px !important;
}

body.single-product .af-single-product-extras .woocommerce-tabs,
body.single-product .af-single-product-extras .related,
body.single-product .af-single-product-extras .upsells {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.single-product .af-single-product-extras .woocommerce-tabs {
    margin-bottom: 36px !important;
}

body.single-product .af-single-summary button.single_add_to_cart_button {
    background: #344C3B !important;
    border-color: #344C3B !important;
    color: #FFFFFF !important;
}

body.single-product .af-single-summary button.single_add_to_cart_button:hover {
    background: #26392D !important;
    border-color: #C6A15B !important;
    color: #FFFFFF !important;
}

@media (max-width: 700px) {
    body.single-product .af-single-product-top {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* =========================================================
   ALICE FLOWERS — SINGLE PRODUCT FINAL CACHE-BUSTED FIX
   Version 1.1.0
   Scoped only to WooCommerce single product pages.
   ========================================================= */

html body.single-product .af-single-product-page > .af-single-product-layout {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
}

html body.single-product .af-single-product-page > .af-single-product-layout > .af-single-product-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
}

html body.single-product .af-single-product-page > .af-single-product-extras {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 38px 0 0 !important;
    gap: 32px !important;
}

html body.single-product .af-single-product-page > .af-single-product-extras > .woocommerce-tabs,
html body.single-product .af-single-product-page > .af-single-product-extras > .related,
html body.single-product .af-single-product-page > .af-single-product-extras > .upsells {
    display: block !important;
    flex: 0 0 100% !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

html body.single-product .af-single-product-page > .af-single-product-extras > .woocommerce-tabs {
    order: 1 !important;
}

html body.single-product .af-single-product-page > .af-single-product-extras > .related,
html body.single-product .af-single-product-page > .af-single-product-extras > .upsells {
    order: 2 !important;
}

html body.single-product .af-single-product-page > .af-single-product-extras > .woocommerce-tabs .woocommerce-Tabs-panel {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

html body.single-product .af-single-product-page > .af-single-product-extras > .related ul.products,
html body.single-product .af-single-product-page > .af-single-product-extras > .upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px 0 0 !important;
}

html body.single-product .af-single-product-page > .af-single-product-extras > .related ul.products > li.product,
html body.single-product .af-single-product-page > .af-single-product-extras > .upsells ul.products > li.product {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

html body.single-product .af-single-product-page .af-single-summary form.cart button.single_add_to_cart_button,
html body.single-product .af-single-product-page .af-single-summary form.cart .single_add_to_cart_button,
html body.single-product .af-single-product-page .af-single-summary button.single_add_to_cart_button {
    background: #344C3B !important;
    background-color: #344C3B !important;
    border: 1px solid #344C3B !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

html body.single-product .af-single-product-page .af-single-summary form.cart button.single_add_to_cart_button:hover,
html body.single-product .af-single-product-page .af-single-summary form.cart .single_add_to_cart_button:hover {
    background: #26392D !important;
    background-color: #26392D !important;
    border-color: #C6A15B !important;
    color: #FFFFFF !important;
}

@media (max-width: 700px) {
    html body.single-product .af-single-product-page > .af-single-product-layout > .af-single-product-top {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.single-product .af-single-product-page > .af-single-product-extras > .related ul.products,
    html body.single-product .af-single-product-page > .af-single-product-extras > .upsells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ALICE FLOWERS - FIX BUTTON SINGLE PRODUCT */
body.single-product .woocommerce div.product
form.cart button.single_add_to_cart_button,
body.single-product .woocommerce div.product
form.cart button.single_add_to_cart_button.alt {
    background-color: #344C3B !important;
    color: #FFFFFF !important;
    border: 1px solid #344C3B !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

body.single-product .woocommerce div.product
form.cart button.single_add_to_cart_button:hover {
    background-color: #C6A15B !important;
    color: #FFFFFF !important;
    border-color: #C6A15B !important;
}

/* =========================================================
   ALICE FLOWERS LUXURY — SINGLE PRODUCT FINAL POLISH
   Built on the user's latest style.css; scoped to product pages.
   ========================================================= */

/* Keep the main gallery and product summary side by side. */
html body.single-product .af-single-product-page > .af-single-product-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

html body.single-product .af-single-product-page > .af-single-product-layout > .af-single-product-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body.single-product .af-single-product-page > .af-single-product-layout > .af-single-product-top > .af-single-gallery,
html body.single-product .af-single-product-page > .af-single-product-layout > .af-single-product-top > .af-single-summary {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Tabs, description/reviews and related products must sit below the top row. */
html body.single-product .af-single-product-page > .af-single-product-extras {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 34px 0 0 !important;
    box-sizing: border-box !important;
}

html body.single-product .af-single-product-page > .af-single-product-extras > .woocommerce-tabs,
html body.single-product .af-single-product-page > .af-single-product-extras > .related,
html body.single-product .af-single-product-page > .af-single-product-extras > .upsells {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Remove the stray bullet/marker before the Description and Reviews tabs. */
html body.single-product .af-single-product-extras .woocommerce-tabs ul.wc-tabs,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #E8DED0 !important;
}

html body.single-product .af-single-product-extras .woocommerce-tabs ul.wc-tabs > li,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.tabs > li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.single-product .af-single-product-extras .woocommerce-tabs ul.wc-tabs > li::marker,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.tabs > li::marker,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.wc-tabs > li::before,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.wc-tabs > li::after,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.tabs > li::before,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.tabs > li::after {
    content: none !important;
    display: none !important;
}

html body.single-product .af-single-product-extras .woocommerce-tabs ul.wc-tabs > li a,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.tabs > li a {
    display: block !important;
    padding: 11px 16px !important;
    color: #657066 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
}

html body.single-product .af-single-product-extras .woocommerce-tabs ul.wc-tabs > li.active a,
html body.single-product .af-single-product-extras .woocommerce-tabs ul.tabs > li.active a {
    color: #344C3B !important;
    border-bottom-color: #C6A15B !important;
}

/* Related products: three balanced cards on desktop, two on mobile. */
html body.single-product .af-single-product-extras .related ul.products,
html body.single-product .af-single-product-extras .upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
}

html body.single-product .af-single-product-extras .related ul.products > li.product,
html body.single-product .af-single-product-extras .upsells ul.products > li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Alice Flowers moss-green purchase button. */
html body.single-product .af-single-product-page .af-single-summary form.cart button.single_add_to_cart_button,
html body.single-product .af-single-product-page .af-single-summary button.single_add_to_cart_button {
    background: #344C3B !important;
    background-color: #344C3B !important;
    color: #FFFFFF !important;
    border: 1px solid #344C3B !important;
    box-shadow: none !important;
}

html body.single-product .af-single-product-page .af-single-summary form.cart button.single_add_to_cart_button:hover,
html body.single-product .af-single-product-page .af-single-summary button.single_add_to_cart_button:hover {
    background: #26392D !important;
    background-color: #26392D !important;
    color: #FFFFFF !important;
    border-color: #C6A15B !important;
}

@media (max-width: 700px) {
    html body.single-product .af-single-product-page > .af-single-product-layout > .af-single-product-top {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    html body.single-product .af-single-product-extras .related ul.products,
    html body.single-product .af-single-product-extras .upsells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

/* =========================================================
   ALICE FLOWERS LUXURY - SINGLE PRODUCT POLISH
   Version: 03-11-2026
   Scope: WooCommerce single product page only.
   Does not affect homepage, shop, header or footer.
   Append this file's contents to the END of the active style.css.
   ========================================================= */

/* 1. Main product layout: balanced spacing and alignment */
body.single-product .af-single-product-page {
    width: 100%;
    max-width: 100%;
}

body.single-product .af-single-product-top {
    column-gap: clamp(20px, 2.4vw, 32px) !important;
    align-items: start !important;
}

body.single-product .af-single-gallery,
body.single-product .af-single-summary {
    min-width: 0;
}

/* 2. Product image: elegant frame and consistent image area */
body.single-product .af-single-gallery .woocommerce-product-gallery__wrapper {
    border: 1px solid #E8DED0 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    box-shadow: 0 5px 20px rgba(52, 76, 59, 0.045);
}

body.single-product .af-single-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-height: 650px !important;
    object-fit: contain !important;
    background: #FFFFFF !important;
}

body.single-product .af-single-gallery .flex-control-thumbs {
    margin-top: 3px !important;
    gap: 10px !important;
}

body.single-product .af-single-gallery .flex-control-thumbs img {
    border-radius: 6px !important;
    border: 1px solid #E8DED0 !important;
    padding: 3px;
    background: #FFFFFF;
    opacity: .78;
    transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

body.single-product .af-single-gallery .flex-control-thumbs img:hover,
body.single-product .af-single-gallery .flex-control-thumbs img.flex-active {
    border-color: #C6A15B !important;
    opacity: 1;
    transform: translateY(-2px);
}

/* 3. Product information card */
body.single-product .af-single-summary {
    border: 1px solid #E8DED0 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 7px 24px rgba(52, 76, 59, .06) !important;
    padding: clamp(22px, 2.5vw, 30px) !important;
}

body.single-product .af-single-summary .product_title {
    color: #344C3B !important;
    font-size: clamp(26px, 2.25vw, 34px) !important;
    line-height: 1.25 !important;
    letter-spacing: -.25px;
    margin-bottom: 13px !important;
}

body.single-product .af-single-summary .woocommerce-product-rating {
    margin: 0 0 12px !important;
}

body.single-product .af-single-summary .star-rating {
    color: #C6A15B !important;
}

body.single-product .af-single-summary p.price,
body.single-product .af-single-summary span.price {
    color: #D62828 !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    margin: 10px 0 17px !important;
}

body.single-product .af-single-summary .woocommerce-product-details__short-description {
    color: #535D54 !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
}

body.single-product .af-single-summary .woocommerce-product-details__short-description p {
    margin: 0 0 9px !important;
}

/* 4. Quantity and add-to-cart controls */
body.single-product .af-single-summary form.cart {
    gap: 10px !important;
    padding: 17px 0 !important;
    margin: 18px 0 14px !important;
    border-top: 1px solid #E8DED0 !important;
    border-bottom: 1px solid #E8DED0 !important;
}

body.single-product .af-single-summary form.cart .quantity .qty {
    width: 68px !important;
    min-height: 46px !important;
    border: 1px solid #DCCFBE !important;
    border-radius: 5px !important;
    color: #303A32 !important;
    background: #FFFFFF !important;
}

body.single-product .af-single-summary button.single_add_to_cart_button {
    min-height: 46px !important;
    padding: 12px 24px !important;
    border: 1px solid #344C3B !important;
    border-radius: 5px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .15px;
    box-shadow: none !important;
}

body.single-product .af-single-summary button.single_add_to_cart_button:hover {
    border-color: #C6A15B !important;
    background: #26392D !important;
    color: #FFFFFF !important;
}

/* 5. Category and brand metadata */
body.single-product .af-single-summary .product_meta {
    display: flex !important;
    flex-direction: column;
    gap: 7px !important;
    padding-top: 14px !important;
    margin-top: 13px !important;
    border-top: 1px solid #E8DED0 !important;
    color: #74796F !important;
    font-size: 12px !important;
    line-height: 1.65;
}

body.single-product .af-single-summary .product_meta a {
    color: #344C3B !important;
    text-decoration: none;
}

body.single-product .af-single-summary .product_meta a:hover {
    color: #9A783B !important;
}

/* 6. Description and review tabs */
body.single-product .af-single-product-extras {
    margin-top: 34px !important;
}

body.single-product .af-single-product-extras .woocommerce-tabs {
    margin-bottom: 36px !important;
}

body.single-product .af-single-product-extras .wc-tabs {
    gap: 5px !important;
    border-bottom: 1px solid #E8DED0 !important;
}

body.single-product .af-single-product-extras .wc-tabs li a {
    padding: 12px 18px !important;
    color: #73796F !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.single-product .af-single-product-extras .wc-tabs li.active a {
    color: #344C3B !important;
    border-bottom: 2px solid #C6A15B !important;
}

body.single-product .af-single-product-extras .woocommerce-Tabs-panel {
    color: #535D54 !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
}

body.single-product .af-single-product-extras .woocommerce-Tabs-panel h2 {
    color: #344C3B !important;
    font-size: 23px !important;
    margin-bottom: 12px !important;
}

/* 7. Related products: consistent premium product cards */
body.single-product .af-single-product-extras .related > h2,
body.single-product .af-single-product-extras .upsells > h2 {
    color: #344C3B !important;
    font-size: 27px !important;
    margin: 0 0 22px !important;
    text-align: center !important;
}

body.single-product .af-single-product-extras .related ul.products,
body.single-product .af-single-product-extras .upsells ul.products {
    gap: 16px !important;
    align-items: stretch !important;
}

body.single-product .af-single-product-extras .related ul.products li.product,
body.single-product .af-single-product-extras .upsells ul.products li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(52, 76, 59, .045);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.single-product .af-single-product-extras .related ul.products li.product:hover,
body.single-product .af-single-product-extras .upsells ul.products li.product:hover {
    transform: translateY(-3px);
    border-color: #C6A15B !important;
    box-shadow: 0 8px 20px rgba(52, 76, 59, .09);
}

body.single-product .af-single-product-extras .related ul.products li.product a img,
body.single-product .af-single-product-extras .upsells ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    margin: 0 0 10px !important;
    border-radius: 5px;
    background: #FFFFFF;
}

body.single-product .af-single-product-extras .related ul.products li.product .woocommerce-loop-product__title,
body.single-product .af-single-product-extras .upsells ul.products li.product .woocommerce-loop-product__title {
    min-height: 38px;
    color: #344C3B !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

body.single-product .af-single-product-extras .related ul.products li.product .price,
body.single-product .af-single-product-extras .upsells ul.products li.product .price {
    color: #D62828 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.single-product .af-single-product-extras .related ul.products li.product .button,
body.single-product .af-single-product-extras .upsells ul.products li.product .button {
    border: 1px solid #344C3B !important;
    border-radius: 20px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 9px 13px !important;
}

body.single-product .af-single-product-extras .related ul.products li.product .button:hover,
body.single-product .af-single-product-extras .upsells ul.products li.product .button:hover {
    border-color: #C6A15B !important;
    background: #26392D !important;
}

/* 8. Tablet and mobile refinements */
@media (max-width: 900px) {
    body.single-product .af-single-product-top {
        gap: 18px !important;
    }

    body.single-product .af-single-summary {
        padding: 20px !important;
    }
}

@media (max-width: 700px) {
    body.single-product .af-single-product-top {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    body.single-product .af-single-summary {
        padding: 18px !important;
    }

    body.single-product .af-single-summary .product_title {
        font-size: 26px !important;
    }

    body.single-product .af-single-summary form.cart {
        align-items: center !important;
    }

    body.single-product .af-single-summary button.single_add_to_cart_button {
        flex: 1 1 180px;
    }

    body.single-product .af-single-product-extras .related ul.products,
    body.single-product .af-single-product-extras .upsells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body.single-product .af-single-product-extras .related ul.products li.product,
    body.single-product .af-single-product-extras .upsells ul.products li.product {
        padding: 9px !important;
    }
}

/*
 * ALICE FLOWERS LUXURY — FIX TAB MÔ TẢ / ĐÁNH GIÁ
 * Dán block này ở CUỐI CÙNG file style.css đang hoạt động.
 * Chỉ tác động trang chi tiết sản phẩm WooCommerce.
 *
 * Nguyên nhân: CSS cũ đặt display:block !important cho tất cả panel,
 * khiến Mô tả và Đánh giá cùng xuất hiện. WooCommerce dùng JavaScript
 * để bật/tắt panel bằng thuộc tính style inline.
 */

/* Ẩn các panel theo mặc định; panel được WooCommerce mở sẽ có
   style inline display:block và được quy tắc tiếp theo hiển thị. */
html body.single-product
.af-single-product-page
.af-single-product-extras
.woocommerce-tabs .woocommerce-Tabs-panel {
    display: none !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Chỉ hiện panel mà WooCommerce JavaScript đang kích hoạt. */
html body.single-product
.af-single-product-page
.af-single-product-extras
.woocommerce-tabs .woocommerce-Tabs-panel[style*="display: block"],
html body.single-product
.af-single-product-page
.af-single-product-extras
.woocommerce-tabs .woocommerce-Tabs-panel[style*="display:block"] {
    display: block !important;
}

/* Giữ tab đang chọn nổi bật theo màu Alice Flowers. */
html body.single-product
.af-single-product-page
.af-single-product-extras
.woocommerce-tabs ul.wc-tabs > li.active > a,
html body.single-product
.af-single-product-page
.af-single-product-extras
.woocommerce-tabs ul.tabs > li.active > a {
    color: #344C3B !important;
    border-bottom: 2px solid #C6A15B !important;
}

/* Bảo đảm phần đánh giá không bị đẩy cạnh phần mô tả. */
html body.single-product
.af-single-product-page
.af-single-product-extras
.woocommerce-tabs #reviews {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

/*
 * ALICE FLOWERS LUXURY — ĐỔI MÀU SAO ĐÁNH GIÁ SANG ĐỎ
 * Dán toàn bộ block này vào CUỐI file style.css.
 * Chỉ áp dụng cho sao đánh giá trên trang chi tiết sản phẩm.
 */

/* Sao đánh giá trong biểu mẫu nhận xét */
body.single-product .af-single-product-page #review_form .comment-form-rating .stars a,
body.single-product .af-single-product-page #review_form .comment-form-rating .stars a::before {
    color: #E53945 !important;
}

/* Sao được chọn / sao khi rê chuột */
body.single-product .af-single-product-page #review_form .comment-form-rating .stars a:hover,
body.single-product .af-single-product-page #review_form .comment-form-rating .stars a:hover::before,
body.single-product .af-single-product-page #review_form .comment-form-rating .stars a.active,
body.single-product .af-single-product-page #review_form .comment-form-rating .stars a.active::before {
    color: #E53945 !important;
}

/* Sao hiển thị ở điểm đánh giá và danh sách nhận xét */
body.single-product .af-single-product-page .woocommerce-product-rating .star-rating,
body.single-product .af-single-product-page #reviews .star-rating,
body.single-product .af-single-product-page #reviews .star-rating::before,
body.single-product .af-single-product-page #reviews .star-rating span::before {
    color: #E53945 !important;
}

/*
 * ALICE FLOWERS LUXURY — NÚT TIẾP TỤC XEM CỬA HÀNG
 * Dán vào cuối style.css hiện tại.
 * Chỉ tác động nút trên trang chi tiết sản phẩm.
 */

body.single-product .af-single-product-page form.cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

body.single-product .af-single-product-page form.cart .quantity {
    margin: 0 2px 0 0 !important;
}

body.single-product .af-single-product-page form.cart .single_add_to_cart_button,
body.single-product .af-single-product-page form.cart .afl-continue-shopping-button {
    min-height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 17px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* Nút thêm vào giỏ: giữ xanh rêu thương hiệu */
body.single-product .af-single-product-page form.cart .single_add_to_cart_button {
    background: #344C3B !important;
    color: #FFFFFF !important;
    border: 1px solid #344C3B !important;
}

/* Nút tiếp tục xem cửa hàng: nền kem, viền xanh rêu */
body.single-product .af-single-product-page form.cart .afl-continue-shopping-button {
    background: #FAF4EC !important;
    color: #344C3B !important;
    border: 1px solid #C6A15B !important;
}

body.single-product .af-single-product-page form.cart .afl-continue-shopping-button:hover {
    background: #344C3B !important;
    color: #FFFFFF !important;
    border-color: #344C3B !important;
}

body.single-product .af-single-product-page form.cart .single_add_to_cart_button:hover {
    background: #263B2D !important;
    border-color: #263B2D !important;
}

/* Trên màn hình nhỏ, cho phép hai nút xuống dòng gọn gàng */
@media (max-width: 600px) {
    body.single-product .af-single-product-page form.cart .afl-continue-shopping-button,
    body.single-product .af-single-product-page form.cart .single_add_to_cart_button {
        min-height: 40px;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 11px;
    }
}

/* =========================================================
   ALICE FLOWERS — FOOTER CONTACT + GOOGLE MAP
   Append this file's contents to the END of the active style.css.
   ========================================================= */

.af-footer-contact-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 34px;
    align-items: stretch;
    margin: 26px 0 18px;
    padding: 30px 32px;
    color: #FAF4EC;
    background:
        radial-gradient(ellipse at 16% 8%, rgba(198,161,91,.13), transparent 42%),
        linear-gradient(135deg, #183528 0%, #263F31 48%, #173326 100%);
    border: 1px solid rgba(226,190,111,.9);
    border-radius: 22px;
    box-shadow:
        0 0 0 3px rgba(198,161,91,.16),
        0 0 18px rgba(220,177,83,.34),
        inset 0 0 22px rgba(231,194,111,.09);
    overflow: hidden;
}

.af-footer-contact-panel::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(245,211,137,.72);
    border-radius: 16px;
    box-shadow: 0 0 12px rgba(239,197,103,.35);
    pointer-events: none;
    z-index: -1;
}

.af-footer-contact-info {
    min-width: 0;
    padding: 2px 28px 4px 4px;
    border-right: 1px solid rgba(198,161,91,.72);
}

.af-footer-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 145px;
    margin: 0 auto 12px;
    padding: 7px 12px;
    background: #FAF4EC;
    border: 1px solid rgba(232,195,110,.8);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(231,184,79,.30);
}

.af-footer-brand img {
    display: block;
    width: min(100%, 340px);
    max-height: 165px;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 5px rgba(255,205,94,.85))
        drop-shadow(0 0 13px rgba(222,164,54,.55));
}

.af-contact-heading,
.af-map-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 22px;
    color: #E8C36E;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 1.55vw, 23px);
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.25;
}

.af-contact-heading::after,
.af-map-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    min-width: 20px;
    background: linear-gradient(90deg, #C6A15B, rgba(198,161,91,.12));
    box-shadow: 0 0 5px rgba(238,193,95,.55);
}

.af-contact-line {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    margin: 15px 0;
}

.af-contact-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 31px;
    height: 31px;
    color: #F1CB70;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 9px rgba(244,198,96,.55);
}

.af-contact-line p {
    margin: 0;
    color: #FAF4EC;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.af-contact-line strong {
    color: #FFF0C5;
    font-weight: 700;
    margin-right: 5px;
}

.af-contact-phone {
    display: inline-flex;
    align-items: center;
    margin: 5px 0 0 4px;
    padding: 9px 18px;
    color: #254231 !important;
    background: linear-gradient(135deg, #FFF4C9, #EBC56B);
    border: 1px solid #FFE7A0;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(240,194,86,.48);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.af-contact-phone:hover {
    color: #183528 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(240,194,86,.72);
}

.af-footer-map-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.af-map-heading {
    margin-top: 7px;
}

.af-map-heading > span {
    color: #E8C36E;
    font-family: Arial, sans-serif;
    font-size: 27px;
    line-height: 1;
}

.af-footer-map {
    position: relative;
    flex: 1;
    min-height: 285px;
    overflow: hidden;
    border: 4px solid #E8D18E;
    border-radius: 15px;
    background: #F4F0E7;
    box-shadow: 0 0 13px rgba(238,202,117,.25);
}

.af-footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 285px;
    border: 0;
}

.af-map-directions {
    align-self: flex-end;
    margin-top: 10px;
    color: #F1D58D !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.af-map-directions:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

@media (max-width: 767px) {
    .af-footer-contact-panel {
        grid-template-columns: 1fr;
        gap: 22px;
        margin: 22px 0 16px;
        padding: 23px 19px;
        border-radius: 17px;
    }

    .af-footer-contact-info {
        padding: 0 0 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(198,161,91,.72);
    }

    .af-footer-brand {
        min-height: 105px;
        margin-bottom: 10px;
    }

    .af-footer-brand img {
        width: min(78%, 285px);
        max-height: 120px;
    }

    .af-contact-heading,
    .af-map-heading {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .af-contact-line p {
        font-size: 14px;
    }
/*
    .af-contact-phone {
        font-size: 15px;
        padding: 8px 13px;
    }
*/
    .af-footer-map {
        min-height: 245px;
    }

    .af-footer-map iframe {
        min-height: 245px;
    }
}

/* ALICE FLOWERS — FIX LOGO FOOTER TRANSPARENT BACKGROUND
   Append to the VERY END of the active theme style.css.
   Keep the source logo as transparent PNG (do not convert to JPG).
*/

/* Remove the cream-colored rectangle behind the logo. */
.af-footer-brand {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    margin: 0 auto 16px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
}

/* Show only the logo artwork and its golden light/glow. */
.af-footer-brand img {
    display: block !important;
    width: min(100%, 340px) !important;
    height: auto !important;
    max-height: 170px !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    filter:
        drop-shadow(0 0 4px rgba(255, 215, 120, .95))
        drop-shadow(0 0 10px rgba(255, 190, 65, .82))
        drop-shadow(0 0 19px rgba(255, 175, 45, .48)) !important;
}

@media (max-width: 767px) {
    .af-footer-brand {
        margin-bottom: 12px !important;
    }

    .af-footer-brand img {
        width: min(82%, 285px) !important;
        max-height: 130px !important;
    }
}

/* ALICE FLOWERS - REMOVE OUTER FRAME OF FOOTER CONTACT PANEL */

/* Bỏ khung viền vàng bao quanh toàn bộ khu vực */
.af-footer-contact-panel {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Bỏ đường viền trang trí phía trong */
.af-footer-contact-panel::before {
    display: none !important;
    content: none !important;
}

/* =========================================================
   ALICE FLOWERS — FOOTER CONTACT / MAP FINAL ADJUSTMENTS
   Append this file to the VERY END of the active style.css.
   Only affects the footer contact + Google Maps section.
   ========================================================= */

/* 1) Decorative champagne-gold line above the logo */
.af-footer-contact-info .af-footer-brand {
    position: relative !important;
    margin-top: 17px !important;
}

.af-footer-contact-info .af-footer-brand::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -18px !important;
    height: 1px !important;
    background: linear-gradient(
        90deg,
        rgba(198,161,91,0),
        rgba(232,195,110,.95) 18%,
        rgba(255,226,155,1) 50%,
        rgba(232,195,110,.95) 82%,
        rgba(198,161,91,0)
    ) !important;
    box-shadow: 0 0 6px rgba(238,193,95,.55) !important;
    pointer-events: none !important;
}

/* 2) Remove the "VỊ TRÍ CỬA HÀNG" heading and its decorative rule */
.af-footer-map-wrap .af-map-heading {
    display: none !important;
}

/* 3) Let the map occupy the full available height of the right column */
.af-footer-contact-panel {
    align-items: stretch !important;
}

.af-footer-map-wrap {
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
}

.af-footer-map-wrap .af-footer-map {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 350px !important;
}

.af-footer-map-wrap .af-footer-map iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 350px !important;
}

.af-footer-map-wrap .af-map-directions {
    flex: 0 0 auto !important;
    margin-top: 8px !important;
}

/* Mobile: keep the two footer columns stacked and map comfortably tall */
@media (max-width: 767px) {
    .af-footer-contact-info .af-footer-brand {
        margin-top: 17px !important;
    }

    .af-footer-map-wrap .af-footer-map,
    .af-footer-map-wrap .af-footer-map iframe {
        min-height: 260px !important;
    }
}

/* =========================================================
   ALICE FLOWERS — FIX ĐỒNG NHẤT NỀN KHU VỰC LIÊN HỆ FOOTER
   Dán phần này ở CUỐI CÙNG style.css, sau các CSS footer cũ.
   ========================================================= */

/* Dùng cùng nền xanh với footer, bỏ lớp nền riêng của khối liên hệ */
.af-footer-contact-panel,
.af-footer-contact-info,
.af-footer-map-wrap {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Nếu theme đặt nền cho các lớp con bên trong khu vực liên hệ */
.af-footer-contact-panel > *,
.af-footer-contact-info > *,
.af-footer-map-wrap > * {
    background-color: transparent !important;
}

/* Giữ nguyên khung hiển thị của bản đồ, không làm mất viền bản đồ */
.af-footer-map-wrap .af-footer-map,
.af-footer-map-wrap .af-footer-map iframe {
    background: transparent !important;
}

/* Giữ nguyên đường kẻ trang trí phía trên logo */
.af-footer-contact-info .af-footer-brand::before {
    display: block !important;
}

/* =====================================================
   ALICE FLOWERS — ĐỒNG BỘ NỀN TRANG CỬA HÀNG
   Chỉ áp dụng cho trang Cửa hàng và Danh mục sản phẩm.
   Không tác động trang chủ và Chi tiết sản phẩm.
   ===================================================== */

/* Đồng bộ nền vùng nội dung cửa hàng với nền trang chi tiết */
body.woocommerce-page main.af-page.af-shop-page .af-page-card,
body.woocommerce main.af-page.af-shop-page .af-page-card,
body.tax-product_cat main.af-page.af-shop-page .af-page-card {
    background: #FFFFFF !important;
    border-color: #E8DED0 !important;
}

/* Giữ nền tổng thể trang theo màu kem của Alice Flowers */
body.woocommerce-page main.af-page.af-shop-page,
body.woocommerce main.af-page.af-shop-page,
body.tax-product_cat main.af-page.af-shop-page {
    background: #FAF4EC !important;
}

/* Giữ sidebar đồng bộ với khung nội dung */
body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
body.woocommerce main.af-page.af-shop-page .af-shop-sidebar,
body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar {
    background: #FFFFFF !important;
}

/* Alice Flowers footer: move the logo into the first footer column. */
.af-footer .af-footer-intro {
    min-width: 0;
}

.af-footer .af-footer-intro-logo {
    width: 100%;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.af-footer .af-footer-intro-logo img {
    display: block;
    width: min(100%, 225px);
    height: 100px;
    object-fit: contain;
    object-position: left center;
    margin: 0;
}

.af-footer .af-footer-intro > p {
    margin: 0;
    color: #e1e3d9;
    line-height: 1.65;
}

/* The logo now appears above; avoid showing a second copy in the contact panel. */
.af-footer .af-footer-contact-info .af-footer-brand {
    display: none !important;
}

@media (max-width: 680px) {
    .af-footer .af-footer-intro-logo {
        justify-content: flex-start;
    }

    .af-footer .af-footer-intro-logo img {
        height: 90px;
    }
}

/* ALICE FLOWERS — FIX: tagline nằm một dòng ngay bên dưới logo */
.af-header-inner .af-brand-wrap{
  display:flex !important;
  flex:0 0 190px !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:2px !important;
  width:190px !important;
  min-width:190px !important;
  max-width:190px !important;
  text-align:center !important;
}

.af-header-inner .af-brand-wrap .af-brand-logo-link{
  display:block !important;
  flex:none !important;
  width:100% !important;
  max-width:190px !important;
  margin:0 auto !important;
  padding:0 !important;
  line-height:0 !important;
  text-align:center !important;
}

.af-header-inner .af-brand-wrap .af-brand-logo-image{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:66px !important;
  margin:0 auto !important;
  object-fit:contain !important;
}

.af-header-inner .af-brand-wrap .af-brand-tagline{
  display:block !important;
  flex:none !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  text-align:center !important;
  color:#C6A15B !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:8px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  letter-spacing:.08em !important;
}

@media(max-width:680px){
  .af-header-inner .af-brand-wrap{
    flex-basis:160px !important;
    width:160px !important;
    min-width:160px !important;
    max-width:160px !important;
  }
  .af-header-inner .af-brand-wrap .af-brand-logo-image{
    max-height:54px !important;
  }
  .af-header-inner .af-brand-wrap .af-brand-tagline{
    font-size:7px !important;
    letter-spacing:.04em !important;
  }
}

/* =========================================================
   ALICE FLOWERS — HEADER LOGO + SLOGAN SIZE FIX
   Dán nguyên khối này ở DÒNG CUỐI CÙNG của style.css.
   Ghi đè các rule cũ đang khóa logo 66px và slogan 8px.
   ========================================================= */

.af-header-inner {
    grid-template-columns: 220px minmax(180px, 1fr) 190px !important;
}

.af-header-inner .af-brand-wrap {
    display: flex !important;
    flex: 0 0 220px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
}

.af-header-inner .af-brand-wrap .af-brand-logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 220px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.af-header-inner .af-brand-wrap .af-brand-logo-image {
    display: block !important;
    width: auto !important;
    height: 86px !important;
    max-height: 86px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.af-header-inner .af-brand-wrap .af-brand-tagline {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #C6A15B !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.025em !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

@media (max-width: 680px) {
    .af-header-inner {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .af-header-inner .af-brand-wrap {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .af-header-inner .af-brand-wrap .af-brand-logo-image {
        height: 76px !important;
        max-height: 76px !important;
    }

    .af-header-inner .af-brand-wrap .af-brand-tagline {
        font-size: 11px !important;
        letter-spacing: 0.02em !important;
    }
}

/* =========================================================
   ALICE FLOWERS — GOLD DIVIDER AT THE TOP OF CONTACT DETAILS
   Correct target: the red horizontal mark in the user's screenshot.
   It sits ABOVE "Địa chỉ", NOT above the Alice Flowers logo.
   Based on footer(20261103-154029).php:
   .af-footer-contact-panel > .af-footer-contact-info
   ========================================================= */

.af-footer .af-footer-contact-panel > .af-footer-contact-info {
    position: relative !important;
    padding-top: 17px !important;
    margin-top: 0 !important;
    border-top: 0 !important;
}

/* Champagne line only across the left contact-information column. */
.af-footer .af-footer-contact-panel > .af-footer-contact-info::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(
        90deg,
        rgba(198,161,91,0) 0%,
        rgba(198,161,91,.82) 16%,
        #f2d58e 50%,
        rgba(198,161,91,.82) 84%,
        rgba(198,161,91,0) 100%
    ) !important;
    box-shadow:
    0 0 5px rgba(238,193,95,.55),
    0 0 10px rgba(198,161,91,.28) !important;
    pointer-events: none !important;
}

/* The logo wrapper must not receive this decorative line. */
.af-footer .af-footer-intro-logo::before {
    content: none !important;
    display: none !important;
}

@media (max-width: 767px) {
    .af-footer .af-footer-contact-panel > .af-footer-contact-info {
        padding-top: 15px !important;
    }
}

/* CHỈ XÓA ĐƯỜNG KẺ DỌC GIỮA THÔNG TIN VÀ BẢN ĐỒ */
.af-footer .af-footer-contact-info {
    border-right: none !important;
    border-left: none !important;
}

.af-footer .af-footer-contact-panel {
    border-right: none !important;
    border-left: none !important;
}

/* Giữ nguyên đường kẻ ngang phía trên */
.af-footer .af-footer-contact-info::before {
    display: block !important;
}

/* ==================================================
   ALICE FLOWERS – REMOVE EMPTY SPACE BELOW CONTACT
   Chỉ loại bỏ khoảng trống phía dưới khối liên hệ.
   Không tạo thêm đường kẻ hoặc thay đổi bố cục khác.
   ================================================== */

.af-footer .af-footer-contact-panel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Thu gọn khoảng cách trước dòng bản quyền */
.af-footer .af-copyright {
    margin-top: 10px !important;
    padding-top: 10px !important;
}

/* Đồng bộ trên điện thoại */
@media (max-width: 767px) {
    .af-footer .af-footer-contact-panel {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .af-footer .af-copyright {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
}
/*
 * ALICE FLOWERS LUXURY — CART PAGE
 * Dán toàn bộ nội dung file này vào CUỐI style.css của theme
 * hoặc nạp file này riêng sau style.css.
 */

.afl-cart-page {
    width: 100%;
    max-width: 1192px;
    margin: 22px auto 34px;
    padding: 0 18px;
    color: #303A32;
    font-family: inherit;
}

.afl-cart-inner {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(18px, 2.5vw, 32px);
    background: #fff;
    border: 1px solid #E8DED0;
    border-radius: 9px;
    box-shadow: 0 8px 28px rgba(52, 76, 59, .07);
}

.afl-cart-page a {
    text-decoration: none;
}

.afl-cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E8DED0;
    color: #858579;
    font-size: 12px;
}

.afl-cart-breadcrumb a {
    color: #344C3B;
}

.afl-cart-heading {
    margin: 0 0 24px;
}

.afl-cart-eyebrow {
    display: block;
    color: #B18A45;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.5;
}

.afl-cart-heading h1 {
    margin: 5px 0 4px;
    color: #344C3B;
    font: 500 clamp(28px, 3vw, 36px)/1.2 Georgia, "Times New Roman", serif;
}

.afl-cart-heading p {
    margin: 0;
    color: #77796F;
    font-size: 13px;
}

.afl-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr);
    gap: 22px;
    align-items: start;
}

.afl-cart-items,
.afl-cart-summary-card,
.afl-cart-coupon,
.afl-cart-help-card,
.afl-cart-recommendations,
.afl-cart-empty {
    min-width: 0;
    background: #FFFCF8;
    border: 1px solid #E8DED0;
    border-radius: 7px;
}

.afl-cart-items {
    padding: 18px;
}

.afl-cart-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 13px;
    margin-bottom: 12px;
    border-bottom: 1px solid #E8DED0;
}

.afl-cart-section-title h2,
.afl-cart-summary-card h2 {
    margin: 0;
    color: #344C3B;
    font: 500 21px/1.3 Georgia, "Times New Roman", serif;
}

.afl-cart-section-title > span {
    color: #8B806E;
    font-size: 12px;
    white-space: nowrap;
}

.afl-cart-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid #EEE6DA;
}

.afl-cart-item:last-of-type {
    border-bottom: 0;
}

.afl-cart-item-image {
    width: 112px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #E8DED0;
    border-radius: 6px;
    background: #F7F2EA;
}

.afl-cart-item-image a,
.afl-cart-item-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.afl-cart-item-image img {
    object-fit: cover;
    margin: 0 !important;
}

.afl-cart-item-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.afl-cart-item-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.afl-cart-product-name {
    margin: 2px 0 8px;
    color: #344C3B;
    font: 500 17px/1.35 Georgia, "Times New Roman", serif;
}

.afl-cart-product-name a {
    color: inherit;
}

.afl-cart-remove,
.afl-cart-item-topline a.remove {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    margin: 0 !important;
    border-radius: 50%;
    background: #F8EDEA !important;
    color: #B34A3E !important;
    font-size: 18px !important;
    line-height: 25px !important;
    text-align: center;
}

.afl-cart-item .variation,
.afl-cart-item .wc-item-meta {
    margin: 0 0 8px;
    color: #77796F;
    font-size: 11px;
}

.afl-cart-item-bottom {
    display: grid;
    grid-template-columns: minmax(90px, .8fr) minmax(90px, 1fr) minmax(100px, 1fr);
    gap: 12px;
    align-items: end;
    margin-top: 12px;
}

.afl-cart-unit-label,
.afl-cart-quantity label {
    display: block;
    margin-bottom: 5px;
    color: #8A8378;
    font-size: 11px;
}

.afl-cart-quantity .quantity {
    display: inline-flex;
    max-width: 88px;
}

.afl-cart-quantity .qty,
.afl-cart-quantity input.qty {
    width: 76px !important;
    min-height: 34px;
    padding: 5px 8px !important;
    border: 1px solid #E2D5C4 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #303A32;
    text-align: center;
}

.afl-cart-unit-price,
.afl-cart-line-total {
    color: #303A32;
    font-size: 13px;
}

.afl-cart-line-total strong {
    color: #344C3B;
    font-size: 14px;
}

.afl-cart-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 1px solid #E8DED0;
}

.afl-cart-page .afl-update-cart,
.afl-cart-page button[name="update_cart"] {
    min-height: 36px;
    padding: 8px 15px !important;
    border: 1px solid #C6A15B !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #344C3B !important;
    font-size: 12px !important;
    font-weight: 600;
}

.afl-cart-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.afl-cart-summary-card {
    padding: 19px;
}

.afl-cart-summary-card h2 {
    margin: 5px 0 15px;
}

.afl-cart-summary-content table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
    font-size: 13px;
}

.afl-cart-summary-content th,
.afl-cart-summary-content td {
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #EEE6DA !important;
    background: transparent !important;
    color: #4D554D;
    text-align: left;
}

.afl-cart-summary-content td {
    text-align: right;
}

.afl-cart-summary-content .order-total th,
.afl-cart-summary-content .order-total td {
    border-bottom: 0 !important;
    color: #344C3B;
    font-size: 16px;
    font-weight: 700;
}

.afl-cart-summary-content .woocommerce-shipping-destination,
.afl-cart-summary-content .woocommerce-shipping-calculator {
    font-size: 11px;
}

.afl-cart-final-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    margin-top: 16px;
}

.afl-cart-final-actions a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 !important;
    padding: 10px 9px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
}

.afl-cart-final-actions .afl-continue-shopping {
    border: 1px solid #C6A15B !important;
    background: #fff !important;
    color: #344C3B !important;
}

.afl-cart-final-actions .afl-checkout-button {
    border: 1px solid #344C3B !important;
    background: #344C3B !important;
    color: #fff !important;
}

.afl-cart-final-actions a:hover {
    filter: brightness(.96);
}

.afl-cart-secure-note {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #EEE6DA;
    color: #77796F;
    font-size: 11px;
    line-height: 1.6;
}

.afl-cart-secure-note span {
    color: #C6A15B;
    font-size: 16px;
    margin-right: 4px;
}

.afl-cart-coupon {
    padding: 15px;
}

.afl-cart-coupon label {
    display: block;
    margin-bottom: 7px;
    color: #344C3B;
    font-size: 13px;
    font-weight: 700;
}

.afl-cart-coupon-row {
    display: flex;
    gap: 7px;
}

.afl-cart-coupon-row input {
    min-width: 0;
    flex: 1;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid #E2D5C4;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
}

.afl-cart-coupon-row button {
    padding: 7px 11px;
    border: 0;
    border-radius: 4px;
    background: #344C3B;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.afl-cart-help-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.afl-cart-help-icon {
    color: #C6A15B;
    font-size: 27px;
}

.afl-cart-help-card strong {
    color: #344C3B;
    font: 500 16px Georgia, "Times New Roman", serif;
}

.afl-cart-help-card p {
    margin: 3px 0;
    color: #77796F;
    font-size: 11px;
}

.afl-cart-help-card a {
    color: #344C3B;
    font-size: 13px;
    font-weight: 700;
}

.afl-cart-recommendations {
    margin-top: 24px;
    padding: 20px;
}

.afl-cart-recommendation-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
}

.afl-cart-recommendation-heading h2 {
    margin: 4px 0 0;
    color: #344C3B;
    font: 500 23px/1.25 Georgia, "Times New Roman", serif;
}

.afl-cart-recommendation-heading > a {
    color: #344C3B;
    font-size: 12px;
    font-weight: 700;
}

.afl-cart-recommendations ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.afl-cart-empty {
    padding: 45px 20px;
    text-align: center;
}

.afl-cart-empty-icon {
    display: block;
    color: #C6A15B;
    font-size: 38px;
}

.afl-cart-empty h2 {
    margin: 8px 0;
    color: #344C3B;
    font: 500 25px Georgia, "Times New Roman", serif;
}

.afl-cart-empty p {
    color: #77796F;
    font-size: 13px;
}

.afl-cart-empty .afl-checkout-button {
    display: inline-flex;
    margin-top: 10px;
    padding: 11px 22px !important;
    border-radius: 4px !important;
    background: #344C3B !important;
    color: #fff !important;
    font-size: 13px;
}

/* Hide duplicate default checkout button styling if another extension injects it. */
.afl-cart-page .wc-proceed-to-checkout > a:not(.afl-checkout-button) {
    display: none !important;
}

@media (max-width: 900px) {
    .afl-cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .afl-cart-summary {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
    .afl-cart-help-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .afl-cart-page {
        margin: 12px auto 22px;
        padding: 0 10px;
    }
    .afl-cart-inner {
        padding: 15px 12px;
    }
    .afl-cart-items {
        padding: 12px;
    }
    .afl-cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px;
    }
    .afl-cart-item-image {
        width: 82px;
    }
    .afl-cart-product-name {
        font-size: 14px;
    }
    .afl-cart-item-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .afl-cart-line-total {
        grid-column: 1 / -1;
    }
    .afl-cart-summary {
        display: flex;
    }
    .afl-cart-final-actions {
        grid-template-columns: 1fr 1fr;
    }
    .afl-cart-final-actions a {
        font-size: 11px !important;
        padding-inline: 6px !important;
    }
    .afl-cart-recommendations ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .afl-cart-recommendation-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/*
 * ALICE FLOWERS LUXURY — CART PAGE
 * Dán toàn bộ nội dung file này vào CUỐI style.css của theme
 * hoặc nạp file này riêng sau style.css.
 */

.afl-cart-page {
    width: 100%;
    max-width: 1192px;
    margin: 22px auto 34px;
    padding: 0 18px;
    color: #303A32;
    font-family: inherit;
}

.afl-cart-inner {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(18px, 2.5vw, 32px);
    background: #fff;
    border: 1px solid #E8DED0;
    border-radius: 9px;
    box-shadow: 0 8px 28px rgba(52, 76, 59, .07);
}

.afl-cart-page a {
    text-decoration: none;
}

.afl-cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E8DED0;
    color: #858579;
    font-size: 12px;
}

.afl-cart-breadcrumb a {
    color: #344C3B;
}

.afl-cart-heading {
    margin: 0 0 24px;
}

.afl-cart-eyebrow {
    display: block;
    color: #B18A45;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.5;
}

.afl-cart-heading h1 {
    margin: 5px 0 4px;
    color: #344C3B;
    font: 500 clamp(28px, 3vw, 36px)/1.2 Georgia, "Times New Roman", serif;
}

.afl-cart-heading p {
    margin: 0;
    color: #77796F;
    font-size: 13px;
}

.afl-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr);
    gap: 22px;
    align-items: start;
}

.afl-cart-items,
.afl-cart-summary-card,
.afl-cart-coupon,
.afl-cart-help-card,
.afl-cart-recommendations,
.afl-cart-empty {
    min-width: 0;
    background: #FFFCF8;
    border: 1px solid #E8DED0;
    border-radius: 7px;
}

.afl-cart-items {
    padding: 18px;
}

.afl-cart-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 13px;
    margin-bottom: 12px;
    border-bottom: 1px solid #E8DED0;
}

.afl-cart-section-title h2,
.afl-cart-summary-card h2 {
    margin: 0;
    color: #344C3B;
    font: 500 21px/1.3 Georgia, "Times New Roman", serif;
}

.afl-cart-section-title > span {
    color: #8B806E;
    font-size: 12px;
    white-space: nowrap;
}

.afl-cart-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid #EEE6DA;
}

.afl-cart-item:last-of-type {
    border-bottom: 0;
}

.afl-cart-item-image {
    width: 112px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #E8DED0;
    border-radius: 6px;
    background: #F7F2EA;
}

.afl-cart-item-image a,
.afl-cart-item-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.afl-cart-item-image img {
    object-fit: cover;
    margin: 0 !important;
}

.afl-cart-item-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.afl-cart-item-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.afl-cart-product-name {
    margin: 2px 0 8px;
    color: #344C3B;
    font: 500 17px/1.35 Georgia, "Times New Roman", serif;
}

.afl-cart-product-name a {
    color: inherit;
}

.afl-cart-remove,
.afl-cart-item-topline a.remove {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    margin: 0 !important;
    border-radius: 50%;
    background: #F8EDEA !important;
    color: #B34A3E !important;
    font-size: 18px !important;
    line-height: 25px !important;
    text-align: center;
}

.afl-cart-item .variation,
.afl-cart-item .wc-item-meta {
    margin: 0 0 8px;
    color: #77796F;
    font-size: 11px;
}

.afl-cart-item-bottom {
    display: grid;
    grid-template-columns: minmax(90px, .8fr) minmax(90px, 1fr) minmax(100px, 1fr);
    gap: 12px;
    align-items: end;
    margin-top: 12px;
}

.afl-cart-unit-label,
.afl-cart-quantity label {
    display: block;
    margin-bottom: 5px;
    color: #8A8378;
    font-size: 11px;
}

.afl-cart-quantity .quantity {
    display: inline-flex;
    max-width: 88px;
}

.afl-cart-quantity .qty,
.afl-cart-quantity input.qty {
    width: 76px !important;
    min-height: 34px;
    padding: 5px 8px !important;
    border: 1px solid #E2D5C4 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #303A32;
    text-align: center;
}

.afl-cart-unit-price,
.afl-cart-line-total {
    color: #303A32;
    font-size: 13px;
}

.afl-cart-line-total strong {
    color: #344C3B;
    font-size: 14px;
}

.afl-cart-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 1px solid #E8DED0;
}

.afl-cart-page .afl-update-cart,
.afl-cart-page button[name="update_cart"] {
    min-height: 36px;
    padding: 8px 15px !important;
    border: 1px solid #C6A15B !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #344C3B !important;
    font-size: 12px !important;
    font-weight: 600;
}

.afl-cart-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.afl-cart-summary-card {
    padding: 19px;
}

.afl-cart-summary-card h2 {
    margin: 5px 0 15px;
}

.afl-cart-summary-content table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
    font-size: 13px;
}

.afl-cart-summary-content th,
.afl-cart-summary-content td {
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #EEE6DA !important;
    background: transparent !important;
    color: #4D554D;
    text-align: left;
}

.afl-cart-summary-content td {
    text-align: right;
}

.afl-cart-summary-content .order-total th,
.afl-cart-summary-content .order-total td {
    border-bottom: 0 !important;
    color: #344C3B;
    font-size: 16px;
    font-weight: 700;
}

.afl-cart-summary-content .woocommerce-shipping-destination,
.afl-cart-summary-content .woocommerce-shipping-calculator {
    font-size: 11px;
}

.afl-cart-final-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    margin-top: 16px;
}

.afl-cart-final-actions a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 !important;
    padding: 10px 9px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
}

.afl-cart-final-actions .afl-continue-shopping {
    border: 1px solid #C6A15B !important;
    background: #fff !important;
    color: #344C3B !important;
}

.afl-cart-final-actions .afl-checkout-button {
    border: 1px solid #344C3B !important;
    background: #344C3B !important;
    color: #fff !important;
}

.afl-cart-final-actions a:hover {
    filter: brightness(.96);
}

.afl-cart-secure-note {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #EEE6DA;
    color: #77796F;
    font-size: 11px;
    line-height: 1.6;
}

.afl-cart-secure-note span {
    color: #C6A15B;
    font-size: 16px;
    margin-right: 4px;
}

.afl-cart-coupon {
    padding: 15px;
}

.afl-cart-coupon label {
    display: block;
    margin-bottom: 7px;
    color: #344C3B;
    font-size: 13px;
    font-weight: 700;
}

.afl-cart-coupon-row {
    display: flex;
    gap: 7px;
}

.afl-cart-coupon-row input {
    min-width: 0;
    flex: 1;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid #E2D5C4;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
}

.afl-cart-coupon-row button {
    padding: 7px 11px;
    border: 0;
    border-radius: 4px;
    background: #344C3B;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.afl-cart-help-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.afl-cart-help-icon {
    color: #C6A15B;
    font-size: 27px;
}

.afl-cart-help-card strong {
    color: #344C3B;
    font: 500 16px Georgia, "Times New Roman", serif;
}

.afl-cart-help-card p {
    margin: 3px 0;
    color: #77796F;
    font-size: 11px;
}

.afl-cart-help-card a {
    color: #344C3B;
    font-size: 13px;
    font-weight: 700;
}

.afl-cart-recommendations {
    margin-top: 24px;
    padding: 20px;
}

.afl-cart-recommendation-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
}

.afl-cart-recommendation-heading h2 {
    margin: 4px 0 0;
    color: #344C3B;
    font: 500 23px/1.25 Georgia, "Times New Roman", serif;
}

.afl-cart-recommendation-heading > a {
    color: #344C3B;
    font-size: 12px;
    font-weight: 700;
}

.afl-cart-recommendations ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.afl-cart-empty {
    padding: 45px 20px;
    text-align: center;
}

.afl-cart-empty-icon {
    display: block;
    color: #C6A15B;
    font-size: 38px;
}

.afl-cart-empty h2 {
    margin: 8px 0;
    color: #344C3B;
    font: 500 25px Georgia, "Times New Roman", serif;
}

.afl-cart-empty p {
    color: #77796F;
    font-size: 13px;
}

.afl-cart-empty .afl-checkout-button {
    display: inline-flex;
    margin-top: 10px;
    padding: 11px 22px !important;
    border-radius: 4px !important;
    background: #344C3B !important;
    color: #fff !important;
    font-size: 13px;
}

/* Hide duplicate default checkout button styling if another extension injects it. */
.afl-cart-page .wc-proceed-to-checkout > a:not(.afl-checkout-button) {
    display: none !important;
}

@media (max-width: 900px) {
    .afl-cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .afl-cart-summary {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
    .afl-cart-help-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .afl-cart-page {
        margin: 12px auto 22px;
        padding: 0 10px;
    }
    .afl-cart-inner {
        padding: 15px 12px;
    }
    .afl-cart-items {
        padding: 12px;
    }
    .afl-cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px;
    }
    .afl-cart-item-image {
        width: 82px;
    }
    .afl-cart-product-name {
        font-size: 14px;
    }
    .afl-cart-item-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .afl-cart-line-total {
        grid-column: 1 / -1;
    }
    .afl-cart-summary {
        display: flex;
    }
    .afl-cart-final-actions {
        grid-template-columns: 1fr 1fr;
    }
    .afl-cart-final-actions a {
        font-size: 11px !important;
        padding-inline: 6px !important;
    }
    .afl-cart-recommendations ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .afl-cart-recommendation-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   TYPOGRAPHY SYNC — ALICE FLOWERS LUXURY
   Body: Be Vietnam Pro | Headings: Playfair Display
   ========================================================= */
.afl-cart-page,
.afl-cart-page button,
.afl-cart-page input,
.afl-cart-page select,
.afl-cart-page textarea,
.afl-cart-page table,
.afl-cart-page .woocommerce {
    font-family: var(--af-body-font, "Be Vietnam Pro"), Arial, sans-serif !important;
}

.afl-cart-page .afl-cart-heading h1,
.afl-cart-page .afl-cart-section-title h2,
.afl-cart-page .afl-cart-summary-card h2,
.afl-cart-page .afl-cart-product-name,
.afl-cart-page .afl-cart-help-card strong,
.afl-cart-page .afl-cart-recommendation-heading h2,
.afl-cart-page .afl-cart-empty h2 {
    font-family: var(--af-heading-font, "Playfair Display"), Georgia, "Times New Roman", serif !important;
}

/* Tăng độ rõ chữ nội dung, tránh chữ quá nhỏ như ảnh hiện tại. */
.afl-cart-page {
    font-size: 14px;
    line-height: 1.6;
}

.afl-cart-breadcrumb {
    font-size: 12px;
}

.afl-cart-eyebrow {
    font-size: 10px;
}

.afl-cart-heading h1 {
    font-size: clamp(30px, 3vw, 36px);
}

.afl-cart-heading p {
    font-size: 13px;
}

.afl-cart-section-title h2,
.afl-cart-summary-card h2 {
    font-size: 20px;
}

.afl-cart-section-title > span,
.afl-cart-unit-label,
.afl-cart-quantity label {
    font-size: 12px;
}

.afl-cart-product-name {
    font-size: 16px;
    line-height: 1.4;
}

.afl-cart-unit-price,
.afl-cart-line-total {
    font-size: 13px;
}

.afl-cart-line-total strong {
    font-size: 14px;
}

.afl-cart-summary-content table {
    font-size: 13px;
}

.afl-cart-final-actions a {
    font-size: 12px !important;
}

.afl-cart-secure-note,
.afl-cart-help-card p {
    font-size: 12px;
}

.afl-cart-help-card strong {
    font-size: 17px;
}

.afl-cart-help-card a {
    font-size: 13px;
}

@media (max-width: 600px) {
    .afl-cart-product-name {
        font-size: 15px;
    }
}

/*
 * ALICE FLOWERS LUXURY — CART PAGE
 * Dán toàn bộ nội dung file này vào CUỐI style.css của theme
 * hoặc nạp file này riêng sau style.css.
 */

.afl-cart-page {
    width: 100%;
    max-width: 1192px;
    margin: 22px auto 34px;
    padding: 0 18px;
    color: #303A32;
    font-family: inherit;
}

.afl-cart-inner {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(18px, 2.5vw, 32px);
    background: #fff;
    border: 1px solid #E8DED0;
    border-radius: 9px;
    box-shadow: 0 8px 28px rgba(52, 76, 59, .07);
}

.afl-cart-page a {
    text-decoration: none;
}

.afl-cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E8DED0;
    color: #858579;
    font-size: 12px;
}

.afl-cart-breadcrumb a {
    color: #344C3B;
}

.afl-cart-heading {
    margin: 0 0 24px;
}

.afl-cart-eyebrow {
    display: block;
    color: #B18A45;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.5;
}

.afl-cart-heading h1 {
    margin: 5px 0 4px;
    color: #344C3B;
    font: 500 clamp(28px, 3vw, 36px)/1.2 Georgia, "Times New Roman", serif;
}

.afl-cart-heading p {
    margin: 0;
    color: #77796F;
    font-size: 13px;
}

.afl-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr);
    gap: 22px;
    align-items: start;
}

.afl-cart-items,
.afl-cart-summary-card,
.afl-cart-coupon,
.afl-cart-help-card,
.afl-cart-recommendations,
.afl-cart-empty {
    min-width: 0;
    background: #FFFCF8;
    border: 1px solid #E8DED0;
    border-radius: 7px;
}

.afl-cart-items {
    padding: 18px;
}

.afl-cart-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 13px;
    margin-bottom: 12px;
    border-bottom: 1px solid #E8DED0;
}

.afl-cart-section-title h2,
.afl-cart-summary-card h2 {
    margin: 0;
    color: #344C3B;
    font: 500 21px/1.3 Georgia, "Times New Roman", serif;
}

.afl-cart-section-title > span {
    color: #8B806E;
    font-size: 12px;
    white-space: nowrap;
}

.afl-cart-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid #EEE6DA;
}

.afl-cart-item:last-of-type {
    border-bottom: 0;
}

.afl-cart-item-image {
    width: 112px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #E8DED0;
    border-radius: 6px;
    background: #F7F2EA;
}

.afl-cart-item-image a,
.afl-cart-item-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.afl-cart-item-image img {
    object-fit: cover;
    margin: 0 !important;
}

.afl-cart-item-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.afl-cart-item-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.afl-cart-product-name {
    margin: 2px 0 8px;
    color: #344C3B;
    font: 500 17px/1.35 Georgia, "Times New Roman", serif;
}

.afl-cart-product-name a {
    color: inherit;
}

.afl-cart-remove,
.afl-cart-item-topline a.remove {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    margin: 0 !important;
    border-radius: 50%;
    background: #F8EDEA !important;
    color: #B34A3E !important;
    font-size: 18px !important;
    line-height: 25px !important;
    text-align: center;
}

.afl-cart-item .variation,
.afl-cart-item .wc-item-meta {
    margin: 0 0 8px;
    color: #77796F;
    font-size: 11px;
}

.afl-cart-item-bottom {
    display: grid;
    grid-template-columns: minmax(90px, .8fr) minmax(90px, 1fr) minmax(100px, 1fr);
    gap: 12px;
    align-items: end;
    margin-top: 12px;
}

.afl-cart-unit-label,
.afl-cart-quantity label {
    display: block;
    margin-bottom: 5px;
    color: #8A8378;
    font-size: 11px;
}

.afl-cart-quantity .quantity {
    display: inline-flex;
    max-width: 88px;
}

.afl-cart-quantity .qty,
.afl-cart-quantity input.qty {
    width: 76px !important;
    min-height: 34px;
    padding: 5px 8px !important;
    border: 1px solid #E2D5C4 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #303A32;
    text-align: center;
}

.afl-cart-unit-price,
.afl-cart-line-total {
    color: #303A32;
    font-size: 13px;
}

.afl-cart-line-total strong {
    color: #344C3B;
    font-size: 14px;
}

.afl-cart-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 1px solid #E8DED0;
}

.afl-cart-page .afl-update-cart,
.afl-cart-page button[name="update_cart"] {
    min-height: 36px;
    padding: 8px 15px !important;
    border: 1px solid #C6A15B !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #344C3B !important;
    font-size: 12px !important;
    font-weight: 600;
}

.afl-cart-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.afl-cart-summary-card {
    padding: 19px;
}

.afl-cart-summary-card h2 {
    margin: 5px 0 15px;
}

.afl-cart-summary-content table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
    font-size: 13px;
}

.afl-cart-summary-content th,
.afl-cart-summary-content td {
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #EEE6DA !important;
    background: transparent !important;
    color: #4D554D;
    text-align: left;
}

.afl-cart-summary-content td {
    text-align: right;
}

.afl-cart-summary-content .order-total th,
.afl-cart-summary-content .order-total td {
    border-bottom: 0 !important;
    color: #344C3B;
    font-size: 16px;
    font-weight: 700;
}

.afl-cart-summary-content .woocommerce-shipping-destination,
.afl-cart-summary-content .woocommerce-shipping-calculator {
    font-size: 11px;
}

.afl-cart-final-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    margin-top: 16px;
}

.afl-cart-final-actions a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 !important;
    padding: 10px 9px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
}

.afl-cart-final-actions .afl-continue-shopping {
    border: 1px solid #C6A15B !important;
    background: #fff !important;
    color: #344C3B !important;
}

.afl-cart-final-actions .afl-checkout-button {
    border: 1px solid #344C3B !important;
    background: #344C3B !important;
    color: #fff !important;
}

.afl-cart-final-actions a:hover {
    filter: brightness(.96);
}

.afl-cart-secure-note {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #EEE6DA;
    color: #77796F;
    font-size: 11px;
    line-height: 1.6;
}

.afl-cart-secure-note span {
    color: #C6A15B;
    font-size: 16px;
    margin-right: 4px;
}

.afl-cart-coupon {
    padding: 15px;
}

.afl-cart-coupon label {
    display: block;
    margin-bottom: 7px;
    color: #344C3B;
    font-size: 13px;
    font-weight: 700;
}

.afl-cart-coupon-row {
    display: flex;
    gap: 7px;
}

.afl-cart-coupon-row input {
    min-width: 0;
    flex: 1;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid #E2D5C4;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
}

.afl-cart-coupon-row button {
    padding: 7px 11px;
    border: 0;
    border-radius: 4px;
    background: #344C3B;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.afl-cart-help-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.afl-cart-help-icon {
    color: #C6A15B;
    font-size: 27px;
}

.afl-cart-help-card strong {
    color: #344C3B;
    font: 500 16px Georgia, "Times New Roman", serif;
}

.afl-cart-help-card p {
    margin: 3px 0;
    color: #77796F;
    font-size: 11px;
}

.afl-cart-help-card a {
    color: #344C3B;
    font-size: 13px;
    font-weight: 700;
}

.afl-cart-recommendations {
    margin-top: 24px;
    padding: 20px;
}

.afl-cart-recommendation-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
}

.afl-cart-recommendation-heading h2 {
    margin: 4px 0 0;
    color: #344C3B;
    font: 500 23px/1.25 Georgia, "Times New Roman", serif;
}

.afl-cart-recommendation-heading > a {
    color: #344C3B;
    font-size: 12px;
    font-weight: 700;
}

.afl-cart-recommendations ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.afl-cart-empty {
    padding: 45px 20px;
    text-align: center;
}

.afl-cart-empty-icon {
    display: block;
    color: #C6A15B;
    font-size: 38px;
}

.afl-cart-empty h2 {
    margin: 8px 0;
    color: #344C3B;
    font: 500 25px Georgia, "Times New Roman", serif;
}

.afl-cart-empty p {
    color: #77796F;
    font-size: 13px;
}

.afl-cart-empty .afl-checkout-button {
    display: inline-flex;
    margin-top: 10px;
    padding: 11px 22px !important;
    border-radius: 4px !important;
    background: #344C3B !important;
    color: #fff !important;
    font-size: 13px;
}

/* Hide duplicate default checkout button styling if another extension injects it. */
.afl-cart-page .wc-proceed-to-checkout > a:not(.afl-checkout-button) {
    display: none !important;
}

@media (max-width: 900px) {
    .afl-cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .afl-cart-summary {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
    .afl-cart-help-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .afl-cart-page {
        margin: 12px auto 22px;
        padding: 0 10px;
    }
    .afl-cart-inner {
        padding: 15px 12px;
    }
    .afl-cart-items {
        padding: 12px;
    }
    .afl-cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px;
    }
    .afl-cart-item-image {
        width: 82px;
    }
    .afl-cart-product-name {
        font-size: 14px;
    }
    .afl-cart-item-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .afl-cart-line-total {
        grid-column: 1 / -1;
    }
    .afl-cart-summary {
        display: flex;
    }
    .afl-cart-final-actions {
        grid-template-columns: 1fr 1fr;
    }
    .afl-cart-final-actions a {
        font-size: 11px !important;
        padding-inline: 6px !important;
    }
    .afl-cart-recommendations ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .afl-cart-recommendation-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   TYPOGRAPHY SYNC — ALICE FLOWERS LUXURY
   Body: Be Vietnam Pro | Headings: Playfair Display
   ========================================================= */
.afl-cart-page,
.afl-cart-page button,
.afl-cart-page input,
.afl-cart-page select,
.afl-cart-page textarea,
.afl-cart-page table,
.afl-cart-page .woocommerce {
    font-family: var(--af-body-font, "Be Vietnam Pro"), Arial, sans-serif !important;
}

.afl-cart-page .afl-cart-heading h1,
.afl-cart-page .afl-cart-section-title h2,
.afl-cart-page .afl-cart-summary-card h2,
.afl-cart-page .afl-cart-product-name,
.afl-cart-page .afl-cart-help-card strong,
.afl-cart-page .afl-cart-recommendation-heading h2,
.afl-cart-page .afl-cart-empty h2 {
    font-family: var(--af-heading-font, "Playfair Display"), Georgia, "Times New Roman", serif !important;
}

/* Tăng độ rõ chữ nội dung, tránh chữ quá nhỏ như ảnh hiện tại. */
.afl-cart-page {
    font-size: 14px;
    line-height: 1.6;
}

.afl-cart-breadcrumb {
    font-size: 12px;
}

.afl-cart-eyebrow {
    font-size: 10px;
}

.afl-cart-heading h1 {
    font-size: clamp(30px, 3vw, 36px);
}

.afl-cart-heading p {
    font-size: 13px;
}

.afl-cart-section-title h2,
.afl-cart-summary-card h2 {
    font-size: 20px;
}

.afl-cart-section-title > span,
.afl-cart-unit-label,
.afl-cart-quantity label {
    font-size: 12px;
}

.afl-cart-product-name {
    font-size: 16px;
    line-height: 1.4;
}

.afl-cart-unit-price,
.afl-cart-line-total {
    font-size: 13px;
}

.afl-cart-line-total strong {
    font-size: 14px;
}

.afl-cart-summary-content table {
    font-size: 13px;
}

.afl-cart-final-actions a {
    font-size: 12px !important;
}

.afl-cart-secure-note,
.afl-cart-help-card p {
    font-size: 12px;
}

.afl-cart-help-card strong {
    font-size: 17px;
}

.afl-cart-help-card a {
    font-size: 13px;
}

@media (max-width: 600px) {
    .afl-cart-product-name {
        font-size: 15px;
    }
}


/* =========================================================
   LAYOUT FIX — MATCH HEADER / FOOTER WIDTH
   Remove top and bottom gaps around the cart page.
   Scoped only to the Alice Flowers cart page.
   ========================================================= */
body.woocommerce-cart .afl-cart-page {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.woocommerce-cart .afl-cart-page .afl-cart-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

/* Prevent theme wrappers from adding vertical spacing around cart content. */
body.woocommerce-cart .site-main,
body.woocommerce-cart main#main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Keep the cart responsive on smaller screens without adding outer gaps. */
@media (max-width: 600px) {
    body.woocommerce-cart .afl-cart-page {
        margin: 0 auto !important;
        padding: 0 !important;
    }

    body.woocommerce-cart .afl-cart-page .afl-cart-inner {
        border-radius: 0;
    }
}

/*
 * ALICE FLOWERS — CART OUTER LAYOUT FIX
 * Paste this block at the VERY END of the active theme's style.css.
 * Scope: cart page only. Does not change product, contact or home pages.
 */

/* The cart's main wrapper inherits .af-page padding (35px top / 55px bottom).
   Remove it only on the cart page. */
body.woocommerce-cart main,
body.woocommerce-cart main.af-page,
body.woocommerce-cart main#main,
body.woocommerce-cart .site-main {
    box-sizing: border-box !important;
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Match the cart panel's outer width to the header / navigation / footer. */
body.woocommerce-cart .afl-cart-page {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Keep the white cart panel flush to the aligned page edges. */
body.woocommerce-cart .afl-cart-page > .afl-cart-inner {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Do not add a separate gap before the footer on the cart page. */
body.woocommerce-cart .af-footer {
    margin-top: 0 !important;
}

/* Mobile: retain a small comfortable inset while eliminating vertical gaps. */
@media (max-width: 680px) {
    body.woocommerce-cart main,
    body.woocommerce-cart main.af-page,
    body.woocommerce-cart main#main,
    body.woocommerce-cart .site-main {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body.woocommerce-cart .afl-cart-page {
        width: 100% !important;
        padding: 0 10px !important;
    }

    body.woocommerce-cart .afl-cart-page > .afl-cart-inner {
        border-radius: 0 0 8px 8px;
    }
}


/* =========================================================
   ALICE FLOWERS — FINAL CART WIDTH ALIGNMENT
   The cart shortcode sits inside the theme's .af-container,
   which has a 48px side gutter. Expand that ancestor on cart
   pages only so the cart panel matches header/navigation/footer.
   ========================================================= */
body.woocommerce-cart .af-container:has(.afl-cart-page) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-cart main,
body.woocommerce-cart main.af-page,
body.woocommerce-cart main#main,
body.woocommerce-cart .site-main {
    box-sizing: border-box !important;
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.woocommerce-cart .afl-cart-page,
body.woocommerce-cart .afl-cart-page > .afl-cart-inner {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-cart .afl-cart-page {
    padding: 0 !important;
}

body.woocommerce-cart .af-footer {
    margin-top: 0 !important;
}

@media (max-width: 680px) {
    body.woocommerce-cart .af-container:has(.afl-cart-page) {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.woocommerce-cart .afl-cart-page {
        padding: 0 10px !important;
    }
}

/* Làm nổi bật thông báo xác nhận giao hoa */
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals * {
    /* Giữ nguyên định dạng các thành phần khác */
}

.woocommerce-cart .cart-collaterals .af-cart-note {
    color: #E53945 !important;
    font-weight: 700 !important;
}

/* Thông báo xác nhận giao hoa trong giỏ hàng */
body.woocommerce-cart p.af-cart-note,
body.woocommerce-cart .af-cart-note {
    color: #E53945 !important;
    font-weight: 700 !important;
    font-size: inherit;
}


/* ==========================================
   ALICE FLOWERS - CHECKOUT PAGE
   ========================================== */

body.woocommerce-checkout .woocommerce {
    width: 100%;
    max-width: 800px;
    margin: 12px auto 20px;
    padding: 26px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E9DDCC;
    border-radius: 7px;
    color: #303A32;
}

/* Tiêu đề trang */
body.woocommerce-checkout .entry-title {
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: 400;
    color: #344C3B;
    margin: 0 0 20px;
}

/* Bố cục hai cột */
body.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
    align-items: start;
}

/* Cột thông tin khách hàng */
body.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    float: none;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    width: 100%;
    float: none;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    background: #FAF4EC;
    border: 1px solid #E9DDCC;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 15px;
}

/* Tiêu đề các khu vực */
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: 400;
    color: #344C3B;
    margin: 0 0 16px;
}

/* Cột đơn hàng */
body.woocommerce-checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: -15px;
}

body.woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    padding: 18px;
    background: #FAF4EC;
    border: 1px solid #E9DDCC;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Nhãn biểu mẫu */
body.woocommerce-checkout form.checkout label {
    color: #344C3B;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Ô nhập liệu */
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout textarea,
body.woocommerce-checkout form.checkout select {
    width: 100%;
    min-height: 39px;
    padding: 9px 11px;
    border: 1px solid #DCCDBA;
    border-radius: 4px;
    background: #FFFFFF;
    color: #303A32;
    font-size: 13px;
    box-sizing: border-box;
    box-shadow: none;
}

body.woocommerce-checkout form.checkout textarea {
    min-height: 85px;
}

body.woocommerce-checkout form.checkout input:focus,
body.woocommerce-checkout form.checkout textarea:focus,
body.woocommerce-checkout form.checkout select:focus {
    border-color: #C6A15B;
    outline: none;
}

/* Khoảng cách trường */
body.woocommerce-checkout .form-row {
    margin-bottom: 12px;
}

/* Bảng đơn hàng */
body.woocommerce-checkout #order_review table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: #FFFFFF;
}

body.woocommerce-checkout #order_review th,
body.woocommerce-checkout #order_review td {
    padding: 10px 7px;
    border-bottom: 1px solid #E9DDCC;
    color: #303A32;
}

body.woocommerce-checkout #order_review .order-total {
    color: #344C3B;
    font-weight: 700;
}

/* Phương thức thanh toán */
body.woocommerce-checkout #payment {
    background: #FFFFFF;
    border: 1px solid #E9DDCC;
    border-radius: 5px;
    margin-top: 16px;
}

body.woocommerce-checkout #payment ul.payment_methods {
    padding: 14px;
    border-bottom: 1px solid #E9DDCC;
}

body.woocommerce-checkout #payment .payment_box {
    background: #FAF4EC;
    color: #303A32;
    font-size: 12px;
}

/* Nút đặt hàng */
body.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 46px;
    background: #344C3B !important;
    color: #FFFFFF !important;
    border: 1px solid #344C3B !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all .25s ease;
}

body.woocommerce-checkout #place_order:hover {
    background: #C6A15B !important;
    border-color: #C6A15B !important;
    color: #FFFFFF !important;
}

/* Chữ bắt buộc */
body.woocommerce-checkout .required {
    color: #E53945 !important;
}

/* Không tạo khoảng trống thừa */
body.woocommerce-checkout form.checkout {
    margin-bottom: 0;
}

body.woocommerce-checkout .woocommerce-additional-fields {
    margin-bottom: 0;
}

/* Điện thoại và máy tính bảng */
@media (max-width: 767px) {
    body.woocommerce-checkout .woocommerce {
        padding: 15px;
        margin: 8px auto;
    }

    body.woocommerce-checkout form.checkout {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        width: 100%;
        grid-column: auto;
        grid-row: auto;
    }

    body.woocommerce-checkout #order_review_heading {
        margin-bottom: 0;
    }
}



/* =========================================================
   ALICE FLOWERS LUXURY — CHECKOUT LAYOUT CORRECTION
   Fix narrow billing fields caused by the global .col2-set
   two-column rule. Keep WooCommerce checkout functionality.
   ========================================================= */

/* Keep checkout canvas aligned with the centered site frame. */
body.woocommerce-checkout .woocommerce {
    width: 100% !important;
    max-width: 800px !important;
    margin: 12px auto 24px !important;
    padding: 26px !important;
    box-sizing: border-box !important;
}

/* Two main columns: customer information and order summary. */
body.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    gap: 18px !important;
    align-items: start !important;
    width: 100% !important;
}

/* Customer details occupies the full left column. */
body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
}

/* IMPORTANT: WooCommerce .col2-set is globally styled as 2 columns.
   On checkout, billing and shipping must stack vertically inside
   the customer column instead of splitting each field area in half. */
body.woocommerce-checkout #customer_details.col2-set,
body.woocommerce-checkout #customer_details .col2-set,
body.woocommerce-checkout .woocommerce-checkout .col2-set {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Billing and additional-information panels. */
body.woocommerce-checkout #customer_details .woocommerce-billing-fields,
body.woocommerce-checkout #customer_details .woocommerce-shipping-fields,
body.woocommerce-checkout #customer_details .woocommerce-additional-fields {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px !important;
    margin: 0 0 14px !important;
    background: #FAF4EC !important;
    border: 1px solid #E9DDCC !important;
    border-radius: 7px !important;
}

/* Make each customer field use the full available width. */
body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout #customer_details .woocommerce-shipping-fields__field-wrapper {
    display: block !important;
    width: 100% !important;
}

body.woocommerce-checkout #customer_details .form-row,
body.woocommerce-checkout #customer_details .form-row-first,
body.woocommerce-checkout #customer_details .form-row-last,
body.woocommerce-checkout #customer_details .form-row-wide {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 13px !important;
    padding: 0 !important;
}

body.woocommerce-checkout #customer_details .form-row label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #344C3B !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.woocommerce-checkout #customer_details input.input-text,
body.woocommerce-checkout #customer_details textarea,
body.woocommerce-checkout #customer_details select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 41px !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    border: 1px solid #DCCDBA !important;
    border-radius: 5px !important;
    background: #FFFFFF !important;
    color: #303A32 !important;
    font-size: 13px !important;
    box-shadow: none !important;
}

body.woocommerce-checkout #customer_details textarea {
    min-height: 88px !important;
}

body.woocommerce-checkout #customer_details input:focus,
body.woocommerce-checkout #customer_details textarea:focus,
body.woocommerce-checkout #customer_details select:focus {
    border-color: #C6A15B !important;
    outline: none !important;
}

/* Section headings. */
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
    margin: 0 0 14px !important;
    color: #344C3B !important;
    font-family: var(--af-heading-font, Georgia, serif) !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

body.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end !important;
    margin: 0 !important;
}

/* Order review column. */
body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    background: #FAF4EC !important;
    border: 1px solid #E9DDCC !important;
    border-radius: 7px !important;
}

body.woocommerce-checkout #order_review table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #FFFFFF !important;
    font-size: 12px !important;
}

body.woocommerce-checkout #order_review th,
body.woocommerce-checkout #order_review td {
    padding: 9px 7px !important;
    border-bottom: 1px solid #E9DDCC !important;
    color: #303A32 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-checkout #order_review .order-total th,
body.woocommerce-checkout #order_review .order-total td {
    color: #344C3B !important;
    font-weight: 700 !important;
}

/* Payment method and place-order button. */
body.woocommerce-checkout #payment {
    margin-top: 15px !important;
    background: #FFFFFF !important;
    border: 1px solid #E9DDCC !important;
    border-radius: 6px !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    padding: 13px !important;
    border-bottom: 1px solid #E9DDCC !important;
}

body.woocommerce-checkout #payment .payment_box {
    background: #FAF4EC !important;
    color: #303A32 !important;
    border-radius: 5px !important;
    font-size: 12px !important;
}

body.woocommerce-checkout #payment #place_order {
    display: block !important;
    width: 100% !important;
    min-height: 45px !important;
    margin-top: 12px !important;
    padding: 12px 18px !important;
    border: 1px solid #344C3B !important;
    border-radius: 5px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

body.woocommerce-checkout #payment #place_order:hover {
    border-color: #C6A15B !important;
    background: #C6A15B !important;
    color: #FFFFFF !important;
}

body.woocommerce-checkout .required {
    color: #E53945 !important;
}

/* Tablet and mobile: stack customer information above the order. */
@media (max-width: 767px) {
    body.woocommerce-checkout .woocommerce {
        width: calc(100% - 24px) !important;
        max-width: 800px !important;
        margin: 12px auto 20px !important;
        padding: 16px !important;
    }

    body.woocommerce-checkout form.checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        width: 100% !important;
        max-width: 100% !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    body.woocommerce-checkout #customer_details .woocommerce-billing-fields,
    body.woocommerce-checkout #customer_details .woocommerce-shipping-fields,
    body.woocommerce-checkout #customer_details .woocommerce-additional-fields,
    body.woocommerce-checkout #order_review {
        padding: 14px !important;
    }
}



/* =========================================================
   CHECKOUT — SPREAD THE TWO COLUMNS OUTWARD
   Use the full inner width of the checkout panel.
   ========================================================= */

body.woocommerce-checkout .woocommerce form.checkout,
body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
    column-gap: 24px !important;
    row-gap: 16px !important;
    justify-content: stretch !important;
    align-items: start !important;
}

/* Left column: move toward the left edge and use available width. */
body.woocommerce-checkout form.checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
}

/* Right column heading and order details: move toward the right. */
body.woocommerce-checkout form.checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    justify-self: stretch !important;
}

body.woocommerce-checkout form.checkout #order_review {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
}

/* Prevent inner WooCommerce columns or fields from narrowing either side. */
body.woocommerce-checkout form.checkout #customer_details .col-1,
body.woocommerce-checkout form.checkout #customer_details .col-2,
body.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields,
body.woocommerce-checkout form.checkout #customer_details .woocommerce-additional-fields,
body.woocommerce-checkout form.checkout #customer_details .woocommerce-shipping-fields {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout form.checkout #customer_details .form-row,
body.woocommerce-checkout form.checkout #customer_details .form-row-first,
body.woocommerce-checkout form.checkout #customer_details .form-row-last,
body.woocommerce-checkout form.checkout #customer_details .form-row-wide {
    width: 100% !important;
    max-width: none !important;
}

/* Keep a comfortable two-column layout on medium screens;
   stack only on narrow phones. */
@media (min-width: 768px) {
    body.woocommerce-checkout .woocommerce {
        max-width: 1000px !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce-checkout form.checkout,
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
    }
}



/* =========================================================
   CHECKOUT — EXPAND CONTENT TO 30PX FROM THE OUTER PANEL
   ========================================================= */
@media (min-width: 768px) {
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-checkout .woocommerce-page .woocommerce {
        width: 100% !important;
        max-width: none !important;
    }

    body.woocommerce-checkout .woocommerce form.checkout,
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr) !important;
        column-gap: 24px !important;
    }

    /* Remove width caps on common theme/WooCommerce wrappers
       so the two columns can reach the 30px inner gutter. */
    body.woocommerce-checkout .woocommerce .col2-set,
    body.woocommerce-checkout .woocommerce .col2-set .col-1,
    body.woocommerce-checkout .woocommerce .col2-set .col-2,
    body.woocommerce-checkout .woocommerce #customer_details,
    body.woocommerce-checkout .woocommerce #order_review,
    body.woocommerce-checkout .woocommerce #order_review_heading {
        max-width: none !important;
    }

    body.woocommerce-checkout .woocommerce form.checkout #customer_details,
    body.woocommerce-checkout .woocommerce form.checkout #order_review,
    body.woocommerce-checkout .woocommerce form.checkout #order_review_heading {
        min-width: 0 !important;
    }
}



/* =========================================================
   CHECKOUT — MATCH THE TOP ALIGNMENT OF BOTH COLUMNS
   Put "Thông tin thanh toán" outside the beige form panel.
   ========================================================= */
@media (min-width: 768px) {
    /* Left column itself stays unboxed. */
    body.woocommerce-checkout #customer_details {
        background: transparent !important;
        border: 0 !important;
        padding: 0 !important;
        margin-top: 0 !important;
        align-self: start !important;
    }

    /* Remove the beige card from the wrapper that contains
       the heading, so the heading sits above the card. */
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 0 15px !important;
        box-shadow: none !important;
    }

    /* Heading sits outside the beige form-fields panel. */
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields > h3,
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields > .woocommerce-billing-fields__title {
        display: block !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
        line-height: 1.35 !important;
    }

    /* Beige bordered panel begins at the first input field. */
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
        display: flow-root !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #FAF4EC !important;
        border: 1px solid #E9DDCC !important;
        border-radius: 7px !important;
        padding: 16px !important;
    }

    /* Align right-side order heading with the left-side heading. */
    body.woocommerce-checkout #order_review_heading {
        align-self: start !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-checkout #order_review {
        align-self: start !important;
        margin-top: 0 !important;
    }
}

/* Mobile: retain the compact stacked layout and boxed fields. */
@media (max-width: 767px) {
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields {
        background: transparent !important;
        border: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
        background: #FAF4EC !important;
        border: 1px solid #E9DDCC !important;
        border-radius: 7px !important;
        padding: 14px !important;
    }
}



/* =========================================================
   CHECKOUT — FINAL ALIGNMENT CORRECTION
   Based on the latest screenshot:
   align both headings and align the two content panels.
   ========================================================= */
@media (min-width: 768px) {
    /* Both section titles share the same visual top line. */
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields > h3,
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields > .woocommerce-billing-fields__title {
        position: relative !important;
        top: 0 !important;
        min-height: 22px !important;
        margin: 0 0 14px !important;
        line-height: 22px !important;
    }

    body.woocommerce-checkout #order_review_heading {
        position: relative !important;
        top: 0 !important;
        min-height: 22px !important;
        margin: 0 0 14px !important;
        line-height: 22px !important;
    }

    /* The billing panel and order panel begin at the same height.
       WooCommerce places #order_review below its separate heading;
       compensate for that extra grid-row spacing. */
    body.woocommerce-checkout form.checkout #order_review {
        position: relative !important;
        top: -18px !important;
        margin-top: 0 !important;
    }

    /* Keep the payment area attached to the order panel. */
    body.woocommerce-checkout #order_review #payment {
        margin-top: 15px !important;
    }
}



/* =========================================================
   CHECKOUT — ALIGNMENT TUNING FROM SCREENSHOT 2026-11-03
   Heading on right: move down ~8px.
   Order panel on right: move up ~7px.
   Left column remains untouched.
   ========================================================= */
@media (min-width: 768px) {
    body.woocommerce-checkout #order_review_heading {
        top: 8px !important;
        margin-bottom: 14px !important;
    }

    body.woocommerce-checkout form.checkout #order_review {
        top: -25px !important;
        margin-top: 0 !important;
    }
}

/* CÂN CHỈNH HAI CỘT THANH TOÁN ALICE FLOWERS */
@media (min-width: 768px) {

    /* Tiêu đề hai cột */
    body.woocommerce-checkout #customer_details
    .woocommerce-billing-fields > h3 {
        margin-top: 0 !important;
        margin-bottom: 14px !important;
    }

    body.woocommerce-checkout #order_review_heading {
        top: 6px !important;
        margin-bottom: 14px !important;
    }

    /* Căn đỉnh hai khung nội dung */
    body.woocommerce-checkout form.checkout #order_review {
        top: -27px !important;
        margin-top: 0 !important;
    }
}



/* =========================================================
   ALICE FLOWERS — CHECKOUT FINAL GRID ALIGNMENT
   Both headings share one top line; both cream panels
   begin on the same horizontal line. Scoped to checkout.
   ========================================================= */
@media (min-width: 768px) {
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-template-rows: auto 1fr !important;
        column-gap: 24px !important;
        row-gap: 14px !important;
        align-items: start !important;
        justify-content: stretch !important;
    }

    /* Left column spans both grid rows. */
    body.woocommerce-checkout form.checkout #customer_details {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        display: block !important;
        align-self: start !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        background: transparent !important;
        border: 0 !important;
    }

    body.woocommerce-checkout form.checkout #customer_details > .col-1,
    body.woocommerce-checkout form.checkout #customer_details > .col-2 {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    /* Left heading stays above the cream form panel. */
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields {
        display: flow-root !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.woocommerce-checkout #customer_details .woocommerce-billing-fields > h3,
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields > .woocommerce-billing-fields__title,
    body.woocommerce-checkout #order_review_heading {
        display: block !important;
        position: static !important;
        align-self: start !important;
        min-height: 22px !important;
        height: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-family: var(--af-heading-font, Georgia, serif) !important;
        font-size: 19px !important;
        font-weight: 500 !important;
        line-height: 22px !important;
        color: #344C3B !important;
        transform: none !important;
    }

    /* Cream panel starts 14px below the heading. */
    body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
        display: flow-root !important;
        width: 100% !important;
        max-width: none !important;
        margin: 14px 0 14px !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        background: #FAF4EC !important;
        border: 1px solid #E9DDCC !important;
        border-radius: 7px !important;
    }

    /* Additional fields remain a separate panel below billing. */
    body.woocommerce-checkout #customer_details .woocommerce-additional-fields {
        width: 100% !important;
        max-width: none !important;
        margin: 14px 0 0 !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        background: #FAF4EC !important;
        border: 1px solid #E9DDCC !important;
        border-radius: 7px !important;
    }

    /* Right heading occupies grid row 1; order panel row 2.
       The 14px grid row-gap matches the left heading-to-panel gap. */
    body.woocommerce-checkout form.checkout #order_review_heading {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        top: auto !important;
        justify-self: stretch !important;
    }

    body.woocommerce-checkout form.checkout #order_review {
        grid-column: 2 !important;
        grid-row: 2 !important;
        position: static !important;
        top: auto !important;
        align-self: start !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        background: #FAF4EC !important;
        border: 1px solid #E9DDCC !important;
        border-radius: 7px !important;
        transform: none !important;
    }
}

/* Mobile: keep the checkout columns stacked. */
@media (max-width: 767px) {
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    body.woocommerce-checkout #customer_details .woocommerce-billing-fields {
        background: transparent !important;
        border: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout #customer_details .woocommerce-additional-fields,
    body.woocommerce-checkout #order_review {
        padding: 14px !important;
        background: #FAF4EC !important;
        border: 1px solid #E9DDCC !important;
        border-radius: 7px !important;
    }
}



/* =========================================================
   ALICE FLOWERS — CHECKOUT WIDTH & VERTICAL SPACING
   Match the checkout card to the shared header/footer frame.
   Remove the outer blank bands above and below the card.
   ========================================================= */
body.woocommerce-checkout .af-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-checkout .af-page > .af-container,
body.woocommerce-checkout .af-page .af-container {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* The white checkout card fills the same container width as
   the header and footer instead of stopping at 800–1000px. */
body.woocommerce-checkout .woocommerce {
    display: flow-root !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Keep the two checkout columns aligned within the wider card. */
@media (min-width: 768px) {
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        width: 100% !important;
        max-width: none !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        column-gap: 24px !important;
    }
}

/* Remove any theme-added vertical spacing around the checkout
   content without changing the header or footer dimensions. */
body.woocommerce-checkout main,
body.woocommerce-checkout .site-main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 767px) {
    body.woocommerce-checkout .af-page > .af-container,
    body.woocommerce-checkout .af-page .af-container {
        width: calc(100% - 24px) !important;
    }

    body.woocommerce-checkout .woocommerce {
        width: 100% !important;
        margin: 0 auto !important;
    }
}



/* FINAL WIDTH MATCH: checkout outer frame = header/footer container */
@media (min-width: 768px) {
    body.woocommerce-checkout main.af-page,
    body.woocommerce-checkout main.af-page.af-checkout-page,
    body.woocommerce-checkout .site-main {
        box-sizing: border-box !important;
        width: min(1240px, 100%) !important;
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.woocommerce-checkout main.af-page > .af-container,
    body.woocommerce-checkout main.af-page .af-container,
    body.woocommerce-checkout .site-main > .af-container {
        box-sizing: border-box !important;
        width: min(1240px, 100%) !important;
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.woocommerce-checkout .af-page-card {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.woocommerce-checkout .woocommerce,
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
    }
}

/* =========================================================
   ALICE FLOWERS LUXURY — ORDER RECEIVED PAGE DESIGN
   Add this block at the VERY END of style.css.
   Only affects WooCommerce Order Received / Thank You page.
   Does not change checkout, shop, product, header or footer.
   ========================================================= */

body.woocommerce-order-received .woocommerce-order {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: #303A32;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif);
}

/* Success message */
body.woocommerce-order-received .woocommerce-notice--success {
    margin: 0 0 22px !important;
    padding: 16px 20px 16px 48px !important;
    border: 1px solid #D9E4D8 !important;
    border-top: 3px solid #344C3B !important;
    border-radius: 8px !important;
    background: #F4F8F1 !important;
    color: #344C3B !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}
body.woocommerce-order-received .woocommerce-notice--success::before {
    color: #344C3B !important;
}

/* Order overview: order number, date, email, total and payment method */
body.woocommerce-order-received ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 0 30px !important;
    padding: 16px 10px !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 8px !important;
    background: #FAF4EC !important;
    list-style: none !important;
}
body.woocommerce-order-received ul.woocommerce-order-overview::before,
body.woocommerce-order-received ul.woocommerce-order-overview::after {
    display: none !important;
    content: none !important;
}
body.woocommerce-order-received ul.woocommerce-order-overview li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 5px 13px !important;
    border-right: 1px solid #DCCDBA !important;
    color: #77796F !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
body.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
    border-right: 0 !important;
}
body.woocommerce-order-received ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 4px;
    color: #344C3B !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-transform: none;
}

/* Section headings */
body.woocommerce-order-received .woocommerce-order h2,
body.woocommerce-order-received .woocommerce-order h3 {
    margin: 25px 0 13px !important;
    color: #344C3B !important;
    font-family: var(--af-heading-font, "Playfair Display", Georgia, serif) !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* Order details table */
body.woocommerce-order-received .woocommerce-order-details {
    margin: 0 0 26px !important;
}
body.woocommerce-order-received .woocommerce-table--order-details {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #E8DED0 !important;
    border-collapse: collapse !important;
    border-radius: 7px;
    background: #FFFFFF !important;
    font-size: 13px !important;
}
body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td {
    padding: 11px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid #E8DED0 !important;
    color: #303A32 !important;
    vertical-align: middle !important;
    overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce-table--order-details thead th {
    background: #FAF4EC !important;
    color: #344C3B !important;
    font-weight: 700 !important;
}
body.woocommerce-order-received .woocommerce-table--order-details tfoot th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
    font-weight: 600 !important;
}
body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: 0 !important;
    color: #344C3B !important;
    font-weight: 700 !important;
}

/* Billing / shipping address panel */
body.woocommerce-order-received .woocommerce-customer-details {
    margin: 24px 0 28px !important;
}
body.woocommerce-order-received .woocommerce-customer-details address {
    padding: 17px 19px !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 7px !important;
    background: #FFFFFF !important;
    color: #303A32 !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
}
body.woocommerce-order-received .woocommerce-customer-details address p {
    margin: 8px 0 0 !important;
}

/* Hide WooCommerce's default BACS bank block because the custom
   Alice Flowers panel below already displays the bank details and QR. */
body.woocommerce-order-received .woocommerce-bacs-bank-details {
    display: none !important;
}

/* Alice Flowers custom bank transfer + dynamic VietQR panel */
body.woocommerce-order-received .afl-bacs-order-payment {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 28px auto 12px !important;
    padding: 26px clamp(18px, 3vw, 34px) !important;
    border: 1px solid #E3D4BE !important;
    border-radius: 12px !important;
    background: linear-gradient(145deg, #FCF8F1 0%, #FAF4EC 100%) !important;
    box-shadow: 0 8px 28px rgba(52, 76, 59, .07) !important;
    color: #303A32 !important;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
}
body.woocommerce-order-received .afl-bacs-order-payment h2 {
    margin: 0 0 18px !important;
    padding-bottom: 13px !important;
    border-bottom: 1px solid #E8DED0 !important;
    color: #344C3B !important;
    font-family: var(--af-heading-font, "Playfair Display", Georgia, serif) !important;
    font-size: 25px !important;
    text-align: center;
}
body.woocommerce-order-received .afl-bacs-order-payment > p {
    margin: 7px 0 !important;
    color: #303A32 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}
body.woocommerce-order-received .afl-bacs-order-payment > p strong {
    color: #344C3B !important;
}
body.woocommerce-order-received .afl-bacs-order-payment > div[style*="text-align:center"] {
    margin: 20px auto !important;
    text-align: center !important;
}
body.woocommerce-order-received .afl-bacs-order-payment img {
    width: 300px !important;
    max-width: min(100%, 320px) !important;
    height: auto !important;
    padding: 12px !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 18px rgba(52, 76, 59, .06) !important;
}
body.woocommerce-order-received .afl-bacs-order-payment > div[style*="border:1px dashed"] {
    margin-top: 7px !important;
    padding: 13px 15px !important;
    border: 1px dashed #C6A15B !important;
    border-radius: 7px !important;
    background: #FFFFFF !important;
    color: #344C3B !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    letter-spacing: .02em;
    text-align: center;
}
body.woocommerce-order-received .afl-bacs-order-payment > p:last-child {
    margin-top: 14px !important;
    color: #77796F !important;
    font-size: 12px !important;
    text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-order-received .woocommerce-order {
        font-size: 13px;
    }
    body.woocommerce-order-received ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 9px !important;
    }
    body.woocommerce-order-received ul.woocommerce-order-overview li {
        padding: 10px !important;
        border-right: 0 !important;
        border-bottom: 1px solid #E8DED0 !important;
        font-size: 9px !important;
    }
    body.woocommerce-order-received ul.woocommerce-order-overview li:nth-child(odd) {
        border-right: 1px solid #E8DED0 !important;
    }
    body.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
        grid-column: 1 / -1;
        border-bottom: 0 !important;
    }
    body.woocommerce-order-received ul.woocommerce-order-overview li strong {
        font-size: 12px !important;
    }
    body.woocommerce-order-received .woocommerce-order h2,
    body.woocommerce-order-received .woocommerce-order h3 {
        font-size: 20px !important;
    }
    body.woocommerce-order-received .woocommerce-table--order-details {
        font-size: 11px !important;
    }
    body.woocommerce-order-received .woocommerce-table--order-details th,
    body.woocommerce-order-received .woocommerce-table--order-details td {
        padding: 8px 7px !important;
    }
    body.woocommerce-order-received .afl-bacs-order-payment {
        margin: 22px auto 8px !important;
        padding: 19px 15px !important;
        border-radius: 9px !important;
    }
    body.woocommerce-order-received .afl-bacs-order-payment h2 {
        font-size: 21px !important;
    }
    body.woocommerce-order-received .afl-bacs-order-payment img {
        width: 260px !important;
    }
}

/* ================================================================
   ALICE FLOWERS - ORDER RECEIVED FINAL
   Desktop: 2 equal columns; left = order + receiving address;
   right = bank transfer. Does not affect checkout or other pages.
   ================================================================ */
body.woocommerce-order-received .afl-received-columns {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 22px !important;
    align-items: stretch !important;
    width: 100%;
    margin: 22px 0 0;
}
body.woocommerce-order-received .afl-received-left,
body.woocommerce-order-received .afl-received-right {
    min-width: 0;
    display: flex !important;
    flex-direction: column !important;
}
body.woocommerce-order-received .afl-received-left > .woocommerce-order-details {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
}
body.woocommerce-order-received .afl-received-left .woocommerce-order-details > h2,
body.woocommerce-order-received .afl-received-left .woocommerce-order-details > h3,
body.woocommerce-order-received .afl-received-right > .afl-bacs-order-heading {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 43px;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #173c2b !important;
    font-family: var(--af-heading-font, Georgia, serif) !important;
    font-size: clamp(21px,2.2vw,27px) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-align: left !important;
}
body.woocommerce-order-received .afl-received-left .woocommerce-order-details > h2::before,
body.woocommerce-order-received .afl-received-left .woocommerce-order-details > h3::before {
    content: '✿'; color: #bd9348; font-family: Georgia,serif;
}
body.woocommerce-order-received .afl-received-right > .afl-bacs-order-heading::before {
    content: '▥'; color: #bd9348; font-family: Georgia,serif;
}
body.woocommerce-order-received .afl-received-left .woocommerce-order-details > h2::after,
body.woocommerce-order-received .afl-received-left .woocommerce-order-details > h3::after,
body.woocommerce-order-received .afl-received-right > .afl-bacs-order-heading::after {
    content: ''; height: 2px; flex: 1; min-width: 15px; background: #bd9348;
}
/* Both outer panels have matching top and bottom edges. */
body.woocommerce-order-received .afl-received-left {
    padding: 0 0 0;
}
body.woocommerce-order-received .afl-received-left > .woocommerce-order-details {
    /* Keep the WooCommerce table in normal document flow. */
    flex: 0 0 auto;
}
body.woocommerce-order-received .afl-received-left .woocommerce-table--order-details {
    display: table !important;
    width: 100% !important;
    height: auto !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    background: #fff !important;
}
body.woocommerce-order-received .afl-received-left .woocommerce-table--order-details thead {display:table-header-group !important;}
body.woocommerce-order-received .afl-received-left .woocommerce-table--order-details tbody {display:table-row-group !important;}
body.woocommerce-order-received .afl-received-left .woocommerce-table--order-details tfoot {display:table-footer-group !important;}
body.woocommerce-order-received .afl-received-left .woocommerce-table--order-details tr {display:table-row !important;height:auto !important;}
body.woocommerce-order-received .afl-received-left .woocommerce-table--order-details th,
body.woocommerce-order-received .afl-received-left .woocommerce-table--order-details td {
    display: table-cell !important;
    height: auto !important;
    padding: 12px 13px !important;
    line-height: 1.55 !important;
    vertical-align: middle !important;
}
body.woocommerce-order-received .afl-received-left .woocommerce-order-details,
body.woocommerce-order-received .afl-received-right > .afl-bacs-order-payment {
    min-width: 0;
}
/* Address is inside the left visual card, immediately after the table. */
body.woocommerce-order-received .afl-received-left > .woocommerce-customer-details {
    display: block !important;
    margin: 18px 0 0 !important;
    width: 100% !important;
}
body.woocommerce-order-received .afl-received-left > .woocommerce-customer-details h2,
body.woocommerce-order-received .afl-received-left > .woocommerce-customer-details h3 {
    margin: 0 !important;
    padding: 13px 16px !important;
    border: 1px solid #eadbc8;
    border-radius: 9px 9px 0 0;
    background: #fbf5ec;
    color: #173c2b !important;
    font-size: 21px !important;
    font-family: var(--af-heading-font, Georgia,serif) !important;
}
body.woocommerce-order-received .afl-received-left > .woocommerce-customer-details h2::before,
body.woocommerce-order-received .afl-received-left > .woocommerce-customer-details h3::before {
    content: '⌖'; margin-right: 10px; color: #bd9348;
}
body.woocommerce-order-received .afl-received-left .woocommerce-customer-details address {
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 1px solid #eadbc8 !important;
    border-top: 0 !important;
    border-radius: 0 0 9px 9px !important;
    background: #fffdfa !important;
    font-style: normal;
}
body.woocommerce-order-received .afl-received-right > .afl-bacs-order-payment {
    display: block !important;
    flex: 1;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 22px 24px !important;
    border: 1px solid #e5d0ae !important;
    border-radius: 12px !important;
    background: #fcf7ef !important;
}
body.woocommerce-order-received .afl-received-right .afl-bacs-order-payment img {
    display: block;
    width: min(100%,300px) !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 16px auto !important;
}
@media (max-width: 850px) {
    body.woocommerce-order-received .afl-received-columns {
        grid-template-columns: minmax(0,1fr) !important;
        gap: 24px !important;
    }
    body.woocommerce-order-received .afl-received-right > .afl-bacs-order-payment {
        padding: 18px !important;
    }
}


/* =====================================================
   ALICE FLOWERS - ORDER RECEIVED TYPOGRAPHY FINAL
   Heading: Playfair Display
   Body: Be Vietnam Pro
   ===================================================== */

body.woocommerce-order-received .woocommerce-order {
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 15px !important;
    color: #303A32 !important;
}

/* Tiêu đề hai cột */
body.woocommerce-order-received
.woocommerce-order > h2,
body.woocommerce-order-received
.woocommerce-order-details > h2,
body.woocommerce-order-received
.afl-bacs-order-heading {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px !important;
    color: #183F30 !important;
}

/* Tiêu đề địa chỉ nhận hàng */
body.woocommerce-order-received
.woocommerce-customer-details h2 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* Nội dung bảng đơn hàng */
body.woocommerce-order-received
.woocommerce-table--order-details {
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 15px !important;
}

body.woocommerce-order-received
.woocommerce-table--order-details th,
body.woocommerce-order-received
.woocommerce-table--order-details td {
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    padding: 13px 15px !important;
}

/* Nội dung địa chỉ */
body.woocommerce-order-received
.woocommerce-customer-details,
body.woocommerce-order-received
.woocommerce-customer-details address {
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
}

/* Thông tin ngân hàng, số tiền và QR */
body.woocommerce-order-received
.afl-bacs-order-payment,
body.woocommerce-order-received
.afl-bacs-order-payment p {
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

body.woocommerce-order-received
.afl-bacs-order-payment strong {
    font-weight: 700 !important;
}

/* Nội dung chuyển khoản */
body.woocommerce-order-received
.afl-bacs-order-payment > div[style*="border:1px dashed"] {
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Nhãn Phường/Xã và lời đề tặng */
body.woocommerce-order-received
.woocommerce-table--order-details tfoot th {
    font-weight: 700 !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-order-received
    .woocommerce-order > h2,
    body.woocommerce-order-received
    .woocommerce-order-details > h2,
    body.woocommerce-order-received
    .afl-bacs-order-heading {
        font-size: 23px !important;
    }

    body.woocommerce-order-received
    .woocommerce-table--order-details th,
    body.woocommerce-order-received
    .woocommerce-table--order-details td {
        font-size: 13px !important;
    }
}

/* =================================================
   ALICE FLOWERS - ORDER DETAILS: 60% / 40%
   Căn thẳng cột giá trị của tất cả các dòng
   ================================================= */

body.woocommerce-order-received
table.woocommerce-table--order-details {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

/* Cột 1: Sản phẩm - 60% */
body.woocommerce-order-received
table.woocommerce-table--order-details th:first-child,
body.woocommerce-order-received
table.woocommerce-table--order-details td:first-child {
    width: 60% !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Cột 2: Tổng - 40% */
body.woocommerce-order-received
table.woocommerce-table--order-details th:last-child,
body.woocommerce-order-received
table.woocommerce-table--order-details td:last-child {
    width: 40% !important;
    text-align: left !important;
    padding-left: 15px !important;
    box-sizing: border-box !important;
}

/* Căn thẳng giá trị Phường/Xã, lời đề tặng
   với giá tiền trong cột Tổng */
body.woocommerce-order-received
table.woocommerce-table--order-details tr th + td {
    width: 40% !important;
    text-align: left !important;
    padding-left: 15px !important;
    text-indent: 0 !important;
    box-sizing: border-box !important;
}

/* Giữ nội dung không bị lệch dọc */
body.woocommerce-order-received
table.woocommerce-table--order-details th,
body.woocommerce-order-received
table.woocommerce-table--order-details td {
    vertical-align: middle !important;
}


/* XÓA KHUNG ĐỊA CHỈ GIAO HÀNG PHỤ ĐANG TRỐNG */
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .shipping_address,
body.woocommerce-checkout #ship-to-different-address {
    display: none !important;
}

/* Xóa khoảng cách thừa giữa thông tin thanh toán
   và thông tin bổ sung */
body.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 0 !important;
}


/* =========================================================
   ALICE FLOWERS - COD ORDER RECEIVED LAYOUT
   COD: left = order details; right = receiving address.
   The BACS (bank transfer) layout above remains unchanged.
   ========================================================= */
body.woocommerce-order-received .afl-received-cod .afl-received-left,
body.woocommerce-order-received .afl-received-cod .afl-received-right {
    min-width: 0;
    width: 100%;
}
body.woocommerce-order-received .afl-received-cod .afl-received-right > .woocommerce-customer-details {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}
body.woocommerce-order-received .afl-received-cod .afl-received-right > .woocommerce-customer-details h2,
body.woocommerce-order-received .afl-received-cod .afl-received-right > .woocommerce-customer-details h3 {
    display: block !important;
    margin: 0 !important;
    padding: 13px 16px !important;
    border: 1px solid #eadbc8 !important;
    border-radius: 9px 9px 0 0 !important;
    background: #fbf5ec !important;
    color: #173c2b !important;
    font-family: var(--af-heading-font, Georgia, serif) !important;
    font-size: 21px !important;
    font-weight: 700 !important;
}
body.woocommerce-order-received .afl-received-cod .afl-received-right > .woocommerce-customer-details h2::before,
body.woocommerce-order-received .afl-received-cod .afl-received-right > .woocommerce-customer-details h3::before {
    content: '⌖';
    margin-right: 10px;
    color: #bd9348;
}
body.woocommerce-order-received .afl-received-cod .afl-received-right > .woocommerce-customer-details address {
    margin: 0 !important;
    padding: 18px 19px !important;
    border: 1px solid #eadbc8 !important;
    border-top: 0 !important;
    border-radius: 0 0 9px 9px !important;
    background: #fffdfa !important;
    color: #303a32 !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 14px !important;
    font-style: normal !important;
    line-height: 1.85 !important;
}
@media (max-width: 850px) {
    body.woocommerce-order-received .afl-received-cod {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* CĂN ĐỈNH HAI BẢNG TRÊN TRANG ORDER RECEIVED */
@media (min-width: 851px) {
    body.woocommerce-order-received .afl-received-cod {
        align-items: start !important;
    }

    body.woocommerce-order-received
    .afl-received-cod > .afl-received-right
    > .woocommerce-customer-details {
        margin-top: 56px !important;
        height: auto !important;
        min-height: 0 !important;
    }

    body.woocommerce-order-received
    .afl-received-cod > .afl-received-right
    > .woocommerce-customer-details address {
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (max-width: 850px) {
    body.woocommerce-order-received
    .afl-received-cod > .afl-received-right
    > .woocommerce-customer-details {
        margin-top: 0 !important;
    }
}

/* =========================================================
   ALICE FLOWERS — ARCHIVE PAGE WIDTH FIX
   Chỉ mở rộng khung trang lưu trữ; không tác động trang khác.
   ========================================================= */
main.af-page.af-archive-page {
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

main.af-page.af-archive-page > .af-container.af-page-card {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    main.af-page.af-archive-page {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* THU GỌN TRANG DANH MỤC CẨM NANG */
body.category main.af-page {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    flex: 0 0 auto !important;
}

body.category main.af-page > .af-container.af-page-card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

/* XÓA ĐƯỜNG KẺ GIỮA MENU VÀ NỘI DUNG TRANG CẨM NANG */
body.category .af-page-card {
    border-top: 0 !important;
    margin-top: 0 !important;
}

body.category main.af-page {
    border-top: 0 !important;
}



/* =========================================================
   ALICE FLOWERS — CẨM NANG DẠNG TẠP CHÍ / BÁO
   Chỉ áp dụng cho danh mục bài viết có slug: cam-nang.
   Giữ nguyên Header, Footer và các trang còn lại.
   ========================================================= */
body.category-cam-nang main.af-page.af-magazine-page {
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 25px 0 54px !important;
    background: rgba(250,244,236,.97) !important;
}
body.category-cam-nang .af-magazine-page > .af-container {
    width: calc(100% - 48px) !important;
    max-width: 1192px !important;
    margin: 0 auto !important;
}
.af-magazine-breadcrumb {
    display:flex; align-items:center; gap:10px;
    margin:0 0 16px; color:#89877e; font-size:12px;
}
.af-magazine-breadcrumb a { color:var(--af-moss); }
.af-magazine-heading {
    padding:0 0 22px; margin:0 0 22px;
    border-bottom:1px solid var(--af-border);
}
.af-magazine-eyebrow {
    display:block; color:var(--af-gold);
    font:700 10px/1.5 var(--af-body-font,Arial,sans-serif);
    letter-spacing:.2em; text-transform:uppercase;
}
.af-magazine-heading h1 {
    margin:5px 0 7px; color:var(--af-moss);
    font:500 clamp(30px,3.5vw,42px)/1.18 var(--af-heading-font,Georgia,serif);
}
.af-magazine-heading p {
    max-width:720px; margin:0; color:var(--af-muted); font-size:14px;
}
.af-magazine-layout {
    display:grid; grid-template-columns:minmax(0, 2.05fr) minmax(250px, .85fr);
    gap:24px; align-items:start;
}
.af-magazine-main,.af-magazine-sidebar { min-width:0; }
.af-magazine-featured {
    display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
    min-height:300px; overflow:hidden;
    border:1px solid var(--af-border); border-radius:9px;
    background:#fff; box-shadow:0 5px 20px rgba(52,76,59,.05);
}
.af-magazine-featured-image {
    display:block; min-height:300px; overflow:hidden;
    background:linear-gradient(135deg,#e8e9dc,#f4dfd3);
}
.af-magazine-featured-image img {
    display:block; width:100%; height:100%; min-height:300px;
    object-fit:cover; transition:transform .45s ease;
}
.af-magazine-featured-image:hover img { transform:scale(1.035); }
.af-magazine-image-placeholder {
    display:grid; place-items:center; width:100%; height:100%;
    min-height:220px; color:rgba(52,76,59,.35); font-size:72px;
}
.af-magazine-featured-copy {
    display:flex; flex-direction:column; align-items:flex-start;
    justify-content:center; padding:clamp(18px,2.4vw,30px);
}
.af-magazine-kicker {
    color:var(--af-gold); font-size:10px; font-weight:700;
    letter-spacing:.17em;
}
.af-magazine-featured-copy h2 {
    margin:10px 0; color:var(--af-moss);
    font:500 clamp(21px,2.2vw,29px)/1.3 var(--af-heading-font,Georgia,serif);
}
.af-magazine-featured-copy h2 a,.af-magazine-post-card h3 a { color:inherit; }
.af-magazine-featured-copy p {
    margin:0 0 13px; color:#70736b; font-size:13px; line-height:1.75;
}
.af-magazine-readmore {
    display:inline-flex; gap:8px; align-items:center;
    color:var(--af-moss); font-size:12px; font-weight:700;
}
.af-magazine-readmore span { color:var(--af-gold); transition:transform .2s ease; }
.af-magazine-readmore:hover span { transform:translateX(4px); }
.af-magazine-section-title { margin:25px 0 13px; }
.af-magazine-section-title h2 {
    margin:4px 0 0; color:var(--af-moss);
    font:500 25px/1.25 var(--af-heading-font,Georgia,serif);
}
.af-magazine-category-list {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}
.af-magazine-category-list a {
    display:flex; justify-content:space-between; align-items:center; gap:10px;
    min-width:0; padding:11px 13px;
    border:1px solid var(--af-border); border-radius:5px;
    background:#fffaf4; color:var(--af-moss); font-size:12px;
    transition:background .2s,border-color .2s,transform .2s;
}
.af-magazine-category-list a:hover {
    background:#fff; border-color:var(--af-gold); transform:translateY(-1px);
}
.af-magazine-category-count {
    flex:0 0 auto; color:#9b8b6e; font-size:10px;
}
.af-magazine-no-category,.af-magazine-no-products {
    color:var(--af-muted); font-size:13px;
}
.af-magazine-latest { margin-top:26px; }
.af-magazine-section-title-row {
    display:flex; justify-content:space-between; align-items:end;
    padding-bottom:10px; border-bottom:1px solid var(--af-border);
}
.af-magazine-post-grid {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px;
}
.af-magazine-post-card {
    min-width:0; overflow:hidden; border:1px solid var(--af-border);
    border-radius:7px; background:#fff;
}
.af-magazine-post-image {
    display:block; aspect-ratio:16/10; overflow:hidden;
    background:linear-gradient(135deg,#e8e9dc,#f4dfd3);
}
.af-magazine-post-image img {
    display:block; width:100%; height:100%; object-fit:cover;
    transition:transform .4s ease;
}
.af-magazine-post-image:hover img { transform:scale(1.04); }
.af-magazine-post-copy { padding:13px 14px 15px; }
.af-magazine-post-copy time {
    color:#9a927f; font-size:10px; letter-spacing:.04em;
}
.af-magazine-post-card h3 {
    margin:6px 0 7px; color:var(--af-moss);
    font:500 18px/1.35 var(--af-heading-font,Georgia,serif);
}
.af-magazine-post-card p {
    margin:0 0 10px; color:#74766f; font-size:12px; line-height:1.7;
}
.af-magazine-pagination { margin-top:20px; }
.af-magazine-pagination ul {
    display:flex; flex-wrap:wrap; gap:6px; justify-content:center;
    list-style:none; margin:0; padding:0;
}
.af-magazine-pagination a,.af-magazine-pagination span {
    display:grid; place-items:center; min-width:34px; height:34px;
    padding:0 9px; border:1px solid var(--af-border);
    border-radius:4px; background:#fff; color:var(--af-moss); font-size:12px;
}
.af-magazine-pagination .current {
    background:var(--af-moss); border-color:var(--af-moss); color:#fff;
}
.af-magazine-empty {
    padding:35px; border:1px solid var(--af-border); border-radius:8px; background:#fff;
}
.af-magazine-empty h2 {
    color:var(--af-moss); font:500 25px var(--af-heading-font,Georgia,serif);
}
.af-magazine-empty p { color:var(--af-muted); }

/* Right column: vertical continuous product ticker. */
.af-magazine-product-panel {
    position:sticky; top:18px; overflow:hidden;
    border:1px solid var(--af-border); border-radius:9px;
    background:#fff; box-shadow:0 5px 22px rgba(52,76,59,.06);
}
.af-magazine-product-heading {
    padding:18px 17px 15px; border-bottom:1px solid var(--af-border);
    background:#fffaf3;
}
.af-magazine-product-heading h2 {
    margin:5px 0 3px; color:var(--af-moss);
    font:500 23px/1.2 var(--af-heading-font,Georgia,serif);
}
.af-magazine-product-heading p { margin:0; color:var(--af-muted); font-size:11px; }
.af-magazine-product-window {
    height:560px; overflow:hidden; position:relative;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%);
    mask-image:linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%);
}
.af-magazine-product-track {
    display:flex; flex-direction:column; width:100%;
    animation:af-magazine-product-scroll 42s linear infinite;
    will-change:transform;
}
.af-magazine-product-window:hover .af-magazine-product-track,
.af-magazine-product-window:focus-within .af-magazine-product-track {
    animation-play-state:paused;
}
.af-magazine-product-group { display:flex; flex-direction:column; }
.af-magazine-product-card {
    display:grid; grid-template-columns:94px minmax(0,1fr); gap:12px;
    align-items:center; padding:12px;
    border-bottom:1px solid #f0e9df; min-height:116px;
}
.af-magazine-product-thumb {
    display:block; width:94px; aspect-ratio:1/1; overflow:hidden;
    border-radius:6px; background:#f5eee4;
}
.af-magazine-product-thumb img {
    display:block; width:100%; height:100%; object-fit:cover; margin:0!important;
}
.af-magazine-product-info { min-width:0; }
.af-magazine-product-info h3 {
    margin:0 0 5px; color:var(--af-moss);
    font:500 15px/1.35 var(--af-heading-font,Georgia,serif);
}
.af-magazine-product-info h3 a { color:inherit; }
.af-magazine-product-price { color:#8b6530; font-size:12px; font-weight:700; }
.af-magazine-product-price del { color:#9a9a91; font-weight:400; }
.af-magazine-product-price ins { text-decoration:none; }
.af-magazine-product-link {
    display:inline-block; margin-top:6px; color:var(--af-moss);
    font-size:10px; font-weight:700; border-bottom:1px solid var(--af-gold);
}
.af-magazine-all-products {
    display:flex; justify-content:center; gap:8px; align-items:center;
    padding:13px; background:#fffaf3; color:var(--af-moss);
    font-size:12px; font-weight:700;
}
.af-magazine-all-products span { color:var(--af-gold); }
@keyframes af-magazine-product-scroll {
    from { transform:translateY(0); }
    to { transform:translateY(-50%); }
}

/* Bottom occasion chooser reuses the existing four JPGs in /assets/. */
.af-magazine-occasions {
    margin-top:38px; padding:28px 22px 24px;
    border:1px solid var(--af-border); border-radius:9px;
    background:#fffaf3;
}
.af-magazine-occasion-heading { margin:0 0 20px; text-align:center; }
.af-magazine-occasion-heading h2 {
    margin:5px 0 4px; color:var(--af-moss);
    font:500 clamp(27px,3vw,36px)/1.2 var(--af-heading-font,Georgia,serif);
}
.af-magazine-occasion-heading p { margin:0; color:var(--af-muted); font-size:13px; }
.af-magazine-occasion-grid {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px;
}
.af-magazine-occasion-card {
    position:relative; display:flex; align-items:end; min-height:190px;
    overflow:hidden; padding:14px; isolation:isolate;
    border:1px solid var(--af-border); border-radius:7px;
    background-color:#eee5d9; background-position:center; background-size:cover;
    transition:transform .22s ease,box-shadow .22s ease;
}
.af-magazine-occasion-card::before {
    content:""; position:absolute; z-index:-1; inset:0;
    background:linear-gradient(0deg,rgba(250,244,236,.97) 0%,rgba(250,244,236,.65) 45%,rgba(250,244,236,.04) 100%);
}
.af-magazine-occasion-card:hover {
    transform:translateY(-3px); box-shadow:var(--af-shadow);
}
.af-magazine-occasion-birthday { background-image:url("assets/occasion-birthday.jpg"); }
.af-magazine-occasion-opening { background-image:url("assets/occasion-opening.jpg"); }
.af-magazine-occasion-graduation { background-image:url("assets/occasion-graduation.jpg"); }
.af-magazine-occasion-love { background-image:url("assets/occasion-love.jpg"); }
.af-magazine-occasion-copy { display:flex; flex-direction:column; gap:5px; }
.af-magazine-occasion-copy strong {
    display:inline-block; color:var(--af-moss);
    font:500 19px/1.25 var(--af-heading-font,Georgia,serif);
}
.af-magazine-occasion-copy>span { color:#686d63; font-size:10px; line-height:1.5; }
.af-magazine-occasion-arrow {
    position:absolute; top:10px; right:12px; color:var(--af-moss);
    font-size:18px; opacity:.8;
}

@media (max-width: 900px) {
    body.category-cam-nang .af-magazine-layout {
        grid-template-columns:minmax(0,1.55fr) minmax(220px,.85fr); gap:16px;
    }
    .af-magazine-featured { grid-template-columns:1fr; }
    .af-magazine-featured-image,.af-magazine-featured-image img { min-height:220px; max-height:280px; }
    .af-magazine-product-window { height:520px; }
    .af-magazine-occasion-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
    body.category-cam-nang main.af-page.af-magazine-page {
        width:100%!important; padding:18px 0 34px!important;
    }
    body.category-cam-nang .af-magazine-page > .af-container {
        width:calc(100% - 28px)!important;
    }
    .af-magazine-heading { padding-bottom:16px; margin-bottom:17px; }
    .af-magazine-heading h1 { font-size:31px; }
    .af-magazine-layout { grid-template-columns:minmax(0,1fr)!important; gap:22px; }
    .af-magazine-featured { grid-template-columns:minmax(0,1fr); }
    .af-magazine-featured-image,.af-magazine-featured-image img { min-height:210px; max-height:260px; }
    .af-magazine-featured-copy { padding:18px; }
    .af-magazine-featured-copy h2 { font-size:24px; }
    .af-magazine-category-list { grid-template-columns:minmax(0,1fr); }
    .af-magazine-post-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .af-magazine-post-copy { padding:10px; }
    .af-magazine-post-card h3 { font-size:15px; }
    .af-magazine-post-card p { font-size:11px; }
    .af-magazine-product-panel { position:relative; top:auto; }
    .af-magazine-product-window { height:390px; }
    .af-magazine-occasions { margin-top:25px; padding:20px 13px; }
    .af-magazine-occasion-grid { gap:9px; }
    .af-magazine-occasion-card { min-height:155px; padding:10px; }
    .af-magazine-occasion-copy strong { font-size:16px; }
    .af-magazine-occasion-copy>span { font-size:9px; }
}
@media (prefers-reduced-motion: reduce) {
    .af-magazine-product-track { animation:none; }
    .af-magazine-featured-image img,.af-magazine-post-image img { transition:none; }
}


/* =========================================================
   ALICE FLOWERS — PRODUCT SIDEBAR TICKER HARD FIX
   Dedicated animation name + non-shrinking duplicated groups.
   Scoped only to the Cam Nang category page.
   ========================================================= */
body.category-cam-nang .af-magazine-product-window {
    display: block !important;
    height: 560px !important;
    max-height: 560px !important;
    overflow: hidden !important;
    position: relative !important;
}
body.category-cam-nang .af-magazine-product-track {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: max-content !important;
    min-height: 0 !important;
    transform: translate3d(0,0,0);
    animation: afCamNangTicker2026 28s linear infinite !important;
    animation-delay: 0s !important;
    animation-fill-mode: both !important;
    will-change: transform !important;
}
body.category-cam-nang .af-magazine-product-group {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: max-content !important;
}
body.category-cam-nang .af-magazine-product-card {
    flex: 0 0 auto !important;
}
body.category-cam-nang .af-magazine-product-window:hover .af-magazine-product-track,
body.category-cam-nang .af-magazine-product-window:focus-within .af-magazine-product-track {
    animation-play-state: paused !important;
}
@keyframes afCamNangTicker2026 {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -50%, 0); }
}
@media (max-width: 900px) {
    body.category-cam-nang .af-magazine-product-window {
        height: 520px !important;
        max-height: 520px !important;
    }
}
@media (max-width: 680px) {
    body.category-cam-nang .af-magazine-product-window {
        height: 390px !important;
        max-height: 390px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.category-cam-nang .af-magazine-product-track {
        animation: afCamNangTicker2026 28s linear infinite !important;
    }
}


/* =========================================================
   ALICE FLOWERS — LATEST ARTICLES: COMPACT EDITORIAL LIST
   Inspired by the supplied newspaper-style reference.
   Scoped only to the Cam Nang category page.
   ========================================================= */
body.category-cam-nang .af-magazine-latest {
    margin-top: 22px !important;
}
body.category-cam-nang .af-magazine-latest > .af-magazine-section-title {
    margin: 0 0 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--af-border, #e8ded0) !important;
}
body.category-cam-nang .af-magazine-post-list {
    display: block !important;
    width: 100% !important;
    padding: 5px 15px !important;
    border: 1px solid #e2ded8 !important;
    background: #fff !important;
    box-sizing: border-box !important;
}
body.category-cam-nang .af-magazine-post-row {
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 0 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e1dc !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.category-cam-nang .af-magazine-post-row:last-child {
    border-bottom: 0 !important;
}
body.category-cam-nang .af-magazine-post-row-image {
    display: block !important;
    width: 145px !important;
    height: 88px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #f1ece5 !important;
}
body.category-cam-nang .af-magazine-post-row-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}
body.category-cam-nang .af-magazine-post-row-copy {
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.category-cam-nang .af-magazine-post-row-copy h3 {
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #252b27 !important;
    font: 600 17px/1.35 Georgia, 'Times New Roman', serif !important;
}
body.category-cam-nang .af-magazine-post-row-copy h3 a {
    color: inherit !important;
    text-decoration: none !important;
}
body.category-cam-nang .af-magazine-post-row-copy h3 a:hover {
    color: var(--af-gold, #C6A15B) !important;
}
body.category-cam-nang .af-magazine-post-row-copy p {
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #454943 !important;
    font: 400 13px/1.65 Arial, Helvetica, sans-serif !important;
}
body.category-cam-nang .af-magazine-post-comments {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    color: #2876b9 !important;
    font: 400 11px/1.3 Arial, Helvetica, sans-serif !important;
    text-decoration: none !important;
}
body.category-cam-nang .af-magazine-post-comments span:first-child {
    color: #b8bdc0 !important;
    font-size: 12px !important;
}
body.category-cam-nang .af-magazine-post-comments:hover {
    color: var(--af-moss, #344C3B) !important;
}
@media (max-width: 680px) {
    body.category-cam-nang .af-magazine-post-list {
        padding: 4px 10px !important;
    }
    body.category-cam-nang .af-magazine-post-row {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 10px 0 !important;
    }
    body.category-cam-nang .af-magazine-post-row-image {
        width: 112px !important;
        height: 78px !important;
    }
    body.category-cam-nang .af-magazine-post-row-copy h3 {
        font-size: 14px !important;
    }
    body.category-cam-nang .af-magazine-post-row-copy p {
        font-size: 11px !important;
        line-height: 1.5 !important;
    }
}

/* ALICE FLOWERS — FIX TRIỆT ĐỂ FONT DANH SÁCH BÀI VIẾT
   Dán ở CUỐI style.css đang được theme nạp hoặc Appearance > Customize > Additional CSS.
   Selector mở rộng để thắng các quy tắc font cũ của theme.
*/
html body.category-cam-nang .af-magazine-latest h3,
html body.category-cam-nang .af-magazine-latest h3 a,
html body.category-cam-nang .af-magazine-latest article h3,
html body.category-cam-nang .af-magazine-latest article h3 a,
html body.category-cam-nang .af-magazine-latest .af-magazine-post-card h3,
html body.category-cam-nang .af-magazine-latest .af-magazine-post-card h3 a,
html body.category-cam-nang .af-magazine-latest .af-magazine-post-copy h3,
html body.category-cam-nang .af-magazine-latest .af-magazine-post-copy h3 a {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-kerning: none !important;
    font-variant-ligatures: none !important;
    font-feature-settings: normal !important;
    text-transform: none !important;
    color: #344C3B !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

html body.category-cam-nang .af-magazine-latest p,
html body.category-cam-nang .af-magazine-latest time,
html body.category-cam-nang .af-magazine-latest .af-magazine-readmore {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-kerning: none !important;
    font-variant-ligatures: none !important;
}

html body.category-cam-nang .af-magazine-latest p {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #5F665F !important;
}

/* Đảm bảo các thành phần trong danh sách không bị font trang trí kế thừa */
html body.category-cam-nang .af-magazine-latest .af-magazine-post-card,
html body.category-cam-nang .af-magazine-latest .af-magazine-post-card * {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
}


/* =========================================================
   ALICE FLOWERS — SINGLE POST WIDTH ALIGNMENT (FIXED)
   Matches the same centered canvas and inner gutter used by
   the active header/menu/footer and magazine archive.
   Targets the actual markup emitted by single.php.
   ========================================================= */
html body.single-post main.af-single-post-page {
    display: block !important;
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 35px 0 55px !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

html body.single-post main.af-single-post-page > .af-single-post-container {
    display: block !important;
    box-sizing: border-box !important;
    width: calc(100% - 48px) !important;
    max-width: 1192px !important;
    margin: 0 auto !important;
    padding: clamp(20px, 4vw, 42px) !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid var(--af-border, #e8ded0) !important;
    border-radius: 8px !important;
    box-shadow: var(--af-shadow, 0 14px 40px rgba(52,76,59,.08)) !important;
}

html body.single-post .af-single-post-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

html body.single-post .af-single-post-card > .entry-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    color: var(--af-moss, #344c3b) !important;
    font-family: var(--af-heading-font, Georgia, serif) !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    overflow-wrap: break-word !important;
}

html body.single-post .af-single-post-featured-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    text-align: center !important;
}

html body.single-post .af-single-post-featured-image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 720px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    border-radius: 4px !important;
}

html body.single-post .af-single-post-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
}

html body.single-post .af-single-post-content > * {
    max-width: 100%;
}

html body.single-post .af-single-post-content img,
html body.single-post .af-single-post-content figure {
    max-width: 100% !important;
    height: auto;
}

@media (max-width: 700px) {
    html body.single-post main.af-single-post-page {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 0 36px !important;
    }

    html body.single-post main.af-single-post-page > .af-single-post-container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
        padding: 18px !important;
    }

    html body.single-post .af-single-post-card > .entry-title {
        font-size: 26px !important;
    }

    html body.single-post .af-single-post-featured-image img {
        max-height: none !important;
    }
}



/* =========================================================
   ALICE FLOWERS — SINGLE ARTICLE DETAIL PAGE
   Layout follows the supplied red-box wireframe:
   breadcrumb > main article + category/product sidebar > occasions.
   ========================================================= */
body.single-post main.af-article-detail-page {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 20px 0 38px !important;
    box-sizing: border-box !important;
    background: transparent !important;
}
body.single-post .af-article-detail-container {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}
body.single-post .af-article-breadcrumb {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 16px !important;
    padding: 0 2px !important;
    color: #8b887e !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}
body.single-post .af-article-breadcrumb a {
    color: var(--af-moss, #344C3B) !important;
    text-decoration: none !important;
}
body.single-post .af-article-breadcrumb a:hover {
    color: var(--af-gold, #C6A15B) !important;
}
body.single-post .af-article-breadcrumb-current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.single-post .af-article-detail-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.49fr) minmax(300px, 1fr) !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
}
body.single-post .af-article-main,
body.single-post .af-article-sidebar {
    min-width: 0 !important;
}
body.single-post .af-article-detail-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 1040px !important;
    margin: 0 !important;
    padding: 26px 28px 22px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid var(--af-border, #e8ded0) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.97) !important;
    box-shadow: 0 5px 22px rgba(52,76,59,.045) !important;
}
body.single-post .af-article-detail-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin: 0 0 18px !important;
    padding: 0 0 13px !important;
    border-bottom: 1px solid var(--af-border, #e8ded0) !important;
}
body.single-post .af-article-detail-header h2 {
    margin: 0 !important;
    color: var(--af-moss, #344C3B) !important;
    font: 600 18px/1.35 Georgia, "Times New Roman", serif !important;
    letter-spacing: .01em !important;
}
body.single-post .af-article-date {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 2px !important;
    flex: 0 0 auto !important;
    color: #8a806e !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}
body.single-post .af-article-date span {
    color: var(--af-gold, #C6A15B) !important;
    font-weight: 700 !important;
}
body.single-post .af-article-date time {
    color: var(--af-text, #303A32) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
body.single-post .af-article-title {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: var(--af-moss, #344C3B) !important;
    font: 500 clamp(27px, 3vw, 37px)/1.25 Georgia, "Times New Roman", serif !important;
    overflow-wrap: anywhere !important;
}
body.single-post .af-article-featured-image {
    margin: 0 auto 22px !important;
    max-width: 100% !important;
    text-align: center !important;
}
body.single-post .af-article-featured-image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 620px !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    border-radius: 5px !important;
}
body.single-post .af-article-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    color: var(--af-text, #303A32) !important;
    font: 400 15px/1.85 Arial, Helvetica, sans-serif !important;
    overflow-wrap: anywhere !important;
}
body.single-post .af-article-content > * {
    max-width: 100% !important;
}
body.single-post .af-article-content p {
    margin: 0 0 17px !important;
}
body.single-post .af-article-content h2,
body.single-post .af-article-content h3,
body.single-post .af-article-content h4 {
    margin: 24px 0 12px !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    line-height: 1.35 !important;
}
body.single-post .af-article-content img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 14px auto 20px !important;
    border-radius: 5px !important;
}
body.single-post .af-article-content figure {
    max-width: 100% !important;
    margin: 18px auto !important;
}
body.single-post .af-article-content ul,
body.single-post .af-article-content ol {
    padding-left: 24px !important;
    margin: 0 0 18px !important;
}
body.single-post .af-article-author {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 2px !important;
    margin: auto 0 0 !important;
    padding: 24px 0 0 !important;
    color: #8a806e !important;
    font-size: 11px !important;
}
body.single-post .af-article-author strong {
    color: var(--af-moss, #344C3B) !important;
    font: 600 15px/1.4 Georgia, "Times New Roman", serif !important;
}
body.single-post .af-article-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    height: 100% !important;
    min-height: 1040px !important;
}
body.single-post .af-article-categories-panel {
    flex: 1 1 54% !important;
    min-height: 420px !important;
    padding: 24px 25px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid var(--af-border, #e8ded0) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.97) !important;
    box-shadow: 0 5px 22px rgba(52,76,59,.045) !important;
}
body.single-post .af-article-sidebar-heading {
    margin: 0 0 24px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid var(--af-border, #e8ded0) !important;
}
body.single-post .af-article-sidebar-heading h2 {
    margin: 5px 0 0 !important;
    color: var(--af-moss, #344C3B) !important;
    font: 500 24px/1.25 Georgia, "Times New Roman", serif !important;
}
body.single-post .af-article-category-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}
body.single-post .af-article-category-links > a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    padding: 15px 7px !important;
    border-bottom: 1px solid #eee8df !important;
    color: var(--af-text, #303A32) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    transition: color .2s ease, padding .2s ease !important;
}
body.single-post .af-article-category-links > a:hover {
    padding-left: 12px !important;
    color: var(--af-gold, #C6A15B) !important;
}
body.single-post .af-article-category-count {
    flex: 0 0 auto !important;
    color: #a18b63 !important;
    font-size: 11px !important;
}
body.single-post .af-article-sidebar-empty {
    color: var(--af-muted, #77796f) !important;
    font-size: 13px !important;
}
body.single-post .af-article-products-panel {
    display: flex !important;
    flex: 1 1 46% !important;
    flex-direction: column !important;
    min-height: 420px !important;
    position: relative !important;
    top: auto !important;
}
body.single-post .af-article-products-panel .af-magazine-product-heading {
    flex: 0 0 auto !important;
}
body.single-post .af-article-product-window {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 320px !important;
    max-height: none !important;
}
body.single-post .af-article-products-panel .af-magazine-product-track {
    animation: afSinglePostProductScroll 34s linear infinite !important;
}
body.single-post .af-article-products-panel .af-magazine-product-window:hover .af-magazine-product-track,
body.single-post .af-article-products-panel .af-magazine-product-window:focus-within .af-magazine-product-track {
    animation-play-state: paused !important;
}
@keyframes afSinglePostProductScroll {
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(0,-50%,0); }
}
body.single-post .af-article-occasions {
    margin-top: 14px !important;
}
@media (max-width: 900px) {
    body.single-post .af-article-detail-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr) !important;
        gap: 12px !important;
    }
    body.single-post .af-article-detail-card,
    body.single-post .af-article-sidebar {
        min-height: 900px !important;
    }
    body.single-post .af-article-detail-card {
        padding: 22px 20px 18px !important;
    }
    body.single-post .af-article-categories-panel {
        padding: 20px 18px !important;
    }
}
@media (max-width: 680px) {
    body.single-post main.af-article-detail-page {
        padding: 16px 0 28px !important;
    }
    body.single-post .af-article-detail-container {
        width: calc(100% - 24px) !important;
    }
    body.single-post .af-article-detail-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }
    body.single-post .af-article-detail-card {
        min-height: 0 !important;
        padding: 18px 16px !important;
    }
    body.single-post .af-article-detail-header h2 {
        font-size: 15px !important;
    }
    body.single-post .af-article-title {
        font-size: 27px !important;
    }
    body.single-post .af-article-content {
        font-size: 14px !important;
    }
    body.single-post .af-article-sidebar {
        min-height: 0 !important;
    }
    body.single-post .af-article-categories-panel {
        min-height: 0 !important;
    }
    body.single-post .af-article-products-panel {
        min-height: 420px !important;
    }
    body.single-post .af-article-product-window {
        min-height: 320px !important;
    }
    body.single-post .af-article-occasions {
        margin-top: 14px !important;
        padding: 20px 13px !important;
    }
}
/* =========================================================
   ALICE FLOWERS — SINGLE POST WIDTH FIX (ĐÃ ĐỐI CHIẾU HEADER/FOOTER)
   Nguyên nhân bản trước bị lệch:
   - Header, menu, footer dùng --af-layout-width: 1240px.
   - CSS cũ lại khóa riêng main bài viết ở 1065px.
   - 1065px là số đo nhìn trên ảnh chụp, không phải chiều rộng CSS.
   Khối này dùng đúng cùng biến chiều rộng với header/footer.
   Chỉ tác động trang chi tiết bài viết.
   ========================================================= */

html body.single-post main.af-page.af-article-detail-page {
    display: block !important;
    box-sizing: border-box !important;
    width: min(var(--af-layout-width, 1240px), 100%) !important;
    max-width: var(--af-layout-width, 1240px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 20px 0 38px !important;
    background-color: #FAF4EC !important;
    background-image: none !important;
}

/* Cùng hệ lề trong với các khối header/footer dùng .af-container */
html body.single-post main.af-page.af-article-detail-page > .af-article-detail-container {
    display: block !important;
    box-sizing: border-box !important;
    width: calc(100% - 48px) !important;
    max-width: var(--af-layout-width, 1240px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Bảo đảm hai cột dùng hết chiều rộng vùng nội dung */
html body.single-post .af-article-detail-layout {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Nền trong giữ đúng bảng màu Alice Flowers */
html body.single-post .af-article-detail-layout,
html body.single-post .af-article-main,
html body.single-post .af-article-sidebar {
    background: transparent !important;
}

html body.single-post .af-article-detail-card,
html body.single-post .af-article-categories-panel,
html body.single-post .af-article-products-panel {
    background-color: #FFFFFF !important;
}

/* Trên tablet/mobile: cùng chiều rộng khung, chỉ thu lề an toàn */
@media (max-width: 700px) {
    html body.single-post main.af-page.af-article-detail-page {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 0 28px !important;
    }

    html body.single-post main.af-page.af-article-detail-page > .af-article-detail-container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

    html body.single-post .af-article-detail-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* =========================================================
   ALICE FLOWERS — SINGLE POST TYPOGRAPHY + COMPACT SIDEBAR
   Fix chữ tiếng Việt ở tiêu đề và thu gọn cột phải.
   Chỉ áp dụng trang chi tiết bài viết.
   ========================================================= */

/* 1. Dùng font sans-serif có hỗ trợ tiếng Việt ổn định.
      Không dùng Georgia cho các tiêu đề trang bài viết vì
      kiểu chữ serif đang làm dấu tiếng Việt hiển thị lệch. */
html body.single-post .af-article-title,
html body.single-post .af-article-detail-header h2,
html body.single-post .af-article-sidebar-heading h2,
html body.single-post .af-article-content h2,
html body.single-post .af-article-content h3,
html body.single-post .af-article-content h4 {
    font-family: "Be Vietnam Pro", Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-style: normal !important;
    font-kerning: normal !important;
    font-variant-ligatures: none !important;
    font-feature-settings: normal !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

html body.single-post .af-article-title {
    font-size: clamp(26px, 2.35vw, 32px) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 18px !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

html body.single-post .af-article-detail-header h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

html body.single-post .af-article-sidebar-heading h2 {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

/* 2. Thu hẹp cột bên phải, ưu tiên không gian cho bài viết */
html body.single-post .af-article-detail-layout {
    grid-template-columns: minmax(0, 1.9fr) minmax(250px, .85fr) !important;
    align-items: start !important;
    gap: 12px !important;
}

html body.single-post .af-article-main {
    min-width: 0 !important;
}

html body.single-post .af-article-sidebar {
    display: flex !important;
    flex-direction: column !important;
    align-self: start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 12px !important;
}

/* 3. Khối danh mục chỉ cao theo nội dung, không kéo dài bằng bài viết */
html body.single-post .af-article-categories-panel {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 18px 18px 16px !important;
}

html body.single-post .af-article-sidebar-heading {
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
}

html body.single-post .af-article-category-links > a {
    padding: 10px 5px !important;
    font-size: 13px !important;
}

/* 4. Khối sản phẩm bên dưới cũng gọn hơn */
html body.single-post .af-article-products-panel {
    flex: 0 0 auto !important;
    min-height: 340px !important;
    height: 340px !important;
    padding: 18px !important;
}

html body.single-post .af-article-product-window {
    flex: 1 1 auto !important;
    min-height: 230px !important;
    height: 230px !important;
    max-height: 230px !important;
}

/* 5. Tablet: giữ hai cột nếu đủ chỗ; điện thoại chuyển thành một cột */
@media (max-width: 900px) {
    html body.single-post .af-article-detail-layout {
        grid-template-columns: minmax(0, 1.55fr) minmax(220px, .85fr) !important;
    }
}

@media (max-width: 700px) {
    html body.single-post .af-article-detail-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.single-post .af-article-sidebar {
        min-height: 0 !important;
        height: auto !important;
    }

    html body.single-post .af-article-products-panel {
        height: 340px !important;
        min-height: 340px !important;
    }

    html body.single-post .af-article-title {
        font-size: 25px !important;
    }
}



/* =========================================================
   ALICE FLOWERS — TINH CHỈNH DÒNG NGÀY ĐĂNG VÀ NGƯỜI ĐĂNG
   - Ẩn dòng "CHI TIẾT BÀI ĐĂNG"
   - Nhãn Ngày đăng + ngày nằm cùng một hàng, chữ nhỏ và mảnh
   - Nhãn Người đăng + tên Admin nằm cùng một hàng;
     nhãn mảnh, tên người đăng đậm
   ========================================================= */

/* Bỏ dòng tiêu đề không cần thiết */
html body.single-post .af-article-detail-header > h2 {
    display: none !important;
}

/* Ngày đăng: cùng một hàng, canh phải, cỡ nhỏ */
html body.single-post .af-article-detail-header {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 0 14px !important;
    padding: 0 0 10px !important;
}

html body.single-post .af-article-date {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #81796d !important;
    font-family: "Be Vietnam Pro", Arial, "Segoe UI", sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

html body.single-post .af-article-date span {
    color: #8b806e !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

html body.single-post .af-article-date time {
    color: #5f6259 !important;
    font-family: "Be Vietnam Pro", Arial, "Segoe UI", sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

/* Người đăng: nhãn mảnh và Admin đậm trên cùng một hàng */
html body.single-post .af-article-author {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin: auto 0 0 !important;
    padding: 18px 0 0 !important;
    color: #81796d !important;
    font-family: "Be Vietnam Pro", Arial, "Segoe UI", sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

html body.single-post .af-article-author > span {
    color: #81796d !important;
    font-size: 11px !important;
    font-weight: 400 !important;
}

html body.single-post .af-article-author > strong {
    color: var(--af-moss, #344C3B) !important;
    font-family: "Be Vietnam Pro", Arial, "Segoe UI", sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}



/* =========================================================
   SINGLE POST — PRODUCT SIDEBAR MATCHES CAM NANG EXACTLY
   Reference: Alice Flowers "Sản phẩm nổi bật" sidebar card.
   Keeps existing WooCommerce products and links.
   ========================================================= */

/* Make the categories box compact so it does not create a large
   blank area above the featured-products panel. */
html body.single-post .af-article-categories-panel {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 17px 14px !important;
    border: 1px solid var(--af-border, #e8ded0) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 5px 22px rgba(52,76,59,.06) !important;
}

html body.single-post .af-article-sidebar-heading {
    margin: 0 0 10px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid var(--af-border, #e8ded0) !important;
}

html body.single-post .af-article-sidebar-heading h2 {
    font-family: var(--af-heading-font, Georgia, "Times New Roman", serif) !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
}

/* Outer product card: same cream heading, white list, rounded border */
html body.single-post .af-article-products-panel {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 711px !important;
    min-height: 711px !important;
    max-height: 711px !important;
    position: relative !important;
    top: auto !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 1px solid var(--af-border, #e8ded0) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 5px 22px rgba(52,76,59,.06) !important;
}

/* Heading dimensions and colors follow the supplied Cam Nang screenshot */
html body.single-post .af-article-products-panel .af-magazine-product-heading {
    display: block !important;
    flex: 0 0 103px !important;
    box-sizing: border-box !important;
    height: 103px !important;
    min-height: 103px !important;
    padding: 17px 17px 13px !important;
    border-bottom: 1px solid var(--af-border, #e8ded0) !important;
    background: #fffaf3 !important;
}

html body.single-post .af-article-products-panel .af-magazine-eyebrow {
    display: block !important;
    color: var(--af-gold, #C6A15B) !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .16em !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-heading h2 {
    margin: 5px 0 3px !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: var(--af-heading-font, Georgia, "Times New Roman", serif) !important;
    font-size: 23px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-heading p {
    margin: 0 !important;
    color: var(--af-muted, #77796f) !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

/* Five product rows visible in the same scrolling window */
html body.single-post .af-article-product-window {
    display: block !important;
    flex: 0 0 560px !important;
    width: 100% !important;
    height: 560px !important;
    min-height: 560px !important;
    max-height: 560px !important;
    overflow: hidden !important;
    position: relative !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%) !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-track {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    animation: afSinglePostProductScroll 42s linear infinite !important;
    will-change: transform;
}

html body.single-post .af-article-products-panel .af-magazine-product-group {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-card {
    display: grid !important;
    flex: 0 0 118px !important;
    grid-template-columns: 94px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 118px !important;
    height: 118px !important;
    padding: 12px !important;
    border-bottom: 1px solid #f0e9df !important;
    background: #fff !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-thumb {
    display: block !important;
    width: 94px !important;
    height: 94px !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background: #f5eee4 !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-info {
    min-width: 0 !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-info h3 {
    margin: 0 0 5px !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: var(--af-heading-font, Georgia, "Times New Roman", serif) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-info h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-price {
    margin: 0 !important;
    color: #8b6530 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-link {
    display: inline-block !important;
    margin-top: 6px !important;
    color: var(--af-moss, #344C3B) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--af-gold, #C6A15B) !important;
}

/* Shop link fixed at the bottom like the reference */
html body.single-post .af-article-products-panel .af-magazine-all-products {
    display: flex !important;
    flex: 0 0 48px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px !important;
    background: #fffaf3 !important;
    color: var(--af-moss, #344C3B) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html body.single-post .af-article-products-panel .af-magazine-all-products span {
    color: var(--af-gold, #C6A15B) !important;
}

/* Pause ticker on hover/focus */
html body.single-post .af-article-products-panel .af-magazine-product-window:hover .af-magazine-product-track,
html body.single-post .af-article-products-panel .af-magazine-product-window:focus-within .af-magazine-product-track {
    animation-play-state: paused !important;
}

/* Responsive sizing */
@media (max-width: 900px) {
    html body.single-post .af-article-products-panel {
        height: 650px !important;
        min-height: 650px !important;
        max-height: 650px !important;
    }
    html body.single-post .af-article-product-window {
        flex-basis: 499px !important;
        height: 499px !important;
        min-height: 499px !important;
        max-height: 499px !important;
    }
}

@media (max-width: 700px) {
    html body.single-post .af-article-products-panel {
        height: 711px !important;
        min-height: 711px !important;
        max-height: 711px !important;
    }
    html body.single-post .af-article-product-window {
        flex-basis: 560px !important;
        height: 560px !important;
        min-height: 560px !important;
        max-height: 560px !important;
    }
}



/* =========================================================
   SINGLE POST — "CÂU CHUYỆN VỀ HOA" PANEL
   Match the same card language as "Sản phẩm nổi bật" on Cam Nang.
   Footer button opens the Cam Nang post listing archive.
   ========================================================= */

html body.single-post .af-article-categories-panel {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--af-border, #e8ded0) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 5px 22px rgba(52,76,59,.06) !important;
}

html body.single-post .af-article-stories-heading {
    display: block !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 17px 17px 13px !important;
    border-bottom: 1px solid var(--af-border, #e8ded0) !important;
    background: #fffaf3 !important;
}

html body.single-post .af-article-stories-heading .af-magazine-eyebrow {
    display: block !important;
    margin: 0 !important;
    color: var(--af-gold, #C6A15B) !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .16em !important;
}

html body.single-post .af-article-stories-heading h2 {
    margin: 5px 0 3px !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: var(--af-heading-font, Georgia, "Times New Roman", serif) !important;
    font-size: 23px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

html body.single-post .af-article-stories-heading p {
    margin: 0 !important;
    color: var(--af-muted, #77796f) !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

html body.single-post .af-article-categories-panel .af-article-category-links {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    background: #fff !important;
}

html body.single-post .af-article-categories-panel .af-article-category-links > a {
    display: flex !important;
    flex: 0 0 auto !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 12px 17px !important;
    border: 0 !important;
    border-bottom: 1px solid #f0e9df !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: var(--af-heading-font, Georgia, "Times New Roman", serif) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease !important;
}

html body.single-post .af-article-categories-panel .af-article-category-links > a:hover {
    padding-left: 20px !important;
    background: #fffaf3 !important;
    color: var(--af-gold, #C6A15B) !important;
}

html body.single-post .af-article-category-name {
    min-width: 0 !important;
}

html body.single-post .af-article-category-count {
    flex: 0 0 auto !important;
    color: #a18b63 !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
}

html body.single-post .af-article-categories-panel .af-article-sidebar-empty {
    margin: 0 !important;
    padding: 18px 17px !important;
    color: var(--af-muted, #77796f) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

html body.single-post .af-article-stories-more {
    display: flex !important;
    flex: 0 0 48px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 0 !important;
    background: #fffaf3 !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
}

html body.single-post .af-article-stories-more span {
    color: var(--af-gold, #C6A15B) !important;
}

html body.single-post .af-article-stories-more:hover {
    color: var(--af-gold, #C6A15B) !important;
}


/* =========================================================
   ALICE FLOWERS — CÂU CHUYỆN VỀ HOA
   Thư viện khám phá các loài hoa — 4 cột desktop.
   Chỉ áp dụng cho template category-cau-chuyen-ve-hoa.php.
   ========================================================= */
/* =========================================================
   ALICE FLOWERS — CÂU CHUYỆN VỀ HOA
   Thư viện khám phá các loài hoa — 4 cột desktop.
   Chỉ áp dụng cho template category-cau-chuyen-ve-hoa.php.
   ========================================================= */
body.category-cau-chuyen-ve-hoa main.af-page.af-flower-library-page {
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 24px 0 48px !important;
    background: rgba(250, 244, 236, .97) !important;
    border: 0 !important;
    box-sizing: border-box !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-library-container {
    width: min(1180px, calc(100% - 48px)) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
}

.af-flower-library-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 18px;
    color: #8a887f;
    font: 12px/1.5 var(--af-body-font, Arial, sans-serif);
}
.af-flower-library-breadcrumb a { color: var(--af-moss, #344C3B); }
.af-flower-library-breadcrumb a:hover { color: var(--af-gold, #C6A15B); }

.af-flower-library-heading {
    position: relative;
    overflow: hidden;
    margin: 0 0 24px;
    padding: 30px 34px 26px;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 9px;
    background: linear-gradient(115deg, #fffaf3 0%, #f5ecdf 58%, #edf0e5 100%);
    box-shadow: 0 6px 24px rgba(52, 76, 59, .045);
}
.af-flower-library-heading::after {
    content: "✿";
    position: absolute;
    right: 34px;
    top: -37px;
    color: rgba(198, 161, 91, .12);
    font: 190px/1 Georgia, serif;
    pointer-events: none;
}
.af-flower-library-eyebrow {
    display: block;
    color: var(--af-gold, #C6A15B);
    font: 700 10px/1.5 var(--af-body-font, Arial, sans-serif);
    letter-spacing: .19em;
    text-transform: uppercase;
}
.af-flower-library-heading h1 {
    position: relative;
    z-index: 1;
    margin: 6px 0 8px;
    color: var(--af-moss, #344C3B);
    font: 500 clamp(30px, 3.5vw, 42px)/1.18 var(--af-heading-font, Georgia, serif);
}
.af-flower-library-heading > p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0;
    color: #6f746b;
    font: 13px/1.8 var(--af-body-font, Arial, sans-serif);
}
.af-flower-library-highlights {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
}
.af-flower-library-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid rgba(198, 161, 91, .35);
    border-radius: 30px;
    background: rgba(255, 255, 255, .68);
    color: var(--af-moss, #344C3B);
    font: 11px/1.4 var(--af-body-font, Arial, sans-serif);
}
.af-flower-library-highlights i {
    color: var(--af-gold, #C6A15B);
    font-style: normal;
}

.af-flower-library-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 27px;
}
.af-flower-library-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 30px;
    background: #fff;
    color: #5d685e;
    font: 11px/1.4 var(--af-body-font, Arial, sans-serif);
    transition: .2s ease;
}
.af-flower-library-filters a:hover,
.af-flower-library-filters a.is-current {
    border-color: var(--af-moss, #344C3B);
    background: var(--af-moss, #344C3B);
    color: #fff;
}

.af-flower-library-results { margin-top: 0; }
.af-flower-library-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 17px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--af-border, #e8ded0);
}
.af-flower-library-results-heading h2 {
    margin: 4px 0 0;
    color: var(--af-moss, #344C3B);
    font: 500 clamp(22px, 2.4vw, 28px)/1.25 var(--af-heading-font, Georgia, serif);
}
.af-flower-library-count {
    flex: 0 0 auto;
    padding-bottom: 3px;
    color: #8a806d;
    font: 11px/1.5 var(--af-body-font, Arial, sans-serif);
}

.af-flower-library-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.af-flower-story-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 17px rgba(52, 76, 59, .045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.af-flower-story-card:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 161, 91, .7);
    box-shadow: 0 11px 27px rgba(52, 76, 59, .10);
}
.af-flower-story-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e8e9dc, #f4e2d8);
}
.af-flower-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.af-flower-story-card:hover .af-flower-story-image img { transform: scale(1.045); }
.af-flower-story-image-label {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 20px;
    background: rgba(255,250,243,.92);
    color: var(--af-moss, #344C3B);
    font: 10px/1.2 var(--af-body-font, Arial, sans-serif);
}
.af-flower-story-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 160px;
    place-items: center;
    color: rgba(52, 76, 59, .32);
    font: 65px/1 Georgia, serif;
}
.af-flower-story-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 14px 15px;
}
.af-flower-story-copy time {
    color: #9a927f;
    font: 10px/1.5 var(--af-body-font, Arial, sans-serif);
}
.af-flower-story-copy h3 {
    margin: 6px 0 7px;
    color: var(--af-moss, #344C3B);
    font: 500 17px/1.4 var(--af-heading-font, Georgia, serif);
}
.af-flower-story-copy h3 a { color: inherit; }
.af-flower-story-copy h3 a:hover { color: #94713b; }
.af-flower-story-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    color: #73766e;
    font: 11px/1.75 var(--af-body-font, Arial, sans-serif);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.af-flower-story-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--af-moss, #344C3B);
    font: 600 11px/1.5 var(--af-body-font, Arial, sans-serif);
}
.af-flower-story-link span {
    color: var(--af-gold, #C6A15B);
    transition: transform .2s ease;
}
.af-flower-story-link:hover span { transform: translateX(4px); }

.af-flower-library-pagination { margin-top: 27px; }
.af-flower-library-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.af-flower-library-pagination a,
.af-flower-library-pagination span {
    display: grid;
    min-width: 36px;
    height: 36px;
    place-items: center;
    padding: 0 10px;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 5px;
    background: #fff;
    color: var(--af-moss, #344C3B);
    font: 12px/1 var(--af-body-font, Arial, sans-serif);
}
.af-flower-library-pagination .current {
    border-color: var(--af-moss, #344C3B);
    background: var(--af-moss, #344C3B);
    color: #fff;
}

.af-flower-library-empty {
    padding: 42px 24px;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 9px;
    background: #fffaf3;
    text-align: center;
}
.af-flower-library-empty-icon {
    display: block;
    margin-bottom: 8px;
    color: var(--af-gold, #C6A15B);
    font: 44px/1 Georgia, serif;
}
.af-flower-library-empty h3 {
    margin: 0 0 8px;
    color: var(--af-moss, #344C3B);
    font: 500 23px/1.35 var(--af-heading-font, Georgia, serif);
}
.af-flower-library-empty p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--af-muted, #77796f);
    font: 12px/1.8 var(--af-body-font, Arial, sans-serif);
}
.af-flower-library-note {
    margin-top: 34px;
    padding: 22px 25px;
    border: 1px solid var(--af-border, #e8ded0);
    border-radius: 8px;
    background: #fffaf3;
    text-align: center;
}
.af-flower-library-note p {
    margin: 7px auto 0;
    color: var(--af-moss, #344C3B);
    font: italic 17px/1.65 var(--af-heading-font, Georgia, serif);
}

@media (max-width: 1050px) {
    .af-flower-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 760px) {
    body.category-cau-chuyen-ve-hoa main.af-page.af-flower-library-page { padding: 18px 0 35px !important; }
    body.category-cau-chuyen-ve-hoa .af-flower-library-container { width: calc(100% - 30px) !important; }
    .af-flower-library-heading { padding: 23px 20px 20px; }
    .af-flower-library-heading::after { right: 10px; top: -20px; font-size: 125px; }
    .af-flower-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .af-flower-story-copy { padding: 11px 11px 13px; }
    .af-flower-story-copy h3 { font-size: 15px; }
}
@media (max-width: 480px) {
    .af-flower-library-grid { grid-template-columns: 1fr; gap: 14px; }
    .af-flower-story-card { display: grid; grid-template-columns: 40% minmax(0, 1fr); }
    .af-flower-story-image { height: 100%; min-height: 150px; aspect-ratio: auto; }
    .af-flower-story-image img { position: absolute; inset: 0; }
    .af-flower-story-copy h3 { font-size: 16px; }
    .af-flower-library-results-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* =========================================================
   ALICE FLOWERS — CÂU CHUYỆN VỀ HOA
   FIX 05/11/2026 — CSS đúng với category-cau-chuyen-ve-hoa.php
   Chỉ áp dụng cho body.category-cau-chuyen-ve-hoa.
   Không tác động header, footer, trang chủ hoặc WooCommerce.
   Dán toàn bộ khối này vào CUỐI style.css.
   ========================================================= */

body.category-cau-chuyen-ve-hoa main.af-page.af-flower-journal-page {
    display: block !important;
    box-sizing: border-box !important;
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 30px 0 64px !important;
    background: #FAF4EC !important;
    border: 0 !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-container {
    box-sizing: border-box !important;
    width: min(1192px, calc(100% - 48px)) !important;
    max-width: 1192px !important;
    margin: 0 auto !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-breadcrumb {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px !important;
    color: #858579;
    font: 12px/1.6 "Be Vietnam Pro", Arial, sans-serif;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-breadcrumb a {
    color: #344C3B;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-masthead {
    display: block !important;
    width: 100%;
    max-width: 850px;
    margin: 0 auto 32px !important;
    padding: 12px 20px 22px !important;
    text-align: center;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-kicker {
    display: block;
    color: #C6A15B;
    font: 700 10px/1.6 "Be Vietnam Pro", Arial, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-masthead h1 {
    display: block;
    margin: 9px 0 13px !important;
    color: #344C3B !important;
    font: 500 clamp(32px, 4vw, 46px)/1.2 "Playfair Display", Georgia, serif !important;
    letter-spacing: 0 !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-rule {
    display: block;
    width: 68px;
    height: 1px;
    margin: 0 auto 13px;
    background: #C6A15B;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-masthead p {
    max-width: 690px;
    margin: 0 auto !important;
    color: #77796F;
    font: 14px/1.85 "Be Vietnam Pro", Arial, sans-serif;
}

/* Bài viết nổi bật: ảnh và nội dung nằm cạnh nhau trên desktop. */
body.category-cau-chuyen-ve-hoa article.af-flower-journal-cover {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 410px !important;
    margin: 0 0 48px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 9px !important;
    background: #FFFFFF !important;
    box-shadow: 0 10px 30px rgba(52, 76, 59, .07) !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 410px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #F7F2EA !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 410px !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .5s ease;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image:hover img {
    transform: scale(1.025);
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: clamp(24px, 3.5vw, 48px) !important;
    background: #FFFFFF !important;
    text-align: left !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-overline {
    display: block;
    margin: 0 0 10px;
    color: #B28C4D;
    font: 700 9px/1.6 "Be Vietnam Pro", Arial, sans-serif;
    letter-spacing: .12em;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy time,
body.category-cau-chuyen-ve-hoa .af-flower-story-copy time {
    display: block;
    margin: 0 0 8px;
    color: #969287;
    font: 11px/1.6 "Be Vietnam Pro", Arial, sans-serif;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy h2 {
    margin: 8px 0 13px !important;
    color: #344C3B !important;
    font: 500 clamp(27px, 2.8vw, 37px)/1.25 "Playfair Display", Georgia, serif !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy h2 a,
body.category-cau-chuyen-ve-hoa .af-flower-story-copy h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy p {
    margin: 0 0 20px !important;
    color: #696B61 !important;
    font: 13px/1.85 "Be Vietnam Pro", Arial, sans-serif !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-read,
body.category-cau-chuyen-ve-hoa .af-flower-story-link {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    color: #344C3B !important;
    font: 700 11px/1.6 "Be Vietnam Pro", Arial, sans-serif !important;
    text-decoration: none !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-read {
    padding: 0 0 6px;
    border-bottom: 1px solid #C6A15B;
}

/* Tiêu đề khu vực danh sách bài viết. */
body.category-cau-chuyen-ve-hoa .af-flower-journal-listing {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-section-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 20px;
    margin: 0 0 22px !important;
    padding: 0 0 15px !important;
    border-bottom: 1px solid #E8DED0;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-section-head h2 {
    margin: 5px 0 5px !important;
    color: #344C3B !important;
    font: 500 clamp(24px, 2.8vw, 32px)/1.25 "Playfair Display", Georgia, serif !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-section-head p {
    margin: 0 !important;
    color: #77796F;
    font: 12px/1.7 "Be Vietnam Pro", Arial, sans-serif;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-issue {
    padding-bottom: 3px;
    color: #B28C4D;
    font: 700 9px/1.5 "Be Vietnam Pro", Arial, sans-serif;
    letter-spacing: .12em;
    white-space: nowrap;
}

/* Lưới 4 cột theo lựa chọn trước đó. */
body.category-cau-chuyen-ve-hoa .af-flower-journal-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px 16px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.category-cau-chuyen-ve-hoa article.af-flower-story-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    box-shadow: 0 3px 13px rgba(52, 76, 59, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.category-cau-chuyen-ve-hoa article.af-flower-story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(52, 76, 59, .09);
}

body.category-cau-chuyen-ve-hoa .af-flower-story-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #F7F2EA !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-story-image img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    transition: transform .5s ease;
}

body.category-cau-chuyen-ve-hoa .af-flower-story-image:hover img {
    transform: scale(1.04);
}

body.category-cau-chuyen-ve-hoa .af-flower-story-copy {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    padding: 14px 14px 16px !important;
    background: #FFFFFF !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-story-copy h3 {
    margin: 5px 0 8px !important;
    color: #344C3B !important;
    font: 500 17px/1.35 "Playfair Display", Georgia, serif !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-story-copy p {
    margin: 0 0 13px !important;
    color: #77796F !important;
    font: 12px/1.75 "Be Vietnam Pro", Arial, sans-serif !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-story-link {
    margin-top: auto !important;
    padding-top: 5px;
    font-size: 10px !important;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-placeholder {
    display: grid !important;
    width: 100%;
    height: 100%;
    min-height: 180px;
    place-items: center;
    color: rgba(52, 76, 59, .35);
    font: 75px Georgia, serif;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination {
    clear: both;
    margin: 30px 0 0;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination a,
body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination span {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid #E8DED0;
    border-radius: 4px;
    background: #FFFFFF;
    color: #344C3B;
    font: 12px/1.3 "Be Vietnam Pro", Arial, sans-serif;
}

body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination .current {
    border-color: #344C3B;
    background: #344C3B;
    color: #FFFFFF;
}

/* Tablet */
@media (max-width: 1050px) {
    body.category-cau-chuyen-ve-hoa .af-flower-journal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.category-cau-chuyen-ve-hoa article.af-flower-journal-cover {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
        min-height: 360px !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image,
    body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image img {
        min-height: 360px !important;
    }
}

/* Mobile */
@media (max-width: 760px) {
    body.category-cau-chuyen-ve-hoa main.af-page.af-flower-journal-page {
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px 0 40px !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-journal-container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

    body.category-cau-chuyen-ve-hoa article.af-flower-journal-cover {
        grid-template-columns: minmax(0, 1fr) !important;
        min-height: 0 !important;
        margin-bottom: 36px !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image,
    body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 10 !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy {
        padding: 22px !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 12px !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-journal-section-head {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
}

/* Màn hình nhỏ */
@media (max-width: 480px) {
    body.category-cau-chuyen-ve-hoa .af-flower-journal-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-journal-masthead {
        padding: 8px 0 18px !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-journal-masthead h1 {
        font-size: 31px !important;
    }

    body.category-cau-chuyen-ve-hoa .af-flower-story-image {
        aspect-ratio: 16 / 10 !important;
    }
}

/* =========================================================
   ALICE FLOWERS — JOURNAL PAGE TWO-COLUMN LAYOUT
   05/11/2026
   Append to the END of style.css. Scoped to this category only.
   ========================================================= */

html body.category-cau-chuyen-ve-hoa main.af-page.af-flower-journal-page {
    display: block !important;
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 28px 0 56px !important;
    background: rgba(250, 244, 236, .97) !important;
    overflow: visible !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-container {
    display: block !important;
    width: min(1192px, calc(100% - 48px)) !important;
    max-width: 1192px !important;
    margin: 0 auto !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-masthead {
    margin: 0 auto 26px !important;
    padding: 8px 12px 18px !important;
    text-align: center !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-masthead h1 {
    margin: 7px 0 12px !important;
    color: #344C3B !important;
    font: 500 clamp(30px, 3.2vw, 42px)/1.2 var(--af-heading-font, Georgia, serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-masthead p {
    max-width: 760px;
    margin: 0 auto !important;
    color: #77796F !important;
    font: 13px/1.75 var(--af-body-font, Arial, sans-serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 248px !important;
    align-items: start !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 0 34px !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-main-column {
    min-width: 0 !important;
    width: 100% !important;
}

html body.category-cau-chuyen-ve-hoa article.af-flower-journal-cover {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    box-shadow: 0 5px 20px rgba(52, 76, 59, .055) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 340px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #F5EEE4 !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 340px !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    padding: clamp(17px, 2vw, 26px) !important;
    background: #FFFFFF !important;
    text-align: left !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy .af-flower-journal-overline {
    margin: 0 0 8px !important;
    color: #B28C4D !important;
    font: 700 9px/1.5 var(--af-body-font, Arial, sans-serif) !important;
    letter-spacing: .08em !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy time {
    display: block;
    margin: 0 0 8px !important;
    color: #969287 !important;
    font: 10px/1.5 var(--af-body-font, Arial, sans-serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy h2 {
    margin: 4px 0 11px !important;
    color: #344C3B !important;
    font: 500 clamp(21px, 2vw, 29px)/1.25 var(--af-heading-font, Georgia, serif) !important;
    overflow-wrap: anywhere !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy h2 a {
    color: inherit !important;
    text-decoration: none !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy p {
    margin: 0 0 15px !important;
    color: #696B61 !important;
    font: 12px/1.75 var(--af-body-font, Arial, sans-serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-read {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #344C3B !important;
    font: 700 10px/1.5 var(--af-body-font, Arial, sans-serif) !important;
    text-decoration: none !important;
    border-bottom: 1px solid #C6A15B !important;
    padding-bottom: 4px !important;
}

/* Right-side featured products panel */
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar {
    display: flex !important;
    flex-direction: column !important;
    position: sticky !important;
    top: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 9px !important;
    background: #FFFFFF !important;
    box-shadow: 0 5px 22px rgba(52, 76, 59, .06) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-heading {
    flex: 0 0 auto !important;
    padding: 13px 12px 11px !important;
    border-bottom: 1px solid #E8DED0 !important;
    background: #FFFAF3 !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-heading h2 {
    margin: 4px 0 3px !important;
    color: #344C3B !important;
    font: 500 19px/1.25 var(--af-heading-font, Georgia, serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-heading p {
    margin: 0 !important;
    color: #77796F !important;
    font: 9px/1.5 var(--af-body-font, Arial, sans-serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-window {
    display: block !important;
    position: relative !important;
    height: 420px !important;
    max-height: 420px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-track {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: max-content !important;
    animation: afFlowerJournalProductTicker 32s linear infinite !important;
    will-change: transform !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-group {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-card {
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 78px !important;
    padding: 8px !important;
    border-bottom: 1px solid #F0E9DF !important;
    background: #FFFFFF !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-thumb {
    display: block !important;
    width: 62px !important;
    height: 62px !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 5px !important;
    background: #F5EEE4 !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-info {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-info h3 {
    margin: 0 0 4px !important;
    color: #344C3B !important;
    font: 500 11px/1.35 var(--af-heading-font, Georgia, serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-info h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-price {
    color: #8B6530 !important;
    font: 700 10px/1.4 var(--af-body-font, Arial, sans-serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-price del {
    color: #9A9A91 !important;
    font-weight: 400 !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-price ins {
    text-decoration: none !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-link {
    display: inline-block !important;
    margin-top: 4px !important;
    color: #344C3B !important;
    font: 700 9px/1.3 var(--af-body-font, Arial, sans-serif) !important;
    text-decoration: none !important;
    border-bottom: 1px solid #C6A15B !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-all-products {
    display: flex !important;
    flex: 0 0 40px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px !important;
    background: #FFFAF3 !important;
    color: #344C3B !important;
    font: 700 10px/1.4 var(--af-body-font, Arial, sans-serif) !important;
    text-decoration: none !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-all-products span {
    color: #C6A15B !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-window:hover .af-magazine-product-track,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-window:focus-within .af-magazine-product-track {
    animation-play-state: paused !important;
}

@keyframes afFlowerJournalProductTicker {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-products-empty {
    padding: 18px 12px;
    color: #77796F;
    font-size: 11px;
}

/* Article list remains below the two-column cover/sidebar row. */
html body.category-cau-chuyen-ve-hoa .af-flower-journal-listing {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-section-head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 0 20px !important;
    padding: 0 0 13px !important;
    border-bottom: 1px solid #E8DED0 !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-section-head h2 {
    margin: 5px 0 !important;
    color: #344C3B !important;
    font: 500 clamp(23px, 2.5vw, 31px)/1.25 var(--af-heading-font, Georgia, serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-section-head p {
    margin: 0 !important;
    color: #77796F !important;
    font: 11px/1.7 var(--af-body-font, Arial, sans-serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-issue {
    color: #B28C4D !important;
    font: 700 9px/1.5 var(--af-body-font, Arial, sans-serif) !important;
    letter-spacing: .1em !important;
    white-space: nowrap !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px 14px !important;
    align-items: stretch !important;
    width: 100% !important;
}

html body.category-cau-chuyen-ve-hoa article.af-flower-story-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 7px !important;
    background: #FFFFFF !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-story-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: #F5EEE4 !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-story-image img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-story-copy {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px !important;
    background: #FFFFFF !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-story-copy time {
    color: #969287 !important;
    font: 9px/1.5 var(--af-body-font, Arial, sans-serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-story-copy h3 {
    margin: 5px 0 7px !important;
    color: #344C3B !important;
    font: 500 16px/1.35 var(--af-heading-font, Georgia, serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-story-copy h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-story-copy p {
    margin: 0 0 10px !important;
    color: #77796F !important;
    font: 11px/1.65 var(--af-body-font, Arial, sans-serif) !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-story-link {
    margin-top: auto !important;
    color: #344C3B !important;
    font: 700 10px/1.5 var(--af-body-font, Arial, sans-serif) !important;
    text-decoration: none !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination {
    clear: both !important;
    margin: 24px 0 0 !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination a,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination span {
    display: grid !important;
    place-items: center !important;
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 9px !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    color: #344C3B !important;
    font-size: 11px !important;
}

html body.category-cau-chuyen-ve-hoa .af-flower-journal-pagination .current {
    border-color: #344C3B !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
}

/* Tablet */
@media (max-width: 980px) {
    html body.category-cau-chuyen-ve-hoa .af-flower-journal-layout {
        grid-template-columns: minmax(0, 1fr) 220px !important;
        gap: 12px !important;
    }

    html body.category-cau-chuyen-ve-hoa article.af-flower-journal-cover {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image,
    html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image img {
        min-height: 220px !important;
        max-height: 280px !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 680px) {
    html body.category-cau-chuyen-ve-hoa main.af-page.af-flower-journal-page {
        width: 100% !important;
        padding: 20px 0 36px !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-container {
        width: calc(100% - 28px) !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    html body.category-cau-chuyen-ve-hoa article.af-flower-journal-cover {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image,
    html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-image img {
        min-height: 210px !important;
        max-height: 260px !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy {
        padding: 18px !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar {
        position: relative !important;
        top: auto !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-window {
        height: 360px !important;
        max-height: 360px !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    html body.category-cau-chuyen-ve-hoa .af-flower-journal-section-head {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 7px !important;
    }
}

@media (max-width: 420px) {
    html body.category-cau-chuyen-ve-hoa .af-flower-journal-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-track {
        animation: none !important;
    }
}
/* ALICE FLOWERS - FIX WIDTH RIGHT SIDEBAR */
@media (min-width: 681px) {

    html body.category-cau-chuyen-ve-hoa
    .af-flower-journal-layout {
        grid-template-columns: minmax(0, 1fr) 300px !important;
        column-gap: 12px !important;
    }

    html body.category-cau-chuyen-ve-hoa
    .af-flower-journal-sidebar {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================
   ALICE FLOWERS — FIX PRODUCT SIDEBAR NOT SCROLLING
   Append this block at the VERY END of style.css.
   Overrides the earlier prefers-reduced-motion: animation:none
   rule for the Câu chuyện về hoa page only.
   ========================================================= */

html body.category-cau-chuyen-ve-hoa
.af-flower-journal-sidebar
.af-magazine-product-window {
    display: block !important;
    position: relative !important;
    height: 420px !important;
    max-height: 420px !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

html body.category-cau-chuyen-ve-hoa
.af-flower-journal-sidebar
.af-magazine-product-track {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: max-content !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    animation: afFlowerJournalProductTicker 32s linear infinite !important;
    animation-play-state: running !important;
    will-change: transform !important;
}

html body.category-cau-chuyen-ve-hoa
.af-flower-journal-sidebar
.af-magazine-product-group {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: max-content !important;
}

html body.category-cau-chuyen-ve-hoa
.af-flower-journal-sidebar
.af-magazine-product-card {
    flex: 0 0 auto !important;
}

/* Keep animation enabled even if the browser requests reduced motion. */
@media (prefers-reduced-motion: reduce) {
    html body.category-cau-chuyen-ve-hoa
    .af-flower-journal-sidebar
    .af-magazine-product-track {
        animation: afFlowerJournalProductTicker 32s linear infinite !important;
        animation-play-state: running !important;
    }
}

/* Pause only while the visitor points at the product list. */
html body.category-cau-chuyen-ve-hoa
.af-flower-journal-sidebar
.af-magazine-product-window:hover
.af-magazine-product-track,
html body.category-cau-chuyen-ve-hoa
.af-flower-journal-sidebar
.af-magazine-product-window:focus-within
.af-magazine-product-track {
    animation-play-state: paused !important;
}

@keyframes afFlowerJournalProductTicker {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -50%, 0); }
}

/* =================================================
   ALICE FLOWERS - FIX IMAGE SCALE
   Trang Câu chuyện về hoa
   ================================================= */

html body.category-cau-chuyen-ve-hoa
.af-flower-story-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
}

html body.category-cau-chuyen-ve-hoa
.af-flower-story-image img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
    padding: 5px !important;
    box-sizing: border-box !important;
}

/* =========================================================
   ALICE FLOWERS — SINGLE ARTICLE: FOLLOWING STORIES SECTION
   Add to the END of style.css.
   Section is placed after article/sidebar and before occasions.
   ========================================================= */

html body.single-post .af-single-following-stories {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    margin: 12px 0 24px !important;
    padding: 24px 18px 20px !important;
    box-sizing: border-box !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 8px !important;
    background: #FFFAF3 !important;
}

html body.single-post .af-single-following-heading {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 0 18px !important;
    padding: 0 0 13px !important;
    border-bottom: 1px solid #E8DED0 !important;
}

html body.single-post .af-single-following-heading-copy {
    min-width: 0;
}

html body.single-post .af-single-following-heading h2 {
    margin: 5px 0 5px !important;
    color: #344C3B !important;
    font: 500 clamp(23px, 2.5vw, 31px)/1.25 Georgia, serif !important;
}

html body.single-post .af-single-following-heading p {
    margin: 0 !important;
    color: #77796F !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
}

html body.single-post .af-single-following-more {
    flex: 0 0 auto;
    color: #344C3B !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html body.single-post .af-single-following-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

html body.single-post article.af-single-following-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 7px !important;
    background: #FFFFFF !important;
}

html body.single-post .af-single-following-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
}

html body.single-post .af-single-following-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}

html body.single-post .af-single-following-copy {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px !important;
}

html body.single-post .af-single-following-copy time {
    color: #969287 !important;
    font-size: 9px !important;
}

html body.single-post .af-single-following-copy h3 {
    margin: 6px 0 7px !important;
    color: #344C3B !important;
    font: 500 16px/1.35 Georgia, serif !important;
}

html body.single-post .af-single-following-copy h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

html body.single-post .af-single-following-copy p {
    margin: 0 0 12px !important;
    color: #77796F !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
}

html body.single-post .af-single-following-link {
    margin-top: auto !important;
    color: #344C3B !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html body.single-post .af-single-following-placeholder {
    color: #C6A15B;
    font: 54px Georgia, serif;
}

@media (max-width: 900px) {
    html body.single-post .af-single-following-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    html body.single-post .af-single-following-stories {
        padding: 18px 12px !important;
    }

    html body.single-post .af-single-following-heading {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    html body.single-post .af-single-following-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}


/* SINGLE ARTICLE — typography for following stories */
html body .af-single-following-stories,
html body .af-single-following-stories * {
    letter-spacing: normal !important;
    word-spacing: normal !important;
}
html body .af-single-following-stories .af-single-following-heading h2,
html body .af-single-following-stories .af-single-following-copy h3,
html body .af-single-following-stories .af-single-following-copy h3 a {
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}
html body .af-single-following-stories .af-single-following-heading h2 { font-size: 28px !important; line-height: 1.35 !important; }
html body .af-single-following-stories .af-single-following-copy h3,
html body .af-single-following-stories .af-single-following-copy h3 a { font-size: 16px !important; line-height: 1.45 !important; }
html body .af-single-following-stories .af-single-following-heading p,
html body .af-single-following-stories .af-single-following-copy p,
html body .af-single-following-stories .af-single-following-copy time,
html body .af-single-following-stories .af-single-following-link,
html body .af-single-following-stories .af-single-following-more {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

/* =========================================================
   ALICE FLOWERS — RESTORE GÓC CHIA SẺ PAGE STYLE
   Scoped strictly to body.category-goc-chia-se.
   Append this patch at the END of the active theme style.css.
   Do not replace the full style.css with this patch.
   ========================================================= */

/* =========================================================
   ALICE FLOWERS — GÓC CHIA SẺ DẠNG TẠP CHÍ / BÁO
   Chỉ áp dụng cho danh mục bài viết có slug: goc-chia-se.
   Giữ nguyên Header, Footer và các trang còn lại.
   ========================================================= */
body.category-goc-chia-se main.af-page.af-magazine-page{
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 25px 0 54px !important;
    background: rgba(250,244,236,.97) !important;
}
body.category-goc-chia-se .af-magazine-page > .af-container{
    width: calc(100% - 48px) !important;
    max-width: 1192px !important;
    margin: 0 auto !important;
}
body.category-goc-chia-se .af-magazine-breadcrumb{
    display:flex; align-items:center; gap:10px;
    margin:0 0 16px; color:#89877e; font-size:12px;
}
body.category-goc-chia-se .af-magazine-breadcrumb a{ color:var(--af-moss); }
body.category-goc-chia-se .af-magazine-heading{
    padding:0 0 22px; margin:0 0 22px;
    border-bottom:1px solid var(--af-border);
}
body.category-goc-chia-se .af-magazine-eyebrow{
    display:block; color:var(--af-gold);
    font:700 10px/1.5 var(--af-body-font,Arial,sans-serif);
    letter-spacing:.2em; text-transform:uppercase;
}
body.category-goc-chia-se .af-magazine-heading h1{
    margin:5px 0 7px; color:var(--af-moss);
    font:500 clamp(30px,3.5vw,42px)/1.18 var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-heading p{
    max-width:720px; margin:0; color:var(--af-muted); font-size:14px;
}
body.category-goc-chia-se .af-magazine-layout{
    display:grid; grid-template-columns:minmax(0, 2.05fr) minmax(250px, .85fr);
    gap:24px; align-items:start;
}
body.category-goc-chia-se .af-magazine-main,
body.category-goc-chia-se .af-magazine-sidebar{ min-width:0; }
body.category-goc-chia-se .af-magazine-featured{
    display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
    min-height:300px; overflow:hidden;
    border:1px solid var(--af-border); border-radius:9px;
    background:#fff; box-shadow:0 5px 20px rgba(52,76,59,.05);
}
body.category-goc-chia-se .af-magazine-featured-image{
    display:block; min-height:300px; overflow:hidden;
    background:linear-gradient(135deg,#e8e9dc,#f4dfd3);
}
body.category-goc-chia-se .af-magazine-featured-image img{
    display:block; width:100%; height:100%; min-height:300px;
    object-fit:cover; transition:transform .45s ease;
}
body.category-goc-chia-se .af-magazine-featured-image:hover img{ transform:scale(1.035); }
body.category-goc-chia-se .af-magazine-image-placeholder{
    display:grid; place-items:center; width:100%; height:100%;
    min-height:220px; color:rgba(52,76,59,.35); font-size:72px;
}
body.category-goc-chia-se .af-magazine-featured-copy{
    display:flex; flex-direction:column; align-items:flex-start;
    justify-content:center; padding:clamp(18px,2.4vw,30px);
}
body.category-goc-chia-se .af-magazine-kicker{
    color:var(--af-gold); font-size:10px; font-weight:700;
    letter-spacing:.17em;
}
body.category-goc-chia-se .af-magazine-featured-copy h2{
    margin:10px 0; color:var(--af-moss);
    font:500 clamp(21px,2.2vw,29px)/1.3 var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-featured-copy h2 a,
body.category-goc-chia-se .af-magazine-post-card h3 a{ color:inherit; }
body.category-goc-chia-se .af-magazine-featured-copy p{
    margin:0 0 13px; color:#70736b; font-size:13px; line-height:1.75;
}
body.category-goc-chia-se .af-magazine-readmore{
    display:inline-flex; gap:8px; align-items:center;
    color:var(--af-moss); font-size:12px; font-weight:700;
}
body.category-goc-chia-se .af-magazine-readmore span{ color:var(--af-gold); transition:transform .2s ease; }
body.category-goc-chia-se .af-magazine-readmore:hover span{ transform:translateX(4px); }
body.category-goc-chia-se .af-magazine-section-title{ margin:25px 0 13px; }
body.category-goc-chia-se .af-magazine-section-title h2{
    margin:4px 0 0; color:var(--af-moss);
    font:500 25px/1.25 var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-category-list{
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}
body.category-goc-chia-se .af-magazine-category-list a{
    display:flex; justify-content:space-between; align-items:center; gap:10px;
    min-width:0; padding:11px 13px;
    border:1px solid var(--af-border); border-radius:5px;
    background:#fffaf4; color:var(--af-moss); font-size:12px;
    transition:background .2s,border-color .2s,transform .2s;
}
body.category-goc-chia-se .af-magazine-category-list a:hover{
    background:#fff; border-color:var(--af-gold); transform:translateY(-1px);
}
body.category-goc-chia-se .af-magazine-category-count{
    flex:0 0 auto; color:#9b8b6e; font-size:10px;
}
body.category-goc-chia-se .af-magazine-no-category,
body.category-goc-chia-se .af-magazine-no-products{
    color:var(--af-muted); font-size:13px;
}
body.category-goc-chia-se .af-magazine-latest{ margin-top:26px; }
body.category-goc-chia-se .af-magazine-section-title-row{
    display:flex; justify-content:space-between; align-items:end;
    padding-bottom:10px; border-bottom:1px solid var(--af-border);
}
body.category-goc-chia-se .af-magazine-post-grid{
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px;
}
body.category-goc-chia-se .af-magazine-post-card{
    min-width:0; overflow:hidden; border:1px solid var(--af-border);
    border-radius:7px; background:#fff;
}
body.category-goc-chia-se .af-magazine-post-image{
    display:block; aspect-ratio:16/10; overflow:hidden;
    background:linear-gradient(135deg,#e8e9dc,#f4dfd3);
}
body.category-goc-chia-se .af-magazine-post-image img{
    display:block; width:100%; height:100%; object-fit:cover;
    transition:transform .4s ease;
}
body.category-goc-chia-se .af-magazine-post-image:hover img{ transform:scale(1.04); }
body.category-goc-chia-se .af-magazine-post-copy{ padding:13px 14px 15px; }
body.category-goc-chia-se .af-magazine-post-copy time{
    color:#9a927f; font-size:10px; letter-spacing:.04em;
}
body.category-goc-chia-se .af-magazine-post-card h3{
    margin:6px 0 7px; color:var(--af-moss);
    font:500 18px/1.35 var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-post-card p{
    margin:0 0 10px; color:#74766f; font-size:12px; line-height:1.7;
}
body.category-goc-chia-se .af-magazine-pagination{ margin-top:20px; }
body.category-goc-chia-se .af-magazine-pagination ul{
    display:flex; flex-wrap:wrap; gap:6px; justify-content:center;
    list-style:none; margin:0; padding:0;
}
body.category-goc-chia-se .af-magazine-pagination a,
body.category-goc-chia-se .af-magazine-pagination span{
    display:grid; place-items:center; min-width:34px; height:34px;
    padding:0 9px; border:1px solid var(--af-border);
    border-radius:4px; background:#fff; color:var(--af-moss); font-size:12px;
}
body.category-goc-chia-se .af-magazine-pagination .current{
    background:var(--af-moss); border-color:var(--af-moss); color:#fff;
}
body.category-goc-chia-se .af-magazine-empty{
    padding:35px; border:1px solid var(--af-border); border-radius:8px; background:#fff;
}
body.category-goc-chia-se .af-magazine-empty h2{
    color:var(--af-moss); font:500 25px var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-empty p{ color:var(--af-muted); }

/* Right column: vertical continuous product ticker. */
body.category-goc-chia-se .af-magazine-product-panel{
    position:sticky; top:18px; overflow:hidden;
    border:1px solid var(--af-border); border-radius:9px;
    background:#fff; box-shadow:0 5px 22px rgba(52,76,59,.06);
}
body.category-goc-chia-se .af-magazine-product-heading{
    padding:18px 17px 15px; border-bottom:1px solid var(--af-border);
    background:#fffaf3;
}
body.category-goc-chia-se .af-magazine-product-heading h2{
    margin:5px 0 3px; color:var(--af-moss);
    font:500 23px/1.2 var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-product-heading p{ margin:0; color:var(--af-muted); font-size:11px; }
body.category-goc-chia-se .af-magazine-product-window{
    height:560px; overflow:hidden; position:relative;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%);
    mask-image:linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%);
}
body.category-goc-chia-se .af-magazine-product-track{
    display:flex; flex-direction:column; width:100%;
    animation:af-magazine-product-scroll 42s linear infinite;
    will-change:transform;
}
body.category-goc-chia-se .af-magazine-product-window:hover .af-magazine-product-track,
body.category-goc-chia-se .af-magazine-product-window:focus-within .af-magazine-product-track{
    animation-play-state:paused;
}
body.category-goc-chia-se .af-magazine-product-group{ display:flex; flex-direction:column; }
body.category-goc-chia-se .af-magazine-product-card{
    display:grid; grid-template-columns:94px minmax(0,1fr); gap:12px;
    align-items:center; padding:12px;
    border-bottom:1px solid #f0e9df; min-height:116px;
}
body.category-goc-chia-se .af-magazine-product-thumb{
    display:block; width:94px; aspect-ratio:1/1; overflow:hidden;
    border-radius:6px; background:#f5eee4;
}
body.category-goc-chia-se .af-magazine-product-thumb img{
    display:block; width:100%; height:100%; object-fit:cover; margin:0!important;
}
body.category-goc-chia-se .af-magazine-product-info{ min-width:0; }
body.category-goc-chia-se .af-magazine-product-info h3{
    margin:0 0 5px; color:var(--af-moss);
    font:500 15px/1.35 var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-product-info h3 a{ color:inherit; }
body.category-goc-chia-se .af-magazine-product-price{ color:#8b6530; font-size:12px; font-weight:700; }
body.category-goc-chia-se .af-magazine-product-price del{ color:#9a9a91; font-weight:400; }
body.category-goc-chia-se .af-magazine-product-price ins{ text-decoration:none; }
body.category-goc-chia-se .af-magazine-product-link{
    display:inline-block; margin-top:6px; color:var(--af-moss);
    font-size:10px; font-weight:700; border-bottom:1px solid var(--af-gold);
}
body.category-goc-chia-se .af-magazine-all-products{
    display:flex; justify-content:center; gap:8px; align-items:center;
    padding:13px; background:#fffaf3; color:var(--af-moss);
    font-size:12px; font-weight:700;
}
body.category-goc-chia-se .af-magazine-all-products span{ color:var(--af-gold); }
@keyframes af-magazine-product-scroll {
    from { transform:translateY(0); }
    to { transform:translateY(-50%); }
}

/* Bottom occasion chooser reuses the existing four JPGs in /assets/. */
body.category-goc-chia-se .af-magazine-occasions{
    margin-top:38px; padding:28px 22px 24px;
    border:1px solid var(--af-border); border-radius:9px;
    background:#fffaf3;
}
body.category-goc-chia-se .af-magazine-occasion-heading{ margin:0 0 20px; text-align:center; }
body.category-goc-chia-se .af-magazine-occasion-heading h2{
    margin:5px 0 4px; color:var(--af-moss);
    font:500 clamp(27px,3vw,36px)/1.2 var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-occasion-heading p{ margin:0; color:var(--af-muted); font-size:13px; }
body.category-goc-chia-se .af-magazine-occasion-grid{
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px;
}
body.category-goc-chia-se .af-magazine-occasion-card{
    position:relative; display:flex; align-items:end; min-height:190px;
    overflow:hidden; padding:14px; isolation:isolate;
    border:1px solid var(--af-border); border-radius:7px;
    background-color:#eee5d9; background-position:center; background-size:cover;
    transition:transform .22s ease,box-shadow .22s ease;
}
body.category-goc-chia-se .af-magazine-occasion-card::before{
    content:""; position:absolute; z-index:-1; inset:0;
    background:linear-gradient(0deg,rgba(250,244,236,.97) 0%,rgba(250,244,236,.65) 45%,rgba(250,244,236,.04) 100%);
}
body.category-goc-chia-se .af-magazine-occasion-card:hover{
    transform:translateY(-3px); box-shadow:var(--af-shadow);
}
body.category-goc-chia-se .af-magazine-occasion-birthday{ background-image:url("assets/occasion-birthday.jpg"); }
body.category-goc-chia-se .af-magazine-occasion-opening{ background-image:url("assets/occasion-opening.jpg"); }
body.category-goc-chia-se .af-magazine-occasion-graduation{ background-image:url("assets/occasion-graduation.jpg"); }
body.category-goc-chia-se .af-magazine-occasion-love{ background-image:url("assets/occasion-love.jpg"); }
body.category-goc-chia-se .af-magazine-occasion-copy{ display:flex; flex-direction:column; gap:5px; }
body.category-goc-chia-se .af-magazine-occasion-copy strong{
    display:inline-block; color:var(--af-moss);
    font:500 19px/1.25 var(--af-heading-font,Georgia,serif);
}
body.category-goc-chia-se .af-magazine-occasion-copy>span{ color:#686d63; font-size:10px; line-height:1.5; }
body.category-goc-chia-se .af-magazine-occasion-arrow{
    position:absolute; top:10px; right:12px; color:var(--af-moss);
    font-size:18px; opacity:.8;
}

@media (max-width: 900px) {
    body.category-goc-chia-se .af-magazine-layout{
        grid-template-columns:minmax(0,1.55fr) minmax(220px,.85fr); gap:16px;
    }
    body.category-goc-chia-se .af-magazine-featured{ grid-template-columns:1fr; }
    body.category-goc-chia-se .af-magazine-featured-image,
body.category-goc-chia-se .af-magazine-featured-image img{ min-height:220px; max-height:280px; }
    body.category-goc-chia-se .af-magazine-product-window{ height:520px; }
    body.category-goc-chia-se .af-magazine-occasion-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
    body.category-goc-chia-se main.af-page.af-magazine-page{
        width:100%!important; padding:18px 0 34px!important;
    }
    body.category-goc-chia-se .af-magazine-page > .af-container{
        width:calc(100% - 28px)!important;
    }
    body.category-goc-chia-se .af-magazine-heading{ padding-bottom:16px; margin-bottom:17px; }
    body.category-goc-chia-se .af-magazine-heading h1{ font-size:31px; }
    body.category-goc-chia-se .af-magazine-layout{ grid-template-columns:minmax(0,1fr)!important; gap:22px; }
    body.category-goc-chia-se .af-magazine-featured{ grid-template-columns:minmax(0,1fr); }
    body.category-goc-chia-se .af-magazine-featured-image,
body.category-goc-chia-se .af-magazine-featured-image img{ min-height:210px; max-height:260px; }
    body.category-goc-chia-se .af-magazine-featured-copy{ padding:18px; }
    body.category-goc-chia-se .af-magazine-featured-copy h2{ font-size:24px; }
    body.category-goc-chia-se .af-magazine-category-list{ grid-template-columns:minmax(0,1fr); }
    body.category-goc-chia-se .af-magazine-post-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    body.category-goc-chia-se .af-magazine-post-copy{ padding:10px; }
    body.category-goc-chia-se .af-magazine-post-card h3{ font-size:15px; }
    body.category-goc-chia-se .af-magazine-post-card p{ font-size:11px; }
    body.category-goc-chia-se .af-magazine-product-panel{ position:relative; top:auto; }
    body.category-goc-chia-se .af-magazine-product-window{ height:390px; }
    body.category-goc-chia-se .af-magazine-occasions{ margin-top:25px; padding:20px 13px; }
    body.category-goc-chia-se .af-magazine-occasion-grid{ gap:9px; }
    body.category-goc-chia-se .af-magazine-occasion-card{ min-height:155px; padding:10px; }
    body.category-goc-chia-se .af-magazine-occasion-copy strong{ font-size:16px; }
    body.category-goc-chia-se .af-magazine-occasion-copy>span{ font-size:9px; }
}
@media (prefers-reduced-motion: reduce) {
    body.category-goc-chia-se .af-magazine-product-track{ animation:none; }
    body.category-goc-chia-se .af-magazine-featured-image img,
body.category-goc-chia-se .af-magazine-post-image img{ transition:none; }
}


/* =========================================================
   ALICE FLOWERS — PRODUCT SIDEBAR TICKER HARD FIX
   Dedicated animation name + non-shrinking duplicated groups.
   Scoped only to the Cam Nang category page.
   ========================================================= */
body.category-goc-chia-se .af-magazine-product-window{
    display: block !important;
    height: 560px !important;
    max-height: 560px !important;
    overflow: hidden !important;
    position: relative !important;
}
body.category-goc-chia-se .af-magazine-product-track{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: max-content !important;
    min-height: 0 !important;
    transform: translate3d(0,0,0);
    animation: afCamNangTicker2026 28s linear infinite !important;
    animation-delay: 0s !important;
    animation-fill-mode: both !important;
    will-change: transform !important;
}
body.category-goc-chia-se .af-magazine-product-group{
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: max-content !important;
}
body.category-goc-chia-se .af-magazine-product-card{
    flex: 0 0 auto !important;
}
body.category-goc-chia-se .af-magazine-product-window:hover .af-magazine-product-track,
body.category-goc-chia-se .af-magazine-product-window:focus-within .af-magazine-product-track{
    animation-play-state: paused !important;
}
@keyframes afCamNangTicker2026 {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -50%, 0); }
}
@media (max-width: 900px) {
    body.category-goc-chia-se .af-magazine-product-window{
        height: 520px !important;
        max-height: 520px !important;
    }
}
@media (max-width: 680px) {
    body.category-goc-chia-se .af-magazine-product-window{
        height: 390px !important;
        max-height: 390px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.category-goc-chia-se .af-magazine-product-track{
        animation: afCamNangTicker2026 28s linear infinite !important;
    }
}


/* =========================================================
   ALICE FLOWERS — LATEST ARTICLES: COMPACT EDITORIAL LIST
   Inspired by the supplied newspaper-style reference.
   Scoped only to the Cam Nang category page.
   ========================================================= */
body.category-goc-chia-se .af-magazine-latest{
    margin-top: 22px !important;
}
body.category-goc-chia-se .af-magazine-latest > .af-magazine-section-title{
    margin: 0 0 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--af-border, #e8ded0) !important;
}
body.category-goc-chia-se .af-magazine-post-list{
    display: block !important;
    width: 100% !important;
    padding: 5px 15px !important;
    border: 1px solid #e2ded8 !important;
    background: #fff !important;
    box-sizing: border-box !important;
}
body.category-goc-chia-se .af-magazine-post-row{
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 0 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e1dc !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.category-goc-chia-se .af-magazine-post-row:last-child{
    border-bottom: 0 !important;
}
body.category-goc-chia-se .af-magazine-post-row-image{
    display: block !important;
    width: 145px !important;
    height: 88px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #f1ece5 !important;
}
body.category-goc-chia-se .af-magazine-post-row-image img{
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}
body.category-goc-chia-se .af-magazine-post-row-copy{
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.category-goc-chia-se .af-magazine-post-row-copy h3{
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #252b27 !important;
    font: 600 17px/1.35 Georgia, "Times New Roman", serif !important;
}
body.category-goc-chia-se .af-magazine-post-row-copy h3 a{
    color: inherit !important;
    text-decoration: none !important;
}
body.category-goc-chia-se .af-magazine-post-row-copy h3 a:hover{
    color: var(--af-gold, #C6A15B) !important;
}
body.category-goc-chia-se .af-magazine-post-row-copy p{
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #454943 !important;
    font: 400 13px/1.65 Arial, Helvetica, sans-serif !important;
}
body.category-goc-chia-se .af-magazine-post-comments{
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    color: #2876b9 !important;
    font: 400 11px/1.3 Arial, Helvetica, sans-serif !important;
    text-decoration: none !important;
}
body.category-goc-chia-se .af-magazine-post-comments span:first-child{
    color: #b8bdc0 !important;
    font-size: 12px !important;
}
body.category-goc-chia-se .af-magazine-post-comments:hover{
    color: var(--af-moss, #344C3B) !important;
}
@media (max-width: 680px) {
    body.category-goc-chia-se .af-magazine-post-list{
        padding: 4px 10px !important;
    }
    body.category-goc-chia-se .af-magazine-post-row{
        grid-template-columns: 112px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 10px 0 !important;
    }
    body.category-goc-chia-se .af-magazine-post-row-image{
        width: 112px !important;
        height: 78px !important;
    }
    body.category-goc-chia-se .af-magazine-post-row-copy h3{
        font-size: 14px !important;
    }
    body.category-goc-chia-se .af-magazine-post-row-copy p{
        font-size: 11px !important;
        line-height: 1.5 !important;
    }
}

/* ALICE FLOWERS — FIX TRIỆT ĐỂ FONT DANH SÁCH BÀI VIẾT
   Dán ở CUỐI style.css đang được theme nạp hoặc Appearance > Customize > Additional CSS.
   Selector mở rộng để thắng các quy tắc font cũ của theme.
*/
html body.category-goc-chia-se .af-magazine-latest h3,
html body.category-goc-chia-se .af-magazine-latest h3 a,
html body.category-goc-chia-se .af-magazine-latest article h3,
html body.category-goc-chia-se .af-magazine-latest article h3 a,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-card h3,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-card h3 a,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-copy h3,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-copy h3 a{
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-kerning: none !important;
    font-variant-ligatures: none !important;
    font-feature-settings: normal !important;
    text-transform: none !important;
    color: #344C3B !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

html body.category-goc-chia-se .af-magazine-latest p,
html body.category-goc-chia-se .af-magazine-latest time,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-readmore{
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-kerning: none !important;
    font-variant-ligatures: none !important;
}

html body.category-goc-chia-se .af-magazine-latest p{
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #5F665F !important;
}

/* Đảm bảo các thành phần trong danh sách không bị font trang trí kế thừa */
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-card,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-card *{
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
}

/* =========================================================
   ALICE FLOWERS — SINGLE ARTICLE: LATEST POSTS LIST
   Replaces the old four-column “Những câu chuyện tiếp nối” cards.
   Only affects single article pages.
   ========================================================= */
html body.single-post .af-single-latest-posts {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    margin: 12px 0 24px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

html body.single-post .af-single-latest-heading {
    display: block !important;
    margin: 0 0 13px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #E8DED0 !important;
}

html body.single-post .af-single-latest-heading .af-magazine-eyebrow {
    display: block !important;
    margin: 0 0 3px !important;
    color: #C6A15B !important;
    font: 700 10px/1.5 Arial, sans-serif !important;
    letter-spacing: .18em !important;
}

html body.single-post .af-single-latest-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #344C3B !important;
    font: 500 28px/1.25 Georgia, "Times New Roman", serif !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

html body.single-post .af-single-latest-list {
    display: block !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 3px !important;
    background: #FFFFFF !important;
}

html body.single-post article.af-single-latest-row {
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #E8DED0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.single-post article.af-single-latest-row:last-child {
    border-bottom: 0 !important;
}

html body.single-post .af-single-latest-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 145px !important;
    height: 88px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #F7F2EA !important;
}

html body.single-post .af-single-latest-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

html body.single-post .af-single-latest-placeholder {
    color: #C6A15B !important;
    font: 42px/1 Georgia, serif !important;
}

html body.single-post .af-single-latest-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

html body.single-post .af-single-latest-copy h3,
html body.single-post .af-single-latest-copy h3 a {
    display: block !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #344C3B !important;
    font: 600 14px/1.45 Arial, "Segoe UI", sans-serif !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-align: left !important;
}

html body.single-post .af-single-latest-copy p {
    display: block !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #77796F !important;
    font: 12px/1.6 Arial, "Segoe UI", sans-serif !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

html body.single-post .af-single-latest-comments {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #2871B8 !important;
    font: 11px/1.4 Arial, sans-serif !important;
    text-decoration: none !important;
}

html body.single-post .af-single-latest-comment-icon {
    color: #B8B8B8 !important;
    font-size: 10px !important;
}

@media (max-width: 600px) {
    html body.single-post .af-single-latest-list {
        padding: 0 10px !important;
    }
    html body.single-post article.af-single-latest-row {
        grid-template-columns: 105px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 11px 0 !important;
    }
    html body.single-post .af-single-latest-image {
        width: 105px !important;
        height: 78px !important;
    }
    html body.single-post .af-single-latest-copy h3,
    html body.single-post .af-single-latest-copy h3 a {
        font-size: 12px !important;
    }
    html body.single-post .af-single-latest-copy p {
        font-size: 11px !important;
    }
}

/* CATEGORY-SCOPED STYLES: share posts vs flower stories */

/* =========================================================
   ALICE FLOWERS — SINGLE ARTICLE: LATEST POSTS LIST
   Replaces the old four-column “Những câu chuyện tiếp nối” cards.
   Only affects single article pages.
   ========================================================= */
html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-posts {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    margin: 12px 0 24px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-heading {
    display: block !important;
    margin: 0 0 13px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #E8DED0 !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-heading .af-magazine-eyebrow {
    display: block !important;
    margin: 0 0 3px !important;
    color: #C6A15B !important;
    font: 700 10px/1.5 Arial, sans-serif !important;
    letter-spacing: .18em !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #344C3B !important;
    font: 500 28px/1.25 Georgia, "Times New Roman", serif !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-list {
    display: block !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 3px !important;
    background: #FFFFFF !important;
}

html body.single-post .af-article-detail-page.af-is-share-post article.af-single-latest-row {
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #E8DED0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.single-post .af-article-detail-page.af-is-share-post article.af-single-latest-row:last-child {
    border-bottom: 0 !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 145px !important;
    height: 88px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #F7F2EA !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-placeholder {
    color: #C6A15B !important;
    font: 42px/1 Georgia, serif !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-copy h3,
html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-copy h3 a {
    display: block !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #344C3B !important;
    font: 600 14px/1.45 Arial, "Segoe UI", sans-serif !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-align: left !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-copy p {
    display: block !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #77796F !important;
    font: 12px/1.6 Arial, "Segoe UI", sans-serif !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-comments {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #2871B8 !important;
    font: 11px/1.4 Arial, sans-serif !important;
    text-decoration: none !important;
}

html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-comment-icon {
    color: #B8B8B8 !important;
    font-size: 10px !important;
}

@media (max-width: 600px) {
    html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-list {
        padding: 0 10px !important;
    }
    html body.single-post .af-article-detail-page.af-is-share-post article.af-single-latest-row {
        grid-template-columns: 105px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 11px 0 !important;
    }
    html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-image {
        width: 105px !important;
        height: 78px !important;
    }
    html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-copy h3,
    html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-copy h3 a {
        font-size: 12px !important;
    }
    html body.single-post .af-article-detail-page.af-is-share-post .af-single-latest-copy p {
        font-size: 11px !important;
    }
}


/* CÂU CHUYỆN VỀ HOA: keep the four-card continuation layout */

/* =========================================================
   ALICE FLOWERS — SINGLE ARTICLE: FOLLOWING STORIES SECTION
   Add to the END of style.css.
   Section is placed after article/sidebar and before occasions.
   ========================================================= */

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-stories {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    margin: 12px 0 24px !important;
    padding: 24px 18px 20px !important;
    box-sizing: border-box !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 8px !important;
    background: #FFFAF3 !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-heading {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 0 18px !important;
    padding: 0 0 13px !important;
    border-bottom: 1px solid #E8DED0 !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-heading-copy {
    min-width: 0;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-heading h2 {
    margin: 5px 0 5px !important;
    color: #344C3B !important;
    font: 500 clamp(23px, 2.5vw, 31px)/1.25 Georgia, serif !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-heading p {
    margin: 0 !important;
    color: #77796F !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-more {
    flex: 0 0 auto;
    color: #344C3B !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

html body.single-post .af-article-detail-page.af-is-story-post article.af-single-following-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #E8DED0 !important;
    border-radius: 7px !important;
    background: #FFFFFF !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-copy {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-copy time {
    color: #969287 !important;
    font-size: 9px !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-copy h3 {
    margin: 6px 0 7px !important;
    color: #344C3B !important;
    font: 500 16px/1.35 Georgia, serif !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-copy h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-copy p {
    margin: 0 0 12px !important;
    color: #77796F !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-link {
    margin-top: auto !important;
    color: #344C3B !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-placeholder {
    color: #C6A15B;
    font: 54px Georgia, serif;
}

@media (max-width: 900px) {
    html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-stories {
        padding: 18px 12px !important;
    }

    html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-heading {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    html body.single-post .af-article-detail-page.af-is-story-post .af-single-following-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/*
 * ALICE FLOWERS LUXURY — FIX FONT CHO 2 KHỐI BÀI VIẾT
 * Ngày sửa: 05/11/2026
 *
 * Khối 1: "Bài viết mới nhất" trên bài viết thuộc Góc chia sẻ.
 * Khối 2: "Những câu chuyện tiếp nối" trên bài viết thuộc Câu chuyện về hoa.
 *
 * Chỉ sửa kiểu chữ. Không thay đổi kích thước khối, ảnh, bố cục,
 * header, footer, trang chủ hoặc WooCommerce.
 *
 * Cách dùng: dán TOÀN BỘ file này vào CUỐI style.css đang hoạt động.
 */

/* =========================================================
   1. GÓC CHIA SẺ — BÀI VIẾT MỚI NHẤT
   ========================================================= */

/* Ép toàn bộ nội dung trong khối dùng font hệ thống hỗ trợ tiếng Việt. */
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts,
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts * {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-style: normal !important;
    font-kerning: normal !important;
    font-variant-ligatures: none !important;
    font-feature-settings: normal !important;
    font-synthesis: none !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

/* Tiêu đề khối */
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-heading h2 {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-style: normal !important;
    text-transform: none !important;
}

/* Tiêu đề từng bài viết */
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-copy h3,
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-copy h3 a {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-style: normal !important;
}

/* Mô tả, ngày tháng, số bình luận và liên kết */
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-copy p,
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-comments,
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-comment-icon {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-style: normal !important;
}

/* =========================================================
   2. CÂU CHUYỆN VỀ HOA — NHỮNG CÂU CHUYỆN TIẾP NỐI
   ========================================================= */

/* Reset font cho riêng khối câu chuyện tiếp nối. */
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories * {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-style: normal !important;
    font-kerning: normal !important;
    font-variant-ligatures: none !important;
    font-feature-settings: normal !important;
    font-synthesis: none !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

/* Tiêu đề "Những câu chuyện tiếp nối" */
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-heading h2 {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-style: normal !important;
    text-transform: none !important;
}

/* Tiêu đề từng thẻ câu chuyện */
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-copy h3,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-copy h3 a {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-style: normal !important;
}

/* Mô tả, ngày tháng, nút đọc và đường dẫn */
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-heading p,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-copy p,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-copy time,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-more,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-link {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-style: normal !important;
}

/* Giữ kích thước chữ dễ đọc trên điện thoại. */
@media (max-width: 560px) {
    html body.single-post
    .af-article-detail-page.af-is-share-post
    .af-single-latest-heading h2,
    html body.single-post
    .af-article-detail-page.af-is-story-post
    .af-single-following-heading h2 {
        font-size: 22px !important;
    }

    html body.single-post
    .af-article-detail-page.af-is-share-post
    .af-single-latest-copy h3,
    html body.single-post
    .af-article-detail-page.af-is-share-post
    .af-single-latest-copy h3 a {
        font-size: 12px !important;
    }

    html body.single-post
    .af-article-detail-page.af-is-story-post
    .af-single-following-copy h3,
    html body.single-post
    .af-article-detail-page.af-is-story-post
    .af-single-following-copy h3 a {
        font-size: 13px !important;
    }
}


/* =========================================================
   ALICE FLOWERS LUXURY — BACK TO TOP
   Viền 5px, cuộn mượt, hiệu ứng mờ dần khi hiện/ẩn.
   ========================================================= */
.afl-back-to-top {
    position: fixed !important;
    right: 26px !important;
    bottom: 26px !important;
    z-index: 999999 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    border: 5px solid #C6A15B !important;
    border-radius: 50% !important;
    background: #344C3B !important;
    color: #C6A15B !important;
    box-shadow: 0 5px 18px rgba(32, 48, 36, .22) !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(12px) !important;
    transition: opacity 1.4s ease-in-out, transform 1.4s ease-in-out,
                visibility 0s linear 1.4s,
                background-color .2s ease, color .2s ease,
                box-shadow .2s ease !important;
    -webkit-tap-highlight-color: transparent;
}

.afl-back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition-delay: 0s, 0s, 0s, 0s, 0s, 0s !important;
}

.afl-back-to-top svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none !important;
}

.afl-back-to-top:hover,
.afl-back-to-top:focus-visible {
    background: #C6A15B !important;
    color: #344C3B !important;
    box-shadow: 0 7px 22px rgba(32, 48, 36, .28) !important;
    outline: none !important;
}

.afl-back-to-top:focus-visible {
    outline: 2px solid #344C3B !important;
    outline-offset: 4px !important;
}

@media (max-width: 700px) {
    .afl-back-to-top {
        right: 16px !important;
        bottom: 18px !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
    }
    .afl-back-to-top svg { width: 20px !important; height: 20px !important; }
}

/* =========================================================
   ALICE FLOWERS — FOOTER SOCIAL ICONS
   5 icon 3D đồng kích thước, thứ tự: Zalo, Facebook,
   WhatsApp, YouTube, TikTok.
   ========================================================= */
.af-footer .af-footer-social {
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid rgba(198,161,91,.42);
}

.af-footer .af-footer-social-title {
    margin: 0 0 14px !important;
    color: #FFF0C5 !important;
    font-family: var(--af-heading-font, Georgia, serif) !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.af-footer .af-footer-social-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 13px !important;
    width: 100%;
}

.af-footer .af-footer-social .af-social-link {
    display: inline-flex !important;
    flex: 0 0 46px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(236,205,137,.72) !important;
    border-radius: 12px !important;
    background: rgba(250,244,236,.10) !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.20) !important;
    line-height: 0 !important;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.af-footer .af-footer-social .af-social-link img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
}

.af-footer .af-footer-social .af-social-link:hover,
.af-footer .af-footer-social .af-social-link:focus-visible {
    transform: translateY(-4px) scale(1.04) !important;
    border-color: #F2D58E !important;
    box-shadow: 0 7px 16px rgba(0,0,0,.30), 0 0 10px rgba(198,161,91,.28) !important;
    outline: none !important;
}

.af-footer .af-footer-social .af-social-link:focus-visible {
    outline: 2px solid #F2D58E !important;
    outline-offset: 3px !important;
}

@media (max-width: 767px) {
    .af-footer .af-footer-social-list {
        gap: 11px !important;
    }
    .af-footer .af-footer-social .af-social-link {
        flex-basis: 42px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
    }
}

@media (max-width: 360px) {
    .af-footer .af-footer-social-list {
        gap: 8px !important;
    }
    .af-footer .af-footer-social .af-social-link {
        flex-basis: 38px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }
}

/* =========================================================
   ALICE FLOWERS LUXURY — FLOATING CONTACT MENU
   Fixed at bottom-right; sits above content and does not
   overlap the Back-to-Top button.
   ========================================================= */
.afl-floating-contact {
    position: fixed !important;
    right: 26px !important;
    bottom: 96px !important;
    z-index: 99990 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    animation: aflContactMenuReveal .75s ease-out 0.25s forwards;
}

@keyframes aflContactMenuReveal {
    to {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.afl-floating-contact__link {
    display: flex !important;
    flex: 0 0 48px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: 0 3px 12px rgba(24, 39, 29, .22) !important;
    line-height: 0 !important;
    text-decoration: none !important;
    transition: transform .24s ease, box-shadow .24s ease !important;
    -webkit-tap-highlight-color: transparent;
}

.afl-floating-contact__link img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
}

.afl-floating-contact__link:hover,
.afl-floating-contact__link:focus-visible {
    transform: translateX(-5px) scale(1.045) !important;
    box-shadow: 0 6px 18px rgba(24, 39, 29, .30), 0 0 8px rgba(198, 161, 91, .24) !important;
    outline: none !important;
}

.afl-floating-contact__link:focus-visible {
    outline: 2px solid #C6A15B !important;
    outline-offset: 3px !important;
}

/* Existing Back-to-Top remains below the contact stack. */
.afl-back-to-top {
    z-index: 99999 !important;
}

@media (max-width: 700px) {
    .afl-floating-contact {
        right: 16px !important;
        bottom: 88px !important;
        width: 44px !important;
        gap: 8px !important;
    }
    .afl-floating-contact__link {
        flex-basis: 42px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }
    .afl-floating-contact__link img {
        border-radius: 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .afl-floating-contact {
        animation: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    .afl-floating-contact__link {
        transition: none !important;
    }
}

/* =========================================================
   ALICE FLOWERS — ĐỒNG BỘ HEADER TRANG CÂU CHUYỆN VỀ HOA
   Mục tiêu: khối tiêu đề giống bố cục trang GÓC CHIA SẺ.
   Chỉ tác động masthead của category-cau-chuyen-ve-hoa.
   Không thay đổi danh sách bài viết, sidebar, header, footer.
   ========================================================= */
html body.category-cau-chuyen-ve-hoa
main.af-page.af-flower-journal-page
.af-flower-journal-masthead {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 22px !important;
    padding: 0 0 22px !important;
    text-align: left !important;
    border: 0 !important;
    border-bottom: 1px solid #E8DED0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
html body.category-cau-chuyen-ve-hoa
main.af-page.af-flower-journal-page
.af-flower-journal-masthead .af-flower-journal-kicker {
    display: block !important;
    margin: 0 !important;
    color: #C6A15B !important;
    font: 700 10px/1.5 var(--af-body-font, Arial, sans-serif) !important;
    letter-spacing: .2em !important;
    text-align: left !important;
    text-transform: uppercase !important;
}
html body.category-cau-chuyen-ve-hoa
main.af-page.af-flower-journal-page
.af-flower-journal-masthead h1 {
    display: block !important;
    margin: 5px 0 7px !important;
    color: #344C3B !important;
    font: 500 clamp(30px, 3.5vw, 42px)/1.18 var(--af-heading-font, Georgia, "Times New Roman", serif) !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}
html body.category-cau-chuyen-ve-hoa
main.af-page.af-flower-journal-page
.af-flower-journal-masthead .af-flower-journal-rule {
    display: none !important;
}
html body.category-cau-chuyen-ve-hoa
main.af-page.af-flower-journal-page
.af-flower-journal-masthead p {
    max-width: 720px !important;
    margin: 0 !important;
    color: var(--af-muted, #77796F) !important;
    font: 14px/1.65 var(--af-body-font, Arial, sans-serif) !important;
    text-align: left !important;
}
@media (max-width: 700px) {
    html body.category-cau-chuyen-ve-hoa
    main.af-page.af-flower-journal-page
    .af-flower-journal-masthead {
        margin-bottom: 18px !important;
        padding-bottom: 17px !important;
    }
    html body.category-cau-chuyen-ve-hoa
    main.af-page.af-flower-journal-page
    .af-flower-journal-masthead h1 {
        font-size: clamp(27px, 7vw, 34px) !important;
    }
    html body.category-cau-chuyen-ve-hoa
    main.af-page.af-flower-journal-page
    .af-flower-journal-masthead p {
        font-size: 13px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — ICON SIZE STANDARD
   Tất cả icon: 36x36px; khung chứa: 45x45px.
   Áp dụng cho icon mạng xã hội footer, nút liên hệ nổi
   và nút quay lên đầu trang. Giữ nguyên vị trí/chức năng.
   ========================================================= */

/* Khung chứa icon mạng xã hội tại Footer */
.af-footer .af-footer-social .af-social-link {
    box-sizing: border-box !important;
    flex: 0 0 45px !important;
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    padding: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hình icon bên trong khung Footer: 36 x 36px */
.af-footer .af-footer-social .af-social-link img {
    display: block !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 7px !important;
}

/* Khung chứa các nút liên hệ nổi: 45 x 45px */
.afl-floating-contact {
    width: 45px !important;
}

.afl-floating-contact__link {
    box-sizing: border-box !important;
    flex: 0 0 45px !important;
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hình icon liên hệ nổi: 36 x 36px */
.afl-floating-contact__link img {
    display: block !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 7px !important;
}

/* Nút quay lên đầu trang cũng dùng khung 45 x 45px */
.afl-back-to-top {
    box-sizing: border-box !important;
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    padding: 4px !important;
}

/* Biểu tượng mũi tên bên trong: 36 x 36px */
.afl-back-to-top svg {
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
}

/* Giữ đúng kích thước 45/36px cả trên điện thoại */
@media (max-width: 767px) {
    .af-footer .af-footer-social .af-social-link {
        flex-basis: 45px !important;
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
    }

    .af-footer .af-footer-social .af-social-link img {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }

    .afl-floating-contact {
        width: 45px !important;
    }

    .afl-floating-contact__link {
        flex-basis: 45px !important;
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
    }

    .afl-floating-contact__link img {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }

    .afl-back-to-top {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
    }

    .afl-back-to-top svg {
        width: 36px !important;
        height: 36px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — REMOVE BORDERS FROM ICON CONTAINERS
   Chỉ bỏ đường viền của các khung chứa icon:
   Footer social, nút liên hệ nổi và nút quay lên đầu trang.
   Giữ nguyên kích thước 45x45px, icon 36x36px,
   vị trí, màu nền và chức năng.
   ========================================================= */

.af-footer .af-footer-social .af-social-link,
.af-footer .af-footer-social .af-social-link:hover,
.af-footer .af-footer-social .af-social-link:focus-visible,
.afl-floating-contact__link,
.afl-floating-contact__link:hover,
.afl-floating-contact__link:focus-visible,
.afl-back-to-top {
    border: 0 !important;
}

/* Không tạo viền phụ khi focus bằng bàn phím */
.af-footer .af-footer-social .af-social-link:focus-visible,
.afl-floating-contact__link:focus-visible,
.afl-back-to-top:focus-visible {
    outline: none !important;
}


/* =========================================================
   ALICE FLOWERS — TRANSPARENT ICON CONTAINERS
   Nền tất cả khung chứa icon trong suốt.
   Giữ nguyên kích thước 45x45px / icon 36x36px,
   hình ảnh icon, vị trí và liên kết.
   ========================================================= */

/* Icon mạng xã hội ở Footer */
.af-footer .af-footer-social .af-social-link,
.af-footer .af-footer-social .af-social-link:hover,
.af-footer .af-footer-social .af-social-link:focus,
.af-footer .af-footer-social .af-social-link:focus-visible {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Icon liên hệ nổi bên phải: Zalo, Messenger, WhatsApp, Gmail */
.afl-floating-contact,
.afl-floating-contact__link,
.afl-floating-contact__link:hover,
.afl-floating-contact__link:focus,
.afl-floating-contact__link:focus-visible {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Nút quay lên đầu trang: làm nền khung trong suốt */
.afl-back-to-top,
.afl-back-to-top:hover,
.afl-back-to-top:focus,
.afl-back-to-top:focus-visible {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Không tô nền khi nhấn trên thiết bị cảm ứng */
.af-footer .af-footer-social .af-social-link,
.afl-floating-contact__link,
.afl-back-to-top {
    -webkit-tap-highlight-color: transparent !important;
}


/* =========================================================
   ALICE FLOWERS — RESTORE BACK TO TOP BUTTON APPEARANCE
   Giữ nền xanh rêu, viền champagne dày 5px và bóng đổ
   cho nút Back to Top; các khung icon khác vẫn trong suốt.
   ========================================================= */

.afl-back-to-top,
.afl-back-to-top:focus,
.afl-back-to-top:focus-visible {
    box-sizing: border-box !important;
    border: 5px solid #C6A15B !important;
    background: #344C3B !important;
    background-color: #344C3B !important;
    color: #C6A15B !important;
    box-shadow: 0 5px 18px rgba(32, 48, 36, .22) !important;
}

/* Hiệu ứng hover nguyên bản: nền champagne, mũi tên xanh rêu */
.afl-back-to-top:hover {
    border: 5px solid #C6A15B !important;
    background: #C6A15B !important;
    background-color: #C6A15B !important;
    color: #344C3B !important;
    box-shadow: 0 7px 22px rgba(32, 48, 36, .28) !important;
}



/* =========================================================
   ALICE FLOWERS — FIX HÌNH ẢNH KHỐI "CÂU CHUYỆN ALICE"
   Chỉ tác động ảnh bên trái của khối Câu chuyện Alice trên trang chủ.
   Giữ nguyên bố cục 2 cột, nội dung, header và footer.
   ========================================================= */
body.home .af-section .af-container.af-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 32px !important;
}

body.home .af-section .af-container.af-story .af-story-art {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background-color: #FAF4EC !important;
    background-image:
        linear-gradient(0deg, rgba(250,244,236,.02), rgba(250,244,236,.02)),
        url('assets/story-flower.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    /* Ép ảnh phủ kín đúng khung, không để lộ mép/nền trống */
    background-size: 100% 100% !important;
    padding: 0 !important;
}

@media (max-width: 700px) {
    body.home .af-section .af-container.af-story {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    body.home .af-section .af-container.af-story .af-story-art {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        min-height: 0 !important;
    }
}



/* =========================================================
   ALICE FLOWERS — ĐỒNG BỘ HAI NÚT TRÊN TRANG CHI TIẾT SẢN PHẨM
   "Thêm vào giỏ hàng" và "Tiếp tục chọn hoa" cùng kiểu dáng:
   nền xanh rêu, chữ trắng, viền xanh rêu, cùng chiều cao,
   padding, font và hiệu ứng hover.
   ========================================================= */

html body.single-product .af-single-product-page
.af-single-summary form.cart
button.single_add_to_cart_button,
html body.single-product .af-single-product-page
.af-single-summary form.cart
a.afl-continue-shopping-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 17px !important;
    border: 1px solid #344C3B !important;
    border-radius: 3px !important;
    background: #344C3B !important;
    background-color: #344C3B !important;
    color: #FFFFFF !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease !important;
}

html body.single-product .af-single-product-page
.af-single-summary form.cart
button.single_add_to_cart_button:hover,
html body.single-product .af-single-product-page
.af-single-summary form.cart
a.afl-continue-shopping-button:hover {
    border-color: #263B2D !important;
    background: #263B2D !important;
    background-color: #263B2D !important;
    color: #FFFFFF !important;
}

/* Hai nút có cùng quy cách trên màn hình nhỏ */
@media (max-width: 600px) {
    html body.single-product .af-single-product-page
    .af-single-summary form.cart
    button.single_add_to_cart_button,
    html body.single-product .af-single-product-page
    .af-single-summary form.cart
    a.afl-continue-shopping-button {
        min-height: 40px !important;
        height: 40px !important;
        padding: 0 12px !important;
        font-size: 11px !important;
    }
}

/* FIX: Màu số điện thoại trên iPad và iPhone */
.af-topbar,
.af-topbar a,
.af-header-main,
.af-header-main a,
.af-phone,
.af-phone a,
a[href^="tel:"] {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Ngăn Safari tự đổi màu số điện thoại */
a[x-apple-data-detectors],
a[x-apple-data-detectors] *,
.apple-link,
.apple-link a {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

/* Giữ số điện thoại rõ ràng trên nền xanh rêu */
.af-topbar a[href^="tel:"] {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}



/* =========================================================
   ALICE FLOWERS — FOUR SERVICE CARDS COMPACT 100PX
   Phương án A: icon bên trái, nội dung bên phải.
   Chỉ thay đổi bốn thẻ dịch vụ trên trang chủ.
   Giữ nguyên ảnh JPG, màu sắc, viền và hiệu ứng hiện có.
   ========================================================= */

html body main > .af-services-section {
    padding: 26px 0 34px !important;
}

html body main > .af-services-section > .af-container.af-service-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

html body main > .af-services-section .af-service {
    position: relative !important;
    isolation: isolate !important;
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 11px !important;
    row-gap: 3px !important;
    align-content: end !important;
    align-items: center !important;
    justify-content: stretch !important;

    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    min-width: 0 !important;

    padding: 9px 12px 14px !important;
    margin: 0 !important;
    overflow: hidden !important;

    border: 1px solid rgba(198, 161, 91, .48) !important;
    border-radius: 8px !important;
    background-color: #fffaf3 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;

    text-align: left !important;
    box-shadow: 0 5px 18px rgba(52, 76, 59, .07) !important;
    transition: transform .22s ease, box-shadow .22s ease !important;
}

/* Giữ nguyên bốn ảnh nền JPG riêng biệt. */
html body main > .af-services-section .af-service-fresh {
    background-image: url("assets/alice-services/bg-hoa-tuoi-tuyen-chon.jpg") !important;
}
html body main > .af-services-section .af-service-design {
    background-image: url("assets/alice-services/bg-thiet-ke-tinh-te.jpg") !important;
}
html body main > .af-services-section .af-service-delivery {
    background-image: url("assets/alice-services/bg-giao-hoa-dung-hen.jpg") !important;
}
html body main > .af-services-section .af-service-care {
    background-image: url("assets/alice-services/bg-tu-van-tan-tam.jpg") !important;
}

/* Lớp phủ kem nhẹ, đồng đều để ảnh nền vẫn nhận diện được. */
html body main > .af-services-section .af-service::before {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
    display: block !important;
    /*background: linear-gradient(
        90deg,
        rgba(250, 244, 236, .72) 0%,
        rgba(250, 244, 236, .62) 55%,
        rgba(250, 244, 236, .48) 100%
    ) !important;*/
    pointer-events: none !important;
}

/* Icon tròn nằm ở cột trái, thu nhỏ theo tỷ lệ. */
html body main > .af-services-section .af-service .af-icon {
    position: relative !important;
    z-index: 1 !important;
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;

    display: flex !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;

    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;

    margin: 0 !important;
    padding: 5px !important;
    overflow: hidden !important;

    border: 1px solid rgba(198, 161, 91, .62) !important;
    border-radius: 50% !important;
    background: rgba(255, 250, 243, .68) !important;
    box-shadow: 0 2px 8px rgba(52, 76, 59, .08) !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

html body main > .af-services-section .af-service .af-icon img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    opacity: .78 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Tiêu đề và mô tả nằm bên phải icon. */
html body main > .af-services-section .af-service > strong {
    position: relative !important;
    z-index: 1 !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end !important;

    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #344C3B !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
}

html body main > .af-services-section .af-service > span {
    position: relative !important;
    z-index: 1 !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;

    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #666d62 !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
}

@media (hover: hover) and (pointer: fine) {
    html body main > .af-services-section .af-service:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(52, 76, 59, .12) !important;
        border-color: #C6A15B !important;
    }
}

/* Tablet: giữ 2 cột, mỗi thẻ vẫn cao 100px. */
@media (max-width: 1000px) {
    html body main > .af-services-section > .af-container.af-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Điện thoại: icon và khoảng cách giảm thêm, không tăng chiều cao thẻ. */
@media (max-width: 560px) {
    html body main > .af-services-section {
        padding: 20px 0 26px !important;
    }

    html body main > .af-services-section > .af-container.af-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    html body main > .af-services-section .af-service {
        grid-template-columns: 34px minmax(0, 1fr) !important;
        column-gap: 7px !important;
        row-gap: 2px !important;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        padding: 7px !important;
    }

    html body main > .af-services-section .af-service .af-icon {
        flex-basis: 34px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        padding: 4px !important;
    }

    html body main > .af-services-section .af-service > strong {
        font-size: 10px !important;
        line-height: 1.25 !important;
    }

    html body main > .af-services-section .af-service > span {
        font-size: 9px !important;
        line-height: 1.25 !important;
    }
}

/* Màn hình rất hẹp: một cột để nội dung không bị ép quá nhỏ. */
@media (max-width: 360px) {
    html body main > .af-services-section > .af-container.af-service-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* =========================================================
   ALICE FLOWERS — HOMEPAGE HERO FADE SLIDESHOW
   Thay banner tĩnh bằng 5 ảnh JPG chuyển mờ dần.
   Chỉ tác động khu vực banner đầu trang chủ.
   ========================================================= */

body.home main > .af-hero {
    padding: 34px 0 20px !important;
}

body.home main > .af-hero > .af-container {
    width: calc(100% - 48px) !important;
    max-width: 1240px !important;
}

body.home .af-hero-slider {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 447px !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    isolation: isolate !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(198, 161, 91, .35) !important;
    border-radius: 7px !important;
    background: #FAF4EC !important;
}

body.home .af-hero-slides {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

body.home .af-hero-slide {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out !important;
}

body.home .af-hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}

body.home .af-hero-slide::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(
        90deg,
        rgba(250, 244, 236, .97) 0%,
        rgba(250, 244, 236, .88) 39%,
        rgba(250, 244, 236, .38) 66%,
        rgba(250, 244, 236, .04) 100%
    ) !important;
    pointer-events: none !important;
}

body.home .af-hero-slide .af-hero-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 0 !important;
}

body.home .af-hero-slide .af-hero-copy {
    position: absolute !important;
    top: 50% !important;
    left: clamp(28px, 6vw, 72px) !important;
    transform: translateY(-50%) !important;
    width: min(48%, 550px) !important;
    max-width: 550px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
}

body.home .af-hero-slide .af-eyebrow {
    display: block !important;
    margin: 0 0 14px !important;
    color: #C6A15B !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

body.home .af-hero-slide h1 {
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: #344C3B !important;
    font-family: var(--af-heading-font, Georgia, serif) !important;
    font-size: clamp(32px, 4.2vw, 54px) !important;
    font-weight: 500 !important;
    line-height: 1.13 !important;
    letter-spacing: normal !important;
}

body.home .af-hero-slide p {
    max-width: 490px !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #59645C !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

body.home .af-hero-slide .af-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 22px !important;
    border: 1px solid #C6A15B !important;
    border-radius: 4px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.home .af-hero-slide .af-btn:hover {
    background: #C6A15B !important;
    color: #FFFFFF !important;
}

/* Mũi tên chuyển ảnh */
body.home .af-hero-arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 0 3px !important;
    transform: translateY(-50%) !important;
    border: 1px solid rgba(198, 161, 91, .65) !important;
    border-radius: 50% !important;
    background: rgba(250, 244, 236, .88) !important;
    color: #344C3B !important;
    font-family: Arial, sans-serif !important;
    font-size: 27px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    opacity: 0 !important;
    transition: opacity .25s ease, background .25s ease !important;
}

body.home .af-hero-prev { left: 14px !important; }
body.home .af-hero-next { right: 14px !important; }

body.home .af-hero-slider:hover .af-hero-arrow,
body.home .af-hero-arrow:focus-visible {
    opacity: 1 !important;
}

body.home .af-hero-arrow:hover {
    background: #C6A15B !important;
    color: #FFFFFF !important;
}

/* Chấm chỉ báo 5 banner */
body.home .af-hero-dots {
    position: absolute !important;
    left: 50% !important;
    bottom: 17px !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
}

body.home .af-hero-dot {
    display: block !important;
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    min-height: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: rgba(52, 76, 59, .38) !important;
    cursor: pointer !important;
    transition: width .25s ease, background .25s ease !important;
}

body.home .af-hero-dot.is-active {
    width: 25px !important;
    background: #C6A15B !important;
}

@media (max-width: 768px) {
    body.home .af-hero-slider {
        height: 380px !important;
    }

    body.home .af-hero-slide::after {
        background: linear-gradient(
            90deg,
            rgba(250, 244, 236, .96) 0%,
            rgba(250, 244, 236, .82) 56%,
            rgba(250, 244, 236, .25) 100%
        ) !important;
    }

    body.home .af-hero-slide .af-hero-copy {
        left: 5% !important;
        width: 64% !important;
    }

    body.home .af-hero-slide h1 {
        font-size: clamp(27px, 5vw, 38px) !important;
    }

    body.home .af-hero-slide p {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    body.home .af-hero-arrow {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        opacity: 1 !important;
    }
}

@media (max-width: 560px) {
    body.home main > .af-hero {
        padding: 16px 0 12px !important;
    }

    body.home main > .af-hero > .af-container {
        width: calc(100% - 28px) !important;
    }

    body.home .af-hero-slider {
        height: 330px !important;
        border-radius: 6px !important;
    }

    body.home .af-hero-slide::after {
        background: linear-gradient(
            90deg,
            rgba(250, 244, 236, .97) 0%,
            rgba(250, 244, 236, .88) 68%,
            rgba(250, 244, 236, .48) 100%
        ) !important;
    }

    body.home .af-hero-slide .af-hero-copy {
        left: 22px !important;
        width: calc(100% - 66px) !important;
    }

    body.home .af-hero-slide .af-eyebrow {
        margin-bottom: 9px !important;
        font-size: 9px !important;
        letter-spacing: .12em !important;
    }

    body.home .af-hero-slide h1 {
        margin-bottom: 10px !important;
        font-size: 29px !important;
    }

    body.home .af-hero-slide p {
        margin-bottom: 13px !important;
        font-size: 12px !important;
    }

    body.home .af-hero-slide .af-btn {
        min-height: 38px !important;
        padding: 8px 13px !important;
        font-size: 12px !important;
    }

    body.home .af-hero-prev { left: 7px !important; }
    body.home .af-hero-next { right: 7px !important; }
    body.home .af-hero-dots { bottom: 11px !important; }
}

@media (prefers-reduced-motion: reduce) {
    body.home .af-hero-slide {
        transition: none !important;
    }
}


/* =========================================================
   ALICE FLOWERS — LOGO BADGE ON HOMEPAGE HERO
   Logo badge stays visible over every fading banner slide.
   Transparent PNG: assets/banner/alice-flowers-logo.png
   ========================================================= */
body.home .af-hero-logo-frame {
    position: absolute !important;
    top: 22px !important;
    right: 24px !important;
    z-index: 7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: clamp(142px, 16vw, 190px) !important;
    height: clamp(78px, 9vw, 104px) !important;
    padding: 9px 13px !important;
    overflow: hidden !important;
    border: 1px solid rgba(198, 161, 91, .58) !important;
    border-radius: 12px !important;
    background: rgba(255, 250, 243, .48) !important;
    box-shadow: 0 5px 22px rgba(52, 76, 59, .10) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
    pointer-events: none !important;
}

body.home .af-hero-logo-frame .af-hero-logo {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 768px) {
    body.home .af-hero-logo-frame {
        top: 14px !important;
        right: 14px !important;
        width: 128px !important;
        height: 72px !important;
        padding: 7px 9px !important;
    }
}

@media (max-width: 560px) {
    body.home .af-hero-logo-frame {
        top: 10px !important;
        right: 10px !important;
        width: 104px !important;
        height: 59px !important;
        padding: 5px 7px !important;
        border-radius: 8px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — LOGO FRAME WIDTH ADJUSTMENT
   Tăng chiều rộng khung 20px mỗi bên so với bản thu hẹp trước (tổng chiều rộng +40px).
   Giữ nguyên chiều cao và kích thước hiển thị của logo.
   Áp dụng trên desktop; tablet/mobile giữ nguyên kích thước cũ.
   ========================================================= */
body.home .af-hero-logo-frame {
    width: calc(clamp(142px, 16vw, 190px) - 20px) !important;
    overflow: visible !important;
}

/* Giữ logo đúng kích thước hiển thị trước khi thu hẹp khung.
   Logo được căn giữa và không bị co theo chiều rộng khung mới. */
body.home .af-hero-logo-frame .af-hero-logo {
    flex: 0 0 auto !important;
    width: calc(clamp(142px, 16vw, 190px) + 14px) !important;
    height: calc(clamp(78px, 9vw, 104px) - 18px) !important;
    max-width: none !important;
    max-height: none !important;
}

/* Trên tablet và điện thoại, giữ nguyên khung và logo như trước. */
@media (max-width: 768px) {
    body.home .af-hero-logo-frame {
        width: 168px !important;
        overflow: hidden !important;
    }
    body.home .af-hero-logo-frame .af-hero-logo {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

@media (max-width: 560px) {
    body.home .af-hero-logo-frame {
        width: 144px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — CTA CONSULTATION BUTTON CONTRAST FIX
   Chỉ sửa nút gọi tư vấn; giữ nguyên bố cục và các thành phần khác.
   ========================================================= */
body.home .af-cta a.af-btn,
body.home .af-cta .af-btn {
    background-color: #344C3B !important;
    color: #FFFFFF !important;
    border: 1px solid #C6A15B !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

body.home .af-cta a.af-btn:hover,
body.home .af-cta .af-btn:hover {
    background-color: #C6A15B !important;
    color: #344C3B !important;
    border-color: #C6A15B !important;
}


/* =========================================================
   ALICE FLOWERS — FOOTER MAP / ADDRESS WIDTH BALANCE
   Nới cột thông tin để địa chỉ nằm trên một dòng ở desktop;
   thu hẹp bản đồ tương ứng. Giữ nguyên cấu trúc footer.
   ========================================================= */
@media (min-width: 1001px) {
    .af-footer .af-footer-contact-panel {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
        column-gap: 24px !important;
    }

    .af-footer .af-footer-contact-info {
        min-width: 0 !important;
        padding-right: 18px !important;
    }

    .af-footer .af-contact-address p {
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .af-footer .af-footer-map-wrap {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* Trên màn hình nhỏ, cho phép địa chỉ tự xuống dòng để tránh tràn. */
@media (max-width: 1000px) {
    .af-footer .af-contact-address p {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}


/* =========================================================
   ALICE FLOWERS — MATCH FOOTER LOWER DIVIDER TO UPPER GOLD LINE
   Đường gạch trên khối mạng xã hội dùng cùng gradient và ánh sáng
   với đường gạch phía trên thông tin địa chỉ.
   ========================================================= */
.af-footer .af-footer-social {
    position: relative !important;
    border-top: 0 !important;
}

.af-footer .af-footer-social::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(
        90deg,
        rgba(198,161,91,0) 0%,
        rgba(198,161,91,.82) 16%,
        #f2d58e 50%,
        rgba(198,161,91,.82) 84%,
        rgba(198,161,91,0) 100%
    ) !important;
    box-shadow:
        0 0 5px rgba(238,193,95,.55),
        0 0 10px rgba(198,161,91,.28) !important;
    pointer-events: none !important;
}


/* =========================================================
   ALICE FLOWERS — FROSTED CONTENT PANEL FOR SERVICE CARDS
   Tạo một khung kem trong mờ phía sau icon và chữ ở góc dưới trái.
   Giữ nguyên ảnh nền, kích thước thẻ, icon và nội dung.
   ========================================================= */

html body main > .af-services-section .af-service::after {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    left: 9px !important;
    right: 9px !important;
    bottom: 9px !important;
    height: 70px !important;
    display: block !important;
    border: 1px solid rgba(198, 161, 91, .38) !important;
    border-radius: 10px !important;
    background: rgba(250, 244, 236, .88) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    backdrop-filter: blur(6px) !important;
    box-shadow: 0 3px 12px rgba(52, 76, 59, .10) !important;
    pointer-events: none !important;
}

/* Đặt icon và chữ nổi rõ phía trên lớp nền mờ. */
html body main > .af-services-section .af-service .af-icon,
html body main > .af-services-section .af-service > strong,
html body main > .af-services-section .af-service > span {
    z-index: 1 !important;
}

@media (max-width: 560px) {
    html body main > .af-services-section .af-service::after {
        left: 6px !important;
        right: 6px !important;
        bottom: 6px !important;
        height: 62px !important;
        border-radius: 8px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — SERVICE CARDS BALANCED TO REFERENCE
   Cân đối lại tỷ lệ thẻ, khung kính mờ, icon và chữ theo ảnh mẫu.
   Không thay ảnh nền, màu thương hiệu hoặc cấu trúc trang chủ.
   ========================================================= */

/* Desktop: tăng nhẹ chiều cao thẻ và khung nội dung có tỷ lệ cân đối. */
@media (min-width: 1001px) {
    html body main > .af-services-section .af-service {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        column-gap: 12px !important;
        padding: 12px 14px 15px !important;
        align-content: end !important;
    }

    html body main > .af-services-section .af-service::after {
        left: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        height: 76px !important;
        border-radius: 10px !important;
        background: rgba(250, 244, 236, .90) !important;
        border-color: rgba(198, 161, 91, .42) !important;
    }

    html body main > .af-services-section .af-service .af-icon {
        flex-basis: 48px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        padding: 5px !important;
        background: rgba(255, 250, 243, .82) !important;
    }

    html body main > .af-services-section .af-service > strong {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 2px !important;
    }

    html body main > .af-services-section .af-service > span {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }
}

/* Tablet: giữ hai cột, thẻ không quá cao so với chiều rộng. */
@media (min-width: 561px) and (max-width: 1000px) {
    html body main > .af-services-section .af-service {
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
    }

    html body main > .af-services-section .af-service::after {
        height: 72px !important;
    }
}

/* Điện thoại: giữ kích thước gọn, khung kính vừa đủ chứa icon và chữ. */
@media (max-width: 560px) {
    html body main > .af-services-section .af-service {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        align-content: end !important;
        padding: 7px !important;
    }

    html body main > .af-services-section .af-service::after {
        left: 6px !important;
        right: 6px !important;
        bottom: 6px !important;
        height: 62px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — SERVICE FROSTED PANEL HEIGHT / TRANSPARENCY
   Thu khung kính mờ theo chiều cao vùng đánh dấu đỏ;
   tăng độ trong để nhìn rõ ảnh nền phía sau.
   ========================================================= */
@media (min-width: 1001px) {
    html body main > .af-services-section .af-service::after {
        height: 56px !important;
        background: rgba(250, 244, 236, .56) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        backdrop-filter: blur(3px) !important;
        border-color: rgba(198, 161, 91, .34) !important;
        box-shadow: 0 2px 8px rgba(52, 76, 59, .07) !important;
    }
}

/* Tablet và điện thoại cũng dùng khung mờ hơn, vẫn đủ chỗ cho icon/chữ. */
@media (max-width: 1000px) {
    html body main > .af-services-section .af-service::after {
        background: rgba(250, 244, 236, .56) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        backdrop-filter: blur(3px) !important;
    }
}

@media (max-width: 560px) {
    html body main > .af-services-section .af-service::after {
        height: 56px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — SERVICE BACKGROUND IMAGE PROPORTIONS
   Phương án A: phủ kín thẻ, giữ tỷ lệ ảnh, không kéo méo.
   Chỉ áp dụng cho ảnh nền của bốn thẻ dịch vụ.
   ========================================================= */
html body main > .af-services-section .af-service {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-origin: border-box !important;
    background-clip: border-box !important;
}

/* Đảm bảo từng ảnh nền riêng đều dùng cùng cách căn chỉnh. */
html body main > .af-services-section .af-service-fresh,
html body main > .af-services-section .af-service-design,
html body main > .af-services-section .af-service-delivery,
html body main > .af-services-section .af-service-care {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* =========================================================
   ALICE FLOWERS — FOOTER GOOGLE MAP HEIGHT
   Thu chiều cao bản đồ xuống đúng khoảng đường đỏ trong ảnh.
   Giữ nguyên chiều rộng, vị trí, viền và liên kết chỉ đường.
   ========================================================= */
@media (min-width: 768px) {
    .af-footer-map-wrap .af-footer-map {
        flex: 0 0 240px !important;
        width: 100% !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }

    .af-footer-map-wrap .af-footer-map iframe {
        display: block !important;
        width: 100% !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }
}

/* Điện thoại giữ bản đồ cao hơn để thao tác và xem địa điểm thuận tiện. */
@media (max-width: 767px) {
    .af-footer-map-wrap .af-footer-map,
    .af-footer-map-wrap .af-footer-map iframe {
        height: 245px !important;
        min-height: 245px !important;
        max-height: 245px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — FORCE HERO BANNER FADE TRANSITION
   Chuyển cảnh mờ dần 1,5 giây giữa 5 banner.
   Quy tắc này ghi đè cả thiết lập reduced-motion của hệ điều hành
   để bảo đảm hiệu ứng fade theo yêu cầu thiết kế.
   ========================================================= */
body.home #afHeroSlider .af-hero-slide {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transition:
        opacity 1.5s ease-in-out !important,
        visibility 0s linear 1.5s !important;
}

body.home #afHeroSlider .af-hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2 !important;
    transition:
        opacity 1.5s ease-in-out !important,
        visibility 0s linear 0s !important;
}

/* Đảm bảo nội dung và ảnh đi cùng một lớp banner, không tự tắt hiệu ứng. */
body.home #afHeroSlider .af-hero-slide .af-hero-image,
body.home #afHeroSlider .af-hero-slide .af-hero-copy {
    transition: opacity 1.5s ease-in-out !important;
}


/* =========================================================
   ALICE FLOWERS — ROBUST CROSS-FADE (OPACITY ONLY)
   Giữ tất cả slide cùng hiển thị; chỉ fade bằng opacity.
   Không dùng visibility để tránh slide cũ biến mất tức thì.
   ========================================================= */
#afHeroSlider .af-hero-slides {
    position: absolute !important;
    inset: 0 !important;
    overflow: hidden !important;
}

#afHeroSlider .af-hero-slide {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    visibility: visible !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transition: opacity 1.5s ease-in-out !important;
    will-change: opacity;
}

#afHeroSlider .af-hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2 !important;
    transition: opacity 1.5s ease-in-out !important;
}

/* Không để quy tắc giảm chuyển động vô hiệu hóa fade theo thiết kế. */
@media (prefers-reduced-motion: reduce) {
    #afHeroSlider .af-hero-slide,
    #afHeroSlider .af-hero-slide.is-active {
        transition: opacity 1.5s ease-in-out !important;
    }
}


/* =========================================================
   ALICE FLOWERS — TRUE CROSS-FADE
   Slide cũ nằm trên slide mới trong lúc mờ đi;
   hai slide cùng chuyển opacity trong 1,5 giây.
   Cần dùng kèm functions.php có class is-leaving.
   ========================================================= */
#afHeroSlider .af-hero-slide {
    opacity: 0 !important;
    visibility: visible !important;
    z-index: 1 !important;
    transition: opacity 1.5s ease-in-out !important;
}

#afHeroSlider .af-hero-slide.is-active {
    opacity: 1 !important;
    z-index: 2 !important;
}

#afHeroSlider .af-hero-slide.is-leaving {
    opacity: 0 !important;
    visibility: visible !important;
    z-index: 3 !important;
    pointer-events: none !important;
    transition: opacity 1.5s ease-in-out !important;
}



/* =========================================================
   FIX PRIORITY — OUTGOING SLIDE MUST FADE OUT ABOVE INCOMING
   Overrides earlier body.home rules with matching specificity.
   ========================================================= */
body.home #afHeroSlider .af-hero-slide {
    visibility: visible !important;
    transition: opacity 1.5s ease-in-out !important;
}

body.home #afHeroSlider .af-hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    transition: opacity 1.5s ease-in-out !important;
}

body.home #afHeroSlider .af-hero-slide.is-leaving {
    opacity: 0 !important;
    visibility: visible !important;
    z-index: 3 !important;
    pointer-events: none !important;
    transition: opacity 1.5s ease-in-out !important;
}

body.home #afHeroSlider .af-hero-slide:not(.is-active):not(.is-leaving) {
    opacity: 0 !important;
    visibility: visible !important;
    z-index: 1 !important;
    pointer-events: none !important;
    transition: opacity 1.5s ease-in-out !important;
}


/* =========================================================
   ALICE FLOWERS — LOGIN PAGE WIDTH & VERTICAL SPACING FIX
   Chỉ áp dụng cho trang /dang-nhap/; không tác động trang khác.
   Đồng bộ khung nội dung với header/footer và bỏ khoảng trống thừa.
   ========================================================= */
body.page-dang-nhap main,
body.page-id-login main {
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.page-dang-nhap main > .af-container,
body.page-id-login main > .af-container,
body.page-dang-nhap main .af-page > .af-container,
body.page-id-login main .af-page > .af-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.page-dang-nhap main .af-page,
body.page-id-login main .af-page {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-dang-nhap main .af-page-card,
body.page-id-login main .af-page-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 22px clamp(18px, 3vw, 38px) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Bỏ margin mặc định của tiêu đề trang, tránh khoảng trống phía trên. */
body.page-dang-nhap main .entry-title,
body.page-id-login main .entry-title {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

/* Khung đăng nhập bên trong vẫn giữ kích thước gọn, nằm giữa trang. */
body.page-dang-nhap .afl-login-wrap,
body.page-id-login .afl-login-wrap,
body.page-dang-nhap .afl-account-form-wrap,
body.page-id-login .afl-account-form-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Không để footer tự tạo khoảng cách lớn sau nội dung đăng nhập. */
body.page-dang-nhap .af-footer,
body.page-id-login .af-footer {
    margin-top: 0 !important;
}

@media (max-width: 700px) {
    body.page-dang-nhap main .af-page-card,
    body.page-id-login main .af-page-card {
        padding: 16px 14px !important;
    }
}



/* =========================================================
   ALICE FLOWERS — EMPTY CART ALIGNMENT FIX
   Scope: WooCommerce cart page when the cart has no products.
   Keep the populated cart layout unchanged.
   ========================================================= */
body.woocommerce-cart main > .af-container:has(.woocommerce),
body.woocommerce-cart main .af-container:has(.cart-empty),
body.woocommerce-cart main .af-container:has(.woocommerce-cart-form) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-cart main .af-page-card:has(.cart-empty),
body.woocommerce-cart main .af-page-card:has(.return-to-shop),
body.woocommerce-cart main .af-page-card:has(.woocommerce-info) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.woocommerce-cart .woocommerce .cart-empty,
body.woocommerce-cart .woocommerce p.cart-empty {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 16px 20px 16px 48px !important;
    border: 1px solid #E8DED0 !important;
    border-top: 2px solid #C6A15B !important;
    border-radius: 0 !important;
    background: #FAF4EC !important;
    color: #303A32 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    box-shadow: none !important;
}
body.woocommerce-cart .woocommerce .cart-empty::before {
    color: #344C3B !important;
    left: 18px !important;
}

body.woocommerce-cart .woocommerce .return-to-shop {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
body.woocommerce-cart .woocommerce .return-to-shop .button,
body.woocommerce-cart .woocommerce .return-to-shop a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 9px 18px !important;
    border: 1px solid #344C3B !important;
    border-radius: 4px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}
body.woocommerce-cart .woocommerce .return-to-shop .button:hover,
body.woocommerce-cart .woocommerce .return-to-shop a.button:hover {
    background: #26392D !important;
    border-color: #26392D !important;
    color: #FFFFFF !important;
}

body.woocommerce-cart .woocommerce .cart-empty,
body.woocommerce-cart .woocommerce .return-to-shop {
    font-family: var(--af-body-font, Arial, sans-serif);
}

@media (max-width: 700px) {
    body.woocommerce-cart main > .af-container:has(.woocommerce),
    body.woocommerce-cart main .af-container:has(.cart-empty),
    body.woocommerce-cart main .af-container:has(.woocommerce-cart-form) {
        width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    body.woocommerce-cart .woocommerce .cart-empty,
    body.woocommerce-cart .woocommerce p.cart-empty {
        padding: 14px 14px 14px 42px !important;
        font-size: 13px !important;
    }
    body.woocommerce-cart .woocommerce .cart-empty::before {
        left: 13px !important;
    }
}



/* =========================================================
   ALICE FLOWERS — REMOVE EMPTY SPACE BELOW CART
   Cart page only: let the main area end immediately after
   its content instead of retaining the global 48vh minimum.
   ========================================================= */
body.woocommerce-cart main,
body.woocommerce-cart main.af-page,
body.woocommerce-cart main#main,
body.woocommerce-cart .site-main {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Do not let the cart wrapper create an extra bottom gap. */
body.woocommerce-cart .afl-cart-page,
body.woocommerce-cart main .af-container:has(.woocommerce) {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Footer starts directly after the cart content. */
body.woocommerce-cart .af-footer {
    margin-top: 0 !important;
}



/* ALICE FLOWERS — 20px GAP BETWEEN EMPTY-CART BUTTON AND FOOTER */
body.woocommerce-cart .woocommerce .return-to-shop {
    margin-bottom: 20px !important;
}


/* ALICE FLOWERS — ALIGN EMPTY-CART RETURN BUTTON TO BOTTOM RIGHT */
body.woocommerce-cart .woocommerce .return-to-shop {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    text-align: right !important;
}

body.woocommerce-cart .woocommerce .return-to-shop a.button,
body.woocommerce-cart .woocommerce .return-to-shop .button {
    margin-left: auto !important;
    margin-right: 0 !important;
}



/* =========================================================
   ALICE FLOWERS — ACCOUNT PROFILE PAGE LAYOUT
   Scope: /thong-tin-tai-khoan/ only.
   Align outer content width with the site header/footer and
   remove unnecessary vertical gaps around the account panel.
   ========================================================= */
body.page-thong-tin-tai-khoan main.af-page,
body.page-thong-tin-tai-khoan main#main,
body.page-thong-tin-tai-khoan .site-main {
    box-sizing: border-box !important;
    display: block !important;
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    flex: 0 0 auto !important;
}

body.page-thong-tin-tai-khoan main.af-page > .af-container,
body.page-thong-tin-tai-khoan main.af-page > .af-page-card,
body.page-thong-tin-tai-khoan main.af-page .af-container.af-page-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.page-thong-tin-tai-khoan main.af-page > .af-page-card,
body.page-thong-tin-tai-khoan main.af-page .af-container.af-page-card {
    padding: 24px clamp(20px, 3vw, 40px) !important;
    border-radius: 0 !important;
}

body.page-thong-tin-tai-khoan .afl-account-form-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}

body.page-thong-tin-tai-khoan .afl-account-form-wrap > h2 {
    margin-top: 0 !important;
}

body.page-thong-tin-tai-khoan .af-footer {
    margin-top: 0 !important;
}

@media (max-width: 700px) {
    body.page-thong-tin-tai-khoan main.af-page,
    body.page-thong-tin-tai-khoan main#main,
    body.page-thong-tin-tai-khoan .site-main {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.page-thong-tin-tai-khoan main.af-page > .af-page-card,
    body.page-thong-tin-tai-khoan main.af-page .af-container.af-page-card {
        padding: 18px 14px !important;
    }
}



/* =========================================================
   ALICE FLOWERS — ACCOUNT PROFILE WIDTH FIX v2
   Keep the account page inside the same centered frame as
   Header/Footer. Do not stretch the white content panel full-screen.
   ========================================================= */

/* Outer page frame: same maximum width as the site header/footer. */
body:has(.afl-account-form-wrap) main,
body:has(.afl-account-form-wrap) main.af-page,
body:has(.afl-account-form-wrap) main#main,
body:has(.afl-account-form-wrap) .site-main {
    box-sizing: border-box !important;
    display: block !important;
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    min-height: 0 !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}

/* Restore a centered inner content panel instead of full viewport width. */
body:has(.afl-account-form-wrap) main.af-page > .af-container,
body:has(.afl-account-form-wrap) main.af-page > .af-page-card,
body:has(.afl-account-form-wrap) main.af-page .af-container,
body:has(.afl-account-form-wrap) main .af-container.af-page-card {
    box-sizing: border-box !important;
    width: calc(100% - 48px) !important;
    max-width: 1192px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* If the template uses .af-page-card as the inner panel, keep its card styling. */
body:has(.afl-account-form-wrap) main.af-page .af-page-card,
body:has(.afl-account-form-wrap) main .af-container.af-page-card {
    width: calc(100% - 48px) !important;
    max-width: 1192px !important;
    margin: 24px auto 40px !important;
    padding: 26px clamp(20px, 3vw, 40px) !important;
    border: 1px solid var(--af-border) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: var(--af-shadow) !important;
}

/* Keep the form itself centered and compact inside the panel. */
body:has(.afl-account-form-wrap) .afl-account-form-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: 26px 20px !important;
}

/* Remove excess gap only after this page's content. */
body:has(.afl-account-form-wrap) .af-footer {
    margin-top: 0 !important;
}

@media (max-width: 700px) {
    body:has(.afl-account-form-wrap) main,
    body:has(.afl-account-form-wrap) main.af-page,
    body:has(.afl-account-form-wrap) main#main,
    body:has(.afl-account-form-wrap) .site-main {
        width: 100% !important;
        max-width: 100% !important;
    }

    body:has(.afl-account-form-wrap) main.af-page > .af-container,
    body:has(.afl-account-form-wrap) main.af-page > .af-page-card,
    body:has(.afl-account-form-wrap) main.af-page .af-container,
    body:has(.afl-account-form-wrap) main .af-container.af-page-card,
    body:has(.afl-account-form-wrap) main.af-page .af-page-card {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

    body:has(.afl-account-form-wrap) .af-page-card {
        padding: 18px 14px !important;
    }

    body:has(.afl-account-form-wrap) .afl-account-form-wrap {
        padding: 20px 14px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — HOMEPAGE BANNER FINAL POSITIONING
   - Ảnh banner hiển thị rõ, không phủ lớp gradient làm mờ.
   - Khối chữ nằm phía dưới, cách cạnh trái/dưới 15px.
   - Nút CTA nằm góc dưới bên phải, cách khung 15px.
   - Chỉ áp dụng cho slideshow banner trang chủ.
   ========================================================= */

body.home #afHeroSlider .af-hero-slide::after {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

body.home #afHeroSlider .af-hero-slide .af-hero-image {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

body.home #afHeroSlider .af-hero-slide .af-hero-copy {
    top: auto !important;
    bottom: 15px !important;
    left: 15px !important;
    right: 15px !important;
    transform: none !important;
    width: calc(100% - 30px) !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 4 !important;
}

/* Giữ phần nội dung chữ gọn ở phía trái, tránh lấn sang nút CTA. */
body.home #afHeroSlider .af-hero-slide .af-eyebrow,
body.home #afHeroSlider .af-hero-slide h1,
body.home #afHeroSlider .af-hero-slide p {
    max-width: min(550px, 48%) !important;
}

body.home #afHeroSlider .af-hero-slide .af-btn {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 6 !important;
    margin: 0 !important;
}

/* Màn hình tablet: thu hẹp vùng chữ để không chạm nút. */
@media (max-width: 768px) {
    body.home #afHeroSlider .af-hero-slide .af-hero-copy {
        left: 15px !important;
        right: 15px !important;
        bottom: 15px !important;
        width: calc(100% - 30px) !important;
    }

    body.home #afHeroSlider .af-hero-slide .af-eyebrow,
    body.home #afHeroSlider .af-hero-slide h1,
    body.home #afHeroSlider .af-hero-slide p {
        max-width: 62% !important;
    }

    body.home #afHeroSlider .af-hero-slide .af-btn {
        right: 0 !important;
        bottom: 0 !important;
        min-height: 38px !important;
        padding: 8px 13px !important;
        font-size: 12px !important;
    }
}

/* Điện thoại: vẫn giữ đúng khoảng cách 15px và nút ở góc dưới phải. */
@media (max-width: 560px) {
    body.home #afHeroSlider .af-hero-slide .af-hero-copy {
        left: 15px !important;
        right: 15px !important;
        bottom: 15px !important;
        width: calc(100% - 30px) !important;
    }

    body.home #afHeroSlider .af-hero-slide .af-eyebrow,
    body.home #afHeroSlider .af-hero-slide h1,
    body.home #afHeroSlider .af-hero-slide p {
        max-width: 66% !important;
    }

    body.home #afHeroSlider .af-hero-slide h1 {
        font-size: clamp(20px, 5vw, 27px) !important;
        line-height: 1.12 !important;
    }

    body.home #afHeroSlider .af-hero-slide p {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    body.home #afHeroSlider .af-hero-slide .af-btn {
        right: 0 !important;
        bottom: 0 !important;
        min-height: 34px !important;
        padding: 7px 10px !important;
        font-size: 10px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — SLIDE 1 CLEAN / SLIDE 2+ TEXT PANEL
   - Slide đầu tiên: chỉ hiển thị hình, không chữ, không panel.
   - Từ slide thứ hai: panel chữ rộng 40%, nền kem trong suốt 40%.
   - Không phủ lớp làm mờ ảnh banner.
   ========================================================= */

/* Không phủ lớp màu lên toàn bộ ảnh banner. */
body.home #afHeroSlider .af-hero-slide::after {
    content: none !important;
    display: none !important;
}

/* Slide 1: ẩn toàn bộ khối nội dung chữ và nút bên trong. */
body.home #afHeroSlider .af-hero-slide:first-child .af-hero-copy {
    display: none !important;
}

/* Slide 2 trở đi: khối chữ là panel riêng, không làm mờ ảnh nền. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
    display: block !important;
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: 15px !important;
    left: 15px !important;
    transform: none !important;
    box-sizing: border-box !important;
    width: 40% !important;
    max-width: 40% !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 1px solid rgba(198, 161, 91, .45) !important;
    border-radius: 8px !important;
    background: rgba(250, 244, 236, .40) !important;
    box-shadow: 0 4px 18px rgba(40, 50, 38, .10) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 4 !important;
}

/* Tiêu đề và mô tả nằm gọn trong panel 40%. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy .af-eyebrow,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy h1,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
}

body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy h1 {
    margin: 5px 0 9px !important;
    font-size: clamp(21px, 2.3vw, 34px) !important;
    line-height: 1.15 !important;
}

body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy p {
    margin: 0 0 10px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* Nút nằm trong panel, không đè lên nội dung chữ. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy .af-btn {
    position: static !important;
    display: inline-flex !important;
    margin: 5px 0 0 !important;
}

/* Tablet: giữ panel đủ rộng để nội dung dễ đọc. */
@media (max-width: 768px) {
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
        width: 52% !important;
        max-width: 52% !important;
        padding: 12px 14px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy h1 {
        font-size: clamp(19px, 3.4vw, 27px) !important;
    }
}

/* Điện thoại: panel rộng hơn để tránh chữ bị bó quá hẹp. */
@media (max-width: 560px) {
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
        left: 10px !important;
        bottom: 12px !important;
        width: 78% !important;
        max-width: 78% !important;
        padding: 10px 12px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy h1 {
        font-size: 21px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy p {
        font-size: 11px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — FIX CTA OUTSIDE TEXT PANEL (STRUCTURAL CSS)
   Root cause: .af-btn is nested inside .af-hero-copy.
   Make .af-hero-copy static so the absolute CTA is positioned
   against the slide (.af-hero-slide), not against the panel.
   Slide 1 remains image-only.
   ========================================================= */

body.home #afHeroSlider .af-hero-slide:not(:first-child) {
    position: relative !important;
    display: flex !important;
    align-items: flex-end !important;
    isolation: isolate !important;
}

/* The copy block remains the translucent text panel,
   but is no longer a positioned ancestor for the CTA. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    flex: 0 0 40% !important;
    width: 40% !important;
    max-width: 40% !important;
    margin: 0 0 15px 15px !important;
    box-sizing: border-box !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(198, 161, 91, .45) !important;
    border-radius: 8px !important;
    background: rgba(250, 244, 236, .40) !important;
    box-shadow: 0 4px 18px rgba(40, 50, 38, .10) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 4 !important;
    overflow: visible !important;
}

/* CTA stays inside the HTML copy wrapper, but is visually
   anchored to the slide itself — outside the panel. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy > .af-btn,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy a.af-btn {
    position: absolute !important;
    right: 15px !important;
    bottom: 15px !important;
    left: auto !important;
    top: auto !important;
    z-index: 8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: calc(60% - 30px) !important;
    margin: 0 !important;
    transform: none !important;
}

/* Keep panel text inside its 40% width. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy .af-eyebrow,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy h1,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy p {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Tablet: panel slightly wider; CTA remains anchored to slide. */
@media (max-width: 768px) {
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
        flex-basis: 48% !important;
        width: 48% !important;
        max-width: 48% !important;
        margin-left: 15px !important;
        margin-bottom: 15px !important;
        padding: 12px 14px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy > .af-btn,
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy a.af-btn {
        right: 15px !important;
        bottom: 15px !important;
        max-width: 44% !important;
        min-height: 38px !important;
        padding: 8px 13px !important;
        font-size: 12px !important;
    }
}

/* Mobile: preserve a separate CTA zone on the right side. */
@media (max-width: 560px) {
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
        flex-basis: 58% !important;
        width: 58% !important;
        max-width: 58% !important;
        margin-left: 10px !important;
        margin-bottom: 12px !important;
        padding: 10px 12px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy > .af-btn,
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy a.af-btn {
        right: 10px !important;
        bottom: 12px !important;
        max-width: 36% !important;
        min-height: 34px !important;
        padding: 7px 10px !important;
        font-size: 10px !important;
        white-space: normal !important;
        text-align: center !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy h1 {
        font-size: 21px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy p {
        font-size: 11px !important;
    }
}

/* Slide 1: image only — no panel and no CTA. */
body.home #afHeroSlider .af-hero-slide:first-child .af-hero-copy {
    display: none !important;
}


/* =========================================================
   ALICE FLOWERS — CTA OUTSIDE PANEL: NESTED WRAPPER OVERRIDE
   Corrects nested .af-cta / intermediate wrappers that could
   otherwise become the containing block for the CTA button.
   ========================================================= */

/* Each slide is the positioning reference for the CTA. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
}

/* The cream panel is a normal flex item at the bottom-left. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    will-change: auto !important;
    flex: 0 0 40% !important;
    width: 40% !important;
    max-width: 40% !important;
    margin: 0 0 15px 15px !important;
    box-sizing: border-box !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(198, 161, 91, .45) !important;
    border-radius: 8px !important;
    background: rgba(250, 244, 236, .40) !important;
    box-shadow: 0 4px 18px rgba(40, 50, 38, .10) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 4 !important;
    overflow: visible !important;
}

/* Remove positioning/transform contexts from every wrapper inside
   the panel. This ensures the CTA is positioned relative to slide,
   even when wrapped in .af-cta or another div/span. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy *:not(.af-btn) {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    will-change: auto !important;
}

/* If the button has a dedicated wrapper, remove that wrapper's box
   so it cannot keep the CTA visually inside the cream panel. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy .af-cta {
    display: contents !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
}

/* The button remains a child in the HTML, but its visual position
   is outside the panel at the bottom-right corner of the banner. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy .af-btn,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy a.af-btn,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-cta .af-btn,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-cta a.af-btn {
    position: absolute !important;
    top: auto !important;
    right: 15px !important;
    bottom: 15px !important;
    left: auto !important;
    z-index: 20 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 45% !important;
    margin: 0 !important;
    transform: none !important;
    white-space: nowrap !important;
}

/* Keep the text content inside the panel only. */
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy .af-eyebrow,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy h1,
body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
}

/* Tablet: slightly wider panel; CTA remains outside at slide edge. */
@media (max-width: 768px) {
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
        flex-basis: 48% !important;
        width: 48% !important;
        max-width: 48% !important;
        margin: 0 0 15px 15px !important;
        padding: 12px 14px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy .af-btn,
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy a.af-btn {
        right: 15px !important;
        bottom: 15px !important;
        max-width: 44% !important;
        min-height: 38px !important;
        padding: 8px 13px !important;
        font-size: 12px !important;
    }
}

/* Mobile: keep a distinct CTA area to the right of the text panel. */
@media (max-width: 560px) {
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy {
        flex-basis: 56% !important;
        width: 56% !important;
        max-width: 56% !important;
        margin: 0 0 12px 10px !important;
        padding: 10px 12px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy .af-btn,
    body.home #afHeroSlider .af-hero-slide:not(:first-child) .af-hero-copy a.af-btn {
        right: 10px !important;
        bottom: 12px !important;
        max-width: 38% !important;
        min-height: 34px !important;
        padding: 7px 10px !important;
        font-size: 10px !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* First slide remains image-only. */
body.home #afHeroSlider .af-hero-slide:first-child .af-hero-copy {
    display: none !important;
}

/* ALICE FLOWERS - BANNER CTA FIX */

/* Ảnh banner không bị làm mờ */
body.home #afHeroSlider .af-hero-image {
    opacity: 1 !important;
    filter: none !important;
}

body.home #afHeroSlider .af-hero-slide {
    position: relative !important;
}

/* Slide 1 chỉ hiển thị hình ảnh */
body.home #afHeroSlider .af-hero-slide:first-child .af-hero-copy,
body.home #afHeroSlider .af-hero-slide:first-child > .af-hero-cta {
    display: none !important;
}

/* Panel chữ rộng 40%, góc dưới bên trái */
body.home #afHeroSlider .af-hero-slide:not(:first-child) > .af-hero-copy {
    display: block !important;
    position: absolute !important;
    left: 15px !important;
    bottom: 15px !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 40% !important;
    max-width: 40% !important;
    box-sizing: border-box !important;
    padding: 16px 18px !important;
    background: rgba(250,244,236,0.40) !important;
    border: 1px solid rgba(198,161,91,0.45) !important;
    border-radius: 8px !important;
    z-index: 4 !important;
    backdrop-filter: blur(4px);
}

/* Nút nằm ngoài panel, góc dưới bên phải */
body.home #afHeroSlider .af-hero-slide:not(:first-child) > a.af-hero-cta {
    display: inline-flex !important;
    position: absolute !important;
    right: 15px !important;
    bottom: 15px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 7 !important;
}

body.home #afHeroSlider .af-hero-copy h1 {
    margin: 5px 0 9px !important;
    line-height: 1.15 !important;
}

body.home #afHeroSlider .af-hero-copy p {
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* ALICE FLOWERS - TANG DO TUONG PHAN CHU PANEL BANNER */

/* Dòng chữ nhỏ phía trên */
body.home #afHeroSlider .af-hero-copy .af-eyebrow {
    color: #9A6B25 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.7);
}

/* Tiêu đề chính */
body.home #afHeroSlider .af-hero-copy h1 {
    color: #263F30 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.65);
}

/* Nội dung mô tả */
body.home #afHeroSlider .af-hero-copy p {
    color: #303A32 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

/* Giữ panel trong suốt 40% */
body.home #afHeroSlider .af-hero-copy {
    background: rgba(250,244,236,0.40) !important;
}

/* Không làm mờ nội dung bên trong panel */
body.home #afHeroSlider .af-hero-copy,
body.home #afHeroSlider .af-hero-copy * {
    filter: none;
}



/* =========================================================
   ALICE FLOWERS — BANNER IMAGE FIT FIX (ALL DEVICES)
   Banner source images are approximately 2.30:1.
   Keep the frame at the same ratio so the whole JPG fits
   without distortion, cropping, or empty bands.
   ========================================================= */

body.home main > .af-hero {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.home main > .af-hero > .af-container {
    width: min(1240px, calc(100% - 48px)) !important;
    max-width: 1240px !important;
}

body.home .af-hero-slider,
body.home #afHeroSlider {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 2.30 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.home .af-hero-slides,
body.home #afHeroSlider .af-hero-slides {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

body.home .af-hero-slide,
body.home #afHeroSlider .af-hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
}

body.home .af-hero-slide .af-hero-image,
body.home #afHeroSlider .af-hero-slide .af-hero-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Keep existing text panel and CTA layered above the image. */
body.home #afHeroSlider .af-hero-slide .af-hero-copy,
body.home #afHeroSlider .af-hero-slide .af-hero-cta,
body.home #afHeroSlider .af-hero-slide > a.af-hero-cta {
    z-index: 5 !important;
}

/* Tablet: retain the image's original ratio; remove old fixed heights. */
@media (min-width: 701px) and (max-width: 1050px) {
    body.home main > .af-hero {
        padding: 0 !important;
    }
    body.home main > .af-hero > .af-container {
        width: calc(100% - 32px) !important;
    }
    body.home .af-hero-slider,
    body.home #afHeroSlider {
        height: auto !important;
        aspect-ratio: 2.30 / 1 !important;
    }
}

/* Mobile: same ratio, full-width image, no fixed 330px crop. */
@media (max-width: 700px) {
    body.home main > .af-hero {
        padding: 0 !important;
    }
    body.home main > .af-hero > .af-container {
        width: 100% !important;
        max-width: none !important;
    }
    body.home .af-hero-slider,
    body.home #afHeroSlider {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 2.30 / 1 !important;
        border-radius: 0 !important;
    }
    body.home .af-hero-slide .af-hero-image,
    body.home #afHeroSlider .af-hero-slide .af-hero-image {
        object-fit: cover !important;
        object-position: center center !important;
    }
}

/* Very narrow phones: never force a taller frame than the source ratio. */
@media (max-width: 380px) {
    body.home .af-hero-slider,
    body.home #afHeroSlider {
        aspect-ratio: 2.30 / 1 !important;
    }
}



/* =========================================================
   ALICE FLOWERS — CHỌN HOA THEO DỊP
   Đồng bộ cấu trúc thẻ với khối DỊCH VỤ:
   4 cột desktop, 2 cột tablet/mobile; ảnh nền JPG riêng;
   chiều cao thẻ 150px; tiêu đề in hoa.
   Chỉ áp dụng cho các thẻ .af-category trên trang chủ.
   ========================================================= */

html body main .af-category-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

html body main .af-category-grid .af-category {
    position: relative !important;
    isolation: isolate !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 12px 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(198, 161, 91, .48) !important;
    border-radius: 8px !important;
    background-color: #fffaf3 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    box-shadow: 0 3px 12px rgba(52, 76, 59, .07) !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

/* Lớp phủ nhẹ giúp ảnh rõ, chữ luôn dễ đọc. */
html body main .af-category-grid .af-category::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    background: linear-gradient(
        0deg,
        rgba(250, 244, 236, .94) 0%,
        rgba(250, 244, 236, .58) 34%,
        rgba(250, 244, 236, .04) 100%
    ) !important;
    pointer-events: none !important;
}

html body main .af-category-grid .af-category::after {
    content: none !important;
}

html body main .af-category-grid .af-category h3 {
    position: relative !important;
    z-index: 1 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(198, 161, 91, .42) !important;
    border-radius: 4px !important;
    background: rgba(250, 244, 236, .94) !important;
    color: #344C3B !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: .035em !important;
    text-align: left !important;
    text-transform: uppercase !important;
    overflow-wrap: anywhere !important;
}

html body main .af-category-grid .af-category > a {
    position: absolute !important;
    z-index: 2 !important;
    inset: 0 !important;
    display: block !important;
}

html body main .af-category-grid .af-category-birthday {
    background-image: url("assets/occasion-birthday.jpg") !important;
}
html body main .af-category-grid .af-category-opening {
    background-image: url("assets/occasion-opening.jpg") !important;
}
html body main .af-category-grid .af-category-graduation {
    background-image: url("assets/occasion-graduation.jpg") !important;
}
html body main .af-category-grid .af-category-love {
    background-image: url("assets/occasion-love.jpg") !important;
}

@media (hover: hover) and (pointer: fine) {
    html body main .af-category-grid .af-category:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(52, 76, 59, .12) !important;
        border-color: #C6A15B !important;
    }
}

/* Đồng bộ breakpoint của khối dịch vụ: tablet và điện thoại 2 cột. */
@media (max-width: 1000px) {
    html body main .af-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 560px) {
    html body main .af-category-grid {
        gap: 10px !important;
    }
    html body main .af-category-grid .af-category {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        padding: 8px !important;
    }
    html body main .af-category-grid .af-category h3 {
        padding: 5px 7px !important;
        font-size: 10px !important;
    }
}
/* =========================================================
   ALICE FLOWERS — CHỌN HOA THEO DỊP (FINAL, CLEAN)
   Cấu trúc HTML: .af-category > h3 + a
   Dùng ảnh nền JPG đã có trong /assets/.
   Hiển thị toàn bộ ảnh, không crop.
   ========================================================= */
html body main .af-occasion-section .af-category-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}
html body main .af-occasion-section .af-category-grid > .af-category {
    position: relative !important;
    isolation: isolate !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 12px 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(198, 161, 91, .48) !important;
    border-radius: 8px !important;
    background-color: #fffaf3 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    box-shadow: 0 3px 12px rgba(52, 76, 59, .07) !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
html body main .af-occasion-section .af-category-birthday {
    background-image: url("assets/occasion-birthday.jpg") !important;
}
html body main .af-occasion-section .af-category-opening {
    background-image: url("assets/occasion-opening.jpg") !important;
}
html body main .af-occasion-section .af-category-graduation {
    background-image: url("assets/occasion-graduation.jpg") !important;
}
html body main .af-occasion-section .af-category-love {
    background-image: url("assets/occasion-love.jpg") !important;
}
html body main .af-occasion-section .af-category::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    background: linear-gradient(
        0deg,
        rgba(250, 244, 236, .78) 0%,
        rgba(250, 244, 236, .22) 38%,
        rgba(250, 244, 236, 0) 72%
    ) !important;
    pointer-events: none !important;
}
html body main .af-occasion-section .af-category::after {
    content: none !important;
    display: none !important;
}
html body main .af-occasion-section .af-category > h3 {
    position: relative !important;
    z-index: 1 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(198, 161, 91, .48) !important;
    border-radius: 4px !important;
    background: rgba(250, 244, 236, .96) !important;
    color: #344C3B !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
}
html body main .af-occasion-section .af-category > a {
    position: absolute !important;
    z-index: 2 !important;
    inset: 0 !important;
    display: block !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
}
@media (hover: hover) and (pointer: fine) {
    html body main .af-occasion-section .af-category:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(52, 76, 59, .12) !important;
        border-color: #C6A15B !important;
    }
}
@media (max-width: 1000px) {
    html body main .af-occasion-section .af-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 560px) {
    html body main .af-occasion-section .af-category-grid { gap: 10px !important; }
    html body main .af-occasion-section .af-category-grid > .af-category {
        height: 135px !important;
        min-height: 135px !important;
        max-height: 135px !important;
        padding: 8px !important;
    }
    html body main .af-occasion-section .af-category > h3 {
        padding: 5px 7px !important;
        font-size: 10px !important;
    }
}

/*
 * ALICE FLOWERS — FIX DỨT ĐIỂM 4 PANEL "CHỌN HOA THEO DỊP"
 * Dùng selector không phụ thuộc body.home/front-page.
 * 4 ảnh gốc đều 800x450 (16:9).
 * Dán nguyên khối này ở CUỐI style.css đang hoạt động.
 */

/* Lưới 4 panel */
html body .af-occasion-section .af-category-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: start !important;
}

/* Khung panel có đúng tỷ lệ 16:9 */
html body .af-occasion-section .af-category-grid > a.af-category {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #FAF4EC !important;
    border: 1px solid rgba(198, 161, 91, .48) !important;
    border-radius: 8px !important;
    line-height: normal !important;
}

/* Bỏ mọi lớp phủ cũ có thể che ảnh */
html body .af-occasion-section .af-category-grid > a.af-category::before,
html body .af-occasion-section .af-category-grid > a.af-category::after {
    content: none !important;
    display: none !important;
}

/* Ảnh 800x450 hiển thị đủ trong khung 16:9 */
html body .af-occasion-section .af-category-grid > a.af-category > img.af-category-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

/* Tiêu đề nằm trên ảnh, sát góc dưới trái */
html body .af-occasion-section .af-category-grid > a.af-category > .af-category-title {
    position: absolute !important;
    z-index: 5 !important;
    left: 9px !important;
    right: auto !important;
    top: auto !important;
    bottom: 9px !important;
    display: inline-block !important;
    width: auto !important;
    max-width: calc(100% - 18px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    background: rgba(250, 244, 236, .96) !important;
    border: 1px solid #C6A15B !important;
    border-radius: 3px !important;
    color: #344C3B !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-transform: uppercase !important;
}

@media (max-width: 1000px) {
    html body .af-occasion-section .af-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    html body .af-occasion-section .af-category-grid {
        gap: 10px !important;
    }
    html body .af-occasion-section .af-category-grid > a.af-category > .af-category-title {
        left: 6px !important;
        bottom: 6px !important;
        padding: 4px 6px !important;
        font-size: 9px !important;
    }
}



/* =========================================================
   ALICE FLOWERS — OCCASION PANELS: PHP/CSS STRUCTURE MATCH
   Markup: a.af-occasion-card > img.af-occasion-image + span
   Source images: 800 x 450 px (16:9)
   This block intentionally avoids legacy .af-category rules.
   ========================================================= */
html body main .af-occasion-section .af-category-grid.af-occasion-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: start !important;
}

html body main .af-occasion-section .af-category-grid .af-occasion-card {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border: 1px solid rgba(198, 161, 91, .55) !important;
    border-radius: 8px !important;
    background: #FAF4EC !important;
    box-shadow: 0 3px 12px rgba(52, 76, 59, .07) !important;
    line-height: 0 !important;
    text-decoration: none !important;
}

html body main .af-occasion-section .af-category-grid .af-occasion-card::before,
html body main .af-occasion-section .af-category-grid .af-occasion-card::after {
    content: none !important;
    display: none !important;
}

html body main .af-occasion-section .af-category-grid .af-occasion-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

html body main .af-occasion-section .af-category-grid .af-occasion-title {
    position: absolute !important;
    z-index: 2 !important;
    left: 9px !important;
    bottom: 9px !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 18px) !important;
    margin: 0 !important;
    padding: 5px 9px !important;
    border: 1px solid rgba(198, 161, 91, .65) !important;
    border-radius: 4px !important;
    background: rgba(250, 244, 236, .96) !important;
    color: #344C3B !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .02em !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: normal !important;
}

@media (hover: hover) and (pointer: fine) {
    html body main .af-occasion-section .af-category-grid .af-occasion-card:hover {
        transform: translateY(-2px) !important;
        border-color: #C6A15B !important;
        box-shadow: 0 8px 20px rgba(52, 76, 59, .12) !important;
    }
}

@media (max-width: 1000px) {
    html body main .af-occasion-section .af-category-grid.af-occasion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    html body main .af-occasion-section .af-category-grid.af-occasion-grid {
        gap: 10px !important;
    }
    html body main .af-occasion-section .af-category-grid .af-occasion-title {
        left: 6px !important;
        bottom: 6px !important;
        max-width: calc(100% - 12px) !important;
        padding: 4px 6px !important;
        font-size: 9px !important;
    }
}

/* =========================================================
   ALICE FLOWERS — OCCASION PANELS V3
   Image fills the card up to the champagne-gold border.
   No inner cream padding/gap. Keep outer card spacing/frame.
   ========================================================= */

html body main .af-occasion-section .af-occasion-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    column-gap: 14px !important;
    row-gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
}

html body main .af-occasion-section .af-occasion-grid > a.af-occasion-card {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    padding: 4px !important; /* equal inner frame on all four sides */
    overflow: hidden !important;
    border: 1px solid #C6A15B !important;
    border-radius: 9px !important;
    outline: 0 !important;
    background: #FAF4EC !important;
    box-shadow: 0 2px 8px rgba(52, 76, 59, .06) !important;
    line-height: 0 !important;
    isolation: isolate !important;
    text-decoration: none !important;
}

html body main .af-occasion-section .af-occasion-grid > a.af-occasion-card > img.af-occasion-image {
    position: absolute !important;
    inset: 5px !important; /* 1px gold border + 4px even inner padding */
    display: block !important;
    box-sizing: border-box !important;
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    object-fit: cover !important;
    object-position: center center !important;
    vertical-align: top !important;
    transform: none !important;
}

/* Approved frosted title panel remains unchanged in appearance. */
html body main .af-occasion-section .af-occasion-grid > a.af-occasion-card > .af-occasion-title {
    position: absolute !important;
    z-index: 3 !important;
    left: 10px !important;
    right: auto !important;
    top: auto !important;
    bottom: 10px !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 20px) !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 1px solid rgba(255, 255, 255, .40) !important;
    border-radius: 5px !important;
    background: rgba(250, 244, 236, .50) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #344C3B !important;
    box-shadow: none !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .02em !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: normal !important;
}

@media (hover: hover) and (pointer: fine) {
    html body main .af-occasion-section .af-occasion-grid > a.af-occasion-card:hover {
        border-color: #C6A15B !important;
        box-shadow: 0 5px 14px rgba(52, 76, 59, .12) !important;
        transform: translateY(-2px) !important;
    }
}

@media (max-width: 1000px) {
    html body main .af-occasion-section .af-occasion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 560px) {
    html body main .af-occasion-section .af-occasion-grid {
        gap: 9px !important;
    }
    html body main .af-occasion-section .af-occasion-grid > a.af-occasion-card {
        border-radius: 7px !important;
        padding: 3px !important;
    }
    html body main .af-occasion-section .af-occasion-grid > a.af-occasion-card > img.af-occasion-image {
        inset: 4px !important;
        width: calc(100% - 8px) !important;
        height: calc(100% - 8px) !important;
        border-radius: 5px !important;
    }
    html body main .af-occasion-section .af-occasion-grid > a.af-occasion-card > .af-occasion-title {
        left: 7px !important;
        bottom: 7px !important;
        max-width: calc(100% - 14px) !important;
        padding: 4px 7px !important;
        font-size: 9px !important;
    }
}

/* Home-page section links sit at the lower-right. */
html body main .af-view-more {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    margin-top: 18px !important;
    text-align: right !important;
}
html body main .af-view-more > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}


/* =========================================================
   ALICE FLOWERS — HOMEPAGE PRODUCT ROW + TEXT LINKS
   - Exactly five random products per homepage block (PHP helper)
   - One row on desktop
   - Text navigation links at bottom-right (not button boxes)
   - Responsive single-row horizontal scroll on narrow screens
   ========================================================= */

body.home main .af-product-grid.af-home-product-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home main .af-product-grid.af-home-product-grid > .af-product-card {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
}

body.home main .af-view-more {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    text-align: right !important;
}

body.home main .af-view-more > a.af-text-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #344C3B !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    cursor: pointer;
}

body.home main .af-view-more > a.af-text-link:hover {
    background: transparent !important;
    color: #B58A42 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

body.home main .af-view-more > a.af-text-link span {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 1000px) {
    body.home main .af-product-grid.af-home-product-grid {
        display: grid !important;
        grid-template-columns: none !important;
        grid-auto-columns: minmax(155px, 1fr) !important;
        grid-auto-flow: column !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        padding-bottom: 6px !important;
    }
    body.home main .af-product-grid.af-home-product-grid > .af-product-card {
        scroll-snap-align: start;
    }
}

@media (max-width: 560px) {
    body.home main .af-product-grid.af-home-product-grid {
        grid-auto-columns: minmax(145px, 72vw) !important;
        gap: 10px !important;
    }
    body.home main .af-view-more > a.af-text-link {
        font-size: 12px !important;
    }
}


/* V6 — Convert homepage hero/story CTAs to text links (not filled buttons). */
body.home #afHeroSlider .af-hero-slide:not(:first-child) > a.af-hero-text-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 7px !important;
    position: absolute !important;
    right: 15px !important;
    bottom: 15px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 7 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #344C3B !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
}

body.home #afHeroSlider .af-hero-slide:not(:first-child) > a.af-hero-text-link:hover {
    color: #B58A42 !important;
    background: transparent !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

body.home #afHeroSlider .af-hero-slide:not(:first-child) > a.af-hero-text-link span,
body.home main .af-story a.af-story-text-link span {
    font-size: 17px;
    line-height: 1;
}

body.home main .af-story a.af-story-text-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    min-height: 0 !important;
    margin: 8px 0 0 !important;
    padding: 5px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #344C3B !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
}

body.home main .af-story a.af-story-text-link:hover {
    color: #B58A42 !important;
    background: transparent !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}


/* V7 — Hero banner CTA sits inside a 40%-opaque cream glass panel. */
body.home #afHeroSlider .af-hero-slide > a.af-hero-text-link {
    padding: 9px 15px !important;
    border: 1px solid rgba(198, 161, 91, 0.62) !important;
    border-radius: 8px !important;
    background: rgba(250, 244, 236, 0.40) !important;
    box-shadow: 0 2px 10px rgba(48, 58, 50, 0.08) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    color: #344C3B !important;
    text-decoration: none !important;
}

body.home #afHeroSlider .af-hero-slide > a.af-hero-text-link:hover {
    background: rgba(250, 244, 236, 0.52) !important;
    border-color: rgba(198, 161, 91, 0.82) !important;
    color: #344C3B !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

@media (max-width: 600px) {
    body.home #afHeroSlider .af-hero-slide > a.af-hero-text-link {
        right: 9px !important;
        bottom: 9px !important;
        padding: 6px 10px !important;
        border-radius: 7px !important;
        font-size: 12px !important;
    }
}



/* =========================================================
   ALICE FLOWERS — SEARCH BUTTON VISIBILITY FIX
   Replace the small Unicode glyph with a clear CSS magnifier.
   Keep the existing search form and search behavior unchanged.
   ========================================================= */
html body .af-header-main .af-search {
    display: flex !important;
    align-items: stretch !important;
}

html body .af-header-main .af-search button[type="submit"] {
    position: relative !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #344C3B !important;
    border-radius: 0 24px 24px 0 !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

html body .af-header-main .af-search button[type="submit"]::before {
    content: "" !important;
    position: absolute !important;
    top: 13px !important;
    left: 18px !important;
    width: 13px !important;
    height: 13px !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
}

html body .af-header-main .af-search button[type="submit"]::after {
    content: "" !important;
    position: absolute !important;
    top: 27px !important;
    left: 31px !important;
    width: 8px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #FFFFFF !important;
    transform: rotate(45deg) !important;
    transform-origin: left center !important;
}

html body .af-header-main .af-search button[type="submit"]:hover,
html body .af-header-main .af-search button[type="submit"]:focus-visible {
    background: #26392D !important;
    border-color: #26392D !important;
    outline: 2px solid rgba(198, 161, 91, .55) !important;
    outline-offset: 2px !important;
}

@media (max-width: 680px) {
    html body .af-header-main .af-search button[type="submit"] {
        flex-basis: 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        height: 44px !important;
    }
    html body .af-header-main .af-search button[type="submit"]::before {
        left: 15px !important;
        top: 12px !important;
    }
    html body .af-header-main .af-search button[type="submit"]::after {
        left: 28px !important;
        top: 26px !important;
    }
}



/* ALICE FLOWERS — MAKE SEARCH INPUT TEXT LEGIBLE */
html body .af-header-main form.af-search input[type="search"],
html body .af-header-main .af-search input[name="s"] {
    color: #303A32 !important;
    -webkit-text-fill-color: #303A32 !important;
    caret-color: #344C3B !important;
    background-color: #FFFFFF !important;
    opacity: 1 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-shadow: none !important;
}

html body .af-header-main form.af-search input[type="search"]::placeholder,
html body .af-header-main .af-search input[name="s"]::placeholder {
    color: #77766F !important;
    -webkit-text-fill-color: #77766F !important;
    opacity: 1 !important;
}

html body .af-header-main form.af-search input[type="search"]:focus,
html body .af-header-main .af-search input[name="s"]:focus {
    color: #303A32 !important;
    -webkit-text-fill-color: #303A32 !important;
    outline: none !important;
    box-shadow: none !important;
}



/* =========================================================
   ALICE FLOWERS — SHOP PAGE: 20PX INNER SIDE SPACING
   Keep the category sidebar and product panel 20px inside
   the parent shop frame. Does not affect the homepage.
   ========================================================= */
@media (min-width: 761px) {
    body.woocommerce-page main.af-page.af-shop-page > .af-container,
    body.woocommerce main.af-page.af-shop-page > .af-container,
    body.tax-product_cat main.af-page.af-shop-page > .af-container {
        box-sizing: border-box !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Trang Đổi mật khẩu: chỉ giảm padding đáy của khung FORM */
.afl-account-form-wrap.afl-password-form-wrap {
    padding-bottom: 20px !important;
	padding: 30px 30px 20px !important;
}


/* =========================================================
   ALICE FLOWERS — FINAL UNIFIED CONTENT TYPOGRAPHY
   Reference: .af-section-head p
   Reference size: 16px (inherited from the original body rule)
   Body font: Be Vietnam Pro
   Applies to content text on desktop, tablet and mobile.
   Keeps site header and section/panel headings unchanged.
   ========================================================= */

:root {
    --af-body-font: "Be Vietnam Pro", Arial, "Segoe UI", Tahoma, sans-serif;
    --af-content-font-size: 16px;
}

/* Common content text: same font family and same 16px size. */
body,
body p,
body li,
body blockquote,
body figcaption,
body label,
body dt,
body dd,
body address,
body .af-product-title,
body .af-product-info,
body .af-product-info p,
body .woocommerce ul.products li.product .woocommerce-loop-product__title,
body .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
body .af-shop-main .woocommerce ul.products li.product .woocommerce-loop-product__title,
body .af-shop-main .woocommerce ul.products li.product .price,
body .af-single-summary,
body .af-single-summary p,
body .af-single-summary li,
body .af-article-title,
body .af-article-content,
body .af-article-content p,
body .af-article-content li,
body .af-article-content blockquote,
body .af-flower-library-card,
body .af-flower-library-card p,
body .af-flower-library-card a,
body .af-flower-library-description,
body .af-story p,
body .af-occasion p,
body .af-service span,
body .af-service strong,
body .woocommerce,
body .woocommerce p,
body .woocommerce li,
body .woocommerce label,
body .woocommerce table,
body .woocommerce .price,
body .woocommerce .amount,
body .woocommerce .woocommerce-review__author,
body .woocommerce .woocommerce-review__published-date,
body .entry-content,
body .entry-content p,
body .entry-content li,
body .post-content,
body .post-content p,
body .post-content li {
    font-family: var(--af-body-font) !important;
    font-size: var(--af-content-font-size) !important;
}

/* Ensure paragraph rhythm remains comfortable after size unification. */
body p,
body .af-article-content p,
body .entry-content p,
body .post-content p {
    line-height: 1.65 !important;
}

/* Explicitly preserve section and panel headings as requested. */
body .af-section-head h1,
body .af-section-head h2,
body .af-section-head h3,
body .af-section-head h4,
body .af-magazine-section-title,
body .af-magazine-occasion-heading,
body .af-magazine-product-heading,
body .af-article-sidebar-heading,
body .af-article-stories-heading,
body .af-flower-library-results-heading,
body .af-contact-heading,
body .af-map-heading,
body .afl-cart-heading,
body .afl-cart-section-title,
body .afl-cart-recommendation-heading,
body .afl-bacs-order-heading,
body .woocommerce-billing-fields__title,
body .af-footer h3 {
    font-family: var(--af-heading-font, "Playfair Display", Georgia, serif) !important;
}

/* Keep the actual header and navigation typography untouched. */
body .af-topbar,
body .af-topbar *,
body .af-header-main,
body .af-header-main *,
body .af-nav,
body .af-nav * {
    font-family: inherit;
}


/* =========================================================
   FIX V2 — WOOCOMMERCE PRODUCT CARD TYPOGRAPHY
   The previous general rule was overridden by more-specific
   related/upsell product rules (12px titles, 13px prices).
   Normalize product title, price and action text to the
   reference description size: 16px / Be Vietnam Pro.
   ========================================================= */

/* Product cards across homepage, shop, category and single-product
   related/upsell sections. */
html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
html body .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
html body.single-product .af-single-product-extras .related ul.products li.product .woocommerce-loop-product__title,
html body.single-product .af-single-product-extras .upsells ul.products li.product .woocommerce-loop-product__title,
html body .af-product-title,
html body .af-product-info .af-product-title {
    font-family: var(--af-body-font) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
}

/* Product prices, including related and upsell products. */
html body .woocommerce ul.products li.product .price,
html body .woocommerce-page ul.products li.product .price,
html body.single-product .af-single-product-extras .related ul.products li.product .price,
html body.single-product .af-single-product-extras .upsells ul.products li.product .price,
html body .af-price,
html body .af-product-info .price,
html body .af-shop-product-price {
    font-family: var(--af-body-font) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* Product card action labels. */
html body .woocommerce ul.products li.product .button,
html body .woocommerce-page ul.products li.product .button,
html body.single-product .af-single-product-extras .related ul.products li.product .button,
html body.single-product .af-single-product-extras .upsells ul.products li.product .button,
html body .af-product-info .button {
    font-family: var(--af-body-font) !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Keep sale/regular price fragments on the same typeface and size. */
html body .woocommerce ul.products li.product .price .amount,
html body .woocommerce ul.products li.product .price ins,
html body .woocommerce ul.products li.product .price del,
html body .woocommerce ul.products li.product .price del .amount,
html body .woocommerce ul.products li.product .price ins .amount {
    font-family: var(--af-body-font) !important;
    font-size: 16px !important;
}

/* Product summary text uses the same content typography;
   product name heading remains an intentional display heading. */
html body.single-product .af-single-summary .woocommerce-product-details__short-description,
html body.single-product .af-single-summary .woocommerce-product-details__short-description p,
html body.single-product .af-single-summary .woocommerce-product-details__short-description li,
html body.single-product .af-single-summary .woocommerce-product-details__short-description label {
    font-family: var(--af-body-font) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* Preserve the product-name heading as a display heading. */
html body.single-product .af-single-summary .product_title {
    font-family: var(--af-heading-font, "Playfair Display", Georgia, serif) !important;
}


/* =========================================================
   FIX V3 — FEATURED PRODUCTS SIDEBAR / JOURNAL PRODUCT PANEL
   Applies the reference content typography to the product
   cards in "Sản phẩm nổi bật" and Alice recommendation panels.
   Keeps panel headings, layout, images and card dimensions.
   ========================================================= */

/* Product names in the featured/recommended sidebar cards. */
html body .af-article-products-panel .af-magazine-product-info h3,
html body .af-article-products-panel .af-magazine-product-info h3 a,
html body .af-magazine-product-info h3,
html body .af-magazine-product-info h3 a,
html body .af-magazine-product-info > a,
html body .af-article-products-panel .af-magazine-product-info a:not(.af-magazine-product-link),
html body .af-article-sidebar .af-magazine-product-info h3,
html body .af-article-sidebar .af-magazine-product-info h3 a,
html body .af-flower-journal-page .af-magazine-product-info h3,
html body .af-flower-journal-page .af-magazine-product-info h3 a {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
}

/* Product prices in the featured/recommended sidebar cards. */
html body .af-article-products-panel .af-magazine-product-price,
html body .af-magazine-product-price,
html body .af-article-sidebar .af-magazine-product-price,
html body .af-flower-journal-page .af-magazine-product-price {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

/* "Xem sản phẩm" links and other product-card action text. */
html body .af-article-products-panel .af-magazine-product-link,
html body .af-magazine-product-link,
html body .af-article-sidebar .af-magazine-product-link,
html body .af-flower-journal-page .af-magazine-product-link {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Product-panel supporting description (not the panel heading). */
html body .af-article-products-panel .af-magazine-product-heading p,
html body .af-magazine-product-heading p,
html body .af-article-sidebar .af-magazine-product-heading p,
html body .af-flower-journal-page .af-magazine-product-heading p {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Preserve display typography for the panel title itself. */
html body .af-article-products-panel .af-magazine-product-heading h2,
html body .af-magazine-product-heading h2,
html body .af-article-sidebar-heading,
html body .af-article-sidebar-heading h2 {
    font-family: var(--af-heading-font, "Playfair Display", Georgia, serif) !important;
}


/* =========================================================
   FIX V4 — JOURNAL / FLOWER STORIES CONTENT READABILITY
   Standard content size: 16px, matching the reference line
   "Mỗi dịp đặc biệt xứng đáng có một thiết kế hoa mang dấu ấn riêng".
   Keeps section/panel headings, layout and images unchanged.
   ========================================================= */

/* Story-card titles. */
html body.category-cau-chuyen-ve-hoa .af-flower-story-copy h3,
html body.category-cau-chuyen-ve-hoa .af-flower-story-copy h3 a,
html body.category-cau-chuyen-ve-hoa article.af-flower-story-card .af-flower-story-copy h3,
html body.category-cau-chuyen-ve-hoa article.af-flower-story-card .af-flower-story-copy h3 a {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
}

/* Story-card excerpts / article summaries. */
html body.category-cau-chuyen-ve-hoa .af-flower-story-copy p,
html body.category-cau-chuyen-ve-hoa article.af-flower-story-card .af-flower-story-copy p,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy p,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-featured-copy p,
html body.category-goc-chia-se .af-magazine-featured-copy p,
html body.category-goc-chia-se .af-magazine-story-copy p {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
}

/* Read-more links on story cards. */
html body.category-cau-chuyen-ve-hoa .af-flower-story-link,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-read,
html body.category-goc-chia-se .af-magazine-featured-copy a,
html body.category-goc-chia-se .af-magazine-story-copy a {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

/* Featured story title and text on journal pages. */
html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy h2,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy h2 a,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-featured-copy h2,
html body.category-goc-chia-se .af-magazine-featured-copy h2 {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Sidebar recommended-product text on journal/story pages. */
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-info,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-info *,
html body.category-goc-chia-se .af-magazine-product-info,
html body.category-goc-chia-se .af-magazine-product-info * {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Keep small date/issue labels legible without forcing them to 16px. */
html body.category-cau-chuyen-ve-hoa .af-flower-story-copy time,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-cover-copy time,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-issue,
html body.category-goc-chia-se .af-magazine-featured-copy time {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}


/* =========================================================
   V5 — GÓC CHIA SẺ: BÀI VIẾT MỚI NHẤT
   Correct selectors for the actual post-row markup.
   Standardize title and excerpt to 16px on desktop/mobile.
   ========================================================= */
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-row-copy,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-row-copy * {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
}

html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-row-copy h3,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-row-copy h3 a {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    color: #344C3B !important;
}

html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-row-copy p {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    color: #454943 !important;
}

html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-comments,
html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-comments * {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* Mobile: retain the same 16px content standard; allow rows to grow naturally. */
@media (max-width: 680px) {
    html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-row-copy h3,
    html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-row-copy h3 a,
    html body.category-goc-chia-se .af-magazine-latest .af-magazine-post-row-copy p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}


/* =========================================================
   V6 — JOURNAL FEATURED OVERLINE
   The highlighted "THE FEATURED STORY - BÀI VIẾT NỔI BẬT"
   must use the same 16px body-text scale as the reference line.
   ========================================================= */
html body.category-cau-chuyen-ve-hoa .af-flower-journal-overline {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}


/* =========================================================
   V7 — FIX CASCADE: FEATURED JOURNAL OVERLINE
   A previous, more-specific selector kept this label at 9px.
   Match the exact cover-copy selector and override it.
   ========================================================= */
html body.category-cau-chuyen-ve-hoa
.af-flower-journal-cover-copy
.af-flower-journal-overline,
html body.category-cau-chuyen-ve-hoa
.af-flower-journal-featured-copy
.af-flower-journal-overline {
    display: block !important;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}


/* =========================================================
   V8 — FEATURED STORY LABEL MATCHES "DISCOVER & INSPIRATION"
   Use the same editorial kicker treatment as the journal
   section labels: gold, uppercase, compact sans-serif.
   ========================================================= */
html body.category-cau-chuyen-ve-hoa
.af-flower-journal-cover-copy
.af-flower-journal-overline,
html body.category-cau-chuyen-ve-hoa
.af-flower-journal-featured-copy
.af-flower-journal-overline {
    display: block !important;
    margin: 0 0 8px !important;
    color: #C6A15B !important;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase !important;
}


/* =========================================================
   V9 — SINGLE SHARE ARTICLE: LATEST POSTS TYPOGRAPHY
   Keep the "Bài viết mới nhất" list at the same readable
   16px body-text scale used across the website.
   ========================================================= */
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts .af-single-latest-copy,
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts .af-single-latest-copy * {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts .af-single-latest-copy h3,
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts .af-single-latest-copy h3 a {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #344C3B !important;
}

html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts .af-single-latest-copy p {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #454943 !important;
}

html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts .af-single-latest-comments,
html body.single-post
.af-article-detail-page.af-is-share-post
.af-single-latest-posts .af-single-latest-comment-icon {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* Mobile: preserve 16px for titles and excerpts; rows expand naturally. */
@media (max-width: 600px) {
    html body.single-post
    .af-article-detail-page.af-is-share-post
    .af-single-latest-posts .af-single-latest-copy h3,
    html body.single-post
    .af-article-detail-page.af-is-share-post
    .af-single-latest-posts .af-single-latest-copy h3 a,
    html body.single-post
    .af-article-detail-page.af-is-share-post
    .af-single-latest-posts .af-single-latest-copy p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}


/* =========================================================
   V10 — SINGLE FLOWER STORY: FOLLOWING STORIES TYPOGRAPHY
   Match story-card titles and excerpts to the site-wide
   16px Be Vietnam Pro body-text standard.
   Block headers remain unchanged.
   ========================================================= */
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories .af-single-following-copy,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories .af-single-following-copy * {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

/* Story titles */
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories .af-single-following-copy h3,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories .af-single-following-copy h3 a {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #344C3B !important;
}

/* Story excerpts */
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories .af-single-following-copy p {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #454943 !important;
}

/* Date and read-more link remain secondary information */
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories .af-single-following-copy time,
html body.single-post
.af-article-detail-page.af-is-story-post
.af-single-following-stories .af-single-following-link {
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* Mobile: keep title and excerpt at the same 16px standard. */
@media (max-width: 560px) {
    html body.single-post
    .af-article-detail-page.af-is-story-post
    .af-single-following-stories .af-single-following-copy h3,
    html body.single-post
    .af-article-detail-page.af-is-story-post
    .af-single-following-stories .af-single-following-copy h3 a,
    html body.single-post
    .af-article-detail-page.af-is-story-post
    .af-single-following-stories .af-single-following-copy p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}


/* ALICE FLOWER & GIFTS — đồng bộ nền logo mới */
.af-header-main {
  background-color: #FDF4EF !important;
}
.af-header-inner .af-brand-wrap,
.af-header-inner .af-brand-logo-link {
  background-color: #FDF4EF !important;
}
.af-header-inner .af-brand-wrap .af-brand-logo-image {
  max-height: 76px !important;
  object-fit: contain !important;
}
body.home .af-hero-logo-frame {
  background: #FDF4EF !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.home .af-hero-logo-frame .af-hero-logo {
  background: #FDF4EF !important;
}


/* ALICE FLOWER & GIFTS — LOGO HEADER CAO 150PX */
.af-header-inner {
    min-height: 170px !important;
}
.af-header-inner .af-brand-wrap {
    min-height: 158px !important;
    display: flex !important;
    align-items: center !important;
}
.af-header-inner .af-brand-wrap .af-brand-logo-link {
    min-height: 150px !important;
    display: flex !important;
    align-items: center !important;
}
.af-header-inner .af-brand-wrap .af-brand-logo-image {
    display: block !important;
    height: 150px !important;
    max-height: 150px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}
@media (max-width: 680px) {
    .af-header-inner {
        min-height: 0 !important;
    }
    .af-header-inner .af-brand-wrap {
        min-height: 0 !important;
    }
    .af-header-inner .af-brand-wrap .af-brand-logo-link {
        min-height: 0 !important;
    }
    .af-header-inner .af-brand-wrap .af-brand-logo-image {
        height: 88px !important;
        max-height: 88px !important;
    }
}


/* ALICE FLOWERS — SLOGAN ĐẶT PHÍA TRÊN Ô TÌM KIẾM */
.af-header-inner {
    grid-template-columns: 220px minmax(220px, 1fr) 190px !important;
    align-items: center !important;
}
.af-header-inner .af-brand-wrap {
    min-height: 158px !important;
    justify-content: center !important;
}
.af-header-inner .af-brand-wrap .af-brand-logo-image {
    height: 150px !important;
    max-height: 150px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}
.af-header-inner .af-search-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 7px !important;
    min-width: 0 !important;
    width: 100% !important;
}
.af-header-inner .af-search-wrap .af-brand-tagline {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 0 16px !important;
    color: #344C3B !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .025em !important;
    text-align: left !important;
    white-space: nowrap !important;
}
.af-header-inner .af-search-wrap .af-search {
    width: 100% !important;
    max-width: 580px !important;
    margin: 0 !important;
}
@media (max-width: 1000px) {
    .af-header-inner {
        grid-template-columns: 200px minmax(0, 1fr) !important;
    }
}
@media (max-width: 680px) {
    .af-header-inner {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }
    .af-header-inner .af-brand-wrap {
        min-height: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .af-header-inner .af-brand-wrap .af-brand-logo-image {
        height: 88px !important;
        max-height: 88px !important;
    }
    .af-header-inner .af-search-wrap {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        gap: 5px !important;
    }
    .af-header-inner .af-search-wrap .af-brand-tagline {
        padding-left: 8px !important;
        font-size: 12px !important;
        text-align: center !important;
    }
    .af-header-inner .af-search-wrap .af-search {
        max-width: 100% !important;
    }
}


/* ALICE FLOWERS — FIX MÀU CHỮ SLOGAN VÀ HOTLINE TRÊN NỀN HEADER KEM */
.af-header-inner .af-search-wrap .af-brand-tagline {
    color: #344C3B !important;
}
.af-header-inner .af-phone {
    color: #344C3B !important;
}
.af-header-inner .af-phone small {
    color: #344C3B !important;
}


/* ALICE FLOWERS — OVERRIDE TEXT-FILL TRẮNG CŨ TRONG HEADER KEM
   Rule cũ .af-header-main đặt -webkit-text-fill-color:#FFFFFF
   lên phần tử cha; cần ghi đè cả color và text-fill trên chính chữ. */
.af-header-main .af-search-wrap .af-brand-tagline,
.af-header-main .af-phone,
.af-header-main .af-phone *,
.af-header-main .af-phone a,
.af-header-main .af-phone a * {
    color: #344C3B !important;
    -webkit-text-fill-color: #344C3B !important;
    text-decoration: none !important;
}


/* ALICE FLOWERS — LOGO FOOTER MỚI, NỀN TRONG SUỐT */
.af-footer .af-footer-intro-logo {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}
.af-footer .af-footer-intro-logo .footer-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: min(100%, 195px) !important;
    max-width: 195px !important;
    line-height: 0 !important;
    background: transparent !important;
}
.af-footer .af-footer-intro-logo img {
    display: block !important;
    width: 100% !important;
    height: 146px !important;
    max-height: 146px !important;
    object-fit: contain !important;
    object-position: left center !important;
    background: transparent !important;
    margin: 0 !important;
}
@media (max-width: 680px) {
    .af-footer .af-footer-intro-logo .footer-logo-link {
        width: min(100%, 180px) !important;
        max-width: 180px !important;
    }
    .af-footer .af-footer-intro-logo img {
        height: 135px !important;
        max-height: 135px !important;
    }
}


/* ALICE FLOWERS — SLOGAN FONT THANH LỊCH + HOTLINE CÓ LIÊN KẾT GỌI */
.af-header-main .af-search-wrap .af-brand-tagline {
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif !important;
    font-size: 17px !important;
    font-style: italic !important;
    font-weight: 700 !important;
    letter-spacing: .015em !important;
    line-height: 1.35 !important;
    color: #344C3B !important;
    -webkit-text-fill-color: #344C3B !important;
}
.af-header-main .af-phone {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 2px !important;
    color: #344C3B !important;
    -webkit-text-fill-color: #344C3B !important;
}
.af-header-main .af-phone small {
    color: #344C3B !important;
    -webkit-text-fill-color: #344C3B !important;
}
.af-header-main .af-phone .af-phone-link {
    color: #344C3B !important;
    -webkit-text-fill-color: #344C3B !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}
.af-header-main .af-phone .af-phone-link:hover {
    color: #C6A15B !important;
    -webkit-text-fill-color: #C6A15B !important;
}
@media (max-width: 1000px) {
    .af-header-main .af-phone {
        display: none !important;
    }
}


/* ALICE FLOWERS — SLOGAN HEADER: CORMORANT GARAMOND SEMIBOLD ITALIC */
.af-header-main .af-search-wrap .af-brand-tagline {
    font-family: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", Georgia, serif !important;
    font-size: 19px !important;
    font-style: italic !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    line-height: 1.3 !important;
    color: #344C3B !important;
    -webkit-text-fill-color: #344C3B !important;
}


/* ALICE FLOWERS — FINAL FIX: LOAD CORMORANT GARAMOND + EQUAL SEARCH CONTROL HEIGHT */
.af-header-main .af-search-wrap .af-brand-tagline {
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 21px !important;
    font-style: italic !important;
    font-weight: 600 !important;
    letter-spacing: 0.15px !important;
    line-height: 1.25 !important;
    color: #344C3B !important;
    -webkit-text-fill-color: #344C3B !important;
    font-synthesis: none !important;
}
html body .af-header-main form.af-search {
    display: flex !important;
    align-items: stretch !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    gap: 0 !important;
    overflow: visible !important;
}
html body .af-header-main form.af-search input[type="search"],
html body .af-header-main form.af-search input[name="s"] {
    display: block !important;
    flex: 1 1 auto !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid #E9DDCC !important;
    border-right: 0 !important;
    border-radius: 24px 0 0 24px !important;
    line-height: 44px !important;
}
html body .af-header-main form.af-search button[type="submit"] {
    display: inline-flex !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 24px 24px 0 !important;
    line-height: 1 !important;
}
@media (max-width: 680px) {
    html body .af-header-main form.af-search,
    html body .af-header-main form.af-search input[type="search"],
    html body .af-header-main form.af-search input[name="s"],
    html body .af-header-main form.af-search button[type="submit"] {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }
}


/* ALICE FLOWERS — SLOGAN HEADER TO HƠN VÀ ĐẬM HƠN */
.af-header-main .af-search-wrap .af-brand-tagline {
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 25px !important;
    font-style: italic !important;
    font-weight: 700 !important;
    letter-spacing: 0.15px !important;
    line-height: 1.2 !important;
    color: #344C3B !important;
    -webkit-text-fill-color: #344C3B !important;
}
@media (max-width: 680px) {
    .af-header-main .af-search-wrap .af-brand-tagline {
        font-size: 21px !important;
    }
}


/* ALICE FLOWERS — FIX DỨT ĐIỂM LOGO BANNER:
   Xóa nền kem/khung thẻ cũ, hiển thị trực tiếp PNG RGBA trong suốt. */
body.home .af-hero-logo-frame {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
body.home .af-hero-logo-frame .af-hero-logo {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}


/* ALICE FLOWERS — KHUNG LOGO FOOTER NỀN KEM TRONG MỜ 40% */
.af-footer .af-footer-intro-logo {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    padding: 8px 10px !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(250, 244, 236, 0.40) !important;
    background-color: rgba(250, 244, 236, 0.40) !important;
    border: 1px solid rgba(198, 161, 91, 0.42) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
}
.af-footer .af-footer-intro-logo .footer-logo-link {
    background: transparent !important;
}
.af-footer .af-footer-intro-logo img {
    background: transparent !important;
}


/* ALICE FLOWERS — GIÁ SẢN PHẨM THAY BẰNG LIÊN HỆ (TEL) TRÊN TOÀN WEBSITE */
html body a.af-contact-price,
html body .woocommerce a.af-contact-price,
html body .af-magazine-product-price a.af-contact-price,
html body .af-price a.af-contact-price {
    display: inline-block !important;
    color: #C62828 !important;
    -webkit-text-fill-color: #C62828 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    line-height: inherit !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
html body a.af-contact-price:hover,
html body .woocommerce a.af-contact-price:hover {
    color: #8F2117 !important;
    -webkit-text-fill-color: #8F2117 !important;
    text-decoration: underline !important;
}


/* =========================================================
   ALICE FLOWERS — PRODUCT CARD DESIGN MATCHED TO REFERENCE
   Unified card border, padding, square inset image, centered
   product name/contact link and centered add-to-cart button.
   Applied to homepage, shop/category, related products and
   editorial product recommendation cards.
   ========================================================= */

/* Card shell */
html body .af-product-grid > .af-product-card,
html body .woocommerce ul.products > li.product,
html body .woocommerce-page ul.products > li.product,
html body .af-magazine-product-card {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 9px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #E9DDCC !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 9px rgba(52, 76, 59, 0.045) !important;
    overflow: hidden !important;
}

/* Image frame — square, inset inside the card */
html body .af-product-card > a:first-child,
html body .woocommerce ul.products > li.product > a.woocommerce-LoopProduct-link,
html body .woocommerce-page ul.products > li.product > a.woocommerce-LoopProduct-link,
html body .af-magazine-product-card > .af-magazine-product-thumb {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #F7F3ED !important;
    border-radius: 7px !important;
    line-height: 0 !important;
}

html body .af-product-card > a:first-child img,
html body .woocommerce ul.products > li.product > a.woocommerce-LoopProduct-link img,
html body .woocommerce-page ul.products > li.product > a.woocommerce-LoopProduct-link img,
html body .af-magazine-product-card > .af-magazine-product-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
}

/* Inner content */
html body .af-product-card .af-product-info,
html body .woocommerce ul.products > li.product .woocommerce-loop-product__title,
html body .woocommerce ul.products > li.product .price,
html body .woocommerce ul.products > li.product .button,
html body .af-magazine-product-card .af-magazine-product-info {
    box-sizing: border-box !important;
}

html body .af-product-card .af-product-info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 0 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

html body .af-product-card .af-product-title,
html body .woocommerce ul.products > li.product .woocommerce-loop-product__title,
html body .woocommerce-page ul.products > li.product .woocommerce-loop-product__title,
html body .af-magazine-product-card .af-magazine-product-info h3,
html body .af-magazine-product-card .af-magazine-product-info h3 a {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #303A32 !important;
    font-family: 'Be Vietnam Pro', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
}

html body .woocommerce ul.products > li.product .woocommerce-loop-product__title,
html body .woocommerce-page ul.products > li.product .woocommerce-loop-product__title {
    padding: 8px 0 0 !important;
    margin: 0 0 7px !important;
}

/* Contact price link */
html body .af-product-card .af-price,
html body .woocommerce ul.products > li.product .price,
html body .woocommerce-page ul.products > li.product .price,
html body .af-magazine-product-card .af-magazine-product-price {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #C62828 !important;
    font-family: 'Be Vietnam Pro', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-align: center !important;
}

html body .af-product-card .af-price a.af-contact-price,
html body .woocommerce ul.products > li.product .price a.af-contact-price,
html body .woocommerce-page ul.products > li.product .price a.af-contact-price,
html body .af-magazine-product-card .af-magazine-product-price a.af-contact-price {
    display: inline-block !important;
    color: #C62828 !important;
    font: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
}

/* Add-to-cart button centered like the reference card */
html body .af-product-card .af-product-info > .button,
html body .woocommerce ul.products > li.product > .button,
html body .woocommerce-page ul.products > li.product > .button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 28px !important;
    margin: auto 0 0 !important;
    padding: 6px 13px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-family: 'Be Vietnam Pro', Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
}

html body .af-product-card .af-product-info > .button:hover,
html body .woocommerce ul.products > li.product > .button:hover,
html body .woocommerce-page ul.products > li.product > .button:hover {
    background: #26392D !important;
    color: #FFFFFF !important;
}

/* Editorial product cards retain their "Xem sản phẩm" action,
   but use the same white card, image and centered text treatment. */
html body .af-magazine-product-card .af-magazine-product-info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 0 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

html body .af-magazine-product-card .af-magazine-product-info h3 {
    margin-bottom: 7px !important;
}

html body .af-magazine-product-card .af-magazine-product-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    margin: auto 0 0 !important;
    padding: 6px 13px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-family: 'Be Vietnam Pro', Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

/* Keep a consistent inset on narrow screens as well. */
@media (max-width: 680px) {
    html body .af-product-grid > .af-product-card,
    html body .woocommerce ul.products > li.product,
    html body .woocommerce-page ul.products > li.product,
    html body .af-magazine-product-card {
        padding: 8px !important;
        border-radius: 9px !important;
    }
    html body .af-product-card .af-product-title,
    html body .woocommerce ul.products > li.product .woocommerce-loop-product__title,
    html body .woocommerce-page ul.products > li.product .woocommerce-loop-product__title,
    html body .af-magazine-product-card .af-magazine-product-info h3,
    html body .af-magazine-product-card .af-magazine-product-info h3 a {
        font-size: 13px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — RESTORE HERO LOGO GLASS FRAME AT 40%
   The previous "transparent PNG only" override removed the
   requested translucent frame. Keep the logo PNG transparent,
   but restore the cream glass panel behind its frame.
   ========================================================= */
body.home .af-hero-logo-frame {
    background: rgba(250, 244, 236, 0.40) !important;
    background-color: rgba(250, 244, 236, 0.40) !important;
    border: 1px solid rgba(198, 161, 91, 0.42) !important;
    border-radius: 12px !important;
    padding: 9px 13px !important;
    box-shadow: 0 5px 22px rgba(52, 76, 59, 0.10) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
}
body.home .af-hero-logo-frame .af-hero-logo {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}


/* =========================================================
   ALICE FLOWERS — MOBILE HERO TEXT PANEL FIT
   Mobile-only correction: give the banner enough vertical
   room and widen/compact the text panel so every line fits.
   Desktop/tablet styling remains unchanged.
   ========================================================= */
@media (max-width: 700px) {
    body.home .af-hero-slider,
    body.home #afHeroSlider {
        aspect-ratio: 1.85 / 1 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) > .af-hero-copy {
        left: 12px !important;
        right: auto !important;
        bottom: 12px !important;
        top: auto !important;
        width: 56% !important;
        max-width: 56% !important;
        max-height: calc(100% - 24px) !important;
        box-sizing: border-box !important;
        padding: 9px 11px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 9px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) > .af-hero-copy .af-eyebrow {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 5px !important;
        font-size: 8px !important;
        line-height: 1.3 !important;
        letter-spacing: .10em !important;
        overflow-wrap: anywhere !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) > .af-hero-copy h1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 6px !important;
        padding: 0 !important;
        font-size: clamp(17px, 4.6vw, 20px) !important;
        line-height: 1.12 !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) > .af-hero-copy p {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: clamp(9px, 2.7vw, 10.5px) !important;
        line-height: 1.35 !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) > a.af-hero-text-link {
        right: 9px !important;
        bottom: 9px !important;
        max-width: 39% !important;
        padding: 4px 0 !important;
        font-size: clamp(9px, 2.5vw, 11px) !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        text-align: right !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) > a.af-hero-text-link span {
        white-space: nowrap !important;
    }
}

@media (max-width: 380px) {
    body.home .af-hero-slider,
    body.home #afHeroSlider {
        aspect-ratio: 1.72 / 1 !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) > .af-hero-copy {
        width: 58% !important;
        max-width: 58% !important;
        left: 9px !important;
        bottom: 9px !important;
        max-height: calc(100% - 18px) !important;
        padding: 7px 9px !important;
    }

    body.home #afHeroSlider .af-hero-slide:not(:first-child) > a.af-hero-text-link {
        right: 7px !important;
        bottom: 7px !important;
        max-width: 37% !important;
        font-size: 9px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — HOMEPAGE MOBILE PRODUCT GRID
   Mobile homepage product sections: exactly 2 columns x 2 rows.
   Desktop and WooCommerce shop/archive layouts are untouched.
   ========================================================= */
@media (max-width: 700px) {
    body.home main .af-product-grid.af-home-product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
        grid-auto-rows: auto !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        scroll-snap-type: none !important;
    }

    body.home main .af-product-grid.af-home-product-grid > .af-product-card {
        display: flex !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }

    /* Two rows only: four product cards per homepage section on mobile. */
    body.home main .af-product-grid.af-home-product-grid > .af-product-card:nth-child(n+5) {
        display: none !important;
    }
}

@media (max-width: 380px) {
    body.home main .af-product-grid.af-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — RESTORE EDITORIAL FEATURED PRODUCTS SIDEBAR
   Scoped only to:
   - /category/cau-chuyen-ve-hoa/
   - /goc-chia-se/ (category-goc-chia-se)
   Restore compact horizontal product rows with 94px images.
   Keep global "Liên hệ" tel link and the existing product URLs.
   ========================================================= */

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card {
    display: grid !important;
    grid-template-columns: 94px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    flex-direction: initial !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 116px !important;
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    padding: 10px 11px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border: 0 !important;
    border-bottom: 1px solid #F0E9DF !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card > .af-magazine-product-thumb,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card > .af-magazine-product-thumb {
    display: block !important;
    position: relative !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
    height: 94px !important;
    min-height: 94px !important;
    max-height: 94px !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 94px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #F5EEE4 !important;
    line-height: 0 !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card > .af-magazine-product-thumb img,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card > .af-magazine-product-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    overflow: hidden !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info h3,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info h3 a,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info h3,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info h3 a {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #344C3B !important;
    font-family: var(--af-heading-font, Georgia, serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card .af-magazine-product-price,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-price {
    display: block !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #C62828 !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card .af-magazine-product-price a.af-contact-price,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-price a.af-contact-price {
    display: inline !important;
    color: #C62828 !important;
    font: inherit !important;
    text-align: left !important;
    text-decoration: none !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card .af-magazine-product-link,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-link {
    display: inline-block !important;
    align-self: flex-start !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
    padding: 0 0 2px !important;
    border: 0 !important;
    border-bottom: 1px solid #C6A15B !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #344C3B !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: normal !important;
    box-shadow: none !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-heading,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-heading {
    padding: 15px 14px 12px !important;
    border-bottom: 1px solid #E9DDCC !important;
    background: #FFFAF3 !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-heading h2,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-heading h2 {
    margin: 5px 0 3px !important;
    color: #344C3B !important;
    font-family: var(--af-heading-font, Georgia, serif) !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-heading p,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-heading p {
    margin: 0 !important;
    color: #77796F !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-all-products,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-all-products {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 10px !important;
    background: #FFFAF3 !important;
    color: #344C3B !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-all-products span,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-all-products span {
    color: #C6A15B !important;
}

/* Keep the editorial product ticker and its hover-pause behavior. */
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-window,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-window {
    overflow: hidden !important;
}

@media (max-width: 680px) {
    html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card,
    html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 10px !important;
        min-height: 102px !important;
        padding: 9px !important;
    }

    html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel .af-magazine-product-card > .af-magazine-product-thumb,
    html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card > .af-magazine-product-thumb {
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
        height: 82px !important;
        min-height: 82px !important;
        max-height: 82px !important;
        flex-basis: 82px !important;
    }
}


/* ==========================================================
   ALICE FLOWERS — SHOP SIDEBAR: NEW PRODUCTS
   Shows latest 4 published products below category/price widgets.
   ========================================================== */
body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products,
body.woocommerce main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products {
    display: block !important;
    width: 100% !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    border: 1px solid #E9DDCC !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products-title,
body.woocommerce main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products-title {
    display: block !important;
    margin: 0 !important;
    padding: 13px 15px !important;
    color: #344C3B !important;
    background: #FFFAF3 !important;
    border-bottom: 1px solid #E9DDCC !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-products-list,
body.woocommerce main.af-page.af-shop-page .af-shop-new-products-list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-product,
body.woocommerce main.af-page.af-shop-page .af-shop-new-product {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 11px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 91px !important;
    margin: 0 !important;
    padding: 11px !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
    border: 0 !important;
    border-bottom: 1px solid #F0E9DF !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-product-image,
body.woocommerce main.af-page.af-shop-page .af-shop-new-product-image {
    display: block !important;
    width: 68px !important;
    height: 68px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background: #F5EEE4 !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-product-image img,
body.woocommerce main.af-page.af-shop-page .af-shop-new-product-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-product-info,
body.woocommerce main.af-page.af-shop-page .af-shop-new-product-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    gap: 4px !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-product-name,
body.woocommerce main.af-page.af-shop-page .af-shop-new-product-name {
    display: -webkit-box !important;
    width: 100% !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: #344C3B !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-product-price,
body.woocommerce main.af-page.af-shop-page .af-shop-new-product-price {
    margin: 0 !important;
    color: #C62828 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-product-price a.af-contact-price,
body.woocommerce main.af-page.af-shop-page .af-shop-new-product-price a.af-contact-price {
    color: #C62828 !important;
    text-decoration: none !important;
}
body.woocommerce-page main.af-page.af-shop-page .af-shop-new-product-link,
body.woocommerce main.af-page.af-shop-page .af-shop-new-product-link {
    display: inline-block !important;
    margin: 1px 0 0 !important;
    padding: 0 0 1px !important;
    color: #344C3B !important;
    border-bottom: 1px solid #C6A15B !important;
    background: transparent !important;
    border-radius: 0 !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
@media (max-width: 760px) {
    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products {
        margin-top: 18px !important;
    }
}


/* ALICE FLOWERS — SHOP SIDEBAR: CONTINUOUS SCROLL / STICKY */
/* Desktop: keep the sidebar in view while the product listing scrolls.
   If the sidebar is taller than the screen, its own contents remain scrollable. */
@media (min-width: 761px) {
    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar,
    body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 24px !important;
        align-self: start !important;
        max-height: calc(100vh - 48px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin;
        scrollbar-color: #C6A15B #F7F1E8;
        z-index: 5 !important;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar,
    body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar-track,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar-track,
    body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar-track {
        background: #F7F1E8;
        border-radius: 6px;
    }

    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar-thumb,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar-thumb,
    body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar::-webkit-scrollbar-thumb {
        background: #C6A15B;
        border-radius: 6px;
    }
}

/* On phones, let the sidebar follow the normal document flow. */
@media (max-width: 760px) {
    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
    body.woocommerce main.af-page.af-shop-page .af-shop-sidebar,
    body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}


/* ALICE FLOWERS — SHOP SIDEBAR: NATURAL PAGE SCROLL */
/* Sidebar must flow with the document like the Featured Products sidebar:
   no sticky/fixed positioning and no independent inner scrollbar. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
body.woocommerce main.af-page.af-shop-page .af-shop-sidebar,
body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    align-self: start !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    transform: none !important;
}

/* Keep each sidebar section in normal document flow as the page scrolls. */
body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products,
body.woocommerce main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products,
body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
}


/* =========================================================
   ALICE FLOWERS — SHOP NEW PRODUCTS CONTINUOUS VERTICAL TICKER
   Match the continuous product movement in the featured-products
   sidebar on the "Câu chuyện về hoa" page.
   Scoped only to the shop/category sidebar.
   ========================================================= */
body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products {
    overflow: hidden !important;
}

body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products-window {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 320px !important;
    max-height: 320px !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%) !important;
}

body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products-track {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: max-content !important;
    animation: afShopNewProductsTicker 32s linear infinite !important;
    will-change: transform !important;
}

body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products-group {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
}

body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products-window:hover .af-shop-new-products-track,
body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products-window:focus-within .af-shop-new-products-track {
    animation-play-state: paused !important;
}

@keyframes afShopNewProductsTicker {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* Small screens: keep the same automatic vertical ticker. */
@media (max-width: 760px) {
    body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-products-window {
        height: 280px !important;
        max-height: 280px !important;
    }
}


/* =========================================================
   ALICE FLOWERS — MATCH TICKER SPEED TO GÓC CHIA SẺ
   JavaScript measures each duplicated product group and sets its
   duration to the same px/second speed as the 42s reference ticker.
   These values are fallbacks only; measured inline duration wins.
   ========================================================= */
html body.category-cau-chuyen-ve-hoa
.af-flower-journal-sidebar .af-magazine-product-track {
    animation-duration: 17.5s !important;
    animation-timing-function: linear !important;
}

body.woocommerce-page main.af-page.af-shop-page
.af-shop-sidebar .af-shop-new-products-track {
    animation-duration: 16.1s !important;
    animation-timing-function: linear !important;
}


/* =========================================================
   ALICE FLOWERS — SIDEBAR TYPOGRAPHY SYNC
   Reference: Shop page "Sản phẩm mới" sidebar.
   Apply typography only to Góc chia sẻ and Câu chuyện về hoa.
   Keep panel geometry, images, ticker speed and animations intact.
   ========================================================= */
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-heading h2,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-heading h2 {
    color: #344C3B !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}

html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-heading p,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-heading p {
    color: #77796F !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info h3,
html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info h3 a,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-info h3,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-info h3 a {
    color: #344C3B !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
}

html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-price,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-price {
    color: #C62828 !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-price a.af-contact-price,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-price a.af-contact-price {
    color: #C62828 !important;
    font: inherit !important;
    text-decoration: none !important;
}

html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-link,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-link {
    color: #344C3B !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

html body.category-goc-chia-se .af-magazine-product-panel .af-magazine-product-heading .af-magazine-eyebrow,
html body.category-cau-chuyen-ve-hoa .af-flower-journal-sidebar .af-magazine-product-heading .af-flower-journal-kicker {
    color: #C6A15B !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .16em !important;
}


/* =========================================================
   ALICE FLOWERS — FINAL SIDEBAR FONT MATCH
   Match typography to the Shop > "Sản phẩm mới" sidebar.
   Higher-specificity selectors intentionally override older
   magazine/sidebar typography rules earlier in this stylesheet.
   Typography only: no layout, spacing, ticker, or image changes.
   ========================================================= */

/* Panel title: same serif family, size, weight and line-height as Shop title. */
html body.category-goc-chia-se aside.af-magazine-sidebar .af-magazine-product-panel .af-magazine-product-heading h2,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel.af-flower-journal-sidebar .af-magazine-product-heading h2 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

/* Product names: exact Shop sidebar font declaration. */
html body.category-goc-chia-se aside.af-magazine-sidebar .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info h3,
html body.category-goc-chia-se aside.af-magazine-sidebar .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-info h3 a,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel.af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-info h3,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel.af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-info h3 a {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    font-style: normal !important;
}

/* Price / contact: match Shop sidebar red contact text. */
html body.category-goc-chia-se aside.af-magazine-sidebar .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-price,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel.af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-price {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    font-style: normal !important;
}
html body.category-goc-chia-se aside.af-magazine-sidebar .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-price a,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel.af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-price a {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

/* Product action: exact Shop sidebar font declaration. */
html body.category-goc-chia-se aside.af-magazine-sidebar .af-magazine-product-panel .af-magazine-product-card .af-magazine-product-link,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel.af-flower-journal-sidebar .af-magazine-product-card .af-magazine-product-link {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    font-style: normal !important;
}

/* Intro line and eyebrow use the same body font as Shop sidebar text. */
html body.category-goc-chia-se aside.af-magazine-sidebar .af-magazine-product-panel .af-magazine-product-heading p,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel.af-flower-journal-sidebar .af-magazine-product-heading p,
html body.category-goc-chia-se aside.af-magazine-sidebar .af-magazine-product-panel .af-magazine-product-heading > span,
html body.category-cau-chuyen-ve-hoa aside.af-magazine-product-panel.af-flower-journal-sidebar .af-magazine-product-heading > span {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    font-style: normal !important;
}


/* ==========================================================
   ALICE FLOWERS — SHOP SIDEBAR WIDTH MATCH
   Reference: right-hand "Sản phẩm nổi bật" sidebar on
   the "Câu chuyện về hoa" page (300px desktop width).
   Scoped only to WooCommerce shop and product-category pages.
   ========================================================== */
@media (min-width: 1101px) {
    html body.woocommerce-page main.af-page.af-shop-page .af-content-layout,
    html body.woocommerce main.af-page.af-shop-page .af-content-layout,
    html body.tax-product_cat main.af-page.af-shop-page .af-content-layout {
        display: grid !important;
        grid-template-columns: 300px minmax(0, 1fr) !important;
        column-gap: 12px !important;
        align-items: start !important;
        width: 100% !important;
    }

    html body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
    html body.woocommerce main.af-page.af-shop-page .af-shop-sidebar,
    html body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        box-sizing: border-box !important;
    }

    /* Three balanced product cards across the remaining content width. */
    html body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products,
    html body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products,
    html body.tax-product_cat main.af-page.af-shop-page .af-shop-main ul.products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products > li.product,
    html body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products > li.product,
    html body.tax-product_cat main.af-page.af-shop-page .af-shop-main ul.products > li.product {
        box-sizing: border-box !important;
        min-width: 0 !important;
        padding: 8px 8px 20px !important;
    }

    html body.woocommerce-page main.af-page.af-shop-page .af-shop-main > .af-page-card,
    html body.woocommerce main.af-page.af-shop-page .af-shop-main > .af-page-card,
    html body.tax-product_cat main.af-page.af-shop-page .af-shop-main > .af-page-card {
        padding: 20px !important;
    }
}

/* Tablet: retain a comfortable sidebar and prevent product cards
   from becoming too narrow. Desktop keeps the exact 300px reference. */
@media (min-width: 761px) and (max-width: 1100px) {
    html body.woocommerce-page main.af-page.af-shop-page .af-content-layout,
    html body.woocommerce main.af-page.af-shop-page .af-content-layout,
    html body.tax-product_cat main.af-page.af-shop-page .af-content-layout {
        grid-template-columns: 220px minmax(0, 1fr) !important;
        column-gap: 12px !important;
    }

    html body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar,
    html body.woocommerce main.af-page.af-shop-page .af-shop-sidebar,
    html body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar {
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
    }

    @media (max-width: 980px) {
        html body.woocommerce-page main.af-page.af-shop-page .af-shop-main ul.products,
        html body.woocommerce main.af-page.af-shop-page .af-shop-main ul.products,
        html body.tax-product_cat main.af-page.af-shop-page .af-shop-main ul.products {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 12px !important;
        }
    }
}


/* ==========================================================
   ALICE FLOWERS — SHOW FULL PRODUCT NAMES IN SHOP SIDEBAR
   Fix: the previous two-line clamp cut off product names.
   Scoped only to the "Sản phẩm mới" cards in the shop sidebar.
   ========================================================== */
html body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product-name,
html body.woocommerce main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product-name,
html body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product-name {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.45 !important;
    height: auto !important;
    max-height: none !important;
}
html body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product-info,
html body.woocommerce main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product-info,
html body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product-info {
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    align-self: center !important;
}
html body.woocommerce-page main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product,
html body.woocommerce main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product,
html body.tax-product_cat main.af-page.af-shop-page .af-shop-sidebar .af-shop-new-product {
    align-items: center !important;
    min-height: 91px !important;
    height: auto !important;
}


/* =========================================================
   ALICE FLOWERS — RESTORE FEATURED PRODUCTS PANEL
   Scoped to the single-post right sidebar only.
   Reference: accepted vertical ticker design:
   94px product image, horizontal text column, 42s ticker,
   hover pause, cream heading/footer, white product rows.
   ========================================================= */
html body.single-post .af-article-products-panel {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    height: 711px !important;
    min-height: 711px !important;
    max-height: 711px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: relative !important;
    border: 1px solid var(--af-border, #e8ded0) !important;
    border-radius: 9px !important;
    background: #fff !important;
}

html body.single-post .af-article-products-panel > .af-magazine-product-heading {
    display: block !important;
    flex: 0 0 103px !important;
    width: 100% !important;
    height: 103px !important;
    min-height: 103px !important;
    box-sizing: border-box !important;
    padding: 17px 17px 13px !important;
    background: #fffaf3 !important;
    border-bottom: 1px solid var(--af-border, #e8ded0) !important;
}

html body.single-post .af-article-products-panel .af-article-product-window,
html body.single-post .af-article-products-panel .af-magazine-product-window {
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    position: relative !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%) !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-track {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: max-content !important;
    min-height: 0 !important;
    animation: afSinglePostProductScroll 42s linear infinite !important;
    animation-play-state: running !important;
    will-change: transform !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-group {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: max-content !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-card {
    display: grid !important;
    flex: 0 0 132px !important;
    grid-template-columns: 94px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    box-sizing: border-box !important;
    padding: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    border-bottom: 1px solid #f0e9df !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-thumb {
    display: block !important;
    flex: 0 0 94px !important;
    width: 94px !important;
    height: 94px !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background: #f5eee4 !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-info h3,
html body.single-post .af-article-products-panel .af-magazine-product-info h3 a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    text-decoration: none !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-price {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-price a.af-contact-price {
    color: #d93025 !important;
    font: inherit !important;
    text-decoration: none !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-link {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 2px 0 0 !important;
    color: var(--af-moss, #344C3B) !important;
    font-family: var(--af-body-font, "Be Vietnam Pro", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-info .button,
html body.single-post .af-article-products-panel .af-magazine-product-info a.add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-height: 30px !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 3px 0 0 !important;
    padding: 6px 12px !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
}

html body.single-post .af-article-products-panel .af-magazine-all-products {
    display: flex !important;
    flex: 0 0 48px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 10px !important;
    background: #fffaf3 !important;
    color: var(--af-moss, #344C3B) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-window:hover .af-magazine-product-track,
html body.single-post .af-article-products-panel .af-article-product-window:hover .af-magazine-product-track,
html body.single-post .af-article-products-panel .af-magazine-product-window:focus-within .af-magazine-product-track,
html body.single-post .af-article-products-panel .af-article-product-window:focus-within .af-magazine-product-track {
    animation-play-state: paused !important;
}

@keyframes afSinglePostProductScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -50%, 0); }
}

@media (max-width: 900px) {
    html body.single-post .af-article-products-panel {
        height: 650px !important;
        min-height: 650px !important;
        max-height: 650px !important;
    }
}

/* ALICE FLOWERS — FIX RIENG KHOI SAN PHAM NOI BAT TREN TRANG BAI VIET
   Dan phan CSS nay vao CUOI style.css. Khong thay doi cac trang khac. */
html body.single-post .af-article-products-panel .af-magazine-product-card {
    display: grid !important;
    flex: 0 0 118px !important;
    grid-template-columns: 94px minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 118px !important;
    height: 118px !important;
    max-height: 118px !important;
    padding: 12px !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    border: 0 !important;
    border-bottom: 1px solid #F0E9DF !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-card > .af-magazine-product-thumb {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    flex: 0 0 94px !important;
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
    height: 94px !important;
    min-height: 94px !important;
    max-height: 94px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background: #F5EEE4 !important;
    line-height: 0 !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-card > .af-magazine-product-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-card .af-magazine-product-info {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-info h3,
html body.single-post .af-article-products-panel .af-magazine-product-info h3 a {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #344C3B !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-price {
    display: block !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #C62828 !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-price a.af-contact-price {
    display: inline !important;
    color: #C62828 !important;
    font: inherit !important;
    text-align: left !important;
    text-decoration: none !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-link {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 28px !important;
    height: auto !important;
    margin: 2px 0 0 !important;
    padding: 6px 13px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #344C3B !important;
    color: #FFFFFF !important;
    font-family: var(--af-body-font, Arial, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    white-space: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
}

html body.single-post .af-article-products-panel .af-magazine-product-link:hover {
    background: #26392D !important;
    color: #FFFFFF !important;
}

@media (max-width: 680px) {
    html body.single-post .af-article-products-panel .af-magazine-product-card {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 10px !important;
        min-height: 102px !important;
        height: 102px !important;
        max-height: 102px !important;
        flex-basis: 102px !important;
        padding: 9px !important;
    }
    html body.single-post .af-article-products-panel .af-magazine-product-card > .af-magazine-product-thumb {
        flex-basis: 82px !important;
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
        height: 82px !important;
        min-height: 82px !important;
        max-height: 82px !important;
    }
}
