/* CSS VERSION 1.36 */
/* 28 Mar 2025 */

/* =============================== */
/* SECTION NAV 
/* =============================== */

/* Style the wrapper to reserve space */
.navbar-wrapper {
    height: 80px; /* Adjust to your navbar height */
    position: relative;
}

.navbar-wrapper .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.top-bar {
    padding-top: 4px;
    padding-bottom: 10px;
    z-index: 100;
    position: relative;
}

.navbar {
    background: rgba(255, 255, 255, 0); /* Use rgba with 0 opacity instead of 'none' */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    transition: background 0.7s ease, box-shadow 0.7s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1); /* Fully opaque white */
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0; /* No transition on position or top */
}


.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: min(25px, 5%);
}


.navbar-collapse {
    justify-content: center;
    padding-bottom: 15px;
}


.navbar-brand {
    height: 50px;
    padding-left: 5%;
    margin-bottom: 15px;
}

.menu-item {
    transition: 0.4s ease-in-out;
}

.menu-item:hover {
    color: var(--red);
    letter-spacing: 0.05rem;
}

.navbar-nav  .menu-item {
    text-transform: uppercase;
    text-align: center;
}

/* NAV CART */

.nav-icons {
    display: flex;
    gap: 20px;
    position: absolute;
    right: 0;
    bottom: 15px;
}

.nav-icon {
    position: relative;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cart-count {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background-color: var(--red);
    border-radius: 50%;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 6px;
    min-width: 15px;
    text-align: center;
    line-height: 1;
}

.nav-cart,
.wc-block-mini-cart__button  {
    /* background-image: url(../images/icon-cart.png) ; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 22px !important;
    width: 22px !important;
}

/* NAV ACCOUNT */

.nav-account {
    position: relative;
}
.nav-icon a svg {
    transition: stroke 0.3s ease;
  }
  
  .nav-icon a:hover svg path {
    stroke: var(--red);
  }

  .nav-account svg .icon-stroke {
    stroke: #1C274C;
    stroke-width: 1px;
    fill: none;
    transition: stroke 0.3s ease;
  }
  
  .nav-account a:hover svg .icon-stroke {
    stroke: red;
  }

  .account-name {
    font-size: 0.8rem;
    white-space: nowrap;
    margin-top: 5px;
  }

  .account-link {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logout-link {
    position: absolute;
    top: 2px;
    right: -30px;
  }




/* =============================== */
/*  SECTION BANNER
/* =============================== */


#banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%; /* Ensure full width */
    overflow: hidden;
    padding: 5% 0;
}


.banner-headers {
    margin-bottom: 5vh;
    padding-right: 5%;
    transform: translateX(10%);
}

.magazine-title {
    font-size: 2.5rem;
    /* letter-spacing: 0.05rem; */
}

.magazine-title span {
    font-size: 2rem;
    vertical-align: middle;
    text-transform: none;
    padding-inline: 0.1rem;
    
}


.white-box-left {
    position: relative;
    background-color: #fff;
    padding: min(30px, 10%);
    border: 1px solid var(--light-grey);
    box-shadow: -10px 10px 0 var(--pale-grey);
}

.banner-content {
    transform: translateX(10%);
    padding-inline: 10%;
    z-index: 2;;
}

.banner-content .edition-articles-list {
    margin-top: 40px;
}

.issue-text-box{
    position: absolute;
    top: -25px;
    left: -25px;
    border: 1px solid var(--light-grey);
    padding:10px 35px;
    background-color: #fff;
}




.banner-slide {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
    object-fit: cover;
}

.banner-image-wrapper {
    transition: 0.8s ease-in-out;
}

.banner-image-wrapper:hover {
    transform: scale(1.03) rotate(1deg);
}

/* =============================== */
/*  SECTION ABOUT US
/* =============================== */

.images-overlapping {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.images-overlapping img {
    width: 65%;
    box-shadow: -8px 8px 0 var(--pale-grey);
}

.about-img-1 {
    display: block;
    z-index: 1;
}
.about-img-2 {
    display: block;
    z-index: 2;
    margin-left: -150px;
    margin-top: 100px;
}

.about-us-headers {
    margin-bottom: 40px;
}

.images-overlapping img {
    opacity: 0;
    transform: translateX(-80px); /* start slightly off-screen to the left */
    transition: opacity 0.9s ease, transform 0.6s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1);
    
  }
  
  .images-overlapping img.animate {
    opacity: 1;
    transform: translateX(0);
  }

/* =============================== */
/*  SECTION LATEST ARTICLES
/* =============================== */

/* Tile appearance */
.articles-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
}

.featured-article {
    width: 100%;
    margin-bottom: 20px;
}

.small-article {
    width: calc(50% - 20px);
}



.article-card {
    position: relative;
    border: 1px solid var(--light-grey);
    box-shadow: -8px 8px 0 var(--pale-grey);
}

.category-box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 40px;
    padding: 5px 10px;
    background-color: #fff;
    border: 1px solid var(--light-grey);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    z-index: 2;
}

