/* Tools hub v2 (Oct 18, 2026). Loaded after guides-hub.css on /tools/ and /es/herramientas/. */
.th{--c:var(--seal)}
.th-hero h1{max-width:14ch}
.th-facts dt{font-size:22px;color:var(--ink)}
.th-facts div:first-child dt{color:var(--seal)}
.th-tools{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:28px}
.th-tools .gh-search{margin-top:0;flex:1 1 420px}
.th-fmts{display:flex;gap:6px;flex-wrap:wrap}
.th-fbtn{font:600 14px var(--font);border:1px solid var(--rule);background:var(--sheet);color:var(--ink);border-radius:99px;padding:9px 14px;cursor:pointer}
.th-fbtn:hover{border-color:var(--edge)}
.th-fbtn[aria-pressed="true"]{background:var(--navy);border-color:var(--edge);color:#fff}

/* bundles */
.th-bundle-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}
.th-bundle{display:flex;flex-direction:column;text-decoration:none;color:#fff;background:var(--navy);border-radius:12px;padding:26px 28px;position:relative;overflow:hidden}
.th-bundle::after{content:"";position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:24px;background:var(--seal);opacity:.9;transform:rotate(12deg)}
.th-bundle .gh-kick{color:var(--blush);position:relative;z-index:1}
.th-bundle h3{font-size:26px;letter-spacing:-.02em;margin:6px 0 6px;position:relative;z-index:1;max-width:16ch}
.th-bundle p{margin:0 0 14px;color:var(--mist);font-size:15px;max-width:34em}
.th-inc{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mist)}
.th-bundle ul{list-style:none;margin:8px 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.th-bundle li{font-size:13px;border:1px solid rgba(255,255,255,.3);border-radius:99px;padding:3px 10px}
.th-bfoot{margin-top:auto;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.th-bprice{font-size:30px;font-weight:700;letter-spacing:-.02em}
.th-save{font-size:14px;color:var(--blush);font-weight:600}
.th-bundle:hover h3{text-decoration:underline}

/* cards */
.th-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.th-card{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);background:var(--sheet);border:1px solid var(--rule);border-radius:10px;overflow:hidden;transition:transform .15s,box-shadow .15s,border-color .15s}
.th-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px -16px rgba(27,42,58,.5);border-color:var(--mist)}
.th-img{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--paper);border-bottom:1px solid var(--rule)}
.th-img img{width:100%;height:100%;object-fit:cover;object-position:left top;transform:scale(1.35);transform-origin:left top;transition:transform .35s}
.th-card:hover .th-img img{transform:scale(1.5)}
.th-body{display:flex;flex-direction:column;flex:1;padding:14px 18px 16px}
.th-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.th-fmt,.th-es{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:4px;padding:2px 7px;background:var(--paper);color:var(--ink-2)}
.th-f-notion{background:rgba(150,130,230,.16);color:#C2B5F5}.th-f-sheet{background:rgba(76,175,120,.16);color:#7EDBA6}.th-f-print{background:rgba(232,140,60,.16);color:#F2AE76}.th-f-doc{background:rgba(100,160,230,.16);color:#9CC4F0}
.th-es{background:rgba(224,69,58,.16);color:var(--seal)}
.th-card h3{font-size:17px;line-height:1.3;margin:0 0 6px}
.th-card p{font-size:15px;line-height:1.5;color:var(--muted);margin:0 0 14px}
.th-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:baseline;padding-top:10px;border-top:1px dashed var(--rule)}
.th-price{font-size:18px;font-weight:700;letter-spacing:-.01em}
.th-how{font-size:14px;font-weight:600;color:var(--seal)}
.th-card:hover h3{color:var(--seal)}
.th-grid-pop{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.th-pop .th-card{border-top:3px solid var(--seal)}

/* etsy-only table */
.th-shop .gh-head{align-items:flex-end}
.th-shoplink{flex:none;font-weight:600;font-size:15px;color:var(--seal);text-decoration:none}
.th-shoplink:hover{text-decoration:underline}
.th-table{border-top:1px solid var(--rule);columns:2;column-gap:40px}
.th-row{display:grid;grid-template-columns:1fr auto auto;gap:4px 14px;align-items:baseline;padding:12px 6px;border-bottom:1px solid var(--rule);text-decoration:none;color:var(--ink);break-inside:avoid}
.th-row:hover{background:var(--paper)}.th-row:hover .th-row-t{color:var(--seal)}
.th-row-t{font-weight:600;font-size:15px}
.th-row-p{font-weight:700;font-variant-numeric:tabular-nums}
.th-row-a{display:none}
.th-fine{padding:40px 0 0}.th-fine p{font-size:13px;color:var(--muted);max-width:60em;margin:0}
.th .gh-band{margin-top:40px}

@media (max-width:900px){.th-table{columns:1}}
@media (max-width:560px){
 .th-tools{gap:10px}
 .th-fmts{overflow-x:auto;flex-wrap:nowrap;max-width:100%}
 .th-fbtn{flex:none}
 .th-bundle{padding:22px}
 .th-bundle h3{font-size:22px}
 .th-grid,.th-grid-pop{grid-template-columns:1fr;gap:12px}
 .th-card{flex-direction:row}
 .th-img{flex:0 0 34%;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--rule)}
 .th-img img{transform:scale(1.9)}
 .th-card:hover .th-img img{transform:scale(1.9)}
 .th-body{padding:12px 14px}
 .th-card p{display:none}
 .th-card h3{font-size:16px;margin-bottom:8px}
 .th-how{display:none}
 .th-row{grid-template-columns:1fr auto}
 .th-row-f{display:none}
}

