/* =====================================================
   FILE: layout-overrides.css
   PURPOSE: override mirati su layout legacy + residual store show fixes
   NOTE: tenere questi override in fondo alla catena CSS
===================================================== */


/* =====================================================
   GLOBAL: header / nav / logo (legacy)
===================================================== */

/* Mobile header/navigation overrides + logo sizing */

.logo_home {
  height: 60px !important;
}


@media (max-width: 992px) {
  .t-container {
    margin-top: 0 !important;
  }

  /* nascondi la navbar desktop su mobile */
  .navigation-web {
    display: none !important;
  }

  /* mostra la navbar mobile */
  .navigation-mob {
    display: block !important;
  }
}

.logo1 {
  width: 100%;
  margin-left: 0;
  margin-top: -33px;
}

@media (max-width: 943px) {
  .logo1 {
    width: 170px;
  }
}

/* Desktop / default */
.t-container {
  margin-top: -30px;
}

/* Search results dropdown position */
.search-header-results--small {
  top: -110px !important;
}

.title-and-filters-container h1 {
  padding-left: 0 !important;
}

.dropdown dd ul li a:hover {
  background: #3c3b3b;
  color: #fff;
}

/* =====================================================
   GLOBAL: footer
===================================================== */

#footer {
  background-color: #3e3e3e;
  color: white;
  margin-top: 1%;
}

#footer a {
  color: white !important;
}


/* =====================================================
   STORE SHOW: coupon logo box
   SCOPE: only store show pages (.shops.show)
===================================================== */

.shops.show .coupon__logo--bg {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  padding: 6px 6px 28px;
  overflow: hidden;
  background-color: transparent;
  border: 1px solid #d3d3d3;
  border-radius: 5px;
}

.shops.show .coupon-code {
  border-bottom: 0 !important;
}

.shops.show .coupon__logo--bg > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background-color: #ff6900;
  cursor: default;
  white-space: nowrap;
}

.shops.show .coupon__logo--bg img {
  max-width: 78px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.shops.show .coupon__logo span {
  color: #fff;
  cursor: default;
  padding-bottom: 0px;
  margin-top: 0px !important;
}

.shops.show .coupon__aside img {
  display: block;
  margin-top: 0px;
}


/* =====================================================
   STORE SHOW: content typography helpers
===================================================== */

.shops.show #content table,
.shops.show #content table.table,
.shops.show #content .table td,
.shops.show #content .seo-text__content li,
.shops.show #content .seo-text__content p,
.shops.show .klook-calendar td {
  font-size: 0.9rem !important;
}

.shops.show .no-padding {
  padding-right: 2px !important;
}

@media (max-width: 900px) {
  .shops.show .d-none-mob {
    display: none !important;
  }
}


/* =====================================================
   STORE SHOW: coupon card typography
===================================================== */

.shops.show .coupon .coupon__title,
.shops.show .coupon .coupon__title_link h3 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin: 0 !important;
}

.shops.show .coupon .coupon__text,
.shops.show .coupon .coupon__text p {
  font-family: Inter, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #415a73 !important;
  margin: 3px 0 0 !important;
}

.shops.show .coupon .coupon__text span {
  font-size: 13px !important;
  line-height: 1.3 !important;
  color: #999 !important;
  font-weight: 300 !important;
}

.shops.show .coupon h3,
.shops.show .coupon h4 {
  font-weight: 700 !important;
}


/* =====================================================
   STORE SHOW: tags inside coupon cards
===================================================== */

.shops.show .coupon .tag-container {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

.shops.show .coupon .tag-container .tag {
  display: inline-block !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #ff6900 !important;
}

.shops.show .coupon .tag-container .separator {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background-color: #ff6900 !important;
  display: inline-block !important;
}

@media (max-width: 767px) {
  .shops.show .coupon .tag-container {
    gap: 6px !important;
    margin-bottom: 6px !important;
  }

  .shops.show .coupon .tag-container .tag {
    font-size: 11px !important;
  }

  .shops.show .coupon .tag-container .separator {
    display: none !important;
  }
}


/* =====================================================
   STORE SHOW: Terms and Conditions UI
===================================================== */

.shops.show #content p.tc-trigger {
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  color: #999 !important;
  margin: 6px 0 0 0 !important;
  padding-right: 12px;
  padding-bottom: 16px;
  cursor: pointer;
  user-select: none;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.shops.show #content p.tc-trigger:hover {
    color: #8a8a8a !important;
}

