/*
Theme Name: Coupon It Now
Theme URI: https://couponitnow.com.br/
Author: Coupon It Now
Description: Fast, accessible coupon and deals theme built for a United States audience.
Version: 1.2.8
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: couponitnow
*/

:root{--ink:#122033;--muted:#64748b;--brand:#6d28d9;--brand2:#8b5cf6;--accent:#f97316;--bg:#f6f7fb;--card:#fff;--line:#e2e8f0;--ok:#15803d;--radius:18px;--shadow:0 12px 36px rgba(15,23,42,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.wrap{width:min(1160px,calc(100% - 32px));margin:auto}.site-header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-row{display:flex;align-items:center;gap:28px;min-height:74px}.brand{font-weight:900;font-size:1.35rem;color:var(--ink);letter-spacing:-.04em}.brand span{color:var(--brand)}.nav{display:flex;gap:20px;margin-left:auto}.nav a{color:var(--ink);font-weight:700}.search-form{display:flex;flex:1;max-width:480px}.search-form input{width:100%;border:1px solid var(--line);border-radius:999px 0 0 999px;padding:12px 17px;font:inherit}.search-form button,.btn{border:0;border-radius:0 999px 999px 0;background:var(--brand);color:#fff;padding:12px 20px;font-weight:800;cursor:pointer}.hero{padding:72px 0 50px;background:linear-gradient(135deg,#ede9fe,#fff7ed)}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:46px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--brand);font-size:.78rem;font-weight:900}.hero h1{font-size:clamp(2.4rem,5vw,4.7rem);line-height:1.02;letter-spacing:-.055em;margin:.3em 0}.hero p{font-size:1.15rem;color:var(--muted);max-width:650px}.hero-card{background:#fff;padding:28px;border-radius:28px;box-shadow:var(--shadow)}.stat{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.stat:last-child{border:0}.section{padding:58px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.section h2{font-size:2rem;letter-spacing:-.04em;margin:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.coupon{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px}.coupon-top{display:flex;align-items:center;gap:12px}.store-logo{width:52px;height:52px;border-radius:14px;object-fit:contain;background:#fff;border:1px solid var(--line)}.store-name{font-weight:900}.badge{display:inline-block;background:#dcfce7;color:var(--ok);border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:900}.coupon h3{font-size:1.15rem;line-height:1.35;margin:0}.coupon p{color:var(--muted);margin:0}.coupon-actions{display:flex;gap:10px;margin-top:auto}.coupon-actions .btn{display:block;text-align:center;border-radius:12px;flex:1}.code{border:2px dashed var(--brand2);border-radius:12px;padding:10px;background:#f5f3ff;font-weight:900;text-align:center}.stores{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.store-tile{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 12px;text-align:center;font-weight:800}.content-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,4vw,44px);box-shadow:var(--shadow)}.site-footer{background:#111827;color:#cbd5e1;padding:48px 0 25px;margin-top:50px}.site-footer a{color:#fff}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.fine-print{border-top:1px solid #334155;margin-top:30px;padding-top:20px;font-size:.85rem}.pagination{margin:32px 0}.pagination .page-numbers{display:inline-block;background:#fff;border:1px solid var(--line);padding:8px 13px;border-radius:9px}.empty{background:#fff;padding:40px;border-radius:var(--radius);text-align:center}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}
@media(max-width:900px){.hero-grid,.footer-grid{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}.stores{grid-template-columns:repeat(3,1fr)}.nav{display:none}.header-row{flex-wrap:wrap;padding:12px 0}.search-form{order:3;flex-basis:100%;max-width:none}}
@media(max-width:580px){.grid{grid-template-columns:1fr}.stores{grid-template-columns:repeat(2,1fr)}.hero{padding-top:45px}.section{padding:38px 0}}

/* Coupon portal components */
.trust-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;color:#475569;font-size:.9rem;font-weight:700}.deal-spotlight{display:flex;gap:16px;align-items:center;padding:12px 0 22px}.deal-spotlight strong{display:block;font-size:1.25rem;line-height:1.3}.deal-spotlight small{color:var(--brand);font-weight:900;letter-spacing:.12em}.spotlight-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:24px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-size:2rem;font-weight:900}.quick-categories{background:#fff;border-bottom:1px solid var(--line)}.category-strip{display:flex;gap:12px;overflow:auto;padding-top:16px;padding-bottom:16px;scrollbar-width:thin}.category-strip a{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--ink);background:var(--bg);padding:9px 14px;border-radius:999px;font-weight:800;font-size:.88rem}.category-strip a:hover{background:#ede9fe;text-decoration:none}.section-tint{background:#eef2ff}.section-dark{background:#111827;color:#fff}.store-tile{display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--ink)}.store-tile:hover{transform:translateY(-3px);text-decoration:none;box-shadow:var(--shadow)}.store-tile small{font-weight:500;color:var(--muted)}.store-monogram{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#ede9fe;color:var(--brand);font-size:1.4rem;font-weight:900}.category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.category-grid.large{grid-template-columns:repeat(3,1fr)}.category-card{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;color:var(--ink);box-shadow:0 5px 18px rgba(15,23,42,.05)}.category-card:hover{text-decoration:none;border-color:#c4b5fd;transform:translateY(-2px)}.category-card div{display:flex;flex-direction:column;flex:1}.category-card small{color:var(--muted)}.category-card b{font-size:1.5rem;color:var(--brand)}.category-emoji{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#f5f3ff;font-size:1.45rem}.newsletter{display:flex;align-items:center;justify-content:space-between;gap:36px}.newsletter h2{margin:.2em 0}.newsletter p{color:#cbd5e1}.newsletter-form{display:flex;min-width:min(100%,430px)}.newsletter-form input{width:100%;padding:14px;border:0;border-radius:12px 0 0 12px}.newsletter-form button{border:0;background:var(--accent);color:#fff;font-weight:900;padding:14px 22px;border-radius:0 12px 12px 0}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.guide-card img{width:100%;height:190px;object-fit:cover}.guide-card>div{padding:20px}.guide-card h2,.guide-card h3{line-height:1.25;margin:.35em 0}.guide-card small,.article-meta{color:var(--muted)}.breadcrumbs{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:.88rem;margin-bottom:24px}.archive-hero,.store-hero{display:flex;align-items:center;gap:24px;background:linear-gradient(135deg,#fff,#f5f3ff);border:1px solid var(--line);padding:32px;border-radius:24px;margin-bottom:38px}.archive-hero h1,.store-hero h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.1;margin:.2em 0}.archive-description{color:var(--muted);max-width:760px}.store-hero .store-logo,.store-hero .store-monogram{width:84px;height:84px;border-radius:22px}.store-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted)}.stars{color:#f59e0b;letter-spacing:.08em}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:30px}.grid-two{grid-template-columns:repeat(2,1fr)}.sidebar{display:flex;flex-direction:column;gap:16px}.sidebar-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.sidebar-card h3{margin-top:0}.editorial{margin-top:44px}.faq{max-width:850px;margin:50px auto}.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:10px;padding:16px 20px}.faq summary{font-weight:900;cursor:pointer}.alphabet{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:35px}.alphabet a{display:grid;place-items:center;width:35px;height:35px;background:#fff;border:1px solid var(--line);border-radius:8px;font-weight:800}.store-group{scroll-margin-top:100px}.store-group h2{font-size:1.8rem;border-bottom:2px solid var(--line)}.store-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:36px}.store-list a{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);padding:14px;border-radius:14px;color:var(--ink)}.store-list a span{display:flex;flex-direction:column}.store-list small{color:var(--muted)}.store-list .store-logo,.store-list .store-monogram{width:44px;height:44px}.article-wrap{max-width:850px}.article h1{font-size:clamp(2.2rem,5vw,4rem);line-height:1.08}.article-image{border-radius:18px;margin:20px 0}.article p{font-size:1.08rem}
@media(max-width:900px){.category-grid.large{grid-template-columns:repeat(2,1fr)}.guide-grid{grid-template-columns:repeat(2,1fr)}.content-layout{grid-template-columns:1fr}.store-list{grid-template-columns:repeat(2,1fr)}.newsletter{align-items:flex-start;flex-direction:column}}
@media(max-width:580px){.category-grid,.category-grid.large,.guide-grid,.grid-two,.store-list{grid-template-columns:1fr}.archive-hero,.store-hero{align-items:flex-start;flex-direction:column;padding:23px}.newsletter-form{min-width:100%}.trust-row{gap:9px}.section-head{align-items:flex-start;gap:10px;flex-direction:column}}

/* Homepage portal layout */
.home-search{padding:28px 0;background:linear-gradient(135deg,#5b21b6,#7c3aed);color:#fff;text-align:center}.home-search h1{margin:0;font-size:clamp(1.8rem,4vw,2.7rem)}.home-search p{margin:4px 0 16px;color:#ede9fe}.home-search .search-form{margin:auto;max-width:680px}.home-search .search-form button{background:var(--accent)}.home-banner-section{padding:28px 0 10px}.home-carousel{position:relative}.home-carousel-slide{border-radius:20px;overflow:hidden;background:#fff}.home-carousel-slide img{display:block;width:100%;height:min(330px,34vw);min-height:190px;object-fit:cover}.home-carousel-dots{display:flex;justify-content:center;gap:8px;padding:12px}.home-carousel-dots button{border:0;width:9px;height:9px;border-radius:99px;background:#cbd5e1;padding:0;cursor:pointer}.home-carousel-dots button.is-active{width:28px;background:var(--brand)}.default-banner{min-height:290px;border-radius:22px;padding:40px clamp(24px,6vw,75px);display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(115deg,#1e1b4b,#6d28d9 65%,#f97316)}.default-banner span{font-weight:900;letter-spacing:.14em}.default-banner h2{max-width:650px;font-size:clamp(2rem,5vw,4rem);line-height:1.02;margin:.2em 0}.default-banner p{font-size:1.1rem}.default-banner-ticket{transform:rotate(5deg);background:#fff;color:var(--brand);border-radius:20px;padding:25px 35px;text-align:center;font-size:1.2rem;box-shadow:var(--shadow)}.default-banner-ticket strong{font-size:2rem}.home-section-title{text-align:center;margin-bottom:26px}.home-section-title h2{font-size:2rem;margin:0;letter-spacing:-.035em}.home-section-title p{margin:5px 0;color:var(--muted)}.popular-stores-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.popular-store-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:20px 10px;box-shadow:0 6px 18px rgba(15,23,42,.05)}.popular-store-card:hover{text-decoration:none;transform:translateY(-3px);border-color:#c4b5fd}.popular-store-logo{height:65px;display:grid;place-items:center}.popular-store-logo .store-logo,.popular-store-logo .store-monogram{width:64px;height:64px}.popular-store-card small{color:var(--muted)}.home-categories-section{background:#fff}.home-categories-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.home-category-card{display:flex;align-items:center;gap:12px;background:var(--bg);color:var(--ink);padding:16px;border:1px solid var(--line);border-radius:14px}.home-category-card:hover{text-decoration:none;background:#f5f3ff;border-color:#c4b5fd}.home-category-icon{font-size:1.45rem}.home-category-name{flex:1;font-weight:800}.home-category-arrow{color:var(--brand);font-size:1.5rem}.center-link{text-align:center;margin-top:28px}.rounded{display:inline-block;border-radius:12px}.coupons-list{display:flex;flex-direction:column;gap:14px;max-width:980px;margin:auto}.coupon-card-new{display:grid;grid-template-columns:90px 1fr 210px;align-items:center;gap:20px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;box-shadow:0 7px 20px rgba(15,23,42,.05)}.coupon-store-visual{display:grid;place-items:center}.coupon-store-visual .store-logo,.coupon-store-visual .store-monogram{width:70px;height:70px}.coupon-main h3{margin:3px 0;font-size:1.08rem}.coupon-main p{margin:2px 0;color:var(--muted)}.coupon-main small{color:var(--muted)}.coupon-label{color:var(--ok);font-weight:900;font-size:.72rem;letter-spacing:.08em}.coupon-buttons{display:flex;flex-direction:column;gap:8px}.coupon-code-preview{border:2px dashed var(--brand2);padding:7px;border-radius:8px;text-align:center;font-weight:900;background:#f5f3ff}.coupon_btn{display:block;text-align:center;color:#fff;background:var(--brand);padding:12px;border-radius:10px;font-weight:900}.coupon_btn:hover{color:#fff;text-decoration:none;background:#5b21b6}
@media(max-width:900px){.popular-stores-grid{grid-template-columns:repeat(3,1fr)}.home-categories-grid{grid-template-columns:repeat(2,1fr)}.coupon-card-new{grid-template-columns:70px 1fr}.coupon-buttons{grid-column:1/-1;flex-direction:row}.coupon-buttons>*{flex:1}.default-banner-ticket{display:none}}
@media(max-width:580px){.popular-stores-grid{grid-template-columns:repeat(2,1fr)}.home-categories-grid{grid-template-columns:1fr}.coupon-card-new{grid-template-columns:52px 1fr;padding:14px;gap:12px}.coupon-store-visual .store-logo,.coupon-store-visual .store-monogram{width:50px;height:50px}.coupon-buttons{flex-direction:column}.default-banner{min-height:240px}.home-carousel-slide img{height:190px}}
.default-home-banner{display:block;border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.default-home-banner img{display:block;width:100%;height:auto}
.brand-logo{display:flex;align-items:center;flex:0 0 auto}.brand-logo img,.brand-logo .custom-logo{display:block;width:auto;height:52px;max-width:245px;object-fit:contain}@media(max-width:580px){.brand-logo img,.brand-logo .custom-logo{height:44px;max-width:210px}}
.home-intro{padding:42px 0 20px;background:#fff;text-align:center;color:#111827}.home-intro h1{margin:0;color:#111827;font-size:clamp(2rem,4vw,3.25rem);line-height:1.15;letter-spacing:-.04em}.home-intro p{margin:10px 0 0;color:#111827;font-size:1.08rem}
.mobile-nav{display:none;margin-left:auto;position:relative}.mobile-nav summary{display:grid;width:46px;height:42px;align-content:center;border:1px solid var(--line);border-radius:11px;background:#fff;padding:8px;cursor:pointer;list-style:none}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav summary span{display:block;height:3px;margin:3px 0;border-radius:3px;background:var(--ink)}.mobile-nav nav{position:absolute;z-index:30;top:50px;right:0;width:min(280px,calc(100vw - 32px));padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.mobile-nav nav a{display:block;padding:11px 12px;color:var(--ink);font-weight:800;border-bottom:1px solid #f1f5f9}.mobile-nav nav a:last-child{border-bottom:0}
@media(max-width:900px){.mobile-nav{display:block}.nav{display:none}}
