/*
 * DEKOHOP KARSILASTIRMA BILDIRIMI VE SAYFASI
 *
 * ETKI ALANI:
 * - Tum sayfalardaki karsilastirmaya ekleme bildirimi
 * - Urun karsilastirma sayfasi ve kendi mobil kaydirma alani
 *
 * ETKILEMEZ:
 * - Urun karti, filtre, mini sepet ve odeme davranislari
 * - Urun, kategori, siparis veya musteri verileri
 */

/* DEKOHOP-EDITABLE-SETTINGS-START */
:root {
  /* 01 - SAYFA VE ANA KART */
  --dekohop-compare-page-max-width: 1170px; /* Karsilastirma sayfasinin en buyuk genisligi. */
  --dekohop-compare-page-top-space: 5px; /* Ana menuden sonraki ust bosluk. */
  --dekohop-compare-card-background: #fbfdfc; /* Ana karsilastirma karti arka plani. */
  --dekohop-compare-card-border-color: #d1ddd7; /* Ana kart cerceve rengi. */
  --dekohop-compare-card-border-width: 1px; /* Ana kart cerceve kalinligi. */
  --dekohop-compare-card-radius: 22px; /* Ana kart kose yuvarlakligi. */
  --dekohop-compare-card-shadow: 0 18px 44px rgba(36, 59, 49, 0.12); /* Ana kart golgesi. */
  --dekohop-compare-card-padding: 22px; /* Ana kart ic boslugu. */

  /* 02 - BASLIK */
  --dekohop-compare-heading-color: #14231d; /* Sayfa basligi rengi. */
  --dekohop-compare-heading-size: 27px; /* Sayfa basligi punto boyutu. */
  --dekohop-compare-heading-description-size: 14px; /* Baslik alti aciklama punto boyutu. */
  --dekohop-compare-heading-icon-background: #e4f3ec; /* Baslik simgesi arka plani. */
  --dekohop-compare-heading-icon-color: #24785b; /* Baslik simgesi rengi. */

  /* 03 - URUN OZETI */
  --dekohop-compare-label-column-width: 164px; /* Masaustunde sol bilgi basligi sutunu. */
  --dekohop-compare-product-column-min-width: 235px; /* Yatay kaydirmada her urun sutununun en dusuk genisligi. */
  --dekohop-compare-product-gap: 12px; /* Urun sutunlari arasindaki bosluk. */
  --dekohop-compare-product-image-size: 170px; /* Urun gorselinin en buyuk olcusu. */
  --dekohop-compare-product-image-radius: 15px; /* Urun gorseli kose yuvarlakligi. */
  --dekohop-compare-gallery-dot-size: 6px; /* Urun gorsel sayfa noktalarinin olcusu. */
  --dekohop-compare-gallery-dot-active-width: 18px; /* Secili urun gorseli noktasinin genisligi. */
  --dekohop-compare-image-preview-size: 500px; /* Fare ile gorsel uzerine gelince acilan buyuk onizleme. */
  --dekohop-compare-image-preview-radius: 18px; /* Buyuk gorsel onizleme kose yuvarlakligi. */
  --dekohop-compare-image-preview-background: #ffffff; /* Buyuk gorsel onizleme arka plani. */
  --dekohop-compare-image-preview-shadow: 0 22px 60px rgba(23, 42, 34, 0.24); /* Buyuk gorsel onizleme golgesi. */
  --dekohop-compare-product-name-size: 14px; /* Urun adi punto boyutu. */
  --dekohop-compare-current-price-size: 18px; /* Guncel fiyat punto boyutu. */
  --dekohop-compare-current-price-color: #111111; /* Guncel fiyat rengi. */
  --dekohop-compare-old-price-size: 13px; /* Ustu cizili fiyat punto boyutu. */
  --dekohop-compare-old-price-color: #d82f3d; /* Ustu cizili fiyat rengi. */

  /* 04 - SATIRLAR */
  --dekohop-compare-row-background: #ffffff; /* Normal bilgi satiri arka plani. */
  --dekohop-compare-row-alternate-background: #f3f8f5; /* Sirali soft satir arka plani. */
  --dekohop-compare-row-border-color: #dbe5e0; /* Bilgi satiri ayirici rengi. */
  --dekohop-compare-row-radius: 13px; /* Bilgi satiri kose yuvarlakligi. */
  --dekohop-compare-row-padding-y: 12px; /* Bilgi satiri dikey ic boslugu. */
  --dekohop-compare-row-padding-x: 13px; /* Bilgi satiri yatay ic boslugu. */
  --dekohop-compare-row-label-size: 13px; /* Satir basligi punto boyutu. */
  --dekohop-compare-row-value-size: 13px; /* Satir degeri punto boyutu. */
  --dekohop-compare-muted-color: #65736d; /* Ikincil yazi rengi. */

  /* 05 - PUAN VE STOK */
  --dekohop-compare-star-size: 17px; /* Yorum yildizi olcusu. */
  --dekohop-compare-star-gap: 2px; /* Yildizlar arasindaki bosluk. */
  --dekohop-compare-availability-background: #e4f4ec; /* Stok rozeti arka plani. */
  --dekohop-compare-availability-color: #176443; /* Stok rozeti yazi rengi. */
  --dekohop-compare-availability-radius: 999px; /* Stok rozeti kose yuvarlakligi. */

  /* 06 - DUGMELER */
  --dekohop-compare-button-height: 38px; /* Sepete ekle ve kaldir dugmelerinin yuksekligi. */
  --dekohop-compare-button-radius: 11px; /* Eylem dugmeleri kose yuvarlakligi. */
  --dekohop-compare-cart-background: #173c31; /* Sepete ekle dugmesi arka plani. */
  --dekohop-compare-cart-color: #ffffff; /* Sepete ekle dugmesi yazi rengi. */
  --dekohop-compare-favorite-background: #f5edf0; /* Favorime Ekle dugmesi arka plani. */
  --dekohop-compare-favorite-color: #8c3049; /* Favorime Ekle dugmesi yazi rengi. */
  --dekohop-compare-favorite-border-color: #e3c9d1; /* Favorime Ekle dugmesi cerceve rengi. */
  --dekohop-compare-remove-background: #ffffff; /* Kaldir dugmesi arka plani. */
  --dekohop-compare-remove-color: #a93643; /* Kaldir dugmesi yazi rengi. */
  --dekohop-compare-remove-border-color: #e5bfc4; /* Kaldir dugmesi cerceve rengi. */

  /* 07 - MOBIL KAYDIRMA */
  --dekohop-compare-mobile-product-width: 154px; /* Mobilde bir urun sutununun genisligi; iki urun ayni anda gorunur. */
  --dekohop-compare-mobile-control-size: 34px; /* Mobil onceki/sonraki dugmesi olcusu. */
  --dekohop-compare-mobile-dot-size: 7px; /* Mobil sayfa noktasi olcusu. */
  --dekohop-compare-mobile-dot-active-width: 22px; /* Secili mobil sayfa noktasinin genisligi. */
  --dekohop-compare-scrollbar-size: 10px; /* Yatay kaydirma cubugunun kalinligi. */
  --dekohop-compare-scrollbar-track: #edf2ef; /* Yatay kaydirma cubugu zemini. */
  --dekohop-compare-scrollbar-thumb: #789389; /* Yatay kaydirma tutamagi rengi. */

  /* 08 - SABIT BILDIRIM */
  --dekohop-compare-toast-width: 680px; /* Bildirimin en buyuk genisligi. */
  --dekohop-compare-toast-top: 12px; /* Bildirimin ekranin en ustunden boslugu. */
  --dekohop-compare-toast-layer: 10050; /* Bildirimin header ve acilir panellerin ustundeki katman sirasi. */
  --dekohop-compare-toast-background: #effaf5; /* Bildirim arka plani. */
  --dekohop-compare-toast-border-color: #b8ddcd; /* Bildirim cerceve rengi. */
  --dekohop-compare-toast-radius: 16px; /* Bildirim kose yuvarlakligi. */
  --dekohop-compare-toast-shadow: 0 15px 34px rgba(27, 69, 51, 0.18); /* Bildirim golgesi. */
  --dekohop-compare-toast-title-color: #174d38; /* Bildirim basligi rengi. */
  --dekohop-compare-toast-action-background: #1d7254; /* Karsilastir eylemi arka plani. */
  --dekohop-compare-toast-action-color: #ffffff; /* Karsilastir eylemi yazi rengi. */

  /* 09 - BOS DURUM */
  --dekohop-compare-empty-background: #f8fbfa; /* Bos durum karti arka plani. */
  --dekohop-compare-empty-radius: 22px; /* Bos durum karti kose yuvarlakligi. */
}
/* DEKOHOP-EDITABLE-SETTINGS-END */

