/*
 * Foodtruck Front - responsive hardening
 * Target: develop_v2
 * Scope: presentation only. No backend/API behavior changed.
 */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
canvas {
  max-width: 100%;
}

/* Product banner: keep the title positioned against the banner, not the viewport. */
.item-banniere-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: -60px;
  background: #000;
}

.item-banniere-wrapper .item-banniere-produit {
  margin-top: 0;
}

.item-banniere-wrapper .item-banniere-position {
  top: 50%;
  width: 100%;
  padding: 0 18px;
  text-align: center;
}

/* Drawers / long mobile checkout. */
.sidenavR,
.detailProduit {
  max-width: 100vw;
}

.item-side-scroll {
  height: 100vh;
  height: 100dvh;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* QR payment modal. */
#modal_qrcode_paiement .payment-qr-box {
  max-width: 100%;
  box-sizing: border-box;
}

#modal_qrcode_paiement .payment-qr-box img {
  max-width: min(250px, 65vw) !important;
}

/* Selection screen. */
.switch_index .container.row {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  /*
   * Bootstrap locks the page behind an open modal. On small screens the
   * modal itself must therefore own the vertical scroll.
   */
  body.modal-open {
    overflow: hidden !important;
  }

  .modal {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .modal.show,
  .modal.in {
    display: block;
  }

  .modal .modal-dialog {
    min-height: 0 !important;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: 12px auto !important;
  }

  .modal .modal-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: hidden !important;
  }

  .modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .modal .modal-header,
  .modal .modal-footer {
    flex: 0 0 auto;
  }

  /*
   * Some legacy modals contain .item-side-scroll with a 100vh height.
   * Inside a modal that prevents the Bootstrap body from becoming the
   * actual scroll container, so let the modal-body manage scrolling.
   */
  .modal .item-side-scroll {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Neutralize the 45px inline top padding used by the legacy transparent navbar. */
  .ft-navbar {
    height: auto !important;
    min-height: 60px;
    padding: 10px 18px 8px !important;
  }

  .nav-container {
    width: 100%;
    align-items: center;
  }

  .nav-logo {
    width: 48px;
    flex: 0 0 48px;
  }

  .nav-mobile {
    display: flex;
  }

  .item-banniere-wrapper {
    margin-top: -46px;
  }

  .item-banniere-wrapper .item-banniere-produit {
    height: clamp(190px, 55vw, 260px);
  }

  .item-banniere-wrapper .item-banniere-position {
    top: 50% !important;
  }

  .item-titre-page-produit {
    padding: 0 12px;
    font-size: clamp(18px, 5vw, 26px);
    line-height: 1.2;
  }

  /* Floating cart should not depend on a hard-coded 420px top position. */
  .item-panier-badge {
    top: auto !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .sidenavR,
  .detailProduit {
    height: 100vh;
    height: 100dvh;
  }

  .sidenavR .item-width-side,
  .detailProduit .item-width-side {
    width: 100%;
    max-width: 100%;
  }

  .modal-dialog {
    width: auto !important;
    max-width: calc(100vw - 24px);
    margin: 12px auto;
  }

  .modal-content {
    max-width: 100%;
  }

  .modal-body {
    overflow-wrap: anywhere;
  }

  .form-control,
  .select2-container {
    max-width: 100%;
  }

  /* Kitchen top information bar. */
  .kitchen .bg-gris.content-padding.text-xs {
    gap: .5rem !important;
    text-align: center;
  }

  .kitchen .bg-gris.content-padding.text-xs > .flex {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Kitchen hero: preserve image coverage without fixed-height overflow. */
  .kitchen .header_section {
    min-height: 220px;
    height: auto !important;
    overflow: hidden;
  }

  .kitchen .header_section > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .kitchen .header_section > .absolute {
    position: relative !important;
    margin-top: 0 !important;
    padding: 18px 12px;
  }

  .kitchen .card_plat .img_plat {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .kitchen #form_newsletters form {
    min-width: 0;
  }

  #modal_qrcode_paiement .modal-dialog {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    min-height: calc(100vh - 16px);
    min-height: calc(100dvh - 16px);
    margin: 8px auto !important;
  }

  #modal_qrcode_paiement .modal-content {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    overflow-y: auto !important;
    border-radius: 14px !important;
  }

  #modal_qrcode_paiement .payment-modal-header {
    padding: 22px 18px 16px !important;
  }

  #modal_qrcode_paiement .payment-modal-header h4 {
    font-size: 18px;
    line-height: 1.25;
  }

  #modal_qrcode_paiement .payment-modal-header p {
    font-size: 12px !important;
  }

  #modal_qrcode_paiement .payment-modal-content {
    padding: 14px !important;
  }

  #modal_qrcode_paiement .payment-qr-box {
    padding: 10px !important;
    margin-bottom: 12px !important;
  }

  #modal_qrcode_paiement .payment-qr-box img {
    max-width: min(210px, 62vw) !important;
  }

  #modal_qrcode_paiement .payment-info-row {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 2px;
    text-align: left;
  }

  #modal_qrcode_paiement .payment-wait-box {
    align-items: flex-start !important;
    padding: 12px !important;
  }

  .switch_index .select {
    min-height: 220px;
  }

  .switch_index .select > img.w-full {
    height: clamp(220px, 55vw, 300px) !important;
  }
}

