
.custom-luxury-footer {
  --footer-rule: color-mix(in srgb, var(--footer-text, #ffffff) 26%, transparent);
  --footer-muted: color-mix(in srgb, var(--footer-text, #ffffff) 90%, transparent);

  position: relative;
  overflow: hidden;
  padding: 40px 24px 16px;
  background-color: var(--footer-background, #17120f);
  color: var(--footer-text, #ffffff);
  direction: rtl;
}

.custom-luxury-footer--en {
  direction: ltr;
}

.custom-luxury-footer,
.custom-luxury-footer * {
  font-family: var(--font-family), sans-serif;
}

.custom-luxury-footer__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.custom-luxury-footer__background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--footer-background-position, center);
}

.custom-luxury-footer__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000000;
  pointer-events: none;
}

.custom-luxury-footer__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.custom-luxury-footer a,
.custom-luxury-footer button {
  color: inherit;
  text-decoration: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .custom-luxury-footer a:hover,
  .custom-luxury-footer button:hover {
    opacity: 0.78;
    transform: translateY(-2px);
  }
}

.custom-luxury-footer a:focus-visible,
.custom-luxury-footer button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.custom-luxury-footer__brand {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.custom-luxury-footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.custom-luxury-footer__logo {
  width: auto;
  max-width: 160px;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.custom-luxury-footer__store-name {
  margin: 0;
  color: var(--footer-text, #ffffff);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.custom-luxury-footer__about {
  margin: 0 auto;
  color: var(--footer-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}

.custom-luxury-footer__about p {
  margin: 0;
}

.custom-luxury-footer__socials {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.custom-luxury-footer__social {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text, #ffffff);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.custom-luxury-footer__social svg,
.custom-luxury-footer__social img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.custom-luxury-footer__columns {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  padding-bottom: 20px;
}

.custom-luxury-footer__column {
  min-width: 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-inline-start: 1px solid var(--footer-rule);
}

.custom-luxury-footer__column:first-child {
  border-inline-start: 0;
}

.custom-luxury-footer__title {
  margin: 0 0 10px;
  color: var(--footer-text, #ffffff);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.custom-luxury-footer__links,
.custom-luxury-footer__contact {
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.custom-luxury-footer__contact {
  align-items: flex-start;
}

.custom-luxury-footer__links li,
.custom-luxury-footer__contact li {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.custom-luxury-footer__links a,
.custom-luxury-footer__links button,
.custom-luxury-footer__contact a {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--footer-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: inherit;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.custom-luxury-footer__contact svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.custom-luxury-footer__payments {
  padding: 12px 0;
  border-top: 1px solid var(--footer-rule);
  border-bottom: 1px solid var(--footer-rule);
}

.custom-luxury-footer__payment-grid {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.custom-luxury-footer__payment {
  width: 64px;
  height: 28px;
  padding: 3px 5px;
  border-radius: 4px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-luxury-footer__payment img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.custom-luxury-footer__bottom {
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  color: color-mix(in srgb, var(--footer-text, #ffffff) 78%, transparent);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.custom-luxury-footer__brand + .custom-luxury-footer__bottom,
.custom-luxury-footer__columns + .custom-luxury-footer__bottom {
  border-top: 1px solid var(--footer-rule);
}

body.footer-message-open {
  overflow: hidden;
}

.custom-footer-message {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  direction: rtl;
}

.custom-luxury-footer--en .custom-footer-message {
  direction: ltr;
}

.custom-footer-message.is-active {
  display: flex;
}

.custom-footer-message__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.custom-footer-message__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 34px 30px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--background, #ffffff) 96%, transparent);
  color: var(--foreground, #161616);
  box-shadow: none;
  text-align: right;
}

.custom-luxury-footer--en .custom-footer-message__dialog {
  text-align: left;
}

.custom-footer-message__dialog h3 {
  margin: 0 0 18px;
  color: var(--footer-modal-text, var(--foreground, #111111));
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
}

.custom-footer-message__content {
  color: var(--footer-modal-text, color-mix(in srgb, var(--foreground, #111111) 82%, transparent));
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.custom-footer-message__content * {
  color: inherit !important;
}

.custom-footer-message__dialog::-webkit-scrollbar {
  display: none;
}

.custom-footer-message__content p {
  margin: 0 0 12px;
}

.custom-footer-message__content p:last-child {
  margin-bottom: 0;
}

.custom-footer-message__content ul,
.custom-footer-message__content ol {
  margin: 0 0 14px;
  padding-inline-start: 22px;
}

.custom-footer-message .custom-footer-message__content ul {
  list-style: disc;
}

.custom-footer-message .custom-footer-message__content ol {
  list-style: decimal;
}

.custom-footer-message .custom-footer-message__content a {
  display: inline;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.custom-footer-message__content li {
  margin-bottom: 8px;
}

.custom-footer-message .custom-footer-message__close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--footer-modal-text, var(--foreground, #111111));
  color: var(--background, #ffffff);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-luxury-footer--en .custom-footer-message__close {
  left: auto;
  right: 14px;
}

@media (max-width: 768px) {
  .custom-luxury-footer {
    padding: 28px 14px 14px;
  }

  .custom-luxury-footer__brand {
    margin-bottom: 20px;
  }

  .custom-luxury-footer__logo-link {
    margin-bottom: 10px;
  }

  .custom-luxury-footer__logo {
    max-width: 128px;
    max-height: 50px;
  }

  .custom-luxury-footer__store-name {
    font-size: 24px;
  }

  .custom-luxury-footer__about {
    font-size: 13px;
    line-height: 1.8;
  }

  .custom-luxury-footer__socials {
    margin-top: 14px;
    gap: 14px;
  }

  .custom-luxury-footer__columns {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 0;
  }

  .custom-luxury-footer__column {
    padding: 16px 10px;
    border-inline-start: 0;
  }

  .custom-luxury-footer__column:nth-child(even) {
    border-inline-start: 1px solid var(--footer-rule);
  }

  .custom-luxury-footer__column:nth-child(n + 3) {
    border-top: 1px solid var(--footer-rule);
  }

  .custom-luxury-footer__column:first-child,
  .custom-luxury-footer__column:nth-child(2) {
    padding-top: 0;
  }

  .custom-luxury-footer__column:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .custom-luxury-footer__title {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .custom-luxury-footer__links a,
  .custom-luxury-footer__links button,
  .custom-luxury-footer__contact a {
    font-size: 13px;
  }

  .custom-luxury-footer__contact svg {
    width: 16px;
    height: 16px;
  }

  .custom-luxury-footer__payments {
    padding: 10px 0;
  }

  .custom-luxury-footer__payment-grid {
    max-width: 300px;
    gap: 6px;
  }

  .custom-luxury-footer__payment {
    width: 60px;
    height: 26px;
  }

  .custom-luxury-footer__bottom {
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
  }

  .custom-footer-message {
    padding: 14px;
  }

  .custom-footer-message__dialog {
    width: min(100%, 350px);
    max-height: 78vh;
    padding: 28px 20px;
    border-radius: 18px;
  }

  .custom-footer-message__dialog h3 {
    font-size: 21px;
  }

  .custom-footer-message__content {
    font-size: 14px;
    line-height: 1.9;
  }

  .custom-footer-message .custom-footer-message__close {
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .custom-luxury-footer--en .custom-footer-message__close {
    left: auto;
    right: 12px;
  }
}

@media (hover: none), (pointer: coarse) {
  .custom-luxury-footer a,
  .custom-luxury-footer button {
    transition-duration: 0.01ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-luxury-footer *,
  .custom-luxury-footer *::before,
  .custom-luxury-footer *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.custom-luxury-footer__logo-link--original .custom-luxury-footer__logo {
  filter: none;
}
