.ai-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#wrapper {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

[ai-block-edit-wrapper="1"] .wow {
  visibility: visible !important;
}
.form-messages { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: #fff4df; color: #1c1c1c; }
.site-cart-toggle::after {
  display: none !important;
  content: none !important;
}

.site-cart-badge {
  position: absolute;
  top: -8px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #2F90CD;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.ai-cookie-banner,
.ai-cookie-overlay,
.ai-cookie-preference-link {
  font-family: inherit;
  box-sizing: border-box;
}

.ai12-auth-page,
.ai12-search-page,
.contact-page {
  padding: 84px 0;
}

.ai12-account-menu {
  position: relative;
}

.ai12-account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  min-width: 180px;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.ai12-account-menu:hover .ai12-account-dropdown,
.ai12-account-menu:focus-within .ai12-account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ai12-account-dropdown a {
  display: block;
  padding: 9px 10px;
  color: #1c1c1c;
  font-weight: 600;
}

.ai12-auth-card {
  max-width: 560px;
  margin: 0 auto;
}

.ai12-auth-card-wide {
  max-width: 940px;
}

.ai12-auth-card .modal-content {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  margin: 0 auto;
}

.ai12-dashboard-page .dashboard-container {
  min-height: auto;
}

.ai12-input-label,
.ai12-file-field span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1c1c1c;
}

.ai12-file-field {
  display: block;
}

.ai12-check-list {
  display: grid;
  gap: 10px;
}

.ai12-link-btn {
  display: inline-flex;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--primary-color, #ff7101);
  font-weight: 600;
  cursor: pointer;
}

.ai12-field-help {
  display: block;
  margin-top: 6px;
  color: #73787d;
  font-size: 13px;
}

.ai12-signature-preview,
.ai12-signature-box,
.ai12-modal-signature {
  min-height: 160px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.ai12-signature-box canvas,
.ai12-modal-signature canvas {
  display: block;
  width: 100%;
  min-height: 160px;
}

.ai12-file-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.ai12-empty-state,
.ai12-search-card,
.ai12-order-card {
  padding: 24px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.ai12-cart-fields,
.ai12-order-fields {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #73787d;
  font-size: 13px;
}

.ai12-search-form {
  display: flex;
  gap: 12px;
  margin: 30px auto;
  max-width: 760px;
}

.ai12-search-results,
.ai12-order-rows {
  display: grid;
  gap: 16px;
}

.ai12-orders-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ai12-order-head,
.ai12-order-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ai12-order-head span,
.ai12-order-fields span {
  display: block;
  color: #73787d;
  font-size: 12px;
  text-transform: uppercase;
}

.ai12-order-status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 4px;
  background: #1c1c1c;
  color: #fff;
  font-style: normal;
}

.ai12-order-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.ai12-map {
  width: 100%;
  min-height: 420px;
  margin-top: 40px;
  border: 0;
}

@media (max-width: 767px) {
  .ai12-search-form,
  .ai12-order-row {
    display: block;
  }

  .ai12-order-head,
  .ai12-order-fields {
    grid-template-columns: 1fr;
  }
}

.ai-cookie-banner *,
.ai-cookie-overlay * {
  box-sizing: border-box;
}

.ai-cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(28, 28, 28, 0.18);
  color: #1c1c1c;
}

.ai-cookie-banner-copy h2 {
  margin: 0 0 8px;
  color: #1c1c1c;
  font-size: 24px;
  line-height: 1.25;
}

.ai-cookie-banner-copy p,
.ai-cookie-panel-intro {
  margin: 0;
  color: #6f7378;
  font-size: 15px;
  line-height: 1.55;
}

.ai-cookie-banner-copy a,
.ai-cookie-panel-intro a {
  color: var(--primary, #ff4838);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ai-cookie-banner-actions,
.ai-cookie-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ai-cookie-btn,
.ai-cookie-close,
.ai-cookie-preference-link {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ai-cookie-btn {
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.ai-cookie-btn:hover,
.ai-cookie-preference-link:hover {
  transform: translateY(-1px);
}

.ai-cookie-btn-primary {
  border-color: var(--primary, #ff4838);
  background: var(--primary, #ff4838);
  color: #fff;
}

.ai-cookie-btn-primary:hover {
  background: #1c1c1c;
  color: #fff;
}

.ai-cookie-btn-muted {
  border-color: transparent;
  background: #f3f4f6;
  color: #1c1c1c;
}

.ai-cookie-btn-ghost {
  border-color: rgba(28, 28, 28, 0.16);
  background: #fff;
  color: #1c1c1c;
}

.ai-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 28, 28, 0.58);
}

.ai-cookie-panel {
  display: flex;
  flex-direction: column;
  width: min(880px, 100%);
  max-height: min(720px, 90vh);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(28, 28, 28, 0.24);
  color: #1c1c1c;
  overflow: auto;
}

.ai-cookie-panel-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ai-cookie-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--primary, #ff4838);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-cookie-panel-header h2 {
  margin: 0;
  color: #1c1c1c;
  font-size: 34px;
  line-height: 1.15;
}

.ai-cookie-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #1c1c1c;
  font-size: 24px;
  line-height: 1;
}

.ai-cookie-close:hover {
  background: #1c1c1c;
  color: #fff;
}

.ai-cookie-categories {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.ai-cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: #f8f9fb;
}

.ai-cookie-category-body {
  display: grid;
  gap: 6px;
}

.ai-cookie-category-body strong {
  color: #1c1c1c;
  font-size: 18px;
}

.ai-cookie-category-body span {
  color: #6f7378;
  font-size: 15px;
  line-height: 1.5;
}

.ai-cookie-category input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ai-cookie-toggle {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.28);
}

.ai-cookie-toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 28, 28, 0.18);
  transition: transform 0.2s ease;
}

.ai-cookie-category input:checked + .ai-cookie-toggle {
  background: var(--primary, #ff4838);
}

.ai-cookie-category input:checked + .ai-cookie-toggle::after {
  transform: translateX(26px);
}

.ai-cookie-category input:disabled + .ai-cookie-toggle {
  background: #2F90CD;
}

.ai-cookie-preference-link {
  position: fixed;
  left: 18px;
  right: auto;
  bottom: 18px;
  z-index: 9999;
  padding: 10px 14px;
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(28, 28, 28, 0.14);
  color: #1c1c1c;
  font-size: 13px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .ai-cookie-banner {
    grid-template-columns: 1fr;
  }

  .ai-cookie-banner-actions,
  .ai-cookie-panel-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .ai-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 18px;
  }

  .ai-cookie-banner-actions,
  .ai-cookie-panel-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ai-cookie-btn {
    width: 100%;
  }

  .ai-cookie-overlay {
    padding: 12px;
  }

  .ai-cookie-panel {
    padding: 20px;
  }

  .ai-cookie-panel-header h2 {
    font-size: 28px;
  }

  .ai-cookie-category {
    grid-template-columns: 1fr;
  }
}

.ai12-listing-details-hero-4-gallery {
  margin-bottom: 48px;
}

.ai12-listing-details-hero-4-gallery .slide-gallery-list {
  height: 372px;
  gap: 10px;
}

.ai12-listing-details-hero-4-gallery .slide-gallery-list .slide-gallery {
  height: 372px;
}

.ai12-listing-details-hero-4-gallery .slide-gallery-list .slide-gallery.active {
  flex: 3.72;
}

.ai12-listing-details-hero-4-gallery .slide-gallery-list .slide-gallery .img-main {
  height: 372px;
}

.ai12-listing-details-hero-6 .listing-details-item {
  height: 675px !important;
  background: #f7f7f7;
}

.ai12-listing-details-hero-6 .listing-details-item .img-main,
.ai12-listing-details-hero-6 .listing-details-item .main {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0;
}

.ai12-listing-details-hero-6 .swiper-listing-details-thumbs-style-2 {
  height: 548px;
  margin-top: 0;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .ai12-listing-details-hero-6 .listing-details-item {
    height: 500px !important;
  }
}

@media (max-width: 767px) {
  .ai12-listing-details-hero-6 .listing-details-item {
    height: 370px !important;
  }
}

.ai12-card-order-buttons {
  flex-wrap: wrap;
  gap: 10px;
}

.ai12-card-order-buttons .js-order-open {
  border: 0;
  cursor: pointer;
}

.ai-order-modal {
  z-index: 9998;
  padding: 24px;
  background: rgba(28, 28, 28, 0.48);
  overflow-x: hidden;
  overflow-y: auto;
}

.ai-order-modal .ai-order-modal-dialog {
  width: min(760px, 100%);
  margin: auto;
}

.ai-order-modal .ai-order-modal-dialog.modal-lg {
  width: min(920px, 100%);
}

