@import url(variables.css);

@media screen and (max-width: 63.9375em) {
  .header {
    padding: 15px 0;
  }
  .header .logo img {
    max-height: 50px;
    width: auto;
  }
  .header .top-bar .top-bar-right {
    flex: auto;
    margin: 15px 0;
  }
  .header .title-bar {
    position: relative;
    background: transparent;
    padding: 0;
    justify-content: space-between;
  }
  .header .title-bar-left, .header .title-bar-right {
    flex: auto;
  }
  .header .title-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .header .title-bar-right > *:not(:last-child) {
    margin-right: 20px;
  }
  .header .menu-icon {
    width: 26px;
    height: 18px;
    margin: 0;
  }
  .header .menu-icon::after {
    background: var(--color-black);
    -webkit-box-shadow: 0 8px 0 var(--color-black), 0 16px 0 var(--color-black);
    box-shadow: 0 8px 0 var(--color-black), 0 16px 0 var(--color-black);
  }
  .header .drilldown a {
    background: var(--color-white);
    font-family: var(--font-header);
    font-size: 1.125rem;
    font-weight: var(--global-weight-medium);
    color: var(--color-black);
    padding: 0.7rem 1rem 0.7rem 0;
  }
  .header .is-drilldown li:not(:last-child) {
    border-bottom: 1px solid var(--color-accent);
  }
  .header .is-drilldown li.is-submenu-parent-item a {
    color: var(--color-primary);
    text-decoration: underline;
  }
  .header .drilldown .is-drilldown-submenu {
    margin: 0;
  }
  .drilldown .is-drilldown-submenu-parent > a::after {
    border-color: transparent transparent transparent var(--color-primary);
  }
  .drilldown .js-drilldown-back > a::before {
    border-color: transparent var(--color-primary) transparent transparent;
  }

  .header #wp-megamenu-primary {
    position: absolute;
    width: 100%;
  }
  .header .wpmm-nav-wrap {
    display: flex !important;
    justify-content: flex-end;
  }
  .header .wpmm-nav-wrap a.wpmm_mobile_menu_btn {
    display: flex !important;
    padding: 0;
    margin: 0;
    background: transparent;
  }
  .header .wpmm-nav-wrap a.wpmm_mobile_menu_btn i::before {
    font-size: 28px;
  }
  .header .wpmm-nav-wrap ul.wp-megamenu {
    top: 40px;
  }


  .header.nav {
    padding: 0;
  }
}



