/**
 * BuntuCart ↔ Elementor / WordPress compatibility.
 * Makes Elementor containers invisible wrappers so sections render exactly like the static site.
 */

/* Section containers: no padding, gap, margin or max-width */
.e-con.bc-section,
.elementor-element.bc-section {
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --margin-top: 0px;
  --margin-bottom: 0px;
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  --container-max-width: 100%;
  --content-width: 100%;
  --width: 100%;
  padding: 0;
  margin: 0;
  max-width: 100%;
}
.bc-section > .e-con-inner { padding: 0; max-width: 100%; }
.bc-section .elementor-widget-html,
.bc-section .elementor-widget-html > .elementor-widget-container {
  width: 100%;
  margin: 0;
  padding: 0;
}
.elementor-widget-html:not(:last-child) { margin-bottom: 0; }

/* Theme Builder header/footer wrappers add no spacing */
.elementor-location-header .e-con.bc-section,
.elementor-location-footer .e-con.bc-section { padding: 0; }

/* Elementor's generic img reset must not override the design's logo/badge sizes */
.elementor .nav-logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; max-width: none; }
.elementor .meta-badge-footer img { height: 38px; width: auto; max-width: none; border-radius: 6px; }
.elementor a { box-shadow: none; }

/* Elementor kit typography must not leak into the design */
body.buntucart { font-family: 'DM Sans', sans-serif; }

/* Sticky refund TOC needs a non-clipping ancestor */
.info-page .main-container { overflow: visible; overflow-x: clip; }

/* WordPress admin bar sits above the fixed nav */
.admin-bar nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar nav { top: 46px; }
}

/* Accessibility helpers */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
  top: 10px; left: 16px; z-index: 1000; padding: 12px 16px;
  background: var(--green); color: #fff; border-radius: 8px; text-decoration: none;
}
.alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