/* navy theme v1 (Oct 19, 2026) */
.th-fbtn{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.12);transition:background-color .15s,border-color .15s}
.th-fbtn:hover{border-color:rgba(255,255,255,.3)}
.th-fbtn[aria-pressed="true"]{background:rgba(224,69,58,.18);border-color:rgba(224,69,58,.55);color:#fff}
.th-bundle{background:radial-gradient(520px 220px at 100% 0,rgba(224,69,58,.26),transparent 62%),linear-gradient(135deg,#17293D,#0F1C2A);border:1px solid rgba(255,255,255,.1)}
.th-card{border-radius:16px;border-color:rgba(255,255,255,.1)}
.th-card:hover{border-color:rgba(255,255,255,.26)}
.th-fmt{background:rgba(255,255,255,.07);color:#D6DFE8}
.th-row:hover{background:rgba(255,255,255,.03)}

/* bundle art Y (Oct 19): the bundle's own screenshots as stacked browser windows */
.th-bundle::after{display:none}
.th-bundle{min-height:340px;background:radial-gradient(520px 220px at 100% 0,rgba(224,69,58,.22),transparent 62%),linear-gradient(135deg,#17293D,#0F1C2A)}
.th-bundle>*:not(.th-stack){position:relative;z-index:2}
.th-bundle h3,.th-bundle p,.th-bundle ul,.th-bundle .th-inc{max-width:56%}
.th-stack{position:absolute;right:-4%;top:13%;width:47%;height:62%;perspective:900px;z-index:1;pointer-events:none}
.th-win{position:absolute;width:88%;border-radius:9px;overflow:hidden;background:#E6EBF0;box-shadow:0 24px 44px -14px rgba(0,0,0,.85);transform:rotateY(-18deg) rotateX(6deg);transition:transform .35s}
.th-win:before{content:"";display:block;height:13px;background:radial-gradient(circle at 9px 6.5px,#E0453A 2.6px,transparent 2.9px),radial-gradient(circle at 19px 6.5px,#F5B85A 2.6px,transparent 2.9px),radial-gradient(circle at 29px 6.5px,#5FD0A0 2.6px,transparent 2.9px),#E6EBF0}
.th-win img{display:block;width:100%;height:auto}
.th-win:nth-child(1){left:0;top:0;opacity:.5}
.th-win:nth-child(2){left:9%;top:13%;opacity:.78}
.th-win:nth-child(3){left:18%;top:26%}
.th-win:only-child,.th-win:nth-child(2):last-child{opacity:1}
.th-bundle:hover .th-win{transform:rotateY(-10deg) rotateX(4deg) translateY(-4px)}
.th-bfoot{margin-top:auto}
@media (max-width:640px){
.th-bundle h3,.th-bundle p,.th-bundle ul,.th-bundle .th-inc{max-width:100%}
.th-stack{position:relative;right:auto;top:auto;width:80%;height:180px;margin:18px 0 0;order:5}
.th-bundle{min-height:0}
}
@media (prefers-reduced-motion:reduce){.th-win{transition:none}}

/* mobile: hero grid children may shrink, format filter scrolls sideways instead of widening the page */
.gh-hero-in>*{min-width:0}
@media (max-width:640px){.th-fmts{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;max-width:100%}.th-fmts::-webkit-scrollbar{display:none}.th-fmts button{flex:none}}
