/* universal-style.css
   Universal site stylesheet for BestWashingMachine.in
   - Mobile-first
   - Global tokens, layout, header/footer, article, product cards, utilities
   - Author: Generated for user (Option A styling)
*/

/* --------------------------
   DESIGN TOKENS / VARIABLES
   -------------------------- */
:root{
  --maxw:1100px;
  --page-pad:18px;

  --bg: #f7fafc;
  --card: #ffffff;
  --muted: #6b7280;
  --text: #0f1724;
  --accent: #1e73be;
  --accent-2: #0b63a3;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --shadow-sm: 0 6px 18px rgba(16,24,40,0.04);
  --shadow-md: 0 10px 30px rgba(16,24,40,0.06);

  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --base-font-size: 16px;
}

/* --------------------------
   RESET / BASE
   -------------------------- */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font-sans);
  font-size:var(--base-font-size);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background:var(--bg);
  color:var(--text);
}

/* make images responsive by default */
img{max-width:100%;height:auto;display:block}

/* anchors */
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

/* utility helpers (small but useful set) */
.container{max-width:var(--maxw);margin:20px auto;padding:var(--page-pad)}
.center{text-align:center}
.small{font-size:13px;color:var(--muted)}
.muted{color:var(--muted)}
.badge{display:inline-block;background:#e8f4ff;color:var(--accent);padding:6px 8px;border-radius:8px;font-weight:700;font-size:12px}
.round{border-radius:var(--radius)}

/* spacing helpers */
.mt-6{margin-top:6px}
.mt-8{margin-top:8px}
.mt-12{margin-top:12px}
.mb-12{margin-bottom:12px}

/* --------------------------
   TYPOGRAPHY
   -------------------------- */
h1{font-size:22px;margin:0;color:var(--text);line-height:1.2}
h2{font-size:18px;margin-top:18px;margin-bottom:8px}
h3{font-size:16px;margin:0}
h4{font-size:15px;margin:0}
p{margin:0 0 12px 0}

/* --------------------------
   HERO
   -------------------------- */
.hero{
  display:flex;
  gap:18px;
  align-items:center;
  background:linear-gradient(180deg,#fff,#f5f9ff);
  padding:18px;
  border-radius:12px;
  box-shadow:var(--shadow-md);
}
.hero img{width:100%;height:150px;object-fit:cover;border-radius:10px;}

/* --------------------------
   ARTICLE / POST
   -------------------------- */
.post-content{
  background:var(--card);
  padding:18px;
  border-radius:12px;
  box-shadow:var(--shadow-md);
  margin-top:16px;
}

.post-content h2{margin-top:18px}
.post-content .toc{margin:10px 0 18px 0;padding-left:18px}

/* content images */
.article-figure{display:block;margin:12px 0;border-radius:10px;overflow:hidden}
.article-figure img{width:100%;height:auto;display:block}

/* blockquote */
blockquote{border-left:4px solid #eef6ff;padding-left:12px;color:#3b4a5a;margin:8px 0}

/* --------------------------
   PRODUCT CARD — HORIZONTAL (NEW universal style)
   -------------------------- */
.product-card-horizontal{
  display:flex;
  gap:18px;
  padding:18px;
  border-radius:14px;
  background:var(--card);
  box-shadow:var(--shadow-md);
  margin-bottom:18px;
  align-items:flex-start;
}

/* image (left) — small and responsive */
.pc-image{
  flex:0 0 160px;
  width:160px;
  height:120px;
  border-radius:10px;
  overflow:hidden;
  background:#fafcff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pc-image img{width:100%;height:100%;object-fit:cover;display:block}

/* content */
.pc-content{flex:1;display:flex;flex-direction:column;gap:10px}
.pc-title{font-size:18px;margin:0;font-weight:700}
.pc-sub{margin:0;color:var(--muted);font-size:14px}
.pc-meta{font-size:13px;color:var(--muted)}
.pc-review{color:var(--text);line-height:1.6}

/* specs table */
.pc-specs-table{width:100%;border-collapse:collapse;margin-top:8px}
.pc-specs-table td{padding:8px;border-bottom:1px solid #eef4fb;font-size:14px}

/* pros/cons/who columns */
.pc-flex{display:flex;gap:12px;margin-top:10px;flex-wrap:wrap}
.pc-col{flex:1;min-width:180px}
.pc-col h4{margin:0 0 6px 0;font-size:15px}
.pc-col ul{margin:0;padding-left:18px;color:#333}

/* CTA row */
.pc-cta{display:flex;gap:12px;align-items:center;margin-top:12px}
.btn-deal{
  display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;padding:10px 14px;border-radius:10px;font-weight:700;text-decoration:none;border:0;
  box-shadow:0 8px 20px rgba(30,115,190,0.12);
}
.btn-deal:hover{background:var(--accent-2)}
.price-pill{background:rgba(14,78,135,0.06);padding:8px 10px;border-radius:10px;font-weight:700;color:var(--accent-2);font-size:14px}

/* small text under products */
.product-source{font-size:12px;color:var(--muted);margin-top:8px}

/* --------------------------
   GRID & LISTS
   -------------------------- */
.products-grid{display:block}

/* tools / cards grid (for other pages) */
.grid-3{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(1,1fr);
}
@media(min-width:720px){
  .grid-3{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:1024px){
  .grid-3{grid-template-columns:repeat(3,1fr)}
}

/* card style */
.card{
  background:var(--card);
  border-radius:12px;
  padding:14px;
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(15,23,42,0.03);
}

/* --------------------------
   TABLES
   -------------------------- */
.resp-table{width:100%;border-collapse:collapse;margin-top:14px;font-size:14px}
.resp-table th,.resp-table td{padding:12px;border-bottom:1px solid #eef2f6;text-align:left}
.resp-table thead th{background:#fbfdff;font-weight:700}

/* --------------------------
   FORMS
   -------------------------- */
input[type="text"],input[type="search"],select,textarea{
  border:1px solid #e6eef7;padding:10px;border-radius:10px;background:#fff;font-size:14px;outline:none;
}
input:focus,select:focus,textarea:focus{box-shadow:0 6px 18px rgba(30,115,190,0.06);border-color:var(--accent)}

/* --------------------------
   RESPONSIVENESS
   -------------------------- */
/* mobile-first: image moves above on small screens */
@media(max-width:720px){
  .product-card-horizontal{flex-direction:column;align-items:stretch;padding:14px}
  .pc-image{width:100%;height:160px;flex:0 0 auto}
  .pc-content{padding:6px 0}
  .hero{flex-direction:column}
  .hero img{width:100%;height:150px}
  .site-header .site-header-inner{padding:10px}
  .site-nav{display:none} /* assume mobile menu will be toggled with JS */
}

/* larger screens tweaks */
@media(min-width:1024px){
  h1{font-size:26px}
  h2{font-size:20px}
  .pc-image{flex-basis:180px;width:180px;height:140px}
}

/* --------------------------
   ACCESSIBILITY / FOCUS
   -------------------------- */
a:focus,button:focus,input:focus{outline:3px solid rgba(30,115,190,0.12);outline-offset:2px}
.sr-only{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* --------------------------
   MINOR COMPONENTS / BADGES / TAGS
   -------------------------- */
.kicker{display:inline-block;padding:6px 10px;border-radius:8px;background:#f0f7ff;color:var(--accent);font-weight:700;font-size:12px}
.rating-pill{background:#fff;color:#111;padding:6px 8px;border-radius:8px;border:1px solid #eef2f6;font-weight:700;display:inline-block}

/* --------------------------
   UTILITY CLASSES (helpers)
   -------------------------- */
.flex{display:flex}
.items-center{align-items:center}
.justify-between{justify-content:space-between}
.gap-12{gap:12px}
.text-center{text-align:center}
.hidden{display:none!important}

/* --------------------------
   LIGHTWEIGHT MINIFIED NOTES
   -------------------------- */
/* For speed: copy only above rules to a minified file style.min.css if required. */

/* --------------------------
   END OF FILE
   -------------------------- */
   /* --- COMPACT HEADER --- */
   /* ========== CONTAINER ========== */
.df-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.df-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
}

.df-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.df-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #1e73be;
  text-decoration: none;
}

/* Nav Menu */
.df-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.df-nav a,
.df-dropdown button {
  font-size: 16px;
  color: #0f172a;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 0;
}

.df-nav a:hover,
.df-dropdown button:hover {
  color: #1e73be;
}

/* Dropdown */
.df-dropdown {
  position: relative;
}

.df-dropdown-menu {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.df-dropdown:hover .df-dropdown-menu {
  display: block;
}

.df-dropdown-menu a {
  display: block;
  padding: 8px 15px;
  font-size: 15px;
  color: #0f172a;
}

.df-dropdown-menu a:hover {
  background: #f3f4f6;
}

/* Hamburger (Mobile) */
.df-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
}

.df-menu-btn span {
  width: 24px;
  height: 2px;
  background: #0f172a;
}

/* ======== MOBILE NAV ======== */
@media (max-width: 768px) {

  .df-menu-btn {
    display: flex;
  }

  .df-nav {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    border-top: 1px solid #e5e7eb;
    padding: 15px 0;
  }

  .df-nav.df-active {
    display: flex;
  }
}

/* ========== FOOTER ========== */
.df-footer {
  background: #0f172a;
  padding: 40px 0 20px;
  color: #e2e8f0;
}

.df-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.df-footer-col h4 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 16px;
}

.df-footer-col a {
  display: block;
  margin: 4px 0;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
}

.df-footer-col a:hover {
  color: #1e73be;
}

.df-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e73be;
  font-size: 20px;
  font-weight: 700;
}

center {
  text-align: center;
}

.df-footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid #1e293b;
  font-size: 14px;
  color: #94a3b8;
}

/* ===== PREMIUM HERO SECTION ===== */

.home-hero {
  margin-top: 25px;
  margin-bottom: 10px;
}

.home-hero-box {
  background: #f8fafc; /* soft premium background */
  border: 1px solid #e2e8f0;
  padding: 28px 28px;
  border-radius: 14px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
}

.home-hero-box h1 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.2;
}

.home-hero-box p {
  color: #475569;
  font-size: 17px;
  margin-bottom: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta {
  margin-top: 8px;
}

@media (max-width: 600px) {
  .home-hero-box {
    padding: 22px 18px;
  }
  .home-hero-box h1 {
    font-size: 24px;
  }
  .home-hero-box p {
    font-size: 15px;
  }
}

