/*
Theme Name: Topkai YW
Theme URI: https://yw.gdtopkai.com
Author: Topkai Furniture
Description: Custom theme for Topkai Solid Wood Chairs - landing page style.
Version: 1.0.0
Text Domain: topkai-yw
*/

*{margin:0;padding:0;box-sizing:border-box}
:root{--ink:#2b211b;--gold:#c9a227;--gold-l:#e0c25a;--orange:#e8892b;--cream:#f7f4ee;--cream2:#efe9df;--navy:#171c28;--gray:#7a6f66;--line:rgba(0,0,0,.08);--sh:0 8px 28px rgba(43,33,27,.10)}
body{font-family:-apple-system,"Segoe UI","Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--cream);line-height:1.7;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
h1,h2,h3,h4,h5{font-weight:800;line-height:1.35}
.wrap{width:min(1200px,92%);margin:0 auto}
/* nav */
.nav{position:sticky;top:0;z-index:100;background:rgba(43,33,27,.97);backdrop-filter:blur(10px)}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:66px;gap:16px}
.logo{display:flex;align-items:center;gap:9px;color:#fff;font-weight:900;letter-spacing:.5px;font-size:19px}
.logo b{color:var(--gold-l)}
.logo small{display:block;font-size:9px;letter-spacing:2.5px;color:rgba(255,255,255,.5);font-weight:600}
.menu{display:flex;align-items:center;gap:24px;flex:1;justify-content:center}
.menu a{color:rgba(255,255,255,.82);font-size:14px;padding:4px 0;position:relative;white-space:nowrap}
.menu a:hover{color:#fff}
.menu a.on{color:var(--gold-l)}
.menu a.on:after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--gold-l);border-radius:2px}
.nav-tel{color:var(--gold-l);font-weight:700;font-size:14px;white-space:nowrap}
.burger{display:none;width:38px;height:38px;flex-direction:column;justify-content:center;gap:5px;cursor:pointer}
.burger i{height:2px;background:#fff;border-radius:2px}
/* hero */
.hero{position:relative;min-height:600px;display:flex;align-items:center;background:linear-gradient(120deg,#241b16,#33261e 45%,#1f1713);overflow:hidden;color:#fff}
.hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:56px 56px}
.hero .in{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding:64px 0}
.hero .en{font-size:11.5px;letter-spacing:4px;color:var(--gold-l);font-weight:700;margin-bottom:16px}
.hero h1{font-size:clamp(30px,4.4vw,52px);font-weight:900;line-height:1.15;letter-spacing:-.5px}
.hero h1 em{font-style:normal;color:var(--gold-l)}
.hero p{margin-top:20px;font-size:15.5px;color:rgba(255,255,255,.72);line-height:1.9;max-width:520px}
.hero-btns{display:flex;gap:14px;margin-top:30px;flex-wrap:wrap}
.hero-img{border-radius:16px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.4);aspect-ratio:4/3;background:#3a2c23}
.hero-img img{width:100%;height:100%;object-fit:cover}
.hero-stats{display:flex;gap:28px;margin-top:34px;flex-wrap:wrap}
.hero-stats div b{display:block;font-size:26px;font-weight:900;color:var(--gold-l);line-height:1.1}
.hero-stats div span{font-size:11.5px;color:rgba(255,255,255,.5)}
/* section */
.sec{padding:64px 0}
.sec.alt{background:var(--cream2)}
.sec-head{text-align:center;max-width:720px;margin:0 auto 40px}
.sec-head .en{font-size:11px;letter-spacing:3.5px;color:var(--gold);font-weight:700;margin-bottom:10px}
.sec-head h2{font-size:clamp(23px,3vw,34px);font-weight:900}
.sec-head p{margin-top:12px;color:var(--gray);font-size:14.5px;line-height:1.85}
/* category cards */
.catgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.catcard{position:relative;border-radius:14px;overflow:hidden;aspect-ratio:3/4;background:#ddd;box-shadow:var(--sh);transition:.35s}
.catcard:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(43,33,27,.2)}
.catcard img{width:100%;height:100%;object-fit:cover;transition:.6s}
.catcard:hover img{transform:scale(1.07)}
.catcard .ov{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(20,14,10,.88));display:flex;flex-direction:column;justify-content:flex-end;padding:22px 20px;color:#fff}
.catcard .ov h3{font-size:18px;font-weight:800}
.catcard .ov span{font-size:12px;color:var(--gold-l);margin-top:6px;font-weight:700;letter-spacing:.5px}
/* product grid */
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.pcard{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px rgba(43,33,27,.07);transition:.3s;display:flex;flex-direction:column}
.pcard:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(43,33,27,.14)}
.pcard .ph{aspect-ratio:1/1;background:#faf8f5;overflow:hidden}
.pcard .ph img{width:100%;height:100%;object-fit:cover;transition:.5s}
.pcard:hover .ph img{transform:scale(1.06)}
.pcard .pb{padding:13px 14px 15px;flex:1;display:flex;flex-direction:column}
.pcard .pb h4{font-size:13.5px;font-weight:700;line-height:1.5;height:3em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pcard .pb .more{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--gold);font-weight:700;border-top:1px dashed var(--line);margin-top:10px;padding-top:9px}
/* features */
.fgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.fcard{background:#fff;border-radius:14px;padding:28px 24px;box-shadow:0 4px 16px rgba(43,33,27,.06);border-top:3px solid var(--gold)}
.fcard .ic{width:44px;height:44px;border-radius:11px;background:#f7f0dd;color:var(--gold);display:grid;place-items:center;font-size:20px;font-weight:900;margin-bottom:16px}
.fcard h3{font-size:15.5px;font-weight:800;margin-bottom:9px}
.fcard p{font-size:13px;color:var(--gray);line-height:1.8}
/* split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}
.split-img{border-radius:16px;overflow:hidden;box-shadow:var(--sh)}
.split-img img{width:100%;height:100%;object-fit:cover;min-height:340px}
.split-txt h2{font-size:clamp(22px,2.8vw,32px);font-weight:900;margin-bottom:16px}
.split-txt p{font-size:14.5px;color:#5a5048;line-height:1.95;margin-bottom:12px}
.checks{margin-top:18px;display:grid;gap:10px}
.checks div{display:flex;gap:10px;font-size:14px;color:#4c433b}
.checks div i{font-style:normal;color:var(--gold);font-weight:900}
/* faq */
.faq{max-width:860px;margin:0 auto}
.fq{background:#fff;border-radius:12px;margin-bottom:12px;overflow:hidden;box-shadow:0 3px 12px rgba(43,33,27,.06)}
.fq summary{padding:18px 22px;font-size:15px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.fq summary::-webkit-details-marker{display:none}
.fq summary:after{content:"+";font-size:20px;color:var(--gold);font-weight:400}
.fq[open] summary:after{content:"–"}
.fq p{padding:0 22px 20px;font-size:13.8px;color:#5f554d;line-height:1.9}
/* cta */
.cta{background:linear-gradient(120deg,#33261e,#2b211b 60%,#241b16);padding:52px 0;position:relative;overflow:hidden}
.cta:before{content:"";position:absolute;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,rgba(232,137,43,.2),transparent 70%);right:-80px;top:-120px}
.cta-in{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.cta h2{color:#fff;font-size:clamp(20px,2.6vw,30px);font-weight:900}
.cta p{color:rgba(255,255,255,.6);font-size:13.5px;margin-top:8px}
/* btn */
.btn{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 28px;border-radius:8px;font-size:14.5px;font-weight:700;transition:.25s;border:0;cursor:pointer}
.btn-main{background:linear-gradient(135deg,var(--gold-l),var(--orange));color:#2b211b;box-shadow:0 8px 22px rgba(232,137,43,.24)}
.btn-main:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(232,137,43,.36)}
.btn-ghost{border:1px solid rgba(255,255,255,.3);color:#fff}
.btn-ghost:hover{border-color:var(--gold-l);color:var(--gold-l)}
.btn-line{border:1px solid rgba(43,33,27,.18);color:var(--ink);background:#fff}
.btn-line:hover{border-color:var(--gold);color:var(--gold)}
/* breadcrumb */
.crumb{background:#fff;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--gray);padding:13px 0}
.crumb a{color:var(--gray)}.crumb a:hover{color:var(--gold)}
.crumb span{margin:0 7px;color:#c3b9ae}
/* page head */
.phead{background:linear-gradient(150deg,#33261e,#2b211b 60%,#241b16);color:#fff;padding:50px 0 44px;position:relative;overflow:hidden}
.phead:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:52px 52px}
.phead .in{position:relative;z-index:2}
.phead .en{font-size:11px;letter-spacing:3.5px;color:var(--gold-l);margin-bottom:10px;font-weight:700}
.phead h1{font-size:clamp(25px,3.4vw,38px);font-weight:900}
.phead p{margin-top:12px;color:rgba(255,255,255,.62);font-size:14px;max-width:780px;line-height:1.85}
/* detail */
.dwrap{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:start}
.dimg{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--sh)}
.dimg img{width:100%;aspect-ratio:1/1;object-fit:cover}
.dinfo h1{font-size:clamp(22px,2.8vw,30px);font-weight:900;line-height:1.35}
.dinfo .tags{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 18px}
.dinfo .tags s{text-decoration:none;font-size:11.5px;color:#8a7a5f;background:#f5efe0;border-radius:4px;padding:4px 10px}
.dinfo .lead{font-size:14px;color:#5f554d;line-height:1.95;padding:17px 19px;background:#fff;border-radius:10px;border-left:3px solid var(--gold)}
.dbtns{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}
.dbody{background:#fff;border-radius:14px;padding:34px 32px;margin-top:30px;box-shadow:0 4px 16px rgba(43,33,27,.06)}
.dbody h2{font-size:19px;font-weight:800;margin:26px 0 12px;padding-left:12px;position:relative}
.dbody h2:first-child{margin-top:0}
.dbody h2:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:18px;border-radius:2px;background:var(--gold)}
.dbody p{font-size:14.2px;color:#514840;line-height:2;margin-bottom:12px}
.dbody ul,.dbody ol{margin:0 0 14px 20px}
.dbody li{font-size:14px;color:#514840;line-height:1.95;margin-bottom:6px}
.dbody strong{color:var(--ink)}
.dbody img{border-radius:10px;margin:14px 0}
.dbody table{width:100%;border-collapse:collapse;margin:14px 0;font-size:13.5px}
.dbody th,.dbody td{border:1px solid #e8e2d9;padding:10px 12px;text-align:left}
.dbody th{background:#faf7f1;font-weight:700}
/* side card */
.scard{background:linear-gradient(150deg,#33261e,#2b211b);color:#fff;border-radius:14px;padding:26px 24px;margin-top:18px}
.scard h4{font-size:16px;font-weight:800;margin-bottom:6px}
.scard p{font-size:12.5px;color:rgba(255,255,255,.55);line-height:1.8;margin-bottom:14px}
.scard .tel{display:block;font-size:21px;font-weight:900;color:var(--gold-l);letter-spacing:.5px;margin-bottom:6px}
/* about */
.abt{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:stretch}
.abt-img{border-radius:14px;overflow:hidden;box-shadow:var(--sh)}
.abt-img img{width:100%;height:100%;object-fit:cover;min-height:340px}
.abt-txt{background:#fff;border-radius:14px;padding:34px 30px;box-shadow:var(--sh)}
.abt-txt h2{font-size:21px;font-weight:900;margin-bottom:14px}
.abt-txt p{font-size:14px;color:#5a5048;line-height:2;margin-bottom:12px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
.stat b{display:block;font-size:clamp(19px,2.2vw,26px);font-weight:900;color:var(--orange);line-height:1.15}
.stat span{font-size:11.5px;color:var(--gray)}
/* contact */
.cgrid{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:start}
.cinfo{background:#fff;border-radius:14px;padding:30px 28px;box-shadow:var(--sh)}
.cinfo h3{font-size:18px;font-weight:800;margin-bottom:18px}
.ci{display:flex;gap:12px;margin-bottom:16px;font-size:14px;color:#5a5048;line-height:1.75}
.ci i{font-style:normal;width:32px;height:32px;border-radius:8px;background:#f5efe0;color:var(--gold);display:grid;place-items:center;flex-shrink:0;font-size:12px;font-weight:800}
.cinfo b{color:var(--ink)}
.form{background:#fff;border-radius:14px;padding:30px 28px;box-shadow:var(--sh)}
.form h3{font-size:18px;font-weight:800;margin-bottom:6px}
.form .tip{font-size:12.5px;color:var(--gray);margin-bottom:18px}
.fld{margin-bottom:14px}
.fld label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.fld input,.fld textarea,.fld select{width:100%;border:1px solid #e3ddd4;border-radius:8px;padding:11px 13px;font-size:14px;font-family:inherit;background:#fdfcfa;outline:none;transition:.2s}
.fld input:focus,.fld textarea:focus,.fld select:focus{border-color:var(--gold);background:#fff}
.fld textarea{height:100px;resize:vertical}
/* footer */
.foot{background:var(--navy);color:#fff;padding:48px 0 0}
.foot-in{display:grid;grid-template-columns:1.2fr 1.5fr;gap:36px;padding-bottom:34px}
.foot h4{font-size:15px;font-weight:800;margin-bottom:14px;position:relative;padding-bottom:10px}
.foot h4:after{content:"";position:absolute;left:0;bottom:0;width:28px;height:2px;background:var(--gold)}
.foot .fi{font-size:13px;color:rgba(255,255,255,.65);line-height:2}
.flinks{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.flinks h5{font-size:13px;margin-bottom:12px}
.flinks a{display:block;font-size:12.5px;color:rgba(255,255,255,.55);margin-bottom:9px}
.flinks a:hover{color:var(--gold-l)}
.copy{border-top:1px solid rgba(255,255,255,.08);padding:16px 0;font-size:12px;color:rgba(255,255,255,.4);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
/* float */
.float{position:fixed;right:14px;bottom:22px;z-index:90;display:flex;flex-direction:column;gap:10px}
.fb{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;box-shadow:0 8px 20px rgba(0,0,0,.2);font-size:11px;font-weight:700;cursor:pointer;background:linear-gradient(135deg,var(--gold-l),var(--orange));color:#2b211b}
.fb-top{background:rgba(43,33,27,.86);color:#fff;opacity:0;pointer-events:none;transition:.25s}
.fb-top.show{opacity:1;pointer-events:auto}
/* woo reset */
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:13px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:0!important}
.woocommerce ul.products li.product{width:100%!important;margin:0!important;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px rgba(43,33,27,.07);transition:.3s;padding:0 0 14px!important;text-align:center}
.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(43,33,27,.14)}
.woocommerce ul.products li.product img{border-radius:0;margin:0!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13.5px!important;font-weight:700;padding:12px 12px 6px!important;line-height:1.5}
.woocommerce ul.products li.product .price{font-size:13px!important;color:var(--gold)!important}
.woocommerce ul.products li.product .button{margin:8px 12px 0!important;background:linear-gradient(135deg,var(--gold-l),var(--orange))!important;color:#2b211b!important;font-weight:700!important;border-radius:7px!important}
@media(max-width:1024px){
 .pgrid,.catgrid,.fgrid{grid-template-columns:repeat(2,1fr)}
 .dwrap,.abt,.cgrid,.split,.hero .in{grid-template-columns:1fr}
 .foot-in{grid-template-columns:1fr}
 .woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:760px){
 .menu{position:fixed;top:66px;left:0;right:0;background:rgba(43,33,27,.99);flex-direction:column;align-items:stretch;gap:0;padding:6px 0 10px;transform:translateY(-140%);transition:.32s;justify-content:flex-start}
 .menu.open{transform:none}
 .menu a{padding:13px 20px;border-bottom:1px solid rgba(255,255,255,.06);font-size:15px}
 .menu a.on:after{display:none}
 .burger{display:flex}
 .nav-tel{display:none}
 .hero{min-height:auto}
 .hero .in{padding:44px 0}
 .sec{padding:40px 0}
 .pgrid,.catgrid{grid-template-columns:repeat(2,1fr);gap:12px}
 .fgrid{grid-template-columns:1fr}
 .dbody{padding:22px 18px}
 .cta-in{flex-direction:column;text-align:center}
 .flinks{grid-template-columns:repeat(2,1fr)}
 .woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important;gap:12px}
}
