.pc-ai-product-questions {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #e4e0da;
  border-radius: 8px;
  background: #fff;
}

.pc-ai-product-questions__title {
  margin-bottom: .75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #25211d;
}

.pc-ai-product-questions__items {
  display: grid;
  gap: .5rem;
}

.pc-ai-product-questions__item {
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
  background: #faf9f7;
  color: #25211d;
  text-align: left;
  cursor: pointer;
}

.pc-ai-product-questions__item:hover,
.pc-ai-product-questions__item:focus {
  border-color: #7f6f61;
  background: #fff;
}

.pc-ai-product-questions__loading {
  color: #6f6860;
}

.pc-ai-product-faq {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #e4e0da;
  border-radius: 8px;
  background: #fff;
}

.pc-ai-product-faq__title {
  margin: 0 0 .75rem;
  color: #25211d;
  font-size: 1rem;
  font-weight: 700;
}

.pc-ai-product-faq__items {
  border-top: 1px solid #e4e0da;
}

.pc-ai-product-faq__item {
  border-bottom: 1px solid #e4e0da;
}

.pc-ai-product-faq__question {
  position: relative;
  padding: .85rem 2rem .85rem 0;
  color: #25211d;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.pc-ai-product-faq__question::-webkit-details-marker {
  display: none;
}

.pc-ai-product-faq__question::after {
  content: '+';
  position: absolute;
  top: .72rem;
  right: .25rem;
  color: #7f6f61;
  font-size: 1.25rem;
  font-weight: 400;
}

.pc-ai-product-faq__item[open] .pc-ai-product-faq__question::after {
  content: '\2212';
}

.pc-ai-product-faq__answer {
  padding: 0 2rem .9rem 0;
  color: #4d4741;
  line-height: 1.55;
}

.pc-ai-chat {
  position: fixed;
  right: var(--pc-ai-chat-side-offset, 1rem);
  bottom: var(--pc-ai-chat-bottom-offset, 1rem);
  z-index: 2147483000;
  font-family: inherit;
}

.pc-ai-chat[data-pc-ai-position="left"] {
  right: auto;
  left: var(--pc-ai-chat-side-offset, 1rem);
}