/* DEKOHOP-COMMON-DESKTOP-RULES-START */
.dekohop-compare-page {
  width: min(100%, var(--dekohop-compare-page-max-width));
  margin-top: var(--dekohop-compare-page-top-space);
  margin-bottom: 48px;
  overflow-x: clip;
}

.dekohop-compare-page > .row,
.dekohop-compare-page #content {
  min-width: 0;
}

.dekohop-compare-page #content {
  float: none;
  margin-right: auto;
  margin-left: auto;
}

.dekohop-compare-heading {
  display: flex;
  margin: 0 auto 15px;
  padding: 0;
  color: var(--dekohop-compare-heading-color);
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.dekohop-compare-heading h1 {
  margin: 0;
  color: inherit;
  font-size: var(--dekohop-compare-heading-size);
  font-weight: 750;
  line-height: 1.25;
}

.dekohop-compare-heading p {
  margin: 7px 0 0;
  color: var(--dekohop-compare-muted-color);
  font-size: var(--dekohop-compare-heading-description-size);
}

.dekohop-compare-card {
  padding: var(--dekohop-compare-card-padding);
  border: var(--dekohop-compare-card-border-width) solid var(--dekohop-compare-card-border-color);
  border-radius: var(--dekohop-compare-card-radius);
  background: var(--dekohop-compare-card-background);
  box-shadow: var(--dekohop-compare-card-shadow);
}

.dekohop-compare-viewport {
  width: 100%;
  padding-bottom: 10px;
  cursor: grab;
  overflow-x: auto;
  overflow-y: hidden;
  outline: none;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--dekohop-compare-scrollbar-thumb) var(--dekohop-compare-scrollbar-track);
  scrollbar-width: auto;
  touch-action: pan-x pan-y;
}

