/* =====================================================
   HHDI — Category & SEO landing pages stylesheet
   Applies to: /wooden-wall-mirror/, /wood-wall-panel/,
   /wooden-lamp/, /derevyannoe-zerkalo/, etc.
   and SEO pages: /decorative-wall-mirror/, etc.
   ===================================================== */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --primary:#8B4513;
  --dark:#654321;
  --accent:#F4A460;
  --light:#FFF8DC;
}

body{font-family:Arial,sans-serif;line-height:1.6;color:#333;background:#fefefe;font-size:17px}

.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* ── Header ── */
header{background:linear-gradient(135deg,var(--primary),var(--dark));color:#fff;padding:.6rem 0;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.logo{font-size:1.2rem;font-weight:bold;color:#fff;text-decoration:none;white-space:nowrap}
nav{display:flex;align-items:center;flex-wrap:wrap}
nav a{color:#fff;margin-left:14px;font-size:1rem;text-decoration:none;transition:color .2s}
nav a:hover{color:var(--accent)}
.lang-switcher{display:flex;gap:6px;margin-left:16px;flex-shrink:0}
.lang-btn{background:transparent;border:1px solid rgba(255,255,255,.7);color:#fff;padding:3px 10px;border-radius:3px;font-size:.9rem;text-decoration:none;transition:all .3s}
.lang-btn:hover,.lang-btn.active{background:#fff;color:var(--primary)}

/* ── Breadcrumb ── */
.breadcrumb{background:#f9f5f0;padding:.5rem 0;font-size:.9rem;color:#888}
.breadcrumb a{color:var(--primary);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb span{margin:0 5px;color:#bbb}

/* ── Category / page hero ── */
.category-hero,.page-hero{padding:40px 0 20px}
.category-hero h1,.page-hero h1{font-size:2rem;color:var(--dark);margin-bottom:14px;line-height:1.3}
.category-hero p,.page-hero .lead{font-size:1.05rem;color:#555;max-width:700px;line-height:1.7}
.page-hero .lead p{margin-bottom:.8rem}
.category-meta,.tags{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}
.category-meta span,.tag{background:var(--light);color:var(--primary);padding:4px 14px;border-radius:12px;font-size:.9rem;font-weight:bold}

/* ── Products grid ── */
.products-section{padding:30px 0 50px}
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:28px}
.product-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.1);transition:transform .3s,box-shadow .3s;text-decoration:none;color:inherit;display:block}
.product-card:hover{transform:translateY(-5px);box-shadow:0 8px 24px rgba(0,0,0,.15)}
.product-card-img{width:100%;aspect-ratio:4/3;background:#f5f5f5;display:flex;align-items:center;justify-content:center;padding:10px;overflow:hidden}
.product-card-img img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.product-card-body{padding:16px}
.product-card-body h2{font-size:1rem;color:var(--dark);margin-bottom:6px;line-height:1.4}
.product-card-body .price{font-size:1.05rem;color:var(--primary);font-weight:bold;margin-bottom:6px}
.product-card-body p{font-size:.88rem;color:#666;line-height:1.5}

/* ── CTA ── */
.cta-wrap{text-align:center;margin-top:40px}
.cta-btn{display:inline-block;background:var(--primary);color:#fff;padding:14px 32px;border-radius:25px;text-decoration:none;font-weight:bold;font-size:1rem;transition:background .3s,transform .2s}
.cta-btn:hover{background:var(--dark);transform:translateY(-2px)}

/* ── Features section ── */
.features-section{background:var(--light);padding:40px 0}
.features-section h2{color:var(--primary);font-size:1.4rem;margin-bottom:24px;text-align:center}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.feature{text-align:center;padding:16px}
.feature-icon{font-size:2rem;margin-bottom:8px}
.feature h3{font-size:1rem;color:var(--dark);margin-bottom:6px}
.feature p{font-size:.9rem;color:#555}

/* ── Spotlight layout (single-product category pages like wooden-lamp) ── */
.product-spotlight{padding:40px 0 50px}
.spotlight-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.spotlight-img-wrap{width:100%;aspect-ratio:4/3;background:#f5f5f5;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:16px;box-shadow:0 4px 20px rgba(0,0,0,.15)}
.spotlight-img-wrap img{max-width:100%;max-height:100%;object-fit:contain;display:block;border-radius:4px}
.spotlight-info h2{font-size:1.6rem;color:var(--dark);margin-bottom:12px;line-height:1.3}
.spotlight-info .price{font-size:1.4rem;font-weight:bold;color:var(--primary);margin-bottom:12px}
.spotlight-info p{font-size:1rem;color:#555;line-height:1.7;margin-bottom:12px}
.spotlight-info ul{padding-left:1.4rem;margin-bottom:16px}
.spotlight-info li{font-size:.95rem;color:#555;margin-bottom:6px}
.spotlight-info .cta-btn{align-self:flex-start}

/* ── Footer ── */
footer{background:var(--dark);color:#fff;padding:2rem 0 1rem}
.footer-inner{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:1.5rem}
.footer-col h3{color:var(--accent);margin-bottom:.6rem;font-size:1.1rem}
.footer-col p,.footer-col a{font-size:.95rem;color:#fff;text-decoration:none;line-height:1.6}
.footer-col a:hover{text-decoration:underline}
.social-links{display:flex;gap:.6rem;margin-top:.5rem}
.social-link{color:#fff;border:1px solid #fff;padding:3px 8px;border-radius:3px;font-size:.85rem;text-decoration:none;transition:all .3s}
.social-link:hover{background:#fff;color:var(--dark)}
.copyright{text-align:center;border-top:1px solid rgba(255,255,255,.1);padding-top:1rem;font-size:.85rem;color:rgba(255,255,255,.7)}

/* ── Responsive ── */
@media(max-width:768px){
  .category-hero h1,.page-hero h1{font-size:1.5rem}
  nav a{margin-left:10px;font-size:.9rem}
  .spotlight-grid{grid-template-columns:1fr}
}

/* ── FAQ section ── */
.faq-section{padding:40px 0 50px}
.faq-section h2{color:var(--primary);font-size:1.4rem;margin-bottom:24px;text-align:center}
.faq-list{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.faq-item{border:1px solid #e8ddd0;border-radius:8px;background:#fff;overflow:hidden}
.faq-item summary{padding:16px 20px;font-weight:bold;color:var(--dark);cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;font-size:1rem;line-height:1.4}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'＋';font-size:1.2rem;color:var(--primary);flex-shrink:0;margin-left:12px;transition:transform .2s}
.faq-item[open] summary::after{content:'−'}
.faq-item p{padding:0 20px 16px;color:#555;font-size:.95rem;line-height:1.7}
.faq-item a{color:var(--primary)}

/* ── Why us section (extended) ── */
.why-section{padding:40px 0;background:#faf6f1}
.why-section h2{color:var(--primary);font-size:1.4rem;margin-bottom:24px;text-align:center}
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.why-item{background:#fff;border-radius:8px;padding:20px;box-shadow:0 1px 6px rgba(0,0,0,.06)}
.why-item .wi-icon{font-size:1.8rem;margin-bottom:8px}
.why-item h3{font-size:1rem;color:var(--dark);margin-bottom:6px}
.why-item p{font-size:.88rem;color:#666;line-height:1.6}

/* ── Price cards ── */
.price-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-top:24px}
.price-group{border:1px solid #e8ddd0;border-radius:10px;overflow:hidden}
.price-group-header{background:var(--light);padding:14px 20px;border-bottom:1px solid #e8ddd0}
.price-group-header h3{color:var(--primary);font-size:1rem;margin:0}
.price-group-body{padding:16px 20px;display:flex;flex-direction:column;gap:10px}
.pg-item{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.pg-item img{width:56px;height:56px;object-fit:cover;border-radius:6px;flex-shrink:0;background:#f5f5f5}
.pg-item-info h4{font-size:.9rem;color:var(--dark);margin-bottom:2px}
.pg-item-info .price{font-size:.9rem;color:var(--primary);font-weight:bold}

/* ── Intro text with image ── */
.intro-with-img{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:30px 0}
.intro-with-img img{width:100%;border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,.12);display:block}
.intro-text h2{font-size:1.3rem;color:var(--dark);margin-bottom:12px}
.intro-text p{color:#555;line-height:1.7;margin-bottom:10px;font-size:.97rem}

@media(max-width:768px){
  .intro-with-img{grid-template-columns:1fr}
  .price-groups{grid-template-columns:1fr}
}

/* ── Section subheading (used in gift and other pages) ── */
.section-subheading{text-align:center;color:var(--primary);margin-bottom:28px;font-size:1.3rem}
