/*
Theme Name: beste-munddusche
Description: bestemunddusche.com — clone of irrigadordental10.es design
Version: 2.0
WPVibe: yes
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji";
  font-size: 17px;
  line-height: 25.5px;
  color: rgb(34,34,34);
  background: rgb(247,248,249);
}

a { color: rgb(30,115,190); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
#site-header {
  width: 100%;
  background: transparent;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.site-logo a { text-decoration: none; }
.logo-text {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 22px;
  color: rgb(34,34,34);
  letter-spacing: -0.5px;
}
.logo-text strong { font-weight: 700; color: rgb(30,115,190); }

/* NAV */
#primary-nav ul { list-style: none; display: flex; align-items: center; gap: 0; }

#primary-nav > ul > li > a,
#primary-nav > ul > li > button {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgb(34,34,34);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1.4;
}

#primary-nav > ul > li > a:hover,
#primary-nav > ul > li > button:hover {
  color: rgb(30,115,190);
  text-decoration: none;
}

.has-dropdown { position: relative; }
.has-dropdown .arrow { font-size: 10px; margin-left: 2px; vertical-align: middle; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 100;
  min-width: 220px;
  padding: 4px 0;
  border: 1px solid #f0f0f0;
}

.dropdown li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: rgb(34,34,34);
  white-space: nowrap;
}
.dropdown li a:hover { color: rgb(30,115,190); background: rgb(247,248,249); text-decoration: none; }
.has-dropdown:hover .dropdown { display: block; }

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgb(34,34,34);
  transition: all 0.2s;
}

/* ===== PAGE BACKGROUND ===== */
.page-bg { background: rgb(247,248,249); }

