@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";

.feather {
  stroke: currentColor;
  stroke-width: 1px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  width: 36px;
  height: 36px;
}

:root {
  --font: "Montserrat", "Segoe UI", Tahoma, Verdana, sans-serif;
  --font-icons: "bootstrap-icons";
  /* --font-title: Montserrat, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
  --c-grey-1: #ececec;
  --c-grey-2: #e6e6e6;
  --c-grey-3: #e9e9e9;
  --c-grey-4: #d8d8d8;
  --c-grey-5: #a6a6a6;
  --c-grey-6: #666666;
  --c-grey-7: #3e3e3e;
  --c-link: #0e2245;
  --c-ident: #910008;

  --c-dark-grey: #3e3e3e;
  --c-med-grey: #808080;
  --c-grey: #bfbfbf;
  --c-light-grey: #e3e3e3;
  --c-cst-grey: #d8d8d8;
  --c-cst-light-grey: #f2f2f2;
  --c-cst-shadow: 0deg 0% 63%;
  --swiper-theme-color: var(--c-med-grey);

  --c-border: 1px solid var(--c-grey-2);
  --c-border-dash: 1px dashed var(--c-grey-2);
  --c-border-dash2: 1px dashed var(--c-grey-5);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 360px !important;
  background-color: #ffffff;
  color: #000;
  scroll-behavior: smooth;
  font-family: var(--font);
  font-optical-sizing: auto;
}

a {
  color: var(--c-link);
  &:hover {
    color: var(--c-ident);
  }
  & i.bi-box-arrow-up-right {
    font-size: .7rem;
    vertical-align: .5rem;
  }
}

.offcanvas-collapse {
  visibility: hidden;
  width: 100%;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  position: fixed;
  top: 56px;
  bottom: 0;
  right: 100%;
  overflow-y: auto;
  &.open {
    visibility: visible;
    transform: translateX(100%);
  }
}


/* .btn-cart, */
.btn-blog,
.btn-success,
.btn-primary {
  --bs-btn-font-weight: 400;
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--c-ident);
  --bs-btn-border-color: var(--c-ident);
  --bs-btn-hover-color: var(--c-ident);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--c-ident);
  --bs-btn-focus-shadow-rgb: gray;
  --bs-btn-active-color: var(--c-ident);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: var(--c-ident);
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 1px;
  min-width: fit-content;
}

.btn-cart {
  --bs-btn-font-weight: 400;
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--c-grey-6);
  --bs-btn-border-color: var(--c-grey-6);
  --bs-btn-hover-color: var(--c-grey-6);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--c-grey-6);
  --bs-btn-focus-shadow-rgb: gray;
  --bs-btn-active-color: var(--c-grey-6);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: var(--c-grey-6);
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 1px;
  min-width: fit-content;
}

.btn-login {
  --bs-btn-font-weight: 400;
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--c-grey-6);
  --bs-btn-border-color: var(--c-grey-6);
  --bs-btn-hover-color: var(--c-grey-6);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-focus-shadow-rgb: gray;
  --bs-btn-active-color: var(--c-grey-6);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: var(--c-grey-6);
  --bs-btn-border-radius: 5px;
  --bs-btn-border-width: 1px;
}

.btn-login:hover {
  text-decoration: none !important;
}

.btn-newsletter,
.btn-incart {
  --bs-btn-font-weight: 400;
  --bs-btn-color: var(--c-grey-6);
  --bs-btn-bg: var(--c-grey-1);
  --bs-btn-border-color: var(--c-grey-1);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--c-ident);
  --bs-btn-hover-border-color: var(--c-ident);
  --bs-btn-focus-shadow-rgb: var(--c-grey-1);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--c-ident);
  --bs-btn-active-border-color: var(--c-ident);
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 0;
}

@media (max-width: 400px) {
  .g3__sticky-addToCart-btn .btn-incart {
    font-size: 0.9rem;
  }
}

.btn-std {
  --bs-btn-font-weight: 600;
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--c-ident);
  --bs-btn-border-color: var(--c-ident);
  --bs-btn-hover-color: var(--c-ident);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--c-ident);
  --bs-btn-focus-shadow-rgb: gray;
  --bs-btn-active-color: var(--c-ident);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: var(--c-ident);
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 1px;
}

.btn-std-thin,
.btn-notify {
  --bs-btn-font-weight: 400;
  --bs-btn-color: var(--c-grey-6);
  --bs-btn-bg: white;
  --bs-btn-border-color: var(--c-grey-5);
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: var(--c-grey-6);
  --bs-btn-hover-border-color: var(--c-grey-6);
  --bs-btn-focus-shadow-rgb: gray;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: var(--c-grey-6);
  --bs-btn-active-border-color: var(--c-grey-6);
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 1px;
}

.btn-std-thin-grey,
.btn-outline-secondary {
  --bs-btn-font-weight: 400;
  --bs-btn-color: var(--c-grey-6);
  --bs-btn-bg: white;
  --bs-btn-border-color: var(--c-grey-6);
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: var(--c-grey-6);
  --bs-btn-hover-border-color: var(--c-grey-6);
  --bs-btn-focus-shadow-rgb: gray;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: var(--c-grey-6);
  --bs-btn-active-border-color: var(--c-grey-6);
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 1px;
}

.btn-std-grey {
  --bs-btn-font-weight: 500;
  --bs-btn-color: white;
  --bs-btn-bg: var(--c-grey-5);
  --bs-btn-border-color: var(--c-grey-5);
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: var(--c-grey-5);
  --bs-btn-hover-border-color: var(--c-grey-5);
  --bs-btn-focus-shadow-rgb: gray;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: var(--c-grey-5);
  --bs-btn-active-border-color: var(--c-grey-5);
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 0;
}

.btn-std-thin-grey:hover>.bi,
.btn-std-thin-grey:active>.bi,
.btn-std-grey>.bi,
.btn-std-thin:hover>.bi,
.btn-std-thin:active>.bi,
.btn-incart:hover>.bi,
.btn-incart:active>.bi {
  color: #ffffff;
  -webkit-text-stroke: 1px;
}

.btn-std-thin>.bi,
.btn-std-thin-grey>.bi,
.btn-incart>.bi {
  color: var(--c-ident);
  -webkit-text-stroke: 1px;
}

.btn-check+.btn-notify:hover {
  color: #000;
  background-color: #fff;
  border-color: #000;
}

.btn-book-spec {
  --bs-btn-border-radius: 0;
}

/* > BT5 overwrite */
.pagination {
  --bs-pagination-color: var(--c-grey-5);
  --bs-pagination-bg: #fff;
  --bs-pagination-border-width: var(--bs-border-width);
  --bs-pagination-border-color: var(--c-grey-5);
  --bs-pagination-border-radius: 5px;
  --bs-pagination-hover-color: white;
  --bs-pagination-hover-bg: var(--c-grey-5);
  --bs-pagination-hover-border-color: var(--c-grey-5);
  --bs-pagination-focus-color: white;
  --bs-pagination-focus-bg: var(--c-grey-5);
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem var(--c-cst-shadow);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--c-grey-5);
  --bs-pagination-active-border-color: var(--c-grey-5);
  --bs-pagination-disabled-color: var(--bs-secondary-color);
  --bs-pagination-disabled-bg: var(--bs-secondary-bg);
  --bs-pagination-disabled-border-color: var(--bs-border-color);
}

.modal-content,
.modal-header,
.btn {
  border-radius: 0;
}

.modal-content .modal-header {
  background-color: var(--c-ident);
  color: #ffffff;
}

.modal-content .modal-body h2:not(.accordion-header) {
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  margin-bottom: 1rem;
}

.modal-content .modal-body h2:not(.accordion-header)::after {
  content: "";
  width: 2.5rem;
  height: 0.3rem;
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  background-color: var(--c-ident);
}

.card {
  --bs-card-border-radius: 0;
}

.form-control.qty {
  padding: .375rem !important;
}


/* < END */
.icons-bar{
  /* width: 90%; */
  margin: 0 5%;
  /* margin: 0 auto; */
  /* background-color: var(--c-grey-1); */
  padding: 1rem;
  justify-content: center;
  & i{
    font-size: 1.5rem;
    color: var(--c-ident);
  }
  & div{
    text-align: center;
    font-size: .8rem;
    &:nth-of-type(n + 2){
      border-top: var(--c-border-dash2);
      padding-top: 1rem;
    }
  }
  & a{
    text-decoration: none;
    color: var(--c-ident);
    &:hover{
      color: var(--c-ident);
      text-decoration: underline;
    }
    & span{
      font-size: 1rem;
      font-weight: 600;
      color: var(--c-ident);
    }
    & p{
      font-size: .8rem;
      color: var(--c-grey-7);
      padding-top: .5rem;
    }
  }
  &.sch{
    & div:first-child{
      padding-top: 1rem;
    }
    & div:nth-child(2){
      border-left: var(--c-border-dash2);
      border-bottom: none;
      border-top: none;
    }
  }
}
@media (min-width: 768px) {
.icons-bar{
  & div{
    &:nth-of-type(n + 2){
      border-left: var(--c-border-dash2);
      border-bottom: none;
      border-top: none;
      padding-top:0;
    }
    /* &:nth-child(3){
      border-left: var(--c-border-dash2); 
    } */
  }
  
}
}
/* > Full list */

/* .main-content {display: grid;
  grid-template-columns: 20vw 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:'nav div1' 'nav div2';
  } */