.ai-order-modal .ai-order-modal-dialog.ai-order-modal-narrow {
  width: min(560px, 100%);
}

.ai-order-modal .ai-order-modal-dialog.ai-order-modal-narrow .row {
  grid-template-columns: 1fr;
}

.ai-order-modal .ai-order-modal-dialog.ai-order-modal-narrow .col-md-6 {
  grid-column: 1 / -1;
}

.ai-order-modal .ai-order-modal-content {
  width: 100%;
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(28, 28, 28, 0.28);
  color: #1c1c1c;
  overflow: hidden;
}

.ai-order-modal .ai-order-modal-header,
.ai-order-modal .modal-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}

.ai-order-modal .ai-order-modal-header {
  border-bottom: 1px solid rgba(28, 28, 28, 0.08);
}

.ai-order-modal .modal-footer {
  border-top: 1px solid rgba(28, 28, 28, 0.08);
  background: #f7f8fa;
}

.ai-order-modal .ai-order-modal-title {
  margin: 0;
  color: #1c1c1c;
  font-size: 24px;
  line-height: 1.2;
}

.ai-order-modal .ai-order-modal-subtitle {
  margin-top: 5px;
  color: #6f7378;
  font-size: 14px;
  line-height: 1.45;
}

.ai-order-modal .ai-order-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f1f2f4;
  color: #1c1c1c;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ai-order-modal .ai-order-modal-close:hover {
  background: #1c1c1c;
  color: #fff;
}

.ai-order-modal .ai-order-modal-body-wrap {
  padding: 26px 28px;
  max-height: min(64vh, 620px);
  overflow-y: auto;
}

.ai-order-modal .ai-order-row-total-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 12px;
  background: #f7f8fa;
}

