/**
 * OpticaRA Luxe Header — luxe-optic-vision design
 * Main site header (replaces BeTheme header)
 */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap");

:root {
  --luxe-bg: hsl(40, 33%, 98%);
  --luxe-fg: hsl(25, 30%, 18%);
  --luxe-primary: hsl(27, 31%, 26%);
  --luxe-primary-fg: hsl(40, 33%, 98%);
  --luxe-muted-fg: hsl(25, 15%, 45%);
  --luxe-border: hsl(35, 20%, 88%);
}

/* Luxe Header — relative on mobile, sticky on desktop */
.opt-luxe-header {
  position: relative;
  z-index: 100;
  background: var(--luxe-bg);
  border-bottom: 1px solid hsla(35, 20%, 88%, 0.5);
  font-family: "Cormorant Garamond", Georgia, serif;
}

@media (min-width: 1024px) {
  .opt-luxe-header {
    position: sticky;
    top: 0;
  }
}

.opt-luxe-header-top {
  border-bottom: 1px solid hsla(35, 20%, 88%, 0.3);
}

.opt-luxe-editorial {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .opt-luxe-editorial {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .opt-luxe-editorial {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

.opt-luxe-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
}

@media (max-width: 767px) {
  .opt-luxe-top-inner {
    padding: 5px 0 5px 0;
  }
}

.opt-luxe-logo {
  flex-shrink: 0;
}

.opt-luxe-logo img {
  height: 3.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .opt-luxe-logo img {
    height: 5rem;
  }
}

/* Search bar — luxe-optic-vision: rounded-none, bg-muted/50, border-border/50 */
/* Desktop search — hidden on mobile */
.opt-luxe-search-wrap.opt-luxe-search-desktop {
  display: none;
}

@media (min-width: 768px) {
  .opt-luxe-search-wrap.opt-luxe-search-desktop {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 36rem;
    margin: 0 2rem;
  }
}

.opt-luxe-search-form {
  position: relative;
  width: 100%;
  display: block;
}

/* Icon: muted brownish-gray (muted-foreground), aligned left */
.opt-luxe-search-form .icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(25, 15%, 45%) !important;
  fill: none;
  stroke: hsl(25, 15%, 45%);
  pointer-events: none;
  z-index: 1;
}

.opt-luxe-search-form .icon svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  color: hsl(25, 15%, 45%) !important;
  flex-shrink: 0;
}

/* Input: bg-muted/50, border-border/50, rounded-none (reference) */
.opt-luxe-search-input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: hsla(35, 25%, 92%, 0.5);
  border: 1px solid hsla(35, 20%, 88%, 0.5);
  border-radius: 0;
  font-size: 0.875rem;
  color: var(--luxe-fg);
  font-family: inherit;
  transition: border-color 0.2s;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: block;
}

.opt-luxe-search-input::placeholder {
  color: hsl(25, 15%, 45%);
}

/* Focus: border-primary/50 */
.opt-luxe-search-input:focus,
.opt-luxe-search-input:focus-visible,
.opt-luxe-search-input:active {
  outline: none !important;
  border-color: hsla(27, 31%, 26%, 0.5) !important;
  box-shadow: none !important;
}

.opt-luxe-search-form:focus-within .opt-luxe-search-input {
  outline: none !important;
  border-color: hsla(27, 31%, 26%, 0.5) !important;
  box-shadow: none !important;
}

/* Mobile search toggle button */
.opt-luxe-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .opt-luxe-search-toggle {
    display: none !important;
  }
}

/* Mobile search panel — expands when toggle clicked */
.opt-luxe-search-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}

.opt-luxe-search-mobile.is-open {
  max-height: 6rem;
}

.opt-luxe-search-mobile-inner {
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .opt-luxe-search-mobile {
    display: none !important;
  }
}

.opt-luxe-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .opt-luxe-actions {
    gap: 1.5rem;
  }
}

.opt-luxe-actions a,
.opt-luxe-actions button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(25, 30%, 18%, 0.8);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-family: inherit;
}

.opt-luxe-actions a:hover,
.opt-luxe-actions button:hover {
  color: var(--luxe-fg);
}

