/* =========================================================
   Australia's Own – giao diện "Nông trại Úc" (2026-12-01)
   Kem + xanh lá thương hiệu + xanh navy bao bì + vàng nắng
   ========================================================= */
:root{
  --ao-green:#0f5a2c; --ao-green-2:#1c7a3c; --ao-leaf:#8cc63f;
  --ao-navy:#1d3c8f; --ao-sun:#f4b740; --ao-cream:#fbf6ea; --ao-cream-2:#f3ead3;
  --ao-ink:#1f2a22; --ao-muted:#5d6b60; --ao-line:#e6dcc2;
  --ao-serif:"Playfair Display",Georgia,serif;
}
body{background:var(--ao-cream);color:var(--ao-ink)}
h1,h2,h3,h4,.heading-font,.product-title,.page-title{font-family:var(--ao-serif)}

/* ---------- Header ---------- */
#top-bar{background:var(--ao-green)!important;font-size:13px}
#top-bar .html_topbar_left,#top-bar p{margin:0}
.ao-topbar{display:flex;gap:18px;align-items:center;color:#fff;letter-spacing:.02em}
.ao-topbar b{color:var(--ao-sun);font-weight:700}
.ao-topbar .ao-dot{width:5px;height:5px;border-radius:50%;background:var(--ao-sun);display:inline-block}
.header-main{background:var(--ao-cream)!important;border-bottom:1px solid var(--ao-line)}
.header-main .nav > li > a{color:var(--ao-green)!important;font-family:var(--ao-serif);font-size:16px;text-transform:none;letter-spacing:0;font-weight:700}
.header-main .nav > li > a:hover,.header-main .nav > li.active > a{color:var(--ao-navy)!important}
.header-main .nav > li.active > a{box-shadow:inset 0 -3px 0 var(--ao-sun)}
.header-main .header-nav-main.nav-divided > li + li > a:after{display:none}
.header-main .icon-search,.header-main .icon-user,.header-main .icon-shopping-bag,.header-main .cart-price,.header-main .header-cart-title,.header-main .icon-menu{color:var(--ao-green)!important}
.header-main .header-button .button{background:var(--ao-sun)!important;border-color:var(--ao-sun)!important;color:#2b2100!important;border-radius:99px!important;font-weight:800;box-shadow:0 4px 12px rgba(244,183,64,.35)}
#header .header-button-1 a.button:not(.is-outline),#header .header-main .header-button > a.button:not(.is-outline){background-color:var(--ao-sun)!important;color:#2b2100!important}
@media (max-width:1200px){.header-main .nav > li > a{font-size:15px}.header-main .header-nav-main > li{margin:0 9px}}
@media (max-width:1439px){.header-main .header-button-1{display:none!important}}
.header-main .header-divider:after,.header-main .nav .header-divider{border-color:var(--ao-line)!important}
.header-main .logo img{border-radius:12px}
.stuck .header-main{box-shadow:0 6px 18px rgba(15,90,44,.08)}
.header-wrapper .header-bottom{background:var(--ao-cream)!important}

/* ---------- Trang chủ ---------- */
.ao-home{font-size:16px;line-height:1.65;overflow:hidden}
.ao-home *{box-sizing:border-box}
.ao-wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.ao-home h2{font-size:clamp(28px,3.4vw,42px);line-height:1.15;color:var(--ao-green);margin:0 0 12px}
.ao-home p{margin:0 0 14px}
.ao-kicker{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ao-navy);margin-bottom:12px}
.ao-kicker:before{content:"";width:26px;height:2px;background:var(--ao-sun)}
.ao-head{text-align:center;max-width:680px;margin:0 auto 34px}
.ao-head .ao-kicker:after{content:"";width:26px;height:2px;background:var(--ao-sun)}
.ao-head p{color:var(--ao-muted)}
.ao-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 26px;border-radius:99px;font-weight:700;font-size:16px;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s}
.ao-btn:hover{transform:translateY(-2px)}
.ao-btn-solid{background:var(--ao-green);color:#fff!important;box-shadow:0 10px 22px rgba(15,90,44,.25)}
.ao-btn-solid:hover{background:var(--ao-green-2)}
.ao-btn-ghost{border:2px solid var(--ao-green);color:var(--ao-green)!important;background:transparent}
.ao-btn-ghost:hover{background:#fff}
.ao-btn-sun{background:var(--ao-sun);color:#2b2100!important}
.ao-btn svg{width:18px;height:18px}

/* Hero */
.ao-hero{position:relative;padding:64px 0 120px;background:
  radial-gradient(1200px 500px at 85% -10%,rgba(244,183,64,.28),transparent 60%),
  linear-gradient(180deg,var(--ao-cream) 0%,#f6eed8 100%)}
.ao-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;position:relative;z-index:2}
.ao-hero h1{font-size:clamp(34px,4.6vw,60px);line-height:1.08;color:var(--ao-green);margin:0 0 18px;font-weight:800}
.ao-hero h1 em{font-style:italic;color:var(--ao-navy);font-weight:700}
.ao-hero-lead{font-size:18px;color:var(--ao-muted);max-width:520px}
.ao-btns{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 30px}
.ao-facts{display:flex;gap:28px;list-style:none;margin:0;padding:0}
.ao-facts li{margin:0;padding-left:14px;border-left:3px solid var(--ao-sun)}
.ao-facts b{display:block;font-family:var(--ao-serif);font-size:26px;color:var(--ao-green);line-height:1.1}
.ao-facts span{font-size:13px;color:var(--ao-muted)}
.ao-hero-art{position:relative;height:480px}
.ao-sun{position:absolute;inset:30px 20px 20px 40px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#2a8a47,var(--ao-green) 70%);box-shadow:0 30px 60px rgba(15,90,44,.25)}
.ao-sun:after{content:"";position:absolute;inset:-14px;border:2px dashed rgba(15,90,44,.25);border-radius:50%}
.ao-pack{position:absolute;background:#fff;border-radius:20px;padding:10px;box-shadow:0 22px 40px rgba(0,0,0,.18);object-fit:contain}
.ao-pack-1{width:46%;left:14%;top:6%;transform:rotate(-6deg)}
.ao-pack-2{width:40%;right:6%;top:24%;transform:rotate(7deg)}
.ao-stamp{position:absolute;left:0;bottom:8%;background:var(--ao-sun);color:#2b2100;font-family:var(--ao-serif);font-style:italic;font-weight:700;font-size:17px;line-height:1.2;padding:16px 20px;border-radius:50%;width:132px;height:132px;display:flex;align-items:center;justify-content:center;text-align:center;transform:rotate(-12deg);box-shadow:0 12px 24px rgba(0,0,0,.15)}
.ao-hills{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:120px;z-index:1}

/* Dải cam kết */
.ao-trust{background:var(--ao-green);color:#fff;padding:26px 0}
.ao-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ao-trust-item{display:flex;gap:14px;align-items:center}
.ao-trust-ic{flex:0 0 48px;height:48px;border-radius:14px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;color:var(--ao-sun)}
.ao-trust-ic svg{width:26px;height:26px}
.ao-trust-item b{display:block;font-size:15px}
.ao-trust-item span{font-size:13px;opacity:.8}

/* Danh mục */
.ao-sec{padding:80px 0}
.ao-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ao-cat{position:relative;display:block;border-radius:24px;padding:28px 26px 0;min-height:300px;overflow:hidden;text-decoration:none;transition:transform .25s,box-shadow .25s}
.ao-cat:hover{transform:translateY(-6px);box-shadow:0 22px 40px rgba(15,90,44,.15)}
.ao-cat h3{font-size:26px;margin:0 0 6px;color:inherit}
.ao-cat p{font-size:14px;opacity:.85;max-width:220px}
.ao-cat .ao-cat-go{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;white-space:nowrap;position:relative;z-index:1}
.ao-home svg:not(.ao-hills){width:18px;height:18px;flex:0 0 auto}
.ao-trust-ic svg{width:26px!important;height:26px!important}
.ao-cat img{position:absolute;right:-10px;bottom:-10px;width:56%;border-radius:16px;background:#fff;padding:8px;transform:rotate(6deg);box-shadow:0 14px 28px rgba(0,0,0,.15)}
.ao-cat-1{background:#e3efd9;color:var(--ao-green)}
.ao-cat-2{background:#fde9c3;color:#6a4100}
.ao-cat-3{background:#dfe6f7;color:var(--ao-navy)}

/* Sản phẩm */
.ao-products{background:#fff;border-radius:40px 40px 0 0;padding:80px 0 60px}
.ao-more{text-align:center;margin-top:30px}

/* Thẻ sản phẩm (trang chủ + cửa hàng + danh mục) – ghi đè CSS cũ */
.product-small.box{background:var(--ao-cream);border-radius:22px;padding:12px 12px 16px;border:1px solid var(--ao-line);transition:transform .25s,box-shadow .25s,border-color .25s;height:100%}
.product-small.box:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(15,90,44,.12);border-color:var(--ao-leaf)}
.product-small .box-image{border-radius:16px;overflow:hidden;background:#fff}
.product-small .box-image img{border:0!important}
.product-small .box-text{padding:14px 4px 0!important;height:auto!important}
.product-small .title-wrapper,.product-small .price-wrapper,.product-small .add-to-cart-button{height:auto!important}
.product-small .name.product-title{height:auto!important;margin-bottom:6px}
.product-small .name.product-title a{font-family:var(--ao-serif);font-size:16px!important;color:var(--ao-ink)!important;font-weight:700;line-height:1.35;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;height:auto!important;max-height:none!important}
.product-small .price-wrapper{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 10px}
.product-small .price-wrapper .price{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;display:block}
.product-small .price ins .amount,.product-small .price > .amount{color:var(--ao-green)!important;font-size:19px;font-weight:800}
.product-small .price del .amount{color:#9aa39c!important;font-size:14px;font-weight:400}
.product-small .add-to-cart-button a,a.devvn_buy_now_style{background:var(--ao-green)!important;animation:none!important;border-radius:99px!important;color:#fff!important;font-weight:700;text-transform:none;letter-spacing:0;width:100%;border:0!important}
.product-small .add-to-cart-button a:hover,a.devvn_buy_now_style:hover{background:var(--ao-green-2)!important}
.product-small .add-to-cart-button a::before,a.devvn_buy_now_style::before{content:none!important}
.product-small .category{display:none}
.out-of-stock-label{background:rgba(31,42,34,.72)!important;color:#fff!important;border-radius:99px;font-size:13px!important;letter-spacing:.04em;width:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%);padding:6px 16px!important;opacity:1!important;line-height:1.3!important}
.badge-container .badge-inner.on-sale{animation:none!important;background:var(--ao-sun)!important;color:#2b2100!important;border-radius:99px!important;box-shadow:none!important;font-weight:800}
.badge-container .badge{height:auto;width:auto}
.badge-container .badge-inner{padding:6px 10px!important;width:auto!important;height:auto!important}

/* Câu chuyện */
.ao-story{background:#fff;padding:20px 0 90px}
.ao-story-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.ao-story-img{position:relative}
.ao-story-img img{width:100%;border-radius:28px;box-shadow:0 26px 50px rgba(15,90,44,.18);display:block}
.ao-story-img .ao-badge{position:absolute;right:-14px;bottom:-22px;background:var(--ao-navy);color:#fff;border-radius:18px;padding:16px 20px;font-size:14px;line-height:1.35;box-shadow:0 14px 26px rgba(29,60,143,.3)}
.ao-story-img .ao-badge b{display:block;font-family:var(--ao-serif);font-size:28px;color:var(--ao-sun)}
.ao-checks{list-style:none;margin:18px 0 0;padding:0}
.ao-checks li{position:relative;padding-left:34px;margin:0 0 12px}
.ao-checks li:before{content:"";position:absolute;left:0;top:3px;width:22px;height:22px;border-radius:50%;background:var(--ao-leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat}

/* Các bước đặt hàng */
.ao-steps-sec{background:var(--ao-cream-2)}
.ao-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;counter-reset:st}
.ao-step{background:#fff;border-radius:22px;padding:30px 26px;position:relative;border:1px solid var(--ao-line)}
.ao-step:before{counter-increment:st;content:"0" counter(st);font-family:var(--ao-serif);font-size:54px;font-weight:800;color:var(--ao-sun);line-height:1;display:block;margin-bottom:10px}
.ao-step h3{font-size:21px;color:var(--ao-green);margin:0 0 8px}
.ao-step p{color:var(--ao-muted);font-size:15px;margin:0}

/* CTA */
.ao-cta{padding:0 0 80px;background:var(--ao-cream-2)}
.ao-cta-box{background:linear-gradient(120deg,var(--ao-green),#16703a);border-radius:30px;padding:46px 50px;color:#fff;display:flex;gap:30px;align-items:center;justify-content:space-between;position:relative;overflow:hidden}
.ao-cta-box:after{content:"";position:absolute;right:-60px;top:-60px;width:240px;height:240px;border-radius:50%;background:rgba(244,183,64,.18)}
.ao-cta-box h2{color:#fff;margin:0 0 6px}
.ao-cta-box p{margin:0;opacity:.85}
.ao-cta-box .ao-btns{margin:0;position:relative;z-index:1}
.ao-cta-box .ao-btn-ghost{border-color:#fff;color:#fff!important}
.ao-cta-box .ao-btn-ghost:hover{background:rgba(255,255,255,.12)}

/* ---------- Footer block ---------- */
.ao-footer{background:var(--ao-green)!important;color:#dfeee3;position:relative}
.ao-footer:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,var(--ao-sun),var(--ao-leaf),var(--ao-sun))}
.ao-footer .ao-f-title{color:#fff;font-family:var(--ao-serif);font-size:20px;margin:0 0 16px}
.ao-footer p,.ao-footer li{font-size:14px;line-height:1.7;color:#dfeee3}
.ao-footer a{color:#fff}.ao-footer a:hover{color:var(--ao-sun)}
.ao-f-logo{width:84px;border-radius:14px;margin-bottom:14px;border:2px solid rgba(255,255,255,.25)}
.ao-f-menu{list-style:none;margin:0;padding:0}
.ao-f-menu li{margin:0 0 6px}
.ao-f-menu a:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ao-sun);margin:0 10px 2px 0}
.ao-f-hot{display:inline-flex;align-items:center;gap:8px;background:var(--ao-sun);color:#2b2100!important;font-weight:800;font-size:18px;white-space:nowrap;padding:10px 20px;border-radius:99px;margin:4px 0 12px}
.ao-f-hot svg{width:18px;height:18px}
.ao-f-chips{display:flex;gap:8px;flex-wrap:wrap}
.ao-f-chips a{font-size:13px;font-weight:600;padding:6px 14px;border-radius:99px;border:1px solid rgba(255,255,255,.35)}
.ao-f-chips a:hover{background:#fff;color:var(--ao-green)!important}
.absolute-footer{background:#0b4522!important;color:#bcd7c3!important;font-size:13px}
.absolute-footer a{color:#fff!important}

/* ---------- Toàn site ---------- */
.button.primary,.button.alt,.single_add_to_cart_button,.checkout-button{border-radius:99px!important}
.badge-inner{background:var(--ao-sun)!important;color:#2b2100!important;border-radius:99px}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .ao-trust-grid{grid-template-columns:repeat(2,1fr)}
  .ao-story-grid{gap:40px}
}
@media (max-width:849px){
  .ao-hero{padding:36px 0 90px}
  .ao-hero-grid,.ao-story-grid{grid-template-columns:1fr}
  .ao-hero-art{height:340px;max-width:420px;margin:0 auto;width:100%}
  .ao-cats,.ao-steps{grid-template-columns:1fr}
  .ao-cat{min-height:230px}
  .ao-cat img{width:42%}
  .ao-sec,.ao-products{padding:56px 0}
  .ao-story{padding:10px 0 70px}
  .ao-story-img .ao-badge{right:10px}
  .ao-cta-box{flex-direction:column;align-items:flex-start;padding:34px 26px}
  .ao-topbar .ao-hide-m{display:none}
}
@media (max-width:549px){
  .ao-wrap{padding:0 16px}
  .ao-facts{gap:10px;display:grid;grid-template-columns:repeat(3,1fr)}
  .ao-facts li{padding-left:10px}
  .ao-facts b{font-size:17px;white-space:nowrap}
  .ao-facts span{font-size:12px;line-height:1.35;display:block}
  .header-bottom{background:var(--ao-cream)!important}
  .ao-trust-grid{grid-template-columns:1fr}
  .ao-stamp{width:104px;height:104px;font-size:14px}
  .ao-btn{padding:12px 20px;font-size:15px}
}

/* ---------- Văn phòng đại diện (footer + Liên hệ) ---------- */
.ao-f-office{list-style:none;margin:14px 0 0!important;padding:0}
.ao-f-office li{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px!important}
.ao-f-office svg{width:16px;height:16px;flex:0 0 16px;margin-top:4px;color:var(--ao-sun)}
.ao-contact-row{padding:50px 0}
.ao-contact h2{font-size:clamp(26px,3vw,38px);color:var(--ao-green);margin:0 0 10px}
.ao-contact > p{color:var(--ao-muted)}
.ao-offices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0 24px}
.ao-office{background:#fff;border:1px solid var(--ao-line);border-radius:20px;padding:20px;position:relative}
.ao-office-tag{display:inline-block;background:var(--ao-sun);color:#2b2100;font-size:12px;font-weight:800;padding:3px 12px;border-radius:99px;margin-bottom:8px}
.ao-office h3{font-size:18px;color:var(--ao-green);margin:0 0 10px}
.ao-office p{display:flex;gap:8px;font-size:14px;margin:0 0 8px;align-items:flex-start}
.ao-contact svg,.ao-office svg{width:16px;height:16px;flex:0 0 16px;margin-top:4px;color:var(--ao-green)}
.ao-contact .ao-btn svg{color:inherit;margin-top:0}
.ao-office-map{font-size:14px;font-weight:700;color:var(--ao-navy)}
.ao-form-col > .col-inner{background:var(--ao-green);border-radius:24px;padding:26px!important;color:#fff}
.ao-form-title{font-family:var(--ao-serif);font-size:22px;color:#fff;text-align:center;margin-bottom:14px}
.ao-form-col input:not([type=submit]),.ao-form-col textarea{border-radius:12px!important;border:0!important}
.ao-form-col input[type=submit]{background:var(--ao-sun)!important;color:#2b2100!important;border-radius:99px!important;font-weight:800}
@media (max-width:549px){.ao-offices{grid-template-columns:1fr}}

/* DT-SEARCH: ô tìm kiếm TNC trên header (≥1150px hiện ô, ẩn icon; nhỏ hơn thì ngược lại) */
.header-main .html_topbar_right{max-width:240px;min-width:200px}
@media (min-width:1150px){.header-main .header-search{display:none!important}}
@media (max-width:1149px){.header-main .html_topbar_right{display:none!important}}

/* 2 nút Mua hàng + Mua ngay xếp dọc trong thẻ hẹp (6 SP/hàng) */
.product-small .wbn-home-wrap{display:flex!important;flex-direction:column!important;gap:6px!important;width:100%}
.product-small .wbn-home-wrap > a,.product-small .wbn-home-wrap > .wbn-home-btn{width:100%!important;max-width:none!important;flex:0 0 auto!important;margin:0!important;border-radius:99px!important;white-space:nowrap;font-size:13px!important;min-height:36px;line-height:36px!important;padding:0 10px!important;text-transform:none!important}
.product-small .wbn-home-wrap > a{background:#fff!important;color:var(--ao-green)!important;border:1.5px solid var(--ao-green)!important}
.product-small .wbn-home-wrap > a:hover{background:var(--ao-green)!important;color:#fff!important}
