/* ============================================================
   Cookie banner — reserve space so it never overlays content
   Target: .wd-cookies-popup (Woodmart)
   ============================================================ */

:root {
  --wd-cookie-h: 0px;
}

/* Space is reserved only while the banner is actually on screen.
   Fixed-position elements ignore body padding, so the banner itself
   is unaffected — only the document flow shifts. */
body.wd-cookies-visible {
  padding-bottom: var(--wd-cookie-h);
}

/* Optional: keep the bar to a single line on desktop/tablet so it
   stops growing from 72px to 138px at the 768 breakpoint. */
.wd-cookies-popup .wd-cookies-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.wd-cookies-popup .cookies-info-text {
  text-align: left;
  margin: 0;
}

.wd-cookies-popup .cookies-buttons {
  flex: 0 0 auto;
  margin: 0;
}

/* Below 768 let it wrap and centre — a single line is unreadable there. */
@media (max-width: 768px) {
  .wd-cookies-popup .wd-cookies-inner {
        justify-content: center;
        flex-direction: row !important;
        padding: 0;
  }
  
  .wd-cookies-popup .cookies-info-text {
    text-align: left;
    font-size: 15px;
  }
  
  .wd-cookies-inner .cookies-buttons {
        margin-top: 0 !important;
  }
}

@media (max-width: 479px) {
  .wd-cookies-popup .wd-cookies-inner {
    flex-wrap: wrap;
    flex-direction: column !important;
  }
  .wd-cookies-popup .cookies-info-text {
    text-align: center;
  }
}