/* Article image */
.article-image {
    height: 220px;
}

.featured-article .article-image {
    height: 400px;
}

.article-image img {
    width: 100%;
    object-fit: cover;
}
.article-image.image-center img {
    object-position: center center;
}

.article-image.image-top img {
    object-position: top center;
}

.article-image.image-bottom img {
    object-position: bottom center;
}

/* Article content */
.article-content {
    padding: 20px 10%;
    padding-bottom: 10px;
    height: auto;
}

.article-content h3 {
    /* font-family: 'Anton', sans-serif; */
    color: var(--sky-blue);
    font-weight: 700;
    text-transform: none;
    font-size: 1.8rem;
}



.article-content p {
    font-size: 0.9rem;
}

.article-author {
    /* position: absolute; */
    bottom: 0.5rem;
    width: 100%;
}


.article-author p {
    padding-inline: 10%;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

/* =============================== */
/*  SECTION LAST EDITIONS
/* =============================== */

.editions-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.edition-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    margin: 0 auto;
}

.edition-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edition-cover {
    position: relative;
    transition: 0.3s ease-in-out;
}

.edition-cover-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.4s ease-in-out;
    opacity: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255   , 0.4), rgba(255, 255, 255, 1));
}

.edition-cover:hover .edition-cover-overlay {
    opacity: 1;
}

.edition-cover-link {
    color: var(--sky-blue);
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid var(--sky-blue);
    padding: 10px 20px;
    text-align: center;
}

.edition-title {
    text-align: center;
    margin-top: 20px;
}

.edition-title h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

/* =============================== */
/*  SECTION PARTNER PHARMACIES
/* =============================== */

.pharmacies-text {
    padding-inline: 5%;
}

.pharmacies-email {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sky-blue);
}

.pharmacies-image {
    max-width: 400px;
}

/* =============================== */
/*  SECTION ORDER SUBSCRIPTION
/* =============================== */

#subscription {
    background-image: url(../images/subscription-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.subscription-texts h3 {
    /* font-family: 'A#banton', sans-serif; */
    color: var(--graphite);
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-transform: none;
}


.subscription-images {
    display: flex;
    flex-direction: row;
}

.subscription-images img {
    max-width: 200px;
}

.subscription-img-1 {
    margin-bottom: 50px;
}

.subscription-img-2 {
    margin-top: 50px;
}

/* |||||||||||||||||||||||||||||||||||||||||||||||||||| */
/* PAGE ARCHIVE ARTICLE */
/* |||||||||||||||||||||||||||||||||||||||||||||||||||| */

.subpage-content {
    padding-top: 100px;
    padding-bottom: 100px;
}
.subpage-title {
    margin-bottom: 50px;
}

.subpage-content h1 {
    text-align: center;
}



.pagination,
.woocommerce-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 30px;
}
.pagination a,
.pagination span,
.woocommerce-pagination a,
.woocommerce-pagination span {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background: #eee;
    color: #333;
    text-decoration: none;
}
.pagination .current,
.woocommerce-pagination .current {
    background: #000;
    color: #fff;
}

.page-numbers {
    display: flex;
    padding-left: 0
    ;
}


#archive-article .small-article {
    width: unset;
}

.article-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.article-row .small-article-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
}





/* |||||||||||||||||||||||||||||||||||||||||||||||||||| */
/* PAGE SINGLE ARTICLE */
/* |||||||||||||||||||||||||||||||||||||||||||||||||||| */

/* Article banner */
.single-article-banner img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    object-position: center center;
}

.single-article-banner-texts {
    position: relative;
    padding: 30px 8%;
    max-width: 600px;
    top: -80px;
    left: 100px;
    width: 100%;
}

.single-article-banner-texts h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
}