@media (max-width: 480px) {
  .ft-navbar {
    min-height: 56px;
    padding: 8px 14px 6px !important;
  }

  .nav-logo {
    width: 44px;
    flex-basis: 44px;
  }

  .item-banniere-wrapper {
    margin-top: -44px;
  }

  .item-panier-badge {
    right: 10px !important;
  }

  .item-panier-badge .item-icon-panier {
    width: 48px;
    height: 48px;
    line-height: 48px;
  }

  .item-panier-badge .item-icon-panier img {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 9px !important;
  }

  .ft-product .p-details {
    padding: 0 6px;
  }

  .ft-product .p-details .p-name {
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .panier-table {
    overflow-x: hidden;
  }

  #panier_final .row {
    margin-left: 0;
    margin-right: 0;
  }

  #panier_final [class*="col-"] {
    min-width: 0;
  }

  .item-btn-panier .content-title {
    font-size: 13px;
  }

  .kitchen .list_plats_container {
    gap: .75rem !important;
  }

  .kitchen .card_plat .designation,
  .kitchen .card_plat .price {
    font-size: 12px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .kitchen #form_newsletters {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .kitchen #form_newsletters form {
    gap: .25rem;
    padding: .4rem .5rem !important;
  }

  .kitchen #form_newsletters button {
    white-space: nowrap;
    padding-left: .65rem !important;
    padding-right: .65rem !important;
  }
}

@media (max-width: 360px) {
  #modal_qrcode_paiement .payment-qr-box img {
    max-width: 185px !important;
  }

  .kitchen .header_section .w-40 {
    width: 96px !important;
    height: 96px !important;
  }
}


/* Point de vente modal */
#modal_addpointdevente .point-sale-dialog {
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 24px auto;
}

#modal_addpointdevente .point-sale-modal {
  border: 0;
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

#modal_addpointdevente .point-sale-scroll {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  overflow-y: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

#modal_addpointdevente .point-sale-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #6f6255;
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  cursor: pointer;
}

#modal_addpointdevente .point-sale-header {
  padding: 26px 64px 22px;
  text-align: center;
  border-bottom: 1px solid #eee8e1;
  background: linear-gradient(135deg, rgba(202, 158, 103, .20) 0%, rgba(202, 158, 103, .05) 100%);
}

#modal_addpointdevente .point-sale-kicker {
  margin-bottom: 5px;
  color: #9a754a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#modal_addpointdevente .pt-titre-modal {
  margin: 0;
  color: #231f20;
  font-size: 24px !important;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

#modal_addpointdevente .point-sale-subtitle {
  max-width: 520px;
  margin: 8px auto 0;
  color: #746d67;
  font-size: 13px;
  line-height: 1.45;
}

#modal_addpointdevente .point-sale-grid {
  padding: 18px 22px 22px;
}

