/* === EveryHomeDIY — Main Stylesheet === */
:root{--red:#DC2626;--red-d:#B91C1C;--blue:#1D4ED8;--blue-d:#1E3A8A;--navy:#1E3A5F;--white:#FFFFFF;--gray-50:#F9FAFB;--gray-100:#F3F4F6;--gray-200:#E5E7EB;--gray-400:#9CA3AF;--gray-600:#4B5563;--gray-800:#1F2937;--text:#1F2937;--text-m:#4B5563;--radius:8px;--shadow:0 1px 3px rgba(0,0,0,.1);--shadow-md:0 4px 12px rgba(0,0,0,.1);--bottom-nav-h:64px}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;height:100%;scroll-padding-top:60px}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.6;color:var(--text);background:#fff;min-height:100%}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{line-height:1.3;font-weight:700}
.container{max-width:1200px;margin:0 auto;padding:0 1.25rem}

/* ── HEADER ── */
.site-header{background:var(--navy);color:#fff;position:sticky;position:-webkit-sticky;top:0;z-index:1000;box-shadow:0 2px 8px rgba(0,0,0,.25);will-change:transform}
.site-header .container{display:flex;align-items:center;gap:1.25rem;height:60px;position:relative}
.logo{font-size:1.4rem;font-weight:800;letter-spacing:-.5px;display:flex;flex-shrink:0}
.logo-every{color:#fff}.logo-home{color:#EF4444}.logo-diy{color:#93C5FD}

/* Desktop nav */
.desktop-only{display:flex}
.main-nav{align-items:center;gap:1.1rem}
.main-nav a{color:#CBD5E1;font-size:.88rem;transition:color .15s;white-space:nowrap}
.main-nav a:hover,.main-nav a.active{color:#fff;font-weight:600}
.header-right{align-items:center;gap:.85rem;margin-left:auto}
.search-form{display:flex;gap:0}
.search-form input{padding:.4rem .75rem;border:none;border-radius:var(--radius) 0 0 var(--radius);font-size:.85rem;width:190px;background:#fff;color:#1F2937}
.search-form button{padding:.4rem .7rem;background:var(--red);color:#fff;border:none;border-radius:0 var(--radius) var(--radius) 0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.search-form button:hover{background:var(--red-d)}
.btn-google{display:inline-flex;align-items:center;gap:.45rem;background:#fff;color:#374151;font-size:.82rem;font-weight:600;padding:.35rem .85rem;border-radius:var(--radius);white-space:nowrap;transition:background .15s}
.btn-google:hover{background:#F3F4F6}
.avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;flex-shrink:0}
.user-menu{display:flex;align-items:center;gap:.5rem;color:#CBD5E1;font-size:.85rem}
.user-name{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.btn-link{background:none;border:none;color:#93C5FD;cursor:pointer;font-size:.82rem;padding:0}

/* Mobile top-right */
.mobile-top-right{display:none;align-items:center;gap:.35rem;margin-left:auto}
.mobile-search-btn{background:none;border:none;color:#fff;cursor:pointer;padding:.4rem;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:background .15s}
.mobile-search-btn:hover{background:rgba(255,255,255,.12)}
.hamburger{background:none;border:none;cursor:pointer;padding:.4rem;display:flex;flex-direction:column;gap:5px;border-radius:6px;transition:background .15s}
.hamburger:hover{background:rgba(255,255,255,.12)}
.hamburger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .25s,opacity .25s}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobile search bar */
.mobile-search-bar{background:var(--navy);border-top:1px solid rgba(255,255,255,.1);max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;padding:0 1.25rem}
.mobile-search-bar.open{max-height:80px;padding:.75rem 1.25rem}
.mobile-search-form{display:flex;gap:0;width:100%}
.mobile-search-form input{flex:1;padding:.55rem 1rem;border:none;border-radius:var(--radius) 0 0 var(--radius);font-size:.95rem;background:#fff;color:#1F2937;outline:none}
.mobile-search-form button{padding:.55rem 1rem;background:var(--red);color:#fff;border:none;border-radius:0 var(--radius) var(--radius) 0;cursor:pointer;display:flex;align-items:center;justify-content:center}

/* Mobile slide-down menu */
.mobile-menu{background:var(--navy);border-top:1px solid rgba(255,255,255,.08);max-height:0;overflow:hidden;transition:max-height .35s ease}
.mobile-menu.open{max-height:600px}
.mobile-nav{padding:.5rem 0}
.mobile-nav a{display:flex;align-items:center;gap:.75rem;padding:.8rem 1.5rem;color:#CBD5E1;font-size:.95rem;transition:background .15s,color .15s;border-left:3px solid transparent}
.mobile-nav a:hover{background:rgba(255,255,255,.07);color:#fff;border-left-color:var(--red)}
.mobile-menu-auth{padding:1rem 1.5rem 1.25rem;border-top:1px solid rgba(255,255,255,.08)}
.mobile-user{display:flex;align-items:center;gap:.65rem;color:#CBD5E1;margin-bottom:.5rem}
.btn-google-mobile,.btn-facebook-mobile{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;padding:.7rem 1rem;border-radius:var(--radius);font-size:.9rem;font-weight:600;margin-top:.5rem;transition:opacity .15s}
.btn-google-mobile{background:#fff;color:#374151}
.btn-facebook-mobile{background:#1877F2;color:#fff}
.btn-google-mobile:hover,.btn-facebook-mobile:hover{opacity:.9}

/* ── BOTTOM NAV ── */
.bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;height:var(--bottom-nav-h);background:var(--navy);border-top:1px solid rgba(255,255,255,.12);z-index:200;box-shadow:0 -4px 20px rgba(0,0,0,.25)}
.bottom-nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#94A3B8;font-size:.68rem;font-weight:500;transition:color .15s;padding:.4rem 0;text-decoration:none}
.bottom-nav-item svg{width:22px;height:22px;stroke-width:1.8}
.bottom-nav-item:hover{color:#fff}
.bottom-nav-item.active{color:#fff}
.bottom-nav-item.active svg{stroke:var(--red)}
.bottom-nav-item.active span{color:var(--red)}

/* ── BUTTONS ── */
.btn{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1.25rem;border-radius:var(--radius);font-weight:600;font-size:.9rem;cursor:pointer;transition:all .15s;border:2px solid transparent}
.btn-primary{background:var(--red);color:#fff;border-color:var(--red)}.btn-primary:hover{background:var(--red-d);border-color:var(--red-d)}
.btn-outline{background:transparent;color:var(--navy);border-color:var(--navy)}.btn-outline:hover{background:var(--navy);color:#fff}
.btn-amazon{display:inline-flex;align-items:center;gap:.5rem;background:#FF9900;color:#000;font-weight:700;padding:.65rem 1.5rem;border-radius:var(--radius);font-size:1rem;transition:background .15s;border:none}
.btn-amazon:hover{background:#E68900}
.btn-amazon-sm{background:#FF9900;color:#000;font-weight:600;padding:.3rem .8rem;border-radius:6px;font-size:.8rem;white-space:nowrap}
.btn-amazon-sm:hover{background:#E68900}
.btn-amazon-xs{background:#FF9900;color:#000;font-weight:600;padding:.25rem .6rem;border-radius:5px;font-size:.75rem;display:inline-block;margin-top:.25rem}
.w-full{width:100%;justify-content:center}

/* ── ALERTS ── */
.alert{padding:.75rem 1.25rem;border-radius:var(--radius);margin:1rem 0;font-size:.9rem}
.alert-success{background:#DCFCE7;color:#166534;border:1px solid #BBF7D0}
.alert-error{background:#FEE2E2;color:#991B1B;border:1px solid #FECACA}

/* ── HERO ── */
.hero{background:linear-gradient(135deg,var(--navy) 0%,#1D4ED8 100%);color:#fff;padding:5rem 0}
.hero .container{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.hero-text h1{font-size:2.75rem;margin-bottom:1rem;line-height:1.15}
.hero-text h1 .accent{color:#FCA5A5}
.hero-text p{font-size:1.1rem;color:#CBD5E1;margin-bottom:1.75rem;line-height:1.7}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.hero-cta .btn-outline{color:#fff;border-color:rgba(255,255,255,.5)}.hero-cta .btn-outline:hover{background:rgba(255,255,255,.15)}
.hero-image img{border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.35);width:100%}

/* ── SECTIONS ── */
.section{padding:4rem 0}
.bg-light{background:var(--gray-50)}
.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}
.section-title{font-size:1.75rem;color:var(--navy)}
.view-all{color:var(--blue);font-weight:600;font-size:.9rem}
.view-all:hover{color:var(--red)}

/* ── CATEGORIES ── */
.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem}
.category-card{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius);padding:1.25rem 1rem;text-align:center;transition:all .15s;display:block}
.category-card:hover{border-color:var(--blue);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.category-icon{font-size:2rem;margin-bottom:.5rem}
.category-card h3{font-size:.9rem;font-weight:600;color:var(--navy);margin-bottom:.25rem}
.category-card span{font-size:.8rem;color:var(--gray-400)}

/* ── ARTICLE GRID ── */
.article-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.article-card{background:#fff;border:1px solid var(--gray-200);border-radius:12px;overflow:hidden;transition:box-shadow .15s}
.article-card:hover{box-shadow:var(--shadow-md)}
.article-thumb{display:block;position:relative;aspect-ratio:16/9;overflow:hidden}
.article-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.article-card:hover .article-thumb img{transform:scale(1.04)}
.article-cat{position:absolute;top:.75rem;left:.75rem;background:var(--red);color:#fff;font-size:.75rem;font-weight:600;padding:.2rem .6rem;border-radius:4px}
.article-body{padding:1.25rem}
.article-body h2,.article-body h3{font-size:1.05rem;margin-bottom:.5rem;line-height:1.4}
.article-body h2 a,.article-body h3 a,.article-body h4 a{color:var(--navy)}.article-body h2 a:hover,.article-body h3 a:hover{color:var(--red)}
.article-body p{font-size:.9rem;color:var(--text-m);margin-bottom:.75rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.article-meta{display:flex;gap:1rem;font-size:.8rem;color:var(--gray-400)}
.article-date{font-size:.8rem;color:var(--gray-400)}

/* ── PRODUCT GRID ── */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}
.product-card{background:#fff;border:1px solid var(--gray-200);border-radius:12px;overflow:hidden;transition:box-shadow .15s}
.product-card:hover{box-shadow:var(--shadow-md)}
.product-thumb{display:block;position:relative;aspect-ratio:1;overflow:hidden;background:var(--gray-50)}
.product-thumb img{width:100%;height:100%;object-fit:contain;padding:.75rem;transition:transform .3s}
.product-card:hover .product-thumb img{transform:scale(1.05)}
.badge-discount{position:absolute;top:.5rem;right:.5rem;background:var(--red);color:#fff;font-size:.72rem;font-weight:700;padding:.15rem .5rem;border-radius:4px}
.product-card-body{padding:1rem}
.product-brand-sm{font-size:.75rem;color:var(--gray-400);text-transform:uppercase;letter-spacing:.03em}
.product-card-body h3{font-size:.9rem;font-weight:600;color:var(--navy);margin:.25rem 0 .4rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card-body h3 a{color:inherit}.product-card-body h3 a:hover{color:var(--red)}
.stars-sm{color:#F59E0B;font-size:.8rem}.stars-sm span{color:var(--gray-400)}
.product-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:.75rem}
.price{font-size:1.1rem;font-weight:700;color:var(--red)}
.original-price{font-size:.9rem;color:var(--gray-400);text-decoration:line-through;margin-left:.4rem}

/* ── POPULAR STRIP ── */
.popular-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.popular-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;border:1px solid var(--gray-200);border-radius:var(--radius);transition:border-color .15s}
.popular-item:hover{border-color:var(--blue)}
.popular-num{font-size:1.8rem;font-weight:800;color:var(--gray-200);min-width:2.5rem;line-height:1}
.popular-item h4{font-size:.9rem;font-weight:600;color:var(--navy);margin-bottom:.2rem;line-height:1.35}
.popular-item span{font-size:.8rem;color:var(--gray-400)}

/* ── PAGE HEADER ── */
.page-header{background:var(--navy);color:#fff;padding:2.5rem 0}
.page-header h1{font-size:2rem}
.page-header p{color:#CBD5E1;margin-top:.5rem}

/* ── LAYOUT SIDEBAR ── */
.layout-sidebar{display:grid;grid-template-columns:240px 1fr;gap:2rem;padding-top:2rem;padding-bottom:2rem}
.sidebar .widget{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius);padding:1.25rem;margin-bottom:1.5rem}
.sidebar .widget h3{font-size:1rem;color:var(--navy);margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid var(--red)}
.cat-list{list-style:none}
.cat-list li{border-bottom:1px solid var(--gray-100)}
.cat-list a{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.9rem;color:var(--text-m);transition:color .15s}
.cat-list a:hover,.cat-list a.active{color:var(--red);font-weight:600}
.cat-list .count{background:var(--gray-100);border-radius:999px;padding:.1rem .5rem;font-size:.75rem}

/* ── ARTICLE DETAIL ── */
.article-layout{display:grid;grid-template-columns:1fr 320px;gap:2rem;padding:2rem 1.25rem}
.breadcrumb{font-size:.85rem;color:var(--gray-400);margin-bottom:1.5rem}
.breadcrumb a{color:var(--blue)}.breadcrumb a:hover{color:var(--red)}
.article-cat-badge{display:inline-block;background:var(--red);color:#fff;font-size:.8rem;font-weight:600;padding:.25rem .75rem;border-radius:4px;margin-bottom:.75rem}
.article-header h1{font-size:2rem;color:var(--navy);margin-bottom:.75rem}
.article-meta{display:flex;gap:1.25rem;font-size:.85rem;color:var(--gray-400);margin-bottom:1.5rem;flex-wrap:wrap}
.article-hero-img{margin-bottom:2rem;border-radius:12px;overflow:hidden}
.prose{line-height:1.8;color:var(--text)}
.prose h2{font-size:1.5rem;color:var(--navy);margin:2rem 0 .75rem;padding-bottom:.4rem;border-bottom:2px solid var(--gray-200)}
.prose h3{font-size:1.2rem;color:var(--navy);margin:1.5rem 0 .5rem}
.prose p{margin-bottom:1rem}
.prose ul,.prose ol{padding-left:1.5rem;margin-bottom:1rem}
.prose li{margin-bottom:.4rem}
.prose img{border-radius:8px;margin:1.25rem 0}
.prose a{color:var(--blue)}.prose a:hover{color:var(--red)}
.prose blockquote{border-left:4px solid var(--blue);padding:.75rem 1rem;background:var(--gray-50);margin:1.25rem 0;border-radius:0 var(--radius) var(--radius) 0;font-style:italic}
.article-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0}
.tag{background:var(--gray-100);color:var(--gray-600);padding:.25rem .75rem;border-radius:999px;font-size:.8rem}
.affiliate-note{background:#FFF7ED;border:1px solid #FED7AA;border-radius:var(--radius);padding:.75rem 1rem;font-size:.85rem;color:#92400E;margin-top:1.5rem}

/* ── ARTICLE SIDEBAR ── */
.article-sidebar .widget{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius);padding:1.25rem;margin-bottom:1.5rem}
.article-sidebar .widget h3{font-size:1rem;color:var(--navy);margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid var(--red)}
.product-card-small{display:flex;gap:.75rem;padding:.75rem 0;border-bottom:1px solid var(--gray-100)}
.product-card-small:last-child{border-bottom:none}
.product-card-small img{width:64px;height:64px;object-fit:contain;border-radius:6px;background:var(--gray-50);flex-shrink:0}
.product-card-small h4{font-size:.85rem;font-weight:600;color:var(--navy);margin-bottom:.25rem;line-height:1.3}
.product-card-small h4 a{color:inherit}.product-card-small h4 a:hover{color:var(--red)}
.product-card-small .price{font-size:.85rem;font-weight:700;color:var(--red);display:block}
.related-item{display:flex;gap:.75rem;padding:.75rem 0;border-bottom:1px solid var(--gray-100)}
.related-item img{width:64px;height:64px;object-fit:cover;border-radius:6px;flex-shrink:0}
.related-item a{font-size:.88rem;font-weight:600;color:var(--navy);line-height:1.35}.related-item a:hover{color:var(--red)}

/* ── PRODUCT DETAIL ── */
.product-detail{padding:2rem 1.25rem}
.product-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;margin:1.5rem 0 3rem}
.product-main-img{border-radius:12px;border:1px solid var(--gray-200)}
.product-brand{font-size:.85rem;color:var(--gray-400);text-transform:uppercase;letter-spacing:.05em;display:block;margin-bottom:.5rem}
.product-info-col h1{font-size:1.75rem;color:var(--navy);margin-bottom:1rem}
.product-rating{display:flex;align-items:center;gap:.5rem;font-size:.9rem;margin-bottom:1rem;color:var(--gray-600)}
.stars{color:#F59E0B;font-size:1.1rem}
.product-price{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}
.product-price .price{font-size:2rem;font-weight:800;color:var(--red)}
.product-description h3{font-size:1rem;font-weight:700;color:var(--navy);margin-bottom:.5rem}

/* ── SEARCH ── */
.search-hero{padding:2.5rem 0}
.search-big{display:flex;gap:.75rem;max-width:640px}
.search-big input{flex:1;padding:.75rem 1rem;border:2px solid var(--gray-200);border-radius:var(--radius);font-size:1rem}
.search-big input:focus{outline:none;border-color:var(--blue)}
.search-big .btn{padding:.75rem 1.5rem}

/* ── SHARE BUTTONS ── */
.share-buttons{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:1.75rem 0 1rem;padding:1rem 0;border-top:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200)}
.share-label{font-size:.85rem;font-weight:600;color:var(--gray-600);margin-right:.25rem}
.share-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .9rem;border-radius:6px;font-size:.82rem;font-weight:600;cursor:pointer;border:none;transition:opacity .15s}
.share-btn:hover{opacity:.85}
.share-x{background:#000;color:#fff}
.share-fb{background:#1877F2;color:#fff}
.share-copy{background:var(--gray-100);color:var(--gray-800)}

/* ── STATIC PAGES ── */
.static-page{padding:3rem 1.25rem;max-width:860px;margin:0 auto}
.static-content h2{font-size:1.4rem;color:var(--navy);margin:2rem 0 .75rem;padding-bottom:.4rem;border-bottom:2px solid var(--gray-200)}
.static-content h3{font-size:1.1rem;color:var(--navy);margin:1.25rem 0 .5rem}
.static-content p{margin-bottom:1rem;color:var(--text);line-height:1.75}
.static-content ul,.static-content ol{padding-left:1.5rem;margin-bottom:1rem}
.static-content li{margin-bottom:.4rem;line-height:1.7}
.static-content a{color:var(--blue)}.static-content a:hover{color:var(--red)}
.disclosure-box{background:#FFF7ED;border:2px solid #FED7AA;border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:2rem;color:#92400E;font-size:.95rem;line-height:1.6}
.about-hero{background:var(--navy);color:#fff;border-radius:12px;padding:2rem 2.5rem;margin-bottom:2rem}
.about-hero h2{font-size:1.75rem;margin-bottom:.75rem}
.about-hero .lead{font-size:1.05rem;color:#CBD5E1;line-height:1.7}

/* ── CONTACT ── */
.contact-grid{display:grid;grid-template-columns:1fr 320px;gap:3rem;padding:3rem 1.25rem}
.contact-form .form-group{margin-bottom:1.25rem;display:flex;flex-direction:column;gap:.35rem}
.contact-form label{font-size:.9rem;font-weight:600;color:var(--gray-800)}
.contact-form input,.contact-form select,.contact-form textarea{padding:.6rem .85rem;border:1px solid var(--gray-200);border-radius:var(--radius);font-size:.95rem;font-family:inherit;transition:border-color .15s}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(29,78,216,.1)}
.contact-info{display:flex;flex-direction:column;gap:1rem;padding-top:3.5rem}
.contact-card{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:var(--radius);padding:1.25rem}
.contact-icon{font-size:1.75rem;margin-bottom:.5rem}
.contact-card h3{font-size:1rem;font-weight:700;color:var(--navy);margin-bottom:.4rem}
.contact-card p{font-size:.88rem;color:var(--text-m);margin:0 0 .25rem}
.contact-card a{color:var(--blue)}.contact-card a:hover{color:var(--red)}
.contact-note{font-size:.8rem !important;color:var(--gray-400) !important}
.err{color:var(--red);font-size:.8rem}

/* ── FOOTER ── */
.site-footer{background:var(--navy);color:#CBD5E1;padding:3rem 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;margin-bottom:2rem}
.footer-brand .logo{margin-bottom:.75rem}
.footer-brand p{font-size:.85rem;line-height:1.7;color:#94A3B8}
.affiliate-disclosure{margin-top:.75rem;font-size:.78rem;color:#64748B;line-height:1.5}
.affiliate-disclosure a{color:#FCA5A5}
.footer-links h4{color:#fff;font-size:.9rem;margin-bottom:.75rem}
.footer-links ul{list-style:none}
.footer-links li{margin-bottom:.4rem}
.footer-links a{font-size:.85rem;color:#94A3B8;transition:color .15s}.footer-links a:hover{color:#fff}
.footer-legal{border-top:1px solid rgba(255,255,255,.15);padding:1.5rem 0;display:flex;flex-direction:column;align-items:center;gap:.65rem;text-align:center}
.footer-legal-links{display:flex;gap:0;flex-wrap:wrap;justify-content:center;align-items:center}
.footer-legal-links a{font-size:.88rem;color:#94A3B8;transition:color .15s;padding:.15rem .85rem;border-right:1px solid rgba(255,255,255,.15)}.footer-legal-links a:last-child{border-right:none}.footer-legal-links a:hover{color:#fff}
.footer-copy{font-size:.85rem;color:#64748B}
.pagination-wrap{margin-top:2rem}
/* ── PAGINATION ── */
.pagination-nav{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin:2rem 0;padding-top:1.5rem;border-top:1px solid var(--gray-200)}
.page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 .75rem;border-radius:6px;font-size:.88rem;font-weight:500;color:var(--navy);border:1px solid var(--gray-200);background:#fff;transition:all .15s;text-decoration:none;white-space:nowrap}
.page-btn:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.page-btn.active{background:var(--red);color:#fff;border-color:var(--red);font-weight:700}
.page-btn.disabled{color:var(--gray-400);cursor:default;pointer-events:none;background:var(--gray-50)}
.page-info{margin-left:auto;font-size:.82rem;color:var(--gray-400)}

.empty{color:var(--gray-400);text-align:center;padding:3rem;font-size:1.05rem}

/* ── RESPONSIVE ── */
@media(max-width:768px){
  .desktop-only{display:none !important}
  .mobile-top-right{display:flex}
  .bottom-nav{display:flex}
  main{padding-bottom:var(--bottom-nav-h)}
  .hero{padding:2.5rem 0}
  .hero .container{grid-template-columns:1fr}
  .hero-image{display:none}
  .hero-text h1{font-size:1.75rem}
  .hero-cta{flex-direction:column;gap:.65rem}
  .hero-cta .btn{text-align:center;justify-content:center}
  .layout-sidebar{grid-template-columns:1fr;padding-top:1.25rem;padding-bottom:1.25rem}
  .sidebar{order:2}
  .article-layout{grid-template-columns:1fr}
  .article-sidebar{display:none}
  .article-header h1{font-size:1.5rem}
  .product-detail-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-legal{flex-direction:column;text-align:center}
  .footer-legal-links{justify-content:center}
  .article-grid{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}
  .category-grid{grid-template-columns:repeat(3,1fr)}
  .popular-list{grid-template-columns:1fr}
  .section{padding:2rem 0}
  .section-title{font-size:1.35rem}
  .contact-grid{grid-template-columns:1fr}
  .contact-info{padding-top:0}
}
@media(max-width:380px){
  .product-grid{grid-template-columns:1fr}
  .category-grid{grid-template-columns:repeat(2,1fr)}
}