.single-article-banner-texts .article-author {
    margin-top: 20px;
    position: relative;
}

.single-article-banner-texts .article-author p  {
    padding-inline: 0;
    margin-bottom: 0;
}
/* Article content */
.single-article-content {
    margin-top: -100px;
    padding-bottom: 100px;
}

.single-article-content pre {
    font-family: 'Didot', serif;
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 700;
}

.article-full-content,
.article-preview {
    max-width: 800px;
    margin: 0 auto;
}

.single-article-content h4 {
    font-weight: 500;
}

.btn-back {
    background: #fff;
    color: var(--navy-blue);
    border: 1px solid var(--navy-blue);
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    min-width: 200px;
    margin: 20px auto;
    transition: 0.4s ease-in-out;
}

.btn-back:hover {
    background: var(--navy-blue);
    color: #fff;
}

#single-article ul li {
    list-style: circle;
}

#single-article blockquote {
    font-family: 'Didot', serif;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 600;
}

.wp-element-caption {
    display: none;
}


/* LOCK MESSAGE */
.lock-message {
    position: relative;
    display: block;
    background: url(../images/subscription-bg.webp) no-repeat center center;
    padding: min(5%, 40px) min(10%, 40px);
    width: 120%;
    transform: translateX(-10%);
    border-radius: 10px;
    margin: auto;
    z-index: 1;
    isolation: isolate; /* required for z-index stacking */
    overflow: visible;   /* make sure the :before can extend above */
}

/* .lock-message::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: 200px; 
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
    z-index: -1; 
} */
 
.lock-message p {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.lock-price p {
    margin-bottom: 0;
}
.lock-price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.lock-cta {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}



/* =============================== */
/*  PAGE SINGLE EDITION
/* =============================== */

#single-edition {
    margin-top: 80px;
}

.breadcrumbs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.edition-content {
    margin-top: 40px;
    padding-inline: 10%;
}

.edition-content h5 {
    letter-spacing: 0.2rem;
    margin-bottom: 20px;
}

.edition-articles-list {
    padding-left: 0;
    margin-bottom: 20px;
}



.edition-articles-list a {
    font-weight: 400;
    font-size: 1.2rem;
}



.edition-articles-list li {
    margin-bottom: 0.5rem;
}
.edition-articles-list li:before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: var(--red);
    display: inline-block;
    margin-right: 10px;
    /* margin-left: -20px; */
    padding-left: 0;
    transform: translateY(0.2rem);
}

.edition-content-text ul {
    padding-left: 15px;
}

.edition-content-text li {
    list-style:disc;
    font-size: 0.8rem;
}


/* =============================== */
/*  PAGE SINGLE PRODUCT
/* =============================== */

#single-product {
    margin-top: 80px;
}

#single-product .product-title h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
}

.product-image {
    display: flex;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-image-wrap { display: flex; flex-direction: column; gap: 12px; }
.main-product-image { width: 100%; height: auto; display: block; }

.product-thumbs { 
    display: flex; flex-wrap: wrap; gap: 8px; 
}
.product-thumb { 
    border: 1px solid var(--pale-grey, #e6e6e6); padding: 0; background: none; cursor: pointer; line-height: 0; border-radius: 6px; 
}
.product-thumb.is-active { 
    outline: 2px solid var(--accent, #e00); 
}
.product-thumb .thumb-img { display: block; width: 72px; height: 72px; object-fit: cover; }


/* Product price */
.product-price {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--navy-blue);
}

.product-price span {
    font-size: 1.5rem;
}

.product-price bdi {
    font-size: 2rem;
}

/* Product add to cart & variants */
.variations_form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.variation-row {
    margin-bottom: 20px;
}

.variation-select {
    width: 160px;
    padding: 10px 20px;
    margin-right: 10px;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    gap: 10px;
}

.add-to-cart {
    margin-bottom: 20px;
}

.add-to-cart .cart {
    display: flex;
    gap: 10px;
}

.add-to-cart .quantity {
    display: flex;
    max-width: 200px;
    gap: 10px;
    border: 1px solid var(--light-grey);
}

.add-to-cart button {
    border: none;
    background: none;
}

.add-to-cart .quantity input {
    width: 100px;
    text-align: center;
    border: none;
    box-shadow: none;
    border: none !important;
}

.add-to-cart .single_add_to_cart_button {
    background: var(--navy-blue);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    min-width: 200px;
    transition: 0.4s;
}

.add-to-cart .single_add_to_cart_button:hover {
    background: var(--red);
}

/* Product short description */
.product-short-description {
    display: flex;;
    gap: 10px;
}

.product-short-description ul {
    padding-left: 15px;
  
}

.product-short-description li {
    list-style: disc;
}

/* Product properties */
.product-description-container {
    margin-top: 40px;
}


/* =============================== */
/*  PAGE STORE
/* =============================== */

/* FILTERS */
.store-page-title {
    text-transform:capitalize;      
}
.filter-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3.3rem
}

.wpc-filters-main-wrap li.wpc-term-item a {
    font-weight: 300 !important;
}


#store-page .section-title {
    margin-top: 20px
}

