/*
Theme Name: BestList Deal Quest
Theme URI: https://bestlist.biz/
Author: BestList
Description: ธีม WordPress สำหรับเว็บรวมดีลและ Affiliate Marketplace ของ BestList
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bestlist-deal-quest
*/
:root{--orange:#ff6b1a;--orange2:#ff8a3d;--coral:#ff5d5d;--teal:#0f9d8a;--ink:#2e2723;--muted:#806f63;--cream:#fff8ec;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:"Noto Sans Thai",Tahoma,Arial,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.wrap{width:min(1380px,calc(100% - 48px));margin-inline:auto}.site-header{color:#fff;background:linear-gradient(105deg,#f85d0d 0%,#ff7b20 55%,#ff5d47 100%);box-shadow:0 5px 22px #c6421822}.utility{height:30px;display:flex;align-items:center;justify-content:space-between;font-size:12px;opacity:.92}.header-main{height:88px;display:flex;align-items:center;gap:34px}.brand{color:#fff;text-decoration:none;font-size:44px;font-weight:900;letter-spacing:-2px;white-space:nowrap}.brand span{display:inline-grid;place-items:center;margin-left:10px;width:34px;height:34px;color:#fff;background:var(--teal);border-radius:12px;font-size:22px;transform:rotate(-7deg)}.search-form{flex:1;height:54px;background:#fff;border-radius:27px;padding:5px 6px 5px 20px;display:flex;align-items:center;box-shadow:0 7px 18px #b9302029;border:2px solid transparent}.search-form:focus-within{border-color:#0d8f80;box-shadow:0 0 0 4px #0f9d8a38}.search-form>span{color:#8d827c;font-size:25px}.search-form input{min-width:0;flex:1;border:0;outline:0;color:var(--ink);padding:0 14px;font-size:17px;background:transparent}.search-form button{border:0;color:#fff;background:#ff5708;padding:11px 28px;border-radius:24px;font-weight:800}.header-actions{display:flex;gap:24px}.header-actions a{color:#fff;text-decoration:none;display:grid;gap:3px;justify-items:center}.header-actions b{font-size:29px;line-height:1}.header-actions small{font-weight:700;white-space:nowrap}.popular{height:34px;display:flex;justify-content:center;align-items:center;gap:16px;font-size:13px;background:#ffffff10}.page-body{padding-top:20px}.hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.hero-main{min-height:350px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr 1fr;border-radius:24px;background:radial-gradient(circle at 68% 48%,#ffc758 0 13%,transparent 38%),linear-gradient(120deg,#ff4f18,#ff9a25);color:#fff;box-shadow:0 10px 28px #cf5b212b}.hero-copy{padding:38px 10px 28px 46px;position:relative;z-index:2}.eyebrow{display:inline-block;font-size:12px;letter-spacing:2px;font-weight:900;background:#b83c1f48;border:1px solid #ffffff5e;padding:6px 12px;border-radius:20px}.hero-copy h1{margin:10px 0 3px;font-size:54px;line-height:1.07;letter-spacing:-1.5px;font-weight:900;text-shadow:0 3px 0 #d64b1b4d}.hero-copy p{margin:0 0 18px;font-size:19px;font-weight:700}.cta,.promo-card a{display:inline-block;border:0;border-radius:24px;color:#fff;text-decoration:none;background:var(--teal);padding:11px 23px;font-weight:900;box-shadow:0 5px 0 #087d70;transition:.2s}.cta:hover,.promo-card a:hover{transform:translateY(-2px);box-shadow:0 8px 0 #087d70;color:#fff}.timer{margin-top:22px;width:210px;color:#b53b13;background:#fff8e8;border-radius:18px;padding:10px 15px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;box-shadow:0 6px 16px #9e361931}.timer>span{grid-row:1/3;font-size:31px;align-self:center}.timer small{font-weight:700}.timer strong{color:#f1501c;font-size:23px;letter-spacing:1px}.hero-art{position:relative;z-index:1;overflow:hidden}.hero-art img{width:115%;height:100%;object-fit:cover;object-position:60% center;mix-blend-mode:multiply;filter:saturate(1.08) contrast(1.02)}.side-promos{display:grid;gap:16px}.promo-card{min-height:167px;border-radius:24px;padding:24px 20px 20px 27px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.promo-card h2{margin:2px 0;font-size:28px}.promo-card p{margin:4px 0 14px;font-size:14px}.promo-card a{font-size:12px;padding:8px 14px}.coupon{background:linear-gradient(135deg,#e9fff9,#d6f4ee);border:1px solid #9ed9ce;color:#087f72}.coupon>b{font-size:74px;color:#fff;background:var(--teal);width:115px;height:88px;display:grid;place-items:center;border-radius:24px;transform:rotate(-8deg);box-shadow:0 13px 0 #087d70}.reviews{background:linear-gradient(135deg,#fff4eb,#ffe2d9);border:1px solid #ffb4a7;color:#ef4734}.reviews>b{font-size:22px;letter-spacing:1px;color:#ffb000;background:#ff604d;padding:22px 10px;border-radius:22px;box-shadow:0 8px 0 #d73b2e}.disclosure{margin:14px 8px;color:#725f50;font-size:13px}.category-panel{background:#fff;border:1px solid #eee4d9;border-radius:20px;padding:14px 24px 10px;box-shadow:0 7px 20px #4f382410}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading h2{margin:0;font-size:24px}.section-heading p{margin:2px 0 0;color:var(--muted);font-size:13px}.section-heading a{color:#f05a22;text-decoration:none;font-weight:800}.categories{display:grid;grid-template-columns:repeat(10,1fr);gap:10px;margin-top:8px}.categories a{display:grid;gap:5px;place-items:center;color:var(--ink);text-decoration:none;border-radius:14px;padding:5px;transition:.2s}.categories a:hover{background:#fff2e5;transform:translateY(-3px)}.categories span{display:grid;place-items:center;width:70px;height:70px;font-size:39px;border-radius:50%;background:linear-gradient(145deg,#fff5e9,#ffe3cc);border:1px solid #ffd4b4}.categories small{font-size:13px;font-weight:700}.deals{padding:18px 0 30px}.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:12px}.product-card{min-width:0;position:relative;background:#fff;border:1px solid #eee3d7;border-radius:18px;overflow:hidden;box-shadow:0 6px 18px #4e34210f;transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 27px #4e342122}.heart{position:absolute;right:10px;top:10px;z-index:2;border:0;background:#ffffffdd;width:34px;height:34px;border-radius:50%;font-size:23px;color:#9b8d81}.heart.saved{color:var(--coral)}.product-visual{height:155px;display:grid;place-items:center;position:relative;background:linear-gradient(145deg,#f4fbff,#dfefff);overflow:hidden}.product-visual img{width:100%;height:100%;object-fit:cover}.product-visual .emoji{font-size:80px;filter:drop-shadow(0 11px 8px #5f708c30)}.product-visual em{position:absolute;left:9px;top:10px;font-size:9px;letter-spacing:1px;font-style:normal;font-weight:900;color:#fff;background:var(--teal);padding:5px 8px;border-radius:12px}.product-info{padding:13px}.product-info h3{margin:0;height:42px;overflow:hidden;font-size:14px;line-height:1.5}.rating{color:#ff850b;font-size:12px;margin-top:6px;white-space:nowrap}.rating span{color:#6f655d}.price{display:flex;align-items:center;gap:7px;margin:7px 0}.price strong{font-size:21px;color:#df3e25}.price del{color:#9b9088;font-size:12px}.price b{margin-left:auto;color:#fff;background:#ff5d4c;padding:3px 6px;border-radius:7px;font-size:11px}.sold{position:relative;height:18px;background:#cdece7;color:#086d64;border-radius:9px;overflow:hidden;text-align:center;font-size:10px;line-height:18px}.sold span{position:absolute;inset:0 auto 0 0;background:#59c2b4}.sold b{position:relative}.deal-link{margin-top:10px;display:flex;justify-content:space-between;text-decoration:none;color:#fff;background:var(--orange);padding:9px 11px;border-radius:11px;font-size:12px;font-weight:900}.trust-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#eadfd3;border-radius:18px;overflow:hidden;margin-bottom:32px}.trust-strip>div{background:#fff;padding:18px 22px;display:flex;align-items:center;gap:13px}.trust-strip b{display:grid;place-items:center;color:#fff;background:var(--teal);border-radius:50%;width:36px;height:36px}.trust-strip span{display:grid}.trust-strip small{color:var(--muted)}.site-footer{color:#fff;background:#2e2723;padding:35px 0}.site-footer strong{font-size:28px}.site-footer p{margin:6px 0 20px;color:#d9cec5}.site-footer small{color:#a99c92}.standard-content{min-height:60vh;padding:50px 0}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:1050px){.header-actions a:nth-child(n+2){display:none}.hero-grid{grid-template-columns:1fr}.side-promos{grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:repeat(3,1fr)}.categories{overflow:auto;grid-template-columns:repeat(10,100px);padding-bottom:6px}}
@media(max-width:700px){.wrap{width:min(100% - 24px,1380px)}.utility span:last-child,.popular{display:none}.header-main{height:auto;min-height:126px;flex-wrap:wrap;gap:8px;padding:12px 0}.brand{font-size:31px}.brand span{width:27px;height:27px;font-size:17px}.header-actions{margin-left:auto}.search-form{order:3;flex-basis:100%;height:48px}.search-form button{padding:9px 16px}.page-body{padding-top:12px}.hero-main{grid-template-columns:1fr;min-height:490px}.hero-copy{padding:28px 24px 5px}.hero-copy h1{font-size:43px}.hero-art{min-height:190px}.hero-art img{width:100%;height:230px;object-position:center 58%}.side-promos{grid-template-columns:1fr}.product-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.product-card{min-width:76vw;scroll-snap-align:start}.trust-strip{grid-template-columns:1fr}.category-panel{padding-inline:14px}.categories span{width:62px;height:62px}.section-heading h2{font-size:21px}.disclosure{font-size:12px;line-height:1.6}}
.deal-page{padding:42px 0 60px}.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:14px}.deal-layout{display:grid;grid-template-columns:minmax(300px,520px) 1fr;gap:38px;background:#fff;border:1px solid #eee3d7;border-radius:24px;padding:26px;box-shadow:0 10px 28px #4e342116}.deal-image{background:#fff7ed;border-radius:20px;overflow:hidden;min-height:420px;display:grid;place-items:center}.deal-image img{width:100%;height:100%;max-height:520px;object-fit:contain}.deal-image .emoji{font-size:120px}.deal-detail h1{font-size:32px;line-height:1.35;margin:10px 0}.deal-label{color:#0b8175;font-size:12px;font-weight:900;letter-spacing:1.5px}.deal-detail .rating{font-size:15px}.deal-price{display:flex;gap:14px;align-items:center;margin:22px 0}.deal-price strong{font-size:38px;color:#df3e25}.deal-price del{color:#998a7f}.deal-price b{background:var(--coral);color:#fff;padding:6px 10px;border-radius:8px}.deal-cta{display:block;text-align:center;background:var(--orange);color:#fff;text-decoration:none;font-weight:900;font-size:18px;padding:15px;border-radius:14px;margin:22px 0}.deal-note{font-size:13px;color:var(--muted);background:#fff8e8;padding:12px;border-radius:12px}.deal-content{line-height:1.8}@media(max-width:700px){.deal-layout{grid-template-columns:1fr;padding:14px;gap:22px}.deal-image{min-height:280px}.deal-detail h1{font-size:25px}}
.product-card[data-product-url]{cursor:pointer}.product-card:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.product-image-link{display:grid;text-decoration:none}.product-info h2{font-size:14px;line-height:1.5;height:42px;overflow:hidden;margin:0}.product-info h2 a{color:var(--ink);text-decoration:none}.deal-archive{padding:42px 0 60px}.archive-heading{margin-bottom:24px}.archive-heading h1{font-size:38px;margin:8px 0}.archive-heading p{color:var(--muted)}.archive-grid{grid-template-columns:repeat(4,1fr)}.deal-pagination{margin-top:30px;text-align:center}.deal-pagination .page-numbers{display:inline-block;padding:9px 13px;margin:3px;border-radius:9px;background:#fff;color:var(--ink);text-decoration:none}.deal-pagination .current{background:var(--orange);color:#fff}@media(max-width:1050px){.archive-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.archive-grid{display:grid;grid-template-columns:repeat(2,1fr);overflow:visible}.archive-grid .product-card{min-width:0}.archive-heading h1{font-size:30px}}
.categories small{font-size:12px;line-height:1.35;text-align:center;min-height:32px}
.utility a,.popular a{color:inherit;text-decoration:none}.utility a:hover,.popular a:hover{text-decoration:underline}.empty-favorites{grid-column:1/-1;background:#fff;padding:45px;border-radius:18px;text-align:center;color:var(--muted)}
.archive-grid .product-visual{height:220px}.archive-grid .product-visual img{object-fit:contain;background:#fff}.archive-grid .product-card{display:flex;flex-direction:column}.archive-grid .product-info{display:flex;flex:1;flex-direction:column}.archive-grid .deal-link{margin-top:auto}.archive-grid .rating{overflow:hidden;text-overflow:ellipsis}.deal-pagination .page-numbers:hover{background:#fff0e3;color:var(--orange)}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