.dekohop-compare-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.dekohop-compare-viewport::-webkit-scrollbar {
  height: var(--dekohop-compare-scrollbar-size);
}

.dekohop-compare-viewport::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--dekohop-compare-scrollbar-track);
}

.dekohop-compare-viewport::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--dekohop-compare-scrollbar-thumb);
}

.dekohop-compare-matrix {
  width: var(--dekohop-compare-desktop-matrix-width, 100%);
  min-width: 100%;
}

.dekohop-compare-row {
  display: grid;
  margin: 0 0 8px;
  border: 1px solid var(--dekohop-compare-row-border-color);
  border-radius: var(--dekohop-compare-row-radius);
  background: var(--dekohop-compare-row-background);
  grid-template-columns: var(--dekohop-compare-label-column-width) repeat(var(--dekohop-compare-product-count), minmax(var(--dekohop-compare-product-column-min-width), 1fr));
  gap: 0;
}

.dekohop-compare-row:nth-child(even) {
  background: var(--dekohop-compare-row-alternate-background);
}

.dekohop-compare-row__label,
.dekohop-compare-row__value {
  display: flex;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: var(--dekohop-compare-row-padding-y) var(--dekohop-compare-row-padding-x);
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  text-align: center;
}

.dekohop-compare-row__label {
  border-right: 1px solid var(--dekohop-compare-row-border-color);
  color: #2b3c35;
  font-size: var(--dekohop-compare-row-label-size);
  font-weight: 750;
}

.dekohop-compare-row__value {
  border-right: 1px solid var(--dekohop-compare-row-border-color);
  color: #26332e;
  font-size: var(--dekohop-compare-row-value-size);
  font-weight: 500;
}

.dekohop-compare-row__value:last-child {
  border-right: 0;
}

.dekohop-compare-row--products {
  margin-bottom: 12px;
  background: transparent;
  border-color: transparent;
  align-items: stretch;
}

.dekohop-compare-row--products > .dekohop-compare-row__label {
  border: 0;
  border-radius: var(--dekohop-compare-row-radius);
  background: #edf5f1;
}

.dekohop-compare-product {
  display: flex;
  min-width: 0;
  margin-left: var(--dekohop-compare-product-gap);
  padding: 14px;
  border: 1px solid var(--dekohop-compare-row-border-color);
  border-radius: 16px;
  background: #ffffff;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.dekohop-compare-product__gallery {
  position: relative;
  width: min(100%, var(--dekohop-compare-product-image-size));
  margin-bottom: 10px;
}

.dekohop-compare-product__image {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--dekohop-compare-product-image-radius);
  background: #f5f7f6;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dekohop-compare-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  object-fit: contain;
}