#modal_addpointdevente .point-sale-row {
  margin-right: -8px;
  margin-left: -8px;
}

#modal_addpointdevente .point-sale-col {
  display: flex;
  flex-direction: column;
  padding: 8px !important;
  margin: 0 !important;
}

#modal_addpointdevente .point-sale-card {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 270px;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #ece6df;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(40, 31, 24, .07);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
}

#modal_addpointdevente .point-sale-card:hover,
#modal_addpointdevente .point-sale-card:active {
  transform: translateY(-2px);
  border-color: rgba(202, 158, 103, .7);
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(40, 31, 24, .12);
}

#modal_addpointdevente .point-sale-card:hover .pt-titre,
#modal_addpointdevente .point-sale-card:active .pt-titre {
  color: #231f20 !important;
}

#modal_addpointdevente .pv-container .chk:checked ~ .point-sale-card {
  border: 2px solid #CA9E67;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(202, 158, 103, .16), 0 12px 28px rgba(40, 31, 24, .12);
}

#modal_addpointdevente .point-sale-image-wrap {
  position: relative;
  height: 155px;
  overflow: hidden;
  background: #f5f2ee;
}

#modal_addpointdevente .point-sale-image-wrap .pt-image {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform .25s ease;
}

#modal_addpointdevente .point-sale-card:hover .pt-image {
  transform: scale(1.025);
}

#modal_addpointdevente .point-sale-image-wrap .pt-image.pt-image-fallback {
  padding: 28px;
  object-fit: contain;
  background: #f7f3ee;
}

#modal_addpointdevente .point-sale-status {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

#modal_addpointdevente .point-sale-status .badge-open,
#modal_addpointdevente .point-sale-status .badge-closed {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}

#modal_addpointdevente .point-sale-status .badge-open { background: #2f9d55; }
#modal_addpointdevente .point-sale-status .badge-closed { background: #d9484f; }

#modal_addpointdevente .point-sale-selected {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #CA9E67;
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}

#modal_addpointdevente .pv-container .chk:checked ~ .point-sale-card .point-sale-selected {
  opacity: 1;
  transform: scale(1);
}

#modal_addpointdevente .point-sale-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  padding: 15px 14px 14px;
  text-align: center;
}

#modal_addpointdevente .point-sale-card .pt-titre {
  min-height: 0;
  margin: 0 !important;
  color: #231f20;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

#modal_addpointdevente .point-sale-availability {
  margin-top: 6px;
  color: #348e54;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

#modal_addpointdevente .point-sale-availability.is-closed {
  color: #8a8179;
}

#modal_addpointdevente .point-sale-hours-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #e7ddd2;
  border-radius: 10px;
  background: #fffaf4;
  color: #9a754a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#modal_addpointdevente .point-sale-zones-wrapper {
  padding-right: 8px;
  padding-left: 8px;
}

#modal_addpointdevente .point-sale-zones {
  margin-top: 4px;
  padding: 15px 16px;
  border: 1px solid #eee5dc;
  border-radius: 13px;
  background: #fcfaf8;
}

#modal_addpointdevente .point-sale-zones-title {
  margin-bottom: 10px;
  color: #514a44;
  font-size: 13px;
  text-align: center;
}

#modal_addpointdevente .point-sale-zone-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

#modal_addpointdevente .point-sale-zone {
  margin: 0 !important;
  padding: 6px 11px !important;
  border: 1px solid #e8ded4;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

#modal_addpointdevente .point-sale-zone .form-check-label {
  margin: 0;
  color: #5f5750;
  font-size: 12px;
  cursor: pointer;
}

#modal_addpointdevente .point-sale-footer {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #eee8e1;
  background: #fff;
}

#modal_addpointdevente .point-sale-footer .btn {
  min-width: 126px;
  margin: 0 !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

#modal_addpointdevente .point-sale-cancel {
  border: 1px solid #e3ddd7;
  background: #fff;
  color: #4f4842;
}

#modal_addpointdevente .point-sale-continue {
  border-color: #CA9E67;
  background: #CA9E67;
  color: #fff;
}