/* Phone number — hidden in mobile header, shown only on desktop */
.opt-luxe-phone {
  display: none !important;
}
@media (min-width: 1024px) {
  .opt-luxe-phone {
    display: flex !important;
  }
}

.opt-luxe-actions .label {
  display: none;
}
@media (min-width: 640px) {
  .opt-luxe-actions .label {
    display: inline !important;
  }
}

.opt-luxe-cart-count {
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1;
  background: transparent;
  color: var(--luxe-primary);
  border: 1px solid hsla(35, 20%, 78%, 0.8);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  letter-spacing: 0;
}

@media (min-width: 640px) {
  .opt-luxe-cart-count {
    min-width: 1.25rem;
    height: 1.25rem;
    font-size: 0.7rem;
    padding: 0 0.4rem;
    margin-left: 0.4rem;
  }
}

.opt-luxe-menu-btn {
  display: flex;
}
@media (min-width: 1024px) {
  .opt-luxe-menu-btn {
    display: none !important;
  }
}

.opt-luxe-menu-btn .icon-close {
  display: none;
}
.opt-luxe-header.menu-open .opt-luxe-menu-btn .icon-menu {
  display: none;
}
.opt-luxe-header.menu-open .opt-luxe-menu-btn .icon-close {
  display: block;
}

/* Desktop Nav */
.opt-luxe-nav {
  display: none;
}

@media (min-width: 1024px) {
  .opt-luxe-nav {
    display: block;
  }
  .opt-luxe-nav .opt-luxe-editorial {
    padding-left: 0;
    padding-right: 0;
  }
}

.opt-luxe-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.opt-luxe-nav-item {
  position: relative;
}

.opt-luxe-nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 300;
  color: hsla(25, 30%, 18%, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.opt-luxe-nav-link:hover,
.opt-luxe-nav-item.active .opt-luxe-nav-link {
  color: var(--luxe-primary);
}

/* Desktop — увеличенный текст для лучшей читаемости */
@media (min-width: 1024px) {
  .opt-luxe-actions a,
  .opt-luxe-actions button {
    font-size: 1rem;
  }
  .opt-luxe-search-input {
    font-size: 1rem;
  }
  .opt-luxe-nav-link {
    font-size: 0.95rem;
  }
  .opt-luxe-mega-link {
    font-size: 1rem;
  }
  .opt-luxe-mega-footer a {
    font-size: 0.875rem;
  }
  .opt-luxe-cart-count {
    min-width: 1.25rem;
    height: 1.25rem;
    font-size: 0.7rem;
  }
}

.opt-luxe-nav-chevron {
  transition: transform 0.2s;
}
.opt-luxe-nav-item.active .opt-luxe-nav-chevron {
  transform: rotate(180deg);
}

/* Mega Dropdown */
.opt-luxe-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  z-index: 100;
}

.opt-luxe-nav-item:hover .opt-luxe-mega,
.opt-luxe-nav-item.active .opt-luxe-mega {
  opacity: 1;
  visibility: visible;
}

.opt-luxe-mega-inner {
  background: var(--luxe-bg);
  border: 1px solid hsla(35, 20%, 88%, 0.5);
  box-shadow: 0 4px 30px -5px hsla(27, 31%, 26%, 0.08);
  min-width: 700px;
  max-width: 900px;
}

.opt-luxe-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 2rem;
  padding: 1.5rem;
}

.opt-luxe-mega-link {
  font-size: 0.875rem;
  color: hsla(25, 30%, 18%, 0.7);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.opt-luxe-mega-link:hover {
  color: var(--luxe-primary);
}

.opt-luxe-mega-footer {
  border-top: 1px solid hsla(35, 20%, 88%, 0.3);
  padding: 0.75rem 1.5rem;
  background: hsla(40, 40%, 95%, 0.3);
}

.opt-luxe-mega-footer a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--luxe-primary);
  text-decoration: none;
}

.opt-luxe-mega-footer a:hover {
  opacity: 0.8;
}

/* Mobile Menu */
.opt-luxe-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--luxe-bg);
  border-top: 1px solid hsla(35, 20%, 88%, 0.3);
}

.opt-luxe-mobile-menu.is-open {
  max-height: 80vh;
  overflow-y: auto;
}