/* Przyciski */
.btn-drawer{
    width:48%; 
    padding:12px 14px; 
    border:1px solid var(--pale-grey,#ddd);
    background:#fff; 
    font-weight:400;
    text-transform: uppercase;
    font-size: 0.8rem;
  }
    .mobile-controls{ 
    display:none; 
    }
    #drawer, #drawer-overlay{ 
        display:none;
    }

  .btn-drawer + .btn-drawer{ margin-left:4%; }
  
  /* Overlay */
  #drawer-overlay{
    position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:1000;
  }
  
  /* Drawer */
  .drawer{
    position:fixed; top:0; right:0; height:100vh; width:min(92vw,420px);
    background:#fff; z-index:1001; display:flex; flex-direction:column;
    box-shadow: -6px 0 24px rgba(0,0,0,.15);
    transform:translateX(100%); opacity:.98; transition:transform .28s ease-out;
  }
  .drawer.open{ transform:translateX(0); }
  
  .drawer-header{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 16px; border-bottom:1px solid #eee;
  }
  .drawer-body{ padding:12px 16px 18px; overflow:auto; height:100%; }
  .drawer-close{
    border:0; background:transparent; font-size:22px; line-height:1; cursor:pointer;
  }
  

/* Breadcrumbs */

.woocommerce-breadcrumb {
    text-align: center;
    /* margin-top: -60px; */
    margin-bottom: 20px;
}

/* Ordering */

.widget_wpc_filters_widget .children {
    margin-left: 0 !important;
}

.woocommerce-ordering select {
    padding: 10px;
    border: 1px solid var(--pale-grey);
    border-radius: 0;
    background: #fff;
    color: var(--navy-blue);
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
}

/* <ul> from Woo products */
#store-page .products {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#store-page .products div {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

#store-page .products .button {
    border: 1px solid var(--navy-blue);
    color: var(--navy-blue);;
    padding: 10px 20px;
    font-size: 0.8rem;
    transition: 0.4s ease-in-out;
}

#store-page .products .button:hover {
    background-color: var(--navy-blue);
    color: #fff;
}


/* <li> from store products */
#store-page .product {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    position: relative;
    height: 420px;
    transition: 0.6s ease-in-out;
    padding: 15px;
    z-index: 1;
}

#store-page .product::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--pale-grey);
    z-index: -1;

    transform: scale(0);
    transform-origin: center;
    transition: transform 0.4s ease-in-out;
}

#store-page .product:hover::before {
    transform: scale(1);
}


#store-page .product img {
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

#store-page .product h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

#store-page .product .onsale,
.woocommerce .onsale {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--red);
    color: #fff;
    padding: 10px;
    font-size: 0.8rem;
    border-radius: 0;
}

#store-page .woocommerce-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#store-page .woocommerce-pagination ul {
    display: flex;
}

/* SWIPER */


.swiper-button-next, .swiper-button-prev {
    color: var(--pale-grey);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
}

/* =============================== */
/*  PAGE CART
/* =============================== */

/* Info messages */
.woocommerce-message {
    background-color: #ffffff;
    border-top: none;
    border: 1px solid #0f8828;
    box-shadow: 0 15px 30px rgba(56, 107, 144, 0.15);
    color: var(--graphite);
}

.button.wc-forward {
    background-color: var(--navy-blue) !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 25px !important;
    font-size: 0.8rem !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    transition: 0.4s ease-in-out;
}   

.button.wc-forward:hover {
    background-color: #fff !important;
    color: var(--navy-blue) !important;
    border: 1px solid var(--navy-blue) !important;
}

/* Produc;s table styles */
#cart-page .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents,
#cart-page .woocommerce table.shop_table{
    border: none;
}