.ai-order-modal .ai-order-row-total-preview span {
  color: #6f7378;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ai-order-modal .ai-order-row-total-preview strong {
  color: #1c1c1c;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.header .logo > a,
.header .logo-mobile > a {
  display: inline-flex;
  align-items: center;
}

.header .logo img,
.header .logo-mobile img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.header .logo-mobile img {
  max-height: 42px;
}

.ai-order-modal .card {
  border: 0;
  background: transparent;
}

.ai-order-modal .card-body {
  padding: 0;
}

.ai-order-modal .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ai-order-modal .col-md-12 {
  grid-column: 1 / -1;
}

.ai-order-modal .form-group {
  margin: 0;
}

.ai-order-modal label {
  display: block;
  margin-bottom: 8px;
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 700;
  cursor: default;
}

.ai-order-modal .form-group label::before {
  content: none;
  display: none;
}

.ai-order-modal .text-danger {
  color: #ff4838;
}

.ai-order-modal .form-control {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(28, 28, 28, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
}

.ai-order-modal select.form-control {
  padding-right: 42px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6f7378 50%),
    linear-gradient(135deg, #6f7378 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.ai-order-modal .form-group input.form-control {
  display: block;
  height: 48px;
  width: 100%;
  padding: 0 15px;
}

.ai-order-modal textarea.form-control {
  display: block;
  height: auto;
  min-height: 112px;
  padding-top: 13px;
  resize: vertical;
}

.ai-order-modal .form-control:focus {
  border-color: var(--primary, #ff4838);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 72, 56, 0.12);
}

.ai-order-modal .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.ai-order-modal .input-group .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.ai-order-modal .input-group-append {
  display: flex;
}

.ai-order-modal .input-group-text {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(28, 28, 28, 0.14);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: #f7f8fa;
  color: #6f7378;
  font-size: 14px;
  white-space: nowrap;
}

.ai-order-modal .form-check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.ai-order-modal .form-check:last-child {
  margin-bottom: 0;
}

.ai-order-modal .form-check-input {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary, #ff4838);
}

.ai-order-modal .form-check-label {
  margin: 0;
  color: #4d5358;
  font-weight: 500;
}

.ai-order-modal .border.rounded.p-2 {
  padding: 14px;
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 10px;
}

.ai-order-modal .form-text,
.ai-order-modal .text-muted {
  color: #6f7378;
}

.ai-order-modal .d-none {
  display: none !important;
}

.ai-order-modal .ai-qty-picker {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(28, 28, 28, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.ai-order-modal .ai-qty-btn,
.ai-order-modal .ai-qty-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.ai-order-modal .ai-qty-btn {
  border: 0;
  background: #f7f8fa;
  color: #1c1c1c;
  font-size: 20px;
  cursor: pointer;
}

.ai-order-modal .ai-qty-btn:hover {
  background: var(--primary, #ff4838);
  color: #fff;
}

.ai-order-modal .ai-qty-value {
  min-width: 54px;
  width: auto;
  padding: 0 12px;
  font-weight: 700;
}

.ai-order-modal .alert {
  padding: 14px 16px;
  border-radius: 10px;
}

.ai-order-modal .alert-danger {
  background: #fff0ee;
  color: #b42318;
}

.ai-order-modal .modal-footer .btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.ai-order-modal .btn-outline-secondary {
  border: 1px solid rgba(28, 28, 28, 0.14);
  background: #fff;
  color: #1c1c1c;
}

.ai-order-modal .btn-outline-primary,
.ai-order-modal .btn-primary {
  border: 1px solid var(--primary, #ff4838);
  background: var(--primary, #ff4838);
  color: #fff;
}

.ai-order-modal .btn-outline-secondary:hover {
  border-color: #1c1c1c;
  background: #1c1c1c;
  color: #fff;
}

.ai-order-modal .btn-outline-primary:hover,
.ai-order-modal .btn-primary:hover {
  filter: brightness(0.94);
}

body.ai-order-modal-open {
  overflow: hidden;
}

.ai12-listing-no-filters .listing-sidebar-right__content {
  width: 100%;
}

.ai12-public-filters {
  display: block;
}

.ai12-public-filter-preview {
  display: block;
  padding: 18px;
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(28, 28, 28, 0.05);
}

.ai12-public-filter-preview__body {
  display: grid;
  gap: 12px;
}

.ai12-public-filter-preview__line,
.ai12-public-filter-preview__range {
  height: 4px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.12);
}

.ai12-public-filter-preview__line {
  width: 72%;
}

.ai12-public-filter-preview__line--short {
  width: 46%;
  margin-top: 6px;
}

.ai12-public-filter-preview__range {
  position: relative;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--primary, #ff4838) 0 68%, rgba(28, 28, 28, 0.14) 68% 100%);
}

.ai12-public-filter-preview__range::before,
.ai12-public-filter-preview__range::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary, #ff4838);
  transform: translateY(-50%);
}

.ai12-public-filter-preview__range::before {
  left: 18%;
}

.ai12-public-filter-preview__range::after {
  left: 68%;
}

.ai12-public-filter-preview__row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1c1c1c;
  font-size: 14px;
}

.ai12-public-filter-preview__row span {
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(28, 28, 28, 0.25);
  background: #fff;
}

.ai12-public-filter-preview__row--child {
  padding-left: 24px;
  color: #666b70;
  font-size: 13px;
}

.ai12-public-filter-preview__row em {
  font-style: normal;
}

.ai12-public-filters .filter-group {
  padding: 18px;
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 10px;
  background: #fff;
}

.ai12-public-filters .filter-label {
  margin-bottom: 14px;
  color: #1c1c1c;
  font-weight: 700;
}

.ai12-public-filters .filter-checkboxes {
  display: grid;
  gap: 10px;
}

.ai12-public-filters .filter-checkbox {
  margin: 0;
}

.ai12-public-filters .ai-public-category-filter .filter-checkboxes {
  gap: 6px;
}

.ai12-public-filters .ai-public-category-option {
  padding-left: var(--ai-cat-indent, 0) !important;
  transition: padding-left 0.15s ease;
}

.ai12-public-filters .ai-public-category-option.ai-public-category-child {
  color: #555b61;
}

.ai12-public-filters .ai-public-category-option.ai-public-category-child::before {
  content: "";
  position: absolute;
  left: calc(var(--ai-cat-indent, 0px) - 13px);
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(159, 161, 164, 0.38);
}

.ai12-public-filters .ai-public-category-option.ai-public-category-child span {
  font-size: 13px;
  color: #4b5563;
}

.ai12-public-filters .ai-public-category-option.ai-public-category-has-children span {
  font-weight: 600;
}

.ai12-public-filters .ai-public-category-option.is-indeterminate span::before {
  border-color: var(--primary, #ff4838);
  background: var(--primary, #ff4838) !important;
}

.ai12-public-filters .ai-public-category-option.is-indeterminate span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.ai12-public-filters .ai-public-filter-text,
.ai12-public-filters .ai-public-filter-select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #1c1c1c;
}

.ai12-public-filters .search-cars__range-wrapper {
  padding: 10px 0 8px;
}

.ai12-hero-filter-tabs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  width: 100%;
  margin: 0 0 14px;
  border-bottom: 1px solid #e0e0e0;
}

.ai12-hero-filter-tab-edit {
  flex: 1 1 0;
  min-width: 0;
}

.ai12-hero-filter-tab {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  padding: 0 10px 10px;
  border: 0;
  background: transparent;
  color: #1c1c1c;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
}

.ai12-hero-filter-tab::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: transparent;
}

.ai12-hero-filter-tab.is-active::after {
  background: #2F90CD;
}

.ai12-hero-public-filters.d-none {
  display: none !important;
}

.ai12-hero-filter-liveedit-status {
  width: 100%;
  padding: 14px 0 4px;
  color: #6f7680;
  font-size: 14px;
  line-height: 20px;
}

.ai12-hero-public-filters .search-cars__filters {
  align-items: stretch;
  gap: 16px;
  width: 100%;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ai12-hero-public-filters .search-cars__select-wrapper,
.page-title.page-title-style-6 .ai12-hero-public-filters .search-cars__filters .search-cars__select-wrapper {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  border-radius: 0;
  box-shadow: 0 1px 0 #e7e7e7;
}

.ai12-hero-public-filters .search-cars__select {
  position: relative;
  overflow: visible;
  min-height: 58px;
  height: auto;
  padding: 18px 12px 8px;
  padding-right: 12px;
}

.ai12-hero-public-filters .search-cars__label {
  top: 4px;
  left: 12px;
  line-height: 1.2;
  pointer-events: none;
}

.ai12-hero-public-filters .ai12-hero-public-select,
.ai12-hero-public-filters .ai12-hero-public-input {
  width: 100%;
  height: 30px;
  min-height: 30px;
  border: 0;
  outline: 0;
  border-radius: 0;
  background-color: transparent;
  color: #1C1C1C;
  font-size: 16px;
  line-height: 30px;
  padding: 0;
}

.ai12-hero-public-filters .ai12-hero-public-select {
  position: absolute;
  inset: auto auto 0 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.ai12-hero-public-filters .ai12-hero-public-select:focus,
.ai12-hero-public-filters .ai12-hero-public-input:focus {
  outline: 0;
}

.ai12-hero-select-ui {
  position: relative;
  width: 100%;
  min-height: 30px;
}

.ai12-hero-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 30px;
  padding: 0 24px 0 0;
  border: 0;
  background: transparent;
  color: #1c1c1c;
  font-size: 16px;
  line-height: 30px;
  text-align: left;
  cursor: pointer;
}

.ai12-hero-select-button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: url("{$PATH_TO_ASSETS}/icons/chevron-down-black.svg") center / 14px 14px no-repeat;
  pointer-events: none;
}

.ai12-hero-select-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ai12-hero-select-menu {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: -12px;
  right: -12px;
  max-height: 280px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid #dfe3e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 28, 38, 0.16);
}

.ai12-hero-select-ui.is-open .ai12-hero-select-menu {
  display: block;
}

.ai12-hero-select-option {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #1c1c1c;
  font-size: 15px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}

.ai12-hero-select-option:hover,
.ai12-hero-select-option.is-active {
  background: rgba(47, 144, 205, 0.14);
}

.ai12-hero-public-filters .ai12-hero-public-input::placeholder {
  color: #707070;
}

.ai12-hero-public-options {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 11px;
  white-space: nowrap;
}

.ai12-hero-public-options .filter-checkbox {
  flex: 0 0 auto;
  margin: 0;
}

.ai12-hero-range-filter {
  min-width: 0;
  padding-top: 24px;
  padding-bottom: 9px;
}

.ai12-hero-range-filter .ai-public-range-slider {
  width: calc(100% - 18px);
  margin: 6px 9px 12px;
}

.ai12-hero-range-filter .ai-public-range-slider {
  height: 4px !important;
}

.ai12-hero-range-filter .ai-public-range-slider .ui-slider-handle {
  width: 16px !important;
  height: 16px !important;
  margin-left: -8px !important;
  box-shadow: 0 2px 6px rgba(28, 28, 28, 0.14) !important;
}

.ai12-hero-range-values {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1C1C1C;
  font-size: 13px;
  line-height: 1;
}

.ai12-hero-public-filters .flex.gap-12.w-full {
  display: block;
  width: 100%;
}

.page-title.page-title-style-6 .ai12-hero-public-filters .search-cars__search,
.ai12-hero-public-filters .search-cars__search {
  width: 100%;
  max-width: none;
}

.ai12-public-filters .ai-public-range-slider {
  position: relative !important;
  width: 100%;
  height: 5px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #d8dadd !important;
  box-shadow: none !important;
}

.ai12-public-filters .ai-public-range-slider .ui-slider-range {
  position: absolute !important;
  top: 0 !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #2F90CD !important;
}

.ai12-public-filters .ai-public-range-slider .ui-slider-handle {
  position: absolute !important;
  top: 50% !important;
  z-index: 2 !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 0 !important;
  margin-left: -9px !important;
  border: 2px solid #2F90CD !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(28, 28, 28, 0.16) !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
  outline: 0 !important;
}

.ai12-public-filters .filter-price-range-label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai12-public-filters .filter-price-range-label > p {
  width: 50%;
  margin: 0;
}

.ai12-public-filters .filter-price-range-label .flex {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  color: #1c1c1c;
  font-weight: 700;
}

.ai12-public-filters .filter-price-range-label .ai-public-range-unit {
  white-space: nowrap;
}

.ai-public-filter-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.ai-public-filter-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
}

.ai-public-filter-actions .btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.ai-public-filter-reset {
  color: var(--primary, #ff4838);
  font-weight: 600;
}

.ai12-public-filters-mobile {
  padding: 20px;
}

.ai12-header-search-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-search-wrapper .search-form {
  z-index: 1000;
}

.ai12-order-price-options {
  padding: 22px;
}

.ai12-order-price-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai12-order-price-option {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fff;
}

.ai12-order-price-option-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai12-order-price-option-base {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
}

.ai12-order-price-option-base-price {
  color: #1c1c1c;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.ai12-order-price-option-field {
  display: grid;
  grid-template-columns: minmax(96px, 0.75fr) minmax(0, 1.25fr);
  gap: 12px;
  align-items: baseline;
}

.ai12-order-price-option-label {
  display: block;
  color: #a5a5a5;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.ai12-order-price-option-value {
  display: block;
  color: #1c1c1c;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ai12-order-price-option-extra {
  display: inline-block;
  margin-left: 6px;
  color: #2F90CD;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.ai12-order-price-calculator {
  padding: 22px;
}

.ai12-order-calc-title {
  margin: 0 0 18px;
  color: #1c1c1c;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
}

.ai12-order-calc-placeholder {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 72px;
  justify-content: center;
}

.ai12-order-calc-placeholder strong {
  color: #1c1c1c;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.ai12-order-calc-loading,
.ai12-order-calc-error {
  color: #6f6f6f;
  font-size: 14px;
  line-height: 1.4;
}

.ai12-order-calc-error {
  color: #b42318;
}

.ai12-order-calc-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai12-order-calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ai12-order-calc-product {
  padding-bottom: 14px;
  border-bottom: 1px solid #eeeeee;
}

.ai12-order-calc-total {
  padding-top: 14px;
  border-top: 1px solid #eeeeee;
}

.ai12-order-calc-label,
.ai12-order-calc-field-label {
  color: #5f6672;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
}

.ai12-order-calc-value,
.ai12-order-calc-total-value {
  color: #1c1c1c;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.ai12-order-calc-fields,
.ai12-order-calc-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai12-order-calc-field {
  display: grid;
  grid-template-columns: minmax(112px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: start;
}

.ai12-order-calc-field > .ai12-order-calc-field-label {
  padding-top: 13px;
}

.ai12-order-calc-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.ai12-order-calc-select-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.ai12-order-calc-select-wrap select.form-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 34px 9px 12px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background-color: #fff;
  color: #1c1c1c;
  font-size: 14px;
}

.ai12-order-calc-unit {
  color: #1c1c1c;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.ai12-order-calc-check em {
  color: #2F90CD;
  font-size: 13px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 700;
}

.ai12-order-calc-extra {
  width: 100%;
}

.ai12-order-calc-props {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.ai12-order-calc-prop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #5f6672;
  font-size: 12px;
  line-height: 1.25;
}

.ai12-order-calc-prop-label {
  min-width: 0;
  color: #6f7580;
  font-size: 12px;
  font-weight: 500;
}

.ai12-order-calc-prop-value {
  color: #2F90CD;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-align: right;
}

.ai12-row-display-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai12-row-option-props {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 260px;
  padding-left: 8px;
}

.ai12-row-option-prop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #8a929e;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 400;
}

.ai12-row-option-prop-label {
  min-width: 0;
  color: #8a929e;
  font-weight: 400;
}

.ai12-row-option-prop-value {
  color: #6f7682;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.ai12-order-calc-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai12-order-calc-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #1c1c1c;
  font-size: 14px;
}

.ai12-order-price-option-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #eeeeee;
}

.ai12-order-price-option-total-label {
  color: #a5a5a5;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.ai12-order-price-option-price {
  color: #1c1c1c;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.ai12-checkout-page {
  padding-top: 46px;
}

.ai12-checkout-page .ai12-checkout-layout {
  align-items: flex-start;
  gap: 48px;
}

.ai12-checkout-page .ai12-checkout-main {
  min-width: 0;
}

.ai12-checkout-title {
  margin: 0 0 22px;
  color: #1c1c1c;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
}

.ai12-checkout-page .ai12-checkout-panel {
  padding: 28px;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.ai12-checkout-page .ai12-checkout-panel h3 {
  margin: 0 0 20px;
  color: #1c1c1c;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.ai12-checkout-page .ai12-input-label {
  display: block;
  margin-bottom: 10px;
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.ai12-checkout-page .input-large,
.ai12-checkout-page select.input-large,
.ai12-checkout-page textarea.message {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #e1e5ea;
  border-radius: 14px;
  background-color: #fff;
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1.35;
}

.ai12-checkout-page textarea.message {
  min-height: 128px;
  resize: vertical;
}

.ai12-checkout-page .input-large:focus,
.ai12-checkout-page select.input-large:focus,
.ai12-checkout-page textarea.message:focus {
  border-color: #2F90CD;
  box-shadow: 0 0 0 4px rgba(47, 144, 205, 0.12);
  outline: none;
}

.ai12-checkout-page .ai12-field-help {
  display: block;
  margin-top: 10px;
  color: #6f7682;
  font-size: 13px;
  line-height: 1.45;
}

.ai12-checkout-page .d-none {
  display: none !important;
}

.ai12-checkout-page .ai12-guest-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 18px;
  width: 100%;
}

.ai12-checkout-page .ai12-guest-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.ai12-checkout-page .ai12-guest-field-full {
  grid-column: 1 / -1;
}

.ai12-checkout-sidebar {
  position: sticky;
  top: 110px;
}

.ai12-checkout-page .ai12-checkout-summary {
  display: block;
  margin: 0;
  padding: 28px;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}

.ai12-checkout-summary-title {
  margin: 0 0 16px;
  color: #1c1c1c;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.ai12-checkout-summary-items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eeeeee;
}

.ai12-checkout-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #eeeeee;
}

.ai12-checkout-summary-product {
  min-width: 0;
}

.ai12-checkout-summary-product-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.ai12-checkout-summary-product-name {
  display: block;
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ai12-checkout-summary-product-qty {
  display: inline-block;
  margin-top: 0;
  color: #6f7682;
  font-size: 13px;
  line-height: 1.3;
}

.ai12-checkout-summary-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  color: #1c1c1c;
  font-size: 13px;
  line-height: 1.35;
}

.ai12-checkout-summary-fields strong {
  margin-right: 4px;
  font-weight: 700;
}

.ai12-checkout-options-price-total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  margin-top: 6px;
  line-height: 1.25;
}

.ai12-checkout-options-price-total strong {
  margin-right: 0;
  color: #1c1c1c;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.ai12-checkout-summary-price {
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.ai12-checkout-summary-totals {
  padding-top: 8px;
}

.ai12-checkout-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  color: #5f6672;
  font-size: 15px;
  line-height: 1.35;
}

.ai12-checkout-total-row strong {
  color: #1c1c1c;
  font-weight: 800;
  white-space: nowrap;
}

.ai12-checkout-total-row--grand {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #1c1c1c;
  color: #1c1c1c;
  font-size: 18px;
  font-weight: 800;
}

.ai12-checkout-messages {
  margin-top: 16px;
}

.ai12-checkout-page .ai12-checkout-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border-radius: 14px;
  font-weight: 800;
}

.ai12-cart-page {
  padding-top: 46px;
}

.ai12-cart-page .d-none {
  display: none !important;
}

.ai12-cart-page-title {
  margin: 0 0 28px;
  color: #1c1c1c;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
}

.ai12-cart-groups {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}

.ai12-cart-group {
  width: 100%;
  padding: 28px;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.ai12-cart-group-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eeeeee;
}

.ai12-cart-group-heading h3 {
  margin: 0;
  color: #1c1c1c;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.ai12-cart-group-total-inline {
  color: #1c1c1c;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
}

.ai12-cart-header,
.ai12-cart-item {
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) minmax(150px, 0.65fr) minmax(110px, 0.45fr) minmax(130px, 0.55fr) 40px;
  gap: 18px;
  align-items: start;
}

.ai12-cart-header {
  padding: 18px 0 12px;
  color: #6f7682;
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
}

.ai12-cart-items {
  display: flex;
  flex-direction: column;
}

.ai12-cart-item {
  padding: 20px 0;
  border-top: 1px solid #eeeeee;
}

.ai12-cart-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.ai12-cart-image {
  width: 96px;
  height: 72px;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f5f7;
}

.ai12-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai12-cart-product-copy {
  min-width: 0;
}

.ai12-cart-product-name {
  display: block;
  color: #1c1c1c;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.ai12-cart-fields {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
  color: #1c1c1c;
  font-size: 14px;
  line-height: 1.35;
}

.ai12-cart-fields strong {
  margin-right: 4px;
  font-weight: 700;
}

.ai12-cart-price,
.ai12-cart-quantity,
.ai12-cart-row-total {
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.ai12-cart-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  white-space: nowrap;
}

.ai12-cart-price-base {
  color: #1c1c1c;
  font-weight: 800;
  white-space: nowrap;
}

.ai12-cart-price-options {
  color: #6f7682;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
}

.ai12-cart-mobile-label {
  display: none;
}

.ai12-cart-action {
  display: flex;
  justify-content: flex-end;
}

.ai12-cart-page .cart-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d9dde3;
  border-radius: 50%;
  background: #fff;
  color: #1c1c1c;
  font-size: 16px;
  line-height: 1;
}