.opt-luxe-mobile-list {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
}

.opt-luxe-mobile-list li {
  list-style: none;
}

.opt-luxe-mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: hsla(25, 30%, 18%, 0.8);
  text-decoration: none;
}

.opt-luxe-mobile-link:hover {
  color: var(--luxe-fg);
}

/* No grey background on click/hover — override BeTheme button styles */
.opt-luxe-accordion-btn,
.opt-luxe-accordion-btn:hover,
.opt-luxe-accordion-btn:focus,
.opt-luxe-accordion-btn:active,
.opt-luxe-accordion.open .opt-luxe-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: hsla(25, 30%, 18%, 0.8);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  outline: none;
}

.opt-luxe-accordion-btn:hover,
.opt-luxe-accordion.open .opt-luxe-accordion-btn {
  color: var(--luxe-fg);
}

.opt-luxe-accordion-chevron {
  transition: transform 0.2s;
}
.opt-luxe-accordion.open .opt-luxe-accordion-chevron {
  transform: rotate(180deg);
}

/* Accordion content — two columns, show all; fully hidden when closed (no dots/teasers) */
.opt-luxe-accordion-content {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  padding: 0;
}

.opt-luxe-accordion.open .opt-luxe-accordion-content {
  max-height: 5000px;
  visibility: visible;
  padding-left: 1rem;
  padding-bottom: 0.75rem;
}

.opt-luxe-sub-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: hsla(25, 30%, 18%, 0.6);
  text-decoration: none;
}

.opt-luxe-sub-link:hover {
  color: var(--luxe-primary);
}

.opt-luxe-mobile-phone {
  padding: 1rem 0 1rem 0;
  border-top: 1px solid hsla(35, 20%, 88%, 0.3);
}

.opt-luxe-mobile-phone a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsla(25, 30%, 18%, 0.8);
  text-decoration: none;
}

/* Mobile menu — larger font on phone */
@media (max-width: 1023px) {
  .opt-luxe-mobile-link {
    font-size: 1.25rem;
    padding: 0.85rem 0;
  }
  .opt-luxe-accordion-btn,
  .opt-luxe-accordion-btn:hover,
  .opt-luxe-accordion-btn:focus,
  .opt-luxe-accordion-btn:active,
  .opt-luxe-accordion.open .opt-luxe-accordion-btn {
    font-size: 1.25rem;
    padding: 0.85rem 0;
  }
  .opt-luxe-sub-link {
    font-size: 1.125rem;
    padding: 0.6rem 0;
  }
  .opt-luxe-mobile-phone a {
    font-size: 1.25rem;
  }
}

/* Hide old BeTheme header everywhere */
body.opt-luxe-header-active #Header,
body.opt-luxe-header-active #Header_wrapper,
body.opt-luxe-header-active #Top_bar,
body.opt-luxe-header-active .header-wrap,
body.opt-luxe-header-active .mfn-main-slider,
body.opt-luxe-header-active .mfn-rev-slider,
body.opt-luxe-header-active #mfn-global-slider,
body.opt-luxe-header-active #mfn-custom-slider {
  display: none !important;
}

body.opt-luxe-header-active #Wrapper {
  padding-top: 0 !important;
}

/* Search */

.opt-luxe-search-form input {
  width: 500px !important;
  border-radius: 0px !important;
  border: solid 1px #e7e1da80 !important;
  margin: 0px !important;
}

input[type="search"] {
  background-color: #f7f2ed80 !important;
  padding: 10px 15px 10px 45px !important;
}

input[type="search"]:focus {
  color: #3c2c20 !important;
}

.opt-luxe-logo {
  display: flex;
}