@media (min-width: 1200px) {
.main-content {display: grid;
  grid-template-columns: 20vw 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:'nav div1' 'nav div2';
  }
}
.fl-text-container {
  grid-area: div1;
}
.fl-list-container {
  grid-area: div2;
}
.search-no-results {
  font-size: 1.2rem;
  color: var(--c-ident);
  font-weight: 600;
}
.scrollspy-nav-wrapper {
  position: fixed;
  left: 0;
  top: 114px;
  height: calc(100vh - 114px);
  z-index: 1000;
  display: flex;
  transition: left 0.3s ease;
}

.scrollspy-nav-wrapper::before {
  content: '';
  position: fixed;
  left: 0;
  top: var(--hamburger-top, 114px);
  width: 30px;
  height: 40px;
  background-color: var(--c-ident);
  z-index: 1001;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrollspy-nav-wrapper::after {
  content: '';
  position: fixed;
  left: 9px;
  top: calc(var(--hamburger-top, 114px) + 19px);
  width: 12px;
  height: 2px;
  background-color: white;
  z-index: 1002;
  pointer-events: none;
  border-radius: 1px;
  box-shadow: 
    0 -5px 0 0 white,
    0 5px 0 0 white;
}

.scrollspy-nav-wrapper:hover::before,
.scrollspy-nav-wrapper:hover::after {
  opacity: 0;
  pointer-events: none;
}

.scrollspy-nav-wrapper:not(:hover)::before,
.scrollspy-nav-wrapper:not(:hover)::after {
  opacity: 1;
  pointer-events: auto;
}

.scrollspy-nav-wrapper:hover {
  left: 0;
}

.scrollspy-nav-wrapper:not(:hover) {
  left: -320px;
}

@media (min-width: 1600px) {
  .scrollspy-nav-wrapper:not(:hover) {
    left: -400px;
  }
}

#scrollspyNav {
  display:none;
}

@media (min-width: 1200px) {
  #scrollspyNav {
    display:block;
    position: sticky;
    align-self: start;
    width: 100%;
    padding-left: 10px;
    padding-right: 30px;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    grid-area: nav;
    max-height: calc(100vh - var(--scrollspy-top, 114px));
    scrollbar-width: thin;
    scrollbar-color: var(--c-grey-2) transparent;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 2rem;
    box-sizing: border-box;
    &>ul{
      margin-top: 1rem;
    }
    &::-webkit-scrollbar {
      width: 7px;
    }
    &::-webkit-scrollbar-track {
      background: transparent;
    }
    &::-webkit-scrollbar-thumb {
      background-color: var(--c-grey-2);
      border-radius: 6px;
    }
    &::-webkit-scrollbar-thumb:hover {
      background-color: var(--c-grey-6);
    }
    & .nav-item div.show{
      border-left: solid 1px var(--c-grey-3);
      margin-left: 1rem;
      &.active {
        border-left-width: 3px;
        border-left-color: var(--c-ident);
      }
    }
    &>.nav>.nav-item{
      &>a{
        font-size: .95rem;
        font-weight: 500;
      }
      &>div>.nav>.nav-item>a.nav-link{
          font-size: .85rem;
          font-weight: 500;
        }
    }
   & .nav {
    padding-left: 0;
    & .nav {
      margin-bottom: 0.5rem;
    }
  }
  & .nav-link {
      padding: 0.25rem 0.75rem;
      font-size: 0.8em;
      cursor: pointer;
      position: relative;
      color: var(--c-link);
      &.active {
        font-weight: bold !important;
        color: var(--c-ident);
        background-color: var(--c-grey-1);
      }
      &.active-parent {
        font-weight: 600;
        color: var(--c-ident);
      }
      &:hover {
        background-color: var(--c-grey-1);
        color: var(--c-link);
      }
    }
    & .collapse-arrow {
      display: inline-block;
      color: #6c757d;
    }
    & .collapse {
      transition: all 0.3s ease;
      &.show {
        display: block;
      }
    }
  }
}

.highlight {
  background-color: var(--c-ident);
  color: #fff;
}

.lc {
  content-visibility: auto;
  contain-intrinsic-size: auto 71px;
  display: block;
  padding: 10px;
  background-color: var(--c-grey-1);
  margin-top: 40px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--c-grey-7);
  border-top: 3px solid var(--c-grey-4);
  &:first-of-type {
    margin-top: 0;
    border-top: none;
  }
  & span:last-child {
    font-weight: 600;
  }
  & i {
    font-size: 1rem;
    color: var(--c-grey-5);
    padding-right: .7rem;
    padding-left: .7rem;
  }
  &.active {
    color: var(--c-ident);
    border-top: 3px solid var(--c-ident);
    background-color: #91000820;
  }
}

.icon-smry{
  font-size: .9rem;
  & i {
    color: var(--c-grey-5);
  }
  & span:nth-child(2){
    padding: 0 0.5rem;
  }
}

#cart-icon:hover > span{
    text-decoration: underline;
  }

@media (max-width: 1199.98px) {
  .g3__header-order-icons{
    align-items: center;
    & div{
      display: flex;
      align-items: center;
    }
  }

  #cart-icon{
    display: inline-block;
  }
  .icon-smry{
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start !important;
    font-size: .7rem;
    padding-left: .5rem;
    & span:nth-child(2){
      padding: 0;
    }
  }
  .menu__link .icon-smry:not(.empty){
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start !important;
    font-size: .8rem;
    padding-left: .5rem;
    & span:nth-child(2){
      padding: 0 .4rem;
    }
    &::after{
      content: ']';
      color: var(--c-grey-5);
      padding-left: .4rem;
    }
    &::before{
      content: '[';
      color: var(--c-grey-5);
      padding-right: .4rem;
    }
  }
}
.lr {
  content-visibility: auto;
  contain-intrinsic-size: auto 296.8px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
  margin: 1rem 0 1rem;
  max-width: 100%;
  font-size: 0.75rem !important;
  border: var(--c-border);
  & div {
    padding: .3rem;
  }
}

.lr .i,
.lr .s,
.lr .c,
.lr .pck,
.lr .pdc,
.lr .psc,
.lr .q,
.lr .v,
.lr .qoc,
.lr .u {
  flex-shrink: 0;
}

/* Pierwszy wiersz (elementy 1 i 2) */
.lr .i {
  flex-basis: 20%;
  align-content: center;
  text-align: center;
}

.lr .d {
  flex-basis: 80%;
}

.lr .d a {
  text-decoration: none;
  color: var(--c-link);
  font-size: 0.9rem;
  font-weight: 600;
}
.lr .d a:hover {
  color: var(--c-ident);
  text-decoration: underline;
}

.lr .d .search-lc-label {
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--c-grey-6);
  border-top: 1px solid var(--c-grey-3);
  margin-top: 0.4rem;
  padding-top: 0.35rem;
  font-weight: 400;
}
.lr .d .search-lc-label i {
  font-size: 0.65rem;
  color: var(--c-grey-5);
  padding-right: 0.35rem;
  padding-left: 0.35rem;
}
.lr .d .search-lc-label span:last-child {
  font-weight: 600;
}

.lr .c,
.lr .s,
.lr .p,
.lr>.v,
.lr .psc,
.lr .pdc,
.lr .pck,
.lr > .qoc {
  display: none;
}

.lr .p,
.lr .t,
.lr .ps,
.lr .psc,
.lr .pck {
  font-weight: 600;
  font-size: 1rem;
}

.lr .psc span,
.lr .pdc span,
.lr.bs .pr span span{
  color: var(--c-grey-6);
  font-weight: 400;
  font-size: .75rem !important;
}



.lr .q .pr>span:nth-child(1):before,
.lr .q .pr>span:nth-child(2):before {
  padding-right: .5rem;
  font-size: .8rem;
  font-weight: 400;
  color: var(--c-grey-6);
}

.lr .q .pr>span:nth-child(1):before {
  content: 'cena detal.';

}

.lr .q .pr>span:nth-child(2):before {
  content: 'cena dla szkół \A';
  padding-right: .5em;

}
.lr .q .pr>span.bs:before {
  content: 'cena dla księgarni \A';
  padding-right: .5em;

}

.lr .q .pr>span {
  display: block;
  width: 100%;
}

.lr .q .pr>span:nth-child(2) {
  font-size: 1rem;
  font-weight: 600;
}

/* Drugi wiersz i kolejne (elementy od 3 wzwyż) - układ 50%/50% */
.lr .q {
  display: flex;
  flex-direction: row;
  flex-basis: 100%;
  border-top: var(--c-border-dash);
}

.lr .q>.pr {
  width: 50%;
  text-align: center;
  align-content: center;
  border: none;
}

.lr .q>.qi {
  width: 50%;
  text-align: center;
}

.lr .q>.qi>.v,
.lr .qoc {
  font-size: 1.4rem;
  font-weight: 500;
}
.lr .q .in-st {
  text-align: center;
  font-size: 0.77em;
  padding: 0.3rem 0 0;
}
.lr .q .in-st:first-child div{
  margin: 0 auto;
  width: 95% !important;
}
.lr .q .in-st .progress{
  padding: 0;
}
.lr .u {
  flex-basis: 100%;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  background-color: var(--c-grey-1);
}

.lh-s,
.lh-b {
  display: none;
}

.inStorL {
  color: #b80000;
}