.ai12-cart-page .cart-total.ai12-cart-summary {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(140px, 0.35fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: stretch;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid #eeeeee;
}

.ai12-cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  color: #5f6672;
  font-size: 14px;
}

.ai12-cart-summary-row strong {
  color: #1c1c1c;
  font-weight: 800;
  white-space: nowrap;
}

.ai12-cart-summary-row--grand {
  border-color: #1c1c1c;
  color: #1c1c1c;
}

.ai12-cart-page .ai12-cart-checkout {
  min-height: 52px;
  border-radius: 14px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .ai-order-modal {
    padding: 12px;
  }

  .ai-order-modal .ai-order-modal-content {
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  .ai-order-modal .ai-order-modal-header,
  .ai-order-modal .modal-footer,
  .ai-order-modal .ai-order-modal-body-wrap {
    padding: 18px;
  }

  .ai-order-modal .row {
    grid-template-columns: 1fr;
  }

  .ai-order-modal .modal-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ai-order-modal .modal-footer .btn {
    width: 100%;
  }

  .ai12-order-price-option-base,
  .ai12-order-price-option-field,
  .ai12-order-price-option-total {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ai12-order-price-option-price {
    text-align: left;
  }

  .ai12-order-calc-row,
  .ai12-order-calc-field,
  .ai12-order-calc-select-wrap {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ai12-order-calc-value,
  .ai12-order-calc-total-value {
    text-align: left;
  }

  .ai12-checkout-page {
    padding-top: 28px;
    padding-bottom: 52px;
  }

  .ai12-checkout-title {
    font-size: 25px;
  }

  .ai12-checkout-page .ai12-checkout-panel,
  .ai12-checkout-page .ai12-checkout-summary {
    padding: 20px;
    border-radius: 14px;
  }

  .ai12-checkout-page .ai12-guest-fields {
    grid-template-columns: 1fr;
  }

  .ai12-checkout-page .ai12-guest-field-full {
    grid-column: auto;
  }

  .ai12-checkout-summary-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ai12-checkout-summary-price {
    text-align: left;
  }

  .ai12-cart-page {
    padding-top: 28px;
    padding-bottom: 52px;
  }

  .ai12-cart-page-title {
    font-size: 25px;
  }

  .ai12-cart-group {
    padding: 20px;
    border-radius: 14px;
  }

  .ai12-cart-group-heading {
    flex-direction: column;
    gap: 10px;
  }

  .ai12-cart-header {
    display: none;
  }

  .ai12-cart-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ai12-cart-product {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
  }

  .ai12-cart-image {
    width: 84px;
    height: 64px;
  }

  .ai12-cart-price,
  .ai12-cart-quantity,
  .ai12-cart-row-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .ai12-cart-mobile-label {
    display: inline;
    color: #6f7682;
    font-size: 13px;
    font-weight: 700;
  }

  .ai12-cart-action {
    justify-content: flex-start;
  }

  .ai12-cart-page .cart-total.ai12-cart-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .ai12-checkout-sidebar {
    position: static;
  }

  .ai12-checkout-page .ai12-checkout-layout {
    gap: 32px;
  }

  .ai12-cart-header,
  .ai12-cart-item {
    grid-template-columns: minmax(240px, 1.4fr) minmax(90px, 0.5fr) minmax(110px, 0.5fr) minmax(110px, 0.55fr) 38px;
    gap: 12px;
  }

  .ai12-cart-page .cart-total.ai12-cart-summary {
    grid-template-columns: 1fr 1fr;
  }

  .ai12-cart-page .ai12-cart-checkout {
    grid-column: 1 / -1;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .ai12-checkout-page .ai12-checkout-layout {
    gap: 28px;
  }
}

/* Ported customer orders and calendar from ai_8 */
.ai12-header-calendar-btn {
  color: #1c1c1c;
}

.ai12-header-calendar-btn svg {
  display: block;
}

.my-orders-page-section {
  background: #f7fbff;
}

.my-orders-intro {
  max-width: 740px;
  margin: 0 auto;
  color: rgba(39, 71, 96, 0.74);
}

.my-orders-chat-edit-texts {
  display: none;
}

.my-orders-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  padding: 18px;
  border: 1px solid rgba(48, 123, 196, 0.16);
  border-radius: 24px;
  background: #fff;
}

.my-orders-filter {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(48, 123, 196, 0.28);
  border-radius: 999px;
  color: #274760;
  font-weight: 700;
}

.my-orders-filter.is-active {
  background: #307bc4;
  color: #fff;
}

.my-orders-year-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.my-orders-year-form label,
.my-orders-head span,
.my-orders-fields span {
  color: rgba(39, 71, 96, 0.66);
  font-size: 13px;
  text-transform: uppercase;
}

.my-orders-year-select {
  width: 210px;
  min-width: 210px;
  height: 48px;
  padding: 0 42px 0 16px;
  border: 1px solid rgba(48, 123, 196, 0.28);
  border-radius: 14px;
  background: #fff;
  color: #274760;
  font-size: 16px;
  font-weight: 700;
  line-height: 48px;
}

.my-orders-section-title {
  margin: 0 0 18px;
  color: #274760;
  font-size: 28px;
  font-weight: 700;
}

.my-orders-card {
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid rgba(48, 123, 196, 0.16);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(39, 71, 96, 0.06);
}

.my-orders-card-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px;
}

.my-orders-chat-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border: 1px solid #274760;
  border-radius: 999px;
  background: #274760;
  color: #fff;
  box-shadow: 0 10px 24px rgba(39, 71, 96, 0.2);
  font-weight: 900;
  line-height: 1.2;
  transition: all .2s ease;
}

.my-orders-chat-open:hover {
  border-color: #307bc4;
  background: #307bc4;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(48, 123, 196, 0.26);
}

.my-orders-head {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  background: #f3f8fd;
}

.my-orders-head strong,
.my-orders-fields strong,
.my-orders-row-price {
  display: block;
  color: #274760;
}

.my-orders-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #307bc4;
  color: #fff;
  font-style: normal;
}