@media (max-width: 768px) {
  #modal_addpointdevente .point-sale-dialog {
    width: calc(100% - 18px);
    max-width: none;
    margin: 9px auto !important;
  }

  #modal_addpointdevente .point-sale-modal {
    max-height: calc(100vh - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 17px !important;
  }

  #modal_addpointdevente .point-sale-scroll {
    max-height: none;
  }

  #modal_addpointdevente .point-sale-header {
    padding: 22px 50px 18px;
  }

  #modal_addpointdevente .pt-titre-modal {
    font-size: 21px !important;
  }

  #modal_addpointdevente .point-sale-grid {
    padding: 12px 12px 16px;
  }

  #modal_addpointdevente .point-sale-col {
    padding: 6px !important;
  }

  #modal_addpointdevente .point-sale-card {
    min-height: 245px;
  }

  #modal_addpointdevente .point-sale-image-wrap {
    height: 140px;
  }

  #modal_addpointdevente .point-sale-footer {
    padding: 12px;
  }
}

@media (max-width: 575px) {
  #modal_addpointdevente .point-sale-header {
    padding: 20px 42px 16px;
  }

  #modal_addpointdevente .point-sale-kicker { font-size: 10px; }
  #modal_addpointdevente .pt-titre-modal { font-size: 19px !important; }
  #modal_addpointdevente .point-sale-subtitle { display: none; }

  #modal_addpointdevente .point-sale-card {
    min-height: 0;
  }

  #modal_addpointdevente .point-sale-image-wrap {
    height: 160px;
  }

  #modal_addpointdevente .point-sale-card-body {
    padding: 13px 12px;
  }

  #modal_addpointdevente .point-sale-footer {
    gap: 8px;
  }

  #modal_addpointdevente .point-sale-footer .btn {
    flex: 1 1 50%;
    min-width: 0;
    padding: 10px 12px;
  }
}

@media (max-width: 380px) {
  #modal_addpointdevente .point-sale-image-wrap { height: 145px; }

  #modal_addpointdevente .point-sale-footer {
    flex-direction: column-reverse;
  }

  #modal_addpointdevente .point-sale-footer .btn {
    width: 100%;
    flex-basis: auto;
  }
}

/* Delivery hours modal */
#modal_addpointdevente .point-sale-continue:disabled,
#modal_addpointdevente .point-sale-continue[disabled] {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

#modal_addhorairelivraison .delivery-hours-dialog {
  width: calc(100% - 30px);
  max-width: 560px;
  margin: 24px auto;
}

#modal_addhorairelivraison .delivery-hours-modal {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

#modal_addhorairelivraison .delivery-hours-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f1ed;
  color: #6d6258;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#modal_addhorairelivraison .modal-body {
  padding: 0 !important;
}

.delivery-hours-panel {
  padding: 26px 24px 20px;
}

.delivery-hours-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 35px;
  margin-bottom: 20px;
}

.delivery-hours-icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(202, 158, 103, .16);
  color: #a77b49;
  font-size: 19px;
}

.delivery-hours-title {
  color: #231f20;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.delivery-hours-subtitle {
  margin-top: 3px;
  color: #7b736c;
  font-size: 12px;
  line-height: 1.4;
}

.delivery-hours-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.delivery-hours-day {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid #eee6df;
  border-radius: 12px;
  background: #fcfaf8;
}

.delivery-hours-day-name {
  flex: 0 0 110px;
  padding-top: 6px;
  color: #3c3631;
  font-size: 13px;
  font-weight: 700;
}

.delivery-hours-slots {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.delivery-hours-slot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #e8ddd2;
  border-radius: 999px;
  background: #fff;
  color: #5b534d;
  font-size: 12px;
  white-space: nowrap;
}

.delivery-hours-slot .fa {
  color: #CA9E67;
}

.delivery-hours-no-slot {
  flex: 1 1 auto;
  padding-top: 6px;
  color: #9b928a;
  font-size: 12px;
  text-align: right;
}

.delivery-hours-empty {
  padding: 38px 28px 32px;
  text-align: center;
}

