/*
DSI
*/
.p-variants-block {
  display: none;
}
.dsi-heading {
  margin-top: 0px;
}
.dsi-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}
@media (max-width: 1199px) {
  .dsi-container {
    grid-template-columns: repeat(1, minmax(200px, 1fr));
  }
}
.dsi-block {
  border: 1px solid #eaeaea;
  background-color: #fbfbfb;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
  align-content: center;
}
.dsi-block:hover {
  border: 1px solid #4b3b30;
  background-color: #e5dbdb;
}
.dsi-block.selectedOption {
  border-color: #9ab79a;
  background: #d5f0cf;
}
.dsi-block.notSelectedOption {
  border-color: #cc878f;
  background-color: #ffe5e8;
}
.dsi-block.oneOptionOnly {
  border-color: #4085a3;
  background-color: #d6eff9;
  cursor: default;
  opacity: 0.9;
}
.dsi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 16px;
  gap: 40px;
  height: 60px;
}
.dsi-value {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: help;
  line-height: 1;
}
.dsi-value-price-wrapper {
  display: flex;
  align-items: flex-end;
  flex-flow: column;
  gap: 5px;
}
.dsi-label {
  font-weight: 700;
  line-height: 1.2;
}
.dsi-price {
  color: #999;
  font-size: 15px;
  line-height: 1;
}
.dsi-popup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}
.dsi-popup.visible {
  opacity: 1;
  pointer-events: auto;
}
.dsi-popup-inner {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  position: relative;
}
.dsi-popup.visible .dsi-popup-inner {
  transform: translateY(0);
}
.dsi-popup-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 20px;
}
.dsi-popup-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.dsi-option {
  flex: 1 1 200px;
  border: 1px solid #eaeaea;
  background-color: #fbfbfb;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.dsi-option:hover {
  border: 1px solid #4b3b30;
  background-color: #e5dbdb;
}
.dsi-option.selectedOption {
  border-color: #9ab79a;
  background: #d5f0cf;
}
.dsi-option .dsi-label {
  margin-top: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.dsi-option .dsi-price {
  color: #666;
  font-size: 15px;
  margin-top: 6px;
}
.dsi-image {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.dsi-popup-close {
  background: #fbfbfb;
  color: #eaeaea;
  border: none;
  padding: 10px 18px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.dsi-popup-close:hover {
  background: #eaeaea;
  color: #000000;
}
@media (max-width: 600px) {
  .dsi-popup-inner {
    padding: 16px;
    max-width: 95%;
  }
  .dsi-option {
    flex: 1 1 100%;
  }
}
.dsi-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}
.dsi-popup-close:hover {
  color: #000;
}
.dsi-popup-close svg {
  display: block;
}
.door-switcher {
  margin: 15px 0;
  text-align: center;
  font-family: "Dm Sans", sans-serif;
  display: flex;
  flex-flow: row;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #4B3B30;
}
.door-switcher .door-link {
  display: inline-block;
  padding: 10px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  background-color: #fbfbfb;
  color: #352114;
  width: 50%;
}
.door-switcher .door-link:hover {
  background-color: #4B3B30;
  color: #ffffff;
  text-decoration: none;
}
.door-switcher .door-link.active {
  background-color: #4B3B30;
  color: #fff;
  pointer-events: none;
  cursor: default;
}
