/* =====================================================================
   AStickerPrinting.com (US) layout - homepage, category and product pages
   Structure follows the hangtagsco.com build; every colour below is this
   site's own theme colour (--cnvs-themecolor #0480b6), never the reference yellow.

   Accent #0480b6 on white = 4.40:1 (fails AA for text) and dark ink on it = 3.50:1,
   so text never sits on the plain accent. Buttons use accent-deep #0474a6
   (white text 5.18:1). The plain accent is kept for non-text roles.
   ===================================================================== */
.astk {
  --astk-accent: #0480b6;       /* structure + wayfinding (rules, dashes, panels, stars) */
  --astk-accent-deep: #0474a6;  /* action fill, link text - white on it 5.18:1 */
  --astk-edge: #036692;         /* 2px bottom edge on action buttons, hover - 6.33:1 */
  --astk-mark: #c0dfed;         /* emphasis marker - 25% accent tint, ink on it 11:1 */
  --astk-tint: #eaf4f9;         /* alt card ground (already used by the theme) */
  --astk-ink: #212529;
  --astk-muted: #5c636a;        /* 6.0:1 on white */
  --astk-line: #e3e7ea;
  --astk-surface: #f7f8fa;      /* theme's own section ground */
  --cnvs-font-size-h1: clamp(30px, 4.2vw, 46px);
  color: var(--astk-ink);
  font-size: 16px;
  line-height: 1.6;
}
.astk *, .astk *::before, .astk *::after { box-sizing: border-box; }
.astk span, .astk small, .astk strong, .astk em, .astk a { font-size: inherit; }
.astk p { font-size: 16px !important; line-height: 1.65; margin: 0 0 14px; color: inherit; }
.astk h1, .astk h2, .astk h3 { color: var(--astk-ink) !important; text-transform: none; }
.astk h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 12px; }
.astk h3 { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.astk a { color: var(--astk-accent-deep); }
.astk img { max-width: 100%; height: auto; }
.astk-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.astk-section { padding: 64px 0; }
.astk-section--surface { background: var(--astk-surface); }
.astk-section--tight { padding: 36px 0; }
@media (max-width: 767px) { .astk-section { padding: 44px 0; } }

/* eyebrow with accent dash (wayfinding) */
.astk-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11px !important; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--astk-muted); margin: 0 0 12px; }
.astk-eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--astk-accent); border-radius: 2px; }
.astk-eyebrow--both::after { content: ""; width: 22px; height: 3px; background: var(--astk-accent); border-radius: 2px; }
.astk-head { max-width: 760px; margin: 0 0 34px; }
.astk-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.astk-head p { color: var(--astk-muted); }

