/* Shared clean page styling for the approved DealsFactory layout */
:root{--df-layout-max:1400px}
body{background:#f7f8fb}
.wrap{width:min(var(--df-layout-max),calc(100% - 56px));margin-left:auto;margin-right:auto}
.catalog-main{width:min(var(--df-layout-max),calc(100% - 56px));padding:31px 0 68px}
.catalog-heading{margin-bottom:22px}
.catalog-heading .eyebrow{display:inline-block;color:#ed650d;font-size:10px;font-weight:900;letter-spacing:1.45px}
.catalog-heading h1{margin:7px 0 6px;color:#15243b;font:800 clamp(28px,3.4vw,39px)/1.12 Manrope,'DM Sans',sans-serif;letter-spacing:-1.1px}
.catalog-heading p{margin:0;color:#748197;font-size:13px;line-height:1.6}
.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}
.category-card{min-height:148px;padding:18px 17px;border:1px solid #e4eaf2;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(18,37,62,.045);text-decoration:none}
.category-card:hover{transform:translateY(-3px);border-color:#ffbd94;box-shadow:0 10px 24px rgba(18,37,62,.08)}
.category-icon{width:42px;height:42px;margin:0 0 13px;border-radius:12px;background:#fff1e8;color:#ec690f;font-size:22px}
.category-card h2{margin:0 0 5px;font:800 14px Manrope,'DM Sans',sans-serif;color:#15243b}
.category-card p{color:#77849a;font-size:11px;line-height:1.45}
.category-count{margin-top:11px;color:#eb650b;font-size:11px}
.catalog-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.catalog-products .deal-card{border:1px solid #e5eaf1;border-radius:14px;box-shadow:0 5px 15px rgba(18,37,62,.055);transition:transform .16s ease,box-shadow .16s ease}
.catalog-products .deal-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(18,37,62,.09)}
.catalog-products .deal-image-wrap{height:188px;background:#fff}
.catalog-products .deal-info{padding:14px 15px 15px}
.catalog-products .deal-info h3{font-size:13px;line-height:1.45;min-height:38px}
.catalog-products .price-row strong{font-size:18px;color:#e62b22}
.catalog-empty{border:1px solid #e5eaf1;border-radius:15px;background:#fff;padding:48px 22px}
.df-catalog-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 22px;padding:0 0 14px;border-bottom:1px solid #e4eaf2}
.df-catalog-tabs a{display:inline-flex;min-height:34px;align-items:center;justify-content:center;padding:0 15px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#45556e;text-decoration:none;font-size:11px;font-weight:800;transition:all .15s ease}
.df-catalog-tabs a:hover{border-color:#ffb184;color:#e85d08;background:#fffaf7}
.df-catalog-tabs a.is-active{border-color:#ff8a43;background:#fff1e8;color:#e95f0c}

/* Quiz answers page */
.quiz-wrap{width:min(1280px,calc(100% - 56px));margin:33px auto 68px}
.quiz-intro{padding:26px 30px;border:1px solid #f5d7c7;border-radius:16px;background:linear-gradient(110deg,#fff2e8,#fff9f5 72%,#fdf0e8);color:#14243a;box-shadow:0 4px 13px rgba(18,37,62,.035)}
.quiz-intro .eyebrow{color:#e96711;font-size:10px;font-weight:900;letter-spacing:1.4px}
.quiz-intro h1{margin:7px 0;color:#14243a;font:800 clamp(27px,3vw,36px)/1.15 Manrope,'DM Sans',sans-serif;letter-spacing:-.9px}
.quiz-intro p{max-width:840px;color:#65748a;font-size:12px;line-height:1.6}
.df-quiz-tabs{margin-top:22px}
.quiz-grid{grid-template-columns:1fr;gap:10px}
.quiz-card{display:grid;grid-template-columns:125px minmax(0,1fr) minmax(145px,auto) 135px;align-items:center;gap:16px;min-height:82px;padding:15px 17px;border:1px solid #e4eaf1;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(18,37,62,.04)}
.quiz-card h2{margin:0;color:#172640;font:800 14px/1.35 Manrope,'DM Sans',sans-serif}
.quiz-meta{color:#77849a;font-size:10px;line-height:1.45}
.quiz-card a{display:inline-flex;min-height:34px;align-items:center;justify-content:center;margin:0;padding:0 13px;border-radius:7px;background:#ff6b00;color:#fff;text-decoration:none;font-size:10px;font-weight:900}
.quiz-card a:hover{background:#e75a00}
.quiz-brand{display:inline-flex;align-items:center;justify-content:center;min-width:75px;padding:7px 9px;border-radius:7px;background:#fff1e8;color:#d9550b;font-size:10px;text-align:center}
.quiz-empty{padding:40px;border:1px solid #e4eaf1;border-radius:14px;background:#fff;color:#718096}

/* Top 10 and buying guides */
.pl-wrap{width:min(1340px,calc(100% - 56px));margin:31px auto 70px}
.pl-hero{padding:30px 34px;border:1px solid #f1d9ca;border-radius:16px;background:linear-gradient(110deg,#fff1e7,#fffaf6 75%);color:#14243b;box-shadow:0 4px 14px rgba(18,37,62,.04)}
.pl-kicker{color:#e96611;font-size:10px;letter-spacing:1.5px}
.pl-hero h1{color:#14243b;font:800 clamp(28px,3.5vw,39px)/1.15 Manrope,'DM Sans',sans-serif;letter-spacing:-1px}
.pl-hero p{color:#66758a;font-size:13px;line-height:1.65}
.pl-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pl-card{border-radius:14px;box-shadow:0 4px 14px rgba(18,37,62,.05)}
.pl-cover{height:195px}
.pl-body h3{font:800 17px/1.35 Manrope,'DM Sans',sans-serif;color:#17243a}

/* Homepage spacing and visual cleanup. The existing live deal/data sections remain intact. */
.dfv2-hero{height:270px;background:linear-gradient(110deg,#fff2e8,#ffebe0 65%,#fff3eb);color:#15243b;border-radius:17px;width:min(1400px,calc(100% - 56px));margin:22px auto 0}
.dfv2-hero:before{background:linear-gradient(90deg,rgba(255,244,236,.98) 0%,rgba(255,239,228,.94) 43%,rgba(255,239,228,.25) 63%,transparent 78%)}
.dfv2-hero-copy{width:51%;padding:10px 0 6px}
.dfv2-kicker{color:#e96813}
.dfv2-kicker i{color:#6f7b8d}
.dfv2-hero h1{color:#14243b;font-size:clamp(37px,4vw,53px);letter-spacing:-1.6px}
.dfv2-hero h1 em{color:#f16b00}
.dfv2-hero-copy>p{color:#43536b;font-size:15px;font-weight:700;line-height:1.45}
.dfv2-benefits{color:#4e5e73}
.dfv2-benefits>i{background:#cdd5df}
.dfv2-hero-art{right:0;width:56%;background-position:center;background-size:cover;border-radius:0 17px 17px 0}
.dfv2-category-row{padding:16px 0 15px;background:transparent;border-bottom:0}
.dfv2-category-inner{width:min(1400px,calc(100% - 56px));grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.dfv2-category-chip{height:82px;flex-direction:column;gap:5px;padding:8px 6px;border-radius:14px;box-shadow:0 4px 13px rgba(18,37,62,.055)}
.dfv2-category-icon{width:34px;height:34px;flex-basis:34px;font-size:23px}
.dfv2-category-chip b{font-size:11px}
.dfv2-section,.dfv2-trust-band{width:min(1400px,calc(100% - 56px))}
.dfv2-section-heading h2{font-size:25px}
.dfv2-trending-card,.dfv2-latest-card{border-radius:14px;box-shadow:0 4px 15px rgba(18,37,62,.06)}
.dfv2-promo-card{border-radius:14px}
.dfv2-trust-band{border-radius:13px}

@media(max-width:1000px){
 .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .dfv2-hero{width:calc(100% - 34px)}
 .dfv2-category-inner,.dfv2-section,.dfv2-trust-band{width:calc(100% - 34px)}
 .dfv2-category-inner{grid-template-columns:repeat(4,minmax(0,1fr))}
 .quiz-card{grid-template-columns:100px minmax(0,1fr) minmax(125px,auto) 115px;gap:12px}
}
@media(max-width:760px){
 .wrap,.catalog-main,.quiz-wrap,.pl-wrap{width:calc(100% - 30px)}
 .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
 .catalog-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .quiz-card{grid-template-columns:88px minmax(0,1fr);gap:8px 12px}
 .quiz-card h2{align-self:end}
 .quiz-meta{grid-column:2}
 .quiz-card a{grid-column:2;justify-self:start;min-height:30px;margin-top:2px}
 .pl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dfv2-hero{width:calc(100% - 28px);height:250px;margin-top:14px}
 .dfv2-hero-copy{width:65%}
 .dfv2-hero h1{font-size:36px}
 .dfv2-category-inner{width:calc(100% - 24px);grid-template-columns:repeat(4,minmax(0,1fr))}
 .dfv2-category-chip{height:72px}
 .dfv2-section,.dfv2-trust-band{width:calc(100% - 28px)}
}
@media(max-width:520px){
 .catalog-main{padding:23px 0 48px}
 .catalog-heading h1{font-size:27px}
 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalog-products{grid-template-columns:1fr}
 .catalog-products .deal-card{display:grid;grid-template-columns:40% minmax(0,1fr)}
 .catalog-products .deal-image-wrap{height:100%;min-height:155px}
 .quiz-wrap{margin-top:22px}
 .quiz-intro{padding:21px 18px}
 .quiz-card{padding:13px;grid-template-columns:70px minmax(0,1fr)}
 .quiz-brand{min-width:65px;font-size:9px}
 .quiz-card h2{font-size:12px}
 .quiz-meta{font-size:9px}
 .pl-wrap{margin-top:22px}
 .pl-hero{padding:23px 19px}
 .pl-grid{grid-template-columns:1fr}
 .dfv2-hero{height:260px}
 .dfv2-hero-copy{width:100%}
 .dfv2-hero h1{font-size:33px;max-width:72%}
 .dfv2-hero-copy>p{max-width:80%;font-size:12px}
 .dfv2-hero-art{right:-44%;width:100%;opacity:.55}
 .dfv2-category-inner{display:flex;overflow-x:auto;grid-template-columns:none;gap:8px;padding-bottom:4px}
 .dfv2-category-chip{flex:0 0 95px;height:67px}
}
.dfv2-hero-inner{width:min(1320px,calc(100% - 80px))}
.dfv2-hero-cta{display:inline-flex;min-height:43px;align-items:center;gap:12px;margin-top:4px;padding:0 20px;border-radius:9px;background:#ff6b00;color:#fff;text-decoration:none;font-size:13px;font-weight:900;box-shadow:0 5px 12px rgba(255,107,0,.16);transition:background .16s ease,transform .16s ease}
.dfv2-hero-cta:hover{background:#e85b00;transform:translateY(-1px)}
.dfv2-hero-cta span{font-size:18px;line-height:1}
@media(max-width:760px){.dfv2-hero-inner{width:calc(100% - 38px)}}
@media(max-width:520px){.dfv2-hero-inner{width:calc(100% - 28px)}}
