@charset "UTF-8";
/* Buydeestore 1.1 — lightweight shared styles for TH / EN. */
:root {
 --ink:#1d2535; --text:#354157; --muted:#667085; --paper:#f5f7fb; --white:#fff;
 --line:#e4e9f1; --mint:#e9f8f3; --accent:#0071e3; --accent-hover:#005dbb;
 --radius:22px; --shadow:0 10px 30px rgb(36 57 91 / 5%);
}
*{box-sizing:border-box}
body{
 margin:0;background:var(--paper);color:var(--text);
 font-family:"Sukhumvit Set","Thonburi",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto",sans-serif;
 font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
button,a,input,textarea,select{touch-action:manipulation}
button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #0071e3;outline-offset:4px}
h1,h2,h3,h4,p{margin:0 0 16px}
h1,h2,h3,h4{color:var(--ink);line-height:1.5;overflow-wrap:anywhere}
h1{font-size:clamp(30px,3.5vw,48px);font-weight:700;letter-spacing:-.025em}
h2{font-size:25px;font-weight:650;letter-spacing:-.015em}
h3{font-size:18px;font-weight:650}p{line-height:1.85;overflow-wrap:anywhere}
html[lang=th] h1,html[lang=th] h2,html[lang=th] h3{letter-spacing:0}
.shell,.container{width:min(1280px,calc(100% - 64px));margin:0 auto}
.container{padding-top:42px;padding-bottom:64px}
.topline{background:#e9f2ff;color:#325579;font-size:12px;padding:8px 0}
.topline .shell{display:flex;justify-content:space-between;gap:14px}
.topline a{color:#005bb6}
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{min-height:100px;display:flex;align-items:center;gap:30px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:27px;font-weight:750;letter-spacing:-1.2px;line-height:1.15;white-space:nowrap}
.brand-light{font-weight:400}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:0;line-height:1.7;margin-top:7px;color:var(--muted)}
.brand-mark{background:var(--accent);color:#fff;width:43px;height:47px;border-radius:15px 15px 15px 5px;display:grid;place-items:center;font-size:37px;line-height:1;padding-bottom:7px}
.brand-dot{color:var(--accent)}
.searchbox{display:flex;background:#f5f7fa;border:1px solid #e3e8ee;border-radius:14px;flex:1;max-width:570px;min-width:180px;overflow:hidden}
.searchbox input{flex:1;background:transparent;border:0;border-radius:0;margin:0;min-width:0;padding:12px 16px;font-size:14px;outline-offset:-4px}
.searchbox button[type=submit]{flex:none;border:0;border-radius:11px;background:var(--accent);color:#fff;white-space:nowrap;padding:10px 18px;margin:4px;font-size:13px}
.searchbox button span{font-size:21px;line-height:1;margin-left:4px}
.header-tools{margin-left:auto;display:flex;align-items:center;gap:20px;flex:none}
.account-nav{display:flex;gap:16px;align-items:center;font-size:13px;white-space:nowrap}
.account-nav [aria-current=page]{color:var(--accent)}
.join{color:var(--accent)}
.language-switch{display:flex;align-items:center;padding:3px;gap:2px;background:#edf1f6;border:1px solid #e4e9f1;border-radius:999px}
.language-switch form{margin:0}
.language-switch button[type=submit]{display:block;background:transparent;border:0;border-radius:999px;color:#556174;padding:5px 9px;font-size:11px;line-height:1.8;font-weight:650;min-width:34px;min-height:30px}
.language-switch button[aria-pressed=true]{background:#fff;color:#005ebd;box-shadow:0 1px 5px #263c6120}
.language-switch button:hover{background:#e0ebfb;color:#004e9c}
main{min-height:45vh}
.category-nav{display:flex;gap:12px;overflow:auto;white-space:nowrap;padding:18px 0;border-bottom:1px solid var(--line);scrollbar-width:thin;font-size:13px}
.category-nav a{padding:7px 15px;border-radius:999px;color:#586579}
.category-nav a:hover{background:#eaf1fc;color:var(--accent)}
.category-nav a.active{background:#e5efff;color:#0059b1;font-weight:650}
.catalog-intro{padding:50px 0 40px;display:flex;gap:40px;align-items:center;justify-content:space-between}
.catalog-intro>div{min-width:0}
.catalog-intro p{max-width:730px;color:var(--muted);font-size:15px;margin-bottom:0}
.eyebrow,.page-kicker{display:block;text-transform:uppercase;font-size:11px;letter-spacing:1.3px;font-weight:650;color:#0067ca;margin-bottom:12px;line-height:1.8}
html[lang=th] .eyebrow,html[lang=th] .page-kicker{letter-spacing:0;font-size:12px}
.catalog-intro h1{margin-bottom:12px}
.community-note{display:flex;gap:15px;align-items:center;background:#e8f7f1;border:1px solid #cfece1;border-radius:20px;padding:24px;min-width:250px;flex-shrink:0}
.community-note strong{display:block;font-size:16px;color:#1e5e50}
.community-note span:not(.note-icon){font-size:12px;color:#527368}
.note-icon{font-size:42px;line-height:1;color:#158563}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-heading h2{font-size:23px;margin:0}.section-heading .muted{font-size:13px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.product-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);transition:transform .18s,box-shadow .18s}
.product-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #34486c12}
.product-image{display:grid;place-items:center;aspect-ratio:1;background:#f3f6fb;border-bottom:1px solid #eff2f7;overflow:hidden;padding:22px}
.product-card:nth-child(4n+2) .product-image{background:#f0f7f4}
.product-card:nth-child(4n+3) .product-image{background:#fff5ee}
.product-card:nth-child(4n+4) .product-image{background:#f3f0fb}
.product-image img{object-fit:contain;width:100%;height:100%;mix-blend-mode:multiply}
.product-copy{padding:20px}.product-copy .eyebrow{letter-spacing:0;font-size:11px;margin-bottom:8px;color:#667085}
.product-copy h3{font-size:15px;font-weight:600;line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:53px;margin-bottom:20px}
.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}
.product-bottom strong{font-size:20px;letter-spacing:-.02em}
.product-bottom .price-unknown{font-size:13px;color:#5b6980}
.circle-link{display:grid;place-items:center;background:#e9f2ff;color:#0066cc;border:1px solid #d3e5ff;border-radius:50%;width:34px;height:34px;flex-shrink:0;font-size:20px}
.image-placeholder{display:grid;place-items:center;color:#99afc8;font-size:38px;font-weight:700;letter-spacing:-1.5px}
.image-placeholder span{font-size:12px;font-weight:400;letter-spacing:0;color:#65758c;margin-top:12px}
.image-failed{background:#eff3f9}
.pager{display:flex;justify-content:center;align-items:center;gap:20px;padding:35px 0;font-size:14px}
.button,button[type=submit],form button:not([type]){display:inline-flex;justify-content:center;align-items:center;gap:10px;border:1px solid var(--accent);border-radius:12px;background:var(--accent);color:#fff;padding:11px 21px;font-weight:600;font-size:14px;line-height:1.7;text-align:center;min-height:44px;transition:background .15s}
.button:hover,button[type=submit]:hover,form button:not([type]):hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}
.button.secondary,button.secondary{background:#fff;color:#0066cc;border-color:#cedcef}
.button.secondary:hover,button.secondary:hover{background:#edf4ff;border-color:#adc9ec}
.button.danger,button.danger{background:#b8283d;border-color:#b8283d;color:#fff}
.button.danger:hover,button.danger:hover{background:#992238}
button:disabled{opacity:.5;cursor:not-allowed}
.editorial-strip{background:#eaf2ff;border:1px solid #dce7f8;border-radius:24px;margin:12px 0 58px;padding:36px 40px;display:grid;grid-template-columns:170px 1fr 1fr;gap:25px;align-items:center}
.editorial-strip h2{font-size:27px;margin:0}.editorial-strip p{font-size:14px;margin:0;color:#576c87}.editorial-strip .eyebrow{margin:0}
.site-footer{background:#fff;border-top:1px solid var(--line);padding:48px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.3fr .9fr 1.2fr;gap:64px}
.footer-grid p{color:var(--muted);font-size:13px;margin-top:18px;max-width:360px}
.footer-grid strong{display:block;font-size:14px;margin-bottom:16px;color:var(--ink)}
.footer-grid>div>a:not(.brand){display:block;font-size:13px;margin-bottom:9px}
.footer-bottom{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;color:var(--muted);font-size:11px;display:flex;justify-content:space-between;gap:16px}
.logout-form button[type=submit]{background:none;border:0;padding:0;color:var(--muted);font-size:13px;font-weight:400;min-height:32px}
.logout-form button:hover{color:var(--accent)}
.muted,.small{color:var(--muted)}.small,small{font-size:12px;line-height:1.85}.small p{font-size:12px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);margin-bottom:24px;min-width:0}
.card>:last-child{margin-bottom:0}
.stack{display:flex;flex-direction:column;gap:18px}
.stack>h1,.stack>h2,.stack>p,.stack>.card,.stack>.admin-nav{margin-bottom:0}
.stack>h2{margin-top:18px}.stack>.section-heading{margin:18px 0 0}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid>.card{margin-bottom:0}
.page-header,.page-heading{padding:4px 0 12px}
.page-header h1,.page-heading h1{margin-bottom:10px}
.page-header p,.page-heading p{color:var(--muted);max-width:780px;margin-bottom:0;font-size:15px}
.account-overview{margin:4px 0 10px}
.card-accent-blue{background:#ebf3ff;border-color:#d9e7fa}
.card-accent-blue h2,.card-accent-blue .metric-value{color:#005fca}
.card-accent-violet{background:#f3f0ff;border-color:#e5ddfa}
.card-accent-violet h2{color:#60409c}
.card-accent-mint{background:#edf9f4;border-color:#d2ece0}
.metric-value{font-size:46px;line-height:1.3;font-weight:650;letter-spacing:-.04em;margin-bottom:14px;font-variant-numeric:tabular-nums}
.action-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.breadcrumbs{display:flex;gap:12px;font-size:13px;color:var(--muted);padding:26px 0;flex-wrap:wrap}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-bottom:48px}
.detail-image{background:#edf2f9;border-radius:26px;padding:34px;display:grid;place-items:center;aspect-ratio:1;min-width:0}
.detail-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.detail-copy{align-self:center;min-width:0}.detail-copy h1{font-size:30px;line-height:1.65;margin-bottom:24px}
.detail-price{font-size:30px;font-weight:650;margin:16px 0 8px;color:var(--ink)}
.purchase-button{width:100%;margin-top:24px;padding:16px 22px;justify-content:space-between;font-size:16px}
.disclosure{font-size:12px;color:var(--muted);margin-top:16px}
.detail-benefits{display:grid;gap:9px;font-size:13px;border-top:1px solid var(--line);padding-top:20px;margin-top:22px}
.detail-benefits span:before{content:'✓';color:#11815d;margin-right:10px}
.detail-sections{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;margin-bottom:40px}
.prose{max-width:75ch;font-size:15px;line-height:1.95}
.product-description{white-space:pre-line;overflow-wrap:anywhere;max-height:700px;overflow:auto}
.review-card{display:flex;gap:18px;border-top:1px solid var(--line);padding:24px 0}
.review-card>div{min-width:0}
.review-avatar{flex:none;width:40px;height:40px;background:#e7effd;display:grid;place-items:center;border-radius:50%;font-size:18px;color:#3976bd}
.rating{color:#9c6808;font-size:17px;letter-spacing:2px;margin:5px 0}
.review-card p{font-size:14px;margin-bottom:10px}.review-card h3{margin-bottom:8px}
.text-link{font-size:13px;font-weight:600;color:#0065c9;text-underline-offset:4px;text-decoration:underline}
.auth-panel{width:min(480px,calc(100% - 36px));margin:58px auto 70px;padding:38px}
.auth-panel h1{font-size:30px}.auth-links{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-top:24px;flex-wrap:wrap}.auth-links a{color:#0066cc}
label{display:block;font-size:14px;color:var(--ink);line-height:1.8}
input,select,textarea{display:block;width:100%;border:1px solid #d3dce8;border-radius:11px;background:#fff;color:var(--text);padding:11px 13px;margin:7px 0 0;max-width:100%;line-height:1.7}
input::placeholder,textarea::placeholder{color:#798496;opacity:1}
textarea{min-height:120px;resize:vertical}
input[type=checkbox],input[type=radio]{width:18px;height:18px;padding:0;margin:0;display:inline-block;vertical-align:middle;accent-color:var(--accent)}
label.check{display:flex;gap:10px;align-items:flex-start;font-size:13px}.check input{margin-top:4px;flex:none}.check a{text-decoration:underline}
select[multiple]{min-height:140px}
input[type=file]{padding:9px;background:#f8faff;font-size:13px}
input[type=file]::file-selector-button{font:inherit;border:0;border-radius:7px;background:#e4edfb;color:#275681;padding:7px 11px;margin-right:12px}
.notice{padding:15px 20px;background:#eaf7f0;border:1px solid #cce8d9;color:#246045;border-radius:14px;margin-top:22px;font-size:14px;overflow-wrap:anywhere}
.notice.error{background:#fff0f1;border-color:#f1cdd2;color:#98293d}
.notice ul{margin:0;padding-left:20px}
.empty-state{text-align:center;padding:60px 24px;background:#edf3fc;border:1px dashed #cbdcf1;border-radius:22px}
.empty-state p{max-width:520px;margin:0 auto 22px;color:#607189;font-size:14px}.empty-state h2{font-size:24px}.empty-state.compact{padding:26px 16px}
.empty-symbol{font-size:60px;color:#6294ce;line-height:1.2;display:block;margin-bottom:12px}
.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}
.admin-nav a{font-size:13px;border:1px solid #dce4ef;padding:8px 15px;border-radius:11px;background:#fff;color:#55647a}
.admin-nav a:hover{background:#ebf2fc;color:#0066cc}
.admin-nav a[aria-current=page],.admin-nav a.active{background:#e6efff;border-color:#c5daf7;color:#005ab7;font-weight:650}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}
.stat{background:#eaf3ff;border:1px solid #d9e6f9;border-radius:18px;padding:24px;min-width:0}
.stat:nth-child(4n+2){background:#eaf8f2;border-color:#d1ece0}
.stat:nth-child(4n+3){background:#fff3e9;border-color:#f6e2ce}
.stat:nth-child(4n+4){background:#f2eefe;border-color:#e3daf7}
.stat span{font-size:13px;color:#57657b;display:block}.stat strong{font-size:34px;font-weight:650;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.6}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:15px;background:#fff}
.table,table{width:100%;border-collapse:collapse;font-size:13px}
td,th{padding:14px 15px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{font-size:12px;color:#5c6a7f;font-weight:600;background:#f4f7fb;white-space:nowrap}
tr:last-child>td{border-bottom:0}td .button{padding:6px 11px;font-size:12px;min-height:34px}
.badge{display:inline-block;border-radius:7px;background:#eaf1fe;padding:4px 10px;font-size:11px;line-height:1.7;color:#315e97}
.badge-success,.badge-published,.badge-approved,.badge-paid{background:#e3f5eb;color:#266b48}
.badge-pending,.badge-queued,.badge-processing{background:#fff2d9;color:#865d13}
.badge-rejected,.badge-failed{background:#fde9ec;color:#9a3043}
.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.admin-product{display:grid;grid-template-columns:70px minmax(0,1fr);gap:17px;padding:22px 0;border-bottom:1px solid var(--line)}
.admin-product img{width:70px;height:70px;object-fit:contain}
.filter-form{display:flex;gap:14px;align-items:end;margin-bottom:25px;flex-wrap:wrap}
.filter-form label{flex:1;min-width:150px}.filter-form button{min-height:48px}
.field-row{display:flex;gap:14px}.field-row>*{flex:1;min-width:0}
details{border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:14px;background:#fff}
summary{cursor:pointer;font-weight:600;line-height:1.8}details[open] summary{margin-bottom:18px}
code{background:#edf1f7;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}
pre{padding:16px;background:#edf2fa;border-radius:11px;overflow:auto;font-size:12px}
.video-frame,iframe{max-width:100%}.video-frame iframe{width:100%;aspect-ratio:16/9;border:0}
.video-embed{width:100%;aspect-ratio:16/9;border:0}
.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;z-index:999;background:white;color:#005ab7;padding:10px;border-radius:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px){
 .shell,.container{width:calc(100% - 40px)}.header-inner{gap:20px}.brand{font-size:23px}.brand-mark{width:37px;height:43px;font-size:34px}
 .header-tools{gap:12px}.account-nav{gap:12px;font-size:12px}.community-note{display:none}
 .product-grid{gap:16px}.product-copy{padding:16px}.editorial-strip{grid-template-columns:1fr 1fr}.editorial-strip>.eyebrow{display:none}
 .product-detail{gap:32px}.detail-copy h1{font-size:26px}.detail-sections{grid-template-columns:1fr}.footer-grid{gap:32px}
}
@media(max-width:900px){
 .header-inner{flex-wrap:wrap;padding:20px 0;gap:18px;min-height:0}
 .searchbox{order:3;flex-basis:100%;max-width:none}
 .header-tools{gap:16px}.brand{font-size:26px}
}
@media(max-width:760px){
 body{font-size:15px}.shell,.container{width:calc(100% - 32px)}.container{padding-top:28px;padding-bottom:40px}
 h1{font-size:30px;line-height:1.6}h2{font-size:23px}
 .topline{font-size:11px}.topline a{display:none}
 .header-inner{padding:17px 0;gap:16px}.brand{font-size:24px}.brand small{font-size:10px}
 .account-nav .join{display:none}
 .category-nav{gap:8px;padding:12px 0;font-size:12px}.category-nav a{padding:6px 12px}
 .catalog-intro{padding:30px 0 27px}.catalog-intro h1{font-size:30px}.catalog-intro p{font-size:14px}
 .eyebrow{font-size:10px;letter-spacing:1px}.section-heading h2{font-size:20px}.section-heading .muted{font-size:11px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{border-radius:17px}
 .product-image{padding:12px}.product-copy{padding:14px}.product-copy h3{font-size:13px;min-height:46px;margin-bottom:14px}
 .product-copy .eyebrow{font-size:10px}.product-bottom strong{font-size:18px}.product-bottom .price-unknown{font-size:11px}
 .circle-link{width:28px;height:28px;font-size:17px}
 .editorial-strip{display:block;padding:27px;margin-bottom:32px}.editorial-strip h2{font-size:25px;margin-bottom:14px}.editorial-strip p{font-size:13px}
 .footer-grid{grid-template-columns:1fr 1fr;gap:24px}.footer-grid>div:first-child{grid-column:span 2}.footer-grid p{font-size:12px}
 .footer-bottom span{display:none}
 .product-detail{grid-template-columns:1fr;gap:24px}.detail-image{padding:24px;border-radius:20px}.detail-copy h1{font-size:24px}.detail-sections{gap:0}
 .card{padding:24px 20px}.card .section-heading{align-items:flex-start;flex-direction:column;gap:14px}
 .review-card{gap:12px}.breadcrumbs{font-size:12px;padding:20px 0}
 .grid,.grid-3,.admin-form-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .stat{padding:18px}.stat strong{font-size:28px}.metric-value{font-size:40px}
 .auth-panel{padding:28px 24px;margin:32px auto 45px}.auth-panel h1{font-size:27px}.field-row{flex-direction:column}
 .pager{gap:12px;font-size:12px}.pager .button{font-size:12px;padding:8px 14px}.section-heading{gap:10px}
 .empty-state{padding:40px 20px}.page-header p{font-size:14px}.admin-nav a{padding:7px 12px;font-size:12px}
}
@media(max-width:480px){
 .brand{font-size:22px}.brand-mark{width:33px;height:39px;font-size:30px}.brand small{font-size:9px}
 .header-tools{gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:145px}
 .account-nav{font-size:11px;gap:10px}.language-switch button[type=submit]{padding:3px 8px;min-height:28px}
 .header-inner{column-gap:10px}.searchbox button[type=submit]{padding:9px 13px}
 .action-row .button{padding:10px 16px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