.pc-ai-chat__bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--pc-ai-chat-bubble-size, 3.5rem);
  height: var(--pc-ai-chat-bubble-size, 3.5rem);
  border: 0;
  border-radius: 50%;
  background: var(--pc-ai-chat-bubble-bg, #263238);
  color: var(--pc-ai-chat-bubble-color, #fff);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  cursor: pointer;
}

.pc-ai-chat__bubble-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 1.7rem;
  height: 1.45rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.pc-ai-chat__bubble-icon--chat_dots,
.pc-ai-chat__bubble-icon--chat {
  border: 2px solid currentColor;
  border-radius: .4rem;
}

.pc-ai-chat__bubble-icon--chat_dots::after,
.pc-ai-chat__bubble-icon--chat::after {
  content: '';
  position: absolute;
  right: .12rem;
  bottom: -.3rem;
  width: .48rem;
  height: .48rem;
  border-right: 2px solid currentColor;
  transform: skewY(38deg);
}

.pc-ai-chat__chat-dots {
  display: flex;
  gap: .18rem;
}

.pc-ai-chat__chat-dots i {
  width: .2rem;
  height: .2rem;
  border-radius: 50%;
  background: currentColor;
}

.pc-ai-chat__chat-line {
  width: .78rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.pc-ai-chat__bubble-icon--headset {
  font-size: 1.55rem;
  font-weight: 400;
}

.pc-ai-chat__panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  bottom: calc(var(--pc-ai-chat-bubble-size, 3.5rem) + .75rem);
  width: min(24rem, calc(100vw - 2rem));
  height: min(34rem, calc(100vh - 7rem));
  overflow: hidden;
  border: 1px solid #d8d2ca;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.pc-ai-chat[data-pc-ai-position="left"] .pc-ai-chat__panel {
  right: auto;
  left: 0;
}

.pc-ai-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  background: var(--pc-ai-chat-header-bg, #263238);
  color: #fff;
  font-weight: 700;
}

.pc-ai-chat__header-actions {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.pc-ai-chat__rating {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
}

.pc-ai-chat__contact-toggle {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.pc-ai-chat__contact-toggle:hover,
.pc-ai-chat__contact-toggle:focus {
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
}

.pc-ai-chat__rating:hover,
.pc-ai-chat__rating:focus,
.pc-ai-chat__rating--selected {
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
}

.pc-ai-chat__rating:disabled {
  cursor: default;
  opacity: .65;
}

.pc-ai-chat__close {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.pc-ai-chat__contact {
  flex: 0 0 auto;
  padding: .75rem .85rem;
  border-bottom: 1px solid #e4e0da;
  background: #fff;
}

.pc-ai-chat__contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.pc-ai-chat__contact-title,
.pc-ai-chat__contact-error,
.pc-ai-chat__contact-thanks {
  grid-column: 1 / -1;
}

.pc-ai-chat__contact-title {
  color: #25211d;
  font-size: .85rem;
  font-weight: 700;
}

.pc-ai-chat__contact-input {
  width: 100%;
  min-width: 0;
  padding: .55rem .6rem;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
  background: #fff;
  color: #25211d;
  font-size: .85rem;
}

.pc-ai-chat__contact-submit {
  grid-column: 1 / -1;
  padding: .55rem .7rem;
  border: 0;
  border-radius: 6px;
  background: #7f6f61;
  color: #fff;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
}

.pc-ai-chat__contact-submit:disabled {
  cursor: default;
  opacity: .7;
}

.pc-ai-chat__contact-error {
  color: #a13a2f;
  font-size: .78rem;
}

.pc-ai-chat__contact-thanks {
  color: #43644a;
  font-size: .85rem;
  font-weight: 700;
}

.pc-ai-chat__current-product {
  flex: 0 0 auto;
  padding: .75rem .85rem;
  border-bottom: 1px solid #e4e0da;
  background: #fff;
}

.pc-ai-chat__current-product-card {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  color: #25211d;
  text-decoration: none;
}

.pc-ai-chat__current-product-card:hover,
.pc-ai-chat__current-product-card:focus {
  color: #25211d;
  text-decoration: none;
}

.pc-ai-chat__current-product-image {
  width: 3.25rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #f0ede9;
}

.pc-ai-chat__current-product-body {
  display: grid;
  gap: .2rem;
  min-width: 0;
}

.pc-ai-chat__current-product-title {
  overflow: hidden;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-ai-chat__current-product-price {
  color: #25211d;
  font-size: .9rem;
  font-weight: 700;
}

.pc-ai-chat__current-product-eta {
  overflow: hidden;
  color: #43644a;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-ai-chat__messages {
  flex: 1 1 auto;
  min-height: 0;
  padding: .85rem;
  overflow: auto;
  background: #faf9f7;
}

.pc-ai-chat__message {
  max-width: 86%;
  margin: 0 0 .6rem;
  padding: .65rem .75rem;
  border-radius: 8px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.pc-ai-chat__message--visitor {
  margin-left: auto;
  background: #263238;
  color: #fff;
}

.pc-ai-chat__message--assistant {
  background: #fff;
  color: #25211d;
  border: 1px solid #e4e0da;
}

.pc-ai-chat__products {
  display: flex;
  gap: .7rem;
  margin: 0 0 .75rem;
  padding-bottom: .25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.pc-ai-chat__product {
  flex: 0 0 11.5rem;
  display: flex;
  flex-direction: column;
  padding: .55rem;
  border: 1px solid #e4e0da;
  border-radius: 8px;
  background: #fff;
  color: #25211d;
  text-decoration: none;
  scroll-snap-align: start;
}

.pc-ai-chat__product:hover,
.pc-ai-chat__product:focus {
  border-color: #7f6f61;
  color: #25211d;
  text-decoration: none;
}

.pc-ai-chat__product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #f0ede9;
}

.pc-ai-chat__product-body {
  display: grid;
  gap: .25rem;
  min-width: 0;
}

.pc-ai-chat__product-title {
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.25;
}

.pc-ai-chat__product-price {
  color: #25211d;
  font-size: .86rem;
  font-weight: 700;
}

.pc-ai-chat__product-description {
  display: -webkit-box;
  overflow: hidden;
  color: #6f6860;
  font-size: .82rem;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pc-ai-chat__product-action {
  margin-top: .2rem;
  padding: .45rem .55rem;
  border: 1px solid #d8d2ca;
  border-radius: 999px;
  color: #7f6f61;
  font-size: .84rem;
  text-align: center;
}

.pc-ai-chat__sketch {
  display: block;
  align-self: flex-start;
  width: min(100%, 280px);
  margin: .25rem 0 .45rem;
  border: 1px solid #ded8d0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.pc-ai-chat__sketch-image {
  display: block;
  width: 100%;
  height: auto;
}

.pc-ai-chat__configurator {
  display: grid;
  gap: .55rem;
  align-self: stretch;
  margin: .25rem 0 .75rem;
  padding: .75rem;
  border: 1px solid #e2d8cf;
  border-radius: 8px;
  background: #fff;
}

.pc-ai-chat__configurator-title {
  color: #2d3439;
  font-weight: 700;
  line-height: 1.25;
}

.pc-ai-chat__configurator-swatch {
  display: block;
  width: 100%;
  max-height: 180px;
  border: 1px solid #e8e0d8;
  border-radius: 6px;
  object-fit: contain;
  background: #faf8f5;
}

.pc-ai-chat__configurator-summary {
  padding: .55rem;
  border-radius: 6px;
  background: #f7f3ef;
  color: #4b433c;
  font-size: .9rem;
  line-height: 1.35;
}

.pc-ai-chat__configurator-choice {
  width: 100%;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
  background: #fff;
  padding: .55rem .65rem;
  color: #2f3137;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.pc-ai-chat__configurator-choice:hover,
.pc-ai-chat__configurator-choice:focus {
  border-color: #7f6f61;
  background: #fbf8f4;
}

.pc-ai-chat__configurator-choice--primary {
  border-color: #7f6f61;
  background: #7f6f61;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.pc-ai-chat__quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .15rem 0 .75rem;
}

.pc-ai-chat__quick-reply {
  padding: .55rem .75rem;
  border: 1px solid #e2d3c2;
  border-radius: 999px;
  background: #f6efe7;
  color: #5f5045;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
}

.pc-ai-chat__quick-reply:hover,
.pc-ai-chat__quick-reply:focus {
  border-color: #7f6f61;
  background: #fff;
}

.pc-ai-chat__feedback {
  display: grid;
  gap: .5rem;
  margin: 0 0 .75rem;
  padding: .65rem;
  border: 1px solid #e4e0da;
  border-radius: 8px;
  background: #fff;
}

.pc-ai-chat__feedback-label {
  color: #6f6860;
  font-size: .85rem;
}

.pc-ai-chat__feedback-controls {
  display: flex;
  gap: .4rem;
}

.pc-ai-chat__feedback-choice {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
  background: #faf9f7;
  cursor: pointer;
}

.pc-ai-chat__feedback-choice--selected {
  border-color: #263238;
  background: #263238;
  color: #fff;
}

.pc-ai-chat__feedback-comment {
  width: 100%;
  min-height: 3rem;
  resize: vertical;
  padding: .5rem;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
}

.pc-ai-chat__feedback-submit {
  justify-self: start;
  padding: .5rem .75rem;
  border: 0;
  border-radius: 6px;
  background: #7f6f61;
  color: #fff;
  cursor: pointer;
}

.pc-ai-chat__feedback-thanks {
  color: #43644a;
  font-size: .9rem;
}

.pc-ai-chat__lead {
  display: grid;
  gap: .5rem;
  margin: 0 0 .75rem;
  padding: .75rem;
  border: 1px solid #e4e0da;
  border-radius: 8px;
  background: #fff;
}

.pc-ai-chat__lead-title {
  color: #25211d;
  font-size: .9rem;
  font-weight: 700;
}

.pc-ai-chat__lead-input,
.pc-ai-chat__lead-message {
  width: 100%;
  min-width: 0;
  padding: .55rem .65rem;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
  font: inherit;
  font-size: .88rem;
}

.pc-ai-chat__lead-message {
  min-height: 3rem;
  resize: vertical;
}

.pc-ai-chat__lead-submit {
  justify-self: start;
  padding: .55rem .75rem;
  border: 0;
  border-radius: 6px;
  background: #7f6f61;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
}

.pc-ai-chat__lead-submit:disabled {
  cursor: default;
  opacity: .65;
}

.pc-ai-chat__lead-error {
  color: #9b2c2c;
  font-size: .82rem;
}

.pc-ai-chat__lead-thanks {
  color: #43644a;
  font-size: .9rem;
}

.pc-ai-chat__form {
  flex: 0 0 auto;
  display: flex;
  gap: .5rem;
  padding: .75rem;
  border-top: 1px solid #e4e0da;
  background: #fff;
  position: relative;
}

.pc-ai-chat__file,
.pc-ai-chat__emoji {
  width: 38px;
  min-width: 38px;
  height: 38px;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
  background: #fff;
  color: #4f443b;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.pc-ai-chat__emoji-panel {
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: calc(100% + 8px);
  display: grid;
  grid-template-columns: repeat(8, minmax(28px, 1fr));
  gap: 6px;
  padding: 10px;
  border: 1px solid #d8d2ca;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  z-index: 2;
}

.pc-ai-chat__emoji-panel[hidden] {
  display: none;
}

.pc-ai-chat__emoji-choice {
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: #f7f3ee;
  cursor: pointer;
  font-size: 1rem;
}

.pc-ai-chat__input {
  min-width: 0;
  flex: 1;
  padding: .65rem .75rem;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
}

.pc-ai-chat__send {
  padding: .65rem .85rem;
  border: 0;
  border-radius: 6px;
  background: #7f6f61;
  color: #fff;
  cursor: pointer;
}

.pc-ai-customization-sketch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-left: 10px;
  border: 1px solid #7f6f61;
  border-radius: 4px;
  background: #fff;
  padding: 8px 14px;
  color: #7f6f61;
  font-weight: 700;
  cursor: pointer;
  vertical-align: middle;
}

.pc-ai-customization-sketch:hover,
.pc-ai-customization-sketch:focus {
  background: #7f6f61;
  color: #fff;
}

.pc-ai-contact-assistant {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #dde2e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 28, 35, .08);
  color: #1f2a32;
}

.pc-ai-contact-assistant__head {
  display: grid;
  gap: 4px;
}

.pc-ai-contact-assistant__head strong {
  font-size: 1.05rem;
}

.pc-ai-contact-assistant__head span {
  color: #5f6972;
  line-height: 1.35;
}

.pc-ai-contact-assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-ai-contact-assistant__chip {
  border: 1px solid #d8d2ca;
  border-radius: 999px;
  background: #fbf8f4;
  padding: 8px 12px;
  color: #5f5045;
  cursor: pointer;
  font: inherit;
}

.pc-ai-contact-assistant__chip:hover,
.pc-ai-contact-assistant__chip:focus {
  border-color: #7f6f61;
  background: #fff;
}

.pc-ai-contact-assistant__form {
  display: grid;
  gap: 10px;
}

.pc-ai-contact-assistant__input {
  width: 100%;
  min-height: 86px;
  border: 1px solid #ccd4da;
  border-radius: 6px;
  padding: 10px 12px;
  resize: vertical;
  font: inherit;
}

.pc-ai-contact-assistant__submit {
  justify-self: end;
  border: 0;
  border-radius: 6px;
  background: #7f6f61;
  padding: 10px 16px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

/* Intelligent search overlay */
.pc-ai-search-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483645 !important;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: none !important;
}

.pc-ai-search-open .ui-autocomplete,
.pc-ai-search-open .autocomplete-suggestions,
.pc-ai-search-open .autocomplete-suggestion,
.pc-ai-search-open .tt-menu,
.pc-ai-search-open .search-widget .dropdown-menu,
.pc-ai-search-open #search_widget .dropdown-menu,
.pc-ai-search-open .searchbar-autocomplete,
.pc-ai-search-open .search-results,
.pc-ai-search-open .search-result,
.pc-ai-search-open #ps_searchbar_dropdown,
.pc-ai-search-open .ps-searchbar__dropdown,
.pc-ai-search-open .js-search-dropdown,
.pc-ai-search-open .js-search-results,
.pc-ai-searchbar-controlled .ps-searchbar__dropdown,
.pc-ai-searchbar-controlled .js-search-dropdown {
  display: none !important;
}

.pc-ai-search[hidden] {
  display: none;
}

.pc-ai-search {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 2147483646 !important;
  isolation: isolate;
  width: min(970px, calc(100vw - 32px));
  max-height: calc(100vh - 100px);
  transform: translateX(-50%);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  color: #2f3137;
  filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}

.pc-ai-search__inner {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  padding: 28px 38px;
}

.pc-ai-search__title {
  margin: 0 0 10px;
  font-weight: 700;
  color: #333;
}

.pc-ai-search__recent,
.pc-ai-search__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.pc-ai-search__chip {
  border: 0;
  border-radius: 5px;
  background: #f3f3f5;
  padding: 7px 10px;
  color: #333;
  cursor: pointer;
}

.pc-ai-search__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 16px 10px;
  min-height: 190px;
}

.pc-ai-search__product {
  display: block;
  color: #2f3137;
  text-decoration: none;
}

.pc-ai-search__product img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  border-radius: 8px;
  background: #f4f4f4;
}

.pc-ai-search__product strong,
.pc-ai-search__product span {
  display: block;
  margin-top: 6px;
  line-height: 1.2;
}

.pc-ai-search__product strong {
  font-size: 14px;
}

.pc-ai-search__product span {
  color: #555;
  font-size: 13px;
}

.pc-ai-search__all {
  display: block;
  margin: 26px auto 0;
  border: 0;
  border-radius: 5px;
  background: #6fbd85;
  padding: 13px 24px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pc-ai-search__loading {
  grid-column: 1 / -1;
  color: #777;
}

@media (max-width: 760px) {
  .pc-ai-search {
    top: 58px;
    width: calc(100vw - 18px);
    border-radius: 12px;
  }

  .pc-ai-search__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .pc-ai-search__products {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}
