/* Arabira 3.7.5 — cautious visual refinements layered after the stable 3.7.4 UI. */

/* -------------------------------------------------------------------------
 * Mobile filter drawer: explicit geometry and click-safe open state.
 * ------------------------------------------------------------------------- */
.arso-filter-drawer[hidden]{display:none!important}
.arso-filter-drawer:not([hidden]){display:block!important;position:fixed!important;inset:0!important;z-index:100050!important;pointer-events:auto!important}
.arso-filter-drawer__backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;background:rgba(42,25,36,.38)!important;backdrop-filter:blur(2px)!important;cursor:pointer!important}
.arso-filter-drawer__panel{position:absolute!important;right:0!important;bottom:0!important;top:auto!important;width:min(430px,94vw)!important;max-height:min(86vh,760px)!important;display:flex!important;flex-direction:column!important;border-radius:24px 24px 0 0!important;background:#fff!important;box-shadow:0 -20px 55px rgba(37,20,31,.25)!important;overflow:hidden!important;transform:translateY(0)!important}
.arso-filter-drawer__head{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:62px!important;padding:12px 16px!important;border-bottom:1px solid #f1dfe8!important;background:linear-gradient(135deg,#fff8fc,#fff)!important}
.arso-filter-drawer__head strong{font-size:17px!important;color:#31242c!important}
.arso-filter-drawer__head button{display:grid!important;width:42px!important;height:42px!important;place-items:center!important;border:1px solid #eed8e4!important;border-radius:13px!important;background:#fff!important;color:#d72f87!important;font-size:27px!important;line-height:1!important}
.arso-filter-drawer__body{min-height:0!important;overflow:auto!important;padding:14px!important;-webkit-overflow-scrolling:touch!important}
html.arso-filter-drawer-open,html.arso-filter-drawer-open body{overflow:hidden!important}
@media(min-width:768px){.arso-floating-filter,.arso-filter-drawer{display:none!important}}
@media(max-width:767px){.arso-floating-filter{display:flex!important;position:fixed!important;right:14px!important;bottom:calc(var(--arso-nav-371-h,84px) + env(safe-area-inset-bottom) + 13px)!important;z-index:9990!important;align-items:center!important;justify-content:center!important;gap:7px!important}.arso-floating-filter svg{width:23px!important;height:23px!important}}

/* -------------------------------------------------------------------------
 * Catalogue cards: shorter, wider-looking and without clipped lower rows.
 * ------------------------------------------------------------------------- */
body.post-type-archive-product .product-grid-item>.product-wrapper,
body.tax-product_cat .product-grid-item>.product-wrapper,
body.tax-product_tag .product-grid-item>.product-wrapper,
body.tax-product_brand .product-grid-item>.product-wrapper,
body.post-type-archive-product .wd-product>.product-wrapper,
.arso-growth-product-card{
  min-height:0!important;height:auto!important;overflow:visible!important;
  border-radius:18px!important;background:#fff!important
}
body.post-type-archive-product .product-grid-item .product-element-top,
body.tax-product_cat .product-grid-item .product-element-top,
body.tax-product_tag .product-grid-item .product-element-top,
body.tax-product_brand .product-grid-item .product-element-top,
body.post-type-archive-product .wd-product .product-element-top,
.arso-growth-product-card__image{
  height:166px!important;min-height:166px!important;overflow:hidden!important;border-radius:17px 17px 0 0!important
}
body.post-type-archive-product .product-grid-item .product-element-bottom,
body.tax-product_cat .product-grid-item .product-element-bottom,
body.tax-product_tag .product-grid-item .product-element-bottom,
body.tax-product_brand .product-grid-item .product-element-bottom,
body.post-type-archive-product .wd-product .product-element-bottom,
.arso-growth-product-card__body{
  min-height:174px!important;height:auto!important;overflow:visible!important;padding:9px 10px 10px!important
}
body.post-type-archive-product .product-grid-item .wd-entities-title,
body.tax-product_cat .product-grid-item .wd-entities-title,
body.tax-product_tag .product-grid-item .wd-entities-title,
body.tax-product_brand .product-grid-item .wd-entities-title,
body.post-type-archive-product .wd-product .wd-entities-title,
.arso-growth-product-card__title{
  min-height:42px!important;max-height:42px!important;margin:3px 0 5px!important;font-size:12px!important;line-height:1.72!important
}
body.post-type-archive-product .product-grid-item .wd-product-cats,
body.post-type-archive-product .product-grid-item .product-category,
body.post-type-archive-product .product-grid-item .product-excerpt,
body.tax-product_cat .product-grid-item .wd-product-cats,
body.tax-product_cat .product-grid-item .product-category,
body.tax-product_cat .product-grid-item .product-excerpt,
body.tax-product_tag .product-grid-item .wd-product-cats,
body.tax-product_tag .product-grid-item .product-category,
body.tax-product_tag .product-grid-item .product-excerpt,
.wd-product .wd-product-cats,.wd-product .product-category,.wd-product .product-excerpt{
  min-height:23px!important;max-height:23px!important;margin:0 0 3px!important;font-size:9.5px!important;line-height:1.55!important;-webkit-line-clamp:1!important;visibility:visible!important;color:#8e838a!important
}
body.post-type-archive-product .product-grid-item .price,
body.tax-product_cat .product-grid-item .price,
body.tax-product_tag .product-grid-item .price,
body.tax-product_brand .product-grid-item .price,
.wd-product .price,.arso-growth-product-price{
  min-height:29px!important;margin:3px 0 0!important;font-size:11.5px!important
}
body.post-type-archive-product .product-grid-item .stock.in-stock,
body.tax-product_cat .product-grid-item .stock.in-stock,
body.tax-product_tag .product-grid-item .stock.in-stock,
.wd-product .stock.in-stock,.arso-growth-stock{min-height:14px!important;margin:0!important}
.arso-loop-actions,.arso-growth-card-actions{min-height:43px!important;margin-top:4px!important;overflow:visible!important}
.arso-loop-actions .arso-loop-add,.arso-growth-card-actions .arso-growth-native-add{min-height:42px!important;height:42px!important}
.product-grid-item [class*="torobpay"],.wd-product [class*="torobpay"]{position:relative!important;z-index:1!important;max-height:28px!important;min-height:24px!important;margin-top:5px!important;overflow:hidden!important}
.product-grid-item .product-information,.wd-product .product-information,.product-grid-item .product-element-bottom,.wd-product .product-element-bottom{clip:auto!important;clip-path:none!important;transform:none!important}
.products.wd-products,ul.products{row-gap:14px!important}

/* Remove every percentage badge from cards; Beauty Party uses one small gift. */
body.post-type-archive-product .product-labels,
body.tax-product_cat .product-labels,
body.tax-product_tag .product-labels,
body.tax-product_brand .product-labels,
.arso-growth-sale-badge,
.arso-growth-product-card .onsale,
.arso-personal-shelf .product-labels,
.arso-party-featured .product-labels,
.arso-party-daily-products .product-labels{display:none!important}
.arso-native-beauty-badge,.arso-product-beauty-badge{position:absolute!important;top:9px!important;right:9px!important;z-index:25!important;display:grid!important;width:34px!important;height:34px!important;place-items:center!important;border:2px solid #fff!important;border-radius:11px!important;background:#fff4fa!important;box-shadow:0 7px 18px rgba(221,44,135,.19)!important;pointer-events:none!important}
.arso-native-beauty-badge svg,.arso-product-beauty-badge svg{width:28px!important;height:28px!important;display:block!important}

@media(max-width:767px){
  body.post-type-archive-product .products.wd-products,
  body.tax-product_cat .products.wd-products,
  body.tax-product_tag .products.wd-products,
  body.tax-product_brand .products.wd-products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 8px!important}
  body.post-type-archive-product .product-grid-item,
  body.tax-product_cat .product-grid-item,
  body.tax-product_tag .product-grid-item,
  body.tax-product_brand .product-grid-item{width:auto!important;max-width:none!important;padding:0!important}
  body.post-type-archive-product .product-grid-item .product-element-top,
  body.tax-product_cat .product-grid-item .product-element-top,
  body.tax-product_tag .product-grid-item .product-element-top,
  body.tax-product_brand .product-grid-item .product-element-top,
  .arso-growth-product-card__image{height:144px!important;min-height:144px!important}
  body.post-type-archive-product .product-grid-item .product-element-bottom,
  body.tax-product_cat .product-grid-item .product-element-bottom,
  body.tax-product_tag .product-grid-item .product-element-bottom,
  body.tax-product_brand .product-grid-item .product-element-bottom,
  .arso-growth-product-card__body{min-height:166px!important;padding:8px 8px 9px!important}
  body.post-type-archive-product .product-grid-item .wd-entities-title,
  body.tax-product_cat .product-grid-item .wd-entities-title,
  body.tax-product_tag .product-grid-item .wd-entities-title,
  body.tax-product_brand .product-grid-item .wd-entities-title,
  .arso-growth-product-card__title{min-height:40px!important;max-height:40px!important;font-size:10.8px!important;line-height:1.72!important}
  .arso-loop-actions .arso-loop-add b,.arso-growth-card-actions .arso-growth-native-add b{font-size:9.5px!important}
  .arso-native-beauty-badge,.arso-product-beauty-badge{width:30px!important;height:30px!important;top:7px!important;right:7px!important}.arso-native-beauty-badge svg,.arso-product-beauty-badge svg{width:25px!important;height:25px!important}
}

/* -------------------------------------------------------------------------
 * Account navigation and order presentation.
 * ------------------------------------------------------------------------- */
.woocommerce-account .woocommerce-MyAccount-navigation li a:before{display:grid!important;width:30px!important;height:30px!important;place-items:center!important;flex:0 0 30px!important;margin-left:8px!important;border-radius:10px!important;background:#fff0f7!important;color:#ed3c97!important;font-size:15px!important;font-weight:900!important}
.woocommerce-MyAccount-navigation-link--arabira-profile a:before{content:'✦'!important}
.woocommerce-MyAccount-navigation-link--orders a:before{content:'▣'!important}
.woocommerce-MyAccount-navigation-link--arabira-addresses a:before{content:'⌖'!important}
.woocommerce-MyAccount-navigation-link--arabira-wishlist a:before{content:'♡'!important}
.woocommerce-MyAccount-navigation-link--arabira-club a:before{content:'★'!important}
.woocommerce-MyAccount-navigation-link--edit-account a:before{content:'⚙'!important}
.woocommerce-MyAccount-navigation-link--payment-methods a:before{content:'◉'!important}
.woocommerce-MyAccount-navigation-link--customer-logout a:before{content:'↪'!important}
.arso-order-products-mini{display:flex;flex-wrap:wrap;gap:7px}.arso-order-product-mini{display:grid;grid-template-columns:44px minmax(80px,1fr) auto;align-items:center;gap:6px;max-width:260px;padding:5px;border:1px solid #f0dce7;border-radius:11px;background:#fff}.arso-order-product-mini img{width:44px!important;height:44px!important;object-fit:contain!important;border-radius:8px}.arso-order-product-mini b{font-size:10px;line-height:1.5}.arso-order-product-mini small{color:#ed3c97;font-weight:900}.arso-account-order-item{display:inline-flex;align-items:center;gap:9px}.arso-account-order-item img{width:52px!important;height:52px!important;object-fit:contain!important;border:1px solid #f2e1e9;border-radius:10px}

/* Loyalty blocks in customer dashboard. */
.arso-loyalty-compact,.arso-repeat-loyalty{margin:0 0 18px;padding:16px;border:1px solid #f0d7e4;border-radius:18px;background:linear-gradient(135deg,#fff1f8,#fff);box-shadow:0 10px 28px rgba(94,45,73,.07)}
.arso-loyalty-compact{display:flex;align-items:center;gap:12px}.arso-loyalty-compact>span,.arso-repeat-loyalty__head>span{display:grid;width:48px;height:48px;place-items:center;flex:0 0 48px;border-radius:15px;background:linear-gradient(135deg,#ec3b95,#ff76b8);color:#fff;font-size:23px}.arso-loyalty-compact div{flex:1}.arso-loyalty-compact small{display:block;color:#a6507c}.arso-loyalty-compact strong{font-size:18px;color:#34252e}.arso-loyalty-compact p{margin:3px 0 0;color:#77666f;font-size:11px}.arso-loyalty-compact em{padding:6px 10px;border-radius:999px;background:#fff;color:#d52c84;font-size:10px;font-style:normal;font-weight:900}.arso-repeat-loyalty__head{display:flex;align-items:center;gap:13px}.arso-repeat-loyalty__head h2{margin:2px 0!important}.arso-repeat-loyalty__services{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.arso-repeat-loyalty__services span{padding:10px;border:1px solid #f1dce7;border-radius:12px;background:#fff}.arso-repeat-loyalty__next{margin:12px 0 0!important;padding:10px;border-radius:12px;background:#fff6fb;text-align:center}.arso-repeat-loyalty__next b{color:#ee3a96;font-size:18px}

/* Standalone home-page preview always has usable width. */
.arso-home-standalone-preview{margin:0!important;background:#fff8fc!important}.arso-home-preview-shell{width:min(1440px,100%);margin:auto;padding:18px}.arso-home-preview-shell .arso-homepage{display:block!important;visibility:visible!important}.arso-home-preview-note{position:relative;z-index:2;margin:0 auto 15px;padding:11px 15px;border:1px solid #f1cfe0;border-radius:13px;background:#fff;color:#b52f73;text-align:center;font-weight:850}
.product-grid-item>.product-wrapper,.wd-product>.product-wrapper,ul.products li.product>.product-wrapper,.arso-growth-product-card{position:relative!important}
