:root {
	--ctt-purple: #7b2ff7;
	--ctt-purple-dark: #5e1fc4;
	--ctt-red: #d63638;
	--ctt-text: #1e1e1e;
	--ctt-muted: #6b7280;
	--ctt-border: #e5e7eb;
	--ctt-bg-soft: #f7f7f8;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--ctt-font-body, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: var(--ctt-fs, 16px); color: var(--ctt-text); background: var(--ctt-bg, #fff); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.ctt-site-header { border-bottom: 1px solid var(--ctt-border); }
.ctt-header-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 24px; font-size: 13px; }
.ctt-primary-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.ctt-header-account { display: flex; align-items: center; gap: 12px; }
.ctt-social-icons a { margin-left: 6px; }
.ctt-header-main { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; flex-wrap: wrap; }
.ctt-logo-text { font-size: 24px; font-weight: 800; }
.ctt-search-form { flex: 1; max-width: 380px; display: flex; border: 1px solid var(--ctt-border); border-radius: 24px; overflow: hidden; }
.ctt-search-form input { border: none; padding: 10px 16px; flex: 1; outline: none; }
.ctt-search-form button { border: none; background: none; padding: 0 14px; cursor: pointer; }
.ctt-quick-links { display: flex; gap: 24px; font-weight: 600; }
.ctt-mobile-toggle { display: none; }

/* ---------- Homepage ---------- */
.ctt-home-section { margin: 0 0 52px; }
.ctt-home-section h2 { font-size: 22px; margin-bottom: 16px; }
.ctt-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.ctt-store-tile { border: 1px solid var(--ctt-border); border-radius: 10px; padding: 14px; display: flex; align-items: center; justify-content: center; height: 70px; }