@media screen and (max-width: 47.9375em) {
  .button {
    padding: 0.8125rem 1.375rem;
  }


  h1 span {
    font-size: 0.8125rem;
  }


  .breadcrumbs li {
    font-size: 0.75rem;
  }


  .carousel-slider-container.carousel-slider-nav-spacing {
    margin-bottom: 40px;
  }
  .carousel-slider-nav {
    bottom: -40px;
  }
  .carousel-slider-nav li {
    width: 20px;
    margin: 0 4px;
  }


  .carousel-slider-controls.products-slider-controls {
    width: calc(100% + 30px);
  }


  .header {
    padding: 10px 0;
  }


  .header-nav.sticky .logo img {
    max-height: 44px;
  }


  .header .logo img {
    max-height: 60px;
    width: auto;
  }


  .header-search {
    max-width: none;
    width: 100%;
  }
  .header-buttons ul li:not(:last-child) {
    margin-right: 20px;
  }
  .header-buttons ul li a {
    padding: 0;
  }
  .header-buttons ul li a.primary,
  .header-buttons ul li a.accent,
  .header-buttons ul li a.primary:hover,
  .header-buttons ul li a.accent:hover {
    background: none;
  }
  .header-buttons ul li a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
  .header-buttons ul li a.primary img {
    filter: invert(42%) sepia(83%) saturate(417%) hue-rotate(79deg) brightness(97%) contrast(88%);
  }
  .header-buttons ul li a span {
    display: none;
  }


  .banner {
    padding: 10vh 0;
  }
  .banner-text {
    padding-top: 18px;
  }
  .banner-buttons {
    padding-top: 30px;
  }
  .banner-buttons a {
    margin: 10px 10px 0 0;
  }


  .section {
    padding: 60px 0;
  }
  .section-small {
    padding: 40px 0;
  }
  .section-title {
    padding-bottom: 30px;
  }
  .section-buttons {
    padding-top: 25px;
  }
  .section-buttons.section-buttons-center {
    padding-top: 40px;
  }
  .section-img {
    margin: 5px 0 20px 0;
  }


  .loop-spacing {
    padding-top: 50px;
  }
  .loop-1-2-4 .cell:nth-child(n+2) {
    padding-top: 30px;
  }
  .loop-1-2-3 .cell:nth-child(n+2) {
    padding-top: 30px;
  }
  .loop-1-2-2 .cell:nth-child(n+2) {
    padding-top: 30px;
  }
  .loop-1-3-3 .cell:nth-child(n+2) {
    padding-top: 30px;
  }
  .loop-2-2-4 .cell:nth-child(n+3) {
    padding-top: 30px;
  }
  .loop-2-3-3 .cell:nth-child(n+3) {
    padding-top: 30px;
  }
  .loop-2-3-4 .cell:nth-child(n+3) {
    padding-top: 30px;
  }
  .loop-1-1-3 .cell:nth-child(n+2) {
    padding-top: 30px;
  }
  .loop-1-1-2 .cell:nth-child(n+2) {
    padding-top: 30px;
  }


  .top-left ul li:not(:first-child) {
    margin-left: 15px;
  }
  .top-left ul li a i {
    font-size: 1.0625rem;
  }
  .top-left ul li a span {
    display: none;
  }
  .top-right ul li a {
    width: 23px;
    height: 23px;
    font-size: 0.9375rem;
  }


  .promo-code {
    font-size: 0.875rem;
  }
  .promo-code span {
    width: 26px;
  }


  .icon-box {
    width: 100%;
  }
  .icon-box-img img {
    width: 64px;
    height: 64px;
  }
  .icon-box-title {
    padding-top: 10px;
    font-size: 1.125rem;
  }
  .icon-box-text {
    padding-top: 10px;
  }


  .product-category-title {
    font-size: 1rem;
  }
  .product-category-title span {
    font-size: 0.875rem;
  }


  .cta {
    padding: 10vh 0 11vh 0;
  }
  .cta-title {
    font-size: 2rem;
  }
  .cta-text {
    font-size: 1.25rem;
  }
  .cta-btn {
    padding-top: 30px;
  }


  .footer {
    padding: 60px 0 20px 0;
    font-size: 0.9375rem;
  }
  .footer-col-title {
    margin-bottom: 5px;
    font-size: 1.125rem;
  }
  .footer ul li {
    line-height: 1.45;
  }
  .footer .grid-x .cell:nth-child(n+2) {
    padding-top: 20px;
  }


  .copyright {
    padding: 0 0 20px 0;
    font-size: 0.8125rem;
    line-height: 1.5;
  }


  .contact-details {
    padding: 20px 15px;
    margin-bottom: 40px;
  }
  .contact-details span {
    font-size: 1.0625rem;
  }
  .contact-form h1 {
    margin-bottom: 30px;
  }


  .news-loop .cell:nth-child(n+2) {
    padding-top: 40px;
  }
  .news-sidebar {
    padding-top: 40px;
  }


  .certificates {
    padding-top: 40px;
  }


  /* Single product --> gallery */
  .woocommerce-product-gallery .woocommerce-product-gallery__image a img {
    height: 300px;
  }


  /* Single product --> summary */
  div.summary {
    padding-top: 30px;
  }


  /* Single product --> quantity + add to cart */
  div.summary form.cart > button {
    padding: 1rem 1.25rem;
  }


  /* Cart **/
  .cart .shop_table thead tr th.product-subtotal {
    display: none;
  }
  .cart .shop_table tbody .cart_item td {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .cart .shop_table tbody .product-name .product-thumbnail {
    padding-right: 10px;
  }
  .cart .shop_table tbody .product-name .product-thumbnail img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .cart .shop_table tbody .product-name .product-name-info {
    line-height: 1;
  }
  .cart .shop_table tbody .product-name .product-name-info a {
    font-size: 0.8125rem;
  }
  .cart .shop_table tbody .product-price {
    padding-right: 0;
    padding-left: 0;
    font-size: 0.875rem;
  }
  .cart .shop_table tbody .product-quantity .quantity input,
  .cart .shop_table tbody .product-quantity .quantity button {
    height: 2.5rem;
  }
  .cart .shop_table tbody .product-quantity .quantity input {
    width: 36px;
    font-size: 0.75rem;
  }
  .cart .shop_table tbody .product-quantity .quantity button {
    font-size: 0.625rem;
  }
  .cart .shop_table tbody .product-subtotal {
    display: none;
  }
  .cart .shop_table tbody .product-remove {
    width: 22px;
    padding-left: 0;
  }
  .cart .shop_table tbody .product-remove a.remove {
    width: 22px;
    height: 22px;
  }
  .cart .shop_table tbody .product-remove a.remove svg {
    width: auto;
    height: 14px;
  }
  .cart .shop_table tbody .actions {
    padding-top: 20px;
  }


  /* Cart totals */
  .cart-collaterals {
    margin: 30px 0 0 0;
    padding: 30px 20px;
  }
  .cart-collaterals .coupon input,
  .cart-collaterals .coupon button {
    padding: 0 1rem;
  }
  .cart-collaterals .shop_table tbody {
    display: flex;
    flex-direction: column;
  }
  .cart-collaterals .shop_table tbody tr.cart-subtotal,
  .cart-collaterals .shop_table tbody tr.order-total {
    display: flex;
    justify-content: space-between;
  }
  .cart-collaterals .shop_table tbody tr.cart-subtotal td,
  .cart-collaterals .shop_table tbody tr.order-total td {
    padding-right: 0;
  } 
  .cart-collaterals .shop_table tbody tr.woocommerce-shipping-totals {
    display: flex;
    flex-direction: column;
  }
  .cart-collaterals .shop_table tbody tr.woocommerce-shipping-totals td {
    padding-left: 0;
  }
  .cart-collaterals .wc-proceed-to-checkout a {
    padding-left: 1rem;
    padding-right: 1rem;
  }


  /* Checkout */
  .checkout-summary {
    margin: 30px 0 0 0;
    padding: 30px 20px;
  }
  .checkout-summary .shop_table {
    display: flex;
    flex-direction: column;
  }
  .checkout-summary .shop_table tr {
    display: flex;
    justify-content: space-between;
  }
  .checkout-summary .shop_table tr.woocommerce-shipping-totals {
    display: flex;
    flex-direction: column;
  }
  .checkout-summary .shop_table tr.woocommerce-shipping-totals td {
    padding-left: 0;
  }


  /* Notices */
  .woocommerce-message {
    align-items: flex-start;
    flex-direction: column-reverse;
  }
  .woocommerce-message a {
    margin: 15px 0 0 0;
  }


  /* Shop results and order */
  .shop-results-and-order {
    font-size: 0.875rem;
  }
  .shop-results-and-order select {
    margin: 10px 0 0 0;
    height: 2.75rem;
  }


  /* Categories & products listing */
  .shop-products-listing .cell:nth-child(n+3) {
    padding-top: 30px;
  }
  .product-cat-inner-title h2 {
    padding: 0 0 8px 0;
    font-size: 0.875rem;
  }
  .product-cat-inner-title span.price {
    font-size: 1rem;
  }





  /* My Account --> login, register form */
  .woocommerce-form-login {
    margin-bottom: 40px;
  }
  /* My account navigation */
  .woocommerce-MyAccount-navigation {
    margin-bottom: 40px;
  }


  /* Shop categories buttons */
  ul.shop-categories-buttons li a {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}



@media screen and (min-width: 48em) and (max-width: 63.9375em) {  
  .banner {
    padding: 11vh 0;
  }


  .section {
    padding: 90px 0;
  }
  .section-small {
    padding: 60px 0;
  }
  .section-img {
    margin: 10px 0 30px 0;
  }


  .loop-1-2-4 .cell:nth-child(n+3) {
    padding-top: 30px;
  }
  .loop-1-2-3 .cell:nth-child(n+3) {
    padding-top: 30px;
  }
  .loop-2-2-4 .cell:nth-child(n+3) {
    padding-top: 30px;
  }
  .loop-2-3-3 .cell:nth-child(n+4) {
    padding-top: 30px;
  }
  .loop-2-3-4 .cell:nth-child(n+4) {
    padding-top: 30px;
  }
  .loop-1-1-3 .cell:nth-child(n+2) {
    padding-top: 30px;
  }
  .loop-1-1-2 .cell:nth-child(n+2) {
    padding-top: 30px;
  }


  .header .logo img {
    max-height: 90px;
    width: auto;
  }


  .header-nav.sticky .logo img {
    max-height: 70px;
  }


  .header-search {
    max-width: none;
    width: 100%;
  }
  .header-buttons ul li a span {
    display: none;
  }


  .icon-box {
    width: 100%;
  }


  .cta {
    padding: 10vh 0 11vh 0;
  }
  .cta-title {
    font-size: 2.5rem;
  }
  .cta-text {
    font-size: 1.25rem;
  }
  .cta-btn {
    padding-top: 30px;
  }


  .footer {
    padding: 50px 0 20px 0;
  }
  .footer .grid-x:first-child .cell:nth-child(n+3) {
    padding-top: 20px;
  }


  .copyright {
    padding: 0 0 20px 0;
  }


  .certificates {
    padding-top: 40px;
  }


  /* Cart totals */
  .cart-collaterals {
    margin: 30px 0 0 0;
  }


  /* Checkout */
  .checkout-summary {
    margin: 30px 0 0 0;
  }


  /* Categories & products listing */
  .shop-products-listing .cell:nth-child(n+3) {
    padding-top: 40px;
  }
}



@media screen and (min-width: 64em) {
  .header .top-bar .top-bar-right {
    display: flex;
    align-items: center;
  }
  .header-nav.sticky .header {
    display: none;
  }
  .header-nav.sticky .header.nav {
    display: block;
  }
  .footer > .grid-container > .grid-x:first-child > .cell {
    max-width: 330px;
  }
}