/* SFS Furniture · PHP Vision stylesheet */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#1c1917;background:#fafaf9;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 1rem}
.section{padding:3rem 1rem}
.narrow{max-width:760px;margin:0 auto}
.muted{color:#78716c}
.small{font-size:.85rem}
.center{text-align:center}
.hide-mobile{display:none}
@media(min-width:640px){.hide-mobile{display:inline}}

/* Topbar */
.topbar{background:#1c1917;color:#e7e5e4;font-size:.75rem;padding:.5rem 0}
.topbar .container{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
.topbar a{color:#fbbf24}

/* Header */
.site-header{background:#fff;border-bottom:1px solid #e7e5e4;position:sticky;top:0;z-index:40;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;gap:1rem}
.logo{display:flex;align-items:center;gap:.5rem}
.logo-mark{width:40px;height:40px;border-radius:.5rem;background:linear-gradient(135deg,#d97706,#c2410c);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.1rem;box-shadow:0 4px 8px rgba(0,0,0,.1)}
.logo-text strong{display:block;font-size:1rem;font-weight:900;letter-spacing:-.02em}
.logo-text small{color:#78716c;font-size:.65rem}
.main-nav{display:none;gap:.25rem;align-items:center}
@media(min-width:1024px){.main-nav{display:flex}}
.main-nav>a,.dropdown>a{padding:.5rem .75rem;font-size:.9rem;font-weight:500;color:#44403c;border-radius:.375rem;transition:all .15s;cursor:pointer}
.main-nav>a:hover,.dropdown>a:hover{color:#b45309;background:#f5f5f4}
.dropdown{position:relative}
.dropdown-menu{position:absolute;top:100%;left:0;background:#fff;border:1px solid #e7e5e4;border-radius:.5rem;box-shadow:0 10px 25px rgba(0,0,0,.1);min-width:240px;padding:.25rem 0;opacity:0;visibility:hidden;transform:translateY(4px);transition:all .15s;max-height:400px;overflow-y:auto}
.dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown-menu a{display:block;padding:.5rem 1rem;font-size:.85rem;color:#44403c}
.dropdown-menu a:hover{background:#fef3c7;color:#b45309}
.dropdown-menu a.strong{font-weight:700;background:#fef3c7;color:#b45309}
.header-cta{font-size:.85rem;padding:.5rem 1rem}
@media(max-width:640px){.header-cta{display:none}}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.4rem;padding:.7rem 1.25rem;border-radius:.5rem;font-weight:700;font-size:.9rem;cursor:pointer;border:none;transition:all .15s;text-decoration:none}
.btn-primary{background:#b45309;color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.1)}
.btn-primary:hover{background:#92400e;transform:translateY(-1px)}
.btn-dark{background:#1c1917;color:#fff}.btn-dark:hover{background:#292524}
.btn-ghost{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3);backdrop-filter:blur(8px)}
.btn-ghost:hover{background:rgba(255,255,255,.25)}
.btn-whatsapp{background:#22c55e;color:#fff}.btn-whatsapp:hover{background:#16a34a}
.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}
.btn-block{width:100%;display:flex;justify-content:center;font-size:1rem;padding:1rem}
.btn.small{padding:.4rem .8rem;font-size:.8rem}

/* Hero */
.hero{background:linear-gradient(135deg,#78350f,#1c1917 60%,#292524);color:#fff;padding:5rem 1rem;text-align:left}
.hero-badge{display:inline-block;background:rgba(245,158,11,.15);border:1px solid rgba(251,191,36,.4);color:#fde68a;font-size:.75rem;font-weight:600;padding:.25rem .75rem;border-radius:9999px;margin-bottom:1rem}
.hero h1{font-size:clamp(2rem,5vw,3.5rem);font-weight:900;line-height:1.1;letter-spacing:-.03em;margin-bottom:1rem;max-width:700px}
.hero h1 .hl{color:#fbbf24}
.hero-lead{font-size:1.1rem;color:#e7e5e4;max-width:600px;margin-bottom:2rem}
.hero-cta{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:2rem}
.hero-trust{list-style:none;display:flex;gap:1.5rem;flex-wrap:wrap;color:#d6d3d1;font-size:.9rem}

/* Section heads */
.section-head{margin-bottom:2rem}
.section-head h2{font-size:clamp(1.5rem,3vw,2.25rem);font-weight:900;letter-spacing:-.02em}
.section-head p{color:#57534e;margin-top:.5rem;max-width:700px}
.section-head.row{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1rem}
.eyebrow{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#b45309}
.see-all{font-size:.9rem;font-weight:700;color:#b45309;white-space:nowrap}
.see-all:hover{color:#92400e}

/* Category grid */
.cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
@media(min-width:768px){.cat-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.cat-grid{grid-template-columns:repeat(4,1fr)}}
.cat-card{display:flex;flex-direction:column;justify-content:space-between;padding:1.25rem;border-radius:1rem;color:#fff;min-height:180px;box-shadow:0 4px 12px rgba(0,0,0,.1);transition:all .25s}
.cat-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.cat-emoji{font-size:2.5rem}
.cat-card h3{font-size:1.05rem;font-weight:900;margin-bottom:.25rem}
.cat-card p{font-size:.75rem;opacity:.95;margin-bottom:.5rem}
.cat-shop{display:inline-block;font-size:.7rem;font-weight:700;background:rgba(255,255,255,.2);padding:.2rem .5rem;border-radius:.25rem}

/* Product grid */
.prod-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}
.prod-grid-4{grid-template-columns:repeat(2,1fr)}
.prod-grid-6{grid-template-columns:repeat(2,1fr)}
@media(min-width:640px){.prod-grid-4{grid-template-columns:repeat(3,1fr)}.prod-grid-6{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.prod-grid-4{grid-template-columns:repeat(4,1fr)}.prod-grid-6{grid-template-columns:repeat(6,1fr)}}
.product-card{background:#fff;border:1px solid #e7e5e4;border-radius:.75rem;overflow:hidden;display:flex;flex-direction:column;transition:all .2s}
.product-card:hover{border-color:#fbbf24;box-shadow:0 8px 20px rgba(0,0,0,.08);transform:translateY(-2px)}
.product-img{position:relative;aspect-ratio:1;background:#f5f5f4;overflow:hidden}
.product-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.product-card:hover .product-img img{transform:scale(1.08)}
.img-price{position:absolute;top:.5rem;right:.5rem;background:rgba(255,255,255,.95);backdrop-filter:blur(4px);font-size:.7rem;font-weight:800;color:#b45309;padding:.25rem .5rem;border-radius:9999px}
.product-body{padding:.85rem;display:flex;flex-direction:column;flex:1}
.product-body h3{font-size:.85rem;font-weight:700;line-height:1.3;color:#1c1917;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card:hover .product-body h3{color:#b45309}
.product-body p{font-size:.7rem;color:#78716c;margin-top:.25rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.product-foot{display:flex;justify-content:space-between;align-items:center;margin-top:.5rem}
.price{font-weight:900;color:#b45309;font-size:1rem}
.view{font-size:.7rem;font-weight:700;color:#44403c}

/* Category hero */
.cat-hero{color:#fff;padding:3.5rem 0}
.cat-hero h1{font-size:clamp(1.75rem,4vw,3rem);font-weight:900;letter-spacing:-.02em}
.cat-hero p{color:rgba(255,255,255,.9);margin-top:.5rem;max-width:700px}
.cat-hero-row{display:flex;align-items:flex-start;gap:1.5rem}
.cat-emoji-big{font-size:4rem;line-height:1}
.crumbs{font-size:.75rem;color:rgba(255,255,255,.8);margin-bottom:.75rem}
.crumbs a{color:#fff;text-decoration:underline}
.city-h2{font-size:1rem;color:rgba(255,255,255,.85);font-weight:500;margin-top:.5rem}

/* Product detail */
.product-detail{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:1024px){.product-detail{grid-template-columns:1fr 1fr}}
.product-detail-img{background:#fff;border-radius:1rem;overflow:hidden;border:1px solid #e7e5e4}
.product-detail-img img{aspect-ratio:1;object-fit:cover}
.product-h2{font-size:1.05rem;color:#57534e;font-weight:500;margin-top:.75rem}
.price-h3{font-size:2.5rem;font-weight:900;color:#b45309;margin-top:1.25rem}
.features-box{background:#fef3c7;border:1px solid #fde68a;border-radius:.75rem;padding:1rem;margin-top:1.25rem}
.features-box h3{color:#78350f;font-size:.85rem;font-weight:700;margin-bottom:.5rem}
.features-box ul{list-style:none;font-size:.85rem;color:#44403c}
.features-box li{padding:.15rem 0}
.long-desc{margin-top:1.25rem;color:#44403c;line-height:1.7}
.product-cta{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem}
.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:1.5rem;text-align:center;font-size:.75rem}
.trust-row>div{background:#f5f5f4;padding:.75rem;border-radius:.5rem}

/* Cities strip */
.cities-strip{background:#f5f5f4;padding:3rem 1rem;margin-top:2rem}
.city-pills{display:flex;flex-wrap:wrap;gap:.5rem}
.city-pills a{background:#fff;border:1px solid #e7e5e4;padding:.4rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;color:#44403c;transition:all .15s}
.city-pills a:hover{border-color:#fbbf24;color:#b45309;background:#fef3c7}

/* Province grid */
.prov-h{font-size:1.25rem;font-weight:900;border-left:4px solid #d97706;padding-left:.75rem;margin:2rem 0 1rem}
.prov-grid{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:640px){.prov-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.prov-grid{grid-template-columns:repeat(3,1fr)}}
.prov-card{background:#fff;border:1px solid #e7e5e4;padding:1.25rem;border-radius:.75rem;transition:all .15s}
.prov-card:hover{border-color:#fbbf24;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.prov-card h3{font-weight:700;color:#1c1917}
.prov-card p{font-size:.85rem;color:#57534e;margin-top:.25rem}
.prov-card span{display:inline-block;margin-top:.5rem;font-size:.75rem;font-weight:700;color:#b45309}

/* Info cards */
.info-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:2rem}
@media(min-width:1024px){.info-grid{grid-template-columns:repeat(3,1fr)}}
.info-card{background:#fff;border:1px solid #e7e5e4;padding:1.25rem;border-radius:.75rem}
.info-icon{font-size:2rem}
.info-card h3{font-weight:700;margin-top:.5rem}
.info-card p{font-size:.85rem;color:#57534e;margin-top:.25rem}

/* Link cloud */
.link-block{margin-top:2.5rem;background:#f5f5f4;padding:1.5rem;border-radius:1rem}
.link-block h2{font-size:1.25rem;font-weight:900;margin-bottom:.75rem}
.link-cloud{display:flex;flex-wrap:wrap;gap:.5rem}
.link-cloud a{background:#fff;border:1px solid #e7e5e4;padding:.35rem .75rem;border-radius:9999px;font-size:.75rem;color:#44403c}
.link-cloud a:hover{border-color:#fbbf24;color:#b45309}

/* Order form */
.order-form{background:#fff;border:1px solid #e7e5e4;border-radius:1rem;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.order-form label{display:block;font-size:.85rem;font-weight:600;color:#44403c}
.order-form input,.order-form select,.order-form textarea{display:block;width:100%;padding:.6rem .75rem;border:1px solid #d6d3d1;border-radius:.5rem;font-size:.9rem;font-family:inherit;margin-top:.35rem}
.order-form input:focus,.order-form select:focus,.order-form textarea:focus{outline:none;border-color:#d97706;box-shadow:0 0 0 3px rgba(217,119,6,.15)}
.grid-2{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:640px){.grid-2{grid-template-columns:1fr 1fr}}
.radio-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.35rem}
.radio-row label{background:#f5f5f4;border:2px solid #e7e5e4;padding:.6rem;border-radius:.5rem;text-align:center;cursor:pointer;font-weight:600}
.radio-row label:has(input:checked){background:#fef3c7;border-color:#d97706;color:#78350f}
.radio-row input{display:none}
.success-box{background:#dcfce7;border:2px solid #86efac;color:#14532d;padding:2rem;border-radius:1rem;text-align:center}
.success-box.small{padding:.75rem;font-size:.9rem}
.success-box h2{margin:.5rem 0}
.success-box .btn{margin:.5rem .25rem 0}
.error{background:#fee2e2;color:#991b1b;padding:.5rem;border-radius:.3rem;font-size:.85rem;margin-bottom:.75rem}

/* Prose */
.prose h2{font-size:1.5rem;font-weight:900;margin:1.5rem 0 .75rem}
.prose p,.prose li{color:#44403c;margin-bottom:.75rem;line-height:1.7}
.prose ul,.prose ol{padding-left:1.5rem}
.prose a{color:#b45309;font-weight:600;text-decoration:underline}

/* Footer */
.site-footer{background:#1c1917;color:#d6d3d1;padding:3rem 0 1rem;margin-top:4rem}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem;margin-bottom:2rem}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.footer-grid{grid-template-columns:repeat(4,1fr)}}
.site-footer h4{color:#fff;font-weight:700;margin-bottom:.75rem}
.site-footer ul{list-style:none;font-size:.85rem}
.site-footer li{margin-bottom:.4rem}
.site-footer a{color:#d6d3d1}
.site-footer a:hover{color:#fbbf24}
.site-footer a.strong{color:#fbbf24;font-weight:700}
.footer-logo{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;color:#fff;font-size:1.1rem}
.city-cloud{padding:1rem 0;border-top:1px solid #292524;border-bottom:1px solid #292524;margin-bottom:1rem}
.city-cloud h4{margin-bottom:.5rem}
.city-cloud div{display:flex;flex-wrap:wrap;gap:.4rem}
.city-cloud a{background:rgba(255,255,255,.05);padding:.25rem .6rem;border-radius:.25rem;font-size:.7rem;color:#fbbf24}
.copyright{text-align:center;font-size:.75rem;color:#78716c;padding-top:.5rem}

/* WhatsApp FAB */
.whatsapp-fab{position:fixed;bottom:1.5rem;right:1.5rem;width:3.5rem;height:3.5rem;background:#22c55e;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.6rem;box-shadow:0 8px 24px rgba(34,197,94,.4);z-index:50;transition:transform .2s}
.whatsapp-fab:hover{transform:scale(1.1);background:#16a34a}

/* ============ ADMIN ============ */
.login-body{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#1c1917,#78350f);padding:1rem}
.login-card{background:#fff;padding:2rem;border-radius:1rem;width:100%;max-width:400px;box-shadow:0 25px 50px rgba(0,0,0,.25)}
.login-mark{width:50px;height:50px;border-radius:.75rem;background:linear-gradient(135deg,#d97706,#c2410c);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.5rem;margin-bottom:1rem}
.login-card h1{font-size:1.5rem;font-weight:900}
.login-card input{display:block;width:100%;padding:.75rem;margin:1rem 0;border:1px solid #d6d3d1;border-radius:.5rem;font-size:1rem}
.login-card code{background:#f5f5f4;padding:.1rem .3rem;border-radius:.2rem;font-size:.8rem}

.admin-bar{background:#1c1917;color:#fff;padding:.85rem 0}
.admin-bar .container{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.admin-bar strong{display:block;font-size:1.05rem}
.admin-bar small{color:#a8a29e;font-size:.7rem}
.admin-tabs{background:#f5f5f4;border-bottom:1px solid #e7e5e4;overflow-x:auto}
.admin-tabs .container{display:flex;gap:.25rem}
.admin-tabs a{padding:.85rem 1rem;font-size:.85rem;font-weight:600;color:#57534e;white-space:nowrap;border-bottom:2px solid transparent}
.admin-tabs a:hover{color:#1c1917}
.admin-tabs a.active{color:#b45309;border-bottom-color:#b45309}
.admin-main{padding:2rem 1rem}
.admin-main h1{font-size:1.75rem;font-weight:900;margin-bottom:1rem}
.row-between{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}

.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin:1.5rem 0}
.stat-card{background:#fff;border:1px solid #e7e5e4;border-radius:.75rem;padding:1rem;display:flex;align-items:center;gap:.75rem}
.stat-icon{font-size:2rem}
.stat-num{font-size:1.75rem;font-weight:900;color:#b45309;line-height:1}
.stat-label{font-size:.8rem;color:#78716c;margin-top:.25rem}
.quick-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}

.card{background:#fff;border:1px solid #e7e5e4;border-radius:.75rem;padding:1.25rem;margin-bottom:1.5rem}
.admin-form{display:flex;flex-direction:column;gap:1rem}
.admin-form label{font-size:.85rem;font-weight:600;color:#44403c}
.admin-form input,.admin-form select,.admin-form textarea{display:block;width:100%;padding:.6rem;border:1px solid #d6d3d1;border-radius:.4rem;font-family:inherit;font-size:.9rem;margin-top:.3rem}
.admin-form .span-2{grid-column:1/-1}
.form-actions{display:flex;gap:.5rem;flex-wrap:wrap}

.admin-table{width:100%;background:#fff;border-collapse:collapse;border:1px solid #e7e5e4;border-radius:.5rem;overflow:hidden}
.admin-table th{background:#f5f5f4;padding:.75rem;text-align:left;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:#57534e}
.admin-table td{padding:.75rem;border-top:1px solid #e7e5e4;font-size:.9rem;vertical-align:middle}
.admin-table tr:hover{background:#fafaf9}
.action-btn{display:inline-block;padding:.3rem .5rem;font-size:.75rem;color:#44403c;background:#f5f5f4;border:1px solid #e7e5e4;border-radius:.3rem;margin-right:.25rem;cursor:pointer;font-family:inherit}
.action-btn:hover{background:#e7e5e4}
.action-btn.danger{color:#b91c1c;background:#fee2e2;border-color:#fecaca}
.action-btn.danger:hover{background:#fecaca}

.cat-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.cat-emoji-md{font-size:2rem;margin-bottom:.25rem}

.code-block{background:#1c1917;color:#86efac;padding:1rem;border-radius:.5rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.75rem;overflow-x:auto;white-space:pre-wrap;word-break:break-all;margin:.75rem 0}

.orders-list{display:flex;flex-direction:column;gap:.75rem}
