/* =========================================================
   SRG Modern refresh — HEADER (desktop + mobile + dropdowns + side cart)
   2026-09-30 — visual only
   ========================================================= */

/* Header shell: frosted glass + brand accent line */
.whb-header{position:relative;}
.whb-header .whb-general-header{
  background:rgba(255,255,255,.86) !important;
  backdrop-filter:saturate(160%) blur(14px);-webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--srg-line) !important;
  transition:box-shadow .3s ease, background .3s ease;
}
.whb-header .whb-general-header::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;z-index:2;pointer-events:none;
  background:linear-gradient(90deg,#FCE1EC 0%,#EE3E81 35%,#E63B7A 65%,#FCE1EC 100%);
}
.whb-sticked .whb-general-header,
.whb-header.whb-sticked .whb-general-header{
  background:rgba(255,255,255,.92) !important;
  box-shadow:0 12px 30px -20px rgba(51,53,63,.35) !important;
}
.whb-header .whb-sticky-shadow.whb-sticked .whb-main-header{box-shadow:none;}

/* Logo */
.whb-header .site-logo .wd-logo img{transition:transform .35s cubic-bezier(.2,.8,.2,1);}
.whb-header .site-logo .wd-logo:hover img{transform:scale(1.05) rotate(-2deg);}

/* Main nav links -> soft pills */
.whb-header .wd-nav-main{gap:2px;}
.whb-header .wd-nav-main > li > a{
  position:relative;border-radius:999px;padding:9px 16px !important;height:auto !important;
  font-weight:600;font-size:15px;color:var(--srg-dark);transition:background .25s ease, color .25s ease;
}
.whb-header .wd-nav-main > li > a:hover,
.whb-header .wd-nav-main > li:hover > a{background:var(--srg-soft);color:var(--srg-pink) !important;}
.whb-header .wd-nav-main > li.current-menu-item > a,
.whb-header .wd-nav-main > li.current_page_item > a,
.whb-header .wd-nav-main > li.current-menu-ancestor > a,
.whb-header .wd-nav-main > li.current-menu-parent > a{
  background:var(--srg-soft);color:var(--srg-pink) !important;box-shadow:inset 0 0 0 1px var(--srg-soft-2);
}
.whb-header .wd-nav-main > li > a .nav-link-text{color:inherit !important;}
.whb-header .wd-nav-main > li.menu-item-has-children > a:after{transition:transform .25s ease;}
.whb-header .wd-nav-main > li.menu-item-has-children:hover > a:after{transform:rotate(180deg);}

