/* Ajustements responsives complémentaires — approche mobile-first. */

.af-entry__content table,
.af-article__content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.af-entry__content th,
.af-entry__content td,
.af-article__content th,
.af-article__content td {
  min-width: 130px;
  padding: .65rem;
  border: 1px solid var(--af-border);
  text-align: left;
}

.af-entry__content .af-price-card-table table {
  display: table;
  overflow: visible;
}

.af-entry__content .af-price-card-table td {
  min-width: 0;
  padding: .68rem 0;
  border: 0;
  border-top: 1px solid var(--af-border);
}

.af-entry__content .af-price-card-table td:last-child {
  padding-left: 1rem;
  text-align: right;
}

@media (max-width: 1079px) {
  .af-nav { overscroll-behavior: contain; }
  .af-nav__cta { margin-top: .4rem; }
  .af-entry__content .wp-block-columns { gap: 0; }
  .af-block-services .wp-block-column,
  .af-block-commitments .wp-block-column { border-left: 0; border-top: 1px solid var(--af-border); }
  .af-block-services .wp-block-column:first-child,
  .af-block-commitments .wp-block-column:first-child { border-top: 0; }
  .af-retouch-process-section .af-process > .wp-block-column + .wp-block-column { border-left: 0; border-top: 1px solid var(--af-border); }
  .af-refashion-process > .wp-block-column + .wp-block-column { border-left: 0; border-top: 1px solid var(--af-border); }
  .af-eco-section__content { min-height: 480px; }
  .af-refashion-mark { margin-right: auto; }
}

@media (max-width: 782px) {
  body.admin-bar .af-header { top: 0; }
}

@media (max-width: 559px) {
  .af-topbar__inner { width: min(100% - 1rem, var(--af-container)); gap: .45rem; }
  .af-topbar__message { min-width: 0; font-size: .69rem; line-height: 1.3; }
  .af-topbar__message svg { width: 15px; height: 15px; }
  .af-topbar .af-socials { gap: .3rem; }
  .af-topbar .af-socials a { width: 26px; height: 26px; }
  .af-button { width: 100%; }
  .af-cta__actions { width: 100%; }
  .af-page-hero__media img { object-position: 62% center; }
  .af-entry { padding-bottom: 3rem; }
  .af-form-section { padding-inline: 1rem; }
  .af-form-section input[type="file"] { font-size: .8rem; }
  .af-post-card__body, .af-realisation-card__body { padding-inline: 1rem; }
  .af-footer__grid { padding-right: 2.5rem; }
  .af-refashion-panel { min-height: 330px; }
  .af-contact-panel { min-height: 0; }
}

@media (max-width: 360px) {
	.af-topbar .af-socials { display: none; }
	.af-navbar__inner { gap: .35rem; }
	.af-brand { width: 174px; }
	.af-brand__medallion { width: 44px; height: 44px; flex-basis: 44px; }
	.af-brand__image { width: min(124px, calc(100% - 50px)); }
  .af-menu-button { padding-inline: .25rem; }
  .af-hero h1 { font-size: 2.65rem; }
  .af-section__title { font-size: 1.65rem; }
}
