.ty-store-footer-shell { padding: 0; background: #191b18; }
.ty-store-footer {
  --ty-footer-gold: #ffc107;
  background: #191b18;
  color: #eeede8;
  font: 14px/1.5 "Segoe UI", Arial, sans-serif;
}
.ty-store-footer-wrap {
  width: calc(100% - 2 * clamp(12px, 2.5vw, 24px));
  max-width: 1200px;
  margin-inline: auto;
  padding-top: clamp(32px, 5vw, 54px);
}
.ty-store-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.09fr);
  gap: clamp(20px, 3.5vw, 40px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.ty-store-footer a { color: inherit; text-decoration: none; }
.ty-store-footer a:hover { color: var(--ty-footer-gold); text-decoration: underline; text-underline-offset: 3px; }
.ty-store-footer a:focus-visible { outline: 2px solid var(--ty-footer-gold); outline-offset: 3px; border-radius: 2px; }
.ty-store-footer .ty-store-footer-logo {
  display: inline-flex;
  align-items: center;
  width: min(205px, 100%);
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 5px;
  background: #fff;
  color: #191b18;
  font-weight: 750;
}
.ty-store-footer-logo img { display: block; width: min(185px, 100%); height: auto; }
.ty-store-footer h2 {
  margin: 4px 0 11px;
  color: var(--ty-footer-gold);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.25;
}
.ty-store-footer-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.ty-store-footer-contact { gap: 7px; }
.ty-store-footer-messengers { display: flex; flex-wrap: wrap; column-gap: 8px; margin-top: 8px; }
.ty-store-footer-messengers li + li::before { margin-right: 8px; content: "·"; }
.ty-store-footer address { display: grid; gap: 8px; margin: 0 0 8px; font-style: normal; }
.ty-store-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px 20px;
  padding-block: 17px;
  border-top: 1px solid #ffffff3d;
  color: #e2e0d9;
  font-size: 13px;
}
.ty-store-footer-subscribe { margin-bottom: 24px; }
@media (max-width: 720px) {
  .ty-store-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .ty-store-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .ty-store-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

.modal {
  --ty-dialog-ink: #252624;
  --ty-dialog-header: #252724;
  --ty-dialog-muted: #5b5e56;
  --ty-dialog-paper: #faf9f5;
  --ty-dialog-border: #dedbd1;
  --ty-dialog-gold: #ffc107;
  --ty-dialog-focus: #916300;
  font-family: "Segoe UI", Arial, sans-serif;
}
.modal-backdrop.show { background: #191b18; opacity: .58; }
.modal .modal-content {
  border: 1px solid var(--ty-dialog-border);
  border-radius: 12px;
  background: var(--ty-dialog-paper);
  color: var(--ty-dialog-ink);
  box-shadow: 0 18px 56px #18191645;
}
.modal .modal-header {
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 9px clamp(13px, 3vw, 24px);
  border: 0;
  border-radius: 11px 11px 0 0;
  background: var(--ty-dialog-header);
  color: #fff;
  text-align: left;
}
.modal .modal-header .modal-title {
  flex: 1 1 auto;
  margin: 0;
  color: inherit;
  font-size: clamp(20px, 2.45vw, 24px);
  font-weight: 750;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.modal .modal-header :is(.us-close, .close, .btn-close) {
  position: relative;
  inset: auto;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1px solid #ffffff36;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  opacity: 1;
  text-shadow: none;
}
.modal .modal-header :is(.us-close, .close, .btn-close):hover {
  border-color: var(--ty-dialog-gold);
  color: var(--ty-dialog-gold);
}
.modal .modal-header .us-close svg { position: static; width: 16px; height: 16px; margin: 0; fill: currentColor; transform: none; }
.modal .modal-header .us-close svg path { fill: currentColor; }
.modal .modal-header .btn-close:empty::after { color: inherit; content: "×"; font-size: 25px; line-height: 1; }
.modal .modal-body {
  padding: clamp(15px, 3vw, 24px);
  background: var(--ty-dialog-paper);
  color: var(--ty-dialog-ink);
}
.modal .modal-content > .modal-body:last-child { border-radius: 0 0 11px 11px; }
.modal .modal-footer {
  gap: 8px;
  padding: 12px clamp(15px, 3vw, 24px) 18px;
  border-top: 1px solid var(--ty-dialog-border);
  background: var(--ty-dialog-paper);
}
.modal .modal-body .us-modal-body-text { color: var(--ty-dialog-muted); }
.modal .modal-body :is(.form-control, .us-acc-select) {
  border-color: var(--ty-dialog-border);
  border-radius: 6px;
  background-color: #fff;
  color: var(--ty-dialog-ink);
}
.modal .modal-body :is(.form-control, .us-acc-select):focus {
  border-color: var(--ty-dialog-focus);
  box-shadow: 0 0 0 2px #ffc10736;
}
.modal .modal-body .form-control:is(.is-invalid, .error) { border-color: #b5333a; }
.modal .modal-body textarea.form-control:not([rows]) { height: 112px; }
.modal .modal-body a:not(.btn):not(.us-module-btn) { color: #805700; text-underline-offset: 2px; }
.modal .modal-content :is(.us-module-btn, .btn-primary, .btn-warning) {
  border: 1px solid var(--ty-dialog-gold);
  border-radius: 6px;
  background: var(--ty-dialog-gold);
  color: var(--ty-dialog-ink);
  font-weight: 750;
}
.modal .modal-content .us-module-btn-green { color: var(--ty-dialog-ink) !important; }
.modal .modal-content :is(.us-module-btn, .btn-primary, .btn-warning):hover {
  border-color: #efb400;
  background: #ffe083;
  color: var(--ty-dialog-ink);
}
.modal .modal-content :is(.us-module-btn-grey, .btn-secondary, .btn-outline-secondary) {
  border: 1px solid var(--ty-dialog-border);
  border-radius: 6px;
  background: #fff;
  color: var(--ty-dialog-ink);
}
.modal .modal-content :is(.us-module-btn-grey, .btn-secondary, .btn-outline-secondary):hover {
  border-color: var(--ty-dialog-focus);
  background: #f3eddf;
}
.modal .modal-content :is(button, a, summary):focus-visible {
  outline: 2px solid var(--ty-dialog-focus);
  outline-offset: 2px;
}
.modal .modal-header :is(button, a):focus-visible { outline-color: var(--ty-dialog-gold); }
.ty-social-card[data-target="#ty-vk-clip-modal"] .ty-social-cover { position: relative; }
.ty-social-card[data-target="#ty-vk-clip-modal"] .ty-social-cover img { object-position: center 57%; }
.ty-social-cover .ty-social-clip-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding-left: 2px;
  border-radius: 50%;
  background: #ffc107;
  color: #252624;
  transform: translate(-50%, -50%);
}
.ty-vk-clip-dialog .modal-dialog { max-width: 410px; }
.ty-vk-clip-dialog .modal-body { display: grid; justify-items: center; gap: 8px; padding: 10px 12px 12px; }
.ty-vk-clip-dialog iframe {
  display: block;
  width: min(363px, 100%);
  height: min(73vh, 640px);
  height: min(73dvh, 640px);
  border: 0;
  border-radius: 6px;
  background: #191b18;
}
.ty-vk-clip-dialog .modal-body > a { color: #805700; font-size: 14px; font-weight: 750; }
@media (max-width: 575px) {
  .modal .modal-dialog { max-width: calc(100% - 20px); margin-inline: auto; }
  .ty-vk-clip-dialog .modal-dialog { max-width: min(410px, calc(100% - 20px)); }
}