.inStorM {
  color: orange;
}

.inStorH {
  color: green;
}

/* --- Breakpoint 1: > 576px --- */
/* 3 równe kolumny w jednym wierszu */
@media (min-width: 576.02px) {

  .icons-bar{
    /* width: 80%; */
    margin: 0 5%;
  }
  .lc{
    contain-intrinsic-size: auto 47px;
  }
  .lr {
    flex-direction: row;
    flex-wrap: nowrap;
    contain-intrinsic-size: auto 185.36px;
  }

  .lr .i {
    flex-basis: 10%;
    text-align: center;
  }

  .lr .d {
    flex-grow: 1;
    flex-basis: auto;
  }

  .lr .d>div {
    padding-top: 0.8rem;
  }

  .lr .q {
    flex-direction: column;
    flex-basis: 35%;
    border-left: var(--c-border-dash);
    border-top: none;
  }

  .lr .q>.pr {
    width: 100%;
    text-align: center;
  }

  .lr .q>.qi {
    width: 100%;
    text-align: center;
  }

  .lr .v,
  .lr .qoc {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
  }

  .lr .u {
    flex-basis: 35%;
    text-align: center;
    font-size: 1rem;
    align-content: center;
    border-left: var(--c-border-dash);
  }
  

}


/* --- Breakpoint 2: > 992px --- */
/* 4 równe kolumny w jednym wierszu */
@media (min-width: 992.02px) {
  .icons-bar{
    /* width: 70%; */
    margin: 0 10%;
  }
  .lr .i {
    flex-basis: 10%;
  }


  .lr .d>div:not(.search-lc-label) {
    display: none;
  }

  .lr .s {
    flex-basis: 25%;
    display: block;
    border-left: var(--c-border-dash);
  }

  .lr .s>div {
    padding: 0;
  }

  .lr .q,
  .lr .u {
    flex-basis: 22%;
    border-left: var(--c-border-dash);
  }

  .lr .u {
    text-align: center;
    font-size: 1rem;
    align-content: center;
  }

  

}

@media (min-width: 1200.02px) {
  /* header {
    margin-bottom: 1rem;
  } */
  .lh-s,
  .lh-b {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    font-size: 0.8rem;
    border: var(--c-border);
    position: sticky;
    top: 113px;
    background-color: var(--c-grey-1);
    z-index: 999;
  }
  .lh-s div,
  .lh-b div{
    text-align: center;
    align-content: center;
    padding: .5rem 0;
  }

  .lh-s div:nth-child(1),
  .lh-b div:nth-child(1) {
    flex-grow: 1;
    flex-basis: auto;
  }

  .lh-s div:nth-child(2){
    flex-basis: 26%;
  }
  .lh-b div:nth-child(2),
  .lr.bs .s{
    flex-basis: 20%;
  }

  .lh-s div:nth-child(4),
  .lh-b div:nth-child(6),
  .lr .i,
  .lr .pdc,
  .lr.bs .pck {
    flex-basis: 7%;
  }

  .lh-b div:nth-child(4),
  .lh-s div:nth-child(5),
  .lr .pck,
  .lr.bs .pdc{
    flex-basis: 9%;
  }

  .lh-s div:nth-child(6),
  .lr .q {
    flex-basis: 17%;
  }

  .lh-b div:nth-child(5),
  .lr.bs .psc{
    flex-basis: 10%;
  }

  .lh-s div:nth-child(7){
    flex-basis: 12%;
    /* border-left: var(--c-border-dash2); */
  }
  .lh-b div:nth-child(7),
  .lr.bs .q{
    flex-basis: 15%;
  }
  .lr .qoc,
  .lh-b div:nth-child(8),
  .lr.bs .v{
    flex-basis: 12%;
  }

  .lr > div:not(:is(:first-child, :last-child)) {
    border-right: var(--c-border-dash);
  }

  /* .lh-s div:nth-child(2),
  .lh-s div:nth-child(5),
  .lh-b div:nth-child(2),
  .lh-b div:nth-child(5),
  .lh-b div:nth-child(7){
    border-left: var(--c-border-dash2);
    border-right: var(--c-border-dash2);
  } */

  .lh-b > div:not(:last-child),
  .lh-s > div:not(:last-child)  {
    border-right: var(--c-border-dash2);
  }

  .lr {
    flex-wrap: nowrap;
    contain-intrinsic-size: auto 83.59px;
  }


  .lr .s {
    flex-basis: 26%;
  }

  .lr .psc {
    flex-basis: 9%;
  }

  .lr .v {
    flex-basis: 12%;
    text-align: right;
  }

  .lr .u {
    flex-basis: 29%;
    text-align: center;
  }
  .lr.bs .u {
    flex-basis: 27%;
    text-align: center;
  }

  .lr .psc,
  .lr .pck,
  .lr .pdc,
  .lr.bs .pck{
    text-align: center;
  }


  .lr .s,
  .lr .p,
  /* .lr .q, */
  .lr .v,
  .lr .qoc,
  .lr .u,
  .lr .psc,
  .lr .pck,
  .lr .pdc,
  .lr.bs .pck {
    display: block;
    align-content: center;
  }

  .lr .q{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }



  /* .lr .c, */
  .lr .q>.pr,
  .lr .qi>.qoc {
    display: none;
  }

  .lr .q>.qi {
    text-align: center;
    padding: 0;
  }

  .lr .q>.qi>.v {
    display: none;
  }

  .lr .q>.qi>.input-group {
    padding: 0;
  }

}

@media (min-width: 1400.02px) {

  
  .lr{
    contain-intrinsic-size: auto 81px;
  }

  .lh-s div:nth-child(5){
    flex-basis: 8%;
  }

  .lh-s div:nth-child(7){
    flex-basis: 10%;
    /* border-left: var(--c-border-dash2); */
  }

  .lr .c {
    display: block;
    align-content: center;
    /* border-right: var(--c-border-dash); */
  }


  .lr .i,
  .lr.bs .i,
  .lr.bs .pdc,
  .lr .pdc,
  .lr.bs .pck,
  .lh-s div:nth-child(4),
  .lh-b div:nth-child(4),
  .lh-b div:nth-child(6) {
    flex-basis: 5%;
  }

  .lr .s,
  .lr.bs .c,
  .lh-s div:nth-child(2),
  .lh-b div:nth-child(3) {
    flex-basis: 15%;
  }

  .lr .s{
    text-align: center;
    &>div {
      display: none;
    }
  }

  .lr .c,
  .lr.bs .s,
  .lh-s div:nth-child(3),
  .lh-b div:nth-child(2),
  .lr .q,
  .lr.bs .q,
  .lh-s div:nth-child(6),
  .lh-b div:nth-child(7) {
    flex-basis: 13%;
  }
 

  .lr .psc,
  .lr .pck,
  .lr.bs .psc,
  .lh-b div:nth-child(5) {
    flex-basis: 8%;
  }


  .lr .v,
  .lr.bs .v,
  .lr .qoc{
    text-align: right;
    flex-basis: 10%;
  }
  .lh-b div:nth-child(8) {
    flex-basis: 10%;
  }

  .lr .u,
  .lr.bs .u {
    text-align: center;
    flex-basis: 23%;
  }

}

.qi .qty {
  text-align: center;
  border: 1px solid var(--c-grey-4);
  font-size: 0.9rem;
  width: 2.5rem !important;
}

.qi .input-group>.btn {
  border: 1px solid var(--c-grey-4);
  padding: 0.2rem 0.5rem;
  font-size: 1.2rem;
}

.qi .input-group>.btn:hover {
  background-color: var(--c-grey-3);
}

.qi .input-group>.btn .bi-dash-circle,
.qi .input-group>.btn .bi-plus-circle {
  color: var(--c-grey-5);
}

.qi .input-group>.btn:hover .bi-dash-circle,
.qi .input-group>.btn .bi-trash3 {
  color: var(--c-ident);
}

.qi .input-group>.btn:hover .bi-plus-circle {
  color: #2eaa01;
}


.cartInfoEdu{
  background-color: var(--c-grey-3);
  border-left: solid 6px var(--c-ident);
  padding: 1rem;
}

.user-type-radio-card {
  margin: 0;
  padding: 0;
}

.user-type-radio-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 180px;
  border: 2px solid #dee2e6;
  /* border-radius: 8px; */
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

@media (max-width: 768px) {
  .user-type-radio-label {
    width: 40dvw;
    height: 25dvh;
  }
  
  .user-type-radio-card {
    width: 40dvw;
    height: 25dvh;
  }
}
@media (max-width: 576px) {
  .user-type-radio-label {
    width: 45dvw;
    height: 30dvh;
  }
  
  .user-type-radio-card {
    width: 45dvw;
    height: 30dvh;
  }
}

.user-type-icon {
  color: var(--c-grey-6);
  font-size: 2rem;
  margin-bottom: .5rem;
  transition: color 0.2s ease-in-out;
}

.user-type-text {
  font-weight: 500;
  text-align: center;
}
.user-type-desc {
  font-size: 0.8rem;
  text-align: center;
  padding-top: 1rem;
}

.form-check-input:checked + .user-type-radio-label {
  border-color: var(--c-ident);
  background-color: var(--c-grey-1);
}

.form-check-input:checked + .user-type-radio-label .user-type-icon {
  color: var(--c-ident);
}

.user-type-radio-label:hover {
  border-color: var(--c-ident);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes moveArrow {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(0);
  }
}