/* ACTION - primary button: deep fill, white text, 2px edge, no drop shadow */
.astk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 6px; font-size: 15px !important; font-weight: 700; line-height: 1.2; text-decoration: none !important; transition: background .2s ease, color .2s ease, border-color .2s ease; cursor: pointer; }
.astk-btn--primary { background: var(--astk-accent-deep) !important; color: #fff !important; border: 0; box-shadow: inset 0 -2px 0 var(--astk-edge); }
.astk-btn--primary:hover, .astk-btn--primary:focus { background: var(--astk-edge) !important; color: #fff !important; }
.astk-btn--outline { background: transparent !important; color: var(--astk-ink) !important; border: 2px solid var(--astk-ink); padding: 11px 22px; }
.astk-btn--outline:hover, .astk-btn--outline:focus { background: var(--astk-ink) !important; color: #fff !important; }
.astk-btn--light { background: #fff !important; color: var(--astk-ink) !important; border: 0; box-shadow: inset 0 -2px 0 var(--astk-mark); }
.astk-btn--light:hover, .astk-btn--light:focus { background: var(--astk-tint) !important; color: var(--astk-ink) !important; }
.astk-btn:focus-visible, .astk a:focus-visible, .astk summary:focus-visible { outline: 3px solid var(--astk-edge); outline-offset: 2px; }
.astk-link { font-weight: 700; color: var(--astk-ink) !important; text-decoration: none !important; border-bottom: 2px solid var(--astk-accent); padding-bottom: 2px; }
.astk-link:hover { border-bottom-color: var(--astk-ink); }

/* ================= HERO (hero-v2) ================= */
.astk-hero { padding: 56px 0 60px; background: #fff; }
.astk-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.astk-hero h1 { font-size: var(--cnvs-font-size-h1) !important; font-weight: 800; letter-spacing: -.025em; line-height: 1.14; margin: 0 0 16px; }
.astk-mark { background: linear-gradient(transparent 56%, var(--astk-mark) 56%, var(--astk-mark) 93%, transparent 93%); padding: 0 3px; border-radius: 1px; }
.astk-hero__sub { font-size: 17px !important; color: #3c4248; max-width: 54ch; margin-bottom: 18px !important; }
.astk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0 0 22px; }
.astk-chips li { font-size: 13px; font-weight: 600; color: #3c4248; background: #fff; border: 1px solid var(--astk-line); border-left: 3px solid var(--astk-accent); border-radius: 4px; padding: 5px 11px; line-height: 1.4; margin: 0; }
.astk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.astk-stage { position: relative; display: block; padding: 16px 16px 0 0; max-width: 100%; }
.astk-stage::before { content: ""; position: absolute; top: 0; right: 0; width: 62%; height: 62%; background: var(--astk-accent); border-radius: 16px; z-index: 0; }
.astk-stage img { position: relative; z-index: 1; display: block; width: 100%; border-radius: 16px; box-shadow: 0 12px 30px rgba(15,17,20,.16); background: #fff; }
@media (max-width: 991px) {
  .astk-hero { padding: 36px 0 44px; }
  .astk-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .astk-stage { padding: 12px 12px 0 0; }
  .astk-stage::before { width: 58%; height: 58%; }
}

/* ================= TRUST BAR ================= */
.astk-trust { background: #fff; border-top: 1px solid var(--astk-line); border-bottom: 1px solid var(--astk-line); }
.astk-trust ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0 auto; padding: 0; max-width: 1200px; }
.astk-trust li { flex: 1 1 200px; padding: 15px 16px; text-align: center; border-right: 1px solid #f1f1f1; border-top: 3px solid var(--astk-accent); margin: 0; }
.astk-trust li:last-child { border-right: 0; }
.astk-trust .n { display: block; font-weight: 800; font-size: 16px; color: var(--astk-ink); letter-spacing: -.015em; }
.astk-trust .l { display: block; font-size: 12px; color: var(--astk-muted); margin-top: 3px; }
.astk-trust a { color: inherit; text-decoration: none; }
.astk-stars { color: var(--astk-accent); letter-spacing: -1px; }

/* ================= FEATURE CARDS ================= */
.astk-feat__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.astk-feat__card { display: flex; flex-direction: column; height: 100%; padding: 26px 20px 20px; background: #fff; border: 1px solid var(--astk-line); border-top: 3px solid var(--astk-accent); border-radius: 10px; text-align: center; text-decoration: none !important; color: inherit !important; transition: transform .18s ease, box-shadow .18s ease; }
.astk-feat__card:hover, .astk-feat__card:focus { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(15,17,20,.10); border-top-color: var(--astk-edge); }
.astk-feat__card--alt { background: var(--astk-tint); }
.astk-feat__ico { display: block; width: 44px; height: 44px; margin: 0 auto 14px; color: var(--astk-accent); }
.astk-feat__card p { flex: 1 1 auto; color: var(--astk-muted); font-size: 15px !important; }
.astk-feat__card .astk-link { align-self: center; font-size: 13px; }
@media (max-width: 991px) { .astk-feat__row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .astk-feat__row { grid-template-columns: 1fr; } }

/* ================= PRODUCT CARDS ================= */
.astk-pc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.astk-pc__card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--astk-line); border-radius: 10px; overflow: hidden; text-decoration: none !important; color: inherit !important; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.astk-pc__card:hover, .astk-pc__card:focus-visible { border-color: var(--astk-accent); box-shadow: 0 6px 18px rgba(0,0,0,.09); transform: translateY(-3px); }
.astk-pc__media { display: block; position: relative; width: 100%; padding-top: 75%; background: var(--astk-surface); overflow: hidden; }
.astk-pc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; }
.astk-pc__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px; }
.astk-pc__title { font-size: 16px !important; font-weight: 700; margin: 0 0 6px; }
.astk-pc__blurb { display: block; font-size: 14px; line-height: 1.55; color: var(--astk-muted); margin-bottom: 12px; flex: 1 1 auto; }
.astk-pc__price { display: block; font-size: 13px; color: var(--astk-ink); margin-bottom: 10px; }
.astk-pc__cta { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--astk-ink); padding-bottom: 3px; border-bottom: 2px solid var(--astk-accent); }
@media (max-width: 991px) { .astk-pc__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .astk-pc__grid { grid-template-columns: 1fr; } }

/* ================= MATERIALS SECTION ================= */
.astk-mat__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.astk-mat__lead { color: #495057; max-width: 56ch; }
.astk-checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.astk-checks li { position: relative; padding-left: 26px; font-size: 15px; color: #3c4248; line-height: 1.5; margin: 0; }
.astk-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--astk-accent); }
.astk-checks li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.astk-note { margin: 16px 0 0 !important; font-size: 13px !important; color: var(--astk-muted); }
@media (max-width: 991px) { .astk-mat__grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 575px) { .astk-checks { grid-template-columns: 1fr; } }

/* ================= WHY + FAQ ================= */
.astk-why__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.astk-why__list { list-style: none; padding: 0; margin: 0 0 26px; }
.astk-why__list li { display: flex; gap: 16px; padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid var(--astk-line); }
.astk-why__list li:last-child { border-bottom: 0; margin-bottom: 0; }
.astk-why__num { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; background: var(--astk-mark); color: var(--astk-ink); font-size: 13px; font-weight: 800; }
.astk-why__list p { color: var(--astk-muted); margin: 0 !important; font-size: 15px !important; }
.astk-why__cta { padding: 22px; border: 1px solid var(--astk-line); border-top: 3px solid var(--astk-accent); border-radius: 10px; background: var(--astk-tint); }
.astk-why__cta p { font-weight: 600; }
@media (max-width: 991px) { .astk-why__grid { grid-template-columns: 1fr; gap: 36px; } }

/* FAQ accordion (native details/summary - works without JS) */
.astk-faq details { border-bottom: 1px solid var(--astk-line); }
.astk-faq details:first-child { border-top: 1px solid var(--astk-line); }
.astk-faq summary { list-style: none; cursor: pointer; padding: 17px 36px 17px 0; position: relative; font-weight: 700; font-size: 16px; color: var(--astk-ink); }
.astk-faq summary::-webkit-details-marker { display: none; }
.astk-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--astk-accent-deep); border-bottom: 2px solid var(--astk-accent-deep); transform: translateY(-70%) rotate(45deg); transition: transform .18s ease; }
.astk-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.astk-faq__a { padding: 0 0 18px; color: #3c4248; }
.astk-faq__a p { margin: 0 !important; }

/* ================= QUOTE CTA CARD ================= */
.astk-cta { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 15% 0%, #1f2a33 0%, #172027 55%, #11171c 100%); padding: 64px 20px 58px; text-align: center; }
.astk-cta::before { content: ""; position: absolute; top: -90px; right: -70px; width: 280px; height: 280px; background: var(--astk-accent); opacity: .16; border-radius: 50%; }
.astk-cta::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--astk-accent); }
.astk-cta > * { position: relative; }
.astk-cta__kicker { color: #c4cbd2 !important; font-size: 15px !important; margin-bottom: 12px !important; }
.astk-cta h2 { color: #fff !important; margin-bottom: 22px; }
.astk-cta__points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; padding: 0; margin: 0 0 26px; }
.astk-cta__points li { font-size: 13px; font-weight: 600; color: #e6e8eb; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--astk-accent); border-radius: 4px; padding: 5px 12px; margin: 0; }

/* ================= TESTIMONIALS ================= */
.astk-tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.astk-tst__card { display: flex; flex-direction: column; align-items: center; height: 100%; margin: 0; padding: 26px 20px 22px; background: #fff; border: 1px solid var(--astk-line); border-top: 3px solid var(--astk-accent); border-radius: 10px; text-align: center; }
.astk-tst__avatar { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--astk-mark); color: var(--astk-ink); font-weight: 800; font-size: 19px !important; margin-bottom: 14px; flex: none; }
.astk-tst__card blockquote { flex: 1 1 auto; margin: 0 0 14px; padding: 0; border: 0; font-size: 15px; line-height: 1.65; color: #495057; quotes: none; background: none; }
.astk-tst__card blockquote::before { content: ""; display: block; width: 26px; height: 3px; background: #e9ecef; border-radius: 2px; margin: 0 auto 12px; }
.astk-tst__card figcaption { font-weight: 700; font-size: 14px; color: var(--astk-ink); }
.astk-tst__date { display: block; font-weight: 400; font-size: 12px !important; color: var(--astk-muted); margin-top: 3px; }
.astk-tst__verify { text-align: center; margin: 26px 0 0 !important; font-size: 14px !important; color: var(--astk-muted); }
.astk-tst__verify a { color: var(--astk-ink); text-decoration: underline; text-decoration-color: var(--astk-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 991px) { .astk-tst__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .astk-tst__grid { grid-template-columns: 1fr; } }

/* ================= CATEGORY + PRODUCT PAGES ================= */
.astk-page-hero { padding: 36px 0 40px; }
.astk-page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.astk-gallery { display: grid; gap: 10px; }
.astk-gallery__main { position: relative; background: var(--astk-surface); border-radius: 14px; overflow: hidden; padding-top: 75%; }
.astk-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.astk-gallery__thumbs { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.astk-gallery__thumbs li { margin: 0; }
.astk-gallery__thumbs img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--astk-line); border-radius: 8px; background: #fff; padding: 4px; }
.astk-facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; border: 1px solid var(--astk-line); border-radius: 10px; background: #fff; overflow: hidden; }
.astk-facts li { padding: 14px 16px; border-right: 1px solid var(--astk-line); border-top: 3px solid var(--astk-accent); margin: 0; }
.astk-facts li:last-child { border-right: 0; }
.astk-facts .n { display: block; font-weight: 800; font-size: 15px; }
.astk-facts .l { display: block; font-size: 12px; color: var(--astk-muted); }
.astk-spec { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--astk-line); border-radius: 10px; overflow: hidden; }
.astk-spec th, .astk-spec td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--astk-line); font-size: 15px; }
.astk-spec th { width: 30%; font-weight: 700; background: var(--astk-surface); border-left: 3px solid var(--astk-accent); }
.astk-spec tr:last-child th, .astk-spec tr:last-child td { border-bottom: 0; }
.astk-prose { max-width: 820px; }
.astk-prose h2 { margin-top: 30px; }
.astk-prose h3 { margin-top: 22px; font-size: 19px; }
.astk-prose ul, .astk-prose ol { padding-left: 20px; margin: 0 0 14px; }
.astk-prose li { margin-bottom: 6px; }
.astk-prose img { border-radius: 10px; }
.astk-related { display: flex; flex-wrap: wrap; gap: 10px; }
.astk-related a { display: inline-block; padding: 9px 14px; border: 1px solid var(--astk-line); border-left: 3px solid var(--astk-accent); border-radius: 6px; background: #fff; color: var(--astk-ink) !important; text-decoration: none !important; font-weight: 600; font-size: 14px; }
.astk-related a:hover { border-color: var(--astk-accent); }
@media (max-width: 991px) {
  .astk-page-hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .astk-facts { grid-template-columns: repeat(2, 1fr); }
  .astk-facts li:nth-child(2) { border-right: 0; }
}
@media (max-width: 575px) { .astk-spec th { width: 38%; } }

/* sticky mobile quote bar */
.astk-sticky { display: none; }
@media (max-width: 767px) {
  .astk-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 3px solid var(--astk-accent); box-shadow: 0 -6px 18px rgba(0,0,0,.10); }
  .astk-sticky span { font-size: 13px !important; font-weight: 700; color: var(--astk-ink); line-height: 1.3; }
  .astk-sticky .astk-btn { padding: 11px 16px; font-size: 14px !important; white-space: nowrap; }
  body.astk-has-sticky { padding-bottom: 72px; }
  body.astk-has-sticky .whatsapp-float { bottom: 88px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .astk *, .astk *::before, .astk *::after { transition: none !important; }
  .astk-feat__card:hover, .astk-pc__card:hover { transform: none; }
}

/* ---- fixes after live check 2026-09-15 ---- */
/* the theme colours spans inside headings; the marked words keep the heading ink (blue on the blue tint failed contrast) */
.astk h1 .astk-mark, .astk h2 .astk-mark, .astk .astk-mark { color: inherit !important; }
/* homepage SEO link list: theme forces nowrap, which pushed four links past a 375px screen */
@media (max-width: 767px) {
  .category-links li { width: 50% !important; padding-right: 8px; }
  .category-links li a { white-space: normal !important; }
}