#cart-page thead th {
    font-weight: 300;
    text-transform: uppercase;
}

#cart-page .woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th{
    font-weight: 500;
}


#cart-page .product-thumbnail img {
    max-height: 150px;
}

#cart-page .product-price {
    color: #000;
}

#cart-page .product-price bdi {
    font-size: 1rem;
    font-weight: 300;
    color: #000;
}

#cart-page .product-price span {
    font-size: 1rem;
}

/* Quantity */
#cart-page .quantity input {
    width: 120px;
}

#cart-page .quantity button {
    border: none;
    background: none;
}

#cart-page .quantity .minus {
    transform: translateX(25px)
}

#cart-page .quantity .plus {
    transform: translateX(-25px);
}

/* Coupon */

#cart-page .coupon {
    display: flex;
    align-items: center;
    /* gap: 10px; */
}

#cart-page .coupon input{
    width: 200px;
}

#cart-page .coupon button {
    background: var(--navy-blue);
    color: #fff;
    border: none;
    padding: 17px 20px !important;
    font-size: 0.8rem !important;
    font-weight: 300 !important;
    border-radius: 0 !important;
    transition: 0.4s ease-in-out;
    /* transform: translateY(-4px); */
    text-transform: uppercase;
}

.update-cart {
    border: 1px solid var(--navy-blue);
    color: var(--navy-blue);
    padding: 17px 20px !important;
    font-size: 0.8rem !important;
    font-weight: 300 !important;
    border-radius: 0 !important;
    transition: 0.4s ease-in-out;
    /* transform: translateY(-1px); */
    text-transform: uppercase;
}

.update-cart:hover {
    background-color: var(--navy-blue);
    color: #fff;
}

.woocommerce a.remove:hover {
    background: none;
}

.product-remove a svg {
    color: #000;
    transition: 0.4s ease-in-out;
}

.product-remove a svg:hover {
    color: var(--red);
    transform: scale(1.1);
}


/* Cart summary */

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    width: 100%;
    margin-top: 40px;
}

#cart-page .cart_totals table {
    padding: 40px 10%;
    border: 1px solid var(--pale-grey);
    box-shadow: -10px 10px 0 var(--pale-grey);
}

.wc-proceed-to-checkout {
    margin-top: 40px;
    text-align: center;
}

.wc-proceed-to-checkout a {
    background-color: var(--red) !important;
    color: #fff;
    border: none;
    padding: 20px 30px !important;
    font-size: 0.9rem !important;
    font-weight: 300 !important;
    text-transform: uppercase;
    transition: 0.4s;
    border-radius: 0 !important;
}

.wc-proceed-to-checkout a:hover {
    background-color: #fff !important;
    color: var(--red) !important;
    border: 1px solid var(--red) !important;
}


/* =============================== */
/*  PAGE CHECKOUT
/* =============================== */

/* Info Boxes */
.woocommerce-info {
    padding: 1em 2em 1em 3.5em;
  margin: 0 0 2em;
  position: relative;
  background-color: var(--sky-blue);
  box-shadow: 0 15px 30px rgba(56, 107, 144, 0.3);
  color: var(--graphite);
  border-top: none;
  border: 1px solid var(--light-grey);
  width: auto;
  word-wrap: break-word;
}

.woocommerce-info::before {
    color: var(--graphite);
}

.woocommerce-error {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 2em;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 2em;
      margin-left: 0px;
    position: relative;
    background-color:var(--red);
    color: #fff;
    border-top: none;
    box-shadow: 0 5px 30px rgba(237, 28, 36, 0.1);
}

.woocommerce-error::before {
    color: var(--red);
}

/* Checkout coupon */

.woocommerce form.checkout_coupon {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout_coupon button {
    background-color: var(--navy-blue) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    border: none;
    padding: 0.5em !important;
    min-width: 200px;
    height: 44px;
    font-size: 0.8rem !important;
    font-weight: 300 !important;
    border-radius: 0 !important;
    transition: 0.4s ease-in-out;
}

.checkout_coupon button:hover {
    background-color: #fff !important;
    border: 1px solid var(--navy-blue);
    color: var(--navy-blue) !important;
}

/* MAIN CHECKOUT FORM */
#checkout-page #customer_details,
#checkout-page .woocommerce-shipping-fields,
#checkout-page .woocommerce-billing-fields {
    margin-bottom: 40px;
}

