/* =====================================================================
   Al Arwa Perfumes UI 2.4.0 — all perfume pages (body.arwa-pui = perfume context)
   Light ivory "maison" look: perfume header (logo, nav, right tools), fonts, footer,
   category archives and single product pages. Main store pages never get body.arwa-pui.
   ===================================================================== */
body.arwa-pui{
  --pui-ivory:#F7F3EC;
  --pui-ivory-2:#EFE8DC;
  --pui-sand:#E6DCCB;
  --pui-white:#FDFBF7;
  --pui-espresso:#1B1410;
  --pui-ink:#221B16;
  --pui-muted:#6F6358;
  --pui-line:#E2D8C8;
  --pui-line-dark:rgba(214,190,150,.22);
  --pui-gold:#B08D57;
  --pui-gold-deep:#8E6E3E;
  --pui-gold-light:#D8BC8A;
  --pui-serif:"Bodoni Moda","Bodoni 72",Didot,"Times New Roman",serif;
  --pui-sans:"Jost","Montserrat",Arial,sans-serif;
  --pui-display-wght:500;   /* Bodoni Moda weight for display headings */
  --pui-display-opsz:18;    /* optical size: smaller = sturdier hairlines */
}

/* ---------------------------------------------------------------------
   1. Light canvas + typography for every perfume page
   (overrides the dark perfume-mode palette of perfume.css on archive/product pages)
   --------------------------------------------------------------------- */
body.arwa-pui.perfume-mode,
body.arwa-pui.perfume-mode .website-wrapper,
body.arwa-pui.perfume-mode .wd-page-content,
body.arwa-pui.perfume-mode .main-page-wrapper{
  --perf-bg:#F7F3EC; --perf-bg2:#EFE8DC; --perf-line:#E2D8C8; --perf-text:#221B16; --perf-muted:#6F6358; --perf-gold:#B08D57;
  --wd-primary-color:#B08D57; --wd-alternative-color:#B08D57; --wd-link-color:#221B16; --wd-link-color-hover:#8E6E3E;
  --wd-title-color:#221B16; --wd-text-color:#3A302A; --wd-entities-title-color:#221B16; --wd-entities-title-color-hover:#8E6E3E;
  --wd-form-brd-color:#D9CCB8; --wd-form-bg:#FDFBF7; --wd-main-bgcolor:#F7F3EC; --bgcolor-white:#FDFBF7; --bgcolor-gray-100:#F7F3EC; --bgcolor-gray-200:#EFE8DC;
  --brdcolor-gray-200:#E2D8C8; --brdcolor-gray-300:#D9CCB8;
  --color-gray-900:#221B16; --color-gray-800:#2E2620; --color-gray-700:#3A302A; --color-gray-600:#5A4E44; --color-gray-500:#6F6358; --color-gray-400:#8A7C6D; --color-gray-300:#B5A795;
  --btn-accented-bgcolor:#1B1410; --btn-accented-color:#F7F3EC; --btn-accented-bgcolor-hover:#B08D57;
  background:var(--pui-ivory)!important;color:#3A302A;
}
body.arwa-pui{
  --serif:var(--pui-serif);
  --sans:var(--pui-sans);
  font-family:var(--pui-sans);
}
body.arwa-pui.perfume-mode :is(h1,h2,h3,h4,h5,h6){font-family:var(--pui-serif);color:var(--pui-ink)}
/* Display headings: Bodoni Moda 500 at a sturdier optical size (hairlines stay crisp, not spindly). */
body.arwa-pui .arwa-ph :is(h1,h2,h3,.h-section,.fc-title,.sp-title),
body.arwa-pui .arwa-pui-hero__title,
body.arwa-pui.single-product .product_title{
  font-family:var(--pui-serif);
  font-weight:var(--pui-display-wght);
  font-variation-settings:"opsz" var(--pui-display-opsz);
}
body.arwa-pui .arwa-ph .hs-title{letter-spacing:-.008em}

/* ---------------------------------------------------------------------
   2. Perfume header (desktop + mobile), all perfume pages
   --------------------------------------------------------------------- */
body.arwa-pui{
  --pui-logo-h:92px;
  --pui-logo-m-h:60px;
  --pui-search-w:280px;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main),
