/* Deal list pages (template "Deals list"), from design-proofs/deals-v1/build.py. Loaded only on those pages.
   The top banner and homepage band styles live in promos.css. */
.dhead{position:relative;border-top:1px solid var(--line);border-bottom:1px solid var(--ink);background:var(--paper)}
.dhead::before{content:"";position:absolute;top:0;bottom:0;left:56%;right:0;background:#C2F542}
.dhead .otiles{left:56%}
.dhead .wrap{position:relative;z-index:1;display:grid;grid-template-columns:56% 44%;min-height:460px}
.dh-l{padding:var(--s-8) var(--s-8) var(--s-8) 0;display:flex;flex-direction:column;justify-content:center}
.dhead h1{font-size:64px;line-height:1.02;margin:0 0 var(--s-4)}
.dh-facts{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:var(--s-3);font-size:15px;color:var(--muted)}
.dh-facts b{color:var(--ink)}
.dh-note{margin-top:var(--s-5);font-size:14px;color:var(--muted)}
.dh-note a{color:var(--ink);border-bottom:2px solid var(--lime)}
.dpanel{position:absolute;z-index:1;top:0;bottom:0;left:56%;right:0;display:flex;align-items:center;justify-content:center}
.bf-tag{width:330px;height:auto;filter:drop-shadow(8px 8px 0 #0E0F0C);transform-origin:16% 50%;animation:tagsway 7s ease-in-out infinite}
@keyframes tagsway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
.djump{border-bottom:1px solid var(--line)}
.djump .wrap{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding-top:var(--s-4);padding-bottom:var(--s-4)}
.djump a{font-weight:700;font-size:14.5px;color:var(--ink);border:1.5px solid var(--ink);border-radius:var(--r-sm);padding:8px 12px;background:#fff}
.djump a:hover{background:var(--ink);color:var(--paper)}
.tks{list-style:none;margin:0;padding:0;display:grid;gap:var(--s-4)}
.tk{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);background:#fff;border:2px solid var(--ink);border-radius:var(--r-md);box-shadow:5px 5px 0 var(--ink)}
.tk::before,.tk::after{content:"";position:absolute;left:141px;width:18px;height:18px;border-radius:99px;background:var(--paper);border:2px solid var(--ink)}
.tk::before{top:-11px;clip-path:inset(50% 0 0 0)}
.tk::after{bottom:-11px;clip-path:inset(0 0 50% 0)}
.tk-stub{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-right:2px dashed var(--ink);padding:var(--s-4) var(--s-3);text-align:center;background:var(--lime);border-radius:var(--r-md) 0 0 var(--r-md)}
.tk-pct{font-stretch:115%;font-weight:900;font-size:26px;line-height:1.05}
.tk-off{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.tk-body{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:10px var(--s-5);align-items:center;padding:var(--s-4) var(--s-5)}
.tk-id{display:flex;align-items:center;gap:var(--s-4);min-width:0}
.tk-logo{flex:none;width:120px;height:52px;display:grid;place-items:center}
.tk-logo img{max-width:100%;max-height:40px;width:auto;height:auto;object-fit:contain}
.tk-name{display:flex;flex-direction:column;gap:4px;min-width:0}
.tk-name b{font-stretch:108%;font-weight:900;font-size:19px;line-height:1.2}
.tk-what{font-size:14.5px;color:var(--body);line-height:1.45}
.tk-meta{grid-column:1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.tk-price b{font-stretch:108%;font-weight:900;font-size:18px}
.tk-price s{color:var(--muted);margin-left:8px;font-size:14px}
.tk-end{font-size:14px;font-weight:700;color:var(--lime-text)}
.tk-code{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:13.5px;border:1.5px dashed var(--ink);border-radius:var(--r-sm);padding:5px 10px;background:#fff;cursor:pointer;color:var(--ink)}
.tk-code span{color:var(--muted)}
.tk-code i{font-style:normal;font-weight:800;border-left:1.5px solid var(--line);padding-left:8px}
.tk-code.auto{border-style:solid;border-color:var(--line);color:var(--muted);cursor:default}
.tk-code.copied i{color:var(--lime-text)}
.tk-flag{font-size:12.5px;color:var(--muted)}
.tk-btn{grid-column:2;grid-row:1 / span 2;white-space:nowrap}
.tk-mark{display:inline-block;margin-left:8px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--lime-text)}
.tks.bundles{grid-template-columns:1fr 1fr;gap:var(--s-6)}
.tk.big{grid-template-columns:1fr;grid-template-rows:auto 1fr}
.tk.big::before,.tk.big::after{display:none}
.tk.big .tk-stub{border-right:0;border-bottom:2px dashed var(--ink);border-radius:var(--r-md) var(--r-md) 0 0;flex-direction:row;gap:12px;padding:var(--s-5)}
.tk.big .tk-pct{font-size:38px}
.tk.big .tk-body{grid-template-columns:1fr;padding:var(--s-5) var(--s-6)}
.tk.big .tk-btn{grid-column:1;grid-row:auto;justify-self:start}
.tk.big .tk-name b{font-size:24px}
.sub{margin:-24px 0 var(--s-6);color:var(--muted);font-size:16px;max-width:720px}
.dgroup + .dgroup{margin-top:var(--s-8)}
.dgroup h3{margin:0 0 var(--s-4);font-stretch:112%;font-weight:900;font-size:26px;border-bottom:2px solid var(--ink);padding-bottom:var(--s-3)}
.pick{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:var(--s-7);align-items:center}
.pick p{font-size:18px;line-height:1.6;color:var(--body)}
.pick .disc{font-size:14px;color:var(--muted)}
.ctable{width:100%;border-collapse:collapse;font-size:15.5px;background:#fff;border:2px solid var(--ink);border-radius:var(--r-md);overflow:hidden}
.ctable th,.ctable td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.ctable th{background:var(--ink);color:var(--paper);font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.ctable tr:last-child td{border-bottom:0}
.choose{list-style:none;margin:0;padding:0;display:grid;gap:0}
.choose li{display:grid;grid-template-columns:280px minmax(0,1fr);gap:var(--s-5);padding:var(--s-5) 0;border-bottom:1px solid var(--line)}
.choose b{font-stretch:108%;font-weight:900;font-size:19px}
.choose p{margin:0;font-size:17px;line-height:1.55;color:var(--body)}
.choose a{color:var(--ink);font-weight:800;border-bottom:2px solid var(--lime)}
.nodeal{color:var(--muted);font-size:15px;margin-top:var(--s-4)}
@media (prefers-reduced-motion:reduce){.bf-tag{animation:none}}
@media (max-width:1060px){.dhead::before,.dhead .otiles{display:none}.dhead .wrap{grid-template-columns:1fr;min-height:0}.dh-l{padding:var(--s-7) 0 var(--s-5)}.dpanel{position:static;background:#C2F542;padding:var(--s-7) var(--gutter)}.dhead h1{font-size:46px}.tks.bundles{grid-template-columns:1fr}.pick{grid-template-columns:1fr}.choose li{grid-template-columns:1fr;gap:6px}}
@media (max-width:700px){.dhead h1{font-size:38px}.tk{grid-template-columns:96px minmax(0,1fr)}.tk::before,.tk::after{left:87px}.tk-pct{font-size:20px}.tk-body{grid-template-columns:1fr;padding:var(--s-4)}.tk-btn{grid-column:1;grid-row:auto;justify-self:start}.tk-logo{width:84px;height:40px}.tk-logo img{max-height:30px}.tk-name b{font-size:17px}.bf-tag{width:260px}.ctable{display:block;overflow-x:auto}}
/* live-site additions */
.tks.bundles.one{grid-template-columns:minmax(0,1fr)}
.ctable-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ctable td b{font-weight:800}
.deal-choose{max-width:860px}
.deal-choose h3{margin:var(--s-6) 0 var(--s-2);font-stretch:108%;font-weight:900;font-size:21px}
.deal-choose a{color:var(--ink);font-weight:800;border-bottom:2px solid var(--lime);text-decoration:none}
.dh-l,.tk-name,.tk-what{overflow-wrap:anywhere}
@media (max-width:600px){.dhead .wrap{grid-template-columns:minmax(0,1fr)}.djump .wrap{justify-content:flex-start}}
.pick{padding:0;border:0;background:none;border-radius:0} /* site.css has another .pick (the guide page's tool box) */
/* 0.5.9 the three lead deals (SureCart, SureContact, ZipWP) as big tickets in one row */
.tks.bundles.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-5)}
@media (max-width:1060px){.tks.bundles.three{grid-template-columns:minmax(0,1fr)}}
/* the three lead cards: logo above the name (names never break mid-word), and the price row and button sit on the
   same lines in all three cards whatever the description length */
.tks.bundles.three .tk.big{display:flex;flex-direction:column}
.tks.bundles.three .tk.big .tk-body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex:1}
.tks.bundles.three .tk-id{flex-direction:column;align-items:flex-start;gap:14px;width:100%}
.tks.bundles.three .tk-logo{width:auto;height:40px;justify-content:start;place-items:center start}
.tks.bundles.three .tk-logo img{max-height:36px;max-width:200px}
.tks.bundles.three .tk-name b{overflow-wrap:normal;word-break:normal}
.tks.bundles.three .tk-meta{margin-top:auto;padding-top:6px}
.tks.bundles.three .tk-btn{align-self:flex-start}
.tk-price .tk-per{font-weight:700;font-size:13px;color:var(--muted);margin-left:3px}
/* 0.5.15 look-back pages (e.g. Halloween 2026 on the Halloween 2027 page): ended deals read as history, not offers */
.dh-cta{margin:var(--s-5) 0 0}
.tk.ended .tk-stub{background:#E4E3DA}
.tk.ended .tk-pct,.tk.ended .tk-off{color:var(--muted)}
.tk.ended .tk-end{color:var(--muted)}
.tk.ended .tk-btn.ghost-btn{background:var(--white);color:var(--ink);border:2px solid var(--ink)}
.tk.ended .tk-btn.ghost-btn:hover{background:var(--paper)}
/* 0.6.3 brand cards on look-back pages: no stub, no prices; logo, what it does, a button */
.tk.brand{grid-template-columns:1fr}
.tk.brand::before,.tk.brand::after{display:none}
.tk.brand .tk-body{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto}
.tk.brand .tk-btn{grid-row:1}
.tks.bundles .tk.brand{grid-template-rows:auto}
.tk.brand .tk-what{font-size:16px}
.tk.brand .tk-name b{font-size:18px}
/* 0.6.5 wide wordmarks read at a decent size: a wider logo column on desktop (descriptions still line up), and on
   phones the logo sits above its description with the card's full width */
.tk-id.has-logo .tk-logo{width:170px;place-items:center start}
.tk-id.has-logo .tk-logo img{max-width:170px}
@media (max-width:700px){
  .tk-id.has-logo{flex-direction:column;align-items:flex-start;gap:10px}
  .tk-id.has-logo .tk-logo{width:auto;height:auto;max-width:100%;place-items:center start}
  .tk-id.has-logo .tk-logo img{max-height:32px;max-width:min(220px,100%)}
}
.tks.bundles.three .tk-id.has-logo .tk-logo{width:auto}
.tks.bundles.three .tk-id.has-logo .tk-logo img{max-width:200px}