.swiper-pagination-bullet-active {
  background-color: var(--c-ident);
}

.g3__shadow-sm{
  box-shadow: 0 0 8px #b5b5b5;
}

.g3__shadow-md,
.g3__cart-page .btn-box {
  box-shadow: 0 0 20px #b5b5b5;
}

.g3__icons-menu {
  color: var(--c-dark-grey);
  font-size: 2.4rem;
  text-decoration: none !important;
}

header {
  background-color: #ffffff;
  &.hshadow{
    border-bottom: solid 1px #eee;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.11);
    z-index: 999;
  }
  &.sticky-top {
    overflow-anchor: none;
  }
}

.g3__header {
  & .logo {
    padding: 1.5rem;
    transition: padding 0.8s linear;
  }
  & .logo-scroll {
    padding: 1.5rem;
    transform: scale(1);
  }
  & .in-cart-num {
    color: #fff;
    background-color: var(--c-ident);
    top: -.1%;
    font-weight: 300;
  } 
  & > div._header-main > div:nth-child(3) {
    position: absolute;
    top: 2rem;
    right: 2%;
  }
}

@media (max-width: 420px) {
  .g3__header > div._header-main > div:first-child {
      width: 48vw;
      & > a{
        & .g3__logo {
          width: 157px;
          height: auto;
        }
        & span{
          width: auto;
        }
    }
    }
  }

@media (min-width: 421px) and (max-width: 575.98px) {
  .g3__header > div._header-main > div:first-child {
      width: 50vw;
    }
}
@media (min-width: 576px) {
  .g3__header > div._header-main > div:nth-child(3) {
    position: absolute;
    top: 2.75rem;
    right: 2%;
  }
  }
@media (min-width: 992px) {
  .g3__header > div._header-main > div:first-child {
    width: 20vw;
  }
  .g3__header > div._header-main > div:nth-child(3) {
    position: relative;
    top:0;
    right:0;
  }
}


@media (min-width: 1200px) {
  .g3__header-topbar {
    background-color: var(--c-grey-2);
    color: var(--c-grey-7);
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    overflow: hidden;
    max-height: 6rem;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
    &.is-collapsed {
      max-height: 0 !important;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
      opacity: 0;
      pointer-events: none;
    }
    &.no-topbar-anim {
      transition: none !important;
    }
    & .txt {
      font-weight: 600;
      &>span {
        font-weight: 400;
      }
    }
    & .l>a {
      color: var(--c-grey-7);
      text-decoration: none;
      /* &:nth-of-type(1) {
        padding-left: 10px;
      } */
      &:hover {
        text-decoration: underline;
        &:before {
          text-decoration: none;
          display: inline-block;
        }
      }
      &:nth-of-type(n + 3):before{
        content: "|";
        color: var(--c-grey-5);
        padding: 0 5px;
      }
    }
    & .r{
      &>a:not(.btn),
      &>div>a {
        color: var(--c-grey-7);
        text-decoration: none;
      }
      & a:hover{
        text-decoration: underline;
      }
      &>a:hover:before,
      &>a.active::before {
        text-decoration: none;
        display: inline-block;
      }
      & a.active{
        color: #000;
        font-weight: 600;
      }
      &>a:not(.btn-login):nth-of-type(n + 2):before,
      &>div:before{
        content: "|";
        color: var(--c-grey-5);
        padding: 0 5px;
      }
      & .dropdown-toggle::after {
        color: var(--c-ident);
      }
      & .dropdown-menu {
        border-radius: 0;
        background-color: var(--c-grey-2);
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 4px solid var(--c-ident);
        & .dropdown-item {
          font-size: 0.8rem;
          &:hover {
            color: var(--c-ident);
            text-decoration: underline;
            background-color: var(--c-grey-2);
          }
          & > span {
            font-size: 0.75rem;
            color: var(--c-grey-6);
          }
        }
      }
    }
    /* & .dzial {
      background-color: var(--c-ident);
      color: #fff !important;
      padding: 0.5rem 1rem;
    } */
  }
}

@media (min-width: 1400px) {
  .g3__header-topbar {
    font-size: 0.9rem;
    & .r .dropdown-menu .dropdown-item {
      font-size: 0.9rem;
    }
  }
}

.g3__edu-d-menu{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  & a:hover{
    color: var(--c-ident);
  }
  & > a,
  & > *:nth-child(3) > a{
  color: var(--c-grey-6);
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  padding: 0.4rem 2.2rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.1s;
  }
  & > *:nth-child(3) > a {
    padding: 0;
    & .bi {
      font-size: 1.4rem;
      padding-left: 1rem;
        color: var(--c-ident);
        -webkit-text-stroke: 1px;
    }
  }
  & > *{
    border-right: solid 1px var(--c-grey-5);
  }
  & > *:nth-child(4) {
    border-right: none !important;
  }
}

.g3__header-order-icons a {
  text-decoration: none;
  color: var(--c-grey-6);
  display: flex;
  align-items: center;
  /* padding: 0 1rem; */
}

.g3__search-icon-mobile,
.g3__header-order-icons a .bi {
  font-size: 1.6rem;
  color: var(--c-ident);
}

.g3__page-title h1,
.g3__page-subtitle h2{
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  color: var(--c-ident);
  font-weight: 800;
}

.g3__page-title h1,
.g3__page-title-pakiet h1 {
  font-size: clamp(1.25rem, calc(0.921rem + 1.462vw), 2.2rem);
}

.g3__page-subtitle h2{
  font-size: 1.8rem;
  line-height: 1.8rem;
}


@media (min-width: 992px) {

  .g3__page-title h1,
  .g3__page-subtitle h2{
    white-space: nowrap;
  }
}

.g3__page-title h1::after,
.g3__page-subtitle h2::after{
  content: ".................................................................................................................";
  letter-spacing: 6px;
  font-size: 0.8rem;
  color: var(--c-grey-5);
  display: inline-block;
  vertical-align: 0px;
  padding-left: 1rem;
}

.g3__page-title-pakiet h1,
.g3__book-page h1 {
  position: relative;
}

@media (max-width: 992px) {

  .g3__page-title h1::after,
  .g3__page-subtitle h2::after{
    padding-left: 0;
    vertical-align: 20px;
  }
}


.g3__book-page h1::after {
  content: "";
  background-color: var(--c-ident);
  width: 3rem;
  height: 0.5rem;
  position: absolute;
  bottom: -0.75rem;
  left: 0;
}


.g3__discountBox {
  border: solid 1px var(--c-grey-3);
  width: 90%;
  font-size: 1.5rem;
  text-decoration: none;
  &:hover {
    border: solid 1px var(--c-ident);
    color: initial;
  }
  &>img {
    margin-right: 1rem;
    padding-bottom: 0.45rem;
    width: 54px;
    aspect-ratio: 1;
  }
}
#sideContact {
  width: 95vw;
}

@media (max-width: 991px) {
  .g3__discountBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    &>img {
      display: block;
      margin: 0 auto;
    }
  }
}

@media (min-width: 768px) {
  .g3__discountBox {
    display: flex;
    align-items: center;
  }
  #sideContact {
    width: 60vw;
  }
}

@media (min-width: 1200px) {
  .g3__discountBox {
    width: 80%;
  }
  #sideContact {
    width: 50vw;
  }
}

@media (min-width: 1400px) {
  .g3__discountBox {
    width: 70%;
  }
  #sideContact {
    width: 40vw;
  }
}

.g3__book-box {
  text-align: center;
  flex-flow: column;
  place-content: flex-start space-between;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
  & div.author {
    color: var(--c-grey-7);
    font-weight: 300;
    padding-bottom: 1rem;
    font-size: 0.85rem;
  }
  & .params {
    font-size: 0.75rem;
    color: var(--c-grey-6);
    & span {
      color: var(--c-grey-4);
    }
  }
  & .hit {
    background-image: url(/imgs/misc/HITdodruk_05.png);
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 15%;
  }
  & .a2c {
    margin-top: 0.5rem;
    & span.price-d {
      color: var(--c-grey-6);
      font-size: 0.95rem;
      font-weight: 300;
      text-decoration: line-through;
      margin-left: 1rem;
    }
    & span.price {
      color: var(--c-ident);
      font-size: clamp(1.2rem, 1.0179rem + 0.8095vw, 1.625rem);
      font-weight: 700;
      &.unava {
        color: var(--c-grey-5);
      }
    }
    & .btn{
        padding: .45rem 1rem .3rem;
        font-size: .9rem;
        font-weight: 400;
        border-radius: 0;
    }
  }
}

.g3__book-box a,
#g3swiper-pk .inside a {
  text-decoration: none;
}

#g3swiper-pk .inside a {
  display: flex;
  flex-flow: column;
  place-content: flex-start space-between;
  align-items: center;
}

.g3__book-box a div.title,
#g3swiper-pk .inside a .title {
  color: var(--c-link);
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.4rem;
  font-weight: 500;
}

.g3__book-box a .cover,
#g3swiper-pk .inside a .cover {
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.g3__book-box a .addInfo,
#g3swiper-pk .inside a .addInfo {
  font-size: 0.8rem;
  color: var(--c-grey-5);
}

input.qty {
  /* font-size: 0.8rem;
  font-weight: 400; */
  width: 3rem;
  max-width: 3rem;
  text-align: center;
  &:focus{
      outline: none !important;
      border: 2px solid var(--c-ident);
      background-color: var(--c-grey-1);
  }
}

