/* Header Navigation */
.main-nav {
  background-color: var(--header-color);
  /* background: linear-gradient(to right, var(--header-color-faded), var(--header-color) 10%, var(--header-color) 90%, var(--header-color-faded)); */
  color: var(--header-color-text)  !important;
      background: 
  linear-gradient(to bottom, rgba(255,255,255,0.15), rgba(255,255,255,0) 40%),
  linear-gradient(to right, var(--header-color-faded), var(--header-color) 10%, var(--header-color) 90%, var(--header-color-faded));
  background: var(--header-color);
}

.main-nav .nav-link {
  color: var(--header-color-text) !important;
  font-weight: bold;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: black;
}

.logo-link {
  display: block;
  width: 168px;
  height: 44px;
  background: url(../images/logos2025/art.png) center no-repeat;
  background-size: contain !important;
}

.logo_footer {
  display: block;
  width: 168px;
  height: 44px;
  background: url(../images/logos2025/art.png) center no-repeat;
  background-size: contain !important;
  margin: 0 auto;
}

img.cover_img.cover_img_small {
  max-width: 109px;
  height: auto;
}
img.cover_img {
    max-width: 100%;
}
/* Navigation Links */
.nav-link {
  padding: 0.1rem 0.7rem;
  cursor: pointer;
}

.nav-link.special_class,
.mobile-menu-inner .special_class {
  background: var(--header-contrast-color) !important;
  border-radius: 9px;
}

.mobile-menu-inner .special_class {
  padding: 5px 14px;
}

button#mobileMenuToggle {
  width: 28px;
  color: var(--footer-color-text) !important;
}

.color_header {
  color: #1E3050 !important;
}

.cursor-default {
  cursor: default !important;
}

/* Search */
.search-input {
  border-radius: 20px;
  padding: 0.5rem 1rem;
  width: 100%;
  border: 1px solid #ccc;
  border-right: 0 !important;
}

.input-group-text-custom {
  border: 1px solid #ccc;
  border-radius: 20px;
}

/* Breadcrumb */
.breadcrumb-line {
  font-size: 0.875rem;
}

/* Icon Links */
.icon-link {
  position: relative;
  color: #000;
  font-size: 1.2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.icon-link:hover {
  color: #007bff;
}

.icon-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: red;
  color: white;
  font-size: 0.65rem;
  border-radius: 999px;
  padding: 0 1px;
  line-height: 1;
}

.icon-badge.hide {
  display: none;
}

.icon-badge p {
  padding: 0;
  margin: 3px;
}

.icon-size {
  font-size: 1.7rem;
}

.icon-text {
  font-size: 0.9rem;
  padding-left: 0.5rem;
}

.rotate-icon {
  transform: rotate(-180deg);
}
.toggle-icon {
    transition: transform 0.3s ease;
}
.special_line .simple_text {
  color: inherit !important;
}

/* Mega Menu */
.mega-menu {
  display: flex;
  width: 100%;
  background: var(--header-color-lighter);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  background: linear-gradient(to right, white, var(--header-color-lighter) 10%, var(--header-color-lighter) 90%, white);
}

.mega-menu .left-menu {
  background-color: var(--header-color);
  color: var(--header-color-text) !important;
  min-width: 185px;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  background: linear-gradient(to bottom, var(--header-color) 0%, var(--header-color-lighter) 100%);
}

.mega-menu .left-menu ul li {
  cursor: pointer;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;;
}

.mega-menu .left-menu ul li.selected {
  background: var(--header-color-lighter);
  color: var(--header-color-text-dark) !important;
}

.mega-menu .left-menu ul li.selected .fa-chevron-right {
  visibility: hidden;
}

ul.list-unstyled.carti-options li:hover {
  background-color:
    color-mix(in srgb, var(--header-color), white 40%) !important;
    color: var(--header-color-text-dark) !important;
}

.mega-menu .right-preview {
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  justify-content: space-between;
}

.right-preview.active {
  display: flex;
}

.class_1200_no_mb {

  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0;
  margin-bottom: 0;
  width: 100% !important;
  padding-right: calc(var(--bs-gutter-x) * .5) !important;
  padding-left: calc(var(--bs-gutter-x) * .5) !important;
  max-width: 1320px;
}

.mega-menu .class_1200 {
  display: flex;
  justify-content: flex-start;
}

.mega-menu .main-menu-sub {
  display: none;
}

.class_1200.main-menu-sub.active {
  display: flex;
}
.nr_cols_5 .column {
    max-width: 22%;
}
.column {
  max-width: 32%;
  /* flex: 1 1 22%; */
}

/* List Styles */
.list-unstyled li {
  padding: 1rem;
}

.carti-options .nav-link {
  padding: 0;
}

/* zone suggest */


.live_results {
  display: none;
  z-index: 20;
  position: absolute;
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid #454555;
  height: auto;
  max-height: calc(100vh - 255px);
  padding: 15px 15px 10px;
  width: calc(100% - 6px);
  top: 52px;
}

