/* ToolBricks store coupon page (2026-11-25) */
.cp-hero { background: #0b1b6b; color: #fff; padding: 94px 0 28px; }
.cp-bc .breadcrumb { padding-bottom: 8px !important; }
.cp-main { padding: 0 !important; margin: 0; }
.cp-intro > :first-child { margin-top: 0; }
.cp-side > .cp-card:first-child { margin-top: 0; }
.cp-hero-in { display: flex; align-items: center; gap: 20px; }
.cp-hero-logo { width: 88px; height: 88px; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px; box-sizing: border-box; flex: 0 0 88px; }
.cp-hero-text { flex: 1; min-width: 0; }
.cp-hero h1 { color: #fff; font-size: 28px; line-height: 1.25; margin: 0 0 6px; font-weight: 700; }
.cp-sub { margin: 0 0 6px; font-size: 15px; color: #dfe4ff; }
.cp-sub strong { color: #fff; }
.cp-links { margin: 0; font-size: 14px; color: #c9d1ff; }
.cp-links a { color: #fff; text-decoration: underline; }
.cp-star { color: #f5a623; }
.cp-visit { flex: 0 0 auto; background: #fff; color: #0b1b6b; border: 0; border-radius: 10px; padding: 12px 18px; font-size: 15px; font-weight: 700; cursor: pointer; }
.cp-visit:hover { background: #eef1ff; }

.cp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; padding-bottom: 48px; }
.cp-main { min-width: 0; }
.cp-intro { font-size: 15px; line-height: 1.6; color: #374151; margin-bottom: 8px; }
.cp-intro p { margin: 0 0 8px; }
.cp-h2 { font-size: 22px; font-weight: 700; color: #062245; margin: 18px 0 14px; line-height: 1.3; }

/* coupon cards */
.cp-list { display: flex; flex-direction: column; gap: 12px; }
.cp-coupon { display: grid; grid-template-columns: 110px minmax(0, 1fr) 170px; align-items: center; gap: 16px; background: #fff; border: 1px solid #e5e7ef; border-radius: 14px; padding: 16px; }
.cp-coupon:first-child { border-color: #f3a6cb; box-shadow: 0 6px 18px rgba(196, 0, 107, .08); }
.cp-badge { text-align: center; background: #fff0f7; border: 1px dashed #f3a6cb; border-radius: 10px; padding: 12px 6px; }
.cp-badge strong { display: block; font-size: 18px; line-height: 1.2; color: #c4006b; font-weight: 800; word-break: break-word; }
.cp-badge span { display: block; font-size: 11px; letter-spacing: .08em; color: #8a5a73; margin-top: 4px; font-weight: 700; }
.cp-body h3 { font-size: 17px; line-height: 1.35; margin: 0 0 6px; color: #062245; font-weight: 700; }
.cp-meta { margin: 0; font-size: 13px; color: #6b7280; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.cp-ok { color: #0a7d3c; font-weight: 600; }
.cp-details { margin-top: 6px; font-size: 13px; color: #4b5563; }
.cp-details summary { cursor: pointer; color: #3b4cca; font-weight: 600; }
.cp-details p { margin: 6px 0 0; }
.cp-action { text-align: right; }
.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #c4006b; color: #fff; border: 0; border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.cp-btn:hover { background: #a3005a; }
.cp-btn-code { position: relative; overflow: hidden; }
.cp-peek { background: #fff; color: #c4006b; border-radius: 6px; padding: 2px 8px; font-size: 13px; font-family: monospace; letter-spacing: 1px; }
.cp-note { font-size: 12px; color: #6b7280; margin: 10px 2px 0; }
.cp-empty { background: #fff; border: 1px solid #e5e7ef; border-radius: 12px; padding: 16px; }

/* content cards */
.cp-card { background: #fff; border: 1px solid #e5e7ef; border-radius: 14px; padding: 20px; margin-top: 24px; }
.cp-content { font-size: 15px; line-height: 1.7; color: #374151; }
.cp-content h2, .cp-content h3 { font-size: 19px; color: #062245; margin: 22px 0 8px; font-weight: 700; line-height: 1.35; }
.cp-content h2:first-child, .cp-content h3:first-child { margin-top: 0; }
.cp-content ul, .cp-content ol { padding-left: 20px; margin: 0 0 10px; }
.cp-content li { margin-bottom: 6px; }
.cp-content p { margin: 0 0 10px; }
.cp-content img { max-width: 100%; height: auto; }
.cp-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cp-shots figure { margin: 0; }
.cp-shots img { width: 100%; height: auto; border: 1px solid #e5e7ef; border-radius: 10px; }
.cp-shots figcaption { font-size: 12px; color: #6b7280; margin-top: 4px; }

/* sidebar */
.cp-side { position: sticky; top: 16px; }
.cp-side .cp-card { margin-top: 18px; padding: 16px; }
.cp-tool-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cp-tool-head img { width: 48px; height: 48px; object-fit: contain; border: 1px solid #eef0f5; border-radius: 10px; padding: 4px; box-sizing: border-box; }
.cp-tool-head strong { display: block; font-size: 16px; color: #062245; }
.cp-tool-head span { font-size: 13px; color: #6b7280; }
.cp-btn-full { width: 100%; background: #0b1b6b; }
.cp-btn-full:hover { background: #08134f; }
.cp-link { display: block; text-align: center; margin-top: 10px; font-size: 14px; font-weight: 600; color: #3b4cca; text-decoration: none; }
.cp-side-h { font-size: 16px; font-weight: 700; color: #062245; margin: 0 0 10px; }
.cp-stats { list-style: none; margin: 0; padding: 0; }
.cp-stats li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0f1f6; font-size: 14px; color: #4b5563; }
.cp-stats li:last-child { border-bottom: 0; }
.cp-stats strong { color: #062245; }
.cp-alts { list-style: none; margin: 0; padding: 0; }
.cp-alts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0f1f6; }
.cp-alts li:last-child { border-bottom: 0; }
.cp-alt-name { display: flex; align-items: center; gap: 10px; color: #062245; font-weight: 600; font-size: 14px; text-decoration: none; min-width: 0; }
.cp-alt-name img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; flex: 0 0 28px; }
.cp-alt-deal { font-size: 12px; font-weight: 600; color: #c4006b; background: #fff0f7; border: 1px solid #ffd3e8; border-radius: 999px; padding: 3px 10px; text-decoration: none; white-space: nowrap; }

@media (max-width: 991px) {
  .cp-layout { grid-template-columns: 1fr; gap: 0; }
  .cp-side { position: static; }
}
@media (max-width: 767px) {
  .cp-hero { padding: 86px 0 20px; }
  .cp-hero-in { flex-wrap: wrap; gap: 14px; }
  .cp-hero-logo { width: 64px; height: 64px; flex-basis: 64px; }
  .cp-hero-text { flex: 1 1 calc(100% - 80px); }
  .cp-hero h1 { font-size: 21px; }
  .cp-sub { font-size: 14px; }
  .cp-visit { width: 100%; }
  .cp-h2 { font-size: 19px; }
  .cp-coupon { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .cp-badge { padding: 10px 4px; }
  .cp-badge strong { font-size: 15px; }
  .cp-body h3 { font-size: 15px; }
  .cp-action { grid-column: 1 / -1; }
  .cp-card { padding: 16px; }
  .cp-content { font-size: 15px; }
}

/* reader votes + trust section */
.cp-votes { color: #6b7280; }
.cp-votes-good { color: #0a7d3c; font-weight: 600; }
.cp-trust ul { padding-left: 20px; margin: 0 0 6px; font-size: 15px; line-height: 1.6; color: #374151; }
.cp-trust li { margin-bottom: 6px; }
.cp-trust .cp-h2 { margin-top: 0; }
.cp-editor { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid #eef0f5; margin-top: 14px; padding-top: 14px; }
.cp-editor img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 48px; }
.cp-editor-name { margin: 0 0 4px; font-size: 14px; color: #062245; }
.cp-editor-bio { margin: 0 0 4px; font-size: 13px; color: #6b7280; }
.cp-editor-bio a { color: #3b4cca; }

/* pricing table inside page content */
.cp-content .cp-table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 14px; }
.cp-content .cp-table th, .cp-content .cp-table td { border: 1px solid #e5e7ef; padding: 9px 10px; text-align: left; vertical-align: top; }
.cp-content .cp-table th { background: #f6f7fb; color: #062245; font-weight: 700; }
.cp-content ol { padding-left: 22px; }
.cp-content h3 { font-size: 16px; margin: 14px 0 4px; }
@media (max-width: 767px) { .cp-content .cp-table { font-size: 13px; } .cp-content .cp-table th, .cp-content .cp-table td { padding: 7px 6px; } }

.cp-tested { margin: 6px 0 0; font-size: 13px; color: #0a7d3c; background: #effaf3; border-radius: 6px; padding: 4px 8px; display: inline-block; }

/* sale events */
.cp-ev{border-left:4px solid var(--ev,#111827)}
.cp-evtag{display:inline-block;background:var(--ev,#111827);color:#fff!important;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:2px 8px;border-radius:4px;margin-bottom:4px;text-decoration:none!important}
.cp-evbar{background:#f8fafc;border:1px solid #e5e7eb;border-left:5px solid var(--ev,#111827);border-radius:8px;padding:10px 14px;margin:0 0 14px;font-size:14px;line-height:1.5}
.cp-evbar a{font-weight:600;white-space:nowrap}

/* expired coupons */
.cp-expired{margin:14px 0 6px;border:1px dashed #d1d5db;border-radius:8px;padding:10px 14px;background:#fafafa;color:#6b7280}
.cp-expired summary{cursor:pointer;font-weight:600;color:#4b5563}
.cp-expired-note{font-size:13px;margin:8px 0}
.cp-expired-row{font-size:14px;padding:6px 0;border-top:1px solid #eee;text-decoration:line-through;text-decoration-color:#c7c7c7}
.cp-expired-row em{font-style:normal;font-size:12px;margin-left:6px;text-decoration:none;display:inline-block}
.cp-expired-tag{font-weight:700;color:#9ca3af}

/* test proof on a coupon */
.cp-proof{display:flex;gap:10px;align-items:flex-start;margin:8px 0 2px;background:#effaf3;border:1px solid #cdeedb;border-radius:8px;padding:8px 10px;font-size:13px;color:#14532d;line-height:1.45}
.cp-proof-img img{display:block;width:96px;height:64px;object-fit:cover;object-position:top;border-radius:5px;border:1px solid #cdeedb;background:#fff}
.cp-proof-text strong{display:block;color:#0a7d3c;margin-bottom:2px}
.cp-proof-text code{background:#fff;padding:0 4px;border-radius:3px;color:#be185d}
.cp-proof-text a{font-weight:600}
@media (max-width:600px){.cp-proof-img img{width:72px;height:52px}}

/* "Show code" as a real code with a peel-off flap */
.cp-codebtn{position:relative;display:block;width:100%;min-width:190px;height:50px;padding:0;border:2px dashed #c4006b;border-radius:10px;background:#fff5fa;cursor:pointer;overflow:hidden;font:inherit}
.cp-codebox{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:flex-end;padding:0 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:17px;font-weight:700;letter-spacing:2px;color:#c4006b;white-space:nowrap}
.cp-flap{position:absolute;left:-2px;top:-2px;bottom:-2px;width:72%;display:flex;align-items:center;justify-content:center;background:#c4006b;color:#fff;font-size:15px;font-weight:700;border-radius:10px 0 0 10px;transition:width .25s ease,background .2s}
.cp-flap::after{content:"";position:absolute;right:-18px;top:0;width:0;height:0;border-style:solid;border-width:0 18px 18px 0;border-color:transparent transparent #7a0043 transparent;transition:border-width .25s ease,right .25s ease}
.cp-flap::before{content:"";position:absolute;right:-18px;top:0;width:18px;height:100%;background:linear-gradient(90deg,#c4006b 0,#c4006b 100%);clip-path:polygon(0 18px,100% 18px,0 100%);transition:clip-path .25s ease}
.cp-codebtn:hover .cp-flap,.cp-codebtn:focus-visible .cp-flap{width:62%;background:#a3005a}
.cp-codebtn:hover .cp-flap::before,.cp-codebtn:focus-visible .cp-flap::before{background:#a3005a;clip-path:polygon(0 28px,100% 28px,0 100%)}
.cp-codebtn:hover .cp-flap::after,.cp-codebtn:focus-visible .cp-flap::after{border-width:0 28px 28px 0;right:-28px}
.cp-codebtn:active .cp-flap{width:55%}
.cp-codebtn:hover .cp-codebox{animation:cpPeek .6s ease}
@keyframes cpPeek{0%{transform:translateX(4px)}50%{transform:translateX(-2px)}100%{transform:none}}
.cp-act-hint{display:block;margin-top:6px;font-size:12px;color:#6b7280;text-align:center;line-height:1.3}
.cp-dealbtn{min-height:50px}
.cp-dealbtn .cp-arrow{display:inline-block;transition:transform .2s}
.cp-dealbtn:hover .cp-arrow{transform:translateX(5px)}
@media (prefers-reduced-motion:reduce){.cp-flap,.cp-flap::after,.cp-flap::before,.cp-dealbtn .cp-arrow{transition:none}.cp-codebtn:hover .cp-codebox{animation:none}}
@media (min-width:768px){.cp-coupon{grid-template-columns:110px minmax(0,1fr) 210px}.cp-flap{width:62%}.cp-codebtn:hover .cp-flap{width:52%}}
.cp-expired-row{display:flex;gap:10px;align-items:flex-start;text-decoration:none}
.cp-expired-strike{text-decoration:line-through;text-decoration-color:#c7c7c7}
.cp-fail{display:block;margin-top:3px;font-size:13px;color:#b91c1c}
.cp-fail code{background:#fff;padding:0 4px;border-radius:3px;color:#b91c1c;text-decoration:none}
.cp-expired-proof .cp-proof-img img{border-color:#f3c4c4;filter:grayscale(.3)}

/* ===== coupon colours: orange = savings (easier on the eyes than magenta, classic "coupon" colour) ===== */
.cp-coupon:first-child{border-color:#ffc078;box-shadow:0 6px 18px rgba(217,72,15,.10)}
.cp-badge{background:#fff4e6;border-color:#ffc078}
.cp-badge strong{color:#c2410c}
.cp-badge span{color:#9a5b2e}
.cp-btn{background:#d9480f}
.cp-btn:hover{background:#b83a0b}
.cp-alt-deal{color:#c2410c;background:#fff4e6;border-color:#ffd8a8}

/* "Get code" ticket: looks like a real coupon, part of the code visible, big orange action */
.cp-ticket{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;text-align:left;font:inherit}
.cp-ticket-label{display:block;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#c2410c;margin:0 0 4px 2px}
.cp-ticket-row{display:flex;align-items:stretch;height:50px;border:2px dashed #f08c00;border-radius:10px;background:#fff4e6;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease}
.cp-ticket-code{flex:1;display:flex;align-items:center;justify-content:center;padding:0 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:18px;font-weight:800;letter-spacing:2px;color:#7c2d12;white-space:nowrap;min-width:0}
.cp-blur{filter:blur(4px);opacity:.75;user-select:none}
.cp-ticket-cta{position:relative;display:flex;align-items:center;justify-content:center;padding:0 16px 0 20px;background:#d9480f;color:#fff;font-size:16px;font-weight:800;white-space:nowrap;transition:background .15s}
.cp-ticket-cta::before{content:"";position:absolute;left:-7px;top:50%;width:14px;height:14px;margin-top:-7px;background:#fff4e6;border-radius:50%}
.cp-ticket:hover .cp-ticket-row,.cp-ticket:focus-visible .cp-ticket-row{transform:translateY(-2px);box-shadow:0 8px 18px rgba(217,72,15,.22)}
.cp-ticket:hover .cp-ticket-cta,.cp-ticket:focus-visible .cp-ticket-cta{background:#b83a0b}
.cp-ticket:hover .cp-blur{filter:blur(3px)}
.cp-ticket:active .cp-ticket-row{transform:translateY(0)}
.cp-coupon:first-child .cp-ticket-row{animation:cpNudge 2.4s ease-in-out 1s 2}
@keyframes cpNudge{0%,100%{transform:none}8%{transform:translateX(-3px)}16%{transform:translateX(3px)}24%{transform:translateX(-2px)}32%{transform:none}}
@media (min-width:768px){.cp-coupon{grid-template-columns:110px minmax(0,1fr) 220px}}
@media (prefers-reduced-motion:reduce){.cp-ticket-row,.cp-coupon:first-child .cp-ticket-row{transition:none;animation:none}}
@media (min-width:768px){.cp-ticket-code{font-size:16px;letter-spacing:1px;padding:0 6px}.cp-ticket-cta{padding:0 12px 0 16px;font-size:15px}}
.cp-hist{margin-top:6px;font-size:12.5px}
.cp-hist summary{cursor:pointer;color:#0a7d3c;font-weight:600}
.cp-hist ul{list-style:none;margin:6px 0 0;padding:0}
.cp-hist li{padding:2px 0}
.cp-hist li.ok{color:#14532d}
.cp-hist li.no{color:#b91c1c}
/* screenshot popup */
.cp-lb{position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,.82);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 16px 24px}
.cp-lb[hidden]{display:none}
.cp-lb img{max-width:min(1000px,100%);max-height:calc(100vh - 140px);border-radius:10px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.4);object-fit:contain}
.cp-lb-cap{color:#e5e7eb;font-size:14px;margin:12px 0 0;text-align:center;max-width:800px}
.cp-lb-x{position:absolute;top:12px;right:14px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#111827;font-size:28px;line-height:44px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.cp-lb-x:hover{background:#f3f4f6}
.cp-shots img{cursor:zoom-in}
.cp-proof-img{cursor:zoom-in}