/* .g3__book-box .a2c .btn::first-letter {
    text-transform: uppercase;
} */
/* .ddk.btn i {
  padding-right: 0.5rem;
} */

/* .g3__book-box .a2c .in-cart, */
/* .g3__pakiet-box .a2c  */
/* .in-cart {
  color: var(--c-grey-7);
  text-decoration: none;
  border: solid 1px #72bda3;
  border-radius: var(--bs-border-radius-sm);
}
.in-cart:hover,
.in-cart:active,
.in-cart:focus {
  color: #2d728f;
  border-color: #2d728f;
} */

.g3__book-box .a2c .unaval {
  color: var(--c-ident);
  font-size: 0.9rem;
}

.g3__book-box .binding,
#g3swiper-pk .inside a .binding {
  font-size: 0.8rem;
  color: #000;
  text-align: center;
  padding-bottom: 0.5rem;
}

.g3__book-box .annot {
  font-size: 1.1rem;
  color: var(--c-ident);
  font-weight: 600;
}

.g3__pakiet-list-alert {
  text-align: center;
  padding: 10px;
  background-color: var(--c-grey-3);
  color: var(--c-ident);
}

.g3__author-box {
  border: 1px solid #e6e6e6;
  border-radius: .375rem;
  height: 100%;
  flex-flow: column;
  place-content: flex-start space-between;
  align-items: center;
  display: flex;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 0;
}


.g3__opinions.b,
.g3__opinions .t {
  font-weight: 600;
}

/* .g3__opinionssvg.feather {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: #ff0;
  stroke-width: 1px !important;
  width: 24px !important;
  height: 24px !important;
} */

.g3__cart {
  text-align: center;
  flex-flow: column;
  place-content: flex-start space-between;
  align-items: center;
  height: 100%;
  display: flex;
  padding: 1rem 0 0 !important;
}

.g3__cart-bottom {
  width: 100%;
}

.g3__cart-bottom .dlvr {
  background-color: #d8d8d8;
  padding: 1rem 0;
}

.g3__cart-bottom .sum {
  grid-column-gap: 0;
  grid-row-gap: 5px;
  /* grid-template-rows: repeat(7, 1fr); */
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}

.g3__cart-bottom .sum div {
  text-align: right;
}

.g3__cart-bottom .sum :nth-child(2n) {
  padding-right: 6rem;
}

.g3__cart-bottom .sum .r {
  color: var(--c-ident);
  border-top: 1px solid var(--c-grey-6);
  font-weight: 600;
}

.g3__cart-bottom .sum .o {
  color: #1d8125;
}

.g3__path {
  text-transform: uppercase;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 10px;
  font-size: 0.7rem;
  & a {
    text-decoration: none;
    &:not(:last-child):after {
      content: "\f280";
      color: var(--c-grey-7);
      padding: 0 0.5em;
      font-family: var(--font-icons);
      display: inline-block;
      vertical-align: middle;
    }
    &:hover {
      text-decoration: underline;
      &:after {
        display: inline-block;
        text-decoration: none !important;
      }
    }
  }
}



.g3__book-page {
  & h1 {
    font-size: clamp(1.6rem, 1.4286rem + 0.7619vw, 2rem);
    color: var(--c-grey-6);
    font-weight: 700;
  }
  & .cover {
    padding-left: 1rem;
    position: relative;
    & .hit {
      background-image: url(/imgs/misc/HITdodruk_05.png);
      width: 50px;
      height: 50px;
      position: absolute;
      z-index: 2;
      bottom: 0;
      right: 10%;
    }
  }
  & .v-dot-line {
    width: 6px;
    /* Szerokość linii */
    height: 100%;
    /* Wysokość linii */
    background-image: radial-gradient(circle, var(--c-grey-5) 1px, transparent 1px);
    /* Tworzy kropki */
    background-size: 4px 10px;
    /* Rozmiar kropek i odległości pomiędzy */
    background-position: center;
  }
  & .book-details-col {
    display: flex;
    flex-direction: row;
    height: 100%;
  }
  & .book-details {
    display: flex;
    flex-flow: column;
    place-content: flex-start space-between;
    height: 100%;
    width: 100%;
    padding-top: 1.5rem;
    & .title{
      display: flex;
      flex-direction: column;
      & h1{
        text-align: start;
        order: -1;
      }
    }
    & .authors a {
      font-size: clamp(1rem, -0.3125rem + 6vw, 1.15rem);
      font-family: var(--font);
      color: #000;
      text-decoration: none !important;
    }
    & span.price {
      color: #000;
      font-size: clamp(1.6rem, 1.3429rem + 1.1429vw, 2.2rem);
      font-weight: 800;
    }
    & span.price-d {
      color: var(--c-med-grey);
      font-size: clamp(1.2rem, 1.0714rem + 0.5714vw, 1.5rem);
      font-weight: 300;
      text-decoration: line-through;
    }
    & .unaval {
      color: var(--c-ident);
    }
  }
  & .inStorL {
    color: #b80000;
  }
  & .inStorM {
    color: orange;
  }
  & .inStorH {
    color: green;
  }
  & .card {
    --bs-card-border-radius: 0;
  }
  & .discount-delivery-info {
    border: solid 1px var(--c-grey-6);
    width: 95%;
    margin: 0.5rem auto;
    padding: 1rem;
    position: relative;
    text-decoration: none;
    &:hover {
      border-color: var(--c-ident);
      &>div:last-child {
        color: var(--c-ident);
      }
    }
    &>div:first-child {
      background-color: var(--c-grey-3);
      padding: 1rem 1.2rem;
      text-align: center;
      &>div>span{
        &:first-child {
        font-size: 1.8rem;
        padding-right: 0.7rem;
        font-weight: 700;
        color: var(--c-grey-6);
        }
        &:last-child {
          color: var(--c-ident);
          font-size: 3rem;
          font-weight: 800;
        }
      }
      &>div:last-child {
        color: var(--c-grey-5);
        font-size: 1.5rem;
        font-weight: 700;
      }
    }
    &>div:last-child {
      position: absolute;
      background-color: white;
      text-decoration: none;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--c-grey-6);
      padding: 0 0.8rem;
      bottom: -0.8rem;
      right: 3rem;
      &>i {
        color: var(--c-ident);
        font-weight: 900;
      }
    }
  }
}

@media (max-width: 767.98px) {
  .g3__book-page .v-dot-line {
    display: none;
  }
}

@media (max-width: 1200px) {
  .g3__book-page{
    & .book-row {
      position: relative;
      padding-top: 100px;
    }
    &  .title {
      position: absolute;
      top: 0;
      left: 3px;
    }
  }
}


.g3__flipp-header {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-grey-6);
  position: relative;
  margin-top: 3rem;
  &::after {
    content: "";
    width: 2.5rem;
    height: 0.5rem;
    background-color: var(--c-ident);
    position: absolute;
    left: calc(0.5 * var(--bs-gutter-x));
    bottom: -0.3rem;
  }
}

.g3__logo {
  width: 205px;
  height: auto;
  transition: filter 0.6s ease;
  &:hover {
    filter: brightness(0);
  }
  & + span {
      background-color: var(--c-ident);
      color: white;
      width: 205px;
      display: block;
      margin: 6px auto 0;
      text-transform: uppercase;
      font-size: .8rem;
      letter-spacing: .1rem;
      font-weight: 600;
    }
  }


@media (min-width: 1200px) {
  .g3__book-page .title {
    padding-left: 1rem;
    padding-bottom: 1.5rem;
  }

  #bookdet .nav-link {
    color: var(--c-grey-6);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  #bookdet .nav-link:hover {
    color: var(--c-ident);
    border-top: 1px solid var(--c-ident);
    border-bottom: 1px solid var(--c-grey-5);
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
  }

  #bookdet .nav-link.active {
    color: #000;
    font-weight: 700;
    border-top-color: var(--c-grey-5);
    border-left-color: var(--c-grey-5);
    border-right-color: var(--c-grey-5);
    border-bottom-color: #ffffff;
  }

  #bookdet .nav-item {
    position: relative;
  }

  #bookdet .nav-item:has(:not(.active))::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    /* Adjust padding from the top */
    bottom: 10px;
    /* Adjust padding from the bottom */
    width: 1px;
    background-color: var(--c-grey-5);
    /* Color of the vertical line */
  }

  #bookdet .nav-item:has(+ .nav-item button.active)::after,
  #bookdet .nav-item:last-child::after {
    display: none;
  }

  #bookdet .nav-tabs {
    border-bottom-color: var(--c-grey-5);
  }

  .accordion-item {
    border-color: var(--c-grey-5);
    border-top-color: white;
    border-width: 1px;
  }

  .accordion-item:first-of-type {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .accordion-body>img {
    margin-right: auto;
    margin-left: auto;
    display: block;
  }

  .accordion-body p:has(a),
  .accordion-body p:has(img) {
    text-align: center;
  }
}