.left_books_new {
  overflow-y: auto !important;
  max-height: calc(100vh - 323px);
}

.live_results p {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 12px !important;
  color: black;
}

.live_results hr {
  display: none;
}

.left_books_only a {
  margin-left: 0 !important;
  display: flex !important;
  align-items: center;
  min-height: 50px;
}

.live_results a {
  display: list-item;
  list-style-type: none;
  font-size: 17px;
  margin-top: 8px;
  min-height: auto;
}

b.blue_quote {
  color: #6B8BE0;
}



.left_books_only .books_search_result .book_image_title {
  display: flex;
  align-items: center;
}

.left_books_only a img {
  margin-right: 8px;
}

.search_button_holder {
  height: 50px;
}

a.seach_button_suggest {
  margin: 0;
  display: block;
  text-align: center;
  height: fit-content;
  border: 1px solid black;
  padding: 7px;
  margin-top: 10px;
  border-radius: 7px;
  outline: none;
  border: none;
  /* padding: 10px; */
  color: #FFFFFF !important;
  font-size: 16px;
  background-color: var(--primary-color);
  font-weight: 600;
  position: relative;
  text-decoration: none;
  transition: background 0.5sease-in-out !important;
  cursor: pointer;
}

a.books_search_result {
  justify-content: space-between;
}

.left_searchers_only a:last-child,
.up_aut_new a:last-child,
.up_cat_new_catdom a:last-child {
  margin-bottom: 15px;
}

p.p_margin_top {
  margin-top: 12px;
}

.live_results a:hover {
  font-weight: bold;
}

span.price_suggest_holder {
  min-width: 75px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 9px;
}

span.price_full_suggest {
  font-size: 14px;
  text-decoration: line-through;
  color: grey;
}


#search_icon.disabled {
  pointer-events: none;
  /* disables mouse interaction */
  cursor: default;
  /* changes the cursor to indicate it's not clickable */
  color: gray;
  /* optional: make it look disabled */
}

.hover_div_cart {
  position: absolute;
  z-index: 9999;
  right: -20px;
  top: 41px;
  border: 1px solid #0D0D24;
  background-color: #FFFFFF;
  padding: 10px;
  border-radius: 10px;
  color: #0D0D24;
  min-width: 400px;
}

.hover_cart_prods::-webkit-scrollbar {
  width: 6px;
  cursor: pointer;
}

.hover_cart_prods::-webkit-scrollbar-thumb {
  background-color: #0D0D24;
  border-radius: 5px;
  /* border:1px solid var(--border-line); */
  cursor: pointer;
}

.hover_cart_prods::-webkit-scrollbar-track {
  background: transparent;
}

.hover_cart_lefts {
  width: 65%;
}

.hover_cart_rightS {
  width: 30%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart_trash_hov {
  font-size: 14px;
  margin-top: 7px;
  color: #bcbcc7;
  cursor: pointer;
}

.hover_cart_lefts a {
  color: #0D0D24 !important;
}

.prod_title_cart_hov {
  font-size: 14px;
}

.hover_cart_lefts .prod_cart_hov img {
  width: 45px;
  margin-right: 5px;
}

.hover_cart_rightS span:last-child {
  font-weight: 600;
  color: #F52D3A;
  margin-left: 4px;
  text-align: end;
}

div#hover_div_cart_id::after {
  content: "";
  transform: translateX(-50%);
  right: -7px;
  position: absolute;
  z-index: 9999;
  height: 14px;
  width: 30px;
  background-image: url(../images/gpec/arrow_cart_hov.png);
  object-fit: contain;
  top: 28px;
}

.hover_cart_prods {
  max-height: 200px;
  overflow-y: scroll;
  padding-right: 10px;
  scrollbar-width: thin !important;
  scrollbar-color: #0D0D24 transparent;
}

.fixed-top {
  margin: 0 auto;
}

.desktop-header.fixed-top {
  background: white;
}

.desktop-header.fixed-top .breadcrumb-line,
.desktop-header.fixed-top .main-nav,
.desktop-header.fixed-top .mega-menu {
  display: none;
}

.desktop-header.fixed-top {
  padding: 0 !important;
  box-shadow: rgb(0 0 0 / 25%) 0px 10px 20px -14px;
}

.simple_link {
  display: inline-block;
}

.nav.no-gap-first>li:first-child {
  margin-left: 0 !important;
}


.column.special_class {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.column.special_class .column_element {
  width: 150px;
  background: var(--header-color);
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--header-color-text) !important;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  background: linear-gradient(to left, var(--header-color) 0%, var(--header-color-lighter) 90%);
}

.column.special_class .column_element a {
  color: var(--header-color-text) !important;
  font-weight: bold;
}

.column.special_class .column_element i {
  margin-right: 6px;
}