/* ========== Прозрачный хедер только на главной (desktop + mobile) ========== */
.opt-luxe-header.opt-luxe-header--home-transparent {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent !important;
  border-bottom: none !important;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

/* После скролла мимо первой секции (100vh) — стандартный хедер, sticky */
.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled {
  position: sticky !important;
  background: var(--luxe-bg) !important;
  border-bottom: 1px solid hsla(35, 20%, 88%, 0.5) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-header-top {
  border-bottom-color: hsla(35, 20%, 88%, 0.3) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-logo
  img {
  filter: none;
  opacity: 1;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-search-form
  .icon,
.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-search-form
  .icon
  svg {
  color: hsl(25, 15%, 45%) !important;
  stroke: hsl(25, 15%, 45%);
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-search-input {
  background: hsla(35, 25%, 92%, 0.5) !important;
  border-color: hsla(35, 20%, 88%, 0.5) !important;
  color: var(--luxe-fg) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-search-input::placeholder {
  color: hsl(25, 15%, 45%);
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-search-input:focus,
.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-search-form:focus-within
  .opt-luxe-search-input {
  border-color: hsla(27, 31%, 26%, 0.5) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-actions
  a,
.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-actions
  button {
  color: hsla(25, 30%, 18%, 0.8) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-actions
  a:hover,
.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-actions
  button:hover {
  color: var(--luxe-fg) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-actions
  svg {
  stroke: hsla(25, 30%, 18%, 0.8);
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-cart-count {
  background: transparent !important;
  color: var(--luxe-primary) !important;
  border-color: hsla(35, 20%, 78%, 0.8) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-nav-link {
  color: hsla(25, 30%, 18%, 0.7) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-nav-link:hover,
.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-nav-item.active
  .opt-luxe-nav-link {
  color: var(--luxe-primary) !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-nav-chevron {
  stroke: hsla(25, 30%, 18%, 0.7);
}

.opt-luxe-header.opt-luxe-header--home-transparent.opt-luxe-header--scrolled
  .opt-luxe-menu-btn
  svg {
  stroke: hsla(25, 30%, 18%, 0.8);
}

.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-header-top {
  border-bottom-color: transparent !important;
}

/* Логотип — светлый на прозрачном фоне */
.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Поиск — светлая тема */
.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-search-form .icon,
.opt-luxe-header.opt-luxe-header--home-transparent
  .opt-luxe-search-form
  .icon
  svg {
  color: rgba(255, 255, 255, 0.9) !important;
  stroke: rgba(255, 255, 255, 0.9);
}

.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-search-input {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent
  .opt-luxe-search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-search-input:focus,
.opt-luxe-header.opt-luxe-header--home-transparent
  .opt-luxe-search-form:focus-within
  .opt-luxe-search-input {
  border-color: rgba(255, 255, 255, 0.7) !important;
}

/* Иконки и ссылки в шапке — светлые */
.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-actions a,
.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-actions button {
  color: #fff !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-actions a:hover,
.opt-luxe-header.opt-luxe-header--home-transparent
  .opt-luxe-actions
  button:hover {
  color: #fff !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-actions svg {
  stroke: rgba(255, 255, 255, 0.95);
}

/* Счётчик корзины */
.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-cart-count {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Навигация — светлый текст */
.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-nav-link {
  color: #fff !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-nav-link:hover,
.opt-luxe-header.opt-luxe-header--home-transparent
  .opt-luxe-nav-item.active
  .opt-luxe-nav-link {
  color: #fff !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-nav-chevron {
  stroke: rgba(255, 255, 255, 0.9);
}

/* Кнопка меню (гамбургер) на мобильном — светлая */
.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-menu-btn svg {
  stroke: rgba(255, 255, 255, 0.95);
}

/* Мобильное меню при открытии оставляем с фоном для читаемости */
.opt-luxe-header.opt-luxe-header--home-transparent .opt-luxe-mobile-menu {
  background: var(--luxe-bg);
}

/* Выпадающее нав-меню при прозрачном хедере — liquid glass, нейтральный тон (без проступающего оранжевого) */
.opt-luxe-header.opt-luxe-header--home-transparent:not(
    .opt-luxe-header--scrolled
  )
  .opt-luxe-mega-inner {
  background: rgb(255 255 255 / 9%);
  -webkit-backdrop-filter: blur(24px) saturate(100%);
  backdrop-filter: blur(24px) saturate(90%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.opt-luxe-header.opt-luxe-header--home-transparent:not(
    .opt-luxe-header--scrolled
  )
  .opt-luxe-mega-link {
  color: #fff !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent:not(
    .opt-luxe-header--scrolled
  )
  .opt-luxe-mega-link:hover {
  color: #fff !important;
  opacity: 0.9;
}

.opt-luxe-header.opt-luxe-header--home-transparent:not(
    .opt-luxe-header--scrolled
  )
  .opt-luxe-mega-footer {
  border-top-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.opt-luxe-header.opt-luxe-header--home-transparent:not(
    .opt-luxe-header--scrolled
  )
  .opt-luxe-mega-footer
  a {
  color: #fff !important;
}

.opt-luxe-header.opt-luxe-header--home-transparent:not(
    .opt-luxe-header--scrolled
  )
  .opt-luxe-mega-footer
  a:hover {
  color: #fff !important;
  opacity: 0.9;
}

/* ========== Luxe Footer — #2B2623, white text, gold only Cont/Cos/Utile + hover ========== */
#Footer.mfn-footer,
#Footer.mfn-footer-tmpl,
#mfn-footer-template,
.opt-luxe-footer {
  --luxe-footer-bg: #2b2623;
  --luxe-footer-fg: #ffffff;
  --luxe-footer-gold: #d29f48;
  --luxe-footer-border: rgba(255, 255, 255, 0.2);
  --luxe-footer-divider: rgba(255, 255, 255, 0.25);
  background: #2b2623 !important;
  color: #ffffff !important;
  border: none !important;
  margin: 0 !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif !important;
}

.opt-luxe-footer {
  background: var(--luxe-footer-bg);
  color: #ffffff;
  border: none;
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

/* Footer wrapper: max-width 1400px, centered */
.opt-luxe-footer__container,
#Footer .container,
#mfn-footer-template .container,
#Footer .section_wrapper,
#mfn-footer-template .section_wrapper {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.opt-luxe-footer__container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .opt-luxe-footer__container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .opt-luxe-footer__container {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

.opt-luxe-footer__cta {
  padding: 2rem 0;
}

.opt-luxe-footer__cta .opt-luxe-footer__container {
  padding-top: 0;
  padding-bottom: 0;
}

.opt-luxe-footer__main {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .opt-luxe-footer__main {
    padding: 5rem 0;
  }
}

.opt-luxe-footer__grid {
  display: grid;
  gap: 2rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .opt-luxe-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .opt-luxe-footer__grid[data-cols="4"] {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .opt-luxe-footer__grid[data-cols="5"] {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
  .opt-luxe-footer__grid[data-cols="3"] {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .opt-luxe-footer__grid[data-cols="2"] {
    grid-template-columns: 1fr 1fr;
  }
  .opt-luxe-footer__grid[data-cols="1"] {
    grid-template-columns: 1fr;
  }
}

.opt-luxe-footer__col--wide {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .opt-luxe-footer__col--wide {
    grid-column: span 2;
  }
}

.opt-luxe-footer__col-inner {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.opt-luxe-footer__col-inner p {
  margin: 0 0 0.75rem;
  color: inherit;
}

.opt-luxe-footer__col-inner p:last-child {
  margin-bottom: 0;
}

/* Photo 1: Cont, Cos, Utile — всегда золотые */
.opt-luxe-footer__col-inner .widget_title,
.opt-luxe-footer__col-inner h3,
.opt-luxe-footer__col-inner h4 {
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #d29f48 !important;
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
  line-height: 1.3;
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Links in footer — white, gold on hover */
.opt-luxe-footer__col-inner a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.opt-luxe-footer__col-inner a:hover {
  color: #d29f48;
}

/* Lists in footer */
.opt-luxe-footer__col-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.opt-luxe-footer__col-inner ul li {
  margin: 0 0 0.5rem;
  padding: 0;
}

.opt-luxe-footer__col-inner ul li:last-child {
  margin-bottom: 0;
}

/* Gold divider (optional: add before first column content via widget or keep minimal) */
.opt-luxe-footer__col-inner .luxury-divider-gold {
  width: 6rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--luxe-footer-gold),
    transparent
  );
  margin: 0 0 1.5rem;
}

/* Bottom bar — thin gold divider */
.opt-luxe-footer__bottom {
  border-top: 1px solid rgba(210, 159, 72, 0.4);
  padding: 1.5rem 0;
}

.opt-luxe-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.opt-luxe-footer__copyright {
  font-size: 0.8125rem;
  color: #ffffff;
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.opt-luxe-footer__copyright a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.opt-luxe-footer__copyright a:hover {
  color: #d29f48;
}

/* Social in footer */
.opt-luxe-footer__social {
  margin-left: auto;
}

.opt-luxe-footer__social .social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.opt-luxe-footer__social .social li {
  margin: 0;
  padding: 0;
}

/* Photo 3: соц. иконки — золотые по умолчанию, при ховере белые */
.opt-luxe-footer__social .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #d29f48;
  color: #d29f48;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.opt-luxe-footer__social .social a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.opt-luxe-footer__social .social a i,
.opt-luxe-footer__social .social a:hover i {
  color: inherit;
}

.opt-luxe-footer__social .social i {
  font-size: 0.875rem;
}

/* Back to top in footer */
.opt-luxe-footer__back-top {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.opt-luxe-footer__back-top:hover {
  color: #d29f48 !important;
}

/* Footer nav menu (social-menu-bottom) inside bottom bar */
.opt-luxe-footer__bottom .social-menu,
.opt-luxe-footer__bottom .footer_copy .social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}

.opt-luxe-footer__bottom .social-menu li,
.opt-luxe-footer__bottom .footer_copy .social li {
  margin: 0;
  padding: 0;
  border: none;
}

.opt-luxe-footer__bottom .social-menu a,
.opt-luxe-footer__bottom .footer_copy .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #d29f48;
  color: #d29f48;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.opt-luxe-footer__bottom .social-menu a:hover,
.opt-luxe-footer__bottom .footer_copy .social a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.opt-luxe-footer__bottom .social-menu a i,
.opt-luxe-footer__bottom .footer_copy .social a i,
.opt-luxe-footer__bottom .social-menu a:hover i,
.opt-luxe-footer__bottom .footer_copy .social a:hover i {
  color: inherit;
}

/* Override BeTheme default footer styles when using luxe footer */
#Footer.opt-luxe-footer.widgets_wrapper,
#Footer.opt-luxe-footer .widgets_wrapper {
  background: transparent;
  padding: 0;
}

#Footer.opt-luxe-footer .footer_copy {
  background: transparent;
  padding: 0;
  border: none;
}

#Footer.opt-luxe-footer .footer_copy .mcb-column-inner {
  padding: 0;
}

#Footer.opt-luxe-footer .copyright {
  background: transparent;
  padding: 0;
  border: none;
  float: none;
}

#Footer.opt-luxe-footer .footer_button {
  color: rgba(210, 159, 72, 0.85);
}

#Footer.opt-luxe-footer .footer_button:hover {
  color: #d29f48;
}

/* ========== Luxe footer when using Mfn Builder template ========== */
#Footer.opt-luxe-footer--template,
#Footer.mfn-footer-tmpl.opt-luxe-footer {
  background: #2b2623 !important;
  color: #ffffff !important;
  border: none !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif !important;
}

#Footer.opt-luxe-footer--template .section,
#Footer.opt-luxe-footer--template .section_wrapper,
#Footer.opt-luxe-footer--template .container,
#Footer.opt-luxe-footer--template .column,
#Footer.opt-luxe-footer--template .mcb-column-inner {
  background: transparent !important;
  border-color: var(--luxe-footer-border) !important;
}

/* Весь текст на фото белый; только Cont/Cos/Utile (widget_title, h3, h4) золотые */
#Footer.opt-luxe-footer--template,
#Footer.opt-luxe-footer--template p,
#Footer.opt-luxe-footer--template h1,
#Footer.opt-luxe-footer--template h2,
#Footer.opt-luxe-footer--template td,
#Footer.opt-luxe-footer--template li,
#Footer.opt-luxe-footer--template div,
#Footer.opt-luxe-footer--template span {
  color: #ffffff !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Photo 1: Cont, Cos, Utile — золотые */
#Footer.opt-luxe-footer--template .widget_title,
#Footer.opt-luxe-footer--template h3,
#Footer.opt-luxe-footer--template h4 {
  color: #d29f48 !important;
  font-size: 0.875rem !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
  border: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

#Footer.opt-luxe-footer--template a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

#Footer.opt-luxe-footer--template a:hover {
  color: #d29f48 !important;
}

/* Thin gold divider above copyright */
#Footer.opt-luxe-footer--template .footer_copy,
#Footer.opt-luxe-footer--template .footer_copy .section_wrapper,
#Footer.opt-luxe-footer--template .footer_copy .container {
  background: transparent !important;
  border-top: 1px solid rgba(210, 159, 72, 0.4) !important;
}

#Footer.opt-luxe-footer--template .footer_copy .copyright,
#Footer.opt-luxe-footer--template .footer_copy .copyright a {
  color: #ffffff !important;
  font-size: 0.8125rem !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

#Footer.opt-luxe-footer--template .footer_copy .copyright a:hover {
  color: #d29f48 !important;
}

/* Photo 3: соц. иконки — золотые по умолчанию, при ховере белые */
#Footer.opt-luxe-footer--template .social a,
#Footer.opt-luxe-footer--template .social-menu a {
  color: #d29f48 !important;
  background: transparent !important;
  border: 1px solid #d29f48 !important;
  border-radius: 50% !important;
}

#Footer.opt-luxe-footer--template .social a:hover,
#Footer.opt-luxe-footer--template .social-menu a:hover {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

#Footer.opt-luxe-footer--template .social a:hover i,
#Footer.opt-luxe-footer--template .social-menu a:hover i {
  color: #ffffff !important;
}

#Footer.opt-luxe-footer--template .social a i,
#Footer.opt-luxe-footer--template .social-menu a i {
  color: inherit !important;
}

#Footer.opt-luxe-footer--template .footer_button {
  color: #ffffff !important;
}

#Footer.opt-luxe-footer--template .footer_button:hover {
  color: #d29f48 !important;
}

/* Весь текст в контактном блоке — белый; только иконка наушников золотая */
#Footer.opt-luxe-footer--template a[href^="tel"],
#Footer.opt-luxe-footer--template a[href^="tel"] span {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.1em !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

#Footer.opt-luxe-footer--template a[href^="tel"]:hover {
  color: #d29f48 !important;
}

#Footer.opt-luxe-footer--template .icon-headphone + *,
#Footer.opt-luxe-footer--template p:first-of-type {
  color: #ffffff !important;
}

/* Только иконка наушников — золотая (перебиваем инлайн и тему) */
#Footer.opt-luxe-footer--template .icon-headphone,
#Footer.opt-luxe-footer--template .icon-headphones,
#Footer.opt-luxe-footer--template .icon-headphone i,
#Footer.opt-luxe-footer--template .icon-headphone svg,
#Footer.opt-luxe-footer--template .icon-headphone path,
#Footer.opt-luxe-footer--template .icon-headphone::before,
#Footer.opt-luxe-footer--template i.icon-headphone,
#Footer.opt-luxe-footer--template i.icon-headphones,
#Footer.opt-luxe-footer--template i[class*="headphone"],
#Footer.opt-luxe-footer--template i[class*="headphone"]::before,
#Footer.opt-luxe-footer--template span[class*="headphone"],
#Footer.opt-luxe-footer--template [class*="headphone"],
#Footer.opt-luxe-footer--template [class*="headphone"]::before {
  color: #d29f48 !important;
  fill: #d29f48 !important;
  stroke: #d29f48 !important;
  background-color: transparent !important;
}

/* Иконка наушников как <img> — перекрасить в золотой */
#Footer.opt-luxe-footer--template .icon-headphone img,
#Footer.opt-luxe-footer--template [class*="headphone"] img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(35%) saturate(1200%)
    hue-rotate(360deg) brightness(0.95) contrast(0.9) !important;
}

/* BeTheme: первая иконка в первой колонке (наушники) — золотая */
#Footer.opt-luxe-footer--template .column:first-child .icon_box .icon_wrapper,
#Footer.opt-luxe-footer--template
  .column:first-child
  .icon_box
  .icon_wrapper::before,
#Footer.opt-luxe-footer--template
  .column:first-child
  .icon_box
  i[class*="icon-"],
#Footer.opt-luxe-footer--template
  .column:first-child
  .icon_box
  i[class*="icon-"]::before,
#mfn-footer-template .column:first-child .icon_box .icon_wrapper,
#mfn-footer-template .column:first-child .icon_box .icon_wrapper::before,
#mfn-footer-template .column:first-child .icon_box i[class*="icon-"],
#mfn-footer-template .column:first-child .icon_box i[class*="icon-"]::before {
  color: #d29f48 !important;
  fill: #d29f48 !important;
  stroke: #d29f48 !important;
}

/* Остальные иконки (телефон и т.д.) — белые */
#Footer.opt-luxe-footer--template .icon-phone,
#Footer.opt-luxe-footer--template .icon-phone::before,
#Footer.opt-luxe-footer--template [class*="icon-"]:not([class*="headphone"]) {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* ========== Same styles for #mfn-footer-template (when parent template loads) ========== */
#mfn-footer-template .section,
#mfn-footer-template .section_wrapper,
#mfn-footer-template .column,
#mfn-footer-template .mcb-column-inner {
  background: transparent !important;
  border-color: rgba(210, 159, 72, 0.3) !important;
}

#mfn-footer-template,
#mfn-footer-template p,
#mfn-footer-template h1,
#mfn-footer-template h2,
#mfn-footer-template td,
#mfn-footer-template li,
#mfn-footer-template div,
#mfn-footer-template span {
  color: #ffffff !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif !important;
}

#mfn-footer-template .widget_title,
#mfn-footer-template h3,
#mfn-footer-template h4 {
  color: #d29f48 !important;
  font-size: 0.875rem !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
  border: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

#mfn-footer-template a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

#mfn-footer-template a:hover {
  color: #d29f48 !important;
}

#mfn-footer-template .footer_copy,
#mfn-footer-template .footer_copy .section_wrapper,
#mfn-footer-template .footer_copy .container {
  background: transparent !important;
  border-top: 1px solid rgba(210, 159, 72, 0.4) !important;
}

#mfn-footer-template .footer_copy .copyright,
#mfn-footer-template .footer_copy .copyright a {
  color: #ffffff !important;
  font-size: 0.8125rem !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

#mfn-footer-template .footer_copy .copyright a:hover {
  color: #d29f48 !important;
}