@media (max-width: 1199.98px) {
  .accordion-item {
    border-color: var(--c-grey-5);
    border-width: 1px;
  }

  .accordion-item:first-of-type,
  .accordion-item:first-of-type>.accordion-header .accordion-button {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .accordion-item:last-of-type {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .accordion-button:not(.collapsed) {
    color: var(--c-grey-6);
    background-color: var(--c-grey-3);
    font-weight: 700;
  }

  .accordion-body img {
    max-width: 100%;
    height: auto;
  }
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion {
  --bs-border-radius: 0;
}

.g3__book-TOC h3 {
  font-size: 1.1rem;
}

.g3__book-TOC ul li {
  font-size: 0.8rem;
}

.g3__on-blog .header {
  font-size: 2.2rem;
  color: var(--c-ident);
  font-weight: 900;
  margin-bottom: 1rem;
}

.g3__on-blog .cover-box {
  min-height: 20vh;
  background-size: cover;
  background-position: center center;
}

.g3__on-blog .card-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--c-grey-6);
  position: relative;
  margin-bottom: 2rem;
}

.g3__on-blog .card-title:after {
  content: "";
  width: 60px;
  height: 6px;
  position: absolute;
  bottom: -10px;
  left: 0;
  background-color: var(--c-ident);
}

.g3__line-with-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: #7a7a7a;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.g3__line-with-text::before,
.g3__line-with-text::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #d8d8d8;
  margin: 0 1rem;
}

.g3__newsletter-box {
  margin: 4rem 0;
}

.g3__newsletter-box .container,
.g3__about .container {
  background-color: var(--c-grey-1);
}

.g3__newsletter-box .header,
.g3__about .header {
  /* font-size: clamp(2.5rem, 1.6667rem + 3.7037vw, 3rem); */
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-grey-7);
  position: relative;
}

.g3__newsletter-box .header::after,
.g3__about .header::after {
  content: "";
  width: 60px;
  height: 8px;
  position: absolute;
  bottom: -1rem;
  left: 0;
  background-color: var(--c-ident);
}

.g3__newsletter-box .txt {
  margin-top: 2rem;
  color: var(--c-grey-7);
}

.g3__newsletter-box .form-bg {
  background-color: #f6f6f6;
}

.g3__newsletter-box input {
  border-radius: 0;
  border-color: var(--c-grey-4);
}

.g3__newsletter-box .url {
  font-size: 1.02rem;
  color: var(--c-grey-6);
  text-decoration: none;
}

.g3__newsletter-box .url .bi {
  color: var(--c-ident);
  -webkit-text-stroke: 1px;
}


.g3__category-desc {
  font-size: 0.85rem;
}

.g3__category-desc img {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  height: auto;
}


.g3__cart-total{
  box-shadow: 0 0 20px #b5b5b5;
  border: 1px solid var(--c-grey-1);
  padding: 1rem 0;
}
.g3__cart-total .sum-val {
  color: var(--c-ident);
  font-size: 1.8rem;
  font-weight: 700;
}

.g3__cart-total .btn-success {
  padding: 0.5rem 3rem;
  font-size: 1.6rem !important;
  /* background-color: var(--c-ident);
  border: 0; */
}

.g3__cart-total .btn-success span {
  font-size: 0.8rem;
  font-weight: 400;
  display: block;
}


.g3__bundle-books>.col>a {
  display: flex;
  flex-flow: column;
  place-content: flex-start space-between;
  align-items: center;
  height: 100% !important;
  justify-content: flex-start;
  text-decoration: none !important;
}

.g3__bundle-books>.col>a>div:first-child {
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.g3__bundle-books>.col>a>div:last-child {
  text-align: center;
  color: var(--c-link);
  font-size: 1.1rem;
  line-height: 1.4rem;
  font-weight: 500;
}


.g3__order-btn {
  margin-top: 1.5rem;
  padding: 0.5rem 3rem;
  font-size: 1.6rem !important;
}

.g3__fs08 {
  font-size: 0.8rem;
}

.g3__price {
  color: var(--c-ident);
  font-weight: 700;
}

.g3__priceM {
  color: var(--c-ident);
  font-size: 1.5rem;
  font-weight: 700;
}

.g3__priceH {
  color: var(--c-ident);
  font-size: 2rem;
  font-weight: 700;
}


.g3__footer-wrapper{
  background-color: var(--c-grey-2);
 & .footer {
  padding: 2rem 0;
  
  & div {
    width: 100%;
    padding: 0 2rem;
    & p {
      position: relative;
      color: var(--c-grey-6);
      font-size: 1.2rem;
      font-weight: 600;
      &::after {
        content: "";
        width: 2rem;
        height: 0.2rem;
        background-color: var(--c-ident);
        position: absolute;
        left: 0;
        bottom: -0.1rem;
      }
    }
    &:first-child {
      text-align: center;
      padding-bottom: 2rem;
    }
    &:nth-child(3) {
      margin: 2rem 0;
    }
    &:last-child>a {
      width: 49%;
      display: inline-block;
    }
    & a {
      color: var(--c-grey-7);
      padding: 0.09rem 0;
      text-decoration: none;
      display: block;
      &:hover {
        color: var(--c-ident);
        text-decoration: underline;
      }
      & i {
        margin-right: 1rem;
      }
      & span {
        font-size: 0.85rem;
        color: var(--c-grey-6);
      }
    }
  }
}
}
@media (min-width: 768px) {
  .g3__footer-wrapper .footer {
    & div{
      padding: 0 2rem;
      &:first-child {
        width: 100%;
        padding-bottom: 2rem;
      }
      &:not(:first-child) {
        width: calc(100% / 2);
      }
      &:nth-child(3) {
        margin: 0;
      }
      &:last-child {
        width: 100%;
        margin-top: 2rem;
        &>a{
          width: 24%;
          display: inline-block;
        }
      }
    }
  }
}
@media (min-width: 1200px) {
.g3__footer-wrapper .footer {
    & div {
      padding: 0 1.5rem;
      &:first-child {
        width: 20%;
      }
      &:not(:first-child) {
        width: calc(80% / 3);
      } 
      &:last-child {
        margin-top: 0;
        &>a{
          width: 100%;
          display: inline-block;
        }
      }
    }
  }
}



.g3__book-spec-table tr>td{
  &:first-child {
    text-align: right;
  }
  &:nth-child(2) {
    font-weight: 700;
  }
}

.g3__discount {
  color: var(--c-ident);
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .g3__order-summary .totals {
    width: 70%;
  }
  .g3__cart-book-val {
    font-size: 1.3rem;
  }

  .g3__swiper-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  [id^="g3swiper-"] .swiper-slide {
    max-width: 210px;
  }

  #g3swiper-main .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  #g3swiper-pakiety .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
  }

  .g3__get-catalog {
    height: 100lvh;
  }

  .g3__book-page .cover .hit,
  .g3__book-page .cover .a2f {
    right: 0;
  }

  .g3__swiper-container {
    padding-left: 0;
    padding-right: 0;
  }

  .g3__cart-book-val {
    font-size: 1.5rem;
  }

  /* .g3__sticky-cart-btn, */
  .g3__sticky-addToCart-btn {
    z-index: 10000000000;
    background-color: #fff;
    width: 100%;
    padding: 0.2rem 0;
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    box-shadow: 0 -7px 5px -5px #42445a;
  }

  .g3__sticky-addToCart-btn div:first-child {
    color: var(--c-ident);
    text-align: center;
    width: 40%;
    font-size: 1.8rem;
    font-weight: 800;
  }

  .g3__sticky-addToCart-btn div:nth-child(2) {
    text-align: center;
    width: 60%;
    padding: 0.25rem 0;
  }

  .g3__sticky-addToCart-btn .btn-success {
    text-align: center;
    padding: 0.25rem 1rem;
    font-size: 1.1rem !important;
    border-radius: 0;
    border: 0;
    background-color: var(--c-ident);
    color: #ffffff;
  }


  .g3__order-summary .totals {
    width: 90%;
    padding-right: calc(20% - 10vw) !important;
  }

  .g3__pakiet-box {
    text-align: center;
    border: 1px solid #fff;
    border-radius: 0.375rem;
    flex-flow: column;
    place-content: flex-start space-between;
    align-items: center;
    height: 100%;
    display: flex;
    position: relative;
  }

  .g3__pakiet-box .a2c {
    flex-flow: column;
    place-content: center;
    align-items: center;
    margin-top: 0.5rem;
    display: flex;
  }

  .g3__pakiet-box .a2c span.price {
    color: var(--c-ident);
    padding: 0;
    font-size: clamp(1.2rem, 1.0962rem + 0.4615vw, 1.5rem);
    font-weight: 700;
  }

  .g3__pakiet-box .a2c span.price span {
    color: #a9a9a9;
    font-size: 1rem;
    font-weight: 400;
  }

  .g3__rviews-page>div:nth-child(2n) {
    border-bottom: 1px solid #d3d3d3;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 1rem;
  }

  .g3__rviews-page>div:nth-child(odd) {
    border-bottom: none;
  }
}

.g3__jumptop {
  position: fixed;
  bottom: 1%;
  right: 1%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--c-grey-4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* pointer-events: auto; */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  &:after {
    content: '';
    width: 15px;
    height: 15px;
    border: solid white;
    border-width: 0 4px 4px 0;
    display: inline-block;
    border-radius: 3px;
    transform: rotate(225deg);
    margin-top: 5px;
  }
  &:hover{
    background-color: var(--c-ident);
  }
  &.show {
    opacity: 1;
    visibility: visible;
  }
  &.hide {
    opacity: 0;
    visibility: hidden;
  }
}


