/* Homepage preview, independent of the old image banner and sale countdown. */
/* The original theme hardcodes these links; keep one accessible contact group. */
.anvy-h01-storefront .anvy-floating-chat[href^="tel:"],
.anvy-h01-storefront .anvy-left-chat[href*="zalo.me"],
.anvy-h01-storefront .anvy-contact-links:not(.anvy-h01-contact-links){display:none!important}
.anvy-monthly-hero{padding:26px 0 30px;background:#faf9f5}
.anvy-monthly-hero-inner{display:grid;grid-template-columns:1.05fr 1fr;gap:44px;align-items:center;min-height:440px}
.anvy-monthly-copy{padding:22px 0}
.anvy-monthly-eyebrow{margin:0 0 20px;color:#5e685c;font-size:12px;font-weight:600;line-height:1.8;letter-spacing:.035em}
.anvy-monthly-eyebrow [data-anvy-month-label]{display:inline-block;padding:3px 10px;border:1px solid #d5dbcf;border-radius:20px;margin-right:4px;white-space:nowrap}
.anvy-monthly-copy h1{margin:0 0 22px;color:#263e32;font-size:clamp(38px,4.5vw,60px);font-weight:700;line-height:1.08;letter-spacing:-.045em}
.anvy-monthly-description{max-width:470px;margin:0;color:#57645b;font-size:16px;line-height:1.8}
.anvy-monthly-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:28px 0 18px}
.anvy-preview-primary,.anvy-preview-secondary{display:inline-flex;gap:22px;justify-content:center;align-items:center;min-height:50px;font-size:15px;font-weight:650}
.anvy-preview-primary{padding:12px 22px;background:var(--anvy-blue);color:#fff;border-radius:7px;box-shadow:0 7px 16px #0878f824}
.anvy-preview-primary:hover{background:var(--anvy-blue-dark);color:#fff}
.anvy-preview-primary span{font-size:22px;line-height:1}
.anvy-h01-storefront .anvy-preview-secondary{color:#263e32;text-decoration:none}
.anvy-h01-storefront .anvy-preview-secondary:hover{color:#0879ed}
.anvy-preview-primary:focus-visible,.anvy-preview-secondary:focus-visible,.anvy-monthly-artwork a:focus-visible,.anvy-contact-link:focus-visible{outline:3px solid #102a40;outline-offset:5px}
.anvy-monthly-gallery{position:relative;display:flex;align-items:center;gap:16px;padding:18px 0 35px;min-height:360px}
.anvy-monthly-artwork{position:relative;flex:1;min-width:0;margin:0;background:#fff;border:1px solid #e4e4d9;border-radius:9px;box-shadow:0 12px 28px #35443010;overflow:hidden}
.anvy-monthly-artwork:first-child{align-self:flex-start}
.anvy-monthly-artwork:nth-child(2){margin-top:38px}
.anvy-monthly-artwork>a{display:block}
.anvy-monthly-artwork img{display:block;width:100%;height:auto}
/* The source artwork is square; a portrait ratio adds empty bands around it. */
.anvy-h01-storefront .anvy-monthly-artwork>a{display:block}
.anvy-h01-storefront .anvy-monthly-artwork img{height:auto!important;aspect-ratio:1/1!important;contain-intrinsic-size:none!important;object-fit:contain;background:#fff}
.anvy-monthly-artwork figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 12px;color:#374b3d;font-size:12px;font-weight:600;line-height:1.5}
.anvy-monthly-artwork figcaption span{font-size:20px;font-weight:400}
.anvy-monthly-gallery-empty{display:flex;align-items:center;gap:18px;padding:30px;color:#4c6251;font-size:22px}
.anvy-monthly-gallery-empty>span{font-size:90px;color:#a1b39b}
.anvy-preview-steps{border-bottom:1px solid #eceee8;background:#fff}
.anvy-preview-steps-inner{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:28px;padding-top:19px;padding-bottom:19px}
.anvy-preview-steps p{margin:0;color:#536454;font-size:12px}
/* One set of recognisable contact icons with keyboard-accessible labels. */
.anvy-contact-links{position:fixed;right:20px;bottom:22px;bottom:max(22px,env(safe-area-inset-bottom));z-index:85;display:flex;flex-direction:column;gap:10px}
.anvy-contact-link{position:relative;display:grid;place-items:center;width:52px;height:52px;border:2px solid #fff;border-radius:50%;background:#0878f8;color:#fff;box-shadow:0 4px 14px #10244024}
.anvy-contact-link:hover{color:#fff;background:#056bdc}
.anvy-contact-link svg{width:29px;height:29px}
.anvy-contact-link-zalo{background:#fff;overflow:visible}
.anvy-contact-link-zalo:hover{background:#fff}
.anvy-contact-link-zalo img{width:40px;height:40px;object-fit:contain;border-radius:12px}
.anvy-contact-link-phone{background:#264a3b}
.anvy-contact-link-phone:hover{background:#173327}
.anvy-contact-link>span{position:absolute;right:62px;white-space:nowrap;padding:6px 10px;border-radius:5px;background:#263e32;color:#fff;font-size:12px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s}
.anvy-contact-link:hover>span,.anvy-contact-link:focus-visible>span{opacity:1;visibility:visible}
@media(max-width:900px){
  .anvy-monthly-hero-inner{gap:24px;min-height:400px}
  .anvy-monthly-copy h1{font-size:44px}
  .anvy-monthly-description{font-size:14px}
  .anvy-monthly-gallery{gap:10px;min-height:300px}
  .anvy-monthly-artwork figcaption{font-size:11px;padding:10px 8px}
  .anvy-preview-steps-inner{gap:16px}
}
@media(max-width:600px){
  .anvy-h01-storefront .anvy-h01-contact-links{position:static;flex-direction:row;justify-content:center;align-items:center;width:auto;right:auto;bottom:auto;margin:20px auto;padding:0 12px env(safe-area-inset-bottom);gap:14px}
  .anvy-monthly-hero{padding:0 0 22px}
  .anvy-monthly-hero-inner{grid-template-columns:1fr;gap:0}
  .anvy-monthly-copy{padding:24px 2px 16px}
  .anvy-monthly-eyebrow{font-size:11px;margin-bottom:16px;max-width:325px}
  .anvy-monthly-copy h1{font-size:43px;margin-bottom:16px}
  .anvy-monthly-description{font-size:14px;line-height:1.7;max-width:360px}
  .anvy-monthly-actions{gap:20px;margin:20px 0 14px}
  .anvy-preview-primary,.anvy-preview-secondary{font-size:14px;min-height:46px;gap:14px}
  .anvy-preview-primary{padding:11px 18px}
  .anvy-monthly-gallery{min-height:0;gap:12px;max-width:390px;width:100%;margin:0 auto;padding:8px 0 30px}
  .anvy-monthly-artwork:nth-child(2){margin-top:18px}
  .anvy-monthly-artwork figcaption{font-size:11px;min-height:50px}
  .anvy-preview-steps-inner{grid-template-columns:1fr;padding-top:18px;padding-bottom:18px;gap:12px}
  .anvy-contact-links{right:12px;gap:8px}
  .anvy-contact-link{width:46px;height:46px}
  .anvy-contact-link svg{width:26px;height:26px}
  .anvy-contact-link-zalo img{width:36px;height:36px}
}
@media(prefers-reduced-motion:reduce){.anvy-contact-link>span{transition:none}}
.anvy-h01-storefront .anvy-monthly-artwork img.anvy-artwork-front{padding:12px;object-fit:contain;box-sizing:border-box;aspect-ratio:auto!important;height:auto!important;contain-intrinsic-size:none!important}
.anvy-space-link{display:flex;align-items:center;justify-content:center;min-height:40px;margin:8px 0 0;padding:8px;text-align:center;color:#263e32;border:1px solid #bac7ba;border-radius:6px;font-size:13px;line-height:1.35}
.anvy-space-link:hover{background:#eef2eb;color:#173327}
.anvy-search button[aria-busy=true] svg{display:none}
.anvy-search button[aria-busy=true]::after{content:"";width:18px;height:18px;border:2px solid #d3dce6;border-top-color:var(--anvy-blue);border-radius:100%;animation:anvy-search-spin .65s linear infinite}
@keyframes anvy-search-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.anvy-search button[aria-busy=true]::after{animation:none}}

/* Keep one native control per attribute so the selected configuration is clear. */
.anvy-h01-storefront.single-product .anvy-single-grid{grid-template-columns:minmax(0,1.15fr) minmax(340px,1fr);gap:40px}
.anvy-h01-storefront.single-product .anvy-single-title{font-size:28px;font-weight:600;line-height:1.25}
.anvy-h01-storefront.single-product .anvy-single-price{font-size:24px;font-weight:600;margin-bottom:24px}
.anvy-h01-storefront.single-product .anvy-single-cart-box{padding-top:24px}
.anvy-h01-storefront.single-product .anvy-single-cart-box table.variations tr{margin-bottom:20px}
.anvy-h01-storefront.single-product .anvy-single-cart-box table.variations label{font-size:14px;color:#37433c;margin-bottom:8px}
.anvy-h01-storefront.single-product .anvy-single-cart-box table.variations select{display:block!important;width:100%;max-width:none;min-height:48px;padding:10px 40px 10px 12px;border:1px solid #c9d0c8;border-radius:6px;background:#fff;font:inherit;color:#263e32}
.anvy-h01-storefront.single-product .anvy-var-pills{display:none!important}
.anvy-h01-storefront.single-product .anvy-single-cart-box .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.anvy-h01-storefront.single-product .anvy-single-cart-box .anvy-product{flex-basis:100%;width:100%}
.anvy-h01-storefront.single-product .anvy-single-cart-box .quantity{flex:none}
.anvy-h01-storefront.single-product .anvy-single-cart-box button.single_add_to_cart_button,
.anvy-h01-storefront.single-product .anvy-single-cart-box .anvy-buy-now-button{height:48px!important;min-height:48px;flex:1;min-width:160px;padding:12px 20px!important;border-radius:6px!important;font-size:14px!important;font-weight:600!important;letter-spacing:0;text-transform:none}
.anvy-h01-storefront.single-product .anvy-single-cart-box button.single_add_to_cart_button{border:1px solid #c9d0c8!important;background:#fff!important;color:#263e32!important}
.anvy-h01-storefront.single-product .anvy-single-cart-box .anvy-buy-now-button{border:1px solid var(--anvy-blue)!important;background:var(--anvy-blue)!important;color:#fff!important}
.anvy-h01-storefront.single-product .anvy-single-cart-box :is(select,button):focus-visible{outline:3px solid #263e32;outline-offset:3px}
.anvy-h01-storefront.single-product .anvy-product-gallery-wrap{grid-template-columns:60px minmax(0,1fr)}
.anvy-h01-storefront.single-product .anvy-main-image-wrap:not(.anvy-main-image-placeholder){display:block;min-height:0;background:#fff}
.anvy-h01-storefront.single-product .anvy-main-image-wrap:not(.anvy-main-image-placeholder) img{display:block;background:#fff}
.anvy-h01-storefront.single-product .anvy-gallery-thumbs{gap:12px}
.anvy-h01-storefront.single-product .anvy-gallery-thumb{width:60px;height:60px;border:1px solid #d5dbcf;border-radius:4px;overflow:hidden}
.anvy-h01-storefront.single-product .anvy-gallery-thumb img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.anvy-h01-storefront.single-product .anvy-gallery-thumb.is-active{border:2px solid #263e32;background:#fff}
@media(max-width:980px){
  .anvy-h01-storefront.single-product .anvy-single-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .anvy-h01-storefront.single-product .anvy-product-gallery-wrap{grid-template-columns:1fr}
  .anvy-h01-storefront.single-product .anvy-gallery-thumbs{justify-content:flex-start;overflow-x:auto;padding-bottom:4px}
  .anvy-h01-storefront.single-product .anvy-gallery-stack{display:none}
}
@media(max-width:640px){
  .anvy-h01-storefront.single-product .anvy-single-title{font-size:24px}
  .anvy-h01-storefront .anvy-product-price{min-height:2.8em}
  .anvy-h01-storefront.single-product .anvy-single-cart-box button.single_add_to_cart_button,
  .anvy-h01-storefront.single-product .anvy-single-cart-box .anvy-buy-now-button{flex-basis:100%;width:100%;min-width:0}
  .anvy-h01-storefront.single-product .anvy-gallery-thumb{width:52px;height:52px;flex:none}
}
