/* Costa Pujol Cuenta: área de cliente */
body.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:232px minmax(0,1fr);gap:28px;align-items:start;max-width:1040px;margin:0 auto}
body.woocommerce-account.logged-in .woocommerce>.woocommerce-notices-wrapper,body.woocommerce-account.logged-in .woocommerce>.woocommerce-message,body.woocommerce-account.logged-in .woocommerce>.woocommerce-error{grid-column:1/-1}
body.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:auto;position:sticky;top:96px}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:#fff;border:1px solid #e3e9ef;border-radius:16px;display:flex;flex-direction:column;gap:2px}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;padding:0;border:0}
body.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;border-radius:10px;color:#00365f;font-weight:600;font-size:15px;text-decoration:none;border:0}
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#eef3f8}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#00365f;color:#fff}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{color:#5b6b7a;font-weight:500}
body.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;min-width:0}

.cpa-hi{margin:0 0 4px;font-size:28px;line-height:1.2;color:#00365f}
.cpa-sub{margin:0 0 22px;color:#5b6b7a}
.cpa-mut{color:#5b6b7a;font-size:14px;margin:4px 0}
.cpa-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-bottom:16px}
.cpa-card{background:#fff;border:1px solid #e3e9ef;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 1px 2px rgba(0,54,95,.04)}
.cpa-grid .cpa-card{margin-bottom:0}
.cpa-card h3{margin:0 0 10px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#5b6b7a;font-weight:700}
.cpa-date{margin:0 0 8px;font-size:22px;font-weight:700;color:#00365f;line-height:1.25}
.cpa-date.cpa-none{font-size:18px;color:#5b6b7a;font-weight:600}
.cpa-link{display:inline-block;margin-top:8px;color:#00365f;font-weight:600;text-decoration:underline}
.cpa-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:999px;background:#00365f;color:#fff;font-weight:700;font-size:15px;text-decoration:none;border:2px solid #00365f;cursor:pointer;line-height:1}
.cpa-btn:hover{background:#0a4a7e;border-color:#0a4a7e;color:#fff}
.cpa-btn.cpa-ghost{background:#fff;color:#00365f}
.cpa-btn.cpa-ghost:hover{background:#eef3f8;color:#00365f}
.cpa-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:700;background:#e8f1fb;color:#00365f}
.cpa-badge.cpa-warn{background:#fff4dc;color:#7a5200}
.cpa-badge.cpa-ok{background:#e2f6ea;color:#14633a}
.cpa-badge.cpa-done{background:#eceff2;color:#3b4a58}
.cpa-badge.cpa-bad{background:#fde8e6;color:#9a2a1f}

.cpa-th-row{display:flex;align-items:center}
.cpa-th{display:inline-flex;width:52px;height:52px;border-radius:12px;overflow:hidden;background:#eef3f8;border:2px solid #fff;margin-right:-10px;flex:none;align-items:center;justify-content:center}
.cpa-th img{width:100%;height:100%;object-fit:cover;display:block}
.cpa-th.cpa-more{font-weight:700;color:#00365f;font-size:14px}
.cpa-rep{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.cpa-rep .cpa-th-row{padding-right:10px}
.cpa-rep-t{flex:1 1 200px;display:flex;flex-direction:column;gap:2px;min-width:0}
.cpa-rep-t strong{color:#00365f;font-size:16px}
.cpa-rep-t span{color:#2b3a47;font-size:14px}
.cpa-rep-t small{color:#5b6b7a;font-size:12.5px}
.woocommerce-cart .cpa-rep{background:#fff;border:1px solid #e3e9ef;border-radius:16px;padding:18px;margin:16px auto;max-width:640px}

.cpa-favs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.cpa-favs li{margin:0}
.cpa-favs a{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #e3e9ef;border-radius:12px;text-decoration:none;color:#00365f}
.cpa-favs a:hover{background:#eef3f8}
.cpa-favs .cpa-th{margin:0;width:44px;height:44px}
.cpa-favs b{font-size:14px;line-height:1.25}
.cpa-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.cpa-tiles a{display:flex;flex-direction:column;gap:2px;padding:16px;background:#f5f8fb;border:1px solid #e3e9ef;border-radius:14px;text-decoration:none;color:#00365f}
.cpa-tiles a:hover{background:#eef3f8}
.cpa-tiles span{color:#5b6b7a;font-size:13.5px}

.cpa-ord{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.cpa-ord .cpa-th-row{flex:none;padding-right:10px}
.cpa-ord-m{flex:1 1 220px;min-width:0}
.cpa-ord-h{margin:0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cpa-ord-a{display:flex;gap:8px;flex-wrap:wrap}
.cpa-pg{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.cpa-empty{text-align:center;padding:34px 20px}

.cpa-vh{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:flex-start}
.cpa-vh-a{display:flex;flex-direction:column;gap:12px;align-items:flex-end}
.cpa-tl{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;counter-reset:s}
.cpa-tl li{position:relative;text-align:center;font-size:13.5px;color:#7b8996;padding-top:34px;font-weight:600}
.cpa-tl li i{position:absolute;top:6px;left:50%;width:18px;height:18px;margin-left:-9px;border-radius:50%;background:#dfe6ed;border:3px solid #fff;box-shadow:0 0 0 1px #dfe6ed;z-index:2}
.cpa-tl li:before{content:"";position:absolute;top:14px;left:-50%;width:100%;height:3px;background:#dfe6ed;z-index:1}
.cpa-tl li:first-child:before{display:none}
.cpa-tl li.done,.cpa-tl li.now{color:#00365f}
.cpa-tl li.done i,.cpa-tl li.now i{background:#00365f;box-shadow:0 0 0 1px #00365f}
.cpa-tl li.done:before,.cpa-tl li.now:before{background:#00365f}
.cpa-tl li.now i{box-shadow:0 0 0 4px rgba(0,54,95,.18)}
.cpa-note{margin:-8px 0 18px}

@media(max-width:820px){
body.woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr;gap:16px}
body.woocommerce-account .woocommerce-MyAccount-navigation{position:static}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{flex-direction:row;overflow-x:auto;gap:4px;padding:6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
body.woocommerce-account .woocommerce-MyAccount-navigation a{white-space:nowrap;padding:10px 14px}
.cpa-hi{font-size:24px}
.cpa-vh-a{align-items:flex-start}
.cpa-ord-a{width:100%}
.cpa-ord-a .cpa-btn{flex:1}
}

/* Especificidad extra: el tema colorea los enlaces */
html body.theme-costapujol .cpa-btn,html body.theme-costapujol a.cpa-btn{background:#00365f;color:#fff!important;border-color:#00365f;text-decoration:none}
html body.theme-costapujol .cpa-btn:hover{background:#0a4a7e;border-color:#0a4a7e;color:#fff!important}
html body.theme-costapujol .cpa-btn.cpa-ghost{background:#fff;color:#00365f!important}
html body.theme-costapujol .cpa-btn.cpa-ghost:hover{background:#eef3f8}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation li a{color:#00365f}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#00365f;color:#fff!important}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{color:#5b6b7a}
html body.theme-costapujol .cpa-tiles a b{color:#00365f}
html body.theme-costapujol .cpa-link{color:#00365f}

@media(max-width:820px){
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:4px;padding:6px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation li{flex:none}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation li a{white-space:nowrap;padding:10px 14px}
}

@media(max-width:820px){
html body.theme-costapujol.woocommerce-account.logged-in .woocommerce{grid-template-columns:minmax(0,1fr)}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content{min-width:0;max-width:100%;width:100%}
.cpa-grid{grid-template-columns:minmax(0,1fr)}
}

/* ===== v2: portada ===== */
html body.theme-costapujol.woocommerce-account.logged-in .entry-title,html body.theme-costapujol.woocommerce-account.logged-in .page-title,html body.theme-costapujol.woocommerce-account.logged-in .entry-header{display:none}
html body.theme-costapujol.woocommerce-account .cpa-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding:32px 34px;margin:0 0 22px;border-radius:24px;color:#fff;background:radial-gradient(120% 140% at 100% 0%,#1d6fa5 0%,#0b3a63 55%,#072c4d 100%);box-shadow:0 18px 40px -22px rgba(7,44,77,.7);position:relative;overflow:hidden}
html body.theme-costapujol.woocommerce-account .cpa-hero:after{content:"";position:absolute;right:-60px;top:-60px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.07)}
html body.theme-costapujol.woocommerce-account .cpa-hero-t{position:relative;z-index:1;min-width:0}
html body.theme-costapujol.woocommerce-account .cpa-eyebrow{margin:0 0 6px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#9fd0f0;font-weight:700}
html body.theme-costapujol.woocommerce-account .cpa-hero .cpa-hi{margin:0 0 8px;color:#fff;font-size:clamp(26px,4vw,38px);line-height:1.1}
html body.theme-costapujol.woocommerce-account .cpa-hero .cpa-sub{margin:0 0 18px;color:#d6e8f6;max-width:46ch}
html body.theme-costapujol.woocommerce-account .cpa-hero-a{display:flex;flex-wrap:wrap;gap:10px}
html body.theme-costapujol.woocommerce-account .cpa-hero .cpa-btn{background:#fff!important;color:#0b3a63!important}
html body.theme-costapujol.woocommerce-account .cpa-hero .cpa-btn.cpa-ghost{background:transparent!important;color:#fff!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55)}
html body.theme-costapujol.woocommerce-account .cpa-stats{position:relative;z-index:1;display:flex;gap:10px;list-style:none;margin:0;padding:0}
html body.theme-costapujol.woocommerce-account .cpa-stats li{background:rgba(255,255,255,.12);backdrop-filter:blur(4px);border-radius:16px;padding:12px 16px;text-align:center;min-width:92px}
html body.theme-costapujol.woocommerce-account .cpa-stats b{display:block;font-size:26px;line-height:1.1}
html body.theme-costapujol.woocommerce-account .cpa-stats span{font-size:12px;color:#cfe4f4}
html body.theme-costapujol.woocommerce-account .cpa-card{border-radius:20px;box-shadow:0 10px 30px -18px rgba(7,44,77,.35);transition:transform .2s,box-shadow .2s}
html body.theme-costapujol.woocommerce-account .cpa-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px -18px rgba(7,44,77,.45)}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation{background:#fff;border-radius:20px;padding:8px;box-shadow:0 10px 30px -18px rgba(7,44,77,.3)}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:12px;border-radius:14px;transition:background .15s}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation li a:before{content:"";flex:0 0 20px;height:20px;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%2011l9-8%209%208v10a1%201%200%200%201-1%201h-5v-7H9v7H4a1%201%200%200%201-1-1z'%2F%3E%3C%2Fsvg%3E")}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation-link--orders{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M21%208l-9-5-9%205v8l9%205%209-5z'%2F%3E%3Cpath%20d%3D'M3%208l9%205%209-5M12%2013v8'%2F%3E%3C%2Fsvg%3E")}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%2021s7-6.2%207-11a7%207%200%200%200-14%200c0%204.8%207%2011%207%2011z'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'10'%20r%3D'2.5'%2F%3E%3C%2Fsvg%3E")}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'2'%20y%3D'5'%20width%3D'20'%20height%3D'14'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M2%2010h20'%2F%3E%3C%2Fsvg%3E")}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M4%2021c0-4%204-6%208-6s8%202%208%206'%2F%3E%3C%2Fsvg%3E")}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4M16%2017l5-5-5-5M21%2012H9'%2F%3E%3C%2Fsvg%3E")}
@media(max-width:820px){html body.theme-costapujol.woocommerce-account .cpa-hero{grid-template-columns:minmax(0,1fr);padding:24px 20px}html body.theme-costapujol.woocommerce-account .cpa-stats{order:-1}html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation{padding:6px}html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation li a{white-space:nowrap}}

html body.theme-costapujol.woocommerce-account.logged-in .entry>h1,html body.theme-costapujol.woocommerce-account.logged-in .entry>.entry-title{display:none}
html body.theme-costapujol.woocommerce-account.logged-in .w.narrow{max-width:1180px}
html body.theme-costapujol.woocommerce-account.logged-in .woocommerce{grid-template-columns:260px minmax(0,1fr);gap:28px}
@media(max-width:1100px){html body.theme-costapujol.woocommerce-account.logged-in .cpa-hero{grid-template-columns:minmax(0,1fr)}html body.theme-costapujol.woocommerce-account.logged-in .cpa-stats{order:2}}
@media(max-width:820px){html body.theme-costapujol.woocommerce-account.logged-in .woocommerce{grid-template-columns:minmax(0,1fr)}html body.theme-costapujol.woocommerce-account.logged-in .cpa-stats{order:-1}}

/* ===== v2: acceso ===== */
html body.theme-costapujol.woocommerce-account .entry>h1,html body.theme-costapujol.woocommerce-account .entry>.entry-title{display:none}
html body.theme-costapujol.woocommerce-account .w.narrow{max-width:1100px}
html body.theme-costapujol.woocommerce-account .cpa-auth{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px;align-items:stretch;margin:10px 0 30px}
html body.theme-costapujol.woocommerce-account .cpa-auth-main{padding:38px 40px;border-radius:24px;background:#fff}
html body.theme-costapujol.woocommerce-account .cpa-auth-main h2{margin:0 0 8px;font-size:clamp(26px,3.4vw,36px);line-height:1.1;color:#0b3a63}
html body.theme-costapujol.woocommerce-account .cpa-eyebrow.cpa-dark{color:#1d6fa5}
html body.theme-costapujol.woocommerce-account .cpa-auth .cpa-sub{margin:0 0 22px;color:#51667a}
html body.theme-costapujol.woocommerce-account .cpa-ml label,html body.theme-costapujol.woocommerce-account .cpa-pwf label{display:block;margin:0 0 6px;font-weight:700;font-size:14px;color:#0b3a63}
html body.theme-costapujol.woocommerce-account .cpa-ml input[type=email],html body.theme-costapujol.woocommerce-account .cpa-pwf input[type=text],html body.theme-costapujol.woocommerce-account .cpa-pwf input[type=password]{width:100%;height:54px;padding:0 18px;border:1.5px solid #cdd9e4;border-radius:14px;font-size:16px;background:#f8fbfd;box-sizing:border-box;margin:0 0 14px;transition:border-color .15s,box-shadow .15s}
html body.theme-costapujol.woocommerce-account .cpa-ml input:focus,html body.theme-costapujol.woocommerce-account .cpa-pwf input:focus{outline:0;border-color:#1d6fa5;box-shadow:0 0 0 4px rgba(29,111,165,.15);background:#fff}
html body.theme-costapujol.woocommerce-account .cpa-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
html body.theme-costapujol.woocommerce-account .cpa-ml .cpa-btn{width:100%;justify-content:center;height:54px;font-size:16px}
html body.theme-costapujol.woocommerce-account .cpa-pw{margin-top:24px;border-top:1px solid #e3ebf2;padding-top:18px}
html body.theme-costapujol.woocommerce-account .cpa-pw summary{cursor:pointer;font-weight:700;color:#1d6fa5;list-style:none}
html body.theme-costapujol.woocommerce-account .cpa-pw summary::-webkit-details-marker{display:none}
html body.theme-costapujol.woocommerce-account .cpa-pw summary:after{content:" ▾"}
html body.theme-costapujol.woocommerce-account .cpa-pw[open] summary:after{content:" ▴"}
html body.theme-costapujol.woocommerce-account .cpa-pwf{margin-top:16px}
html body.theme-costapujol.woocommerce-account .cpa-chk{display:flex!important;align-items:center;gap:8px;font-weight:500!important;margin:0 0 16px!important}
html body.theme-costapujol.woocommerce-account .cpa-btn.cpa-ghost-d{background:transparent!important;color:#0b3a63!important;box-shadow:inset 0 0 0 1.5px #0b3a63;margin-right:14px}
html body.theme-costapujol.woocommerce-account .cpa-auth-side{border-radius:24px;padding:38px 36px;color:#fff;background:radial-gradient(120% 140% at 100% 0%,#1d6fa5 0%,#0b3a63 55%,#072c4d 100%);box-shadow:0 18px 40px -22px rgba(7,44,77,.7)}
html body.theme-costapujol.woocommerce-account .cpa-auth-side h3{margin:0 0 20px;color:#fff;font-size:22px}
html body.theme-costapujol.woocommerce-account .cpa-auth-side ul{list-style:none;margin:0;padding:0;display:grid;gap:18px}
html body.theme-costapujol.woocommerce-account .cpa-auth-side li{padding-left:34px;position:relative}
html body.theme-costapujol.woocommerce-account .cpa-auth-side li:before{content:"✓";position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:13px}
html body.theme-costapujol.woocommerce-account .cpa-auth-side b{display:block;font-size:16px}
html body.theme-costapujol.woocommerce-account .cpa-auth-side span{display:block;font-size:14px;color:#cfe4f4;margin-top:2px}
html body.theme-costapujol.woocommerce-account .cpa-sent{text-align:center;padding:20px 0}
html body.theme-costapujol.woocommerce-account .cpa-sent-i{display:block;width:72px;height:72px;margin:0 auto 18px;border-radius:50%;background:#e7f1f8}
html body.theme-costapujol.woocommerce-account .cpa-sent-i:before{content:"";display:block;width:100%;height:100%;background:#1d6fa5;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'3'%20y%3D'5'%20width%3D'18'%20height%3D'14'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M3%207l9%206%209-6'%2F%3E%3C%2Fsvg%3E") center/34px no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'3'%20y%3D'5'%20width%3D'18'%20height%3D'14'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M3%207l9%206%209-6'%2F%3E%3C%2Fsvg%3E") center/34px no-repeat}
html body.theme-costapujol.woocommerce-account .cpa-link{display:inline-flex;gap:6px;align-items:center;font-weight:700;color:#0b3a63;text-decoration:none}
html body.theme-costapujol.woocommerce-account .cpa-link:after{content:"→";transition:transform .15s}
html body.theme-costapujol.woocommerce-account .cpa-link:hover:after{transform:translateX(4px)}
html body.theme-costapujol.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{position:sticky;top:150px;align-self:start}
@media(max-width:820px){html body.theme-costapujol.woocommerce-account .cpa-auth{grid-template-columns:minmax(0,1fr)}html body.theme-costapujol.woocommerce-account .cpa-auth-main{padding:26px 22px}html body.theme-costapujol.woocommerce-account .cpa-auth-side{padding:26px 22px}html body.theme-costapujol.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{position:static}}

html body.theme-costapujol.woocommerce-account .cpa-btn{font-family:inherit}

/* ===== v2: formularios y direcciones ===== */
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content{font-size:16px;color:#1c3347}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content>p:first-child{color:#51667a;margin:0 0 18px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .u-columns,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .u-columns:before,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .u-columns:after{display:none}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .u-column1,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .u-column2,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{float:none;width:100%;max-width:none;background:#fff;border-radius:20px;padding:24px 26px;box-shadow:0 10px 30px -18px rgba(7,44,77,.35);border:1px solid #e6eef5;box-sizing:border-box}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{margin:0;font-size:20px;color:#0b3a63}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address>a{display:inline-flex;align-items:center;font-weight:700;font-size:14px;color:#0b3a63;background:#e7f1f8;border-radius:999px;padding:8px 16px;text-decoration:none;float:none}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content address{font-style:normal;line-height:1.6;color:#33495c}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content address em{color:#7a8c9b}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content h2,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content h3{color:#0b3a63}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form .form-row{margin:0 0 16px;padding:0;float:none;width:auto}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper .form-row-wide{grid-column:1/-1}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form label{display:block;font-weight:700;font-size:14px;color:#0b3a63;margin:0 0 6px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form .required{color:#c0392b;text-decoration:none}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form input.input-text,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form select,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form textarea{width:100%;box-sizing:border-box;height:54px;padding:0 18px;border:1.5px solid #cdd9e4;border-radius:14px;font-size:16px;background:#f8fbfd;transition:border-color .15s,box-shadow .15s}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form textarea{height:auto;padding:14px 18px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form input.input-text:focus,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form select:focus,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form textarea:focus{outline:0;border-color:#1d6fa5;box-shadow:0 0 0 4px rgba(29,111,165,.15);background:#fff}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .select2-container .select2-selection--single{height:54px;border:1.5px solid #cdd9e4;border-radius:14px;background:#f8fbfd}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:52px;padding-left:18px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .select2-container--default .select2-selection--single .select2-selection__arrow{height:52px;right:10px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content fieldset{border:0;padding:0;margin:26px 0 0}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content fieldset legend{font-size:20px;font-weight:700;color:#0b3a63;padding:0;margin:0 0 14px}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form em,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form .description{display:block;margin-top:6px;font-size:13px;color:#7a8c9b}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form button.button,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content button.woocommerce-Button,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-Button{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 30px;border:0;border-radius:999px;background:#0b3a63!important;color:#fff!important;font-weight:700;font-size:16px;font-family:inherit;cursor:pointer;transition:transform .15s,box-shadow .15s}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content form button.button:hover,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content button.woocommerce-Button:hover{transform:translateY(-1px);box-shadow:0 10px 20px -10px rgba(7,44,77,.7)}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info{border-radius:14px}
@media(max-width:820px){html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .u-columns,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:minmax(0,1fr)}html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper{grid-template-columns:minmax(0,1fr)}html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .u-column1,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .u-column2,html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{padding:20px}}

html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .password-input{position:relative;display:block}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .password-input input{padding-right:54px!important}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .show-password-input{position:absolute!important;right:10px;top:9px;width:36px!important;height:36px!important;padding:0!important;border:0!important;background:transparent!important;cursor:pointer;opacity:1;font-size:0!important}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .show-password-input:before{content:"";display:block;width:100%;height:100%;background:#7a8c9b;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M1%2012s4-8%2011-8%2011%208%2011%208-4%208-11%208S1%2012%201%2012z'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'3'%2F%3E%3C%2Fsvg%3E") center/22px no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M1%2012s4-8%2011-8%2011%208%2011%208-4%208-11%208S1%2012%201%2012z'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'3'%2F%3E%3C%2Fsvg%3E") center/22px no-repeat}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .show-password-input.display-password:before{background:#1d6fa5}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-content .show-password-input:after{display:none!important}
@media(max-width:820px){html body.theme-costapujol.woocommerce-account .cpa-stats{order:2!important;margin-top:4px}html body.theme-costapujol.woocommerce-account .cpa-stats li{flex:1}}

/* ===== v3: suscripciones ===== */
html body.theme-costapujol .cpa-rep{border:1.5px solid #cdd9e4;border-radius:16px;padding:12px 16px 14px;margin:0 0 16px;background:#f8fbfd;min-width:0}
html body.theme-costapujol .cpa-rep legend{font-weight:700;color:#0b3a63;padding:0 6px;font-size:15px}
html body.theme-costapujol .cpa-rep-o{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body.theme-costapujol .cpa-rep-o label{position:relative;cursor:pointer;margin:0}
html body.theme-costapujol .cpa-rep-o input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
html body.theme-costapujol .cpa-rep-o span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:8px 10px;border:1.5px solid #cdd9e4;border-radius:12px;background:#fff;font-weight:600;font-size:14px;color:#0b3a63;transition:background .15s,color .15s,border-color .15s}
html body.theme-costapujol .cpa-rep-o input:checked+span{background:#0b3a63;color:#fff;border-color:#0b3a63}
html body.theme-costapujol .cpa-rep-o input:focus-visible+span{box-shadow:0 0 0 4px rgba(29,111,165,.25)}
html body.theme-costapujol .cpa-rep-n{margin:10px 2px 0;font-size:13px;color:#51667a;line-height:1.4}
html body.theme-costapujol.woocommerce-account .cpa-hero-s{grid-template-columns:minmax(0,1fr);align-items:center}
html body.theme-costapujol.woocommerce-account .cpa-plans{display:grid;gap:16px}
html body.theme-costapujol.woocommerce-account .cpa-plan{padding:22px 24px;border-radius:20px;background:#fff}
html body.theme-costapujol.woocommerce-account .cpa-plan-h{display:flex;gap:16px;align-items:center}
html body.theme-costapujol.woocommerce-account .cpa-plan-h .cpa-th{flex:0 0 72px;width:72px;height:72px;border-radius:14px;overflow:hidden;display:block;background:#e7f1f8}
html body.theme-costapujol.woocommerce-account .cpa-plan-h .cpa-th img{width:100%;height:100%;object-fit:cover;display:block}
html body.theme-costapujol.woocommerce-account .cpa-plan h3{margin:0 0 4px;font-size:19px;color:#0b3a63}
html body.theme-costapujol.woocommerce-account .cpa-plan-m{color:#51667a;font-size:14px;margin:4px 0}
html body.theme-costapujol.woocommerce-account .cpa-plan-a{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}
html body.theme-costapujol.woocommerce-account .cpa-plan-a select{height:44px;border-radius:12px;border:1.5px solid #cdd9e4;padding:0 12px;background:#f8fbfd;font-size:15px;width:auto}
html body.theme-costapujol.woocommerce-account .cpa-mini{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:999px;border:1.5px solid #0b3a63;background:transparent!important;color:#0b3a63!important;font-weight:700;font-size:14px;cursor:pointer;font-family:inherit}
html body.theme-costapujol.woocommerce-account .cpa-mini.danger{border-color:#c0392b;color:#c0392b!important}
html body.theme-costapujol.woocommerce-account .cpa-pb{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;margin-right:6px}
html body.theme-costapujol.woocommerce-account .cpa-pb-active{background:#e2f4e8;color:#1c6b3a}
html body.theme-costapujol.woocommerce-account .cpa-pb-paused{background:#fff2d6;color:#8a5a00}
html body.theme-costapujol.woocommerce-account .cpa-pb-cancelled{background:#ececec;color:#666}
html body.theme-costapujol.woocommerce-account .cpa-st-cancelled{opacity:.7}
html body.theme-costapujol.woocommerce-account .cpa-empty{padding:34px;text-align:center;border-radius:20px;background:#fff}
html body.theme-costapujol.woocommerce-account .woocommerce-MyAccount-navigation-link--suscripciones{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M21%2012a9%209%200%200%201-15.5%206.2L3%2016M3%2012a9%209%200%200%201%2015.5-6.2L21%208'%2F%3E%3Cpath%20d%3D'M21%203v5h-5M3%2021v-5h5'%2F%3E%3C%2Fsvg%3E")}
@media(max-width:820px){html body.theme-costapujol.woocommerce-account .cpa-plan{padding:18px}html body.theme-costapujol.woocommerce-account .cpa-plan-a .cpa-btn,html body.theme-costapujol.woocommerce-account .cpa-plan-a .cpa-mini,html body.theme-costapujol.woocommerce-account .cpa-plan-a select{flex:1 1 100%}}

html body.theme-costapujol .cpa-subs-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:20px 24px;border-radius:20px;background:#fff;margin:0 0 20px}
html body.theme-costapujol .cpa-subs-strip h3{margin:0 0 4px;font-size:18px;color:#0b3a63}
html body.theme-costapujol .cpa-subs-strip p{margin:0;color:#51667a;font-size:15px}
html body.theme-costapujol .cpa-subs-a{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
html body.theme-costapujol .cpa-ty{border:1.5px solid #cdd9e4;border-radius:18px;padding:18px 22px;margin:0 0 22px;background:#f8fbfd}
html body.theme-costapujol .cpa-ty h3{margin:0 0 6px;color:#0b3a63;font-size:18px}
html body.theme-costapujol .cpa-ty p{margin:0;color:#51667a}
@media(max-width:820px){html body.theme-costapujol .cpa-subs-strip{padding:18px}html body.theme-costapujol .cpa-subs-a .cpa-btn{flex:1 1 100%;text-align:center}}