.my-orders-body {
  padding: 26px;
}

.my-orders-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-bottom: 22px;
}

.my-orders-fields .is-wide {
  grid-column: 1 / -1;
}

.my-orders-fields strong {
  white-space: pre-line;
}

.my-orders-rows {
  display: grid;
  gap: 18px;
}

.my-orders-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(39, 71, 96, 0.12);
}

.my-orders-row-main h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.my-orders-row-main a {
  color: #274760;
}

.my-orders-row-main p {
  margin: 0;
  color: rgba(39, 71, 96, 0.7);
}

.my-orders-row-fields {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.my-orders-empty {
  padding: 34px;
  border: 1px solid rgba(48, 123, 196, 0.16);
  border-radius: 30px;
  background: #fff;
  color: #274760;
  text-align: center;
}

.my-orders-empty-error {
  border-color: #ffd0c2;
  background: #fff4f0;
  color: #9e3f29;
}

.my-orders-chat-modal-open {
  overflow: hidden;
}

.my-orders-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.my-orders-chat-modal.is-open {
  display: flex;
}

.my-orders-chat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 49, 0.58);
  backdrop-filter: blur(6px);
}

.my-orders-chat-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: #f7fbff;
  box-shadow: 0 28px 80px rgba(13, 31, 49, 0.28);
}