.shops.show .tc-arrow {
  font-size: 11px;
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.shops.show .tc-trigger.active .tc-arrow {
  transform: rotate(180deg);
}


/* =====================================================
   STORE SHOW: Terms content typography
===================================================== */

.shops.show .tc-content-row ul {
  margin: 6px 0 0 0;
  padding-left: 30px;
}

.shops.show .tc-content-row li {
  font-size: 13px;
  line-height: 1.35;
  color: #999;
  margin: 0 0 6px 0;
}

.shops.show .tc-content-row hr {
  height: 0;
  border: none;
  border-top: 1px solid #eee;
  background: transparent;
  color: transparent;
  margin: 0 0 5px 0;
  opacity: 1;
}

.shops.show .coupon__desc {
  padding-bottom: 16px;
}


/* =====================================================
   STORE SHOW: modal clickout generic CTA arrow
===================================================== */

.shops.show .clickout {
  color: #fff;
  padding-right: 18px;
}

@media (max-width: 575px) {
  .shops.show .ml-3,
  .shops.show .mx-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* =====================================================
   STORE SHOW: mobile details toggle
   NOTE: usa la tua logica JS che aggiunge .is-open su .container1
===================================================== */

@media (min-width: 993px) {
  .shops.show .container1 {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .shops.show .container1 {
    display: block;
    margin-top: 8px;
  }

  .shops.show .container1 .header1 {
    cursor: pointer;
    user-select: none;
    margin-top: 6px;
    font-size: 0 !important;
    display: inline-flex;
    align-items: center;
  }

  .shops.show .container1 .header1::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .shops.show .container1.is-open .header1::after {
    transform: rotate(-135deg);
  }

  .shops.show .container1 .content {
    display: none;
    margin-top: 6px;
  }

  .shops.show .container1.is-open .content {
    display: block;
  }
}

.shops.show .container1 .header1 {
  font-weight: 700;
  color: #ff6900 !important;
}


/* =====================================================
   GLOBAL modal interaction fixes
===================================================== */

.modal-backdrop,
.modal-backdrop.show {
  opacity: 0 !important;
  display: none !important;
  pointer-events: none !important;
}

body.modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}

.modal-open > div:not(.modal) {
  filter: none !important;
}

.font-16.a span {
  padding: 0 !important;
}


/* =====================================================
   STORE SHOW: About blocks
===================================================== */

.shops.show #content .about-store-container .card {
  border: 1px solid #e7e7e7;
  border-top: 4px solid #ff6900;
  border-radius: 10px;
  background: #fff;
}

.shops.show #content .about-store-container .card .m-2 {
  margin: 0 !important;
  padding: 18px 18px 16px !important;
}

.shops.show #content .about-store-container .card-title {
  margin: 0 0 12px 0 !important;
  padding-bottom: 10px !important;
  font-size: 18px;
  line-height: 1.25;
}

.shops.show #content .about-store-container p,
.shops.show #content .about-store-container li {
  font-size: 16px;
  line-height: 1.6;
  color: #556B82;
}

.shops.show #content .about-store-container ul {
  margin: 10px 0 12px;
  padding-left: 18px;
}

.shops.show #content .about-store-container li {
  margin-bottom: 6px;
}

.shops.show #content .about-store-container {
  margin-bottom: 20px;
}

.shops.show #content .related {
  margin-bottom: 16px;
}

.shops.show #content .related + .about-store-container {
  margin-top: 0;
}


/* =====================================================
   STORE SHOW: Sidebar boxes
===================================================== */

.shops.show .sidebar {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-top: 4px solid #ff6900;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  padding: 18px 18px 16px;
  margin-bottom: 18px;
}

.shops.show .sidebar h3,
.shops.show .sidebar .widget-title,
.shops.show .sidebar.mb-10 .sidebar__title {
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #1F3347 !important;
  margin: 0 0 12px 0 !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #e6e6e6;
}

