/* JP PERFUMES · V50.6.1 HEADER PRESTIGE
   Alcance: header público. No cambia navegación, carrito, búsqueda ni precios.
   Se aplica exclusivamente cuando existe .jp-header-prestige. */
.header.jp-header-prestige {
  --jp-prestige-gold: var(--accent, #d8b06a);
  isolation: isolate;
  background: linear-gradient(110deg,rgba(10,7,9,.96),rgba(20,14,17,.94) 50%,rgba(9,7,9,.97));
  border-bottom: 1px solid rgba(216,176,106,.16);
  -webkit-backdrop-filter: saturate(125%) blur(22px);
  backdrop-filter: saturate(125%) blur(22px);
  box-shadow: 0 11px 38px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,236,186,.035);
  transition: background .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.header.jp-header-prestige::after {
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(215,174,103,.14) 18%,rgba(239,206,147,.49) 50%,rgba(215,174,103,.14) 82%,transparent 100%);
}
.header.jp-header-prestige.jp-header-scrolled {
  background:rgba(8,6,9,.975);
  box-shadow:0 14px 42px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,235,198,.05);
  border-bottom-color:rgba(216,176,106,.23);
}
.jp-header-prestige .nav {
  min-height: 88px; gap: clamp(13px,2.2vw,32px);
  grid-template-columns:minmax(130px,.8fr) minmax(0,2.9fr) minmax(103px,.8fr);
}
.jp-header-prestige .brand { min-width:0; transition:filter .22s ease; }
.jp-header-prestige .brand:hover { filter:brightness(1.16); }
.jp-header-prestige .brand-logo {
  max-height:57px; max-width:178px; width:auto; object-fit:contain;
  filter:drop-shadow(0 1px 6px rgba(206,157,67,.17));
}
.jp-header-prestige .brand-mark { border-color:rgba(218,182,108,.50);box-shadow:0 0 0 4px rgba(216,176,106,.035); }
.jp-header-prestige .brand-copy strong { text-shadow:0 0 18px rgba(216,176,106,.12); }
.jp-header-prestige .menu-v31 {gap:9px;width:100%;min-width:0;}
.jp-header-prestige .menu-v31 .menu-group { gap:clamp(4px,.75vw,11px);flex-wrap:nowrap;min-width:0;}
.jp-header-prestige .menu-v31 .menu-group > span {
  min-width:120px; text-align:right; padding-right:14px; position:relative;
  color:#c6a474; font-size:9px;letter-spacing:.2em;font-weight:800;line-height:1.2;
}
.jp-header-prestige .menu-v31 .menu-group > span::after {
  content:"";position:absolute;right:0;top:50%;width:1px;height:18px;
  background:linear-gradient(180deg,transparent,rgba(222,183,111,.42),transparent);
  transform:translateY(-50%);
}
.jp-header-prestige .menu-v31 .menu-group a {
  position:relative; display:inline-flex;justify-content:center;align-items:center;
  min-height:31px; white-space:nowrap; padding:6px 12px;
  color:#e9ddd2; opacity:1; font-size:12px; line-height:1.1;
  border:1px solid rgba(221,182,125,.13);
  background:linear-gradient(155deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  transition:background .2s ease, border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.jp-header-prestige .menu-v31 .menu-group a:hover {
  color:#ffe9bb; border-color:rgba(231,188,114,.42);
  background:linear-gradient(140deg,rgba(226,181,105,.14),rgba(226,181,105,.045));
  box-shadow:inset 0 1px 0 rgba(255,235,174,.09),0 4px 15px rgba(189,128,50,.09);
  transform:translateY(-1px);
}
.jp-header-prestige .menu-v31 .menu-group a.jp-nav-current {
  color:#ffe6ad; border-color:rgba(230,184,105,.56);
  background:linear-gradient(145deg,rgba(217,161,83,.18),rgba(151,100,45,.08));
  box-shadow:inset 0 1px 0 rgba(255,228,181,.16),0 0 15px rgba(212,166,85,.08);
}
.jp-header-prestige .menu-v31 .menu-group a.jp-nav-current::after {
  content:"";position:absolute;bottom:2px;left:calc(50% - 9px);width:18px;height:1px;border-radius:2px;
  background:linear-gradient(90deg,transparent,#e7bd78,transparent);
}
/* Regalos: acento de marca, discreto incluso si no está seleccionado */
.jp-header-prestige .menu-v31 .menu-group:last-child a:last-child:not(.jp-nav-current) {color:#dabe90;border-color:rgba(223,177,111,.23);}
.jp-header-prestige .menu-v31 .menu-group:last-child a:last-child:not(.jp-nav-current):hover {color:#ffe9be;}
.jp-header-prestige .nav-actions {gap:11px;}
.jp-header-prestige .nav-actions .icon-btn {
  position:relative;width:43px;height:43px;flex:0 0 auto;
  border:1px solid rgba(215,178,119,.22);
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012));
  box-shadow:inset 0 1px 0 rgba(255,236,206,.06),0 4px 15px rgba(0,0,0,.12);
  color:#f9eee0;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.jp-header-prestige .nav-actions .icon-btn svg{width:19px;height:19px;display:block;pointer-events:none;}
.jp-header-prestige .nav-actions .icon-btn:hover {
  transform:translateY(-1px);color:#ffe0a7;border-color:rgba(225,183,113,.56);
  background:linear-gradient(145deg,rgba(212,165,91,.15),rgba(212,165,91,.04));
}
.jp-header-prestige .cart-count {
  top:0;right:0;transform:translate(27%,-25%);
  min-width:19px;height:19px;padding:0 4px;
  border:1px solid rgba(17,11,9,.65);
  box-shadow:0 2px 8px rgba(0,0,0,.32);
  font-variant-numeric:tabular-nums;font-size:10px;
}
.jp-header-prestige :is(.menu-v31 a,.nav-actions .icon-btn,.brand):focus-visible {
  outline:2px solid #f0c880; outline-offset:3px;
}
@media (min-width:821px) and (max-width:1350px) {
  .jp-header-prestige .nav{grid-template-columns:minmax(105px,.6fr) minmax(0,3fr) auto!important;gap:10px;}
  .jp-header-prestige .menu-v31 .menu-group{gap:clamp(2px,.45vw,6px);}
  .jp-header-prestige .menu-v31 .menu-group > span{min-width:99px;padding-right:10px;font-size:8px;letter-spacing:.14em;}
  .jp-header-prestige .menu-v31 .menu-group a{padding:5px 9px;font-size:11px;min-height:29px;}
  .jp-header-prestige .brand-logo{max-height:52px;max-width:135px;}
}
@media (min-width:821px) and (max-width:1000px) {
  .jp-header-prestige .nav{gap:7px;}
  .jp-header-prestige .menu-v31 .menu-group > span{min-width:80px;font-size:7px;}
  .jp-header-prestige .menu-v31 .menu-group a{padding:4px 6px;font-size:10px;min-height:28px;}
  .jp-header-prestige .nav-actions{gap:6px;}
  .jp-header-prestige .nav-actions .icon-btn{width:37px;height:37px;}
}
@media (max-width:820px) {
  .jp-header-prestige .nav{grid-template-columns:1fr auto;min-height:72px;gap:12px;}
  .jp-header-prestige .menu-v31{display:none;}
  .jp-header-prestige .brand-logo{max-height:50px;max-width:160px;}
  .jp-header-prestige .nav-actions .icon-btn{width:42px;height:42px;}
}
@media (max-width:390px) {
  .jp-header-prestige .nav{min-height:67px;gap:6px;}
  .jp-header-prestige .brand-logo{max-width:126px;max-height:46px;}
  .jp-header-prestige .nav-actions{gap:6px;}
  .jp-header-prestige .nav-actions .icon-btn{width:39px;height:39px;}
}
@media (prefers-reduced-motion:reduce) {
  .jp-header-prestige,.jp-header-prestige .brand,
  .jp-header-prestige .menu-v31 .menu-group a,
  .jp-header-prestige .nav-actions .icon-btn {transition:none!important;}
  .jp-header-prestige .menu-v31 .menu-group a:hover,
  .jp-header-prestige .nav-actions .icon-btn:hover{transform:none;}
}