.delivery-hours-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #f5f1ed;
  color: #a77b49;
  font-size: 22px;
}

.delivery-hours-empty-title {
  color: #302a26;
  font-size: 18px;
  font-weight: 700;
}

.delivery-hours-empty-text {
  max-width: 340px;
  margin: 6px auto 0;
  color: #817970;
  font-size: 12px;
  line-height: 1.45;
}

#modal_addhorairelivraison .delivery-hours-footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 18px;
  border-top: 1px solid #eee8e1;
  background: #fff;
}

#modal_addhorairelivraison .delivery-hours-close-button {
  min-width: 110px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #e2d8cf;
  border-radius: 999px;
  background: #fff;
  color: #4e4741;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 575px) {
  #modal_addpointdevente .point-sale-dialog {
    width: calc(100% - 12px);
    margin: 6px auto !important;
  }

  #modal_addpointdevente .point-sale-modal {
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
  }

  #modal_addpointdevente .point-sale-close {
    width: 44px;
    height: 44px;
    top: 8px;
    right: 8px;
  }

  #modal_addpointdevente .point-sale-header {
    padding: 18px 54px 14px 14px;
    text-align: left;
  }

  #modal_addpointdevente .point-sale-grid {
    padding: 8px;
  }

  #modal_addpointdevente .point-sale-col {
    padding: 5px !important;
  }

  #modal_addpointdevente .point-sale-card {
    flex-direction: row;
    min-height: 112px;
  }

  #modal_addpointdevente .point-sale-image-wrap {
    flex: 0 0 112px;
    width: 112px;
    height: auto;
    min-height: 112px;
  }

  #modal_addpointdevente .point-sale-card-body {
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 13px 12px;
    text-align: left;
  }

  #modal_addpointdevente .point-sale-card .pt-titre {
    font-size: 15px;
    text-align: left;
  }

  #modal_addpointdevente .point-sale-availability {
    text-align: left;
  }

  #modal_addpointdevente .point-sale-status {
    top: 7px;
    right: 7px;
  }

  #modal_addpointdevente .point-sale-status .badge-open,
  #modal_addpointdevente .point-sale-status .badge-closed {
    min-height: 24px;
    padding: 4px 7px;
    font-size: 9px;
  }

  #modal_addpointdevente .point-sale-selected {
    top: 7px;
    left: 7px;
    width: 25px;
    height: 25px;
    font-size: 11px;
  }

  #modal_addpointdevente .point-sale-hours-button {
    min-height: 44px;
    margin-top: 5px;
    font-size: 12px;
  }

  #modal_addpointdevente .point-sale-footer {
    gap: 8px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }

  #modal_addpointdevente .point-sale-footer .btn {
    min-height: 44px;
  }

  #modal_addhorairelivraison .delivery-hours-dialog {
    width: calc(100% - 12px);
    max-width: none;
    margin: 6px auto !important;
  }

  #modal_addhorairelivraison .delivery-hours-modal {
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 17px;
  }

  #modal_addhorairelivraison .delivery-hours-close {
    width: 44px;
    height: 44px;
    top: 8px;
    right: 8px;
  }

  .delivery-hours-panel {
    padding: 20px 14px 14px;
  }

  .delivery-hours-heading {
    padding-right: 42px;
    margin-bottom: 14px;
  }

  .delivery-hours-title {
    font-size: 18px;
  }

  .delivery-hours-day {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .delivery-hours-day-name {
    flex-basis: auto;
    padding-top: 0;
  }

  .delivery-hours-slots {
    width: 100%;
    justify-content: flex-start;
  }

  .delivery-hours-slot {
    min-height: 36px;
  }

  .delivery-hours-no-slot {
    width: 100%;
    padding-top: 0;
    text-align: left;
  }

  #modal_addhorairelivraison .delivery-hours-footer {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }

  #modal_addhorairelivraison .delivery-hours-close-button {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  #modal_addpointdevente .point-sale-image-wrap {
    flex-basis: 96px;
    width: 96px;
    min-height: 104px;
  }

  #modal_addpointdevente .point-sale-card-body {
    padding: 11px 10px;
  }
}

