@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');:root{--red:#e60012;--bg:#0b0c0e;--panel:#16181c;--ink:#f7f6f3;--muted:#aaaab0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}button,select,input,textarea{font:inherit}button{cursor:pointer}.top{height:88px;display:flex;justify-content:space-between;align-items:center;padding:0 max(4%,calc((100vw - 1380px)/2));border-bottom:1px solid #292a2e;background:#0c0d10;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:15px}.brand img{height:54px;max-width:180px;object-fit:contain}.brand span{font:800 13px 'Barlow Condensed';letter-spacing:3px;border-left:1px solid #444;padding-left:15px}.top nav{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:700}.top nav a:hover{color:var(--red)}.cartnav{background:var(--red);padding:13px 17px}.cartnav b{background:white;color:black;border-radius:50%;padding:3px 7px;margin-left:7px}.hero{min-height:590px;background:radial-gradient(circle at 83% 48%,#421017 0%,transparent 37%),linear-gradient(115deg,#121318,#0a0a0c 75%);position:relative;display:flex;align-items:center;overflow:hidden}.hero:after{content:'CV';font:900 clamp(230px,35vw,600px) 'Barlow Condensed';position:absolute;right:0;top:0;color:#ffffff05;line-height:1;pointer-events:none}.hero-inner{max-width:1380px;width:92%;margin:auto;position:relative;z-index:1}.eyebrow{font:800 13px 'Barlow Condensed';letter-spacing:3px;color:var(--red)}h1,h2,h3{font-family:'Barlow Condensed',Impact,sans-serif}h1{font-size:clamp(75px,10vw,155px);line-height:.83;letter-spacing:-2px;margin:26px 0}h1 span{color:var(--red)}.hero p{max-width:520px;color:#c7c5c8;line-height:1.7;font-size:16px}.cta{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;background:var(--red);padding:18px 26px;font-size:13px;font-weight:800;letter-spacing:1px;margin-top:24px;border:0}.cta:hover,.add:hover{background:#ff2032}.hero-stamp{position:absolute;right:6%;bottom:38px;font:800 15px 'Barlow Condensed';letter-spacing:4px;color:#aaa}.hero-stamp span{color:var(--red)}.strip{display:flex;justify-content:space-around;gap:20px;padding:18px;background:#e60012;font:800 15px 'Barlow Condensed';letter-spacing:2px}.section{max-width:1380px;margin:0 auto;padding:100px 4%}.section-top{display:flex;align-items:end;justify-content:space-between;gap:30px}.section-top p{max-width:330px;color:var(--muted);font-size:14px;line-height:1.7}h2{font-size:clamp(50px,6vw,82px);line-height:1;margin:16px 0 30px}h2 em{color:var(--red);font-style:normal}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 35px}.filter{border:1px solid #333;background:none;color:#aaa;padding:11px 20px;font-weight:800;font-size:12px;letter-spacing:1px}.filter.active,.filter:hover{background:var(--red);color:#fff;border-color:var(--red)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product{background:#16171b;border:1px solid #282a30;transition:transform .2s,border-color .2s}.product:hover{transform:translateY(-5px);border-color:#666}.product[hidden]{display:none}.picture{aspect-ratio:1/1;position:relative;background:radial-gradient(circle,#34353a,#1a1b1f 72%);display:grid;place-items:center;overflow:hidden}.picture img{width:100%;height:100%;object-fit:contain;padding:17px;transition:transform .3s}.product:hover img{transform:scale(1.07)}.pill{position:absolute;top:15px;left:15px;background:#0c0d10e8;padding:7px 10px;font:800 11px 'Barlow Condensed';letter-spacing:1.5px}.info{padding:20px}.micro{color:var(--red);font:800 11px 'Barlow Condensed';letter-spacing:2px}.nameprice{display:flex;justify-content:space-between;align-items:start;gap:8px;margin:8px 0 20px}.nameprice h3{font-size:25px;line-height:1.1;margin:0}.nameprice strong{white-space:nowrap;font-size:14px}.info select{width:100%;padding:11px;background:#0e0f11;color:white;border:1px solid #45464b;margin-bottom:9px}.add{width:100%;background:#f3f2ee;color:#111;border:0;padding:14px;font:800 14px 'Barlow Condensed';letter-spacing:1.5px}.add:disabled{opacity:.35;cursor:not-allowed}.checkout-section{padding:85px max(4%,calc((100vw - 1380px)/2));background:#18191d;display:grid;grid-template-columns:1fr 1.15fr;gap:65px}.checkout-section p{max-width:400px;line-height:1.7;color:var(--muted)}.basket{padding:30px;background:#101114;border:1px solid #34353a}.basket-line{display:flex;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #333}.basket-line img{width:64px;height:64px;object-fit:contain;background:#26272b}.basket-line div{flex:1}.basket-line small{display:block;color:#aaa;margin-top:6px}.basket-line button{border:0;background:none;color:#ff6974;font-size:23px}.total{display:flex;justify-content:space-between;padding:24px 0;font-size:22px;font-weight:800}.checkout-cta{display:flex;margin:0}.error{background:#511921;padding:15px}.form-field{display:grid;gap:8px;margin:15px 0}.form-field input,.form-field textarea{width:100%;background:#22242a;color:white;border:1px solid #474950;padding:15px;border-radius:3px}.checkout-wrap{max-width:680px;margin:70px auto;padding:0 20px}.checkout-wrap .basket{margin-top:20px}footer{display:flex;justify-content:space-between;gap:20px;padding:35px 4%;font:800 13px 'Barlow Condensed';letter-spacing:2px;color:#999}@media(max-width:1050px){.grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){.top{height:74px}.brand img{height:42px}.brand span{display:none}.top nav{gap:13px;font-size:12px}.hero{min-height:510px}.hero-stamp{display:none}.strip{font-size:11px;overflow:hidden;white-space:nowrap}.strip span:nth-child(n+4){display:none}.section{padding:65px 5%}.section-top{display:block}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.info{padding:13px}.nameprice{display:block}.nameprice h3{font-size:21px;margin-bottom:8px}.checkout-section{display:block;padding:60px 5%}.basket{padding:15px}footer{display:block;line-height:2}}@media(max-width:380px){.grid{grid-template-columns:1fr}}

