:root {
  --cc-bg: #1f1a2e;
  --cc-text: #e5e1f0;
  --cc-btn-primary-bg: #7a4ebd;
  --cc-btn-primary-text: #ffffff;
  --cc-btn-primary-hover-bg: #5f3a9c;
  --cc-btn-secondary-bg: #2a2438;
  --cc-btn-secondary-text: #d9d2ed;
  --cc-btn-secondary-hover-bg: #383147;
  --cc-toggle-bg-off: #4d4661;
  --cc-toggle-bg-on: #7a4ebd;
  --cc-toggle-bg-readonly: #3e3550;
  --cc-toggle-knob-bg: #ffffff;
  --cc-toggle-knob-icon-color: #ffffff;
  --cc-border-radius: 6px;
  --cc-btn-border-radius: 6px;
}

/* Дополнительно стилизуем кнопки чтобы они больше соответствовали вашему дизайну */

.cc_div .c-bn {
  font-weight: 500;
  padding: 0.8em 1.5em;
  font-size: 0.9em;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Стиль для основной кнопки "Приемам всички" */

.cc_div .c-bn.accept-all {
  background: var(--cc-btn-primary-bg);
  color: var(--cc-btn-primary-text);
  border: none;
}

.cc_div .c-bn.accept-all:hover {
  background: var(--cc-btn-primary-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cc_div {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--cc-text);
}

#cm {
  background: var(--cc-bg);
  max-width: 24.2em;
  position: fixed;
  bottom: 1.25em;
  right: 1.25em;
  border-radius: var(--cc-border-radius);
  box-shadow: 0 0.625em 2.5em rgba(0, 0, 0, 0.6);
  padding: 1.3em 1.5em 1.6em;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  border: 1px solid rgba(122, 78, 189, 0.2);
}

.show--consent #cm {
  opacity: 1;
  transform: scale(1);
  visibility: visible !important;
}

#c-ttl {
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 0.8em;
  color: #a78eda;
}

#c-txt {
  font-size: 0.92em;
  line-height: 1.5em;
  margin-bottom: 1.4em;
}

/* Добавляем стили для контейнера опций */

.cookie-options {
  margin: 1.5em 0;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.cookie-checkbox {
  display: flex;
  align-items: center;
  margin: 0.8em 0;
  position: relative;
  padding-left: 0;
  cursor: pointer;
  min-height: 1.5em;
  gap: 1em;
}

/* Стили для текста внутри checkbox */

.cookie-checkbox span.cookie-text {
  flex: 1;
  padding-left: 0.5em;
}

.cookie-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.cc_div .b-tg {
  position: relative;
  display: inline-block;
  width: 3.4em;
  height: 1.5em;
  flex-shrink: 0;
}

.cc_div .b-tg .c-tg {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  background: var(--cc-toggle-bg-off);
  border-radius: 4em;
  transition: background-color 0.25s ease;
}

.cookie-checkbox span:not(.b-tg):not(.c-tg) {
  margin-left: 0.5em;
}

.cc_div .b-tg .c-tg:after {
  position: absolute;
  content: "";
  height: 1.25em;
  width: 1.25em;
  border-radius: 100%;
  background: var(--cc-toggle-knob-bg);
  top: 0.125em;
  left: 0.125em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-checkbox input:checked ~ .b-tg .c-tg {
  background: var(--cc-toggle-bg-on);
}

.cookie-checkbox input:checked ~ .b-tg .c-tg:after {
  transform: translateX(1.9em);
  box-shadow: 0 2px 6px rgba(122, 78, 189, 0.4);
}

.cookie-checkbox input:disabled ~ .b-tg .c-tg {
  background: var(--cc-toggle-bg-readonly);
  cursor: not-allowed;
}

.cc_div .c-bn {
  color: var(--cc-btn-secondary-text);
  background: var(--cc-btn-secondary-bg);
  padding: 1em 1.7em;
  display: inline-block;
  cursor: pointer;
  font-size: 0.82em;
  text-align: center;
  border-radius: var(--cc-btn-border-radius);
  flex: 1;
  border: none;
  transition: all 0.25s ease;
}

.cc_div .c-bn:hover {
  background: var(--cc-btn-secondary-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cc_div #c-bns {
  display: flex;
  justify-content: space-between;
  margin-top: 1.4em;
  gap: 1em;
}

.cc_div .c-bn.accept-all {
  background: var(--cc-btn-primary-bg);
  color: var(--cc-btn-primary-text);
}

.cc_div .c-bn.accept-all:hover {
  background: var(--cc-btn-primary-hover-bg);
}

.privacy-link {
  color: #9f7ee5;
  text-decoration: none;
  border-bottom: 1px solid #9f7ee5;
  transition: all 0.2s ease;
}

.privacy-link:hover {
  border-color: transparent;
  color: #ba9ef8;
}

@media screen and (max-width: 688px) {
  #cm {
    left: 1em;
    right: 1em;
    width: auto;
    max-width: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 688px) {
  .cc_div #c-bns {
    flex-direction: column;
  }
}

@media screen and (max-width: 688px) {
  .cc_div .c-bn {
    width: 100%;
  }
}

.mobile-cart-button {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  border-radius: 0;
  padding: 15px;
  margin: 0;
}

