/* AVELLON 4.0.2 — final visual parity layer for the approved dusty-rose mockup. */
:root{
  --av-bg:#fffdf9;
  --av-paper:#fffaf6;
  --av-rose:#b77d73;
  --av-rose-dark:#8c554d;
  --av-rose-soft:#ead7d1;
  --av-blush:#f1e0dc;
  --av-cream:#f7efe8;
  --av-brown:#542b20;
  --av-ink:#30211d;
  --av-muted:#786964;
  --av-line:#eaded7;
  --av-font:"Vazir Avellon","Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif;
}
html,body{background:var(--av-bg)!important;color:var(--av-ink)!important}
body,button,input,textarea,select,option,.woocommerce,.woocommerce-page{font-family:var(--av-font)!important}
body{font-size:15px!important;line-height:1.82!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.av-container{width:min(1460px,calc(100% - 40px))!important}

/* Header proportions: compact, editorial and aligned like the approved composition. */
.av-top-strip__inner{min-height:32px!important;font-size:10.5px!important}
.av-header-main{min-height:82px!important;grid-template-columns:1.05fr 1.28fr .92fr 1.75fr!important;gap:22px!important}
.av-logo span{font-size:32px!important;letter-spacing:.07em!important}
.av-logo small{font-size:7.5px!important;letter-spacing:.19em!important}
.av-primary-menu,.av-desktop-nav .av-admin-nav{gap:23px!important}
.av-primary-menu a,.av-desktop-nav .av-admin-nav a{font-size:12px!important;line-height:1.4!important}
.av-head-action{font-size:9.5px!important}.av-header-search input[type=search]{font-size:11.5px!important}

/* Hero: reduce the oversized product feeling and keep copy visually dominant. */
.av-hero400{height:350px!important;background:#e7d9d1!important}
.av-hero400__media{background:#e7d9d1!important}
.av-hero400__media img{width:67%!important;height:100%!important;margin-right:auto!important;margin-left:0!important;object-fit:cover!important;object-position:50% 58%!important}
.av-hero400__media:after{background:linear-gradient(90deg,rgba(55,35,29,.15) 0%,rgba(55,35,29,.01) 38%,rgba(255,250,246,.48) 58%,rgba(255,250,246,.97) 100%)!important}
.av-hero400__copy{right:max(4.5vw,42px)!important;width:min(470px,40vw)!important}
.av-hero400__copy h1{font-size:clamp(34px,3vw,46px)!important;line-height:1.28!important;margin:9px 0!important}
.av-hero400__copy p{font-size:13.5px!important;line-height:1.95!important;margin-bottom:16px!important}
.av-primary-cta{min-height:40px!important;border-radius:5px!important;font-size:11.5px!important}
.av-hero400__seal{left:max(3.8vw,35px)!important}.av-hero400__seal b{font-size:21px!important}

/* Section rhythm and typography. */
.av-titleline{margin-bottom:16px!important}.av-titleline h2{font-size:23px!important;line-height:1.35!important}.av-titleline>a{font-size:10.5px!important}
.av-collections400{padding:22px 0 20px!important}.av-collections400__grid{gap:7px!important}.av-collection400{padding:5px 2px!important}
.av-collection400 i{width:62px!important;height:62px!important;background:#f0dfda!important}.av-collection400:nth-child(2n) i{background:#f4e6e2!important}
.av-collection400 strong{font-size:11.5px!important}.av-collection400 small{font-size:8.5px!important}

/* Product cards: square, compact, equal, exact grid; neutralize WooCommerce .first/.last rules. */
.av-product-section400{padding:20px 0 28px!important}
.av-product-section400 ul.products,.av-home .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important;overflow:visible!important;margin:0!important;padding:0!important}
.av-product-section400 ul.products>li.product,
.av-home .woocommerce ul.products>li.product,
.av-home .woocommerce ul.products>li.product.first,
.av-home .woocommerce ul.products>li.product.last,
.av-product-section400 ul.products>li.product.first,
.av-product-section400 ul.products>li.product.last{
  display:flex!important;float:none!important;clear:none!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;flex:none!important;
}
.av-product-card{border-radius:4px!important;border-color:#e8ddd6!important;background:#fffdfb!important;box-shadow:none!important;transform:none!important}
.av-product-card:hover{transform:translateY(-2px)!important;box-shadow:0 9px 24px rgba(74,49,40,.065)!important}
.av-product-card__media{height:174px!important;min-height:174px!important;padding:8px 9px!important;background:linear-gradient(180deg,#faf5f1 0%,#fffdfb 100%)!important}
.av-product-card__image-link{width:100%!important;height:100%!important}
.av-product-card__image-link img,.av-product-card__media img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
.av-product-card__wishlist{width:26px!important;height:26px!important;top:6px!important;left:6px!important;border:1px solid rgba(105,82,73,.08)!important}
.av-product-card__wishlist.is-active,.av-product-card__wishlist[aria-pressed="true"]{background:#ecd1cc!important;color:#9c4c50!important}
.av-product-card__wishlist.is-active .av-icon,.av-product-card__wishlist[aria-pressed="true"] .av-icon{fill:#b25d62!important;stroke:#9f484e!important}
.av-product-card__body{padding:9px 9px 8px!important;min-height:126px!important}
.av-product-card__brand{margin:0 0 4px!important;min-height:15px!important;font-size:9px!important;line-height:1.3!important;color:#704e46!important}
.av-product-card__brand b,.av-product-card__brand span{font-size:9px!important;font-weight:800!important}
.av-product-card h3{margin:0!important;min-height:39px!important;height:auto!important;max-height:none!important;font-size:11.5px!important;line-height:1.68!important;font-weight:750!important;overflow:visible!important}
.av-product-card__footer{padding-top:7px!important;gap:5px!important}.av-product-card__price,.av-price-inquiry{font-size:10.5px!important;font-weight:900!important}
.av-product-card__action{width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;border-radius:4px!important;background:#b77d73!important}
.av-product-card__action--inquiry{background:#f0ded9!important;color:#8b554d!important;border:1px solid #dfc8c0!important}

/* Needs section follows the same compact editorial rhythm as the approved mockup. */
.av-needs400{padding:22px 0 26px!important;background:#faf3ee!important}.av-needs400__grid{gap:11px!important}
.av-need400{height:142px!important;border-radius:4px!important}.av-need400 strong{font-size:12.5px!important}.av-need400 small{font-size:8.8px!important}
.av-need400 b{width:24px!important;height:24px!important}

/* Hair/body should feel like an editorial strip, not another shop grid. */
.av-bodyhair400{padding:25px 0!important;background:#f2e8e1!important}
.av-bodyhair400__inner{grid-template-columns:250px 330px 1fr!important;gap:12px!important}
.av-bodyhair400__intro{padding:24px 22px!important}.av-bodyhair400__intro h2{font-size:27px!important}.av-bodyhair400__intro p{font-size:11px!important}
.av-bodyhair400__image{min-height:245px!important}.av-bodyhair400__products{gap:9px!important}
.av-bodyhair400__product{border-radius:3px!important;padding:7px!important;grid-template-columns:82px 1fr!important}.av-bodyhair400__thumb{height:76px!important}
.av-bodyhair400__product strong{font-size:10.8px!important}.av-bodyhair400__product small{font-size:8.5px!important}

/* Journal: brighter image cards with readable overlay; quote panel mirrors mockup. */
.av-journal400{padding:27px 0 34px!important}.av-journal400__grid{gap:11px!important;grid-template-columns:repeat(3,minmax(0,1fr)) 220px!important}
.av-journal400__story{height:205px!important;border-radius:3px!important}.av-journal400__story strong{font-size:12.5px!important}.av-journal400__story b{font-size:9.5px!important}
.av-journal400__quote{background:#f0e3de!important;padding:24px 22px!important}.av-journal400__quote span{font-size:16px!important}

/* Shop, filters and common WooCommerce UI — larger, cleaner text. */
.av-shop-head h1{font-size:31px!important}.av-shop-head p,.av-shop-result-count,.woocommerce-result-count{font-size:12px!important}
.av-shop-sidebar,.av-shop-sidebar label,.av-shop-sidebar a,.av-shop-sidebar button,.av-shop-sidebar input,.av-shop-sidebar select{font-size:12.5px!important;line-height:1.75!important}
.av-shop-sidebar h2,.av-shop-sidebar h3,.av-filter-title{font-size:15px!important}
.av-shop-results ul.products>li.product,.av-shop-results ul.products>li.product.first,.av-shop-results ul.products>li.product.last{float:none!important;clear:none!important;margin:0!important}

/* PDP, cart, checkout and account typography. */
.av-product-page,.av-cart-page,.av-checkout-page,.woocommerce-account{font-size:14.5px!important}
.av-pdp-info h1,.av-product-summary h1{font-size:31px!important;line-height:1.5!important}
.av-pdp-info p,.av-pdp-features small,.av-product-tab-panel,.av-product-meta,.av-pdp-auth small{font-size:12.5px!important}
.av-pdp-features strong,.av-pdp-auth strong{font-size:13px!important}.av-pdp-price{font-size:22px!important}
.av-pdp-routine__head h2{font-size:25px!important}.av-pdp-routine__head p{font-size:11.5px!important}.av-routine-stage-track b{font-size:10.5px!important}
.av-routine-product strong{font-size:11.5px!important;line-height:1.6!important}.av-routine-product span{font-size:10.5px!important}
.av-cart-heading h1,.av-checkout-heading h1{font-size:29px!important}.av-cart-heading p,.av-checkout-heading p{font-size:12px!important}
.av-cart-items,.av-cart-summary,.av-cart-extra,.av-checkout-card,.av-checkout-delivery,.av-checkout-review__inner{font-size:13px!important}
.av-cart-items th,.av-cart-items td,.av-checkout-card label,.av-checkout-review__inner label{font-size:12.5px!important}
.woocommerce form .form-row label{font-size:12.5px!important}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{font-size:13px!important}

/* Auth pages: readable and balanced. */
.av-auth-shell__panel>h1{font-size:31px!important}.av-auth-shell__panel>p,.av-auth-shell__panel label,.av-auth-shell__panel input,.av-auth-shell__panel button{font-size:13px!important}
.av-auth-shell__visual h2{font-size:29px!important}.av-auth-shell__visual p{font-size:12px!important}

/* Footer closer to mockup: more legible columns and newsletter. */
.av-footer__newsletter strong{font-size:16px!important}.av-footer__newsletter span{font-size:11px!important}.av-footer__newsletter input,.av-footer__newsletter button{font-size:12px!important}
.av-footer__grid strong{font-size:12.5px!important}.av-footer__grid a,.av-footer__grid p{font-size:10.5px!important;line-height:1.8!important}.av-footer-logo{font-size:29px!important}
.av-footer__bottom{font-size:8.5px!important}

/* Tablet: preserve six-card desktop feeling only while cards remain readable. */
@media (max-width:1180px) and (min-width:960px){
  .av-header-main{grid-template-columns:.85fr 1.15fr .75fr 1.7fr!important;gap:14px!important}
  .av-primary-menu,.av-desktop-nav .av-admin-nav{gap:14px!important}.av-primary-menu a,.av-desktop-nav .av-admin-nav a{font-size:10.5px!important}
  .av-product-card__media{height:160px!important;min-height:160px!important}.av-product-card h3{font-size:10.8px!important}.av-product-card__brand,.av-product-card__brand b,.av-product-card__brand span{font-size:8.4px!important}
  .av-bodyhair400__inner{grid-template-columns:220px 290px 1fr!important}
}

/* Mobile parity: all product cards are EXACTLY equal. No first/last WooCommerce widening. */
@media (max-width:959px){
  .av-container{width:calc(100% - 28px)!important}
  .av-hero400{height:350px!important}.av-hero400__media img{width:100%!important;height:58%!important;margin:0!important;object-fit:cover!important;object-position:center 58%!important}.av-hero400__media:after{background:linear-gradient(0deg,rgba(255,250,246,.98) 0%,rgba(255,250,246,.9) 43%,rgba(255,250,246,.08) 71%)!important}.av-hero400__copy{right:18px!important;left:18px!important;bottom:20px!important;top:auto!important;transform:none!important;width:auto!important;text-align:center!important}.av-hero400__copy h1{font-size:28px!important}.av-hero400__copy p{font-size:12px!important;line-height:1.8!important}.av-hero400__seal{display:none!important}
  .av-collections400__grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px 4px!important;overflow:visible!important}.av-collection400{width:auto!important;min-width:0!important;flex:none!important}.av-collection400 i{width:54px!important;height:54px!important}.av-collection400 strong{font-size:10px!important}.av-collection400 small{font-size:7.5px!important}
  .av-bodyhair400__inner{grid-template-columns:1fr!important;grid-template-areas:"intro" "image" "products"!important}.av-bodyhair400__intro{grid-area:intro!important}.av-bodyhair400__image{grid-area:image!important;min-height:210px!important}.av-bodyhair400__products{grid-area:products!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important}.av-bodyhair400__product{display:grid!important;grid-template-columns:72px 1fr!important;width:100%!important;min-width:0!important;flex:none!important}.av-bodyhair400__thumb{height:68px!important}
  .av-journal400__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important}.av-journal400__story,.av-journal400__quote{width:100%!important;min-width:0!important;flex:none!important;height:190px!important}
}

@media (max-width:760px){
  body{font-size:14.5px!important;padding-bottom:58px!important}.av-container{width:calc(100% - 22px)!important}
  .av-top-strip__inner{min-height:27px!important;font-size:9.5px!important}.av-header-main{min-height:60px!important}.av-logo span{font-size:25px!important}.av-logo small{font-size:6.5px!important}
  .av-titleline{margin-bottom:13px!important}.av-titleline h2{font-size:20px!important}.av-titleline>a{font-size:9.5px!important}
  .av-product-section400 ul.products,.av-home .woocommerce ul.products{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;overflow:visible!important;padding:0!important;scroll-snap-type:none!important;
  }
  .av-product-section400 ul.products>li.product,
  .av-home .woocommerce ul.products>li.product,
  .av-home .woocommerce ul.products>li.product.first,
  .av-home .woocommerce ul.products>li.product.last,
  .av-product-section400 ul.products>li.product.first,
  .av-product-section400 ul.products>li.product.last{
    width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;margin:0!important;float:none!important;clear:none!important;scroll-snap-align:none!important;
  }
  .av-product-card__media{height:145px!important;min-height:145px!important;padding:7px!important}.av-product-card__body{min-height:132px!important;padding:8px!important}.av-product-card h3{font-size:10.8px!important;line-height:1.7!important;min-height:38px!important}.av-product-card__brand,.av-product-card__brand b,.av-product-card__brand span{font-size:8.2px!important}.av-product-card__price,.av-price-inquiry{font-size:10px!important}.av-product-card__action{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important}
  .av-needs400__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important}.av-need400{width:100%!important;min-width:0!important;flex:none!important;height:126px!important}.av-need400 strong{font-size:11px!important}.av-need400 small{font-size:8px!important}
  .av-bodyhair400__products{grid-template-columns:1fr!important}.av-bodyhair400__product{grid-template-columns:80px 1fr!important}.av-bodyhair400__intro h2{font-size:23px!important}.av-bodyhair400__intro p{font-size:11px!important}
  .av-journal400__grid{grid-template-columns:1fr!important}.av-journal400__story,.av-journal400__quote{height:190px!important}
  .av-shop-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.av-shop-results ul.products>li.product,.av-shop-results ul.products>li.product.first,.av-shop-results ul.products>li.product.last{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;float:none!important;clear:none!important}
  .av-shop-results .av-product-card__media{height:140px!important;min-height:140px!important}
  .av-pdp-info h1,.av-product-summary h1{font-size:25px!important}.av-pdp-routine__head h2{font-size:20px!important}.av-routine-stage-track b{font-size:10px!important}
  .av-cart-heading h1,.av-checkout-heading h1{font-size:25px!important}.av-cart-items,.av-cart-summary,.av-cart-extra,.av-checkout-card,.av-checkout-review__inner{font-size:12.5px!important}
  .av-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}.av-footer-brand{grid-column:1/-1!important}
}

@media (max-width:390px){
  .av-product-section400 ul.products,.av-home .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .av-product-card__media{height:136px!important;min-height:136px!important}.av-product-card__body{min-height:130px!important}.av-product-card h3{font-size:10.4px!important}.av-product-card__brand,.av-product-card__brand b,.av-product-card__brand span{font-size:7.9px!important}
  .av-collections400__grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.av-collection400 i{width:50px!important;height:50px!important}.av-collection400 strong{font-size:9.6px!important}
  .av-footer__grid{grid-template-columns:1fr!important}.av-footer-brand{grid-column:auto!important}
}
