/* ElenaRD home tweaks on top of old theme */

/* ============================================================
   TRUE BLACK THEME (no gray base)
   This file loads after the old theme; keep overrides here.
============================================================ */

html,
body {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff;
}

/* Overlay system in style.css uses #0f0f0f; force true black */
[data-overlay-dark]::before,
[data-overlay-dark]:before {
  background: #000 !important;
}

/* Home hero uses data-background image; disable it for solid black */
.elenardHero[data-background] {
  background-image: none !important;
  background-color: #000 !important;
}

/* Old theme uses a #0f0f0f fade on headers */
.page-header {
  background-color: #000 !important;
}

/* Override the exact selector used in style.css */
.page-header:after,
.page-header::after {
  background: -webkit-linear-gradient(transparent, #000) !important;
  background: -o-linear-gradient(transparent, #000) !important;
  background: linear-gradient(transparent, #000) !important;
}

/* Some pages use .header-project:before for the fade */
.header-project:before,
.header-project::before {
  background: -webkit-linear-gradient(bottom, #000, transparent) !important;
  background: -o-linear-gradient(bottom, #000, transparent) !important;
  background: linear-gradient(to top, #000, transparent) !important;
}

/* Common theme wrappers / sections that often set dark gray */
main,
.main-bg,
.sub-bg,
.bg-img,
.bg,
.bg-color,
.bg-dark,
.bg-gray,
.section-padding,
.section-padding2,
.section-padding3,
.page-header,
.page-header .caption,
.works,
.portfolio,
.shop,
.shop-page,
.contact,
.policy,
.account,
.checkout,
.cart,
.wishlist {
  background: #000 !important;
  background-color: #000 !important;
}

/* Cards/panels: keep black, rely on border for separation */
.item,
.card,
.box,
.sidebar,
.modal-content,
.dropdown-menu,
.navbar,
.navbar.bord,
.navbar.blur,
.elenardNavSearchForm,
.elenardNavIconBtn,
.elenardNavSearchMenu,
.elenardNavDropdownMenu,
.elenardWishlistFab,
.elenardCarousel,
.elenardPageBtn,
.elenardShopInput,
.elenardShopSelect,
.elenardCartThumb,
.elenardCartQtyInput {
  background: #000 !important;
  background-color: #000 !important;
}

/* Keep borders subtle instead of gray fills */
.item,
.card,
.box,
.sidebar,
.modal-content,
.dropdown-menu {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Form controls: true black, no gray fill */
input,
textarea,
select,
.form-control {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Kill most semi-transparent white “dark gray” fills */
.elenardNavBackdrop {
  background: rgba(0, 0, 0, 0.75) !important;
}

/* Notify popup (sold-out) */
.elenardModal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.78);
}

.elenardModalCard {
  width: min(520px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.elenardModalHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 10px;
}

.elenardModalTitle {
  font-size: 18px;
  font-weight: 800;
}

.elenardModalSubtitle {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.elenardModalClose {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 22px;
  line-height: 38px;
}

.elenardModalBody {
  padding: 6px 16px 14px;
}

.elenardModalProduct {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  margin-bottom: 14px;
}

.elenardModalThumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
  background: #000;
  flex: none;
}

.elenardModalThumb--empty {
  display: block;
}

.elenardModalProductName {
  font-weight: 800;
  line-height: 1.2;
}

.elenardModalProductHint {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.elenardModalLabel {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.elenardModalInput {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
  color: #fff;
  outline: none;
}

.elenardModalInput:focus {
  border-color: rgba(177, 143, 99, 0.55);
  box-shadow: 0 0 0 3px rgba(177, 143, 99, 0.18);
}

.elenardModalMessage {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.elenardModalMessage--success {
  border: 1px solid rgba(120, 255, 180, 0.22);
  background: rgba(120, 255, 180, 0.08);
  color: rgba(235, 255, 245, 0.92);
}

.elenardModalMessage--error {
  border: 1px solid rgba(255, 80, 80, 0.35);
  background: rgba(255, 80, 80, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.elenardModalFooter {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 16px 16px;
}

.elenardSectionTight.section-padding {
  padding-top: 0px;
  padding-bottom: 70px;
}

.elenardSectionTight .mb-60 {
  margin-bottom: 40px !important;
}

.elenardSectionTight .mb-50 {
  margin-bottom: 34px !important;
}

.elenardSectionTight .mt-50 {
  margin-top: 34px !important;
}

.elenardSectionTight .mt-40 {
  margin-top: 28px !important;
}

.elenardSectionTight .mt-30 {
  margin-top: 22px !important;
}

.elenardSectionTight .item .img img:not(.elenardProductImg) {
  width: 132% !important;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-left: -16%;
}

.elenardSectionTight .item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}

.elenardSectionTight .item .cont {
  padding: 0 14px 16px;
}

/* Home: category cards (match shop cards) */
.elenardCategoryGrid .elenardCategoryCard {
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 14px;
}

.elenardCategoryGrid .elenardCategoryCard .img {
  border-radius: 14px;
  overflow: hidden;
  line-height: 0; /* remove inline-image baseline gap */
}

.elenardCategoryGrid .elenardCategoryCard .img a {
  display: block;
}

.elenardCategoryGrid .elenardCategoryCard .img img.elenardCategoryImg {
  border-radius: 0 !important; /* wrapper handles rounding */
}

.elenardCategoryImg {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.elenardCategoryCont {
  padding: 0 4px 2px;
}

.elenardCategoryCardCta {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elenardCategoryCtaCont {
  padding: 28px 18px;
  text-align: center;
}

.elenardTextLogo {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

/* Footer logo alignment */
.clean-footer .logo.icon-img-100 {
  display: flex;
  align-items: center;
}

/* Increase SVG text-logo size (navbar/footer) */
.logo.icon-img-100 img[src$="logo-light.svg"] {
  height: 66px;
  margin-left: -50px;
  width: 206px;
  max-width: none;
}

/* Footer newsletter: align input + buttons */
.elenardFooterNewsletterRow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.elenardFooterNewsletterRow input {
  flex: 1;
  height: 46px;
  border-radius: 999px;
}

.elenardSubscribeBtn {
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    135deg,
    rgba(177, 143, 99, 0.95),
    rgba(177, 143, 99, 0.55)
  );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  color: #0b0b0b;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.elenardSubscribeBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  opacity: 0.98;
}

.elenardSubscribeBtn:focus-visible {
  outline: 2px solid rgba(177, 143, 99, 0.55);
  outline-offset: 3px;
}

.elenardShopSidebar .sub-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.elenardShopInput,
.elenardShopSelect {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  outline: none;
}

.elenardShopSelect {
  padding-right: 34px;
}

/* Dropdown (select) look: black bg, white text, custom arrow */
.elenardShopSelect {
  background-color: #000;
  color: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.85) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.85) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
}

.elenardShopSelect:focus {
  border-color: rgba(177, 143, 99, 0.55);
  box-shadow: 0 0 0 3px rgba(177, 143, 99, 0.18);
}

/* Option list styling (supported in most Chromium browsers) */
.elenardShopSelect option {
  background: #000;
  color: #fff;
}

.elenardShopInput::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.elenardShopCheck {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.elenardShopCheck input {
  width: 16px;
  height: 16px;
}

.elenardProductCard {
  display: flex;
  flex-direction: column;
}

.elenardProductImg {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Shop: make product images flush-fit the card (no inner gaps) */
.elenardProductCard .img {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  line-height: 0; /* remove inline-image baseline gap */
}

.elenardProductCard .img a {
  display: block;
}

.elenardProductCard .img img.elenardProductImg {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 0 !important; /* card wrapper handles rounding */
}

.elenardProductCont {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cart page */
.elenardCartGrid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
}

.elenardCartItems.item,
.elenardCartSummary.item {
  padding: 14px;
}

.elenardCartTableHead {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.7fr 0.5fr auto;
  gap: 12px;
  padding: 10px 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.elenardCartRow {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.7fr 0.5fr auto;
  gap: 12px;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}

.elenardCartProductCell {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.elenardCartThumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.elenardCartThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.elenardCartProductMeta {
  min-width: 0;
}

.elenardCartProductName {
  font-weight: 700;
  line-height: 1.35;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.elenardCartMetaLine {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin-top: 4px;
}

.elenardCartQtyInput {
  width: 92px;
  height: 44px;
  border-radius: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  outline: none;
}

.elenardCartActions {
  display: flex;
  justify-content: flex-end;
}

.elenardCartSummaryInner {
  padding: 6px;
}

.elenardCartSummaryRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.elenardCartSummaryDivider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;
}

.elenardFormGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.elenardFormField label {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.elenardFormHint {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin-top: 8px;
}

.elenardFormError {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 80, 80, 0.35);
  background: rgba(255, 80, 80, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
  .elenardFormGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .elenardCartGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hide-sm {
    display: none !important;
  }
  .elenardCartTableHead,
  .elenardCartRow {
    grid-template-columns: 1fr 0.9fr auto;
  }
  .elenardCartQtyInput {
    width: 86px;
  }
}

.elenardProductTop {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.elenardPill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(177, 143, 99, 0.18);
  border: 1px solid rgba(177, 143, 99, 0.35);
  color: #e7d5bf;
}

.elenardPillMuted {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
}

.elenardProductTitle {
  line-height: 1.35;
  min-height: 3.1em; /* keep cards even */
}

.elenardPriceRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.elenardPrice {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.elenardPaginationWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 18px;
}

.elenardPageBtn {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}

.elenardPageBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.elenardPageMeta {
  opacity: 0.85;
}

.elenardStory p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
}

.elenardStoryToggleWrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.elenardStoryToggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--main-color, #b18f63);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.elenardStoryToggle:hover {
  opacity: 0.9;
}

.elenardStoryToggle:focus-visible {
  outline: 2px solid rgba(177, 143, 99, 0.55);
  outline-offset: 3px;
}

.elenardHero .container.pt-10 {
  padding-top: 18px !important;
}

.elenardHeroTitle {
  font-size: clamp(40px, 5.2vw, 64px) !important;
  margin-bottom: 6px !important;
}

.elenardHeroSubtitle {
  margin-top: 0 !important;
  font-size: clamp(14px, 1.6vw, 18px) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.elenardCarouselWrap {
  /* Reduce slider width (desktop) */
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.elenardCarousel {
  border-radius: 15px;
  overflow: hidden;
  /* True black slider surface */
  background: #000;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .elenardCarouselWrap {
    max-width: 100%;
  }
}

.elenardCarousel .swiper {
  border-radius: 15px;
  margin-left: auto;
  margin-right: auto;
}

.elenardCarousel .elenardSwiper {
  width: 100%;
}

.elenardCarouselImg {
  width: 100%;
  /* Show the full photo without cropping */
  height: clamp(210px, 34vw, 320px);
  object-fit: contain;
  display: block;
}

/* Slide frame with blurred background fill */
.elenardSlide {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.elenardSlide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--elenard-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(18px);
  /* Darken the blurred fill so it doesn't read as gray */
  opacity: 0.55;
  pointer-events: none;
}

.elenardSlide::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Keep overlay fully black-toned (no white haze) */
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.65) 55%, rgba(0, 0, 0, 0.92)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.elenardSlideInner {
  position: relative;
  z-index: 1;
}

/* Make arrows smaller and cleaner */
.elenardCarousel .swiper-button-prev,
.elenardCarousel .swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.elenardCarousel .swiper-button-prev::after,
.elenardCarousel .swiper-button-next::after {
  font-size: 14px;
  color: #fff;
}

/* Dots: compact, centered */
.elenardCarousel .swiper-pagination {
  bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  z-index: 5;
  pointer-events: auto;
}

.elenardCarousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: 0.55;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 999px;
}

.elenardCarousel .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Slight zoom on active slide for polish */
.elenardCarousel .swiper-slide-active .elenardCarouselImg {
  transform: scale(1.01);
  transition: transform 600ms ease;
}

/* ═══════════════════════════════════════════════════════════════
   Mobile / touch: layout shell, nav menu, footer newsletter
═══════════════════════════════════════════════════════════════ */

.elenardThemeShell {
  margin-top: 45px;
  margin-left: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .elenardThemeShell {
    margin-top: 10px;
    margin-left: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 575px) {
  .elenardThemeShell {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Full-screen dim behind open mobile menu (tap to close) */
.elenardNavBackdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.55);
  -webkit-tap-highlight-color: transparent;
}

.navbar.navbar--menu-open {
  z-index: 10060;
}

.navbar.navbar--menu-open .elenardNavBarInner {
  position: relative;
  z-index: 10061;
}

@media (max-width: 991px) {
  .navbar .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navbar .navbar-collapse {
    max-height: min(72vh, 560px);
    -webkit-overflow-scrolling: touch;
  }
}

/* Logo: wide negative margin breaks narrow viewports */
@media (max-width: 991px) {
  .logo.icon-img-100 img[src$="logo-light.svg"] {
    margin-left: 0;
    max-width: 160px;
    height: auto;
    width: 100%;
  }

  .navbar .logo {
    max-width: 140px !important;
    margin-left: 0 !important;
  }
}

/* Decorative cursor is not useful on touch and can feel “sticky” */
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .elenardFooterNewsletterRow {
    flex-direction: column;
    align-items: stretch;
  }

  .elenardSubscribeBtn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Navbar: cart + wishlist flush right on desktop; stable mobile row
═══════════════════════════════════════════════════════════════ */

.elenardNavBarInner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  gap: 10px 14px;
}

.elenardNavBrand {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 120px);
}

.elenardNavRight {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.elenardNavQuick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.elenardNavCollapse {
  flex: 1 0 100%;
  width: 100%;
}

/* Navbar: search + policy dropdown (matches icon button look) */
.elenardNavCollapse {
  display: flex;
  align-items: center;
  gap: 10px 14px;
}

.elenardNavCollapse .navbar-nav {
  margin: 0;
}

.elenardNavSearch {
  position: relative;
  width: 100%;
  max-width: 420px;
  flex: 1 1 320px;
}

.elenardNavSearchForm {
  display: flex;
  align-items: center;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.elenardNavSearchInput {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
}

.elenardNavSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.elenardNavSearchBtn {
  height: 44px;
  width: 44px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.elenardNavSearchBtn:hover {
  color: #fff;
  background: rgba(253, 91, 56, 0.12);
}

.elenardNavSearchMenu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 10080;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.elenardNavSearchItem {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  text-align: left;
}

.elenardNavSearchItem:hover {
  background: rgba(255, 255, 255, 0.06);
}

.elenardNavSearchItemName {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.elenardNavSearchItemMeta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.elenardNavDropdown {
  position: relative;
}

.elenardNavDropdownBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.elenardNavDropdownCaret {
  opacity: 0.7;
  font-size: 12px;
  transform: translateY(1px);
}

.elenardNavDropdownMenu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(10px);
  z-index: 10080;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.elenardNavDropdown--open .elenardNavDropdownMenu {
  display: block;
}

.elenardNavDropdownLink {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.elenardNavDropdownLink:hover {
  background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 992px) {
  .elenardNavBarInner {
    flex-wrap: nowrap;
    gap: 12px 20px;
  }

  .elenardNavBrand {
    flex: 0 0 auto;
    max-width: none;
    order: 1;
  }

  .elenardNavCollapse {
    flex: 1 1 auto;
    order: 2;
    width: auto;
    min-width: 0;
    display: flex !important;
    justify-content: center;
  }

  .elenardNavCollapse {
    flex-wrap: nowrap;
  }

  .elenardNavSearch {
    max-width: 360px;
  }

  .elenardNavRight {
    order: 3;
    margin-left: 0;
    flex: 0 0 auto;
    align-self: center;
  }

  .elenardNavToggler {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .elenardNavCollapse {
    flex-direction: column;
    align-items: stretch;
  }

  .elenardNavSearch {
    max-width: none;
    flex: 0 0 auto;
    margin-top: 6px;
  }

  .elenardNavDropdownMenu {
    position: static;
    margin-top: 8px;
  }
}

.elenardNavIconBtn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.elenardNavIconBtn:hover {
  color: #fff;
  border-color: rgba(253, 91, 56, 0.55);
  background: rgba(253, 91, 56, 0.12);
}

.elenardNavIconBtn--active {
  border-color: rgba(253, 91, 56, 0.65);
  color: #fd5b38;
}

.elenardNavBadge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fd5b38;
  color: #0f0f0f;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

/* Shop card: wishlist heart (like elenard.com “add to wishlist”) */
.elenardWishlistFab {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 15, 15, 0.55);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 120ms ease;
}

.elenardWishlistFab:hover {
  color: #fd5b38;
  border-color: rgba(253, 91, 56, 0.55);
  background: rgba(15, 15, 15, 0.75);
}

.elenardWishlistFab:active {
  transform: scale(0.96);
}

.elenardWishlistFab--on {
  color: #fd5b38;
  border-color: rgba(253, 91, 56, 0.65);
  background: rgba(253, 91, 56, 0.12);
}