.dekohop-compare-gallery-dots {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 7px;
  left: 8px;
  display: flex;
  min-height: 13px;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.dekohop-compare-gallery-dots button {
  width: var(--dekohop-compare-gallery-dot-size);
  height: var(--dekohop-compare-gallery-dot-size);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(74, 95, 86, 0.36);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition: width 150ms ease, background-color 150ms ease;
}

.dekohop-compare-gallery-dots button.is-active {
  width: var(--dekohop-compare-gallery-dot-active-width);
  background: #27896a;
}

.dekohop-compare-image-preview {
  position: fixed;
  z-index: 2080;
  display: flex;
  width: min(var(--dekohop-compare-image-preview-size), calc(100vw - 32px));
  height: min(var(--dekohop-compare-image-preview-size), calc(100vh - 32px));
  padding: 12px;
  border: 1px solid var(--dekohop-compare-card-border-color);
  border-radius: var(--dekohop-compare-image-preview-radius);
  background: var(--dekohop-compare-image-preview-background);
  box-shadow: var(--dekohop-compare-image-preview-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px) scale(0.98);
  transition: opacity 150ms ease, transform 150ms ease;
  align-items: center;
  justify-content: center;
}

.dekohop-compare-image-preview.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dekohop-compare-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--dekohop-compare-image-preview-radius) - 5px);
  object-fit: contain;
}