#checkout-page .woocommerce form .form-row {
    padding: 0
}

input,
select,
textarea {
    border-radius: 0 !important;
    border: 1px solid #c4c4c4 !important;
    transition: 0.3s ease-in-out;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border: none;
    box-shadow: -3px 3px 20px rgba(131, 184, 215, 0.222);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;    
    background-color: white;  
}
.select2-container .select2-selection--single {
    border-radius: 0 !important;
    border: 1px solid #c4c4c4 !important;
    transition: 0.3s ease-in-out;
}

.select2-container .select2-selection--single:focus {
    outline: none;
    border: none;
    box-shadow: -5px 5px 0 var(--sky-blue);
}


/* CHECKOUT REVIEW */
#checkout-page .woocommerce table.shop_table{
    box-shadow: -10px 10px 0 var(--pale-grey);
}

.woocommerce-checkout-review-order {
    font-size: 0.9rem;
}

.woocommerce-checkout-review-order thead {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

#checkout-page .shop_table.woocommerce-checkout-review-order-table th {
    font-weight: 300;
}

#checkout-page .woocommerce-checkout-review-order-table {
    padding: 20px 5%;
}


/* PAYMENT METHODS */
#checkout-page .woocommerce-checkout-payment {
    padding: 20px 5%;
    background: var(--light-blue);
    box-shadow: -10px 10px 0 var(--pale-grey);
}

/* Payment methond comment */
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background: var(--sky-blue);
    color: #fff;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    content: "";
    display: block;
    border: 1em solid var(--sky-blue);
      border-top-color: rgb(220, 215, 226);
      border-right-color: rgb(220, 215, 226);
      border-left-color: rgb(220, 215, 226);
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
    position: absolute;
    top: -.75em;
    left: 0;
    margin: -1em 0 0 2em;
}

#place_order {
    background-color: var(--red);
    color: #fff;
    border: none;
    padding: 20px 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: 0.4s ease-in-out;
    font-weight: 300;
    border-radius: 0 !important;
}

#place_order:hover {
    background-color: #fff;
    color: var(--red);
    letter-spacing: 0.02rem;
    font-weight: 500;
    border: 1px solid var(--red);
}

/* =============================== */
/*  PAGE APTEKI PARNERSKIE
/* =============================== */

.tablepress th {
    background-color: var(--sky-blue) !important;
    color: #fff !important;
}

.tablepress th strong {
    font-weight: 400 !important;
}
/* =============================== */
/*  PAGE CONTACT
/* =============================== */

.contact-form-section {
    padding-top: min(5%, 60px);
    padding-bottom: min(5%, 60px);
}

.contact-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    min-width: 700px;
    height: 100%;
    z-index: -1;
}

.contact-form-wrapper {
    position: relative;
    background-color: #fff;
    padding: 40px min(10%, 80px);
    z-index: 1;
}

.contact-form-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3rem;
    color: var(--red);
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
    width: 100%;
    border-radius: 10px;
}

.contact-form-wrapper p {
    margin-bottom: 0;
}

.form-wrapper label,
.form-wrapper p {
    /* width: 100%; */
    font-size: 0.8rem;
    text-align: center;
}

    .contact-form-wrapper label {
        margin-top: 10px;
    }