.my-orders-chat-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(39, 71, 96, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #274760;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.my-orders-chat-form {
  margin: 34px;
  padding: 18px;
  border: 1px solid rgba(48, 123, 196, 0.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(39, 71, 96, 0.05);
}

.my-orders-chat-label {
  display: block;
  margin: 0 44px 8px 0;
  color: #183b58;
  font-size: 18px;
  font-weight: 900;
}

.my-orders-chat-form p {
  margin: 0 0 12px;
  color: rgba(39, 71, 96, 0.68);
  font-size: 15px;
  line-height: 1.45;
}

.my-orders-chat-form textarea {
  display: block;
  width: 100%;
  min-height: 106px;
  padding: 13px 14px;
  border: 1px solid rgba(39, 71, 96, 0.16);
  border-radius: 14px;
  background: #f9fcff;
  color: #183b58;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.my-orders-chat-form textarea:focus {
  outline: none;
  border-color: rgba(48, 123, 196, 0.52);
  box-shadow: 0 0 0 3px rgba(48, 123, 196, 0.12);
}

.my-orders-chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.my-orders-chat-status {
  min-height: 20px;
  color: rgba(39, 71, 96, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.my-orders-chat-actions button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: #274760;
  color: #fff;
  font-weight: 900;
}

.my-orders-chat-actions button:disabled {
  opacity: 0.62;
  cursor: wait;
}

@media (max-width: 991px) {
  .my-orders-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .my-orders-toolbar,
  .my-orders-year-form {
    align-items: stretch;
    flex-direction: column;
  }

  .my-orders-year-select {
    width: 100%;
    min-width: 0;
  }

  .my-orders-head,
  .my-orders-fields,
  .my-orders-row {
    grid-template-columns: 1fr;
  }

  .my-orders-card-actions,
  .my-orders-chat-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .my-orders-chat-open,
  .my-orders-chat-actions button {
    width: 100%;
  }

  .my-orders-chat-modal {
    padding: 12px;
  }

  .my-orders-chat-form {
    margin: 18px 14px;
  }
}

.customer-calendar-page-section {
  overflow: hidden;
  background: #f7fbff;
  padding: 155px 0 110px;
}

.customer-calendar-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.customer-calendar-intro {
  max-width: 740px;
  margin: 12px 0 0;
  color: rgba(39, 71, 96, 0.74);
}

.customer-calendar-edit-texts {
  display: none;
}

.customer-calendar-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.customer-calendar-types span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid rgba(48, 123, 196, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #274760;
  font-size: 13px;
  font-weight: 700;
}

.customer-calendar-shell {
  overflow: hidden;
  border: 1px solid rgba(48, 123, 196, 0.16);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(39, 71, 96, 0.06);
}

.customer-calendar-widget {
  padding: 22px;
}

.customer-calendar-widget .fc {
  color: #274760;
  font-family: inherit;
}

.customer-calendar-widget .fc .fc-toolbar-title {
  color: #274760;
  font-size: 26px;
  font-weight: 800;
  text-transform: capitalize;
}

.customer-calendar-widget .fc .fc-button {
  border: 1px solid rgba(48, 123, 196, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #274760;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
}

.customer-calendar-widget .fc .fc-button:hover,
.customer-calendar-widget .fc .fc-button-primary:not(:disabled).fc-button-active {
  border-color: #307bc4;
  background: #307bc4;
  color: #fff;
}

.customer-calendar-widget .fc .fc-daygrid-day.fc-day-today,
.customer-calendar-widget .fc .fc-timegrid-col.fc-day-today {
  background: rgba(48, 123, 196, 0.08);
}

.customer-calendar-widget .fc .fc-event {
  border: 0;
  border-radius: 10px;
  padding: 2px;
  background: #307bc4;
  color: #fff;
}

.customer-calendar-widget .fc .fc-daygrid-dot-event {
  display: block;
  border-radius: 10px;
}

.customer-calendar-widget .fc .fc-daygrid-dot-event:hover {
  background: #307bc4;
}

.customer-calendar-widget .fc .fc-daygrid-event-dot {
  display: none;
}

.customer-calendar-event {
  min-width: 0;
  padding: 3px 5px;
  line-height: 1.25;
}

.customer-calendar-event-main {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-calendar-event-products {
  overflow: hidden;
  font-size: 11px;
  opacity: 0.88;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-calendar-empty {
  padding: 34px;
  border: 1px solid rgba(48, 123, 196, 0.16);
  border-radius: 30px;
  background: #fff;
  color: #274760;
  text-align: center;
}

.customer-calendar-modal-open {
  overflow: hidden;
}

.customer-calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.customer-calendar-modal.is-open {
  display: flex;
}

.customer-calendar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 49, 0.58);
  backdrop-filter: blur(6px);
}

.customer-calendar-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(86vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: #f7fbff;
  box-shadow: 0 28px 80px rgba(13, 31, 49, 0.28);
}

.customer-calendar-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(39, 71, 96, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #274760;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.customer-calendar-modal-content {
  max-height: min(86vh, 860px);
  overflow: auto;
}

.customer-calendar-modal-loading,
.customer-calendar-modal-error {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: #274760;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.customer-calendar-modal-error {
  color: #a32121;
}

.customer-calendar-detail {
  color: #274760;
}

.customer-calendar-detail-hero {
  padding: 34px 72px 28px 34px;
  background: linear-gradient(135deg, #ffffff 0%, #e9f5ff 100%);
  border-bottom: 1px solid rgba(48, 123, 196, 0.12);
}

.customer-calendar-detail-kicker {
  margin-bottom: 7px;
  color: rgba(39, 71, 96, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-calendar-detail-hero h2 {
  margin: 0;
  color: #183b58;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
}

.customer-calendar-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.customer-calendar-detail-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(48, 123, 196, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #274760;
  font-size: 13px;
  font-weight: 800;
}

.customer-calendar-detail-section,
.customer-calendar-detail-products {
  margin: 24px 34px;
}

.customer-calendar-detail-section {
  border: 1px solid rgba(48, 123, 196, 0.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(39, 71, 96, 0.05);
}

.customer-calendar-detail-section-head {
  padding: 18px 20px 0;
}

.customer-calendar-detail-section-head h3,
.customer-calendar-detail-products > h3 {
  margin: 0;
  color: #183b58;
  font-size: 18px;
  font-weight: 900;
}

.customer-calendar-detail-section-head p {
  margin: 7px 0 0;
  color: rgba(39, 71, 96, 0.68);
  font-size: 14px;
}

.customer-calendar-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 20px 20px;
}

.customer-calendar-detail-field {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(39, 71, 96, 0.09);
  border-radius: 14px;
  background: #f9fcff;
}

.customer-calendar-detail-label {
  margin-bottom: 6px;
  color: rgba(39, 71, 96, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-calendar-detail-value {
  overflow-wrap: anywhere;
  color: #183b58;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.customer-calendar-detail-value.is-status {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.customer-calendar-detail-value span {
  color: inherit;
  opacity: 0.72;
}

.customer-calendar-detail-help {
  margin-top: 7px;
  color: rgba(39, 71, 96, 0.58);
  font-size: 12px;
  line-height: 1.35;
}

.customer-calendar-detail-empty,
.customer-calendar-detail-empty-block {
  color: rgba(39, 71, 96, 0.48);
  font-weight: 700;
}

.customer-calendar-detail-empty-block {
  margin: 24px 34px;
  padding: 28px;
  border: 1px dashed rgba(48, 123, 196, 0.22);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.customer-calendar-detail-files {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-calendar-detail-file {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(48, 123, 196, 0.18);
  border-radius: 12px;
  background: #fff;
  color: #274760;
  font-size: 13px;
  font-weight: 800;
}

.customer-calendar-detail-file.is-image {
  padding: 0;
  overflow: hidden;
}

.customer-calendar-detail-file img {
  display: block;
  width: 116px;
  height: 76px;
  object-fit: cover;
}

.customer-calendar-detail-products {
  margin-top: 10px;
  padding-top: 0;
}

.customer-calendar-detail-product {
  margin-top: 14px;
  border: 1px solid rgba(48, 123, 196, 0.13);
  border-radius: 18px;
  background: #fff;
}

.customer-calendar-detail-product-title {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(48, 123, 196, 0.11);
  color: #183b58;
  font-size: 15px;
  font-weight: 900;
}

.customer-calendar-detail-product .customer-calendar-detail-section {
  margin: 16px;
  box-shadow: none;
}

.customer-calendar-chat {
  margin: 10px 34px 28px;
  padding: 18px;
  border: 1px solid rgba(48, 123, 196, 0.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(39, 71, 96, 0.05);
}

.customer-calendar-chat-label {
  display: block;
  margin: 0 0 6px;
  color: #183b58;
  font-size: 16px;
  font-weight: 900;
}

.customer-calendar-chat p {
  margin: 0 0 12px;
  color: rgba(39, 71, 96, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.customer-calendar-chat textarea {
  display: block;
  width: 100%;
  min-height: 96px;
  padding: 13px 14px;
  border: 1px solid rgba(39, 71, 96, 0.16);
  border-radius: 14px;
  background: #f9fcff;
  color: #183b58;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.customer-calendar-chat textarea:focus {
  outline: none;
  border-color: rgba(48, 123, 196, 0.52);
  box-shadow: 0 0 0 3px rgba(48, 123, 196, 0.12);
}

.customer-calendar-chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.customer-calendar-chat-status {
  min-height: 20px;
  color: rgba(39, 71, 96, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.customer-calendar-chat button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: #274760;
  color: #fff;
  font-weight: 900;
}

.customer-calendar-chat button:disabled {
  opacity: 0.62;
  cursor: wait;
}

@media (max-width: 991px) {
  .customer-calendar-page-section {
    padding: 125px 0 80px;
  }

  .customer-calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-calendar-types {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .customer-calendar-widget {
    padding: 14px;
  }

  .customer-calendar-widget .fc .fc-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .customer-calendar-widget .fc .fc-toolbar-title {
    font-size: 22px;
  }

  .customer-calendar-widget .fc .fc-button {
    padding: 6px 9px;
    font-size: 12px;
  }

  .customer-calendar-modal {
    padding: 12px;
  }

  .customer-calendar-modal-dialog,
  .customer-calendar-modal-content {
    max-height: 90vh;
  }

  .customer-calendar-detail-hero {
    padding: 28px 62px 24px 22px;
  }

  .customer-calendar-detail-hero h2 {
    font-size: 24px;
  }

  .customer-calendar-detail-section,
  .customer-calendar-detail-products,
  .customer-calendar-detail-empty-block,
  .customer-calendar-chat {
    margin-left: 14px;
    margin-right: 14px;
  }

  .customer-calendar-detail-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .customer-calendar-chat-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-calendar-chat button {
    width: 100%;
  }
}

.ai-site-chat,
.ai-site-chat * {
  box-sizing: border-box;
}

.ai-site-chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 18px;
  z-index: 10020;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  max-width: min(280px, calc(100vw - 48px));
  padding: 12px 18px 12px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--ai-site-chat-launcher-bg, #274760);
  box-shadow: 0 16px 40px rgba(39, 71, 96, 0.22);
  color: var(--ai-site-chat-launcher-text, #fff);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ai-site-chat-badge {
  position: absolute;
  top: -14px;
  right: -12px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #ff2f45;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
  text-shadow: 0 1px 1px rgba(125, 19, 31, 0.35);
  box-shadow: 0 0 0 4px rgba(255, 47, 69, 0.18), 0 12px 28px rgba(239, 68, 68, 0.46);
}

.ai-site-chat-badge[hidden] {
  display: none;
}

.ai-site-chat-launcher:hover {
  background: var(--ai-site-chat-launcher-hover-bg, #307bc4);
  box-shadow: 0 20px 48px rgba(48, 123, 196, 0.28);
  transform: translateY(-2px);
}

.ai-site-chat-launcher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ai-site-chat-launcher-icon-bg, rgba(255, 255, 255, 0.16));
  color: var(--ai-site-chat-launcher-icon-color, #fff);
  font-size: 17px;
}

.ai-site-chat-launcher-text {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ai-site-chat-launcher-text, #fff);
  text-align: left;
}

.ai-site-chat-launcher-icon,
.ai-site-chat-launcher-icon * {
  color: var(--ai-site-chat-launcher-icon-color, #fff);
}

.ai-site-chat-launcher-icon svg,
.ai-site-chat-launcher-icon svg * {
  color: var(--ai-site-chat-launcher-icon-color, #fff);
  stroke: currentColor;
}

.ai-site-chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 10025;
  background: rgba(13, 31, 46, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.ai-site-chat-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10030;
  display: flex;
  flex-direction: column;
  width: min(480px, 94vw);
  height: 100vh;
  height: 100dvh;
  background: #f7fbff;
  box-shadow: -26px 0 70px rgba(13, 31, 46, 0.2);
  color: #274760;
  transform: translateX(104%);
  transition: transform 0.28s ease;
}

.ai-site-chat.is-open .ai-site-chat-overlay {
  opacity: 1;
  pointer-events: auto;
}

.ai-site-chat.is-open .ai-site-chat-panel {
  transform: translateX(0);
}

.ai-site-chat.is-open .ai-site-chat-launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.ai-site-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: var(--ai-site-chat-header-bg, #fff);
  border-bottom: 1px solid rgba(48, 123, 196, 0.14);
}

.ai-site-chat-header h2 {
  margin: 0;
  color: #274760;
  font-size: 24px;
  line-height: 1.2;
}

.ai-site-chat-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #eef5fb;
  color: #274760;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ai-site-chat-close:hover {
  background: #274760;
  color: #fff;
}

.ai-site-chat-messages {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ai-site-chat-empty {
  margin: auto;
  color: rgba(39, 71, 96, 0.68);
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-line;
  text-align: center;
}

.ai-site-chat-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.ai-site-chat-message.is-own {
  align-items: flex-end;
}

.ai-site-chat-bubble {
  max-width: min(320px, 82%);
  padding: 12px 14px;
  border: 1px solid rgba(48, 123, 196, 0.16);
  border-radius: 16px 16px 16px 5px;
  background: var(--ai-site-chat-bubble-in-bg, #fff);
  box-shadow: 0 8px 24px rgba(39, 71, 96, 0.08);
  color: var(--ai-site-chat-bubble-in-text, #274760);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ai-site-chat-message.is-own .ai-site-chat-bubble {
  border-color: var(--ai-site-chat-bubble-out-bg, #307bc4);
  border-radius: 16px 16px 5px 16px;
  background: var(--ai-site-chat-bubble-out-bg, #307bc4);
  color: var(--ai-site-chat-bubble-out-text, #fff);
}

.ai-site-chat-bubble a {
  display: inline-flex;
  margin-top: 8px;
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ai-site-chat-attachment-image,
.ai-site-chat-attachment-file,
.ai-site-chat-attachment-audio {
  display: block;
  margin-top: 8px;
}

.ai-site-chat-attachment-image img {
  display: block;
  width: auto;
  max-width: min(260px, 76vw);
  max-height: 260px;
  border-radius: 10px;
  object-fit: contain;
}

.ai-site-chat-attachment-audio {
  display: grid;
  gap: 6px;
}

.ai-site-chat-attachment-audio audio {
  width: min(260px, 72vw);
  max-width: 100%;
}

.ai-site-chat-attachment-file {
  max-width: min(260px, 72vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-site-chat-meta {
  max-width: min(320px, 82%);
  color: rgba(39, 71, 96, 0.62);
  font-size: 11px;
  line-height: 1.35;
}

.ai-site-chat-message.is-own .ai-site-chat-meta {
  text-align: right;
}

.ai-site-chat-guest {
  margin: 0 16px 14px;
  padding: 16px;
  border: 1px solid rgba(48, 123, 196, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(39, 71, 96, 0.1);
}

.ai-site-chat-typing {
  min-height: 18px;
  margin: 0 16px 10px;
  color: rgba(39, 71, 96, 0.68);
  font-size: 13px;
  line-height: 1.35;
}

.ai-site-chat-typing[hidden] {
  display: none;
}

.ai-site-chat-guest-title {
  color: #274760;
  font-size: 16px;
  font-weight: 800;
}

.ai-site-chat-guest-text {
  margin-top: 3px;
  color: rgba(39, 71, 96, 0.7);
  font-size: 13px;
  line-height: 1.4;
}

.ai-site-chat-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ai-site-chat-grid label {
  display: grid;
  gap: 5px;
  margin: 0;
  color: #274760;
  font-size: 12px;
  font-weight: 800;
}

.ai-site-chat-grid input,
.ai-site-chat-composer textarea {
  width: 100%;
  border: 1px solid rgba(48, 123, 196, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #274760;
  font: inherit;
  outline: none;
}

.ai-site-chat-grid input {
  min-height: 42px;
  padding: 9px 11px;
}

.ai-site-chat-grid input:focus,
.ai-site-chat-composer textarea:focus {
  border-color: #307bc4;
  box-shadow: 0 0 0 3px rgba(48, 123, 196, 0.12);
}

.ai-site-chat-guest-error {
  margin-top: 10px;
  color: #b42318;
  font-size: 13px;
  line-height: 1.4;
}

.ai-site-chat-submit {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--ai-site-chat-action-bg, #274760);
  color: var(--ai-site-chat-action-text, #fff);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.ai-site-chat-composer {
  display: grid;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(48, 123, 196, 0.14);
  background: #fff;
}

.ai-site-chat-composer-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
}

.ai-site-chat-tools {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  position: relative;
}

.ai-site-chat-tools-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-site-chat-composer textarea {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  max-height: 120px;
  padding: 10px 13px;
  resize: none;
}

.ai-site-chat-composer textarea:disabled {
  background: #eef5fb;
  color: rgba(39, 71, 96, 0.58);
  cursor: not-allowed;
}

.ai-site-chat-send {
  flex: 0 0 auto;
}

.ai-site-chat-composer button,
.ai-site-chat-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--ai-site-chat-action-bg, #307bc4);
  color: var(--ai-site-chat-action-text, #fff);
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ai-site-chat-composer button svg,
.ai-site-chat-composer button svg *,
.ai-site-chat-close svg,
.ai-site-chat-close svg * {
  color: currentColor;
}

.ai-site-chat-composer button svg,
.ai-site-chat-composer button svg * {
  color: var(--ai-site-chat-action-text, #fff);
  stroke: currentColor;
}

.ai-site-chat-tool {
  border: 1px solid rgba(48, 123, 196, 0.18);
  background: #f3f8fd;
  color: var(--ai-site-chat-action-bg, #274760);
}

.ai-site-chat-tools-toggle.ai-site-chat-tool {
  display: none;
}

.ai-site-chat-send {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.ai-site-chat-send svg,
.ai-site-chat-send svg * {
  color: var(--ai-site-chat-action-text, #fff);
}

.ai-site-chat-tool.is-recording {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
}

.ai-site-chat-composer button:hover,
.ai-site-chat-tool:hover {
  background: var(--ai-site-chat-action-bg, #274760);
  color: var(--ai-site-chat-action-text, #fff);
  transform: translateY(-1px);
}

.ai-site-chat-tool.is-recording,
.ai-site-chat-tool.is-recording:hover,
.ai-site-chat-tool.is-recording:focus {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
}

.ai-site-chat-composer.is-sending {
  opacity: 0.72;
  pointer-events: none;
}

.ai-site-chat-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(39, 71, 96, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.ai-site-chat-attachment[hidden] {
  display: none;
}

.ai-site-chat-attachment span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-site-chat-attachment button {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #307bc4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ai-site-chat-camera-modal {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 31, 46, 0.62);
}

.ai-site-chat-camera-modal.is-open {
  display: flex;
}

.ai-site-chat-camera-panel {
  width: min(760px, 96vw);
  overflow: hidden;
  border-radius: 14px;
  background: #0b1220;
  box-shadow: 0 26px 70px rgba(13, 31, 46, 0.34);
}

.ai-site-chat-camera-panel video {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: #000;
}

.ai-site-chat-camera-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
}

.ai-site-chat-camera-actions button {
  min-height: 38px;
  padding: 8px 13px;
  border: 0;
  border-radius: 9px;
  background: #eef5fb;
  color: #274760;
  font-weight: 800;
}

.ai-site-chat-camera-actions button:last-child {
  background: #307bc4;
  color: #fff;
}

.ai-site-chat-open {
  overflow: hidden;
}
.ai-cookie-preference-link {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  padding: 10px 14px;
  border: 1px solid rgba(48, 123, 196, 0.22);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(39, 71, 96, 0.14);
  color: #274760;
  font-size: 13px;
}

@media (max-width: 991px) {
  .ai-cookie-banner {
    grid-template-columns: 1fr;
  }

  .ai-cookie-banner-actions,
  .ai-cookie-panel-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .ai-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 18px;
  }

  .ai-cookie-banner-actions,
  .ai-cookie-panel-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ai-cookie-btn {
    width: 100%;
  }

  .ai-cookie-overlay {
    padding: 12px;
  }

  .ai-cookie-panel {
    padding: 20px;
  }

  .ai-cookie-panel-header h2 {
    font-size: 28px;
  }

  .ai-cookie-category {
    grid-template-columns: 1fr;
  }

  .ai-site-chat-launcher {
    right: 16px;
    bottom: 18px;
    min-height: 50px;
    padding: 10px 15px 10px 10px;
    font-size: 14px;
  }

  .ai-site-chat-panel {
    width: 100vw;
  }

  .ai-site-chat-header {
    padding: 18px;
  }

  .ai-site-chat-messages {
    padding: 16px;
  }

  .ai-site-chat-composer {
    padding: 12px 12px 14px;
  }

  .ai-site-chat-composer-row {
    gap: 6px;
  }

  .ai-site-chat-tools {
    gap: 4px;
  }

  .ai-site-chat-tools-toggle.ai-site-chat-tool {
    display: inline-flex;
  }

  .ai-site-chat-tools-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    z-index: 3;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(48, 123, 196, 0.14);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(39, 71, 96, 0.16);
  }

  .ai-site-chat-tools.is-tools-open .ai-site-chat-tools-menu {
    display: flex;
  }

  .ai-site-chat-tool {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .ai-site-chat-send {
    width: 40px;
    height: 40px;
  }

  .ai-site-chat-composer textarea {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 15px;
  }

  .ai-site-chat-bubble,
  .ai-site-chat-meta {
    max-width: 88%;
  }
}

.ai-site-chat-panel {
  background: #f8f9fb;
  color: #1c1c1c;
}

.ai-site-chat-header h2,
.ai-site-chat-close,
.ai-site-chat-guest-title,
.ai-site-chat-grid label {
  color: #1c1c1c;
}

.ai-site-chat-close {
  background: #f3f4f6;
}

.ai-site-chat-close:hover {
  background: #1c1c1c;
}

.ai-site-chat-empty,
.ai-site-chat-guest-text,
.ai-site-chat-typing,
.ai-site-chat-meta,
.ai-site-chat-attachment {
  color: #6f7378;
}

.ai-site-chat-grid input,
.ai-site-chat-composer textarea {
  border-color: rgba(28, 28, 28, 0.12);
  color: #1c1c1c;
}

.ai-site-chat-bubble {
  border-color: rgba(28, 28, 28, 0.12);
  color: var(--ai-site-chat-bubble-in-text, #1c1c1c);
}

.ai-site-chat-bubble * {
  color: inherit;
}

.ai-site-chat-message.is-own .ai-site-chat-bubble {
  color: var(--ai-site-chat-bubble-out-text, #fff);
}

.ai-site-chat-grid input:focus,
.ai-site-chat-composer textarea:focus {
  border-color: var(--primary, #ff4838);
  box-shadow: 0 0 0 3px rgba(255, 72, 56, 0.12);
}

.ai-site-chat-tool {
  border-color: rgba(28, 28, 28, 0.12);
  background: #f8f9fb;
  color: var(--ai-site-chat-action-bg, #ff4838);
}

.ai-site-chat-attachment button {
  color: var(--ai-site-chat-action-bg, #ff4838);
}

.ai-site-chat-camera-actions button {
  background: #f3f4f6;
  color: #1c1c1c;
}

.ai-site-chat-camera-actions button:last-child {
  background: var(--ai-site-chat-action-bg, #ff4838);
  color: var(--ai-site-chat-action-text, #fff);
}

.ai-cookie-preference-link {
  left: 18px;
  right: auto;
  border-color: rgba(28, 28, 28, 0.08);
  color: #1c1c1c;
}

/* Runtime checkout e storico ordini */
.ai12-checkout-payment-methods { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(28, 28, 28, .12); }
.ai12-checkout-payment-methods h3 { margin-bottom: 14px; }
.ai12-payment-method-list { display: grid; gap: 12px; }
.ai12-payment-method { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid rgba(28, 28, 28, .14); border-radius: 10px; cursor: pointer; }
.ai12-payment-method input { flex: 0 0 auto; margin-top: 4px; }
.ai12-payment-method-copy { display: grid; gap: 7px; min-width: 0; }
.ai12-payment-method-copy small { display: block; color: #666; line-height: 1.45; }
.ai12-payment-method-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ai12-payment-method-icons img { display: block; max-width: 72px; max-height: 32px; object-fit: contain; }
.ai12-my-orders-counts, .ai12-my-orders-payment { margin-top: 22px; padding: 18px; border: 1px solid rgba(28, 28, 28, .12); border-radius: 12px; background: #fff; }
.ai12-my-orders-counts > div, .ai12-my-orders-payment-grid > div, .ai12-my-orders-payment-head { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.ai12-my-orders-counts .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(28, 28, 28, .12); font-size: 1.08em; }
.ai12-my-orders-payment-head { align-items: center; }
.ai12-my-orders-payment-head h4 { margin: 0; }
.ai12-my-orders-payment-head em { font-style: normal; font-weight: 600; }
.ai12-my-orders-payment-instructions { margin: 12px 0; white-space: normal; }
.ai12-my-orders-repeat { margin-top: 16px; text-align: right; }
.ai12-my-orders-repeat-status { margin-top: 8px; font-size: 13px; }
.ai12-my-orders-repeat-status.is-error { color: #b42318; }
.ai12-my-orders-repeat-status.is-success { color: #067647; }
.ai12-runtime-mobile-only { display: none !important; }
.ai12-language-switch { display: flex; align-items: center; gap: 6px; }
.ai12-language-switch a { padding: 5px 7px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.ai12-language-switch a.is-active { background: #1c1c1c; color: #fff; }
@media (max-width: 1199px) { .ai12-runtime-mobile-only { display: list-item !important; } }

/* Mantiene le proporzioni originali del logo nel footer. */
.footer .footer-top-inner img.logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 54px;
  margin-left: -37.5px;
  object-fit: contain;
}

.footer .widget-socical img {
  filter: brightness(0) invert(1);
}

/* Home: blocco noleggio internazionale. */
.ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) .container.py-12 {
  padding-top: 76px;
  padding-bottom: 48px;
}

.ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) h1.h1 {
  margin-bottom: 36px;
  line-height: 1.15;
}

.ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) h1.h1 > span {
  font-size: clamp(44px, 6vw, 72px) !important;
}

/* Il titolo usa la stessa dimensione dei titoli principali del tema. */
.ai12-html-block h1.h1.text-center.mb-4,
.ai12-html-block h1.h1.text-center.mb-4 > span,
.ai12-html-block h1.h1.text-center.mb-4 > span > strong {
  font-size: clamp(42px, 3.2vw, 58px) !important;
  line-height: 1.15 !important;
}

.ai12-html-block h1.h1.text-center.mb-4 > span {
  display: inline;
}

.ai12-html-block h1.h1.text-center.mb-4 > br {
  display: none;
}

.ai12-html-block h1.h1.text-center.mb-4 > span + span::before {
  content: " ";
  white-space: pre;
}

.ai12-html-block h1.h1.text-center.mb-4 > span + span {
  margin-left: 0.28em;
}

/* Evita spazio vuoto sotto il modulo di prenotazione. */
.ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) .iframe-wrapper iframe {
  height: 520px !important;
}

/* Pagina Chi siamo: separa i contatori dall'introduzione del centro servizi. */
section.bg-white.pb-100:has(.tf-spacing-style3) {
  padding-top: 64px;
}

@media (max-width: 767px) {
  .ai12-html-block h1.h1.text-center.mb-4 > span + span {
    margin-left: 0;
  }

  section.bg-white.pb-100:has(.tf-spacing-style3) {
    padding-top: 40px;
  }

  .ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) .container.py-12 {
    padding: 48px 0 30px;
  }

  .ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) h1.h1 {
    margin-bottom: 24px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) h1.h1 > span {
    font-size: clamp(28px, 8.5vw, 36px) !important;
  }

  .ai12-html-block h1.h1.text-center.mb-4,
  .ai12-html-block h1.h1.text-center.mb-4 > span,
  .ai12-html-block h1.h1.text-center.mb-4 > span > strong {
    font-size: 40px !important;
    line-height: 1.2 !important;
  }

  .ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) .iframe-wrapper,
  .ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) .iframe-wrapper iframe {
    width: 100% !important;
    max-width: 100%;
  }

  .ai12-html-block:has(iframe[src*="booking.autoeurope.com"]) .iframe-wrapper iframe {
    display: block;
    height: 700px !important;
  }
}