.shops.show .sidebar .related__list,
.shops.show .sidebar.mb-10 .related__list {
  font-family: Inter, sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #0B6A8F !important;
  margin-top: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.shops.show .sidebar .related__list p,
.shops.show .sidebar.mb-10 .related__list p {
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #556B82 !important;
  margin: 0 0 10px !important;
}

.shops.show .sidebar .related__list p:last-child,
.shops.show .sidebar.mb-10 .related__list p:last-child {
  margin-bottom: 0 !important;
}

.shops.show .sidebar .related__list ul,
.shops.show .sidebar .related__list ol,
.shops.show .sidebar.mb-10 .related__list ul,
.shops.show .sidebar.mb-10 .related__list ol {
  margin: 0 0 10px !important;
  padding-left: 18px !important;
  list-style: disc;
}

.shops.show .sidebar .related__list li,
.shops.show .sidebar.mb-10 .related__list li {
  font-size: 16px !important;
  line-height: 1.55 !important;
  margin: 0 0 6px !important;
  color: #0B6A8F !important;
}

.shops.show .sidebar.mb-10 .related__list a,
.shops.show .sidebar .related__list a {
  text-decoration: none;
  font-weight: 500;
}

.shops.show .sidebar.mb-10 .related__list strong,
.shops.show .sidebar .related__list strong {
  font-weight: 700 !important;
}


/* =====================================================
   STORE SIDEBAR
===================================================== */

.shops.show ul.popular-shops {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.shops.show .popular-shops__item {
  flex: 0 0 33.3%;
  max-width: 33.3%;
  padding: 5px;
}

.shops.show .related__col {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.shops.show .sidebar .related-categories li a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease-in-out;
}

.shops.show .sidebar .related-categories li a:hover,
.shops.show .sidebar .related-categories li a:focus {
  color: #222;
  text-decoration: none;
}

.shops.show .sidebar__shop-link a {
  font-size: 16px;
}

.shops.show .sidebar .widget--rating h2 {
  font-size: revert !important;
}

.shops.show .related__col--similar a {
  font-size: 16px;
}


/* =====================================================
   STORE SHOW: global typography tuning
===================================================== */

.shops.show {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.shops.show .h1,
.shops.show h1 {
  font-size: 23px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.shops.show h2 {
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 400;
  margin-bottom: 5px;
}

.shops.show h3 {
  font-size: 20px;
  line-height: 1.35;
}

.shops.show h4 {
  font-size: 18px;
  line-height: 1.4;
}


/* =====================================================
   MOBILE TYPOGRAPHY
===================================================== */

@media (max-width: 767px) {
  .shops.show .h1,
  .shops.show h1 {
    font-size: 1.12rem !important;
    line-height: 1.14 !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }

  .shops.show h2 {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
    padding-top: 0 !important;
  }

  .shops.show .store-header,
  .shops.show .store-title-wrap,
  .shops.show .title-wrap,
  .shops.show .shop-title-wrap,
  .shops.show .store__header-text,
  .shops.show .store__content,
  .shops.show .store__info,
  .shops.show .row-mobile h1,
  .shops.show .row-mobile .h1,
  .shops.show .row-mobile h2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}


/* =====================================================
   MOBILE: active / offer details layout fix
===================================================== */
@media (max-width: 767px) {

  /* keep layout simple */
  .shops.show .coupon.c-coupon .coupon__desc,
  .shops.show .coupon.c-offer .coupon__desc {
    display: block !important;
  }

  /* hide duplicated inline description */
  .shops.show .coupon.c-coupon .coupon__desc > .coupon__text,
  .shops.show .coupon.c-offer .coupon__desc > .coupon__text {
    display: none !important;
  }

  /* toggle container */
  .shops.show .coupon.c-coupon .coupon__desc > .container1,
  .shops.show .coupon.c-offer .coupon__desc > .container1 {
    display: block !important;
    width: 100% !important;
    margin-top: 4px !important;
  }

  /* chevron row */
  .shops.show .coupon.c-coupon .container1 .header1,
  .shops.show .coupon.c-offer .container1 .header1 {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  /* hide text "Details" */
  .shops.show .coupon.c-coupon .container1 .header1 span,
  .shops.show .coupon.c-offer .container1 .header1 span,
  .shops.show .coupon.c-coupon .container1 .header1 i,
  .shops.show .coupon.c-offer .container1 .header1 i {
    display: none !important;
  }

  /* description */
  .shops.show .coupon.c-coupon .container1 .content,
  .shops.show .coupon.c-offer .container1 .content {
    margin-top: -2px !important;
  padding-left: 0 !important;
  padding-right: 10px !important;
  }

}


/* =====================================================
   MOBILE: compact coupon card spacing
===================================================== */
@media (max-width: 767px) {
  .shops.show .coupon .coupon__desc .tag-container {
    margin-bottom: 1px !important;
    gap: 5px !important;
  }

  .shops.show .coupon .coupon__title_link,
  .shops.show .coupon .coupon__title,
  .shops.show .coupon .coupon__title_link h3 {
    margin-bottom: 0 !important;
  }

  .shops.show .coupon .coupon__text,
  .shops.show .coupon .coupon__text p {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    line-height: 1.45 !important;
  }

  .shops.show .coupon .container1 .content {
    margin-top: 6px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .shops.show .coupon .container1 .content p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: #444 !important;
  }

  .shops.show .coupon__desc {
    padding-bottom: 2px !important;
  }

  .shops.show .coupon .coupon__action,
  .shops.show .coupon .coupo-web,
  .shops.show .coupon .action_mobile {
    margin-top: 6px !important;
  }

  .shops.show .coupon .clickout.btn,
  .shops.show .coupon .btn.text-white {
    min-height: 44px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}


/* =====================================================
   MOBILE: compact coupon logo box
===================================================== */
@media (max-width: 767px) {
  .shops.show .coupon__logo--bg {
    width: 76px !important;
    height: 76px !important;
    padding: 5px 5px 22px !important;
  }

  .shops.show .coupon__logo--bg img {
    max-width: 60px !important;
    max-height: 38px !important;
  }

  .shops.show .coupon__logo--bg > span {
    height: 20px !important;
    font-size: 9px !important;
    padding: 0 4px !important;
  }
}


/* =====================================================
   MOBILE: tighter coupon card shell
===================================================== */
@media (max-width: 767px) {
  .shops.show .coupon.c-coupon,
  .shops.show .coupon {
    border-radius: 8px !important;
  }

  .shops.show .coupon .coupon__body {
    padding: 8px 8px 2px 8px !important;
    align-items: flex-start !important;
  }

  .shops.show .coupon .coupon__desc.mx-3 {
    margin-left: 8px !important;
    margin-right: 8px !important;
  }

  .shops.show .coupon .coupon__action.coupo-web {
    margin-top: 4px !important;
  }
}


/* =====================================================
   MOBILE: stronger coupon text hierarchy
===================================================== */
@media (max-width: 767px) {
  .shops.show .coupon .tag-container .tag {
    font-size: 10px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.03em !important;
  }

  .shops.show .coupon .coupon__title,
  .shops.show .coupon .coupon__title_link h3 {
    font-size: 0.9rem !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
  }

  .shops.show .coupon .coupon__text,
  .shops.show .coupon .coupon__text p {
    font-size: 0.86rem !important;
    line-height: 1.38 !important;
    color: #555 !important;
  }
}


/* =====================================================
   STORE SHOW: coupon modal sanification
   PURPOSE: isolate popup from global.css and stabilize desktop + mobile
===================================================== */

.shops.show .couponModal {
  backdrop-filter: blur(7px);
}

.shops.show .couponModal .modal__dialog {
  width: min(640px, calc(100% - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.shops.show .couponModal .modal__content {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.shops.show .couponModal .modal__close-btn {
  top: 10px;
  right: 12px;
  font-size: 18px;
  line-height: 1;
}

.shops.show .couponModal .modal-clickout {
  padding: 10px 18px 12px !important;
}

.shops.show .couponModal .modal-clickout__info {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
  padding: 12px 0 0 0 !important;
}

.shops.show .couponModal .modal-clickout__logo {
  flex: 0 0 96px !important;
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  min-width: 96px !important;
  border: 1px solid #d3d3d3 !important;
  border-radius: 5px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.shops.show .couponModal .modal-clickout__logo img {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: contain !important;
  display: block !important;
}

.shops.show .couponModal .modal-clickout__title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding-left: 25px;
}

.shops.show .couponModal .modal-clickout__title .coupon__title {
  font-size: 21px !important;
  line-height: 1.15 !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

.shops.show .couponModal .modal-clickout__title .coupon__text {
  font-size: 18px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Inter, sans-serif;
  color: #666;
}

.shops.show .couponModal .modal-clickout__title .coupon__text span {
  display: inline-block !important;
  margin-top: 4px !important;
  font-size: 0.9rem !important;
  line-height: 1.25 !important;
}

/* ===============================
   CODE ROW
=============================== */

.shops.show .couponModal .modal-clickout__code-wrp.h-modal {
  width: min(88%, 560px) !important;
  margin: 0 auto 14px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background-color: #ffffff !important;
  padding: 0 !important;
  text-align: center !important;
}

.shops.show .couponModal .modal-clickout__code-wrp.h-modal > .modal-clickout__copy,
.shops.show .couponModal #modal-clickout__code1 {
  display: inline-flex !important;
  margin-top: 0 !important;
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 52px !important;
  padding: 0 !important;
  float: none !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 0.88rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  color: #fff !important;
  background-color: #00c27e !important;
  border: 0 !important;
  border-radius: 0 16px 16px 0 !important;
  cursor: pointer;
  order: 2 !important;
}

.shops.show .couponModal .modal-clickout__code {
  order: 1 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
  background: #f8f9fa !important;
  border: 3px solid #d9d9d9 !important;
  border-right: 0 !important;
  border-radius: 16px 0 0 16px !important;
  text-align: center !important;
  font-size: 1rem !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.shops.show .couponModal .modal-clickout__copy-text {
  width: min(88%, 420px) !important;
  margin: 0 auto 18px !important;
  text-align: center !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  color: #737373;
  font-weight: 400;
}

/* ===============================
   CTA ROW
=============================== */

.shops.show .couponModal .modal-clickout__link-wrp {
  width: min(88%, 420px) !important;
  margin: 0 auto 10px !important;
  padding: 0 !important;
}

.shops.show .couponModal .modal-clickout__link {
  background-color: #ff6900;
  border-radius: 5px;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  text-align: center !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  text-transform: capitalize !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ===============================
   MOBILE
=============================== */
@media (max-width: 767px) {
  .shops.show .couponModal {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .shops.show .couponModal .modal__dialog {
    width: calc(100% - 24px) !important;
    max-width: 360px !important;
  }

  .shops.show .couponModal .modal-clickout {
    padding: 10px 12px 12px !important;
  }

  .shops.show .couponModal .modal-clickout__info {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 6px !important;
    padding: 8px 0 0 0 !important;
  }

  .shops.show .couponModal .modal-clickout__logo {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    min-width: 64px !important;
  }

  .shops.show .couponModal .modal-clickout__logo img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
  }

  .shops.show .couponModal .modal-clickout__title .coupon__title {
    font-size: 0.95rem !important;
    line-height: 1.08 !important;
    margin: 0 0 2px 0 !important;
  }

  .shops.show .couponModal .modal-clickout__title .coupon__text {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  .shops.show .couponModal .modal-clickout__title .coupon__text span {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
  }

  .shops.show .couponModal .modal-clickout__code-wrp.h-modal {
    width: 92% !important;
    margin: 0 auto 12px !important;
  }

  .shops.show .couponModal .modal-clickout__code {
    height: 48px !important;
    padding: 0 12px !important;
    font-size: clamp(0.8rem, 2.7vw, 0.95rem) !important;
  }

  .shops.show .couponModal .modal-clickout__code-wrp.h-modal > .modal-clickout__copy,
  .shops.show .couponModal #modal-clickout__code1 {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 48px !important;
    font-size: 0.8rem !important;
  }

  .shops.show .couponModal .modal-clickout__copy-text {
    width: 92% !important;
    margin: 0 auto 14px !important;
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  .shops.show .couponModal .modal-clickout__link-wrp {
    width: 90% !important;
    margin: 0 auto 8px !important;
  }

  .shops.show .couponModal .modal-clickout__link {
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
  }
}


/* =====================================================
   EXPIRED COUPONS TITLE
===================================================== */

.shops.show .expired-coupons .expired-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 12px;
}


/* =====================================================
   EXPIRED COUPONS - mobile details trigger
===================================================== */

.expired-mobile-details {
  display: none;
}

@media (max-width: 767px) {
  .shops.show .expired-coupons .expired-mobile-details {
    display: block;
  }
}


/* =====================================================
   DESKTOP NAVBAR NORMALIZATION
   Scope: home, single store, category, event,
   all stores, all categories, static pages
===================================================== */
@media (min-width: 992px) {

  .navigation-web.m-navigation {
    background-color: #3e3e3e;
    display: flex !important;
    align-items: center !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    position: relative !important;
    z-index: 200 !important;
  }

  .navigation-web.m-navigation > .container,
  .navigation-web.m-navigation > .container > .row {
    height: 100% !important;
  }

  .navigation-web.m-navigation > .container > .row {
    display: flex !important;
    align-items: center !important;
  }

  .navigation-web .header-nav-desktop,
  .navigation-web .header-search-desktop-slot {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }

  .navigation-web .m-navigation__list {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .navigation-web .m-navigation__item {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }

  .navigation-web .m-navigation__link {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .navigation-web .m-navigation__link > span,
  .navigation-web .m-navigation__chevron {
    display: inline-flex !important;
    align-items: center !important;
  }

  .navigation-web .header-search-desktop-slot {
    justify-content: flex-end !important;
  }

  .navigation-web .header-search--desktop {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

.navigation-web #search-header-results .search-no-results {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    background: #fff !important;
    color: #6b7280 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: normal !important;
    border-top: 1px solid #f1f3f5 !important;
    border-radius: 0 0 8px 8px !important;
  }

  .navigation-web .header-search__form,
  .navigation-web #headerSearchDesktopForm {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
  }

  .navigation-web .m-search-box {
    display: block !important;
    width: 100% !important;
    min-height: 36px !important;
  }

  .navigation-web .m-search-box__field,
  .navigation-web .header-search__input-wrp {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-height: 36px !important;
    height: 36px !important;
  }

  .navigation-web .header-search__input,
  .navigation-web .m-search-box__input,
  .navigation-web .header-search__input--desktop-clean,
  .navigation-web #headerSearchDesktopInput {
    display: block !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 12px 0 40px !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: #374151 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 36px !important;
    text-align: left !important;
    text-indent: 0 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    flex: none !important;
  }

  .navigation-web .header-search__input::placeholder,
  .navigation-web .m-search-box__input::placeholder,
  .navigation-web .header-search__input--desktop-clean::placeholder,
  .navigation-web #headerSearchDesktopInput::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
    text-align: left !important;
  }

  .navigation-web .header-search__submit,
  .navigation-web .header-search__submit--desktop-clean,
  .navigation-web .m-search-box__submit,
  .navigation-web #headerSearchDesktopForm .header-search__submit {
    position: absolute !important;
    top: 50% !important;
    left: 6px !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: none !important;
    z-index: 2 !important;
  }

  .navigation-web .header-search__submit svg,
  .navigation-web .m-search-box__submit svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
  }

  .navigation-web .header-search-desktop-slot,
  .navigation-web .header-search--desktop,
  .navigation-web .header-search__form,
  .navigation-web .m-search-box,
  .navigation-web .m-search-box__field,
  .navigation-web .m-navigation__list,
  .navigation-web .m-navigation__item,
  .navigation-web .m-navigation__link {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* =====================================================
   MOBILE NAVBAR FIX
===================================================== */
@media (max-width: 991.98px) {

  .navigation-mob {
    display: block !important;
    overflow: visible !important;
  }

  .navigation-mob .container,
  .navigation-mob .row {
    overflow: visible !important;
  }

  .navigation-mob.m-navigation {
    background-color: #3e3e3e;
    position: relative !important;
    z-index: 29999 !important;
    height: 40px !important;
    min-height: 40px !important;
    overflow: visible !important;
  }

  .navigation-mob.m-navigation > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .navigation-mob.m-navigation > .container > .row {
    height: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .navigation-mob .header-nav-mobile {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 44px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    overflow: visible !important;
  }

  .navigation-mob .m-navigation__list {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: visible !important;
  }

  .navigation-mob .m-navigation__item {
    position: relative !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    border-left: 1px solid rgba(255,255,255,.18) !important;
    float: none !important;
    overflow: visible !important;
    z-index: 1 !important;
  }

  .navigation-mob .m-navigation__item.is-open {
    z-index: 30000 !important;
  }

  .navigation-mob .m-navigation__item:first-child {
    border-left: none !important;
  }

  .navigation-mob .m-navigation__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    height: 40px !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .navigation-mob .m-navigation__link > span {
    min-width: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .navigation-mob .m-navigation__chevron,
  .navigation-mob .roberto-down-dir {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .navigation-mob .m-navigation__chevron svg {
    width: 8px !important;
    height: 5px !important;
    display: block !important;
  }

  .navigation-mob .m-navigation__item.is-open .m-navigation__chevron svg path {
    fill: #ff6900 !important;
  }

  .navigation-mob .header-search-mobile-slot {
    flex: 0 0 44px !important;
    width: 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    height: 100% !important;
  }

  .navigation-mob .header-search--mobile,
  .navigation-mob .header-search__toggle {
    width: 44px !important;
    height: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Mobile dropdown: fixed panel under navbar */
  .navigation-mob .sub-menu {
    position: fixed !important;
    top: 100px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.16) !important;
    z-index: 30001 !important;
    display: none !important;
    overflow-y: auto !important;
    max-height: 60vh !important;
  }

  .navigation-mob .m-navigation__item.is-open > .sub-menu {
    display: block !important;
  }

  .navigation-mob .sub-menu__list {
    display: block !important;
    min-height: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .navigation-mob .sub-menu__item {
    margin: 0 !important;
    padding: 0 !important;
  }

  .navigation-mob .sub-menu__link {
    display: block !important;
    padding: 10px 14px !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    white-space: normal !important;
    color: #222 !important;
    text-decoration: none !important;
  }

  .navigation-mob .sub-menu__link:hover,
  .navigation-mob .sub-menu__link:focus {
    background: #f6f6f6 !important;
    text-decoration: none !important;
  }
}

/* =====================================================
   MOBILE SEARCH PANEL CLEAN
===================================================== */

.navigation-mob #headerSearchMobilePanel.header-search-mobile-panel {
  position: absolute !important;
  top: 36px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 4px 8px 6px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  z-index: 30002 !important;
}

/* reset wrapper legacy */
.navigation-mob #headerSearchMobilePanel .header-search__form {
  position: relative !important;
  display: block !important;
  width: 94% !important;
  max-width: 94% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* input vero */
.navigation-mob #headerSearchMobilePanel .header-search__input {
  display: block !important;
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 42px 0 12px !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 6px !important;
  background: #fff !important;
  background-image: none !important;
  color: #444 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 36px !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.navigation-mob #headerSearchMobilePanel .header-search__input::placeholder {
  color: #9a9a9a !important;
  opacity: 1 !important;
}

/* bottone piccolo arancione */
.navigation-mob #headerSearchMobilePanel .header-search__submit {
  position: absolute !important;
  top: 50% !important;
  right: 5px !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #ff6900 !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.navigation-mob #headerSearchMobilePanel .header-search__submit svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
}

.navigation-mob #headerSearchMobilePanel .header-search__submit svg path {
  fill: #fff !important;
}

/* toggle navbar meno invasivo quando il pannello è aperto */
.navigation-mob .header-search__toggle[aria-expanded="true"] {
  background: transparent !important;
  box-shadow: none !important;
}

.navigation-mob .header-search__toggle[aria-expanded="true"] svg {
  opacity: .45 !important;
}

/* =====================================================
   HOME HERO / HEADLINE
===================================================== */
@media (min-width: 992px) {
  body .headline__title span {
    font-size: 36px;
  }
}


/* =====================================================
   STORE SHOW: mobile details trigger final override
   Neutralize legacy overrides.css on store cards
===================================================== */
@media (max-width: 991px) {
  .shops.show .container1 .header1 {
    display: flex !important;
  }

  .shops.show .container1 .content {
    display: none !important;
  }

  .shops.show .container1.is-open .content {
    display: block !important;
  }
}

.coupon__action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    margin-left: 12px;
    transform: translateX(-8px);
}

.coupon__action .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 180px;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

/* Base button */
.coupon__action .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 180px;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: 
        background-color .2s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

/* Hover globale */
.coupon__action .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* Focus */
.coupon__action .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .10);
}

/* DEFAULT (tutti verdi) */
.coupon__action .btn--code,
.coupon__action .btn--deal {
    background: #059669 !important;
}

/* HOVER coupon */
.coupon__action .btn--code:hover {
    background: #047857 !important;
}

/* HOVER offer */
.coupon__action .btn--deal:hover {
    background: #1d4ed8 !important;
}
.coupon-btn__label {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.coupon-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.coupon-btn__icon svg {
    display: block;
}

.coupon__action-note {
    display: block;
    width: 194px;
    font-size: 11px;
    line-height: 1.2;
    color: #8b95a7;
    text-align: center;
    white-space: nowrap;
    margin-top: 2px;
}

.action_mobile .coupon__action {
    align-items: stretch;
    margin-left: 0;
    transform: none;
}

.action_mobile .coupon__action .btn {
    width: 100%;
    min-width: 0;
}

.action_mobile .coupon__action-note {
    text-align: center;
}