/* Resum de transport visible abans del pagament */
.shipping-summary{padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:12px;margin:18px 0}.shipping-line{display:flex;justify-content:space-between;gap:16px;margin:12px 0}.shipping-summary h3{margin-top:0}

.product-photo-link{display:block;width:100%;height:100%}.product-photo-link img{display:block}
.private-preview{text-align:center;padding:12px;background:#4d1018;font-size:12px;letter-spacing:1px}
.detail-wrap{max-width:1380px;margin:auto;padding:45px 4% 100px}.detail-back{color:#bbb;font-weight:800;font-size:12px;letter-spacing:1.5px}
.detail-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:6%;margin-top:35px}
.detail-photo{min-height:520px;background:radial-gradient(circle,#34353a,#1a1b1f 72%);border:1px solid #333}
.detail-photo button{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;background:transparent;color:white;border:0;cursor:zoom-in;padding:25px}
.detail-photo img{max-width:100%;max-height:560px;object-fit:contain}.detail-photo span{font-size:11px;letter-spacing:2px}
.detail-content h1{font-size:clamp(55px,6vw,90px);line-height:.95;margin:20px 0}.detail-price{font-size:30px;font-weight:800;margin-bottom:30px}.detail-content hr{border:0;border-top:1px solid #444;margin:28px 0}
.detail-content h2{font-size:30px;margin:0 0 12px}.detail-description{color:#c5c5c9;line-height:1.8;margin-bottom:30px}
.detail-content form{display:grid;gap:12px}.detail-content form label{font-size:12px;font-weight:800;letter-spacing:1.5px}
.detail-content select{background:#222;color:white;padding:16px;border:1px solid #555;width:100%}.detail-add{cursor:pointer;justify-content:center;margin-top:8px}
.size-guide{border-top:1px solid #444;border-bottom:1px solid #444;margin-top:30px;padding:20px 0}.size-guide summary{cursor:pointer;font-weight:800;letter-spacing:1px}.size-guide p{color:#bbb;line-height:1.7;font-size:14px}
.detail-notes{color:#bbb;font-size:13px;margin-top:25px}.photo-dialog{background:#16171b;color:white;border:1px solid #555;max-width:95vw;max-height:95vh}.photo-dialog::backdrop{background:#000e}.photo-dialog img{max-width:85vw;max-height:80vh;object-fit:contain}.photo-dialog form{text-align:right}.photo-dialog button{background:none;border:0;color:white;font-size:30px}
@media(max-width:750px){.detail-grid{grid-template-columns:1fr;gap:28px}.detail-photo{min-height:330px}.detail-photo img{max-height:400px}.detail-wrap{padding:28px 5% 60px}}

.detail-gallery{min-width:0}.photo-thumbs{display:flex;gap:12px;overflow-x:auto;padding:12px 0}.photo-thumbs button{width:94px;height:94px;flex:0 0 94px;background:#222;border:2px solid #454545;border-radius:8px;padding:5px;cursor:pointer}.photo-thumbs button.chosen{border-color:#ed1c24}.photo-thumbs img{width:100%;height:100%;object-fit:contain}.detail-lower{margin-top:70px;border-top:1px solid #444;padding-top:36px}.detail-lower h2{font-size:clamp(30px,4vw,48px);margin:20px 0}.detail-lower h3{font-size:23px;margin:28px 0 10px}.detail-lower p{line-height:1.8;color:#ccc;max-width:900px}.size-table-block{margin-top:55px}.size-table-scroll{overflow-x:auto;border-radius:12px;border:1px solid #444}.full-size-table{border-collapse:collapse;width:100%;min-width:670px;text-align:center}.full-size-table th,.full-size-table td{padding:20px 12px;border-right:1px solid #444;border-bottom:1px solid #444;white-space:nowrap}.full-size-table thead th{background:#b91120;color:white}.full-size-table tbody th{background:#2d2f35;color:#fff;text-align:left}.full-size-table tbody td{background:#202127}.size-note{font-size:13px}

/* v14: fitxa de producte optimitzada per a mòbils */
.detail-grid,.detail-content,.detail-lower,.detail-gallery,.size-table-block{min-width:0;max-width:100%}
.detail-content h1{overflow-wrap:anywhere;hyphens:auto}
.detail-photo button{min-width:0}
.detail-photo img{width:100%;height:auto}
.size-table-scroll{max-width:100%;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
@media(max-width:750px){
 html,body{max-width:100%;overflow-x:clip}
 .top{padding:0 4%;gap:8px}.top nav{gap:9px;min-width:0}.top nav a{white-space:nowrap}.brand{min-width:0;gap:5px}.brand img{max-width:115px;width:auto;height:39px}
 .private-preview{padding:9px 10px;font-size:10px;letter-spacing:.3px}
 .detail-wrap{padding:22px 4% 50px;width:100%}
 .detail-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:20px}
 .detail-photo{min-height:0;aspect-ratio:1/1;width:100%;overflow:hidden}
 .detail-photo button{height:100%;padding:12px;gap:8px}
 .detail-photo img{max-height:calc(100% - 25px);height:80%;object-fit:contain}
 .detail-photo span{font-size:10px;letter-spacing:1px}
 .photo-thumbs{gap:8px;padding:9px 0 2px}
 .photo-thumbs button{width:68px;height:68px;flex-basis:68px}
 .detail-content .eyebrow{font-size:11px;letter-spacing:1.3px}
 .detail-content h1{font-size:clamp(34px,10vw,52px);line-height:1.02;letter-spacing:-.5px;margin:12px 0}
 .detail-price{font-size:25px;margin-bottom:16px}.detail-content hr{margin:16px 0}
 .detail-content select{max-width:100%;font-size:16px;padding:13px}
 .detail-add{width:100%;justify-content:center;min-height:49px;margin-top:5px;padding:14px 10px}
 .detail-notes{margin-top:13px;line-height:1.6}
 .detail-lower{margin-top:32px;padding-top:18px}
 .detail-lower h2{font-size:clamp(29px,8vw,39px);line-height:1.05;margin:16px 0}
 .detail-lower h3{font-size:22px;line-height:1.15;margin:24px 0 10px}
 .detail-lower p{font-size:14px;line-height:1.65;overflow-wrap:anywhere}
 .size-table-block{margin-top:32px}
 .size-table-scroll{margin-top:14px;border-radius:8px}
 .full-size-table{width:max-content;min-width:100%;font-size:12px}
 .full-size-table th,.full-size-table td{padding:13px 11px}
 .full-size-table tbody th{position:sticky;left:0;z-index:1;box-shadow:2px 0 5px #0005}
 .full-size-table thead th:first-child{position:sticky;left:0;z-index:2}
 .photo-dialog{padding:8px;max-width:96vw;max-height:92dvh}
 .photo-dialog img{display:block;max-width:90vw;max-height:75dvh}
 footer{font-size:11px;letter-spacing:1px}
}
@media(max-width:360px){.detail-content h1{font-size:33px}.top nav{font-size:11px}.cartnav{padding:9px 10px}}