input, textarea {
    border: 1px solid #c4c4c4;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}


textarea {
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 20px;
}

.wpcf7 input,
.wpcf7 textarea {
    transition: 0.3s ease-in-out;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border: 2px solid var(--brown);
}


.wpcf7-submit {
    background-color: var(--dark-green);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    min-width: 200px;
    max-width: 300px;
    transition: 0.4s;
}

.wpcf7-submit:hover {
    background-color: #2ea2a8;

}

.submit-row p {
    display: flex;
    flex-direction: column;

    align-items: center;
}

.wpcf7-not-valid-tip {
    background-color: rgb(185, 0, 0);
    color: #fff;
    padding-inline: 10px;
}

.wpcf7-response-output {
    background-color: #ffb027;
    color: #000;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #0f8828;
    border-color: #0f8828 !important;
    color: #fff;
}


/* ACCEPTANCES */

.form-acceptances {
    padding-left: 30px;
}

.form-acceptances .wpcf7-list-item {
    margin: 0;
}


.form-acceptances p {
    margin-bottom: 0; 
    font-size: 0.8rem;
}

.form-visible {
    position: relative;
    margin-left: 30px;
    /*margin-bottom: 15px;*/
}


.wpcf7-list-item {
    margin: 0 !important; 
}

.form-acceptances label {
    transform: translateY(0) !important;
}

.form-visible p {
    position: relative;
    display: block;
}

.form-marketing {
    margin-bottom: 10px
}

.form-visible  .wpcf7-acceptance {
    padding-left: 0 !important;
}


.form-acceptances input[type='checkbox'] {
    position: absolute;
    left: -30px;
    top:5px;
}

.form-acceptances .wpcf7-form-control-wrap {
    height: auto !important;
}

/* SUBMIT BUTTON */

.submit-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.submit-wrapper .cta {
    min-width: 200px;
}

/* CONTACT INFO */


.contact-logo {
    width: 90%;
    max-width: 400px;
    margin-bottom: 40px;
}

.contact-info-row {
    margin-bottom: 20px;
}

.contact-info-title {
    font-weight: 700
};

.contact-info-item {
    position: relative;
}

.contact-info-address:before {
    content: "";
    background: url(../images/location-icon.png) no-repeat center center;
    background-size: contain;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    margin-right: 10px;
    transform: translateY(0.3rem);
}

.contact-info-phone:before {
    content: "";
    background: url(../images/phone-icon.png) no-repeat center center;
    background-size: contain;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    margin-right: 10px;
    transform: translateY(0.3rem);
}

.contact-info-mobile:before {
    content: "";
    background: url(../images/mobile-icon.png) no-repeat center center;
    background-size: contain;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    margin-right: 10px;
    transform: translateY(0.3rem);
}

.contact-info-email:before {
    content: "";
    background: url(../images/email-icon.png) no-repeat center center;
    background-size: contain;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    margin-right: 10px;
    transform: translateY(0.3rem);
}

/* =============================== */
/* PAGE LOGIN */
/* =============================== */

.woocommerce-form-login {
    border-radius: 0 !important;
}

.woocommerce-form-login__submit {
   background-color: var(--navy-blue) !important;
   color: #fff !important;
   border: none;
   border-radius: 0 !important;
   padding: 20px 30px !important;
   font-size: 0.8rem !important;
   font-weight: 300 !important;
   text-transform: uppercase;
   transition: 0.4s ease-in-out;
}

.woocommerce-form-login__submit:hover {
    background-color: #fff;
    color: var(--navy-blue);
    border: 1px solid var(--navy-blue);
}

.woocommerce-form-login__rememberme {
    margin-top: 10px;
}


/* =============================== */
/* PAGE ACCOUNT */
/* =============================== */

.woocommerce-MyAccount-navigation {
    border: 1px solid var(--light-grey);
    padding: 20px 10px;
}

.woocommerce-MyAccount-content {
    border: 1px solid var(--light-grey);
    padding: 20px 10%;
}

.woocommerce-Address-title h4 {
    font-size: 1.3rem;
    font-weight: 500;
}

.woocommerce-Button.button {
    background-color: var(--navy-blue)!important; 
    color: #fff!important;
    border: none!important;
    border-radius: 0!important;
    padding: 15px 25px!important;
    font-size: 0.8rem!important;
    font-weight: 300!important;
    text-transform: uppercase!important;
    transition: 0.4s ease-in-out;
}

.woocommerce-Button.button:hover {
    background-color: #fff!important;
    color: var(--navy-blue)!important;
    border: 1px solid var(--navy-blue)!important;
}



/* =============================== */
/*  SECTION FOOTER
/* =============================== */


footer {
    position: relative;
    min-height: 200px;
    box-shadow: 0px -10px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
    color: #000;
  }
  
  footer h5 {
    font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  
  footer p, 
  footer a,
  footer li {
    margin-bottom: 0;   
    font-size: 0.9rem;
  }
  footer ul {
    padding-left: 0;
}

.footer-main-area {
    padding-top: 5%;
    padding-bottom: 5%;
}

  .footer-main-area p,
  .footer-main-area a {
    text-transform: uppercase;
  }


footer .wp-block-spacer  {
    height: 30px !important;
}

.footer-logo {
    padding-top: 25px;
    padding-inline: 20px;
 }

 .footer-logo img {
    height: auto
 }

.footer-menu {
    padding-left: 0;
}

.footer-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 10%;
}

.footer-payments h5 {
    margin-bottom: 20px;
    text-align: left;
}

.footer-payments img {
    height: 30px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
 
/* BLACK BOTTOM ROW */

.black-footer {
    background-color: #000;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

  .social-icons-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

  .social-icon {
    width: 30px;
    height: 30px;

  }

.social-icon path {
    transition: 0.4s ease-in-out;
}

  .social-icon:hover path {
    fill: #fff
  }


  .copyright {
    display: flex;
    justify-content: center;
  }

  .copyright p {
    text-align: center;
  }



/* SECTION MEDIA QUERIES   /////////////////////////////// */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media (max-width: 1450px) {


}
@media (max-width: 1300px) {

}


@media (max-width: 992px) {
    
/* NAV */
  .navbar {
    height: 120px;
    padding-bottom: 35px;
  }
    
  .navbar-wrapper .container {
    flex-direction: row;
  }

  .navbar-brand {
    padding-left: 0;
    transform: translateX(40px);
  }

  .navbar-collapse {
    padding-top: 50px;
    padding-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 30px 25px rgba(0, 0, 0, 0.15);
  }

  .nav-icons {
    right: unset;
    left: 50%;
    transform: translateX(-50%);
    bottom: unset;
    top: 50px;
  }

  .white-box-left {
    padding: 5%;
    padding-top: 7%;
  }
/*  BANNER */
  #banner {
    padding-inline: 5%;
    }

    .banner-headers {
        transform: translateX(0);
    }

    h1 {
        text-align: center;
    }

    .banner-headers h4 {
        text-align: center;
    }
    .banner-content{
        transform: translateX(0);
        padding-inline: 5%;
        margin-bottom: 80px;
    }


    .issue-text-box {
        top: -10px;
    }

    .banner-image {
    padding-inline: 15%;
    margin-top: 40px;
    }
   
}

@media (max-width: 768px) {

    /* ABOUT US */
    .about-row {
        display: flex;
        flex-direction: column-reverse;
    }
    .images-overlapping {
        margin-top: 40px;
        padding-inline: 10%;;
    }

    /* ARTICLES */
    .articles-container {
        padding-inline: 10%;
    }

    .small-article {
        width: 100%;
    }
    .article-content {
        margin-bottom: 4rem;
    }

    .article-row {
        flex-direction: column;
    }

    .article-row .small-article-wrapper {
        width: 100% !important;
    }

    /* EDITIONS */
    .editions-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* PHARMACIES */
    .pharmacies-text {
        margin-bottom: 50px
    }

    .pharmacies-email {
        display: block;
        margin: auto;
        text-align: center;
    }

    /* SUBSCRIPTION */
    #subscription {
        margin-top: 100px; 
    }
    

    .subscription-texts h3 {
        text-align: center;
    }

    .subscription-images {
        margin-top: 50px;
    }

    /* SINGLE ARTICLE */
    .single-article-banner-texts {
        left: 0;
    }

    /* SINGLE EDITION */
    .white-box-mobile {
        background-color: #fff;
        padding: 10%;
        border: 1px solid var(--light-grey);
        box-shadow: -10px 10px 0 var(--pale-grey);
        margin-bottom: 20px;
        /* margin-top: -200px; */
    }

    /* FOOTER */
    .footer-main-area {
        padding-top: 10%;
        padding-bottom: 10%;
        gap: 20px;
    }

    .logo-footer-widget {
        max-width: 300px;
    }

    /* STORE */
    .mobile-controls{ 
        display:flex; 
        }
    #drawer, #drawer-overlay{ 
        display:block;
    }



        .scroll-lock{ overflow:hidden; }

    /* SINGLE PRODUCT */
    .woocommerce-variation-add-to-cart {
        justify-content: center;

    }

    /* CART */

    #cart-page .cart_item {
        margin-bottom: 40px;
    }
    
    .woocommerce-cart-form .product-thumbnail,
    .woocommerce-cart-form .product-name,
    .woocommerce-cart-form .product-remove {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
    }
    #cart-page .coupon button {
        transform: translateY(0);
    }
    

}

@media (max-width: 576px) {
        .navbar-brand {
            height: 40px;
            transform: translateX(30px);
        }

        .issue-text-box h5 {
            font-size: 1rem;
        }
        
        .edition-articles-list a {
            font-size: 1rem;
        }

        .white-box-mobile h1 {
            font-size: 3rem;
            line-height: 3rem;
        }
    }

@media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }