/* Shared Vipberry customer header. */

body[data-storefront-shell] .header{position:relative;z-index:5;isolation:isolate;overflow:visible;background:#181718 repeating-linear-gradient(90deg,#fff0 0 1px,#ffffff08 1px 2px,#00000012 2px 4px)}
body[data-storefront-shell] .header::after{content:"";position:absolute;z-index:-1;inset:0;background:url('/assets/brand/vipberry-header-original.jpg') center top/1280px auto no-repeat;pointer-events:none}
body[data-storefront-shell] .header-inner{position:relative;max-width:1280px;height:98px;display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;padding:0 24px;gap:22px}
body[data-storefront-shell] .logo img{width:104px;height:52px}
.home-service-stack{display:grid;gap:12px;min-width:0}
.home-header-phone{display:inline-flex;align-items:center;gap:7px;justify-self:center;font-size:13px;font-weight:500;line-height:1.4;color:#e7cbdc;text-decoration:none;text-shadow:0 1px 3px #0008;white-space:nowrap}
.home-header-phone svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:#e8a8cd}
.home-header-phone:hover{color:#ffe5f4}
body[data-storefront-shell] .header-actions{margin-left:0;gap:14px;align-items:center}
body[data-storefront-shell] .account-link{position:relative;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff2b;border-radius:50%;background:linear-gradient(#ffffff29,#ffffff09);box-shadow:inset 0 1px 0 #ffffff38,0 3px 8px #0003;color:white}
body[data-storefront-shell] .account-link[data-authenticated="true"]{border-color:#e18bbd;background:linear-gradient(#ac397f,#782454)}
body[data-storefront-shell] .account-link[data-authenticated="true"]::after{content:"✓";position:absolute;top:-3px;right:-3px;display:grid;place-items:center;width:15px;height:15px;border:1px solid #eeb7d6;border-radius:50%;background:#c13687;color:white;font:700 9px/1 Arial,sans-serif}
body[data-storefront-shell] .header-actions .home-glass-cart{position:relative;display:flex;align-items:center;justify-content:flex-start;flex:none;width:186px;height:66px;min-height:66px;padding:7px 10px 7px 57px;border:0;border-radius:12px;background:url('/assets/brand/vipberry-cart-original.png') center/100% 100% no-repeat;box-shadow:0 6px 13px #0002;text-align:left;color:#fff}
.home-cart-copy{display:grid;gap:5px;line-height:1.4}
.home-cart-copy>span{font-size:10px;color:#eee9ef;white-space:nowrap}
.home-cart-copy b{font-weight:400;color:#ffa9db}
.home-cart-copy>strong{font-size:16px;font-weight:600;color:#fff}
.home-glass-cart .bag-count{display:none}
.home-glass-cart:hover{filter:brightness(1.12)}
.home-cart-mobile-icon,.home-account-copy{display:none}
.home-mobile-menu{display:none}
.home-shop-nav{position:relative;display:grid;grid-template-columns:120px 118px 132px minmax(160px,1fr);align-items:end;align-self:end;gap:10px;min-width:0;margin:0;padding:0}
.home-category{position:relative;min-width:0;max-width:100%}
.home-raised-tab{position:relative;display:flex;align-items:center;justify-content:center;gap:14px;white-space:nowrap;padding:0 14px;border:1px solid #c323a5;border-bottom:0;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#8c0c91 0%,#c819aa 35%,#f52caa 100%);box-shadow:inset 0 2px 1px #f5b9e582,0 -2px 6px #0002;color:white;font-size:11px;font-weight:600;letter-spacing:.2px;text-transform:uppercase;text-shadow:0 1px 2px #77074866;cursor:pointer;list-style:none}
.home-raised-tab::-webkit-details-marker{display:none}
.home-raised-tab:hover{background:linear-gradient(#a819a5,#ff3fb2)}
.home-raised-tab>span{font-size:17px;font-weight:400}
.home-category[open]>.home-raised-tab>span{transform:rotate(180deg)}
.home-ai-button{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;--home-tab-highlight:#fff;padding:0 15px;border:1px solid #f0c9df;border-bottom:0;border-radius:10px 10px 0 0;background:linear-gradient(155deg,#fffdf8 2%,#fff6fb 39%,#f8dfed 73%,#eac4da);box-shadow:inset 0 2px 0 #fff,0 -2px 6px #0002;color:#7c2854;cursor:pointer;transition:box-shadow .18s,background .18s}
.home-ai-button::before{content:"";position:absolute;z-index:-1;top:4px;left:5px;right:5px;height:44%;border-radius:10px 10px 45% 45%;background:linear-gradient(#fffc,#fff0);pointer-events:none}
.home-ai-mark{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid #e580b2;border-radius:9px;background:linear-gradient(150deg,#b51a79,#e7469c);box-shadow:inset 0 1px 0 #ffb9da;color:#fff;font:700 12px/1 Arial,Helvetica,sans-serif;letter-spacing:-.4px}
.home-ai-label{font-size:14px;font-weight:600;letter-spacing:-.2px}
.home-ai-button:hover{background:linear-gradient(155deg,#fff,#ffe7f4 75%,#f0cde1);box-shadow:inset 0 2px 0 #fff,0 -2px 8px #e65b9d40}
.home-ai-button:active{box-shadow:inset 0 2px 4px #b56e9440,0 1px 3px #0003}
.home-service-links{display:flex;align-items:center;min-width:0;min-height:38px;margin:0;padding:0 3px;border:1px solid #ffffff0e;border-radius:19px 19px 0 0;background:url('/assets/brand/vipberry-menu-original.png') left center/1px 38px repeat-x;box-shadow:inset 0 1px 0 #ffffff21,inset 0 -1px 1px #0008,0 -2px 6px #0002}
.home-service-links a{position:relative;display:flex;flex:1;align-items:center;justify-content:center;min-width:0;min-height:36px;padding:0 8px;border-radius:17px;color:#fff;font-size:11px;font-weight:500;text-decoration:none;text-shadow:0 1px 2px #000b}
.home-service-links a+a::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;background:#0009;box-shadow:1px 0 0 #ffffff29;pointer-events:none}
.home-service-links a:hover{background:#ffffff0a}
.home-service-links a:hover{color:#ff9ed2}
.home-ai-preview{width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:32px;border:1px solid #f0d3e4;border-radius:22px;background:linear-gradient(145deg,#fff,#fff3fa);box-shadow:0 28px 85px #2f112c4d;color:#502e42;overflow:auto}
.home-ai-preview::backdrop{background:#160c1ccc}
.home-ai-preview>.home-ai-mark{width:42px;height:42px;font-size:17px;border-radius:13px;margin-bottom:23px;box-shadow:inset 0 1px 0 #ffb9da,0 5px 13px #b51a7926}
.home-ai-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border-radius:50%;background:transparent;color:#9d6b88;font-size:26px;cursor:pointer}
.home-ai-close:hover{background:#f8e5f1;color:#6d294f}
.home-ai-eyebrow{margin:0 0 9px;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:#ae5084}
.home-ai-preview h2{margin:0 0 18px;font:400 32px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.7px;color:#52283f}
.home-ai-preview #ai-selection-description{margin:0;font-size:14px;line-height:1.75;color:#8c6a7f}
.home-ai-confirm{display:block;width:100%;min-height:46px;margin-top:27px;padding:0 20px;border:1px solid #dc438d;border-radius:11px;background:linear-gradient(#ec499f,#d52086);box-shadow:inset 0 1px 0 #f9a1cc;color:#fff;font-size:13px;font-weight:600;cursor:pointer}
.home-brand-dropdown{position:absolute;z-index:6;left:0;top:calc(100% + 7px);width:350px;max-width:calc(100vw - 32px);padding:10px;border:1px solid #eed2e3;border-radius:5px 16px 16px;background:linear-gradient(#fff,#fff6fb);box-shadow:0 18px 40px #58283e33,0 2px 6px #58283e1a}
.home-brand-dropdown a{display:flex;align-items:center;gap:17px;min-height:78px;padding:12px;color:#382330;font-size:14px;text-decoration:none;border-radius:8px}
.home-brand-dropdown a:hover{background:#fbe8f3}
.home-brand-dropdown img{width:62px;height:45px;object-fit:contain}
.home-brand-dropdown a>span:last-child{margin-left:auto;color:#b73c81;font-size:22px}
@media(max-width:1200px){
  body[data-storefront-shell] .header-inner{gap:16px;padding-inline:22px;grid-template-columns:94px minmax(0,1fr) auto}
  body[data-storefront-shell] .logo img{width:94px}
  body[data-storefront-shell] .header-actions{gap:8px}
  body[data-storefront-shell] .account-link{width:44px}
  body[data-storefront-shell] .header-actions .home-glass-cart{width:178px;height:60px;min-height:60px;padding-left:54px}
  .home-shop-nav{gap:8px}
  .home-raised-tab{font-size:10px;gap:10px;padding-inline:10px}
  .home-ai-button{padding-inline:10px;gap:8px}
  .home-ai-label{font-size:13px}
  .home-service-links a{font-size:10px;padding-inline:6px}
}
@media(max-width:1100px){
  body[data-storefront-shell] .header-inner{height:auto;grid-template-columns:1fr auto;gap:12px 20px;padding-block:12px 0}
  .home-shop-nav{grid-column:1 / -1;grid-row:2;grid-template-columns:120px 118px 132px minmax(160px,1fr)}
  body[data-storefront-shell] .header-actions{grid-column:2;grid-row:1}
}
@media(max-width:800px){
  body[data-storefront-shell] .header-inner{gap:12px 16px}
  .home-header-phone{font-size:12px}
  .home-shop-nav{grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(0,1.2fr)}
  .home-service-stack{grid-column:1 / -1;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:16px}
  body[data-storefront-shell] .header-actions .home-glass-cart{width:194px;height:62px;min-height:62px;padding-left:59px}
}
@media(max-width:599px){
  body[data-storefront-shell] .header-inner{height:auto;padding:12px 16px 0;gap:12px;grid-template-columns:1fr auto}
  body[data-storefront-shell] .header::after{background-size:900px auto;background-position:calc(50% + 65px) top}
  body[data-storefront-shell] .logo img{width:94px;height:46px}
  body[data-storefront-shell] .header-actions{gap:8px}
  body[data-storefront-shell] .header-actions .account-link{display:flex;justify-content:center;width:44px;min-width:0;height:44px;text-decoration:none}
  body[data-storefront-shell] .header-actions .account-link svg{flex:none;width:21px;height:21px}
  .home-account-copy{display:none}
  .account-link[data-authenticated="true"] svg{color:#ffb0db}
  body[data-storefront-shell] .header-actions .home-glass-cart{width:44px;height:44px;min-height:44px;padding:0;justify-content:center;border:1px solid #ffffff2b;border-radius:50%;background:linear-gradient(#ffffff29,#ffffff09);box-shadow:inset 0 1px 0 #ffffff38,0 3px 8px #0003}
  .home-glass-cart .home-cart-copy{display:none}
  .home-cart-mobile-icon{display:grid;place-items:center;color:#ffb2dd}
  .home-cart-mobile-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
  #home-cart-count{position:absolute;top:-3px;right:-3px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border:1px solid #dd83b7;border-radius:9px;background:#b5277e;color:#fff;font-size:9px;line-height:1}
  .home-cart-copy{gap:1px}
  .home-cart-copy>span{font-size:9px}
  .home-cart-copy>strong{font-size:13px}
  .home-service-stack{display:none}
  .home-mobile-menu{display:block}
  .home-mobile-menu-trigger{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff2b;border-radius:50%;background:linear-gradient(#ffffff29,#ffffff09);box-shadow:inset 0 1px 0 #ffffff38,0 3px 8px #0003;cursor:pointer;list-style:none}
  .home-mobile-menu-trigger::-webkit-details-marker{display:none}
  .home-mobile-menu-trigger>span{position:relative;width:16px;height:2px;background:#f7e8f1;border-radius:2px}
  .home-mobile-menu-trigger>span::before,.home-mobile-menu-trigger>span::after{content:"";position:absolute;left:0;width:16px;height:2px;border-radius:2px;background:#f7e8f1}
  .home-mobile-menu-trigger>span::before{top:-5px}
  .home-mobile-menu-trigger>span::after{top:5px}
  .home-mobile-menu[open]>.home-mobile-menu-trigger{background:#9d3978;border-color:#db81b9}
  .home-mobile-menu[open]>.home-mobile-menu-trigger>span{background:transparent}
  .home-mobile-menu[open]>.home-mobile-menu-trigger>span::before{top:0;transform:rotate(45deg)}
  .home-mobile-menu[open]>.home-mobile-menu-trigger>span::after{top:0;transform:rotate(-45deg)}
  .home-mobile-links{position:absolute;z-index:8;top:calc(100% + 9px);right:16px;width:min(300px,calc(100vw - 32px));padding:10px 16px;border:1px solid #eed2e3;border-radius:16px 5px 16px 16px;background:linear-gradient(#fff,#fff5fb);box-shadow:0 18px 40px #58283e40,0 2px 6px #58283e1a}
  .home-mobile-links>a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;padding:0 3px;font-size:13px;line-height:1.4;color:#63324d;text-decoration:none}
  .home-mobile-links>a+a{border-top:1px solid #f2e2ec}
  .home-mobile-links>a>span{font-size:17px;color:#b36792}
  .home-mobile-links>a.home-mobile-phone{justify-content:center;min-height:52px;color:#a13173;font-size:14px;font-weight:600}
  .home-shop-nav{height:auto;width:100%;max-width:none;justify-self:stretch;grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(0,1.2fr);align-items:stretch;gap:6px;padding:0}
  .home-raised-tab{font-size:10px;line-height:1.35;text-align:center;gap:4px;padding:3px 7px;border-bottom:0;border-radius:10px 10px 0 0;box-shadow:inset 0 2px 1px #f5b9e582,0 -2px 6px #0002;letter-spacing:0}
  .home-raised-tab>span{font-size:12px}
  .home-ai-button{padding-inline:5px;gap:5px;border-bottom:0;border-radius:10px 10px 0 0;box-shadow:inset 0 2px 0 #fff,0 -2px 6px #0002}
  .home-ai-button::before{top:3px;left:4px;right:4px;height:38%;border-radius:7px 7px 0 0}
  .home-ai-button:hover{box-shadow:inset 0 2px 0 #fff,0 -2px 8px #e65b9d40}
  .home-ai-button:active{box-shadow:inset 0 2px 4px #b56e9440}
  .home-ai-mark{width:20px;height:20px;border-radius:6px;font-size:10px}
  .home-ai-label{font-size:12px}
  .home-service-links{min-height:35px;padding:0 1px}
  .home-service-links a{font-size:10px;min-height:33px;padding:0 6px}
  .home-brand-dropdown{width:330px}
}
@media(max-width:359px){
  body[data-storefront-shell] .logo img{width:78px}
  body[data-storefront-shell] .header-inner{gap:6px}
  body[data-storefront-shell] .header-actions{gap:6px}
  .home-shop-nav .home-ai-button{gap:3px;padding-inline:3px}
  .home-shop-nav .home-ai-mark{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){.home-ai-button{transition:none}}
body[data-storefront-shell] .header :is(a,button,summary):focus-visible,.home-ai-preview button:focus-visible{outline:2px solid #e455a8;outline-offset:4px}
/* Three direct destinations remain visible on every screen; Menu retains its knowledge link. */
.home-knowledge-link{display:flex;align-items:center;justify-content:center;padding:3px 9px;color:#fff0f9;text-align:center;text-decoration:none;font-size:13px;font-weight:600;line-height:1.35;border:1px solid #c323a5;background:linear-gradient(180deg,#78116f 0%,#ad228d 36%,#dc3195 100%);text-shadow:0 1px 2px #620b5366;transition:box-shadow .18s,background .18s}
.home-knowledge-link:hover{background:linear-gradient(180deg,#8c197e,#e63ca3)}
.home-knowledge-link:active{background:linear-gradient(180deg,#741066,#c42788)}
@media(max-width:599px){
  .home-knowledge-link{min-width:0;padding:3px 7px;font-size:11px;line-height:1.35}
  .home-shop-nav>.home-category{height:100%}
  .home-shop-nav .home-ai-label{font-size:11px}
}

/* One physical tab profile across summary, AI button and knowledge link. */
body[data-storefront-shell] .home-shop-nav :is(.home-raised-tab,.home-ai-button,.home-knowledge-link){box-sizing:border-box;height:34px;min-height:34px;border-bottom:0;border-radius:10px 10px 0 0;box-shadow:inset 0 2px 1px var(--home-tab-highlight,#f5b9e582),0 -2px 6px #0002}
body[data-storefront-shell] .home-shop-nav :is(.home-raised-tab,.home-ai-button,.home-knowledge-link):hover{box-shadow:inset 0 2px 1px var(--home-tab-highlight,#f5b9e582),0 -2px 8px #e65b9d40}
body[data-storefront-shell] .home-shop-nav :is(.home-raised-tab,.home-ai-button,.home-knowledge-link):active{box-shadow:inset 0 2px 3px #78275455,0 1px 3px #0003}
@media(prefers-reduced-motion:reduce){.home-knowledge-link{transition:none}}

@media(min-width:801px){.home-service-stack{margin-inline-start:14px}}