/* ---------- Coupon card ---------- */
.ctt-badge-verified { color: #16a34a; font-weight: 600; }

/* ---------- Reveal modal ---------- */
.ctt-modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; }
.ctt-modal[hidden] { display: none; }
.ctt-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.ctt-modal-box { position: relative; background: #fff; border-radius: 12px; padding: 32px; max-width: 480px; width: 92%; max-height: 88vh; overflow-y: auto; }
.ctt-modal-close { position: absolute; top: 12px; right: 16px; border: none; background: none; font-size: 22px; cursor: pointer; }
.ctt-modal-eyebrow { text-align: center; color: var(--ctt-muted); margin: 0; }
.ctt-modal-title { text-align: center; font-size: 24px; margin: 6px 0 14px; }
.ctt-modal-instructions { text-align: center; color: var(--ctt-muted); }
.ctt-modal-code-row { display: flex; border: 2px dashed var(--ctt-border); border-radius: 8px; overflow: hidden; margin: 16px 0; }
.ctt-modal-code { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: 2px; }
.ctt-modal-copy-btn { background: var(--ctt-purple); color: #fff; border: none; padding: 14px 20px; font-weight: 700; cursor: pointer; }
.ctt-modal-store-meta { text-align: center; font-size: 13px; color: var(--ctt-muted); }
.ctt-signup-row { display: flex; gap: 8px; }
.ctt-signup-row input { flex: 1; padding: 10px; border: 1px solid var(--ctt-border); border-radius: 6px; }
.ctt-signup-row button { background: var(--ctt-text); color: #fff; border: none; border-radius: 6px; padding: 0 16px; cursor: pointer; }
.ctt-modal-vote-row { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.ctt-modal-vote-row button { border: none; border-radius: 6px; padding: 8px 12px; cursor: pointer; background: var(--ctt-bg-soft); }
.ctt-comment-row { display: flex; gap: 8px; }
.ctt-comment-row input { flex: 1; padding: 10px; border: 1px solid var(--ctt-border); border-radius: 6px; }
.ctt-comment-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; }

/* ---------- Store page ---------- */
.ctt-breadcrumb { padding: 14px 0; font-size: 13px; color: var(--ctt-muted); }
.ctt-store-header { display: flex; align-items: center; gap: 20px; padding: 0 0 20px; border-bottom: 1px solid var(--ctt-border); }
.ctt-store-logo { width: 70px; height: 70px; object-fit: contain; }
.ctt-store-head-info { flex: 1; }
.ctt-filter-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; font-size: 14px; }
.ctt-store-listings { flex: 1; min-width: 0; }

/* ---------- Store directory (A-Z) ---------- */
.ctt-az-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-top: 1px solid var(--ctt-border); border-bottom: 1px solid var(--ctt-border); }
.ctt-az-tabs a { padding: 4px 10px; border-radius: 6px; }
.ctt-az-tabs a.active { background: #111; color: #fff; }
.ctt-az-section { padding: 0; margin-bottom: 24px; }
.ctt-az-section ul { list-style: none; padding: 0; columns: 3; }

/* ---------- Categories grid ---------- */
.ctt-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; padding: 0 0 40px; }
.ctt-category-tile { border-radius: 10px; overflow: hidden; border: 1px solid var(--ctt-border); }
.ctt-category-tile img { height: 100px; object-fit: cover; }
.ctt-category-tile h3, .ctt-category-tile span { display: block; padding: 4px 10px; }

/* ---------- Blog ---------- */
.ctt-blog-layout { display: flex; gap: 32px; padding: 24px 0; }
.ctt-blog-main { flex: 1; min-width: 0; }
.ctt-blog-card { display: flex; gap: 20px; border: 1px solid var(--ctt-border); border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.ctt-blog-card-thumb { width: 200px; flex-shrink: 0; }
.ctt-blog-card-thumb img { border-radius: 8px; }
.ctt-blog-sidebar { width: 260px; flex-shrink: 0; }
.ctt-widget { border: 1px solid var(--ctt-border); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.ctt-widget-title { background: var(--ctt-purple); color: #fff; margin: 0; padding: 10px 16px; font-size: 15px; }
.ctt-widget ul { list-style: none; margin: 0; padding: 12px 16px; }

/* ---------- Footer ---------- */

/* ---------- Products ---------- */
.ctt-product-brand { font-size: 11px; text-transform: uppercase; color: var(--ctt-muted); }
.ctt-product-rating { color: #f59e0b; font-size: 13px; }
.ctt-rating-number { color: var(--ctt-muted); }
.ctt-product-title { font-size: 15px; margin: 0; }
.ctt-price-current { font-weight: 700; }
.ctt-price-original { text-decoration: line-through; color: var(--ctt-muted); margin-left: 6px; font-size: 13px; }
.ctt-product-code-btn, .ctt-product-buy-btn { display: block; text-align: center; padding: 8px; border-radius: 6px; border: none; cursor: pointer; text-decoration: none; }
.ctt-product-buy-btn { background: var(--ctt-purple); color: #fff; }
.ctt-product-code-btn { background: var(--ctt-bg-soft); border: 1px dashed var(--ctt-border); }
.ctt-product-view-full { font-size: 12px; text-align: center; color: var(--ctt-muted); }
.ctt-product-hero-img img { max-width: 100%; max-height: 420px; object-fit: contain; margin: 0 auto; display: block; background: #fafafa; }

/* ---------- Roundups ---------- */
.ctt-pros-cons { display: flex; gap: 20px; }
.ctt-pros, .ctt-cons { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.ctt-roundup-teaser-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ctt-roundup-teaser { border: 1px solid var(--ctt-border); border-radius: 10px; overflow: hidden; display: block; }
.ctt-roundup-teaser h3 { padding: 10px 12px; font-size: 15px; margin: 0; }

/* ---------- Review mode (roundup with no ranked items) ---------- */
.ctt-roundup-teaser { display: flex; flex-direction: column; }
.ctt-teaser-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ctt-teaser-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ctt-teaser-body h3 { padding: 0; }
.ctt-teaser-summary { font-size: 14px; color: var(--ctt-muted); }
.ctt-teaser-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ctt-review-read-btn, .ctt-review-visit-btn { display: inline-block; padding: 9px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; }
.ctt-review-read-btn { border: 1px solid var(--ctt-purple); color: var(--ctt-purple); background: #fff; }
.ctt-review-visit-btn { background: var(--ctt-purple); color: #fff; }
.ctt-single-review { max-width: 800px; margin: 0 auto; padding: 24px; }
.ctt-review-body { margin: 20px 0; line-height: 1.7; }

/* ---------- Pages, single posts, search, 404, comments ---------- */
.ctt-page-inner { max-width: 800px; margin: 0 auto; padding: 24px; }
.ctt-page, .ctt-single-post { padding: 0 0 24px; }
.ctt-comments-area { max-width: 800px; margin: 24px auto; padding: 0 24px; }
.ctt-comment-list { list-style: none; padding: 0; }
.page-numbers { display: inline-flex; gap: 6px; margin: 20px 0; padding: 0; list-style: none; }
.page-numbers li, .page-numbers { padding: 6px 10px; border: 1px solid var(--ctt-border); border-radius: 6px; }
.page-numbers.current { background: var(--ctt-purple); color: #fff; border-color: var(--ctt-purple); }


/* ================= v1.1.0 ================= */
/* Page container: everything sits in a centered column, so sidebars no longer touch the screen edge. */
.ctt-site-main { max-width: var(--ctt-container, 1200px); margin: 0 auto; padding: 0 24px; }
.ctt-site-main > h1 { margin: 24px 0 8px; }
.ctt-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ctt-section-head h2 { margin: 0; }
.ctt-section-head a { font-size: 14px; font-weight: 600; color: var(--ctt-purple); }

/* Store page */
.ctt-store-sidebar > h3 { font-size: 15px; margin: 0 0 8px; }
.ctt-store-sidebar .ctt-widget { margin-top: 20px; }
.ctt-store-seo-content { margin: 8px 0 32px; line-height: 1.7; }

/* Homepage */
.ctt-btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.ctt-btn-primary { background: var(--ctt-purple); color: #fff; }
.ctt-btn-primary:hover { background: var(--ctt-purple-dark); }
.ctt-btn-ghost { border: 1.5px solid var(--ctt-purple); color: var(--ctt-purple); background: #fff; }
.ctt-store-tile { flex-direction: column; gap: 6px; height: auto; min-height: 96px; text-align: center; }
.ctt-store-tile img { max-height: 44px; object-fit: contain; }
.ctt-deal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.ctt-about { background: var(--ctt-bg-soft); border-radius: 12px; padding: 24px; line-height: 1.7; }

/* Header: five quick links + working mobile menu */
.ctt-quick-links { gap: 20px; flex-wrap: wrap; }
.ctt-quick-links a:hover { color: var(--ctt-purple); }

/* ================= v1.2.0 design system ================= */
:root { --ctt-navy: #0b1f4b; --ctt-orange: #ff6a3d; --ctt-lilac: color-mix(in srgb, var(--ctt-purple) 12%, #ffffff); --ctt-shadow: 0 6px 24px rgba(23, 18, 60, .08); }
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -.01em; font-family: var(--ctt-font-head, inherit); }

/* ---- Header: quick links sit just right of the search bar ---- */
.ctt-site-header { background: var(--ctt-header-bg, #fff); box-shadow: 0 1px 0 var(--ctt-border), 0 4px 16px rgba(23, 18, 60, .04); }
.ctt-header-top { background: #f6f3ff; }
.ctt-header-main { justify-content: flex-start; gap: 28px; }
.ctt-logo { margin-right: 4px; }
.ctt-search-form { flex: 0 1 420px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.ctt-search-form:focus-within { border-color: var(--ctt-purple); box-shadow: 0 0 0 3px rgba(106, 63, 217, .15); }
.ctt-quick-links { display: flex; align-items: center; gap: 6px; margin-left: 4px; }
.ctt-quick-links a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.ctt-quick-links a:hover { background: var(--ctt-lilac); color: var(--ctt-purple); }

/* ---- Page banner (every page) ---- */
.ctt-ph { position: relative; overflow: hidden; border-radius: var(--ctt-radius, 20px); margin: 22px 0 26px; padding: 22px 32px 34px; color: #fff; background: linear-gradient(120deg, var(--ctt-b1) 0%, var(--ctt-b2) 55%, var(--ctt-b3) 100%); box-shadow: var(--ctt-shadow); }
.ctt-ph::before, .ctt-ph::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.10); pointer-events: none; }
.ctt-ph::before { width: 320px; height: 320px; right: -80px; top: -140px; }
.ctt-ph::after { width: 200px; height: 200px; right: 140px; bottom: -120px; background: rgba(255,255,255,.07); }
.ctt-ph-tone-teal { background: linear-gradient(120deg, #0b7a8c 0%, #12a5a0 55%, #38c98f 100%); }
.ctt-ph-tone-orange { background: linear-gradient(120deg, #e8452c 0%, #ff7a3d 55%, #ffb037 100%); }
.ctt-ph-tone-green { background: linear-gradient(120deg, #0d7a4f 0%, #19a56a 55%, #7bd35a 100%); }
.ctt-ph-tone-indigo { background: linear-gradient(120deg, #1d2a7a 0%, #3a49c9 55%, #7b6df0 100%); }
.ctt-ph-tone-slate { background: linear-gradient(120deg, #1c2540 0%, #2f3c63 60%, #4a5a8c 100%); }
.ctt-ph-crumbs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.ctt-ph-crumbs a { color: rgba(255,255,255,.85); } .ctt-ph-crumbs a:hover { color: #fff; text-decoration: underline; }
.ctt-ph-crumbs i { font-style: normal; opacity: .6; }
.ctt-ph-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; }
.ctt-ph-logo { flex: 0 0 104px; width: 104px; height: 104px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.ctt-ph-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctt-ph-text { min-width: 0; }
.ctt-ph-eyebrow { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.ctt-ph-title { margin: 0; font-size: clamp(26px, 4vw, 40px); line-height: 1.15; font-weight: 800; color: #fff; }
.ctt-ph-sub { margin: 10px 0 0; max-width: 680px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); }
.ctt-ph-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.ctt-ph-badge { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.ctt-ph-cta { background: #fff; color: var(--ctt-purple-dark); padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.ctt-ph-cta:hover { transform: translateY(-1px); }
.ctt-logo-box { display: inline-flex; align-items: center; justify-content: center; }
.ctt-logo-initial { font-size: 1.6em; color: var(--ctt-purple); }

/* ---- Coupon card (reference design) ---- */
.ctt-coupon-card { background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); margin-bottom: 16px; box-shadow: var(--ctt-shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; padding: 0; }
.ctt-coupon-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(23, 18, 60, .12); }
.ctt-cc-row { display: flex; align-items: center; gap: 22px; padding: 22px 26px; }
.ctt-cc-logo { flex: 0 0 92px; width: 92px; height: 92px; border: 1px solid #ece9f5; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; }
.ctt-cc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctt-cc-body { flex: 1; min-width: 0; }
.ctt-cc-discount { color: var(--ctt-orange); font-weight: 800; font-size: 15px; letter-spacing: .01em; margin-bottom: 4px; text-transform: uppercase; }
.ctt-coupon-title { margin: 0 0 6px; font-size: 19px; line-height: 1.3; font-weight: 800; color: #12142a; }
.ctt-cc-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ctt-muted); }
.ctt-details-toggle { background: none; border: none; padding: 0 0 0 4px; cursor: pointer; color: var(--ctt-purple); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.ctt-details-toggle .ctt-plus { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 2px; border-radius: 50%; background: var(--ctt-purple); color: #fff; font-size: 14px; line-height: 1; text-decoration: none; }
.ctt-cc-action { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ctt-uses-today { font-size: 12px; color: var(--ctt-muted); }
.ctt-uses-today b { color: #151a2d; }
.ctt-get-code-btn { display: inline-flex; align-items: stretch; border-radius: 12px; overflow: hidden; border: none; background: var(--ctt-lilac); box-shadow: 0 6px 16px rgba(11, 31, 75, .22); font-weight: 800; transition: transform .12s; }
.ctt-get-code-btn:hover { transform: translateY(-1px); }
.ctt-get-code-label { background: var(--ctt-navy); color: #fff; padding: 15px 26px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; border-radius: 12px; }
.ctt-get-code-btn:hover .ctt-get-code-label { background: color-mix(in srgb, var(--ctt-navy) 82%, #ffffff); }
.ctt-code-masked { padding: 0 20px 0 16px; color: var(--ctt-navy); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: 1.5px; display: flex; align-items: center; min-width: 74px; justify-content: center; }
.ctt-get-code-btn:not(:has(.ctt-code-masked)) { background: var(--ctt-navy); }
.ctt-details-panel { border-top: 1px dashed #dcd6f0; background: #faf8ff; padding: 16px 26px 18px 140px; font-size: 14px; line-height: 1.7; color: #3a3f58; }
.ctt-details-panel[hidden] { display: none; }
.ctt-details-body > :first-child { margin-top: 0; } .ctt-details-body > :last-child { margin-bottom: 0; }
.ctt-cc-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding: 10px 16px; background: #faf8f5; border-top: 1px solid #efece6; font-size: 12px; color: var(--ctt-muted); }
.ctt-cc-footer b { color: #151a2d; }
.ctt-stat-last-used { color: #e0392b; font-weight: 700; }
.ctt-stat-last-used::before { content: "\25CF"; font-size: 8px; margin-right: 6px; vertical-align: middle; animation: ctt-pulse 1.6s infinite; }
@keyframes ctt-pulse { 50% { opacity: .25; } }

/* ---- Sidebar widgets: coloured, boxed, separated ---- */
.ctt-widget { background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 16px); box-shadow: var(--ctt-shadow); overflow: hidden; margin-bottom: 22px; }
.ctt-widget-title, .ctt-widget .wp-block-heading { margin: 0; padding: 13px 18px; font-size: 15px; font-weight: 800; color: #fff; background: linear-gradient(120deg, var(--ctt-w1), color-mix(in srgb, var(--ctt-w1) 68%, #ffffff)); }
.ctt-widget:nth-of-type(4n+2) .ctt-widget-title, .ctt-widget:nth-of-type(4n+2) .wp-block-heading { background: linear-gradient(120deg, var(--ctt-w2), color-mix(in srgb, var(--ctt-w2) 68%, #ffffff)); }
.ctt-widget:nth-of-type(4n+3) .ctt-widget-title, .ctt-widget:nth-of-type(4n+3) .wp-block-heading { background: linear-gradient(120deg, var(--ctt-w3), color-mix(in srgb, var(--ctt-w3) 68%, #ffffff)); }
.ctt-widget:nth-of-type(4n+4) .ctt-widget-title, .ctt-widget:nth-of-type(4n+4) .wp-block-heading { background: linear-gradient(120deg, var(--ctt-w4), color-mix(in srgb, var(--ctt-w4) 68%, #ffffff)); }
.ctt-widget-body, .ctt-widget > ul, .ctt-widget > form, .ctt-widget .wp-block-search, .ctt-widget .ctt-ps-grid, .ctt-widget .ctt-pc-list, .ctt-widget .ctt-rp-list, .ctt-widget .ctt-rp-block, .ctt-widget .ctt-filter-group, .ctt-widget > p { padding: 14px 16px; margin: 0; }
.ctt-widget ul { list-style: none; margin: 0; }
.ctt-widget > ul li, .ctt-cat-list li { padding: 8px 0; border-bottom: 1px solid #f1eef9; font-size: 14px; }
.ctt-widget > ul li:last-child { border-bottom: none; }
.ctt-widget a:hover { color: var(--ctt-purple); }
.ctt-filter-group label { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border: 1px solid #ece9f5; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; transition: background .12s, border-color .12s; }
.ctt-filter-group label:hover, .ctt-filter-group label:has(input:checked) { background: var(--ctt-lilac); border-color: #cfc3f5; }
.ctt-filter-group input { accent-color: var(--ctt-purple); }

/* Recent posts: image + title in separate boxes */
.ctt-rp-list { display: flex; flex-direction: column; gap: 10px; }
.ctt-rp-item { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid #ece9f5; border-radius: 12px; background: #fcfbff; transition: box-shadow .15s, border-color .15s; }
.ctt-rp-item:hover { border-color: #cfc3f5; box-shadow: 0 4px 14px rgba(91, 47, 209, .1); }
.ctt-rp-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #ebe6fb, #fde4ef); display: flex; align-items: center; justify-content: center; }
.ctt-rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ctt-rp-ph { font-size: 24px; }
.ctt-rp-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; color: #151a2d; }
.ctt-rp-date { display: block; margin-top: 3px; font-size: 12px; color: var(--ctt-muted); }
.ctt-rp-list .ctt-rp-item, .ctt-widget > ul.ctt-rp-list li { border-bottom: 1px solid #ece9f5; padding: 8px; }

/* Popular stores / coupons */
.ctt-ps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ctt-ps-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; text-align: center; border: 1px solid #ece9f5; border-radius: 12px; font-size: 12.5px; font-weight: 700; transition: box-shadow .15s, transform .15s; }
.ctt-ps-tile:hover { box-shadow: 0 6px 16px rgba(23,18,60,.1); transform: translateY(-2px); }
.ctt-ps-logo { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; }
.ctt-ps-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctt-pc-list { display: flex; flex-direction: column; gap: 10px; }
.ctt-pc-item { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid #ece9f5; border-radius: 12px; }
.ctt-pc-logo { flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid #ece9f5; border-radius: 10px; background: #fff; padding: 4px; display: flex; align-items: center; justify-content: center; }
.ctt-pc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctt-pc-text a { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.ctt-pc-disc { display: block; color: var(--ctt-orange); font-size: 12px; font-weight: 800; text-transform: uppercase; }

/* Store directory with logos */
.ctt-store-tile { flex-direction: column; gap: 8px; padding: 16px 10px; border: 1px solid #ece9f5; border-radius: 14px; background: #fff; box-shadow: var(--ctt-shadow); transition: transform .15s; }
.ctt-store-tile:hover { transform: translateY(-3px); }
.ctt-store-tile-logo { width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; }
.ctt-store-tile-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctt-store-tile-name { font-weight: 700; font-size: 14px; text-align: center; }
.ctt-az-section ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 24px; }
.ctt-az-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #ece9f5; border-radius: 12px; background: #fff; font-weight: 600; transition: box-shadow .15s, border-color .15s; }
.ctt-az-item:hover { border-color: #cfc3f5; box-shadow: 0 6px 16px rgba(91,47,209,.1); }
.ctt-az-logo { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #ece9f5; border-radius: 10px; padding: 4px; display: flex; align-items: center; justify-content: center; background: #fff; }
.ctt-az-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctt-category-ph { font-size: 36px; }

/* ---- Homepage ---- */
.ctt-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ctt-cat-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border: 1px solid #ece9f5; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 2px 8px rgba(23,18,60,.05); transition: background .15s, transform .15s; }
.ctt-cat-chip:hover { background: var(--ctt-lilac); transform: translateY(-2px); }
.ctt-cat-chip img, .ctt-cat-chip span { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--ctt-lilac); }
.ctt-404-actions { display: flex; gap: 12px; justify-content: center; margin: 12px 0 24px; }
.ctt-404-search { max-width: 480px; margin: 0 auto 48px; }
.ctt-empty { padding: 28px; text-align: center; color: var(--ctt-muted); background: #faf8ff; border-radius: 14px; }
.ctt-single-listing { max-width: 860px; margin: 0 auto 40px; }
.ctt-listing-full-details { background: #fff; border: 1px solid #ece9f5; border-radius: 16px; padding: 22px 26px; margin: 8px 0 20px; line-height: 1.75; }
.ctt-listing-full-details:empty { display: none; }

/* Blog cards */
.ctt-blog-layout { align-items: flex-start; gap: 32px; }
.ctt-blog-main { flex: 1; min-width: 0; }
.ctt-blog-sidebar { width: var(--ctt-sidebar-w, 290px); flex-shrink: 0; }
.ctt-blog-card { display: flex; gap: 18px; background: #fff; border: 1px solid #ece9f5; border-radius: 16px; box-shadow: var(--ctt-shadow); padding: 14px; margin-bottom: 18px; }
.ctt-blog-card-thumb { flex: 0 0 200px; width: 200px; border-radius: 12px; overflow: hidden; display: block; }
.ctt-blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.ctt-blog-card-body h2 { margin: 0 0 6px; font-size: 20px; }

/* ---- Footer ---- */
.ctt-site-footer { margin-top: 56px; background: var(--ctt-footer-bg); color: var(--ctt-footer-text); text-align: left; border-top: none; padding: 0; }
.ctt-footer-inner { max-width: var(--ctt-container, 1200px); margin: 0 auto; padding: 48px 24px 24px; }
.ctt-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.ctt-footer-logo { font-size: 24px; font-weight: 800; color: #fff; }
.ctt-footer-brand p { margin: 12px 0 16px; line-height: 1.6; font-size: 14px; }
.ctt-footer-col h4 { margin: 0 0 14px; color: #fff; font-size: 15px; letter-spacing: .03em; }
.ctt-footer-col ul { list-style: none; margin: 0; padding: 0; }
.ctt-footer-col li { margin-bottom: 9px; font-size: 14px; }
.ctt-footer-col a { color: var(--ctt-footer-text); } .ctt-footer-col a:hover { color: #fff; padding-left: 3px; }
.ctt-footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.ctt-footer-bottom p { margin: 0; }
.ctt-footer-disclosure { max-width: 720px; color: #9aa0bd; }
.ctt-to-top { position: fixed; right: 18px; bottom: 22px; z-index: 50; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--ctt-purple); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 6px 18px rgba(91,47,209,.4); }
.ctt-to-top[hidden] { display: none; }


/* ======================================================================
   v1.3.0
   ====================================================================== */

/* ---------- Header: container, logo inline with the site-name position ---------- */
.ctt-site-header { border-bottom: none; }
.ctt-header-top { display: block; padding: 0; font-size: 13px; }
.ctt-header-top-inner { max-width: var(--ctt-container, 1200px); margin: 0 auto; padding: 7px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ctt-primary-nav ul, .ctt-fallback-nav { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.ctt-primary-nav a:hover { color: var(--ctt-purple); }
.ctt-header-account { display: flex; align-items: center; gap: 14px; }
.ctt-header-main { max-width: var(--ctt-container, 1200px); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; flex-wrap: nowrap; }
.ctt-logo { display: flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.ctt-logo-img { height: var(--ctt-logo-h, 44px); width: auto; max-width: var(--ctt-logo-max-w, 240px); object-fit: contain; display: block; }
.ctt-logo-text { font-size: 24px; line-height: 1.1; font-weight: 800; color: var(--ctt-purple); letter-spacing: -.02em; }
.ctt-search-form { flex: 1 1 280px; max-width: 400px; min-width: 180px; }
.ctt-quick-links { flex: 0 0 auto; }
.ctt-mobile-toggle { display: none; }
.ctt-mobile-pills, .ctt-mobile-panel { display: none; }
@media (min-width: 783px) and (max-width: 1100px) { .ctt-header-main { flex-wrap: wrap; row-gap: 10px; } }

/* ---------- Buttons ---------- */
.ctt-btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; }
.ctt-btn-light { background: #fff; color: var(--ctt-purple-dark); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.ctt-btn-light:hover { transform: translateY(-1px); }
.ctt-btn-outline { border: 2px solid rgba(255,255,255,.75); color: #fff; }
.ctt-btn-outline:hover { background: rgba(255,255,255,.14); }

/* ---------- Homepage hero ---------- */
.ctt-hero { position: relative; overflow: hidden; text-align: center; margin: 22px 0 42px; padding: 58px 24px 42px; border-radius: calc(var(--ctt-radius, 18px) + 6px); color: #fff; background: linear-gradient(125deg, var(--ctt-b1) 0%, var(--ctt-b2) 55%, var(--ctt-b3) 100%); box-shadow: 0 18px 50px rgba(40, 20, 110, .22); }
.ctt-hero-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.ctt-hero-blob-1 { width: 380px; height: 380px; right: -110px; top: -160px; background: rgba(255,255,255,.12); }
.ctt-hero-blob-2 { width: 260px; height: 260px; left: -90px; bottom: -150px; background: rgba(255,255,255,.09); }
.ctt-hero-inner { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; }
.ctt-hero-kicker { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.32); padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ctt-hero h1 { color: #fff; font-size: clamp(28px, 5vw, 52px); line-height: 1.08; font-weight: 800; margin: 16px 0 14px; letter-spacing: -.025em; }
.ctt-hero-sub { max-width: 640px; margin: 0 auto 26px; font-size: clamp(15px, 2vw, 18px); line-height: 1.55; color: rgba(255,255,255,.92); }
.ctt-hero-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: 13px; }
.ctt-hero-chips span { opacity: .85; }
.ctt-hero-chips a { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); padding: 5px 13px; border-radius: 999px; font-weight: 600; }
.ctt-hero-chips a:hover { background: rgba(255,255,255,.3); }
.ctt-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.ctt-hero-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; max-width: 780px; margin: 32px auto 0; padding: 0; }
.ctt-hero-stats li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 14px 10px; backdrop-filter: blur(6px); }
.ctt-hero-stats b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; color: #fff; }
.ctt-hero-stats span { display: block; margin-top: 3px; font-size: 12.5px; opacity: .9; color: #fff; }

/* Smart search */
.ctt-smart-search { position: relative; max-width: 660px; margin: 0 auto; text-align: left; }
.ctt-ss-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--ctt-muted); line-height: 0; z-index: 2; }
#ctt-smart-search-input { width: 100%; padding: 17px 22px 17px 54px; border-radius: 999px; border: 1px solid var(--ctt-border); font-size: 16px; color: #1e1e1e; background: #fff; outline: none; -webkit-appearance: none; appearance: none; }
.ctt-ss-hero #ctt-smart-search-input { border: none; box-shadow: 0 14px 34px rgba(0,0,0,.24); }
#ctt-smart-search-input:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 14px 34px rgba(0,0,0,.24); }
#ctt-smart-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ctt-text); border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.25); max-height: 380px; overflow: auto; z-index: 60; padding: 8px; }
#ctt-smart-search-results[hidden] { display: none; }
.ctt-ss-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ctt-muted); padding: 8px 10px 4px; font-weight: 700; }
.ctt-ss-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.ctt-ss-item:hover { background: var(--ctt-lilac); }
.ctt-ss-item img { width: 28px; height: 28px; object-fit: contain; border: 1px solid var(--ctt-border); border-radius: 6px; padding: 2px; background: #fff; }
.ctt-ss-note { color: var(--ctt-orange); font-size: 12px; text-transform: uppercase; }
.ctt-ss-empty { padding: 14px; color: var(--ctt-muted); font-size: 14px; }
.ctt-search-section { margin-top: 24px; }

/* ---------- Homepage sections ---------- */
.ctt-home-section { margin: 0 0 46px; }
.ctt-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ctt-section-head h2 { margin: 0; font-size: 22px; }
.ctt-store-rows { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ctt-sr-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; text-align: center; border: 1px solid #ece9f5; border-radius: 14px; background: #fff; box-shadow: var(--ctt-shadow); transition: transform .15s, box-shadow .15s; }
.ctt-sr-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(23,18,60,.14); }
.ctt-sr-logo { width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; }
.ctt-sr-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctt-sr-name { font-size: 12px; font-weight: 700; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctt-deal-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ctt-deal-list .ctt-coupon-card { margin-bottom: 0; }
.ctt-bt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ctt-bt-item { display: flex; flex-direction: column; background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); overflow: hidden; box-shadow: var(--ctt-shadow); }
.ctt-bt-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #ebe6fb, #fde4ef); }
.ctt-bt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctt-blog-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 34px; }
.ctt-bt-body { padding: 12px 14px 14px; }
.ctt-bt-meta { display: block; font-size: 12px; color: var(--ctt-muted); margin-bottom: 4px; }
.ctt-bt-title { font-weight: 700; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ctt-bt-title:hover { color: var(--ctt-purple); }
.ctt-about { background: var(--ctt-lilac); border-radius: var(--ctt-radius, 18px); padding: 26px; line-height: 1.75; }

/* Blog page cards - image fitted in its box */
.ctt-blog-card { align-items: stretch; }
.ctt-blog-card-thumb { display: block; flex: 0 0 210px; width: 210px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #ebe6fb, #fde4ef); align-self: flex-start; }
.ctt-blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: auto; }
.ctt-blog-card-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ctt-blog-card-body h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.ctt-blog-card-meta { font-size: 12.5px; color: var(--ctt-muted); }
.ctt-blog-excerpt { font-size: 14.5px; line-height: 1.6; color: #3a3f58; }
.ctt-read-more { font-weight: 700; font-size: 14px; color: var(--ctt-purple); margin-top: auto; }
body.ctt-blog-side-left .ctt-blog-layout { flex-direction: row-reverse; }

/* ---------- Coupon card refinements ---------- */
.ctt-cc-row { gap: 20px; padding: 20px 24px; }
.ctt-cc-logo { flex-basis: 84px; width: 84px; height: 84px; }
.ctt-coupon-title { font-size: 18px; }
.ctt-get-code-label { padding: 13px 22px; font-size: 13.5px; }
.ctt-code-masked { min-width: 62px; padding: 0 18px; font-size: 16px; font-weight: 800; letter-spacing: .5px; }
.ctt-cc-action { align-items: stretch; min-width: 0; }
.ctt-uses-today { text-align: right; }
.ctt-copied-note { display: block; margin-top: -2px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ctt-copied, #16a34a); }
.ctt-copied-note[hidden] { display: none; }

/* Compact card (homepage) */
.ctt-cc-compact { border-radius: calc(var(--ctt-radius, 18px) - 4px); }
.ctt-cc-compact .ctt-cc-row { gap: 12px; padding: 12px 14px; }
.ctt-cc-compact .ctt-cc-logo { flex-basis: 54px; width: 54px; height: 54px; border-radius: 10px; padding: 6px; }
.ctt-cc-compact .ctt-cc-discount { font-size: 12px; margin-bottom: 2px; }
.ctt-cc-compact .ctt-coupon-title { font-size: 14.5px; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ctt-cc-compact .ctt-cc-desc { display: none; }
.ctt-cc-compact .ctt-uses-today, .ctt-cc-compact .ctt-details-panel { display: none; }
.ctt-cc-compact .ctt-get-code-btn { border-radius: 10px; box-shadow: 0 4px 12px rgba(11,31,75,.2); }
.ctt-cc-compact .ctt-get-code-label { padding: 10px 14px; font-size: 12px; border-radius: 10px; }
.ctt-cc-compact .ctt-code-masked { min-width: 44px; padding: 0 12px 0 10px; font-size: 13.5px; }
.ctt-cc-compact .ctt-cc-footer { padding: 6px 10px; font-size: 11.5px; }

/* ---------- Store / category layout (grid: filters, list + content, sidebar) ---------- */
.ctt-store-layout { display: grid; grid-template-columns: var(--ctt-sidebar-w, 290px) minmax(0, 1fr); grid-template-areas: "filters main" "side main"; grid-template-rows: auto 1fr; column-gap: 32px; row-gap: 0; padding: 6px 0 28px; align-items: start; }
.ctt-store-filters { grid-area: filters; min-width: 0; }
.ctt-store-main, .ctt-store-layout > .ctt-store-listings { grid-area: main; min-width: 0; }
.ctt-store-sidebar { grid-area: side; min-width: 0; }
body.ctt-store-side-right .ctt-store-layout { grid-template-columns: minmax(0, 1fr) var(--ctt-sidebar-w, 290px); grid-template-areas: "main filters" "main side"; }

/* About / FAQ / SEO under the coupon list */
.ctt-store-content { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.ctt-sc-block { background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); padding: 22px 26px; box-shadow: var(--ctt-shadow); }
.ctt-sc-block h2 { margin: 0 0 12px; font-size: 20px; }
.ctt-sc-body { line-height: 1.75; font-size: 15px; color: #2c3148; overflow-wrap: anywhere; }
.ctt-sc-body > :first-child { margin-top: 0; } .ctt-sc-body > :last-child { margin-bottom: 0; }
.ctt-sc-body h2, .ctt-sc-body h3 { margin: 22px 0 8px; font-size: 18px; }
.ctt-sc-body ul, .ctt-sc-body ol { padding-left: 1.3em; }
.ctt-sc-body a { color: var(--ctt-purple); text-decoration: underline; }
.ctt-sc-body img { height: auto; border-radius: 10px; }
.ctt-faq-item { border: 1px solid #ece9f5; border-radius: 12px; margin-bottom: 10px; background: #fcfbff; overflow: hidden; }
.ctt-faq-item summary { cursor: pointer; padding: 14px 52px 14px 16px; font-weight: 700; font-size: 15px; line-height: 1.4; list-style: none; position: relative; }
.ctt-faq-item summary::-webkit-details-marker { display: none; }
.ctt-faq-item summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--ctt-purple); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ctt-faq-item[open] summary::after { content: "\2212"; }
.ctt-faq-answer { padding: 0 16px 16px; line-height: 1.7; font-size: 14.5px; color: #3a3f58; }
.ctt-faq-answer > :first-child { margin-top: 0; } .ctt-faq-answer > :last-child { margin-bottom: 0; }

/* Store page heading: one line, professional display type */
.ctt-ph-text { flex: 1; min-width: 0; }
.ctt-ph-title-oneline { font-family: "Poppins", var(--ctt-font-head, inherit), sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.18; font-size: clamp(22px, 3vw, 38px); white-space: nowrap; text-shadow: 0 2px 14px rgba(0,0,0,.18); }
.ctt-ph-accent { background: linear-gradient(90deg, #fff6cf 0%, #ffd36b 55%, #ffb06b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-weight: 800; margin-right: .26em; text-shadow: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,.22)); }

/* ---------- Sidebar text: consistent, compact ---------- */
.ctt-widget, .ctt-widget li, .ctt-widget p, .ctt-widget a, .ctt-widget label { font-size: 14px; line-height: 1.5; }
.ctt-widget .wp-block-latest-posts__post-title, .ctt-widget .ctt-rp-title { font-size: 13.5px !important; line-height: 1.35 !important; font-weight: 700 !important; }
.ctt-widget .wp-block-latest-posts__post-date, .ctt-widget .ctt-rp-date { font-size: 12px !important; }
.ctt-widget .ctt-widget-title, .ctt-widget .wp-block-heading, .ctt-widget h2, .ctt-widget h3 { font-size: 15px !important; line-height: 1.3; }
.ctt-store-filters .ctt-filter-group label { font-size: 13.5px; }

/* ---------- Products: physical = list, digital = side-by-side cards ---------- */
.ctt-kind-tabs { display: flex; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.ctt-kind-tabs a { padding: 8px 18px; border-radius: 999px; border: 1px solid #ece9f5; font-weight: 700; font-size: 14px; background: #fff; }
.ctt-kind-tabs a.is-active, .ctt-kind-tabs a:hover { background: var(--ctt-purple); color: #fff; border-color: var(--ctt-purple); }
.ctt-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.ctt-digital-cols-2 .ctt-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.ctt-digital-cols-4 .ctt-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ctt-product-card { position: relative; background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); overflow: hidden; box-shadow: var(--ctt-shadow); display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.ctt-product-card:hover { box-shadow: 0 12px 30px rgba(23,18,60,.12); }
.ctt-product-image { position: relative; display: block; background: #fafafa; }
.ctt-product-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; padding: 10px; }
.ctt-product-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; color: #c4bde0; }
.ctt-kind-badge { position: absolute; left: 10px; top: 10px; background: var(--ctt-navy); color: #fff; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.is-digital .ctt-kind-badge { background: var(--ctt-orange); }
.ctt-product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ctt-product-main { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.ctt-product-brand { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ctt-muted); font-weight: 700; }
.ctt-product-title { margin: 0; font-size: 16px; line-height: 1.3; }
.ctt-product-title a:hover { color: var(--ctt-purple); }
.ctt-product-rating { color: #f59e0b; font-size: 13px; }
.ctt-rating-number { color: var(--ctt-muted); }
.ctt-product-excerpt { margin: 0; font-size: 13.5px; line-height: 1.55; color: #4a4f66; }
.ctt-product-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ctt-chip { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--ctt-lilac); color: var(--ctt-purple-dark); }
.ctt-chip-avail-in_stock { background: #e6f6ec; color: #15803d; } .ctt-chip-avail-out_of_stock { background: #fdeaea; color: #b91c1c; } .ctt-chip-avail-low_stock { background: #fff3e0; color: #b45309; }
.ctt-product-buy { display: flex; flex-direction: column; gap: 8px; }
.ctt-product-price { display: flex; align-items: baseline; gap: 8px; }
.ctt-price-current { font-size: 20px; font-weight: 800; color: #12142a; }
.ctt-price-original { font-size: 13px; color: var(--ctt-muted); text-decoration: line-through; }
.ctt-product-code-btn, .ctt-product-buy-btn { display: block; text-align: center; padding: 10px 14px; border-radius: 10px; border: none; cursor: pointer; font-weight: 700; font-size: 14px; }
.ctt-product-buy-btn { background: var(--ctt-navy); color: #fff; }
.ctt-product-buy-btn:hover { background: color-mix(in srgb, var(--ctt-navy) 82%, #fff); }
.ctt-product-code-btn { background: var(--ctt-lilac); border: 1.5px dashed var(--ctt-purple); color: var(--ctt-purple-dark); }
.ctt-product-view-full { font-size: 12.5px; text-align: center; color: var(--ctt-muted); text-decoration: underline; }
/* physical = list row */

/* ---------- Footer ---------- */
.ctt-footer-bottom { align-items: flex-start; }

/* ---------- Mobile bottom navigation ---------- */
.ctt-mobile-bottom-nav { display: none; }

/* ======================== Tablet ======================== */
@media (max-width: 1000px) {
	.ctt-footer-grid { grid-template-columns: 1fr 1fr; }
	.ctt-blog-layout, body.ctt-blog-side-left .ctt-blog-layout { flex-direction: column; }
	.ctt-blog-sidebar { width: 100%; }
	.ctt-store-rows { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.ctt-bt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ctt-store-layout, body.ctt-store-side-right .ctt-store-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "filters" "side"; }
	.ctt-store-filters { margin-bottom: 0; }
	.ctt-store-main, .ctt-store-layout > .ctt-store-listings { margin-bottom: 22px; }
	.ctt-store-filters .ctt-filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
	.ctt-store-filters .ctt-filter-group label { margin: 0; }
	.ctt-deal-list { grid-template-columns: minmax(0, 1fr); }
	.ctt-product-grid, body.ctt-digital-cols-4 .ctt-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ======================== Phone ======================== */
@media (max-width: 782px) {
	body:not(.ctt-no-mnav) { padding-bottom: 76px; }
	.ctt-site-main { padding: 0 14px; }

	/* Header: logo + hamburger; Products | Comparison side by side; everything else in the menu */
	.ctt-header-top, .ctt-search-form, .ctt-quick-links { display: none; }
	.ctt-header-main { padding: 10px 14px; gap: 12px; }
	.ctt-logo-img { height: var(--ctt-logo-h-m, 34px); }
	.ctt-logo-text { font-size: 20px; }
	.ctt-mobile-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--ctt-border); border-radius: 12px; background: #fff; color: var(--ctt-text); padding: 0; cursor: pointer; }
	.ctt-mt-open, .ctt-mt-close { display: flex; line-height: 0; }
	.ctt-mt-close { display: none; }
	.ctt-mobile-nav-open .ctt-mt-open { display: none; }
	.ctt-mobile-nav-open .ctt-mt-close { display: flex; }
	.ctt-mobile-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 12px; }
	.ctt-mobile-pills a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 8px; border-radius: 12px; font-weight: 700; font-size: 14px; background: var(--ctt-lilac); color: var(--ctt-purple-dark); }
	.ctt-mobile-panel:not([hidden]) { display: block; padding: 6px 14px 18px; border-top: 1px solid var(--ctt-border); background: var(--ctt-header-bg, #fff); }
	.ctt-mobile-search { display: flex; border: 1.5px solid var(--ctt-border); border-radius: 999px; overflow: hidden; margin: 10px 0 8px; }
	.ctt-mobile-search input { flex: 1; border: none; padding: 12px 16px; font-size: 15px; outline: none; min-width: 0; }
	.ctt-mobile-search button { border: none; background: var(--ctt-purple); color: #fff; padding: 0 18px; cursor: pointer; line-height: 0; }
	.ctt-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
	.ctt-mobile-menu li a { display: block; padding: 13px 4px; border-bottom: 1px solid #f0edf8; font-weight: 600; }
	.ctt-mobile-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-weight: 600; }
	.ctt-mobile-panel-foot a { display: inline-flex; align-items: center; gap: 6px; }

	/* Bottom bar */
	.ctt-mobile-bottom-nav { display: flex; align-items: flex-end; justify-content: space-around; position: fixed; left: 0; right: 0; bottom: 0; z-index: 700; background: var(--ctt-mnav-bg, #fff); border-top: 1px solid rgba(0,0,0,.07); box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
	body.ctt-no-mnav .ctt-mobile-bottom-nav { display: none; }
	.ctt-mn-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; font-size: 11px; font-weight: 600; color: var(--ctt-mnav-text, #6b7280); text-align: center; line-height: 1.1; }
	.ctt-mn-item.is-active { color: var(--ctt-mnav-active, #7b2ff7); }
	body.ctt-mnav-fab .ctt-mn-fab { margin-top: -30px; }
	body.ctt-mnav-fab .ctt-mn-fab .ctt-icon { box-sizing: content-box; width: 24px; height: 24px; padding: 14px; border-radius: 50%; background: var(--ctt-mnav-fab, #ff6a3d); color: var(--ctt-mnav-fab-ic, #fff); border: 4px solid var(--ctt-mnav-bg, #fff); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
	body.ctt-mnav-fab .ctt-mn-fab.is-active { color: var(--ctt-mnav-text, #6b7280); }
	.ctt-to-top { bottom: 92px; }

	/* Page banner */
	.ctt-ph { padding: 14px 16px 18px; margin: 12px 0 16px; }
	.ctt-ph-crumbs { font-size: 12px; margin-bottom: 10px; }
	.ctt-ph-inner { gap: 12px; align-items: center; }
	.ctt-ph-logo { flex-basis: 64px; width: 64px; height: 64px; border-radius: 14px; padding: 7px; }
	.ctt-ph-eyebrow { font-size: 10.5px; padding: 2px 10px; margin-bottom: 6px; }
	.ctt-ph-title, .ctt-ph-title-oneline { font-size: 21px; line-height: 1.2; white-space: normal; letter-spacing: -.01em; }
	.ctt-ph-sub { font-size: 13.5px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.ctt-ph-row { margin-top: 12px; gap: 6px; }
	.ctt-ph-badge { font-size: 11.5px; padding: 4px 10px; }
	.ctt-ph-cta { width: 100%; text-align: center; padding: 10px 14px; }

	/* Coupon card */
	.ctt-coupon-card { margin-bottom: 12px; }
	.ctt-cc-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "logo body" "action action"; gap: 10px 12px; padding: 14px; align-items: start; }
	.ctt-cc-logo { grid-area: logo; width: 56px; height: 56px; flex: none; border-radius: 12px; padding: 6px; }
	.ctt-cc-body { grid-area: body; }
	.ctt-cc-action { grid-area: action; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
	.ctt-cc-discount { font-size: 13px; }
	.ctt-coupon-title { font-size: 16px; line-height: 1.3; }
	.ctt-cc-desc { font-size: 13px; }
	.ctt-get-code-btn { order: 1; width: 100%; display: flex; }
	.ctt-get-code-label { flex: 1; justify-content: center; padding: 13px 10px; }
	.ctt-code-masked { min-width: 62px; }
	.ctt-copied-note { order: 2; margin-top: 0; }
	.ctt-uses-today { order: 3; text-align: center; }
	.ctt-details-panel { padding: 12px 14px 14px; font-size: 13.5px; }
	.ctt-cc-footer { padding: 8px 12px; gap: 3px 14px; }
	.ctt-cc-compact .ctt-cc-row { grid-template-columns: 48px minmax(0, 1fr); padding: 12px; gap: 8px 10px; }
	.ctt-cc-compact .ctt-cc-logo { width: 48px; height: 48px; }
	.ctt-cc-compact .ctt-get-code-label { padding: 11px 10px; }

	/* Store layout bits */
	.ctt-sc-block { padding: 16px 16px; }
	.ctt-sc-block h2 { font-size: 18px; }
	.ctt-widget { margin-bottom: 16px; }

	/* Homepage */
	.ctt-hero { margin: 12px 0 26px; padding: 30px 16px 24px; border-radius: 22px; }
	.ctt-hero h1 { margin: 12px 0 10px; }
	.ctt-hero-sub { margin-bottom: 18px; }
	#ctt-smart-search-input { padding: 14px 16px 14px 46px; font-size: 15px; }
	.ctt-ss-icon { left: 16px; }
	.ctt-hero-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin: 12px -16px 0; padding: 0 16px 2px; }
	.ctt-hero-chips a, .ctt-hero-chips span { flex: 0 0 auto; }
	.ctt-hero-actions { flex-direction: column; margin-top: 18px; }
	.ctt-hero-actions .ctt-btn { width: 100%; text-align: center; }
	.ctt-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
	.ctt-hero-stats li { padding: 11px 8px; border-radius: 14px; }
	.ctt-hero-stats b { font-size: 21px; }
	.ctt-home-section { margin-bottom: 32px; }
	.ctt-section-head h2 { font-size: 19px; }
	.ctt-store-rows { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 100px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; margin: 0 -14px; padding-left: 14px; padding-right: 14px; scrollbar-width: none; }
	.ctt-sr-tile { scroll-snap-align: start; }
	.ctt-chip-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 6px; scrollbar-width: none; }
	.ctt-cat-chip { flex: 0 0 auto; }
	.ctt-bt-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -14px; padding: 0 14px 8px; scrollbar-width: none; }
	.ctt-bt-item { scroll-snap-align: start; }
	.ctt-roundup-teaser-grid { grid-template-columns: minmax(0, 1fr); }
	.ctt-about { padding: 18px; }

	/* Products */
	.ctt-product-grid, body.ctt-digital-cols-4 .ctt-product-grid, body.ctt-digital-cols-2 .ctt-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ctt-product-body { padding: 10px 12px 12px; }
	.ctt-product-title { font-size: 14px; }
	.ctt-price-current { font-size: 17px; }

	/* Blog */
	.ctt-blog-card { flex-direction: column; padding: 12px; }
	.ctt-blog-card-thumb { width: 100%; flex-basis: auto; }

	/* Footer */
	.ctt-footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.ctt-footer-inner { padding: 36px 16px 20px; }
}


/* ======================================================================
   v1.3.1 - blog post page, sidebar boxes
   ====================================================================== */
.ctt-read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 900; pointer-events: none; }
.ctt-read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ctt-purple), var(--ctt-orange)); }
.ctt-single-layout { align-items: flex-start; }
.ctt-post-main { flex: 1; min-width: 0; }
.ctt-post-figure { margin: 0 0 18px; border-radius: var(--ctt-radius, 18px); overflow: hidden; box-shadow: var(--ctt-shadow); background: #f3f0fb; }
.ctt-post-figure img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.ctt-post-figure figcaption { padding: 8px 14px; font-size: 12.5px; color: var(--ctt-muted); background: #fff; }
.ctt-post-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; padding: 12px 16px; margin-bottom: 18px; background: #fff; border: 1px solid #ece9f5; border-radius: 14px; }
.ctt-byline-avatar, .ctt-author-avatar { border-radius: 50%; display: block; }
.ctt-byline-text { display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; }
.ctt-byline-sub { font-size: 12.5px; color: var(--ctt-muted); }
.ctt-post-byline .ctt-editor-byline { margin-left: auto; font-size: 13px; display: flex; align-items: center; gap: 8px; color: var(--ctt-muted); }
.ctt-post-byline .ctt-editor-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.ctt-toc { background: var(--ctt-lilac); border: 1px solid color-mix(in srgb, var(--ctt-purple) 25%, #fff); border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; }
.ctt-toc summary { cursor: pointer; font-weight: 800; font-size: 15px; }
.ctt-toc ol { margin: 10px 0 0; padding-left: 1.2em; }
.ctt-toc li { margin: 5px 0; font-size: 14.5px; }
.ctt-toc .ctt-toc-l3 { margin-left: 1em; list-style: circle; font-size: 13.5px; }
.ctt-toc a { color: var(--ctt-purple-dark); } .ctt-toc a:hover { text-decoration: underline; }
.ctt-post-content { font-size: 17px; line-height: 1.85; color: #232840; overflow-wrap: anywhere; }
.ctt-post-content > :first-child { margin-top: 0; }
.ctt-post-content h2 { font-size: 26px; margin: 38px 0 12px; scroll-margin-top: 90px; }
.ctt-post-content h3 { font-size: 21px; margin: 28px 0 10px; scroll-margin-top: 90px; }
.ctt-post-content p { margin: 0 0 1.15em; }
.ctt-post-content a { color: var(--ctt-purple); text-decoration: underline; text-underline-offset: 3px; }
.ctt-post-content img { max-width: 100%; height: auto; border-radius: 12px; }
.ctt-post-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--ctt-purple); background: #faf8ff; border-radius: 0 12px 12px 0; font-style: italic; }
.ctt-post-content ul, .ctt-post-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.ctt-post-content li { margin-bottom: .4em; }
.ctt-post-content table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; font-size: 15px; }
.ctt-post-content th, .ctt-post-content td { border: 1px solid #e3def2; padding: 9px 12px; text-align: left; }
.ctt-post-content th { background: #f4f0ff; }
.ctt-post-content pre { overflow-x: auto; background: #12142a; color: #e8e8f5; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.ctt-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 6px; }
.ctt-post-tags a { padding: 5px 13px; border-radius: 999px; background: #f3f0fb; font-size: 13px; font-weight: 600; color: var(--ctt-purple-dark); }
.ctt-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 26px; padding: 14px 0; border-top: 1px solid #ece9f5; border-bottom: 1px solid #ece9f5; font-weight: 700; font-size: 14px; }
.ctt-share a, .ctt-copy-link { padding: 7px 15px; border-radius: 999px; border: 1px solid #dcd6f0; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--ctt-text); }
.ctt-share a:hover, .ctt-copy-link:hover { background: var(--ctt-purple); color: #fff; border-color: var(--ctt-purple); }
.ctt-author-box { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); background: linear-gradient(135deg, #faf8ff, #fff); box-shadow: var(--ctt-shadow); margin-bottom: 24px; }
.ctt-author-avatar { flex: 0 0 72px; width: 72px; height: 72px; }
.ctt-author-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ctt-muted); font-weight: 700; }
.ctt-author-box h4 { margin: 2px 0 6px; font-size: 18px; }
.ctt-author-box p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3a3f58; }
.ctt-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.ctt-post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid #ece9f5; border-radius: 14px; background: #fff; }
.ctt-post-nav a:hover { border-color: var(--ctt-purple); }
.ctt-post-nav small { color: var(--ctt-muted); font-weight: 700; }
.ctt-post-nav span { font-weight: 700; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ctt-pn-next { text-align: right; }
.ctt-related { margin-bottom: 30px; }
.ctt-related h2 { font-size: 22px; margin: 0 0 14px; }
.ctt-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ctt-post-comments { background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); padding: 20px 22px; }

/* Sidebar: sign-up + top picks */
.ctt-widget-signup { background: linear-gradient(135deg, var(--ctt-b1), var(--ctt-b3)); border: none; color: #fff; }
.ctt-signup-box { padding: 20px 18px; text-align: center; }
.ctt-signup-ico { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.2); margin-bottom: 8px; }
.ctt-signup-box h4 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.ctt-signup-box p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.92); }
.ctt-signup-form { display: flex; flex-direction: column; gap: 8px; }
.ctt-signup-form input[type="email"] { width: 100%; padding: 12px 14px; border: none; border-radius: 10px; font-size: 14px; outline: none; }
.ctt-signup-form button { padding: 12px 14px; border: none; border-radius: 10px; background: var(--ctt-navy); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.ctt-signup-form button:hover { background: color-mix(in srgb, var(--ctt-navy) 80%, #fff); }
.ctt-signup-form .ctt-signup-status { margin: 0; min-height: 1em; font-size: 12.5px; font-weight: 700; color: #fff; }
.ctt-tp-list { list-style: none; margin: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ctt-tp-item { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid #ece9f5; border-radius: 12px; }
.ctt-tp-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; background: #fafafa; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #c4bde0; }
.ctt-tp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ctt-tp-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ctt-tp-brand { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ctt-muted); font-weight: 700; }
.ctt-tp-title { font-size: 13.5px !important; font-weight: 700; line-height: 1.3; }
.ctt-tp-price { font-size: 13px; font-weight: 800; color: var(--ctt-orange); }

@media (max-width: 1000px) { .ctt-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 782px) {
	.ctt-post-content { font-size: 16px; line-height: 1.75; }
	.ctt-post-content h2 { font-size: 21px; margin-top: 28px; }
	.ctt-post-content h3 { font-size: 18px; }
	.ctt-post-byline { padding: 10px 12px; }
	.ctt-post-byline .ctt-editor-byline { margin-left: 0; width: 100%; }
	.ctt-author-box { padding: 16px; flex-direction: column; align-items: center; text-align: center; }
	.ctt-post-nav { grid-template-columns: 1fr; }
	.ctt-related-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -14px; padding: 0 14px 8px; }
	.ctt-post-comments { padding: 14px; }
}


/* v1.3.4 - homepage hero heading on a single line (desktop); phones wrap normally */
@media (min-width: 783px) {
	.ctt-hero-inner { max-width: none; }
	.ctt-hero h1 { white-space: nowrap; font-size: clamp(30px, 4.4vw, 54px); width: 100%; margin-left: auto; margin-right: auto; }
}


/* ======================================================================
   v1.3.5 - official social icons, contact form
   ====================================================================== */
.ctt-social-icons, .ctt-footer-social { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ctt-social-icons a { margin-left: 0; }
.ctt-social { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ctt-sc, #555); color: #fff; line-height: 0; transition: transform .15s, box-shadow .15s, filter .15s; }
.ctt-social svg { display: block; }
.ctt-social:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.25); filter: brightness(1.08); color: #fff; }
.ctt-footer-legal { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ctt-footer-legal:hover { color: #fff; }

.ctt-contact { max-width: 760px; margin: 0 auto 30px; background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); box-shadow: var(--ctt-shadow); padding: 26px 28px; }
.ctt-cf-form p { margin: 0 0 16px; }
.ctt-cf-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.ctt-cf-form input[type="text"], .ctt-cf-form input[type="email"], .ctt-cf-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--ctt-border); border-radius: 12px; font: inherit; font-size: 15px; background: #fff; box-sizing: border-box; outline: none; transition: border-color .15s, box-shadow .15s; }
.ctt-cf-form input:focus, .ctt-cf-form textarea:focus { border-color: var(--ctt-purple); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ctt-purple) 18%, transparent); }
.ctt-cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ctt-cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ctt-cf-actions { margin-bottom: 8px !important; }
.ctt-cf-actions .ctt-btn { border: none; cursor: pointer; font-size: 16px; padding: 13px 34px; }
.ctt-cf-note { font-size: 12.5px; color: var(--ctt-muted); margin: 0 !important; }
.ctt-cf-note a { color: var(--ctt-purple); text-decoration: underline; }
.ctt-cf-msg { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; font-size: 14.5px; }
.ctt-cf-ok { background: #e6f6ec; color: #15803d; border: 1px solid #b7e4c7; }
.ctt-cf-err { background: #fdeaea; color: #b91c1c; border: 1px solid #f5c2c2; }
@media (max-width: 782px) {
	.ctt-contact { padding: 18px 16px; }
	.ctt-cf-row { grid-template-columns: 1fr; }
	.ctt-footer-bottom { flex-direction: column; }
}


/* v1.3.6 - homepage categories: two equal lines */
.ctt-chip-row { display: grid; grid-template-columns: repeat(var(--ctt-cat-cols, 5), minmax(0, 1fr)); gap: 10px; }
.ctt-cat-chip { min-width: 0; }
.ctt-cat-chip .ctt-cat-name { width: auto; height: auto; border-radius: 0; background: none; display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctt-cat-chip .ctt-cat-ico { flex: 0 0 30px; }
@media (max-width: 1000px) { .ctt-chip-row { grid-template-columns: repeat(min(var(--ctt-cat-cols, 5), 4), minmax(0, 1fr)); } }
@media (max-width: 782px) {
	.ctt-chip-row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: max-content; overflow-x: auto; margin: 0 -14px; padding: 0 14px 6px; scrollbar-width: none; }
	.ctt-cat-chip .ctt-cat-name { overflow: visible; }
}


/* ======================================================================
   v1.3.7 - every category gets an icon / tile automatically
   ====================================================================== */
.ctt-cat-chip span.ctt-cat-ico-default { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ctt-cc, var(--ctt-purple)); color: #fff; }
.ctt-cat-chip span.ctt-cat-ico-default .ctt-icon { width: 17px; height: 17px; }
.ctt-category-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.ctt-category-tile { display: flex; flex-direction: column; border-radius: var(--ctt-radius, 18px); overflow: hidden; border: 1px solid #ece9f5; background: #fff; box-shadow: var(--ctt-shadow); transition: transform .15s, box-shadow .15s; }
.ctt-category-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23,18,60,.14); }
.ctt-category-tile img { width: 100%; height: 124px; object-fit: cover; display: block; }
.ctt-category-tile .ctt-category-default { width: 100%; height: 124px; padding: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: radial-gradient(circle at 78% 18%, rgba(255,255,255,.28), transparent 46%), linear-gradient(135deg, var(--ctt-cc, var(--ctt-purple)), color-mix(in srgb, var(--ctt-cc, var(--ctt-purple)) 55%, #ffffff)); }
.ctt-category-tile .ctt-category-default .ctt-icon { filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.ctt-category-tile h3 { margin: 0; padding: 12px 14px 2px; font-size: 15.5px; line-height: 1.3; }
.ctt-category-tile .ctt-category-count { padding: 0 14px 14px; font-size: 12.5px; color: var(--ctt-muted); }
.ctt-ph-logo-icon { color: var(--ctt-cc, var(--ctt-purple)); }
.ctt-ph-logo-icon .ctt-icon { width: 54px; height: 54px; }
@media (max-width: 782px) {
	.ctt-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ctt-category-tile img, .ctt-category-tile .ctt-category-default { height: 96px; }
	.ctt-category-tile .ctt-category-default .ctt-icon { width: 38px; height: 38px; }
	.ctt-ph-logo-icon .ctt-icon { width: 34px; height: 34px; }
}


/* ======================================================================
   v1.4.0 - smart search, products, roundups, blog thumbnails
   ====================================================================== */

/* ---------- Smart search dropdown ---------- */
.ctt-ss-form { margin: 0; display: block; }
.ctt-ss-results { position: fixed; z-index: 1000; background: #fff; color: var(--ctt-text); border-radius: 16px; box-shadow: 0 20px 50px rgba(20, 10, 60, .28); border: 1px solid #ece9f5; overflow-y: auto; padding: 8px; text-align: left; }
.ctt-ss-results[hidden] { display: none; }
.ctt-ss-dym { padding: 8px 10px; font-size: 13px; color: var(--ctt-muted); border-bottom: 1px solid #f1eef9; margin-bottom: 4px; }
.ctt-ss-group { margin-bottom: 4px; }
.ctt-ss-title { display: flex; justify-content: space-between; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ctt-muted); padding: 8px 10px 4px; font-weight: 800; }
.ctt-ss-title .ctt-ss-all { text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--ctt-purple); font-weight: 700; }
.ctt-ss-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.ctt-ss-item:hover, .ctt-ss-item.is-active { background: var(--ctt-lilac); }
.ctt-ss-item img { flex: 0 0 30px; width: 30px; height: 30px; object-fit: contain; border: 1px solid var(--ctt-border); border-radius: 7px; padding: 2px; background: #fff; }
.ctt-ss-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctt-ss-note { flex: 0 0 auto; font-size: 11.5px; font-weight: 800; color: var(--ctt-orange); background: color-mix(in srgb, var(--ctt-orange) 12%, #fff); padding: 2px 9px; border-radius: 999px; text-transform: none; }
.ctt-ss-footer { display: block; text-align: center; padding: 11px; margin-top: 4px; border-top: 1px solid #f1eef9; font-weight: 800; font-size: 14px; color: var(--ctt-purple); }
.ctt-ss-footer:hover { background: var(--ctt-lilac); border-radius: 0 0 12px 12px; }
.ctt-ss-empty { padding: 14px; color: var(--ctt-muted); font-size: 14px; }

/* ---------- Search results page ---------- */
.ctt-sp-form { position: relative; display: flex; gap: 10px; max-width: 760px; margin: 0 0 18px; }
.ctt-sp-form .ctt-ss-icon { left: 18px; }
.ctt-sp-form input[type="search"] { flex: 1; min-width: 0; padding: 15px 20px 15px 50px; border: 1.5px solid var(--ctt-border); border-radius: 999px; font-size: 16px; outline: none; background: #fff; }
.ctt-sp-form input[type="search"]:focus { border-color: var(--ctt-purple); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ctt-purple) 16%, transparent); }
.ctt-sp-form button { padding: 0 28px; border: none; border-radius: 999px; background: var(--ctt-purple); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.ctt-sp-dym { margin: 0 0 14px; font-size: 14.5px; color: var(--ctt-muted); }
.ctt-sp-dym a { color: var(--ctt-purple); text-decoration: underline; }
.ctt-sp-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ctt-sp-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #ece9f5; border-radius: 999px; background: #fff; font-weight: 700; font-size: 13.5px; }
.ctt-sp-nav a b { background: var(--ctt-lilac); color: var(--ctt-purple-dark); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.ctt-sp-nav a:hover, .ctt-sp-nav a.is-on { background: var(--ctt-purple); color: #fff; border-color: var(--ctt-purple); }
.ctt-sp-nav a:hover b { background: #fff; }
.ctt-best { position: relative; margin-bottom: 28px; }
.ctt-best-tag { position: absolute; top: -10px; left: 18px; z-index: 2; background: var(--ctt-orange); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; }
.ctt-best-card { display: flex; align-items: center; gap: 16px; padding: 22px 22px 18px; border-radius: var(--ctt-radius, 18px); background: linear-gradient(120deg, color-mix(in srgb, var(--ctt-purple) 12%, #fff), color-mix(in srgb, var(--ctt-orange) 12%, #fff)); border: 1px solid #e3dcf7; box-shadow: var(--ctt-shadow); transition: transform .15s; }
.ctt-best-card:hover { transform: translateY(-2px); }
.ctt-best-logo { flex: 0 0 64px; width: 64px; height: 64px; background: #fff; border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.ctt-best-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctt-best-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ctt-best-text b { font-size: 19px; line-height: 1.25; }
.ctt-best-text small { color: var(--ctt-muted); font-size: 13.5px; }
.ctt-best-go { flex: 0 0 auto; background: var(--ctt-navy); color: #fff; padding: 11px 20px; border-radius: 12px; font-weight: 800; font-size: 14px; }
.ctt-sp-section { margin-bottom: 38px; scroll-margin-top: 90px; }
.ctt-sp-section .ctt-section-head h2 { display: flex; align-items: center; gap: 8px; }
.ctt-sp-count { background: var(--ctt-lilac); color: var(--ctt-purple-dark); font-size: 13px; padding: 2px 10px; border-radius: 999px; font-weight: 800; }
.ctt-sp-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ctt-sr-count { font-size: 11.5px; color: var(--ctt-orange); font-weight: 800; }
.ctt-sp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ctt-sp-cards .ctt-coupon-card { margin-bottom: 14px; }
.ctt-sp-more { margin: 12px 0 0; text-align: right; font-weight: 800; }
.ctt-sp-more a { color: var(--ctt-purple); }

/* ---------- Code chip (products + ranked items) ---------- */
.ctt-code-chip { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border: 2px dashed var(--ctt-orange); border-radius: 12px; background: color-mix(in srgb, var(--ctt-orange) 9%, #fff); color: color-mix(in srgb, var(--ctt-orange) 80%, #000); font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; transition: transform .12s, background .15s; font-family: inherit; }
.ctt-code-chip:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--ctt-orange) 16%, #fff); }
.ctt-code-chip.is-copied { border-color: var(--ctt-copied, #16a34a); color: var(--ctt-copied, #16a34a); background: color-mix(in srgb, var(--ctt-copied, #16a34a) 9%, #fff); border-style: solid; }

/* ---------- Editor text shown exactly as typed ---------- */
.ctt-rich { line-height: 1.7; font-size: 15px; overflow-wrap: anywhere; color: #2c3148; }
.ctt-rich > :first-child { margin-top: 0; } .ctt-rich > :last-child { margin-bottom: 0; }
.ctt-rich p { margin: 0 0 .75em; }
.ctt-rich h1 { font-size: 24px; } .ctt-rich h2 { font-size: 21px; } .ctt-rich h3 { font-size: 18px; } .ctt-rich h4 { font-size: 16px; }
.ctt-rich h1, .ctt-rich h2, .ctt-rich h3, .ctt-rich h4 { margin: 1em 0 .4em; line-height: 1.25; color: var(--ctt-text); }
.ctt-rich strong, .ctt-rich b { font-weight: 800; color: #12142a; }
.ctt-rich ul, .ctt-rich ol { margin: 0 0 .8em; padding-left: 1.35em; }
.ctt-rich li { margin-bottom: .3em; }
.ctt-rich a { color: var(--ctt-purple); text-decoration: underline; text-underline-offset: 3px; }
.ctt-rich blockquote { margin: .8em 0; padding: 8px 14px; border-left: 4px solid var(--ctt-purple); background: #faf8ff; border-radius: 0 10px 10px 0; }
.ctt-rich img { max-width: 100%; height: auto; border-radius: 10px; }

/* ---------- Product card (same for physical + digital) ---------- */
.ctt-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.ctt-digital-cols-2 .ctt-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.ctt-digital-cols-4 .ctt-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ctt-product-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #ece9f5; border-radius: calc(var(--ctt-radius, 18px) + 2px); overflow: hidden; box-shadow: var(--ctt-shadow); transition: transform .2s, box-shadow .2s; }
.ctt-product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 18, 60, .16); }
.ctt-pc-stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 28% 18%, #fff, transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--ctt-purple) 15%, #fff), color-mix(in srgb, var(--ctt-orange) 15%, #fff)); }
.ctt-pc-stage img { max-width: 78%; max-height: 82%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(20, 10, 60, .26)); transition: transform .35s; }
.ctt-product-card:hover .ctt-pc-stage img { transform: scale(1.06) rotate(-1deg); }
.ctt-product-ph { color: color-mix(in srgb, var(--ctt-purple) 40%, #fff); }
.ctt-kind-badge { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--ctt-navy); color: #fff; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.is-digital .ctt-kind-badge { background: var(--ctt-orange); }
.ctt-pc-rate { position: absolute; right: 10px; top: 10px; z-index: 2; background: #fff; color: #b45309; font-weight: 800; font-size: 12px; padding: 3px 9px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.ctt-product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.ctt-product-brand { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ctt-muted); font-weight: 800; }
.ctt-product-title { margin: 0; font-size: 17px; line-height: 1.3; }
.ctt-product-title a:hover { color: var(--ctt-purple); }
.ctt-product-excerpt { margin: 0; font-size: 13.5px; line-height: 1.55; color: #4a4f66; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ctt-pc-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed #e4def5; display: flex; flex-direction: column; gap: 10px; }
.ctt-product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ctt-price-current { font-size: 22px; font-weight: 800; color: #12142a; letter-spacing: -.01em; }
.ctt-pc-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.ctt-pc-actions .ctt-product-buy-btn { flex: 1 1 auto; }
.ctt-pc-actions .ctt-code-chip { padding: 10px 12px; font-size: 13px; }
.ctt-product-buy-btn { display: block; text-align: center; padding: 12px 16px; border-radius: 12px; background: var(--ctt-navy); color: #fff; font-weight: 800; font-size: 14px; }
.ctt-product-buy-btn:hover { background: color-mix(in srgb, var(--ctt-navy) 80%, #fff); }
.ctt-product-view-full { font-size: 12.5px; text-align: center; color: var(--ctt-muted); text-decoration: underline; }

/* ---------- Single product page ---------- */
.ctt-spp { margin-bottom: 40px; }
.ctt-spp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ctt-muted); padding: 16px 0 8px; }
.ctt-spp-crumbs i { font-style: normal; opacity: .6; } .ctt-spp-crumbs a:hover { color: var(--ctt-purple); }
.ctt-spp-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 44px; align-items: center; margin: 8px 0 34px; }
.ctt-spp-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 32px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(145deg, color-mix(in srgb, var(--ctt-purple) 16%, #fff), color-mix(in srgb, var(--ctt-orange) 18%, #fff)); box-shadow: 0 24px 60px rgba(40, 20, 110, .18); }
.ctt-spp-ring { position: absolute; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--ctt-purple) 35%, transparent); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ctt-spp-ring-1 { width: 84%; height: 84%; } .ctt-spp-ring-2 { width: 60%; height: 60%; border-style: solid; border-color: rgba(255,255,255,.7); }
.ctt-spp-glow { position: absolute; width: 56%; height: 56%; left: 22%; top: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), transparent 70%); filter: blur(10px); }
.ctt-spp-img { position: relative; z-index: 1; max-width: 72%; max-height: 72%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(20, 10, 60, .35)); animation: ctt-float 5s ease-in-out infinite; }
@keyframes ctt-float { 50% { transform: translateY(-8px); } }
.ctt-spp-ph { position: relative; z-index: 1; color: color-mix(in srgb, var(--ctt-purple) 45%, #fff); }
.ctt-spp-stage .ctt-kind-badge { left: 18px; top: 18px; font-size: 11.5px; padding: 5px 13px; }
.ctt-spp-rating { position: absolute; right: 18px; top: 18px; z-index: 2; background: #fff; color: #b45309; font-weight: 800; padding: 5px 13px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.ctt-spp-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ctt-spp-title { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
.ctt-spp-stars { display: flex; align-items: center; gap: 8px; } .ctt-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.ctt-spp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 14px 20px; border-radius: 18px; background: linear-gradient(120deg, color-mix(in srgb, var(--ctt-purple) 10%, #fff), color-mix(in srgb, var(--ctt-orange) 10%, #fff)); border: 1px solid #e6dff8; }
.ctt-spp-price-label { flex: 0 0 100%; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ctt-muted); font-weight: 800; }
.ctt-spp-price-val { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; color: #12142a; line-height: 1.1; }
.ctt-spp-desc { font-size: 16px; }
.ctt-spp-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin-top: 4px; }
.ctt-spp-buy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1 1 220px; padding: 17px 28px; border-radius: 16px; background: linear-gradient(120deg, var(--ctt-navy), color-mix(in srgb, var(--ctt-purple) 70%, var(--ctt-navy))); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 12px 26px color-mix(in srgb, var(--ctt-navy) 40%, transparent); transition: transform .15s; }
.ctt-spp-buy:hover { transform: translateY(-2px); color: #fff; }
.ctt-spp-actions .ctt-code-chip { padding: 0 20px; font-size: 15px; border-radius: 16px; }
.ctt-spp-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 4px 0 0; padding: 0; font-size: 13px; color: var(--ctt-muted); }
.ctt-spp-trust li { display: inline-flex; align-items: center; gap: 6px; } .ctt-spp-trust .ctt-icon { color: #16a34a; }
.ctt-spp-details { background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); box-shadow: var(--ctt-shadow); padding: 28px 32px; margin-bottom: 34px; }
.ctt-spp-details h2 { margin: 0 0 14px; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.ctt-spp-details h2::before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: linear-gradient(var(--ctt-purple), var(--ctt-orange)); }
.ctt-spp-related h2 { margin: 0 0 16px; font-size: 22px; }
.ctt-spp-sticky { display: none; }

/* ---------- Roundup ranked items ---------- */
.ctt-roundup-intro { margin-bottom: 26px; }
.ctt-roundup-items { display: grid; gap: 20px; margin: 10px 0 30px; }
.ctt-roundup-items-physical { grid-template-columns: minmax(0, 1fr); }
.ctt-roundup-items-digital { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.ctt-ri { position: relative; min-width: 0; background: #fff; border: 1px solid #ece9f5; border-radius: var(--ctt-radius, 18px); box-shadow: var(--ctt-shadow); }
.ctt-ri-rank { position: absolute; z-index: 3; left: -10px; top: -12px; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ctt-purple), var(--ctt-b3)); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 8px 18px rgba(40, 20, 110, .3); border: 3px solid #fff; }
.ctt-roundup-items > .ctt-ri:nth-child(1) .ctt-ri-rank { background: linear-gradient(135deg, #f59e0b, #fcd34d); color: #5b3a00; }
.ctt-roundup-items > .ctt-ri:nth-child(2) .ctt-ri-rank { background: linear-gradient(135deg, #94a3b8, #e2e8f0); color: #334155; }
.ctt-roundup-items > .ctt-ri:nth-child(3) .ctt-ri-rank { background: linear-gradient(135deg, #c2410c, #fdba74); color: #fff; }
.ctt-ri-media { display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 28% 20%, #fff, transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--ctt-purple) 13%, #fff), color-mix(in srgb, var(--ctt-orange) 13%, #fff)); }
.ctt-ri-media img { max-width: 84%; max-height: 84%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(20,10,60,.22)); }
.ctt-ri-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px 24px 22px; }
.ctt-ri-title { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.ctt-ri-price { font-size: 24px; font-weight: 800; color: #12142a; letter-spacing: -.01em; }
.ctt-ri-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.ctt-ri-buy { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 12px; background: var(--ctt-navy); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 8px 18px color-mix(in srgb, var(--ctt-navy) 30%, transparent); }
.ctt-ri-buy:hover { background: color-mix(in srgb, var(--ctt-navy) 80%, #fff); color: #fff; }
.ctt-ri-more { display: inline-flex; align-items: center; gap: 6px; padding: 11px 16px; border: 1.5px solid var(--ctt-border); border-radius: 12px; background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; color: var(--ctt-text); }
.ctt-ri-more:hover { border-color: var(--ctt-purple); color: var(--ctt-purple); }
.ctt-vf-caret { transition: transform .2s; display: inline-block; } .ctt-ri-more[aria-expanded="true"] .ctt-vf-caret { transform: rotate(180deg); }
.ctt-ri-full { margin-top: 6px; padding-top: 16px; border-top: 1px dashed #dcd6f0; }
.ctt-ri-full[hidden] { display: none; }
.ctt-pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.ctt-pros, .ctt-cons { list-style: none; margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.ctt-pros { background: #ecf8f0; } .ctt-cons { background: #fdeeee; }
.ctt-pros li, .ctt-cons li { position: relative; padding-left: 22px; margin-bottom: 6px; line-height: 1.45; }
.ctt-pros li::before { content: "¹3"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.ctt-cons li::before { content: "¹5"; position: absolute; left: 0; color: #dc2626; font-weight: 800; }
/* physical ranking = list rows */
.ctt-ri-physical { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.ctt-ri-physical .ctt-ri-media { border-radius: var(--ctt-radius, 18px) 0 0 var(--ctt-radius, 18px); min-height: 220px; padding: 18px; }
.ctt-ri-physical .ctt-ri-media img { max-height: 200px; }
.ctt-ri-physical:not(:has(.ctt-ri-media)) { grid-template-columns: minmax(0, 1fr); }
/* digital ranking = cards, 3 per row */
.ctt-ri-digital { display: flex; flex-direction: column; }
.ctt-ri-digital .ctt-ri-media { aspect-ratio: 4 / 3; border-radius: var(--ctt-radius, 18px) var(--ctt-radius, 18px) 0 0; }
.ctt-ri-digital .ctt-ri-body { flex: 1; padding: 16px 18px 18px; }
.ctt-ri-digital .ctt-ri-title { font-size: 18px; }
.ctt-ri-digital .ctt-ri-actions .ctt-ri-buy { flex: 1 1 auto; justify-content: center; }
.ctt-ri-digital .ctt-pros-cons { grid-template-columns: minmax(0, 1fr); }

/* ---------- Blog thumbnails: image always fills its box ---------- */
.ctt-bt-item { min-width: 0; }
.ctt-bt-thumb { position: relative; display: block; width: 100%; height: 0; padding-bottom: 56.25%; overflow: hidden; aspect-ratio: auto; }
.ctt-bt-thumb img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.ctt-bt-thumb .ctt-blog-ph { position: absolute; inset: 0; }
.ctt-blog-card-thumb { position: relative; overflow: hidden; flex: 0 0 210px; width: 210px; height: 158px; aspect-ratio: auto; }
.ctt-blog-card-thumb img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; aspect-ratio: auto; }
.ctt-blog-card-thumb .ctt-blog-ph { position: absolute; inset: 0; }

@media (max-width: 1000px) {
	.ctt-roundup-items-digital { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ctt-spp-hero { gap: 28px; }
}
@media (max-width: 900px) {
	.ctt-product-grid, body.ctt-digital-cols-4 .ctt-product-grid, body.ctt-digital-cols-3 .ctt-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.ctt-ss-results { border-radius: 14px; }
	.ctt-sp-form button { padding: 0 18px; }
	.ctt-best-card { flex-wrap: wrap; padding: 20px 16px 16px; }
	.ctt-best-go { width: 100%; text-align: center; }
	.ctt-sp-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ctt-product-grid, body.ctt-digital-cols-2 .ctt-product-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ctt-product-body { padding: 10px 12px 12px; }
	.ctt-product-title { font-size: 14.5px; }
	.ctt-price-current { font-size: 18px; }
	.ctt-pc-actions { flex-direction: column; } .ctt-pc-actions .ctt-code-chip { justify-content: center; }
	.ctt-product-excerpt { -webkit-line-clamp: 2; }
	.ctt-spp-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 0; }
	.ctt-spp-stage { border-radius: 24px; aspect-ratio: 1 / .92; }
	.ctt-spp-actions { flex-direction: column; } .ctt-spp-buy { flex-basis: auto; width: 100%; } .ctt-spp-actions .ctt-code-chip { padding: 14px 20px; justify-content: center; }
	.ctt-spp-details { padding: 20px 18px; }
	.ctt-spp-sticky { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 650; background: #fff; border: 1px solid #e3dcf7; border-radius: 16px; padding: 10px 12px 10px 16px; box-shadow: 0 12px 30px rgba(20,10,60,.25); }
	body.ctt-no-mnav .ctt-spp-sticky { bottom: 12px; }
	.ctt-spp-sticky-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; } .ctt-spp-sticky-info b { font-size: 17px; } .ctt-spp-sticky-info small { color: var(--ctt-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.ctt-spp-sticky .ctt-spp-buy { flex: 0 0 auto; width: auto; padding: 12px 22px; font-size: 15px; border-radius: 12px; }
	.ctt-roundup-items-digital { grid-template-columns: minmax(0, 1fr); }
	.ctt-ri-physical { grid-template-columns: minmax(0, 1fr); }
	.ctt-ri-physical .ctt-ri-media { border-radius: var(--ctt-radius, 18px) var(--ctt-radius, 18px) 0 0; min-height: 0; aspect-ratio: 16 / 10; }
	.ctt-ri-body { padding: 16px 16px 18px; }
	.ctt-ri-actions .ctt-ri-buy { flex: 1 1 100%; justify-content: center; } .ctt-ri-actions .ctt-code-chip, .ctt-ri-actions .ctt-ri-more { flex: 1 1 auto; justify-content: center; }
	.ctt-pros-cons { grid-template-columns: minmax(0, 1fr); }
	.ctt-blog-card-thumb { width: 100%; flex-basis: auto; height: 0; padding-bottom: 56%; }
}


/* ======================================================================
   v1.4.1 - tables inside editor text, product page layout
   ====================================================================== */
.ctt-table-wrap { overflow-x: auto; margin: .8em 0 1em; border: 1px solid #e3def2; border-radius: 12px; background: #fff; -webkit-overflow-scrolling: touch; }
.ctt-table-wrap table, .ctt-rich table, .ctt-sc-body table, .ctt-post-content table, .ctt-spp-details table { border-collapse: collapse; width: 100%; table-layout: auto; font-size: 14.5px; line-height: 1.55; }
.ctt-table-wrap table { margin: 0; }
.ctt-rich th, .ctt-rich td, .ctt-sc-body th, .ctt-sc-body td, .ctt-post-content th, .ctt-post-content td, .ctt-spp-details th, .ctt-spp-details td { overflow-wrap: break-word; word-break: normal; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid #eee9f8; text-align: left; }
.ctt-rich tr:last-child td, .ctt-rich tr:last-child th { border-bottom: none; }
.ctt-rich td:first-child, .ctt-rich th:first-child { font-weight: 700; color: #12142a; background: #faf8ff; min-width: 120px; width: 30%; }
.ctt-rich th { background: #f4f0ff; }
.ctt-rich table p { margin: 0; }
.ctt-rich table, .ctt-rich td, .ctt-rich th { max-width: none; }
.ctt-sc-body table, .ctt-post-content table, .ctt-spp-details table { display: block; overflow-x: auto; }

/* Product page: banner on top, picture stays in view while the details scroll */
.ctt-spp .ctt-ph { margin-top: 18px; }
.ctt-spp-hero { align-items: start; margin-top: 10px; }
.ctt-spp-stage { position: sticky; top: 96px; }
.ctt-spp-info { gap: 16px; }
@media (max-width: 782px) { .ctt-spp-stage { position: relative; top: auto; } }