@media (max-width: 576px) {
  .g3__jumptop {
    bottom: 4%;
  }
}




  .search{
    background-color: var(--c-grey-3);
    padding: 1% 12%;
    & .searchform {
      background-color: #fff;
      justify-content: right;
      align-items: center;
      width: 100%;
      margin: 0;
      padding-right: 10px;
      font-weight: 300;
      display: flex;
    }
    & .search-input {
      color: #000;
      background-color: #fff;
      width: 100%;
      height: 45px;
      border: none !important;
      border-radius: 0;
    }
    & .search-button {
      background-color: #fff;
      color: var(--c-grey-3);
      cursor: pointer;
      border: none;
      border-image: none;
      justify-content: center;
      align-items: center;
      padding: 0;
      display: flex;
      outline: none !important;
    }
  }

@media (max-width: 450px) {
  .search{
    padding: 1% 5%;
    & .search-input {
      font-size: .9em;
    }
  }
}


@media (min-width: 992px) {
.search{
  background-color: transparent;
  padding: 1% 5%;
 & .searchform {
  background-color: var(--c-grey-3);
  & .search-input{
    background-color: var(--c-grey-3);
  }
  & .search-button {
    background-color: var(--c-grey-3);
  }
}
}
}

.searchform .search-input:-webkit-autofill,
.searchform .search-input:-webkit-autofill:hover,
.searchform .search-input:-webkit-autofill:focus,
.searchform .search-input:-webkit-autofill:active,
.search-m .search-input:-webkit-autofill,
.search-m .search-input:-webkit-autofill:hover,
.search-m .search-input:-webkit-autofill:focus,
.search-m .search-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--c-grey-3) inset !important;
  -webkit-text-fill-color: #000 !important;
}

/* for FF */
.searchform .search-input:autofill {
  background-color: var(--c-grey-3) !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-family: var(--font);
}

.search-button:hover,
.search-m .search-button:hover {
  border: none;
  outline: none !important;
}

.search-button:focus,
.search-m .search-button:focus {
  border: none;
  outline: none !important;
}

.search-button i,
.search-m .search-button i {
  color: var(--c-ident);
  font-size: 1.5rem;
}



[type="search"]:focus,
input.search-input:focus {
  box-shadow: none !important;
  /* background-color: #0000 !important; */
  border: 0 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.dropdown-menu.show {
  animation: 0.4s alternate fadeIn;
}

.nav-item.dropdown.dropdown-mega {
  position: static;
  & .dropdown-menu {
    width: 100%;
    top: auto;
    left: 0;
  }
}

.g3__swiper-container {
  padding: 0;
}

.swiper-slide {
  background-color: #fff;
  padding: 1rem 0.5rem 1.5rem;
  margin: 1rem 0;
  user-select: none;
  &.fixed-width {
    width: 230px;
  }
  & .inside {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    & a {
      text-align: center;
      font-size: 1.1rem;
      text-decoration: none;
      font-weight: 500;
      &:hover {
        text-decoration: underline;
      }
    }
    & div:first-child {
      min-height: 250px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
    }
  }
}


#g3swiper-main .swiper-slide,
#g3swiper-pakiety .swiper-slide {
  background-color: #fff;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.g3__full-width-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.navigation-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Przyciski będą "przeklikiwalne" */
}

.g3__swiper-prev,
.g3__swiper-next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--c-grey-4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  /* Przyciski będą reagować na kliknięcia */
}

.g3__swiper-prev:hover,
.g3__swiper-next:hover {
  background-color: var(--c-grey-5);
}

.g3__swiper-prev.swiper-button-lock,
.g3__swiper-next.swiper-button-lock {
  display: none;
}

.g3__swiper-prev {
  left: 10px;
}

.g3__swiper-next {
  right: 10px;
}

.g3__swiper-prev::after,
.g3__swiper-next::after {
  content: "";
  width: 15px;
  /* Dostosuj rozmiar strzałki */
  height: 15px;
  border: solid white;
  /* Biały kolor strzałki */
  border-width: 0 4px 4px 0;
  /* Tworzymy strzałkę */
  display: inline-block;
  border-radius: 3px;
}

.g3__swiper-prev::after {
  transform: rotate(135deg);
  /* Obracamy strzałkę w lewo */
  margin-left: 5px;
}

.g3__swiper-next::after {
  transform: rotate(-45deg);
  /* Obracamy strzałkę w prawo */
  margin-right: 5px;
}

.swiper-pagination-main {
  position: relative;
  height: 1rem;
  bottom: -7px !important;
  left: 50%;
  transform: translateX(-50%);
  /* Wyśrodkowanie paginacji */
}

@media (max-width: 576px) {

  .g3__swiper-prev,
  .g3__swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-20%);
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    /* Przyciski będą reagować na kliknięcia */
  }

  .g3__swiper-prev:hover,
  .g3__swiper-next {
    background-color: transparent;
  }

  .g3__swiper-prev {
    left: 1px;
  }

  .g3__swiper-next {
    right: 1px;
  }

  .g3__swiper-prev::after,
  .g3__swiper-next::after {
    content: "";
    width: 30px;
    height: 30px;
    border: solid var(--c-grey-5);
    border-width: 0 4px 4px 0;
    /* Tworzymy strzałkę */
    display: inline-block;
    border-radius: 3px;
  }

  .g3__swiper-prev::after {
    transform: rotate(135deg);
    margin-left: 1px;
  }

  .g3__swiper-next::after {
    transform: rotate(-45deg);
    margin-right: 1px;
  }
}

@media (max-width: 992px) {

  [class*=" swiper-button-prev-"],
  [class*=" swiper-button-next-"] {
    display: none;
  }
}

@media (max-width: 1200px) {
  .tab-content>.tab-pane {
    opacity: 1;
    display: block;
  }
}

.iframe-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  & iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
}

.rview {
  padding: 1rem;
  list-style: none;
  font-size: 0.9rem;
}

.rview li {
  margin-bottom: 2rem;
}

.rview .ratingStars {
  width: 6rem;
  margin: 0 1rem 0 0;
}

.rview div:nth-child(2) {
  vertical-align: top;
  width: calc(100% - 8rem);
  font-weight: 600;
  display: inline-flex;
}

.rview div:nth-child(4) {
  text-align: right;
  font-style: italic;
  font-size: 0.8rem;
}

.ratingStars {
  direction: rtl;
  display: inline-flex;
  position: relative;
}

.ratingStars i {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  position: relative;
  overflow: hidden;
}

.ratingStars i:before {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  content: "";
  background-color: #f2b600;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.g3__cs a {
  text-decoration: none;
}

.g3__cs a:hover {
  color: initial;
}

.g3__cs div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  min-height: 160px;
  margin-bottom: 0.5rem;
}

.g3__cs .title {
  font-size: 0.9rem;
  font-weight: 500;
}

.g3__cs .price {
  color: var(--price1-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
}



/* gallery */
.gallery {
  justify-content: space-between;
  width: 100%;
  display: flex;
  position: relative;
  /* overflow: hidden; */
}

.gallery-top {
  width: 80%;
  height: 100%;
}

.gallery-thumbs {
  width: 170px;
  height: 100%;
  padding-right: 10px;
  /* border-right: solid 1px gainsboro; */
  margin-right: 10px;
}

.gallery-top .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.gallery-top .swiper-slide:hover {
  cursor: pointer;
}

/* .gallery-thumbs {
  width: 170px;
  flex-shrink: 0;
} */
/* .gallery-thumbs .swiper-wrapper {
  margin: 50px 0;
} */
.gallery-thumbs .swiper-wrapper {
  width: 100%;
}

.gallery-thumbs .swiper-slide {
  width: 100%;
  height: 32%;
  opacity: 0.45;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
}

.gallery-thumbs .swiper-slide:hover {
  cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.gallery-thumbs .swiper-slide-thumb-active:hover {
  cursor: auto;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs .swiper-slide .yt-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 10%;
}

.gallery-thumbs .swiper-slide .yt-cover .bi-youtube {
  font-size: 4rem;
  color: var(--c-ident);
  text-shadow: 0px 0px 15px rgba(66, 68, 90, 1);
}

.fullscreen-gallery-thumbs .swiper-slide-thumb-active {
  border: 1px solid var(--c-ident);
}

.fullscreen-gallery-thumbs .swiper-slide .yt-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 12%;
}

.fullscreen-gallery-thumbs .swiper-slide .yt-cover .bi-youtube {
  font-size: 4rem;
  color: var(--c-ident);
  text-shadow: 0px 0px 15px rgba(66, 68, 90, 1);
}

.gallery-video-container {
  position: relative;
  width: 100%;
  /* Ustaw szerokość kontenera na 100% szerokości slajdu */
  height: 0;
  /* Ustaw początkową wysokość na 0 */
  padding-bottom: 56.25%;
  /* Proporcje 16:9, może być zmienione w zależności od wymagań */
  overflow: hidden;
}

.gallery-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fullscreen-gallery-top .gallery-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 70%;
  translate: 20% 20%;
}

.fullscreen-gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-gallery .close {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 2001;
}

.fullscreen-gallery .close:hover {
  cursor: pointer;

  & i {
    color: var(--c-ident);
  }
}

.fullscreen-gallery .close i {
  font-size: 2.5rem;
  color: gray;
}

.fullscreen-gallery-top {
  align-items: center;
  height: 80vh;
}

.fullscreen-gallery-top .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  height: 100%;
}

.fullscreen-gallery-top img {
  max-height: 97%;
}