/* Photo 3: соц. иконки — золотые по умолчанию, при ховере белые */
#mfn-footer-template .social a,
#mfn-footer-template .social-menu a {
  color: #d29f48 !important;
  background: transparent !important;
  border: 1px solid #d29f48 !important;
  border-radius: 50% !important;
}

#mfn-footer-template .social a:hover,
#mfn-footer-template .social-menu a:hover {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

#mfn-footer-template .social a:hover i,
#mfn-footer-template .social-menu a:hover i {
  color: #ffffff !important;
}

/* Весь текст белый; номер телефона тоже белый */
#mfn-footer-template a[href^="tel"],
#mfn-footer-template a[href^="tel"] span {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.1em !important;
}

#mfn-footer-template a[href^="tel"]:hover {
  color: #d29f48 !important;
}

#mfn-footer-template .icon-headphone + *,
#mfn-footer-template .icon-phone + * {
  color: #ffffff !important;
}

/* Только иконка наушников — золотая */
#mfn-footer-template .icon-headphone,
#mfn-footer-template .icon-headphones,
#mfn-footer-template .icon-headphone i,
#mfn-footer-template .icon-headphone svg,
#mfn-footer-template .icon-headphone path,
#mfn-footer-template .icon-headphone::before,
#mfn-footer-template i.icon-headphone,
#mfn-footer-template i[class*="headphone"],
#mfn-footer-template i[class*="headphone"]::before,
#mfn-footer-template span[class*="headphone"],
#mfn-footer-template [class*="headphone"],
#mfn-footer-template [class*="headphone"]::before {
  color: #d29f48 !important;
  fill: #d29f48 !important;
  stroke: #d29f48 !important;
  background-color: transparent !important;
}

#mfn-footer-template .icon-headphone img,
#mfn-footer-template [class*="headphone"] img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(35%) saturate(1200%)
    hue-rotate(360deg) brightness(0.95) contrast(0.9) !important;
}

#mfn-footer-template .icon-phone,
#mfn-footer-template .icon-phone::before,
#mfn-footer-template [class*="icon-"]:not([class*="headphone"]) {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}