/* ===== ARTICLE (individual pages) ===== */
.page-article {
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.article-title-wrap {
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.article-title-wrap h1 {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
  color: rgb(34,34,34);
}

.article-body { font-family: "Roboto", sans-serif; }

.article-body p {
  font-size: 17px;
  color: rgb(34,34,34);
  line-height: 25.5px;
  margin-bottom: 16px;
}

.article-body h2 {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: rgb(34,34,34);
  margin: 32px 0 12px;
  line-height: 1.3;
}

.article-body h3 {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: rgb(110,193,228);
  margin: 24px 0 8px;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.article-body li {
  font-size: 17px;
  line-height: 25.5px;
  color: rgb(34,34,34);
  margin-bottom: 8px;
}

.article-body a { color: rgb(30,115,190); }
.article-body strong { font-weight: 600; }

/* ===== HOMEPAGE SECTIONS ===== */

/* Hero */
.section-hero {
  background: #fff;
  padding: 40px 16px;
  text-align: center;
}
.section-hero .container { max-width: 1000px; margin: 0 auto; }

.section-hero h2 {
  font-family: "RocknRoll One", sans-serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 35px;
  color: #000;
  margin-bottom: 20px;
}

.section-hero p {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(122,122,122);
  line-height: 25.5px;
  margin-bottom: 24px;
}

.hero-search {
  margin-bottom: 32px;
}
.hero-search input {
  width: 100%;
  padding: 10px 12px;
  font-size: 17px;
  font-family: "Roboto", sans-serif;
  background: rgb(235,235,235);
  border: none;
  outline: none;
  color: rgb(34,34,34);
}

/* Product Cards */
.section-products {
  background: #fff;
  padding: 0 16px;
}
.section-products .container {
  max-width: 1200px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  display: block;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}
.product-card:hover { text-decoration: none; }
.product-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  transition: transform 0.2s;
}
.product-card:hover img { transform: scale(1.05); }
.product-card h3 {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 19px;
  color: rgb(110,193,228);
  margin-top: 12px;
}

/* Amazon / Featured section */
.section-heading {
  background: #fff;
  padding: 48px 16px;
  text-align: center;
}
.section-heading .container { max-width: 900px; margin: 0 auto; }
.section-heading h2 {
  font-family: "RocknRoll One", sans-serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 35px;
  color: #000;
  margin-bottom: 16px;
}
.section-heading p {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(122,122,122);
  line-height: 25.5px;
}

/* Analysis / Comparison */
.section-analysis {
  background: rgb(247,248,249);
  padding: 48px 16px;
}
.section-analysis .container { max-width: 1200px; margin: 0 auto; }
.section-analysis h2 {
  font-family: "RocknRoll One", sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 16px;
}
.section-analysis > .container > p {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(122,122,122);
  line-height: 25.5px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
}

.type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.type-card {
  display: block;
  text-align: center;
  text-decoration: none;
}
.type-card:hover { text-decoration: none; }
.type-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.2s;
}
.type-card:hover img { transform: scale(1.05); }
.type-card h3 {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: rgb(110,193,228);
  margin-top: 12px;
}

/* Comparison Tables */
.comparison-table { margin-top: 32px; }
.comparison-table h3 {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: rgb(34,34,34);
  margin-bottom: 12px;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  overflow-x: auto;
  display: block;
}
.comparison-table thead tr { background: rgb(30,115,190); color: #fff; }
.comparison-table th {
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  white-space: nowrap;
}
.comparison-table td { padding: 10px 12px; }
.comparison-table tbody tr:nth-child(even) { background: rgb(247,248,249); }
.comparison-table tbody tr:nth-child(odd) { background: #fff; }
.comparison-table td a { color: rgb(30,115,190); font-weight: 600; }

/* Benefits */
.section-benefits {
  background: #fff;
  padding: 48px 16px;
}
.section-benefits .container { max-width: 900px; margin: 0 auto; }
.section-benefits h2 {
  font-family: "RocknRoll One", sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 24px;
}
.section-benefits p {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(34,34,34);
  line-height: 25.5px;
  margin-bottom: 20px;
}

/* Tips */
.section-tips {
  background: rgb(247,248,249);
  padding: 48px 16px;
}
.section-tips .container { max-width: 900px; margin: 0 auto; }
.section-tips h2 {
  font-family: "RocknRoll One", sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 16px;
}
.section-tips > .container > p {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(122,122,122);
  line-height: 25.5px;
  margin-bottom: 24px;
}
.tips-list {
  list-style: decimal;
  padding-left: 20px;
}
.tips-list li {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(34,34,34);
  line-height: 25.5px;
  margin-bottom: 12px;
}

/* Guides */
.section-guides {
  background: #fff;
  padding: 48px 16px;
}
.section-guides .container { max-width: 1200px; margin: 0 auto; }
.section-guides h2 {
  font-family: "RocknRoll One", sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
}
.section-guides > .container > p {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(122,122,122);
  line-height: 25.5px;
  margin-bottom: 32px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.guide-card {
  display: block;
  text-align: center;
  text-decoration: none;
}
.guide-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: rgb(247,248,249);
  transition: transform 0.2s;
}
.guide-card:hover img { transform: scale(1.05); }
.guide-card h3 {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: rgb(110,193,228);
  margin-top: 12px;
}

/* Brands */
.section-brands {
  background: rgb(247,248,249);
  padding: 48px 16px;
}
.section-brands .container { max-width: 1200px; margin: 0 auto; }
.section-brands h2 {
  font-family: "RocknRoll One", sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
}
.section-brands > .container > p {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(122,122,122);
  line-height: 25.5px;
  margin-bottom: 32px;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-item {
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}
.brand-item img { width: 100%; height: 100%; object-fit: contain; }

/* FAQ */
.section-faq {
  background: #fff;
  padding: 48px 16px;
}
.section-faq .container { max-width: 900px; margin: 0 auto; }
.section-faq h2 {
  font-family: "Roboto", sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 32px;
}
.faq-item { border-bottom: 1px solid rgb(206,201,201); }
.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: rgb(34,34,34);
}
.faq-question .faq-arrow {
  color: rgb(30,115,190);
  font-size: 12px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-question.open .faq-arrow { transform: rotate(90deg); }
.faq-answer {
  display: none;
  padding: 0 0 16px 24px;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: rgb(34,34,34);
  line-height: 25.5px;
}
.faq-answer.open { display: block; }

/* ===========================
   Amazon Products Section
   =========================== */
.section-amazon {
  padding: 48px 16px;
  background: rgb(247,248,249);
}
.section-amazon .container { max-width: 1200px; margin: 0 auto; }
.section-amazon h2 {
  font-family: 'RocknRoll One', sans-serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
  color: rgb(34,34,34);
  margin-bottom: 16px;
}
.section-amazon > .container > p {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  color: rgb(122,122,122);
  line-height: 1.5;
  margin-bottom: 32px;
}
.amazon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px)  { .amazon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .amazon-grid { grid-template-columns: repeat(5, 1fr); } }
.amazon-card {
  background: #fff;
  border: 1px solid rgb(206,201,201);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.prime-badge {
  align-self: flex-end;
  font-size: 11px;
  font-weight: 700;
  background: rgb(39,174,96);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 4px;
}
.amazon-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.amazon-title {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgb(34,34,34);
  margin: 12px 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.amazon-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgb(17,17,17);
  text-decoration: none;
  border-radius: 4px;
  background: linear-gradient(rgb(247,223,165), rgb(240,193,75));
  transition: opacity 0.2s;
}
.amazon-btn:hover { opacity: 0.88; }

/* ===== FOOTER ===== */
.footer-body { background: #fff; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.footer-col h3 {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: rgb(17,17,17);
  margin-bottom: 12px;
}
.footer-col p {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: rgb(73,76,79);
  line-height: 21px;
}
.footer-center { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-logo .logo-text { font-size: 18px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
  text-decoration: none;
}
.social-fb { background: #1877f2; }
.social-ig { background: #1c1c1e; font-size: 11px; }
.footer-blog { font-family: "Roboto", sans-serif; font-size: 15px; color: rgb(34,34,34); }
.footer-blog a { color: rgb(30,115,190); font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.footer-links a { font-size: 14px; color: rgb(30,115,190); }
.footer-payment .payment-box {
  border: 1px solid rgb(206,201,201);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}
.footer-payment .payment-box p {
  font-size: 11px;
  color: rgb(102,102,102);
  font-family: "Roboto", sans-serif;
}
.footer-copyright {
  background: rgb(247,248,249);
  padding: 16px;
  text-align: center;
}
.footer-copyright p {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: rgb(73,76,79);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  #primary-nav {
    display: none;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgb(206,201,201);
    padding: 16px;
    z-index: 200;
  }
  #primary-nav.open { display: block; }
  #primary-nav ul { flex-direction: column; gap: 0; }
  #primary-nav > ul > li > a,
  #primary-nav > ul > li > button { padding: 10px 0; border-bottom: 1px solid #f0f0f0; width: 100%; }
  .dropdown { display: none !important; position: static; box-shadow: none; }

  .products-grid { grid-template-columns: 1fr; }
  .type-cards { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-title-wrap h1 { font-size: 32px; }
  .comparison-table table { font-size: 12px; }
}

@media (max-width: 480px) {
  .guides-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

#site-header { position: relative; }
