.privacy-page {
  background: #f7f7f7;
}

.privacy-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: 44px;
  color: #333;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
}

.privacy-card h2 {
  margin: 34px 0 12px;
  color: #242424;
  font-size: 1.45rem;
}

.privacy-card p,
.privacy-card li {
  line-height: 1.75;
}

.privacy-card a,
.privacy-check a,
.cookie-consent a {
  color: #c71f29;
  text-decoration: underline;
}

.privacy-version {
  padding-bottom: 18px;
  border-bottom: 1px solid #ececec;
  color: #666;
}

.privacy-note {
  margin-top: 32px;
  padding: 18px 20px;
  background: #fff5f5;
  border-left: 4px solid #da2128;
  border-radius: 4px;
}

.privacy-contact-list {
  padding: 20px 24px 20px 42px;
  background: #f8f8f8;
  border-radius: 8px;
}

.privacy-table-wrap {
  overflow-x: auto;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
}

.privacy-table th,
.privacy-table td {
  padding: 14px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  background: #f2f2f2;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.privacy-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #da2128;
}

.privacy-check label {
  margin: 0;
  color: #333;
  line-height: 1.55;
  cursor: pointer;
}

.cookie-consent {
  position: fixed;
  z-index: 10050;
  left: 18px;
  bottom: 18px;
  width: calc(100% - 36px);
  max-width: 540px;
  padding: 24px;
  color: #282828;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .24);
}

.cookie-consent[hidden],
.cookie-settings-button[hidden],
.cookie-consent__preferences[hidden],
.cookie-embed__placeholder[hidden],
.cookie-embed iframe[hidden] {
  display: none !important;
}

.cookie-consent h2 {
  margin: 0 42px 12px 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.cookie-consent p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.55;
}

.cookie-consent__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 31px;
  height: 31px;
  padding: 0;
  color: #222;
  background: #fff;
  border: 2px solid #222;
  border-radius: 5px;
  font-size: 25px;
  line-height: 24px;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.cookie-consent__actions button,
.cookie-consent__save {
  min-height: 46px;
  padding: 9px 11px;
  color: #282828;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.25;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.cookie-consent__actions button:hover,
.cookie-consent__actions button:focus,
.cookie-consent__save:hover,
.cookie-consent__save:focus {
  color: #fff;
  background: #da2128;
  border-color: #da2128;
}

.cookie-consent__preferences {
  max-height: 45vh;
  margin-top: 18px;
  padding-right: 4px;
  overflow-y: auto;
  border-top: 1px solid #e8e8e8;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #ededed;
}

.cookie-category strong,
.cookie-category span {
  display: block;
}

.cookie-category span {
  margin-top: 3px;
  color: #666;
  font-size: .76rem;
  line-height: 1.35;
}

.cookie-switch {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 25px;
  margin: 0;
}

.cookie-switch input {
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-switch__slider {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  background: #aaa;
  border-radius: 30px;
  cursor: pointer;
  transition: .2s;
}

.cookie-switch__slider::before {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  content: "";
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}

.cookie-switch input:checked + .cookie-switch__slider {
  background: #da2128;
}

.cookie-switch input:focus + .cookie-switch__slider {
  box-shadow: 0 0 0 3px rgba(218, 33, 40, .22);
}

.cookie-switch input:checked + .cookie-switch__slider::before {
  transform: translateX(21px);
}

.cookie-switch input:disabled + .cookie-switch__slider {
  cursor: not-allowed;
  opacity: .65;
}

.cookie-consent__save {
  width: 100%;
  margin-top: 14px;
}

.cookie-settings-button {
  position: fixed;
  z-index: 9990;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: #333;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 24px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
  font-size: .78rem;
  font-weight: 600;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus {
  color: #fff;
  background: #da2128;
  border-color: #da2128;
}

.cookie-embed {
  position: relative;
  width: 100%;
  min-height: 300px;
  background: #eee;
}

.cookie-embed__placeholder {
  display: flex;
  min-height: 300px;
  padding: 30px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cookie-embed__placeholder-inner {
  max-width: 520px;
}

.cookie-embed__placeholder h3 {
  margin-bottom: 8px;
}

.cookie-embed__placeholder p {
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .privacy-card {
    padding: 24px 18px;
  }

  .privacy-card h2 {
    font-size: 1.25rem;
  }

  .cookie-consent {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: calc(100vh - 16px);
    padding: 20px 16px;
    overflow-y: auto;
  }

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

  .cookie-consent__actions button {
    min-height: 42px;
  }
}