.dekohop-compare-product__name {
  display: -webkit-box;
  min-height: calc(var(--dekohop-compare-product-name-size) * 2.8);
  margin-top: 2px;
  color: #14251e;
  font-size: var(--dekohop-compare-product-name-size);
  font-weight: 700;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.dekohop-compare-product__name:hover,
.dekohop-compare-product__name:focus {
  color: #1f7255;
}

.dekohop-compare-product__price {
  display: flex;
  min-height: 50px;
  margin-top: 3px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px 11px;
  white-space: nowrap;
}

.dekohop-compare-row--price .dekohop-compare-product__price {
  min-height: 0;
  margin: 0;
}

.dekohop-compare-row--name .dekohop-compare-product__name {
  min-height: 0;
  margin: 0;
}

.dekohop-compare-product__price strong {
  color: var(--dekohop-compare-current-price-color);
  font-size: var(--dekohop-compare-current-price-size);
  font-weight: 800;
}

.dekohop-compare-price-old {
  color: var(--dekohop-compare-old-price-color);
  font-size: var(--dekohop-compare-old-price-size);
  text-decoration: line-through;
}

.dekohop-compare-button {
  display: inline-flex;
  min-height: var(--dekohop-compare-button-height);
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: var(--dekohop-compare-button-radius);
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.dekohop-compare-row--actions .dekohop-compare-row__value,
.dekohop-compare-row--remove .dekohop-compare-row__value {
  flex-wrap: wrap;
  gap: 7px;
}

.dekohop-compare-row--actions .dekohop-compare-button {
  flex: 1 1 108px;
}

.dekohop-compare-row--remove .dekohop-compare-button {
  width: min(100%, 210px);
}

.dekohop-compare-button:hover,
.dekohop-compare-button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.dekohop-compare-button--cart {
  color: var(--dekohop-compare-cart-color);
  background: var(--dekohop-compare-cart-background);
}

.dekohop-compare-button--cart:hover,
.dekohop-compare-button--cart:focus {
  color: var(--dekohop-compare-cart-color);
  box-shadow: 0 7px 16px rgba(23, 60, 49, 0.18);
}

.dekohop-compare-button--favorite {
  border-color: var(--dekohop-compare-favorite-border-color);
  color: var(--dekohop-compare-favorite-color);
  background: var(--dekohop-compare-favorite-background);
}

.dekohop-compare-button--favorite:hover,
.dekohop-compare-button--favorite:focus {
  color: #79223d;
  background: #f9e7ed;
}

.dekohop-compare-button--cart[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.dekohop-compare-button--remove {
  border-color: var(--dekohop-compare-remove-border-color);
  color: var(--dekohop-compare-remove-color);
  background: var(--dekohop-compare-remove-background);
}

.dekohop-compare-button--remove:hover,
.dekohop-compare-button--remove:focus {
  color: #8f2430;
  background: #fff5f6;
}

.dekohop-compare-availability {
  display: inline-flex;
  min-height: 29px;
  padding: 6px 11px;
  border-radius: var(--dekohop-compare-availability-radius);
  color: var(--dekohop-compare-availability-color);
  background: var(--dekohop-compare-availability-background);
  align-items: center;
  justify-content: center;
  font-weight: 750;
}

.dekohop-compare-rating {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.dekohop-compare-rating__stars {
  display: inline-flex;
  min-height: var(--dekohop-compare-star-size);
  align-items: center;
  gap: var(--dekohop-compare-star-gap);
}

.dekohop-compare-rating__star {
  position: relative;
  display: inline-block;
  flex: 0 0 var(--dekohop-compare-star-size);
  width: var(--dekohop-compare-star-size);
  height: var(--dekohop-compare-star-size);
}

.dekohop-compare-rating__star-base,
.dekohop-compare-rating__star-fill {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  background-image: var(--dekohop-product-card-rating-star-image, url("../assets/icons/rating-star-gold-128.webp"));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: var(--dekohop-compare-star-size) var(--dekohop-compare-star-size);
}

.dekohop-compare-rating__star-base {
  width: 100%;
  filter: grayscale(1) saturate(0.2) brightness(1.08);
  opacity: 0.28;
}

.dekohop-compare-rating__star-fill {
  width: var(--dekohop-compare-star-fill);
  max-width: 100%;
  filter: drop-shadow(0 1px 0 #a76808) drop-shadow(0 2px 3px rgba(87, 55, 6, 0.24));
  overflow: hidden;
}

.dekohop-compare-rating.is-unrated .dekohop-compare-rating__star-fill {
  opacity: 0;
}

.dekohop-compare-rating.is-rating-animating .dekohop-compare-rating__star {
  animation: dekohop-compare-star-toward-viewer 520ms cubic-bezier(0.2, 0.85, 0.28, 1.15) both;
  animation-delay: calc(var(--dekohop-compare-star-index) * 72ms);
}

@keyframes dekohop-compare-star-toward-viewer {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  42% { opacity: 1; transform: translateY(-0.3rem) scale(1.7); filter: brightness(1.16); }
  72% { opacity: 1; transform: translateY(0.12rem) scale(1.08); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1); }
}

.dekohop-compare-rating__reviews {
  color: var(--dekohop-compare-muted-color);
  font-size: 11px;
}

.dekohop-compare-row--description .dekohop-compare-row__value {
  line-height: 1.55;
}

.dekohop-compare-attribute-group {
  margin-top: 14px;
}

.dekohop-compare-attribute-group > h2 {
  margin: 0 0 9px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #243a31;
  background: #e9f3ee;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.dekohop-compare-mobile-nav {
  display: none;
}

.dekohop-compare-empty {
  display: flex;
  max-width: 720px;
  min-height: 310px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--dekohop-compare-card-border-color);
  border-radius: var(--dekohop-compare-empty-radius);
  background: var(--dekohop-compare-empty-background);
  box-shadow: var(--dekohop-compare-card-shadow);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.dekohop-compare-empty__icon {
  display: inline-flex;
  width: 66px;
  height: 66px;
  margin-bottom: 15px;
  border-radius: 50%;
  color: var(--dekohop-compare-heading-icon-color);
  background: var(--dekohop-compare-heading-icon-background);
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.dekohop-compare-empty h2 {
  margin: 0 0 9px;
  color: #17261f;
  font-size: 23px;
}

.dekohop-compare-empty p {
  max-width: 490px;
  margin: 0 0 20px;
  color: var(--dekohop-compare-muted-color);
  line-height: 1.6;
}

.dekohop-compare-button--continue {
  min-width: 150px;
  color: #ffffff;
  background: #173c31;
}

.dekohop-compare-button--continue:hover,
.dekohop-compare-button--continue:focus {
  color: #ffffff;
}

.dekohop-compare-toast {
  position: fixed !important;
  z-index: var(--dekohop-compare-toast-layer);
  top: var(--dekohop-compare-toast-top);
  left: 50%;
  display: grid;
  width: min(var(--dekohop-compare-toast-width), calc(100vw - 24px));
  min-height: 72px;
  padding: 12px 13px;
  border: 1px solid var(--dekohop-compare-toast-border-color);
  border-radius: var(--dekohop-compare-toast-radius);
  background: var(--dekohop-compare-toast-background);
  box-shadow: var(--dekohop-compare-toast-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity 180ms ease, transform 180ms ease;
  grid-template-columns: 38px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 10px;
}

.dekohop-compare-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dekohop-compare-toast__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  background: #2c8a68;
  align-items: center;
  justify-content: center;
}

.dekohop-compare-toast__copy {
  min-width: 0;
}

.dekohop-compare-toast__copy strong,
.dekohop-compare-toast__copy span {
  display: block;
}

.dekohop-compare-toast__copy strong {
  margin-bottom: 2px;
  color: var(--dekohop-compare-toast-title-color);
  font-size: 14px;
}

.dekohop-compare-toast__copy span {
  color: #53665d;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dekohop-compare-toast__action {
  display: inline-flex;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--dekohop-compare-toast-action-color);
  background: var(--dekohop-compare-toast-action-background);
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.dekohop-compare-toast__action:hover,
.dekohop-compare-toast__action:focus {
  color: var(--dekohop-compare-toast-action-color);
  text-decoration: none;
}

.dekohop-compare-toast__close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #53665d;
  background: transparent;
  font-size: 21px;
  line-height: 1;
}
/* DEKOHOP-COMMON-DESKTOP-RULES-END */

/* DEKOHOP-RESPONSIVE-RULES-START */
@media (max-width: 48rem) {
  .dekohop-compare-page {
    width: 100%;
    margin-top: 5px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .dekohop-compare-heading h1 {
    font-size: 22px;
  }

  .dekohop-compare-card {
    padding: 11px;
    border-radius: 17px;
  }

  .dekohop-compare-viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scrollbar-width: auto;
    touch-action: pan-x pan-y;
  }

  .dekohop-compare-matrix {
    width: var(--dekohop-compare-mobile-matrix-width, 100%);
    min-width: 100%;
  }

  .dekohop-compare-row {
    grid-template-columns: repeat(var(--dekohop-compare-product-count), minmax(0, 1fr));
  }

  .dekohop-compare-row__label {
    position: sticky;
    z-index: 2;
    left: 0;
    grid-column: 1 / -1;
    min-height: 36px;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--dekohop-compare-row-border-color);
    background: #edf5f1;
  }

  .dekohop-compare-row__value {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 12px;
  }

  .dekohop-compare-row--products > .dekohop-compare-row__label {
    margin-bottom: 8px;
    border-bottom: 0;
  }

  .dekohop-compare-product {
    margin: 0 5px;
    padding: 9px 7px;
    border-radius: 13px;
  }

  .dekohop-compare-product__gallery {
    width: min(100%, 132px);
  }

  .dekohop-compare-product__name {
    min-height: 38px;
    font-size: 12px;
  }

  .dekohop-compare-product__price {
    min-height: 48px;
    margin-top: 6px;
    flex-direction: row;
    gap: 6px;
  }

  .dekohop-compare-product__price strong {
    font-size: 15px;
  }

  .dekohop-compare-price-old {
    font-size: 11px;
  }

  .dekohop-compare-button {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .dekohop-compare-row--actions .dekohop-compare-row__value,
  .dekohop-compare-row--remove .dekohop-compare-row__value {
    align-content: center;
    flex-direction: column;
  }

  .dekohop-compare-mobile-nav {
    display: flex;
    margin-top: 11px;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .dekohop-compare-mobile-nav > button {
    display: inline-flex;
    width: var(--dekohop-compare-mobile-control-size);
    height: var(--dekohop-compare-mobile-control-size);
    padding: 0;
    border: 1px solid #cad9d2;
    border-radius: 50%;
    color: #1f4f3d;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }

  .dekohop-compare-mobile-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .dekohop-compare-mobile-dots button {
    width: var(--dekohop-compare-mobile-dot-size);
    height: var(--dekohop-compare-mobile-dot-size);
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd8d2;
    transition: width 160ms ease, background-color 160ms ease;
  }

  .dekohop-compare-mobile-dots button.is-active {
    width: var(--dekohop-compare-mobile-dot-active-width);
    background: #2a8a68;
  }

  .dekohop-compare-attribute-group > h2 {
    position: sticky;
    z-index: 3;
    left: 0;
  }

  .dekohop-compare-toast {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    gap: 8px;
  }

  .dekohop-compare-toast__icon {
    width: 34px;
    height: 34px;
  }

  .dekohop-compare-toast__action {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .dekohop-compare-toast__close {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .dekohop-compare-empty {
    min-height: 260px;
    padding: 25px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dekohop-compare-toast,
  .dekohop-compare-button,
  .dekohop-compare-mobile-dots button,
  .dekohop-compare-viewport {
    scroll-behavior: auto;
    transition: none;
  }
}
/* DEKOHOP-RESPONSIVE-RULES-END */