.fullscreen-gallery-thumbs {
  width: 80%;
  height: 18vh;
  margin: 0 auto;
  padding: 0 1rem;
}

.fullscreen-gallery-thumbs .swiper-wrapper {
  display: flex;
  justify-content: center;
}

.fullscreen-gallery-thumbs .swiper-wrapper .swiper-slide {
  width: 25%;
  height: 85%;
  opacity: 0.5;
}

.fullscreen-gallery-thumbs .swiper-slide:hover {
  cursor: pointer;
}

.fullscreen-gallery-thumbs .swiper-wrapper .swiper-slide-thumb-active {
  opacity: 1;
}

.fullscreen-gallery-thumbs .swiper-wrapper .swiper-slide-thumb-active:hover {
  cursor: auto;
}

.fullscreen-gallery-thumbs .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#flipp-fullscreen-container .close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2001;
  padding: 0.1rem 0.5rem;
  background-color: gray;
}

#flipp-fullscreen-container .close i {
  font-size: 1.5rem;
  color: rgb(54, 54, 54);
}

#flipp-fullscreen-container .close:hover {
  cursor: pointer;
  background-color: var(--c-ident);

  & i {
    color: #fff;
  }
}

@media (min-width: 1199px) {

  .gallery-top .swiper-button-next,
  .gallery-top .swiper-button-prev {
    display: none;
  }

  .gallery {
    height: 600px;
  }
}

@media (max-width: 1198.98px) {

  .gallery-top .swiper-button-next,
  .gallery-top .swiper-button-prev {
    color: gray;
  }

  .gallery-thumbs {
    display: none;
  }

  .g3__book-page .cover {
    padding: 0;
    position: relative;
  }
}

@media (max-width: 576px) {
  .gallery {
    flex-direction: column-reverse;
  }

  .gallery-top {
    width: 100%;
  }

  .gallery-top .swiper-slide {
    width: 100%;
    max-width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-thumbs {
    width: 100vw;
    flex-direction: row;
  }

  .fullscreen-gallery {
    flex-direction: column;
  }

  .fullscreen-gallery-top {
    width: 100%;
    height: calc(100% - 100px);
  }

  .fullscreen-gallery-thumbs {
    width: 100%;
    height: 100px;
    flex-direction: row;
  }
}

/* gallery end */

.icon {
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* font-family: feather; */
  font-family: var(--font-icons);
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

/* .icon--arrow-left:before {
  content: "\e901";
}

.icon--menu:before {
  content: "\e903";
} */

.icon--cross:before {
  /* content: "\e117"; */
  content: "\F659";
}

.menu {
  z-index: 9999;
  -webkit-transition: -webkit-transform 0.3s;
  width: 100%;
  height: 100vh;
  transition: transform 0.3s;
  top: 0;
  left: 0;
  transform: translate3d(-100%, 0, 0);
  background-color: var(--c-grey-1);
  position: fixed;
}

.menu--open {
  transform: translate3d(0, 0, 0);
}

@media (min-width: 576px) {
  .menu {
    width: 50%;
  }
}

.menu__header {
  background-color: var(--c-ident);
  color:#fff;
  padding: .2rem .2rem .2rem 1.5rem;
}
.menu__social {
  padding: 1rem 0 1rem 1.5em;
}

.menu__social div a {
  color: var(--c-grey-6);
  padding-right: 1.5rem;
}

.menu__wrap {
  width: 100%;
  position: absolute;
  top: 6.5em;
  bottom: 0;
  overflow: hidden;
}

.menu__level {
  visibility: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style-type: none;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden scroll;
  &:focus {
    outline: none;
  }
}


.menu__level--current {
  visibility: visible;
}

.menu__item {
  width: 100%;
  display: block;
}

.menu__link {
  color: var(--c-grey-6);
  padding: 0.375em 2.5em 0.375em 1.5em;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.1s;
  display: block;
  position: relative;
  &>.bi.active {
    color: var(--c-ident);
  }
  & > .bi-filetype-xls + span{
    font-size: .9rem;
    color: var(--c-grey-5);
  }
}

.menu__link[data-submenu]:after {
  content: "\F138";
  color: var(--c-grey-6);
  padding: 0.25em 1.25em;
  font-family: var(--font-icons);
  position: absolute;
  right: 0;
}

.menu__link:hover,
.menu__link:focus,
.menu__link[data-submenu]:hover:after,
.menu__link[data-submenu]:focus:after {
  color: var(--c-ident);
}

.menu__link--current {
  color: var(--c-ident);
  font-weight: 700;
  &:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 60%;
    background-color: var(--c-ident);
    top: 0.5em;
    left: 4px;
  }
}

[class^="animate-"],
[class*=" animate-"] {
  visibility: visible;
}

.animate-outToRight .menu__item {
  animation: 0.6s cubic-bezier(0.7, 0, 0.3, 1) both outToRight;
}

@keyframes outToRight {
  to {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
}

.animate-outToLeft .menu__item {
  animation: 0.6s cubic-bezier(0.7, 0, 0.3, 1) both outToLeft;
}

@keyframes outToLeft {
  to {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
}

.animate-inFromLeft .menu__item {
  animation: 0.6s cubic-bezier(0.7, 0, 0.3, 1) both inFromLeft;
}

@keyframes inFromLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-inFromRight .menu__item {
  animation: 0.6s cubic-bezier(0.7, 0, 0.3, 1) both inFromRight;
}

@keyframes inFromRight {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.menu__breadcrumbs {
  padding: 2.5em 3.75em 1.5em 2.5em;
  font-size: 0.65em;
  line-height: 1;
  position: relative;
  & a {
    cursor: pointer;
    vertical-align: middle;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-grey-7);
    font-weight: bold;
    display: inline-block;
    &:last-child {
      pointer-events: none;
    }
    &:hover,
    &:focus {
      color: var(--c-grey-7);
    }
    &:not(:last-child):after {
      content: "\f280";
      color: var(--c-grey-7);
      padding: 0 0.5em 0 0.2em;
      font-family: var(--font-icons);
      display: inline-block;
      vertical-align: middle;
    }
    &:not(:last-child):hover:after,
    &:not(:last-child):focus:after {
      color: var(--c-grey-7);
    }
  }
}



.menu__back {
  z-index: 100;
  cursor: pointer;
  color: #2a2b30;
  background: none;
  border: none;
  margin: 0;
  padding: 1.365em 0.65em 0 0;
  font-size: 1.05em;
  position: absolute;
  top: 0;
  right: 2.25em;
  &:hover,
  &:focus {
    color: #fff;
    outline: none;
  }
}

.menu__back--hidden {
  pointer-events: none;
  opacity: 0;
}

.action {
  cursor: pointer;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  display: block;
  position: absolute;
  &:focus {
    outline: none;
  }
}

.action--close {
  color: #45464e;
  font-size: 1.1em;
  display: none;
  top: 1.25em;
  right: 1em;
}

.action--open {
  cursor: pointer;
}

.action--open,
.action--close {
  display: block;
}

.form-control.qty {
  border-radius: 0;
}

.g3__schoolSideCart {
  &.empty {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
  }

  & .row {
    padding: .5rem 0;
    &:not(:last-child) {
      border-bottom: solid 1px var(--c-grey-4);
    }
  }

  & .title {
    font-size: .9rem;
    font-weight: 500;
  }

  & .binding {
    font-size: .8rem;
    font-weight: 300;
  }

  & .qty {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    & div {
      color: var(--c-ident);
      font-weight: 600;
      & span {
        font-size: .8rem;
        color: #000;
        font-weight: 400;
      }
      &:last-child {
        color: var(--c-ident);
      }
    }
  }

  &.summary {
    border-bottom: solid 1px var(--c-grey-5);
    padding-top: 1rem;

    & div {
      display: flex;
      justify-content: flex-end;
      padding: .2rem 0;
    }

    & .sum,
    & div span {
      color: var(--c-ident);
      font-weight: 500;
    }

    & .sum {
      font-size: 1.2rem;
    }

    & .info {
      font-size: .9rem;
      color: var(--c-grey-6)
    }
  }

  & + div {
    padding-bottom: 1rem !important;
    border-bottom: solid 1px var(--c-grey-5);
  }
}

/* QTY PLUGIN */
.quantity-controls-popup {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  margin-top: 5px;
  min-width: 150px;
  & .btn {
    padding: .45rem 1rem !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    text-align: center !important;
    & i {
      padding: 0 !important;
    }
  }
}

.qty {
  appearance: textfield;
  -moz-appearance: textfield;
}

/* Ukrywamy strzałki up/down */
.qty::-webkit-outer-spin-button,
.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-group {
  position: relative;
}

/* Kursor tylko gdy jest readonly (czyli w trybie mobilnym) */
.qty[readonly] {
  cursor: pointer;
  /* background-color: #e9ecef; /* Można lekko poszarzyć */
}

.account-page .details div{
  font-size: 0.85rem;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  gap: .5rem;
  padding: .1rem .5rem;
  &>div{
    padding:0;
    &:first-child {
      min-width: 40%;
      font-weight: 500;
    }
    &:nth-child(2) {
      justify-content: flex-start;
      text-align: left;
      flex-grow: 1;
    }
  }
}

.cart-hintIco{
  position: absolute;
  top: 5px;
  right: 20px;
  color: var(--c-grey-4);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
  &:hover {
    color: var(--c-ident);
  }
}