body.arwa-pui .whb-clone{background:var(--pui-ivory)!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-row{background-color:var(--pui-ivory)!important;border-color:var(--pui-line)!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-top-bar,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-top-bar .whb-row{background-color:var(--pui-espresso)!important;color:#E9DDC8}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-top-bar :is(a,span,strong){color:#E9DDC8!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) :is(.whb-general-header,.whb-header-bottom){background-color:var(--pui-ivory)!important;border-color:var(--pui-line)!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) :is(.wd-nav > li > a,.wd-header-nav a,.wd-tools-element > a,.wd-header-cart > a,.wd-header-my-account > a,.wd-header-search > a,.wd-header-mobile-nav > a){color:var(--pui-ink)!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) :is(.wd-tools-icon,.wd-tools-element .wd-tools-icon:before){color:var(--pui-ink)!important}

/* Logo: transparent version of the existing logo (swapped by PHP), centred, compact, subtle definition shadow */
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .site-logo img{
  filter:drop-shadow(0 1px 0 rgba(74,52,22,.22)) drop-shadow(0 0 1px rgba(74,52,22,.18));
}

@media (min-width:1025px){
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header-inner:has(> .whb-col-left .site-logo):has(> .whb-col-center .wd-search-form),
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header-inner:has(> .whb-col-center .site-logo){
    display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:24px;
  }
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header-inner:has(> .whb-col-left .site-logo):has(> .whb-col-center .wd-search-form) > .whb-col-left{grid-column:2;grid-row:1;justify-self:center;justify-content:center;width:auto;max-width:none;margin:0}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header-inner:has(> .whb-col-left .site-logo):has(> .whb-col-center .wd-search-form) > .whb-col-center{grid-column:1;grid-row:1;justify-self:start;justify-content:flex-start;width:100%;max-width:var(--pui-search-w);min-width:0;padding:0;margin:0}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header-inner:has(> .whb-col-left .site-logo):has(> .whb-col-center .wd-search-form) > .whb-col-right{grid-column:3;grid-row:1;justify-self:end;justify-content:flex-end;min-width:0;margin:0}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header-inner:has(> .whb-col-center .site-logo) > .whb-col-left{grid-column:1;grid-row:1;justify-self:start;justify-content:flex-start;max-width:var(--pui-search-w);width:100%}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header-inner:has(> .whb-col-center .site-logo) > .whb-col-center{grid-column:2;grid-row:1;justify-self:center}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header-inner:has(> .whb-col-center .site-logo) > .whb-col-right{grid-column:3;grid-row:1;justify-self:end}

  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-visible-lg .site-logo,
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-visible-lg .site-logo .wd-logo{padding:0;margin:0;line-height:0;text-align:center}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-visible-lg .site-logo img{
    height:var(--pui-logo-h)!important;max-height:var(--pui-logo-h)!important;width:auto!important;max-width:none!important;padding:4px 0!important;object-fit:contain;margin-inline:auto;
    transition:height .3s ease;
  }

  /* Search: slim pill on the left */
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-search-form{width:100%;max-width:var(--pui-search-w);margin:0}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform{position:relative;width:100%;max-width:var(--pui-search-w);margin:0}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform input[type=text],
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform input.s{
    height:40px!important;min-height:40px;border-radius:999px!important;border:1px solid #D9CCB8!important;background:#FBF8F2!important;color:var(--pui-ink)!important;
    padding:0 44px 0 42px!important;font:400 13.5px/40px var(--pui-sans)!important;letter-spacing:.02em;box-shadow:none!important;transition:border-color .25s,background .25s;
  }
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform input.s:focus{border-color:var(--pui-gold)!important;background:#fff!important;outline:none}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform input.s::placeholder{color:#8A7C6D;opacity:1}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform .searchsubmit{
    position:absolute;left:0;right:auto;top:0;width:42px;height:40px;background:transparent!important;border:0!important;color:var(--pui-ink)!important;padding:0;display:flex;align-items:center;justify-content:center;
  }
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform .searchsubmit span{font-size:0;line-height:0}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform .searchsubmit:after,
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform .searchsubmit span:before{display:none!important}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .searchform .searchsubmit span{
    display:block;width:17px;height:17px;background:currentColor;
    -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'><circle cx='11' cy='11' r='6.5'/><path d='M16 16l4.5 4.5'/></svg>") center/contain no-repeat;
            mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'><circle cx='11' cy='11' r='6.5'/><path d='M16 16l4.5 4.5'/></svg>") center/contain no-repeat;
  }

  /* Right tools */
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-col-right > .whb-space-element{display:none!important}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-col-right{gap:10px;align-items:center}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-tools-element .wd-tools-text{display:none!important}
  /* Account: icon only (also when the Header Builder element is the "text" Login / Register style) */
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-my-account{display:flex!important}
}

/* Icon buttons: account, wishlist, cart, whatsapp — consistent thin-line glyphs in 44px hit areas */
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-my-account,.wd-header-wishlist,.wd-header-cart,.arwa-pui-wa) > a{
  display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;
  transition:background-color .25s ease,color .25s ease;position:relative;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-my-account,.wd-header-wishlist,.wd-header-cart,.arwa-pui-wa) > a:hover,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-my-account,.wd-header-wishlist,.wd-header-cart,.arwa-pui-wa) > a:focus-visible{
  background:rgba(176,141,87,.14)!important;color:var(--pui-gold-deep)!important;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-my-account,.wd-header-wishlist,.wd-header-cart,.arwa-pui-wa) .wd-tools-icon{
  position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--pui-ink);
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-my-account,.wd-header-wishlist,.wd-header-cart,.arwa-pui-wa) .wd-tools-icon:before{
  content:""!important;display:block;width:22px;height:22px;background:currentColor;font-size:0;transition:background-color .25s ease;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-my-account,.wd-header-wishlist,.wd-header-cart,.arwa-pui-wa) > a:hover .wd-tools-icon{color:var(--pui-gold-deep)}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-my-account .wd-tools-icon:before{
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25'><circle cx='12' cy='8' r='3.8'/><path d='M4.8 20.2c.9-3.9 3.8-6 7.2-6s6.3 2.1 7.2 6'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25'><circle cx='12' cy='8' r='3.8'/><path d='M4.8 20.2c.9-3.9 3.8-6 7.2-6s6.3 2.1 7.2 6'/></svg>") center/contain no-repeat;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-wishlist .wd-tools-icon:before{
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25' stroke-linejoin='round'><path d='M12 20.2 4.6 12.9a4.6 4.6 0 0 1 0-6.5 4.6 4.6 0 0 1 6.5 0l.9.9.9-.9a4.6 4.6 0 0 1 6.5 0 4.6 4.6 0 0 1 0 6.5Z'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25' stroke-linejoin='round'><path d='M12 20.2 4.6 12.9a4.6 4.6 0 0 1 0-6.5 4.6 4.6 0 0 1 6.5 0l.9.9.9-.9a4.6 4.6 0 0 1 6.5 0 4.6 4.6 0 0 1 0 6.5Z'/></svg>") center/contain no-repeat;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-cart .wd-tools-icon:before{
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25' stroke-linejoin='round'><path d='M5.5 8h13l1 12.5h-15Z'/><path d='M9 10.5V6.5a3 3 0 0 1 6 0v4'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25' stroke-linejoin='round'><path d='M5.5 8h13l1 12.5h-15Z'/><path d='M9 10.5V6.5a3 3 0 0 1 6 0v4'/></svg>") center/contain no-repeat;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .arwa-pui-wa .wd-tools-icon:before{
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25' stroke-linejoin='round'><path d='M12 3.5a8.5 8.5 0 0 0-7.3 12.8L3.5 20.5l4.3-1.1A8.5 8.5 0 1 0 12 3.5Z'/><path d='M9 8.6c.2 2.6 3.1 5.6 5.8 6l1.2-1.5-2-1-1 1a5.6 5.6 0 0 1-2.7-2.7l1-1-1-2Z'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25' stroke-linejoin='round'><path d='M12 3.5a8.5 8.5 0 0 0-7.3 12.8L3.5 20.5l4.3-1.1A8.5 8.5 0 1 0 12 3.5Z'/><path d='M9 8.6c.2 2.6 3.1 5.6 5.8 6l1.2-1.5-2-1-1 1a5.6 5.6 0 0 1-2.7-2.7l1-1-1-2Z'/></svg>") center/contain no-repeat;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-my-account,.wd-header-wishlist,.wd-header-cart,.arwa-pui-wa) .wd-tools-icon > svg,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-my-account,.wd-header-wishlist,.wd-header-cart,.arwa-pui-wa) .wd-tools-icon > img{display:none}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .arwa-pui-wa .wd-tools-text,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-my-account .wd-tools-text{display:none!important}
/* Gold count badges */
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header :is(.wd-header-wishlist,.wd-header-cart) .wd-tools-count{
  position:absolute;top:-6px;right:-8px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--pui-gold)!important;color:#fff!important;
  font:500 9.5px/17px var(--pui-sans)!important;letter-spacing:0;text-align:center;box-shadow:0 0 0 2px var(--pui-ivory);display:inline-flex;align-items:center;justify-content:center;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-cart-number > span{display:none!important}

/* ---------------------------------------------------------------------
   3. Navigation row: refined spacing, animated gold underline, gold active state
   --------------------------------------------------------------------- */
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom{border-top:1px solid rgba(226,216,200,.7)!important;border-bottom:1px solid var(--pui-line)!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main{justify-content:center;gap:0}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li{margin:0!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a{
  position:relative;display:inline-flex;align-items:center;height:100%;padding:0 20px!important;
  font-family:var(--pui-sans)!important;font-weight:500!important;font-size:12px!important;letter-spacing:.26em!important;text-transform:uppercase;
  color:#2A221C!important;transition:color .25s ease;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a > .nav-link-text,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a{
  /* underline */
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a:after{
  content:"";position:absolute;left:20px;right:20px;bottom:11px;height:1px;background:var(--pui-gold);
  transform:scaleX(0);transform-origin:center;transition:transform .35s cubic-bezier(.2,.7,.2,1);
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a:hover,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li:hover > a,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.wd-opened > a{color:var(--pui-gold-deep)!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a:hover:after,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li:hover > a:after,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.wd-opened > a:after{transform:scaleX(1)}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li:is(.current-menu-item,.current-menu-ancestor,.current-menu-parent,.current_page_item) > a{color:var(--pui-gold-deep)!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li:is(.current-menu-item,.current-menu-ancestor,.current-menu-parent,.current_page_item) > a:after{transform:scaleX(1)}
/* Remove WoodMart's own underline/hover line if present */
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a .nav-link-text:after{display:none!important}
/* "Back to Al Arwa Store": distinct, tasteful — gold text with a fine divider before it */
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.arwa-pui-back{margin-left:14px!important;padding-left:26px;position:relative}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.arwa-pui-back:before{
  content:"";position:absolute;left:0;top:50%;width:1px;height:16px;background:#D3C3A8;transform:translateY(-50%);
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.arwa-pui-back > a{color:var(--pui-gold-deep)!important;letter-spacing:.2em!important;padding-left:0!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.arwa-pui-back > a:after{left:0}
/* Dropdowns (if the perfume menu has sub-items): clean ivory panel, gold hover */
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .wd-nav-main > li > :is(.wd-dropdown-menu,.sub-menu){
  background:var(--pui-white)!important;border:1px solid var(--pui-line)!important;box-shadow:0 18px 40px -22px rgba(27,20,16,.35)!important;border-radius:0!important;padding:10px 0!important;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .wd-nav-main .sub-menu li > a,
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .wd-nav-main .wd-dropdown-menu li > a{
  font-family:var(--pui-sans)!important;font-size:12px!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--pui-ink)!important;padding:10px 26px!important;
}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .wd-nav-main .sub-menu li > a:hover{color:var(--pui-gold-deep)!important}

/* Sticky compact state (class added by JS when WoodMart's sticky clone is shown / header sticks) */
body.arwa-pui .whb-clone.whb-sticked{box-shadow:0 10px 30px -24px rgba(27,20,16,.45)}
@media (min-width:1025px){
  body.arwa-pui.arwa-pui-scrolled .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-visible-lg .site-logo img{height:64px!important;max-height:64px!important}
  body.arwa-pui .whb-clone.whb-sticked .site-logo img{height:60px!important;max-height:60px!important}
}

/* ---------------------------------------------------------------------
   4. Mobile header: hamburger | centred logo | cart
   --------------------------------------------------------------------- */
@media (max-width:1024px){
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-hidden-lg .site-logo,
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-hidden-lg .site-logo .wd-logo{padding:0;margin:0;line-height:0}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-hidden-lg .site-logo img{
    height:var(--pui-logo-m-h)!important;max-height:var(--pui-logo-m-h)!important;width:auto!important;max-width:min(150px,calc(100vw - 190px))!important;padding:3px 0!important;object-fit:contain;
  }
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .whb-mobile-center{justify-content:center}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-mobile-nav .wd-tools-text{display:none!important}
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-mobile-nav .wd-tools-icon{
    position:relative;display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;
  }
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-mobile-nav .wd-tools-icon:before{
    content:""!important;display:block;width:24px;height:24px;background:currentColor;
    -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25'><path d='M3 8h18M3 16h12'/></svg>") center/contain no-repeat;
            mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25'><path d='M3 8h18M3 16h12'/></svg>") center/contain no-repeat;
  }
  body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-general-header .wd-header-mobile-nav .wd-tools-icon > svg{display:none}
}

/* ---------------------------------------------------------------------
   5. Footer (perfume footer variant from inc/footer.php)
   --------------------------------------------------------------------- */
body.arwa-pui.perfume-mode .wd-prefooter{background:#120D0A!important;border-top:0}
body.arwa-pui.perfume-mode .wd-footer .wd-copyrights{background:#0C0907!important;color:#8E8173!important}
body.arwa-pui .arwa-footer--perfume{font-family:var(--pui-sans)}
body.arwa-pui .arwa-footer--perfume h4{font-family:var(--pui-sans);font-weight:500;letter-spacing:.26em;color:var(--pui-gold-light)}
body.arwa-pui .arwa-footer--perfume .arwa-footer__logo--img img{height:120px;width:auto}
body.arwa-pui .arwa-footer--perfume .arwa-btn--ghost{border:1px solid var(--pui-line-dark);color:#F6EFE3;letter-spacing:.2em;text-transform:uppercase;font-size:11px}
body.arwa-pui .arwa-footer--perfume .arwa-btn--ghost:hover{border-color:var(--pui-gold-light);color:var(--pui-gold-light)}

/* ---------------------------------------------------------------------
   6. Category archive (premium): hero, sub-category pills, toolbar, product cards
   --------------------------------------------------------------------- */
body.arwa-pui .arwa-perfume-archive-hero{display:none!important} /* replaced by .arwa-pui-hero */
body.arwa-pui.archive .wd-page-title,
body.arwa-pui .shop-title-wrapper,
body.arwa-pui .wd-shop-page-title{display:none!important}

.arwa-pui-hero{
  position:relative;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;
  min-height:clamp(250px,24vw,360px);background:var(--pui-ivory-2) center/cover no-repeat;color:var(--pui-ink);
  border-bottom:1px solid var(--pui-line);
}
.arwa-pui-hero.has-image:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(247,243,236,.55),rgba(247,243,236,.82))}
.arwa-pui-hero--dark{color:#F6EFE3}
.arwa-pui-hero--dark.has-image:before{background:linear-gradient(180deg,rgba(18,13,10,.35),rgba(18,13,10,.62))}
.arwa-pui-hero__inner{position:relative;z-index:1;padding:48px 24px;max-width:820px}
.arwa-pui-hero__crumbs{font:400 11.5px/1.4 var(--pui-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--pui-muted);margin:0 0 18px}
.arwa-pui-hero__crumbs a{color:inherit;text-decoration:none;border-bottom:1px solid transparent}
.arwa-pui-hero__crumbs a:hover{border-color:var(--pui-gold)}
.arwa-pui-hero__crumbs .sep{display:inline-block;margin:0 10px;color:var(--pui-gold)}
.arwa-pui-hero--dark .arwa-pui-hero__crumbs{color:#D8C9B2}
.arwa-pui-hero__eyebrow{display:flex;align-items:center;justify-content:center;gap:14px;font:500 11px/1 var(--pui-sans);letter-spacing:.32em;text-transform:uppercase;color:var(--pui-gold-deep);margin:0 0 16px}
.arwa-pui-hero__eyebrow:before,.arwa-pui-hero__eyebrow:after{content:"";width:36px;height:1px;background:var(--pui-gold)}
.arwa-pui-hero--dark .arwa-pui-hero__eyebrow{color:var(--pui-gold-light)}
.arwa-pui-hero__title{font-family:var(--pui-serif);font-weight:var(--pui-display-wght);font-variation-settings:"opsz" var(--pui-display-opsz);font-size:clamp(44px,5.4vw,78px)!important;line-height:1;margin:0;color:inherit!important;letter-spacing:0}
.arwa-pui-hero__desc{max-width:600px;margin:18px auto 0;font:400 15px/1.7 var(--pui-sans);color:var(--pui-muted)}
.arwa-pui-hero--dark .arwa-pui-hero__desc{color:#E2D6C4}
.arwa-pui-hero__count{margin:16px 0 0;font:400 11px/1 var(--pui-sans);letter-spacing:.26em;text-transform:uppercase;color:var(--pui-muted)}

/* Sub-category pills */
.arwa-pui-subcats{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:26px 20px 0;margin:0;list-style:none}
.arwa-pui-subcats li{margin:0;list-style:none}
.arwa-pui-subcats a{
  display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border:1px solid #D3C3A8;border-radius:999px;background:transparent;
  font:500 11.5px/1 var(--pui-sans)!important;letter-spacing:.2em;text-transform:uppercase;color:var(--pui-ink)!important;text-decoration:none;transition:background .25s,border-color .25s,color .25s;
}
.arwa-pui-subcats a:hover{border-color:var(--pui-gold);color:var(--pui-gold-deep)!important}
.arwa-pui-subcats a.is-active{background:var(--pui-espresso);border-color:var(--pui-espresso);color:#F7F3EC!important}
.arwa-pui-subcats .n{font-size:10px;letter-spacing:.05em;color:var(--pui-muted)}
.arwa-pui-subcats a.is-active .n{color:#D8BC8A}

/* Toolbar: result count + ordering */
body.arwa-pui .shop-loop-head,
body.arwa-pui .wd-shop-tools{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:18px 0;margin:22px 0 30px;border-top:1px solid var(--pui-line);border-bottom:1px solid var(--pui-line);
}
body.arwa-pui .shop-loop-head .wd-shop-tools{
  width:100%;padding:0!important;margin:0!important;border:0!important;
}
body.arwa-pui .wd-shop-tools .wd-shop-tools{padding:0!important;margin:0!important;border:0!important}
body.arwa-pui .woocommerce-result-count{margin:0!important;font:400 12px/1.4 var(--pui-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--pui-muted)!important;float:none!important}
body.arwa-pui .woocommerce-ordering{margin:0!important;float:none!important;position:relative}
body.arwa-pui .woocommerce-ordering select.orderby,
body.arwa-pui select.orderby{
  -webkit-appearance:none;appearance:none;min-width:220px;height:42px;padding:0 40px 0 18px;border:1px solid #D3C3A8!important;border-radius:999px!important;background-color:#FBF8F2!important;color:var(--pui-ink)!important;
  font:400 12.5px/42px var(--pui-sans)!important;letter-spacing:.08em;cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23B08D57' stroke-width='1.2'><path d='M1 1.5l5 5 5-5'/></svg>")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:11px 8px!important;
}
body.arwa-pui .woocommerce-ordering select.orderby:focus{outline:none;border-color:var(--pui-gold)!important}
body.arwa-pui .wd-shop-tools .wd-show-sidebar-btn,
body.arwa-pui .wd-off-canvas-btn{font-family:var(--pui-sans);letter-spacing:.16em;text-transform:uppercase;font-size:12px}

/* Product grid + cards */
body.arwa-pui ul.products,
body.arwa-pui .wd-products{row-gap:44px}
body.arwa-pui :is(ul.products li.product,.wd-product){text-align:center;background:transparent!important;border:0!important;box-shadow:none!important}
body.arwa-pui :is(.wd-product,.products li.product) .product-wrapper{background:transparent!important;box-shadow:none!important;border:0!important}
body.arwa-pui :is(.wd-product,.products li.product) .product-element-top{
  position:relative;overflow:hidden;background:var(--pui-sand)!important;border-radius:0!important;aspect-ratio:4/5;
}
body.arwa-pui :is(.wd-product,.products li.product) .product-image-link{display:block;height:100%}
body.arwa-pui :is(.wd-product,.products li.product) .product-element-top img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.7,.2,1),opacity .5s ease}
body.arwa-pui :is(.wd-product,.products li.product):hover .product-element-top img{transform:scale(1.035)}
/* hover image swap (WoodMart outputs .hover-img with the second gallery image) */
body.arwa-pui :is(.wd-product,.products li.product) .hover-img{position:absolute;inset:0;opacity:0;transition:opacity .5s ease}
body.arwa-pui :is(.wd-product,.products li.product) .hover-img img{width:100%;height:100%;object-fit:cover}
body.arwa-pui :is(.wd-product,.products li.product):hover .hover-img{opacity:1}
/* quick add: slides up on hover (desktop), always visible on touch */
body.arwa-pui :is(.wd-product,.products li.product) .wd-add-btn{
  position:absolute;left:14px;right:14px;bottom:14px;z-index:3;opacity:0;transform:translateY(10px);transition:opacity .35s ease,transform .35s ease;
}
@media (hover:none){body.arwa-pui :is(.wd-product,.products li.product) .wd-add-btn{opacity:1;transform:none}}
body.arwa-pui :is(.wd-product,.products li.product):hover .wd-add-btn,
body.arwa-pui :is(.wd-product,.products li.product):focus-within .wd-add-btn{opacity:1;transform:none}
body.arwa-pui :is(.wd-product,.products li.product) .wd-add-btn > a,
body.arwa-pui :is(.wd-product,.products li.product) .wd-add-btn .button{
  display:flex!important;align-items:center;justify-content:center;width:100%;min-height:44px;padding:0 16px!important;border-radius:0!important;
  background:rgba(27,20,16,.92)!important;color:#F7F3EC!important;border:1px solid rgba(27,20,16,.92)!important;box-shadow:none!important;
  font:500 11px/1 var(--pui-sans)!important;letter-spacing:.22em;text-transform:uppercase;transition:background .25s,border-color .25s;
}
body.arwa-pui :is(.wd-product,.products li.product) .wd-add-btn > a:hover{background:var(--pui-gold)!important;border-color:var(--pui-gold)!important;color:#1B1410!important}
body.arwa-pui :is(.wd-product,.products li.product) .product-element-bottom{padding:18px 8px 0!important;background:transparent!important;text-align:center}
body.arwa-pui :is(.wd-product,.products li.product) .wd-product-cats a{display:inline}
body.arwa-pui :is(.wd-product,.products li.product) .wd-product-cats,
body.arwa-pui :is(.wd-product,.products li.product) .arwa-card-family{
  display:block;font:500 10.5px/1.6 var(--pui-sans)!important;letter-spacing:.26em;text-transform:uppercase;color:var(--pui-gold-deep)!important;margin:0 0 8px;
}
body.arwa-pui :is(.wd-product,.products li.product) .wd-entities-title,
body.arwa-pui :is(.wd-product,.products li.product) .woocommerce-loop-product__title{
  font-family:var(--pui-serif)!important;font-weight:500!important;font-variation-settings:"opsz" 18;font-size:22px!important;line-height:1.2;letter-spacing:.005em;margin:0 0 8px;color:var(--pui-ink)!important;
}
body.arwa-pui :is(.wd-product,.products li.product) .wd-entities-title a{color:inherit!important}
body.arwa-pui :is(.wd-product,.products li.product) .wd-entities-title a:hover{color:var(--pui-gold-deep)!important}
body.arwa-pui :is(.wd-product,.products li.product) .price,
body.arwa-pui :is(.wd-product,.products li.product) .price .amount{font:400 14px/1.4 var(--pui-sans)!important;letter-spacing:.06em;color:#4A3E33!important}
body.arwa-pui :is(.wd-product,.products li.product) .price del{opacity:.55;margin-right:6px}
body.arwa-pui :is(.wd-product,.products li.product) .price ins{text-decoration:none;color:var(--pui-gold-deep)!important}
body.arwa-pui :is(.wd-product,.products li.product) .star-rating{margin:6px auto 0}
body.arwa-pui :is(.wd-product,.products li.product) .onsale,
body.arwa-pui :is(.wd-product,.products li.product) .product-labels .product-label{
  background:var(--pui-gold)!important;color:#fff!important;border-radius:0!important;font:500 10px/1 var(--pui-sans)!important;letter-spacing:.18em;text-transform:uppercase;padding:7px 9px!important;
}
body.arwa-pui .arwa-ref-badge{background:rgba(27,20,16,.75);color:#F1E8DA}
/* wishlist/compare/quick view icons on cards */
body.arwa-pui :is(.wd-product,.products li.product) .wd-buttons .wd-action-btn > a{color:var(--pui-ink)!important}
/* pagination */
body.arwa-pui .woocommerce-pagination ul{border:0!important;display:flex;justify-content:center;gap:6px}
body.arwa-pui .woocommerce-pagination ul li{border:0!important}
body.arwa-pui .woocommerce-pagination ul li :is(a,span){
  display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;border:1px solid #D3C3A8!important;border-radius:50%;background:transparent!important;color:var(--pui-ink)!important;
  font:500 12px/1 var(--pui-sans)!important;
}
body.arwa-pui .woocommerce-pagination ul li span.current{background:var(--pui-espresso)!important;border-color:var(--pui-espresso)!important;color:#F7F3EC!important}
/* sidebar filters / widgets on perfume archives */
body.arwa-pui .widget-area .widget,
body.arwa-pui .wd-sidebar .widget{border-color:var(--pui-line)}
body.arwa-pui .widget-area .widget-title,
body.arwa-pui .wd-sidebar .widget-title{font-family:var(--pui-sans)!important;font-size:12px!important;letter-spacing:.24em;text-transform:uppercase;color:var(--pui-ink)!important}
body.arwa-pui .widget a{color:#3A302A}
body.arwa-pui .widget a:hover{color:var(--pui-gold-deep)}
body.arwa-pui .price_slider_wrapper .ui-slider .ui-slider-range{background:var(--pui-gold)}
body.arwa-pui .price_slider_wrapper .ui-slider .ui-slider-handle{background:var(--pui-espresso);border-color:var(--pui-espresso)}

/* ---------------------------------------------------------------------
   7. Single product (perfume)
   --------------------------------------------------------------------- */
body.arwa-pui.single-product .product_title{font-size:clamp(38px,3.8vw,58px)!important;line-height:1.02;letter-spacing:0;margin-bottom:14px}
body.arwa-pui.single-product .summary .price,
body.arwa-pui.single-product .summary .price .amount{font:400 20px/1.3 var(--pui-sans)!important;letter-spacing:.04em;color:var(--pui-ink)!important}
body.arwa-pui.single-product .woocommerce-product-gallery{background:var(--pui-sand)}
body.arwa-pui.single-product .woocommerce-product-details__short-description{font:400 15px/1.8 var(--pui-sans);color:#4A3E33}
body.arwa-pui.single-product .wd-breadcrumbs,
body.arwa-pui.single-product .woocommerce-breadcrumb{font:400 11.5px/1.4 var(--pui-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--pui-muted)!important}
body.arwa-pui.single-product form.cart .single_add_to_cart_button{
  min-height:52px;padding:0 36px!important;border-radius:0!important;background:var(--pui-espresso)!important;color:#F7F3EC!important;border:1px solid var(--pui-espresso)!important;
  font:500 12px/1 var(--pui-sans)!important;letter-spacing:.24em;text-transform:uppercase;transition:background .25s,border-color .25s;
}
body.arwa-pui.single-product form.cart .single_add_to_cart_button:hover{background:var(--pui-gold)!important;border-color:var(--pui-gold)!important;color:#1B1410!important}
body.arwa-pui.single-product .quantity input,
body.arwa-pui.single-product .quantity .minus,
body.arwa-pui.single-product .quantity .plus{background:#FBF8F2!important;color:var(--pui-ink)!important;border-color:#D3C3A8!important}
body.arwa-pui .wd-swatch.wd-text,
body.arwa-pui .variations select{border-color:#D3C3A8!important;background:#FBF8F2!important;color:var(--pui-ink)!important;border-radius:0!important}
body.arwa-pui .wd-swatch.wd-text.wd-active,
body.arwa-pui .wd-swatch.wd-active{border-color:var(--pui-espresso)!important;background:var(--pui-espresso)!important;color:#F7F3EC!important}
body.arwa-pui.single-product .product_meta{font:400 12px/1.8 var(--pui-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--pui-muted);border-top:1px solid var(--pui-line);padding-top:18px}
body.arwa-pui.single-product .product_meta a{color:var(--pui-ink)}
body.arwa-pui .woocommerce-tabs,
body.arwa-pui .wd-accordion,
body.arwa-pui .wd-single-tabs{border-color:var(--pui-line)!important}
body.arwa-pui .woocommerce-tabs .tabs a,
body.arwa-pui .wd-nav-tabs a{font-family:var(--pui-sans)!important;letter-spacing:.2em;text-transform:uppercase;font-size:12px}
body.arwa-pui.perfume-mode .wd-nav-tabs > li > a, body.arwa-pui.perfume-mode .tabs.wc-tabs li a{color:var(--pui-muted)!important}
body.arwa-pui.perfume-mode .wd-nav-tabs > li.active > a, body.arwa-pui.perfume-mode .tabs.wc-tabs li.active a{color:var(--pui-ink)!important}
body.arwa-pui .related-products > h2,
body.arwa-pui .related > h2,
body.arwa-pui .upsells > h2{text-align:center;font-family:var(--pui-serif)!important;font-weight:500!important;font-variation-settings:"opsz" 18;font-size:clamp(34px,3.4vw,50px)!important}
/* fragrance profile block (plugin markup) — light */
body.arwa-pui .arwa-fragrance{border-color:var(--pui-line)}
body.arwa-pui .arwa-pyramid{background:var(--pui-line);border-color:var(--pui-line)}
body.arwa-pui .arwa-pyramid__tier{background:var(--pui-white)}
body.arwa-pui .arwa-pyramid__tier p{color:var(--pui-ink)}
body.arwa-pui .arwa-fragrance__details div{border-color:var(--pui-line)}
body.arwa-pui .arwa-fragrance__details dd{color:var(--pui-ink)}
body.arwa-pui .arwa-fragrance__story p{color:#3A302A}

/* Slide-out mini cart (WoodMart side cart) */
body.arwa-pui .cart-widget-side{background:var(--pui-ivory)!important;color:var(--pui-ink)}
body.arwa-pui .cart-widget-side .wd-heading{border-bottom:1px solid var(--pui-line);background:var(--pui-ivory)}
body.arwa-pui .cart-widget-side .wd-heading .title{font-family:var(--pui-serif)!important;font-weight:500;font-size:24px;letter-spacing:.02em;text-transform:none;color:var(--pui-ink)}
body.arwa-pui .cart-widget-side .woocommerce-mini-cart-item{border-bottom:1px solid var(--pui-line)}
body.arwa-pui .cart-widget-side .woocommerce-mini-cart__total{border-top:1px solid var(--pui-line);font-family:var(--pui-sans);letter-spacing:.08em}
body.arwa-pui .cart-widget-side .woocommerce-mini-cart__buttons a.button{
  border-radius:0!important;font:500 11.5px/1 var(--pui-sans)!important;letter-spacing:.22em;text-transform:uppercase;min-height:48px;
}
body.arwa-pui .cart-widget-side .woocommerce-mini-cart__buttons a.checkout{background:var(--pui-espresso)!important;color:#F7F3EC!important}

@media (max-width:767px){
  .arwa-pui-hero{min-height:210px}
  .arwa-pui-hero__inner{padding:36px 18px}
  .arwa-pui-subcats{gap:8px;padding:18px 12px 0}
  .arwa-pui-subcats a{padding:10px 16px;font-size:10.5px!important;letter-spacing:.16em}
  body.arwa-pui .shop-loop-head,body.arwa-pui .wd-shop-tools{margin:16px 0 20px;padding:12px 0}
  body.arwa-pui :is(.wd-product,.products li.product) .wd-entities-title{font-size:18px!important}
  body.arwa-pui ul.products,.arwa-pui .wd-products{row-gap:30px}
}

/* ---------------------------------------------------------------------
   2.4.0 polish: editorial category hero (text left, artwork right), lighter veil
   --------------------------------------------------------------------- */
@media (min-width:768px){
  .arwa-pui-hero{justify-content:flex-start;text-align:left;background-position:center right;min-height:clamp(240px,21vw,320px)}
  .arwa-pui-hero.has-image:before{background:linear-gradient(90deg,rgba(247,243,236,.96) 0%,rgba(247,243,236,.9) 34%,rgba(247,243,236,.45) 58%,rgba(247,243,236,.05) 80%)}
  .arwa-pui-hero__inner{width:100%;max-width:1320px;margin:0 auto;padding:44px 40px}
  .arwa-pui-hero__desc{margin-left:0}
}
@media (max-width:767px){
  .arwa-pui-hero{background-position:72% center}
  .arwa-pui-hero.has-image:before{background:linear-gradient(180deg,rgba(247,243,236,.62),rgba(247,243,236,.8))}
}

/* 2.4.0 polish: nav items fill the row height so the underline sits just under the label, consistently */
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main{align-items:stretch}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li{display:flex;align-items:stretch}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a{align-self:stretch}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li > a:after{bottom:calc(50% - 15px)}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.arwa-pui-back:before{height:14px}

/* 2.4.0 polish: sticky perfume header on scroll (CSS sticky; WoodMart's own sticky clone, if enabled, takes over) */
body.arwa-pui .whb-header:not(.whb-header_arwa_main){position:sticky;top:0;z-index:390;transition:box-shadow .3s ease}
body.arwa-pui.admin-bar .whb-header:not(.whb-header_arwa_main){top:32px}
@media (max-width:782px){body.arwa-pui.admin-bar .whb-header:not(.whb-header_arwa_main){top:46px}}
body.arwa-pui:has(.whb-clone.whb-sticked) .whb-header:not(.whb-header_arwa_main){position:relative;top:auto}
body.arwa-pui.arwa-pui-scrolled .whb-header:not(.whb-header_arwa_main){box-shadow:0 12px 30px -26px rgba(27,20,16,.55)}
/* Compact sticky state: hide the announcement top bar once scrolled (only inside the sticky header) */
body.arwa-pui.arwa-pui-scrolled .whb-header:not(.whb-header_arwa_main) .whb-top-bar{display:none!important}
body.arwa-pui .whb-clone.whb-sticked .whb-top-bar{display:none!important}

/* 2.4.0 polish: perfume product names are long ("… Eau de Parfum for Men | Al Arwa"); allow 3 lines instead of 2 */
body.arwa-pui .wd-product .wd-entities-title,
body.arwa-pui .products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* Related products: default WooCommerce buttons -> perfume style */
body.arwa-pui .related .products li.product > a.button,
body.arwa-pui .related-products .products li.product > a.button,
body.arwa-pui ul.products li.product > a.button{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 22px!important;border-radius:0!important;
  background:transparent!important;color:var(--pui-ink)!important;border:1px solid var(--pui-espresso)!important;
  font:500 11px/1 var(--pui-sans)!important;letter-spacing:.22em;text-transform:uppercase;transition:background .25s,color .25s;
}
body.arwa-pui .related .products li.product > a.button:hover,
body.arwa-pui ul.products li.product > a.button:hover{background:var(--pui-espresso)!important;color:#F7F3EC!important}
.arwa-pui-hero__title--search{font-size:clamp(34px,4vw,60px)!important}

/* 2.4.0 polish: single product quantity + add to cart on one refined row */
body.arwa-pui.single-product form.cart:not(.variations_form) ,
body.arwa-pui.single-product form.cart .woocommerce-variation-add-to-cart{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}
body.arwa-pui.single-product form.cart .quantity{display:inline-flex;align-items:center;height:52px;border:1px solid #D3C3A8;background:#FBF8F2}
body.arwa-pui.single-product form.cart .quantity input.qty{height:50px!important;width:56px!important;border:0!important;text-align:center;font:400 15px var(--pui-sans)!important;box-shadow:none!important;-moz-appearance:textfield;appearance:textfield}
body.arwa-pui.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
body.arwa-pui.single-product form.cart .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
body.arwa-pui.single-product form.cart .single_add_to_cart_button.disabled,
body.arwa-pui.single-product form.cart .single_add_to_cart_button:disabled{background:var(--pui-espresso)!important;border-color:var(--pui-espresso)!important;color:#F7F3EC!important;opacity:1}
body.arwa-pui.single-product table.variations th.label label{font:500 11.5px/1 var(--pui-sans)!important;letter-spacing:.24em;text-transform:uppercase;color:var(--pui-muted)}
/* Category hero artwork: keep bottle caps in frame */
.arwa-pui-hero.has-image{background-position:right 62%}
@media (max-width:767px){.arwa-pui-hero.has-image{background-position:72% 60%}}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.arwa-pui-current > a{color:var(--pui-gold-deep)!important}
body.arwa-pui .whb-header:not(.whb-header_arwa_main) .whb-header-bottom .wd-nav-main > li.arwa-pui-current > a:after{transform:scaleX(1)}
@media (max-width:767px){
  .arwa-pui-subcats{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:18px 16px 4px;scroll-padding-left:16px}
  .arwa-pui-subcats::-webkit-scrollbar{display:none}
  .arwa-pui-subcats li{flex:0 0 auto}
  .arwa-pui-subcats-wrap{position:relative}
}