.fixed-top .special_line {
  display: none;
}

/* zona suggest */
.special_line {
  background: var(--header-contrast-color) !important;
  color: white !important;
}

.special_line .simple_text,
.special_line .simple_text b {
  display: flex;
  align-items: center;
}

.special_line .simple_text {
  
  justify-content: center;
}

#mobileMenuToggle {
  color: black;
  background-color: transparent;
  border-color: transparent;
}

ul.mobile-menu-carti {
  border-bottom: 1px solid var(--header-color-lighter);
}

.accordion-toggle,
ul.mobile-menu-carti a {
  color: var(--header-color-text) !important;
}

/* Responsive */
@media (min-width: 992px) {
  .search_holder {
    display: flex;
    align-items: center;
  }

  .search_holder .input-group {
    width: 100%;
    align-items: center;
  }

  .search_holder .form-control,
  .search_holder .input-group-text {
    height: 42px;
    /* Ajustează dacă ai nevoie */
  }






}

@media (max-width: 991.98px) {
  
  .search_holder {
    padding: 0;
  }

  .icon-size {
    font-size: 1.7rem;
  }

  #mobileMenu {
    background: #f8f9fa;
    padding: 10px 15px;
  }

  .main-nav {
    display: none;
  }

  .desktop-header.py-2 {
    background-color: var(--header-color);
    color: white !important;
  }

  .breadcrumb-line,
  .breadcrumb-line i,
  .breadcrumb-line a {
    color: white !important;
  }



}


@media (max-width: 600px) {
  .logo_holder {
    min-width: 100px;
  }

  .middle-header.py-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
}


#mobileMenu {
  width: 100%;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
  padding: 0;
  z-index: 1051;
  display: none;
  margin-top: 0;
}

#mobileMenu.active {
  display: block;
  animation: slideDown .3s cubic-bezier(.6, 0, .4, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }

  to {
    opacity: 1;
    max-height: 999px;
  }
}

.mobile-menu-inner {
  padding: 0 16px;
}

.mobile-menu-carti,
.mobile-menu-other {
  margin: 0;
  padding: 0;
}

.mobile-menu-carti li,
.mobile-menu-other li {
  padding: 0;
  border-bottom: 1px solid #eee;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  background: none;
}

.mobile-menu-carti li .column,
.mobile-menu-other li .column {
  max-width: fit-content;
}

.mobile-menu-carti li:last-child,
.mobile-menu-other li:last-child {
  border-bottom: none;
}

.accordion-content,
.accordion-content .simple_link {
  color: black !important;
}

/* Accordion toggle button styling */
.accordion-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: bold;
}

ul.mobile-menu-carti.list-unstyled.mb-2.p-3 a {
    font-size: 1.2rem;
    font-weight: bold;
}

.accordion-toggle i {
  margin-left: 12px;
  transition: transform 0.3s cubic-bezier(.6, 0, .4, 1);
}

.accordion-toggle i.rotated {
  transform: rotate(-180deg);
}

/* Submeniurile accordion */
.accordion-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s, opacity 0.25s;
  background: var(--header-color-lighter);
}

.accordion-content.open {
  height: auto;
  /* sau cât ai nevoie */
  opacity: 1;
}

/* Linkuri din submenu */
.column_element {
  margin-bottom: 10px;
}

.column_element:last-child {
  margin-bottom: 0;
}

.simple_link {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
}

.simple_link:hover {
  color: #65b30f;
  text-decoration: underline;
}

/* Alte link-uri principale (ex: Promotii, Autori) */
.mobile-menu-other li a {
  color: #1E3050;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
}

.mobile-menu-other li a:hover {
  color: #65b30f;
  text-decoration: underline;
}

.simple_text,
.column_elementt {
  display: flex;
  align-items: center;
}

.simple_text i,
.column_element i {
  margin-right: 5px;
}



/* ASCUNDE meniul pe desktop */
@media (min-width: 992px) {
  #mobileMenu {
    display: none !important;
  }
}

/* Afișează doar pe mobil */
@media (max-width: 991.98px) {
  .logo-link {
    background: url(../images/logos2025/art.png) center no-repeat;
  }

  #mobileMenu {
    display: block;
    background-color: var(--header-color);
    color: var(--header-color-text) !important;
  }

  .main-nav,
  .mega-menu {
    display: none !important;
  }
}

@media (max-width: 991.98px) {

  img.cover_img.cover_img_small,
  img.cover_img {
    max-width: 190px;
  }

  .breadcrumb-line {
    display: none !important;
  }

  .mobile-menu-inner {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* opțional, previne scroll-ul paginii când ești la capăt */
  }

  .mobile-menu-inner::-webkit-scrollbar {
    width: 8px;
    background: #eee;
  }

  .mobile-menu-inner::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 8px;
  }
}

/* .desktop-header {
    display: none;
} */
/* .jcarousel-wrapper-new{
  display: none;
} */