/* Keep Login / Register pills from the first file consistent with nav padding */
.whb-header .wd-nav-main > li.xoo-el-login-tgr > a:hover{background:#fff;}
.whb-header .wd-nav-main > li.xoo-el-reg-tgr > a:hover{background:var(--srg-grad);}

/* Logged-in “Hello, …” item */
.whb-header .xoo-el-firstname-menu > a{border:1.5px solid var(--srg-line);background:#fff !important;}
.whb-header .xoo-el-firstname-menu > a img{border-radius:50%;}

/* Language switcher pill */
.whb-header .trp-language-switcher-container.current-language-menu-item > a{
  border:1.5px solid var(--srg-line);background:#fff;
}
.whb-header .trp-flag-image{border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.15);}

/* Dropdown menus -> floating cards */
.whb-header .wd-dropdown,
.whb-header .wd-dropdown-menu{
  border-radius:18px !important;border:1px solid var(--srg-line) !important;background:#fff !important;
  box-shadow:0 30px 60px -30px rgba(51,53,63,.4) !important;padding:10px !important;
}
.whb-header .wd-dropdown .wd-sub-menu li a,
.whb-header .wd-dropdown-menu .sub-menu li a,
.whb-header .wd-dropdown li > a{
  border-radius:12px;padding:9px 14px !important;color:var(--srg-dark) !important;font-weight:500;
  transition:background .2s ease, color .2s ease, padding .2s ease;
}
.whb-header .wd-dropdown li > a:hover{background:var(--srg-soft);color:var(--srg-pink) !important;padding-inline-start:18px !important;}

/* Tool icons (search, wishlist, cart) -> soft circles */
.whb-header .wd-tools-element:not(.wd-header-mobile-nav) > a{
  display:inline-flex;align-items:center;gap:8px;
}
.whb-header .wd-tools-element:not(.wd-header-mobile-nav) .wd-tools-icon{
  position:relative;width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:var(--srg-soft);color:var(--srg-dark);transition:background .25s ease, color .25s ease, transform .25s ease;
}
.whb-header .wd-tools-element:not(.wd-header-mobile-nav) > a:hover .wd-tools-icon{
  background:var(--srg-grad);color:#fff;transform:translateY(-2px);box-shadow:0 10px 20px -10px rgba(230,59,122,.8);
}
.whb-header .wd-tools-element .wd-tools-icon:before{color:inherit !important;}
.whb-header .wd-tools-count{
  background:var(--srg-grad) !important;color:#fff !important;border:2px solid #fff;
  min-width:20px;height:20px;line-height:16px !important;font-size:11px !important;font-weight:800;
  top:-4px !important;inset-inline-end:-4px !important;right:auto;box-shadow:0 4px 10px -4px rgba(230,59,122,.8);
}
html[dir=rtl] .whb-header .wd-tools-count{left:-4px !important;right:auto !important;}
.whb-header .wd-header-cart .wd-tools-text,
.whb-header .wd-header-cart .wd-cart-subtotal{font-weight:800;color:var(--srg-dark);}
.whb-header .wd-header-cart .wd-cart-subtotal .amount{color:var(--srg-dark) !important;}
.whb-header .wd-header-cart > a:hover .wd-cart-subtotal .amount{color:var(--srg-pink) !important;}

/* Search dropdown / full-screen search */
.wd-search-dropdown,.wd-search-full-screen{border-radius:18px;}
.wd-search-dropdown input[type=text],.wd-search-full-screen input[type=text],
.searchform input[type=text]{border-radius:999px !important;border:1.5px solid #EDE3E8 !important;background:#FCFAFB !important;padding-inline:20px !important;}
.wd-search-dropdown input[type=text]:focus,.searchform input[type=text]:focus{border-color:var(--srg-pink) !important;box-shadow:0 0 0 4px rgba(230,59,122,.12) !important;}
.searchform .searchsubmit{border-radius:999px;color:var(--srg-pink);}

/* Mobile header */
@media (max-width:1024px){
  .whb-header .whb-general-header::before{height:2px;}
  .whb-header .wd-header-mobile-nav > a{
    width:42px;height:42px;border-radius:50%;background:var(--srg-soft);display:inline-flex !important;align-items:center;justify-content:center;
  }
  .whb-header .wd-header-mobile-nav .wd-tools-text{display:none;}
  .whb-header .wd-tools-element:not(.wd-header-mobile-nav) .wd-tools-icon{width:38px;height:38px;}
}

/* Mobile off-canvas menu */
.mobile-nav.wd-side-hidden,.wd-side-hidden.mobile-nav{border-radius:0 24px 24px 0;}
html[dir=rtl] .mobile-nav.wd-side-hidden{border-radius:24px 0 0 24px;}
.mobile-nav .wd-nav-mobile > li > a{font-weight:600;border-radius:12px;margin:2px 10px;padding-inline:14px !important;}
.mobile-nav .wd-nav-mobile > li.current-menu-item > a,
.mobile-nav .wd-nav-mobile > li > a:hover{background:var(--srg-soft);color:var(--srg-pink) !important;}
.mobile-nav .wd-nav-opener{border-radius:10px;}
.mobile-nav .searchform input[type=text]{margin:10px;}

/* Side cart (off-canvas) */
.cart-widget-side{border-radius:24px 0 0 24px;overflow:hidden;}
html[dir=rtl] .cart-widget-side{border-radius:0 24px 24px 0;}
.cart-widget-side .wd-heading{border-bottom:1px solid var(--srg-line) !important;}
.cart-widget-side .wd-heading .title{font-weight:800;color:var(--srg-dark);}
.cart-widget-side .woocommerce-mini-cart-item img{border-radius:12px;}
.cart-widget-side .woocommerce-mini-cart-item .cart-info .wd-entities-title{font-weight:700;}
.cart-widget-side .woocommerce-mini-cart-item .amount{color:var(--srg-pink);font-weight:800;}
.cart-widget-side .woocommerce-mini-cart__total .amount{color:var(--srg-pink);font-size:18px;font-weight:800;}
.cart-widget-side .woocommerce-mini-cart__buttons .button{
  border-radius:999px !important;min-height:48px;font-weight:800 !important;border:1.5px solid var(--srg-pink) !important;
  background:#fff !important;color:var(--srg-pink) !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons .button.checkout{
  background:var(--srg-grad) !important;color:#fff !important;border-color:transparent !important;box-shadow:0 14px 28px -14px rgba(230,59,122,.95);
}
.cart-widget-side .remove{border-radius:50%;background:var(--srg-soft);color:var(--srg-pink) !important;}
.wd-close-side{background:rgba(51,53,63,.45) !important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);}

/* Hover bridge: keeps sub-menus open while the mouse travels from the link to the dropdown */
.whb-header .wd-nav-main > li.menu-item-has-children{position:relative;}
.whb-header .wd-nav-main > li.menu-item-has-children::after{
  content:"";position:absolute;left:-10px;right:-10px;top:100%;height:34px;background:transparent;z-index:5;
}
.whb-header .wd-dropdown::before{
  content:"";position:absolute;left:0;right:0;bottom:100%;height:34px;background:transparent;
}
