/*REMEMBER THIS NEEDS TO BE REMOVED AND STYLING PUT IN THEME*/

body {
    font-size: 16px;

    h1 {
        font-size: 2.3rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}

#navbar {
    justify-content: space-between;
    width: 100%;
    >ul {
        justify-content: space-between;
        width: 100%;  
        align-items: center;
    }
}

.navbar  {
    text-align: center;
    br {
        display: none;
    }
    @media(min-width:1200px) and (max-width:1399px) {
        br {
            display: block;
        }
    }
}

#info-area {

    padding: 10px 0;

    a {
        color: white !important;
        text-decoration: none;

        &:hover {
            color:#c51b1c!important;
        }
    }

    p {
        margin-bottom: 0;
        font-size: 0.875rem;
    }

    i {
        margin-right: 7px;
    }

    .info-contact-details {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

#info-lower {
    a {
        color: var(--nav-colour);
        padding: 10px;

        &:hover {
            color: black;
        }
    }

    .info-align-center {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .account-block, .search-block, .logo {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        padding: 10px 0;
    }

    .logo {
        justify-content: flex-start;
    }

    .search-block {

        justify-content: center;

        input {
            margin: 0 !important;
            border-radius: 0;
        }

        button {
            border-radius: 0;
            background-color: var(--nav-colour);
            border-color: var(--nav-colour);
        }
    }
}

#nav-area {
    font-size: 14px;
}

#banner-area {


    i {
        color: var(--nav-colour);
        font-size: 2rem;
        padding: 10px 0;
    }
}
/* .pos-1.jp-category {
    @media(min-width:767px) {
        h2 {
            text-align: center!important;
        }
        .wc-block-featured-category__link {
            text-align: center!important;
        }
    }
} */
  .woocommerce-cart .breadcrumbs ,.woocommerce-checkout .breadcrumbs,.privacy-policy .breadcrumbs,.wp-singular .breadcrumbs{
        margin-inline:13px!important;
    }
    .product-template-default .breadcrumbs{
           margin-inline:0px!important;
    }

#content-area {
    .best-sellers {
        display: grid;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        column-gap: 30px;
        row-gap:30px;
     
        grid-template-columns: repeat(1, 1fr);
        

        @media(min-width:767px) {
            grid-template-columns: repeat(2, 1fr);
        }
        @media(min-width:992px) {
            grid-template-columns: repeat(3, 1fr);
        }
        img {
            width: 300px;
        }

        .product-excerpt {
            position: absolute;
            bottom: 10px;
            right: 10px;
            margin-bottom: 0;
            background-color: #c51b1c;
            padding: 5px 15px;
            color: #fff !important;
            font-weight: bold !important;
            text-align: right;
            line-height: 1.2;
        }

        .added_to_cart {
          
            text-decoration: none;
            &:hover {
                color:#c51b1c;
            }
        }

        .best-seller {
            position: relative;
            border:1px solid #c51b1c;
            background-color: #f3f3f3;
            padding-bottom: 1em;
            height: 100%;
            justify-content: flex-start!important;
        }
        .best-seller-image {
            aspect-ratio: 1;
            background-color: #fff;
            position: relative;
            /* height: 32vh; */
            border-bottom:1px solid #c51b1c;
            display: flex;
            width: 100%;
            justify-content: center;
            align-items: center;
            overflow: hidden;

            img {
                aspect-ratio: 1;
                object-fit: contain;
                width: 100%;

            }
        }

        .best-seller-button {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            /* align-items: center; */
        }

        .best-seller-name {

            a {
                text-decoration: none;
            }
            margin-top: 1em;
            padding: 0 15px;
            font-size: 1.2rem;
            height: min(4.5rem);
            display: flex;
            align-items: flex-start;
            justify-content: center;
    
            p {
                text-align: center;
            }
        }

        .woocommerce.add_to_cart_inline {
            display: flex;
            flex-direction: column;
        }

        .cta,.cta-home {
            margin: 0;
            transition:all 0.3s ease;
            .button {
                transition:all 0.3s ease;
                text-decoration: none;
                padding:0.4rem 0.75rem;
                background-color: var(--nav-colour);
                border: 1px solid #000;
                border-radius: 0;
                line-height: inherit;
                color: white;

                &:hover {
                    background-color: #000;
                    color: #fff;
                }
            }
        }

   

        .cta-home {

            text-decoration: none;
            padding:0.4rem 0.75rem;
            background-color: var(--nav-colour);
            border: 1px solid #000;
            font-weight: 700;
            color: white;
            transition:all 0.3s ease;

            &:hover {
                background-color: #000;
                color: #fff;
            }
        }

        .cta-invert {
            transition:all 0.3s ease;
            text-decoration: none;
            padding:0.4rem 0.75rem;
            color: #000;
            background-color: white;
            margin-left: 5px;
            border: 1px solid #000;
            /* border: 1px solid var(--nav-colour); */
            font-weight: 700;

             &:hover {
                background-color: #000;
                color: #fff;
            }
        }

        .best-seller {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
    }

    .category-stack {
        .category {
            .wc-block-featured-category {
                min-height: 100% !important;
                align-content: flex-end;
            }
        }

        .cat-stack {
            .wc-block-featured-category {
                min-height: 285px !important;
                align-content: flex-end;

                &:first-child {
                    margin-bottom: 20px;
                }
            }
        }
    }

    .square {
        .wc-block-featured-category {
            height: 300px;
            align-content: flex-end;
        }

        .wc-block-featured-category__wrapper {
            align-content: flex-end;
        }

    }


    .jp-category {

        a {
            border-radius: 0;
            font-weight: bold;
            background-color: white;
            color: black;
        }

        .wc-block-featured-category__wrapper {
            align-items: flex-start;
        }

        .wc-block-featured-category__link {
            text-align: left;
        }

        .wc-block-featured-category__title {
            padding-bottom: 10px;
            text-align: left;
            font-size: 1.2rem;
        }

        .wc-block-featured-category__description {
            display: none;
        }

    }

    .home-about-tab-section {
        background-color: var(--nav-colour);
        color: white;

        h2 {
            color: white;
        }
    }


    /*WOOCOMMERCE*/

    html body .search-results {
   
        .breadcrumbs {
            padding: 0px 13px!important;
        }
    }

.container-fluid .container:has(.breadcrumbs) {
    padding: 0px;
}

    .woocommerce-loop-product__title {
        display: none;
    }

    .price {
        color: var(--nav-colour);
    }

    .onsale {
        background-color: var(--nav-colour);
        top: 1em;
        margin: 0 10px;
        padding: 0;
    }

    .breadcrumbs {
        /* margin: 1rem -13px; */
        margin-bottom: 1em;
    }
  

    [id*="product-"]{
        margin-top: 2rem;
    }

    .summary {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }

    .jp-button {
        background-color: var(--nav-colour);;
    }

    .wp-block-woocommerce-checkout {
        margin-left: auto;
        margin-right: auto;
    }

    .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .add_to_cart_button, .jp-button {
        text-decoration: none;
        padding:0.4rem 0.75rem;
        background-color: var(--nav-colour);
         /* border: 1px solid #000; */
        border-radius: 0;
        line-height: inherit;
        color: white;
        transition:all 0.3s ease;

        &:hover {
            background-color: #000;
            color: #fff;
        }
    }

    .woocommerce-product-attributes {
        /* tr[class*="--attribute"] {
            display: none;
        } */
    }
    .input-text {
        height: 46px;
    }

    ul.tabs {
        padding: 0;
    }

    ul.tabs li.active {
        background-color: var(--nav-colour);
        a {
            color: white !important;
        }
    }

    ul.tabs li {
        margin-right: 2px;
        border-radius: 0;
        border: none;
        &::before, &::after {
            display: none;
        }
    }

    #tab-description {
        .tab {
            u {
                padding-bottom: 1rem;
                font-size: 1.2rem;
            }
        }
    }

    .woo-product-title {
        padding: 0;
        font-size: 1rem;
        text-align: center;
        /* height: min(40px); */
    }


}

#footer-top-area {
    padding: 20px 0;

    a {
        padding: 5px 0;
        &:hover {
            color:#c51b1c!important;

            i {
                color: #c51b1c;
            }
        }
    }

    i {
        color: #fff;
    }
  

    .footer-contact-details {
        text-align: right;

        i {
            margin-right: 0 !important;
        }
    }

    .nav-link {
        i {
            /* margin-left: 5px; */
            margin-right:5px!important;
            display: inline-block;
            margin-left:5px;
        }
    }

    .social-media {
        list-style-type: none;
        display: flex;
    
        font-size: 1.4rem;
        text-align: center;
        margin-top: 15px;

        column-gap:10px;
        justify-content: center;
			
			@media(min-width:992px) {
				justify-content: flex-end;
			}

          i {
            color:#fff;
        }
        a {
            /* background: #fff; */
            width: 40px;
            display:flex;
            justify-content: center;
            align-items: center;
            height: 26px;

            border-radius: 5px;
            line-height: 1;
        }

        img {
            width: 30px;
        }
    }
}

#footer-area {
    font-size: 0.875rem;

    a {
        color: #c51b1c !important;
    }

    p {
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
}

@media (max-width: 768px) {
}

@media (max-width: 992px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 1400px) {
}

.pricing-container {
    width: 100%;
table {
    width: 100%;
    margin-top: 1em;
    thead {
        background-color: var(--nav-colour);
        color:#fff!important;
    }
    td {
        border:1px solid var(--info-colour);
        padding: 5px 15px!important;
    }
}
}


.best-sellers {
    display: grid;
}


.home {

     .columns-3,.columns-4{
        @media(min-width:992px) and (max-width:1200px) {
            grid-template-columns: repeat(2, 1fr)!important;
        }
    }
}
.related.products {
    width: 100%;
}
.products {
    display: grid;
    
    /* margin-bottom: 60px!important; */

    &:before {
        display: none!important;
    }

    &.columns-1,&.columns-2,&.columns-3,&.columns-4{
        column-gap: 30px;
        row-gap: 30px;
    }
    &.columns-2,&.columns-3,&.columns-4{
        @media(min-width:576px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    &.columns-3,&.columns-4{
        @media(min-width:992px) {
            grid-template-columns: repeat(3, 1fr);
        }
    }
   
    &.columns-4{
        
        @media(min-width:1200px) {
            column-gap: 30px;
            row-gap: 30px;
            grid-template-columns: repeat(4, 1fr);
        }
    }

    li {
        width: 100%!important;
        margin:0!important;
    } 

    .price {
        color:#fff!important;
    }
    .wrapper  {
        display: flex;
        align-items: center;
    }
}

.woocommerce div.product div.images .flex-control-thumbs li {
    
        width: calc(100%)!important;
    
}
.flex-control-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    margin-top: 20px!important;

    @media(min-width:1200px) {
        grid-template-columns: repeat(4, 1fr);
    }
}
.flex-viewport, .flex-control-nav li {
    border:1px solid var(--nav-colour);
}

.product_meta {
    width: 100%;
    table {
        width: 100%;
    }
}
.variations_form {
    width: 100%;
display: flex;
  flex-wrap: wrap;
    td {
        margin: 0px!important;
        padding: 0px!important;
    }

    select {
        margin-top: 0.5em;
        height: 50px!important;
        margin-right: 0!important;
        margin-bottom: 1rem;
    }

    tr:last-child {
        select {
            margin-bottom: 0rem!important; 
        }
    }

}




.woocommerce,.search-results {
    .container-fluid{
        width: 100%;
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
        margin-right: auto;
        margin-left: auto;
    }
    @media (min-width: 576px) {
        .container-fluid{
          max-width: 540px;
        }
      }
      
      @media (min-width: 768px) {
        .container-fluid{
          max-width: 750px;
        }
      }
      
      @media (min-width: 992px) {
        .container-fluid{
          max-width: 990px;
        }
      }
      
      @media (min-width: 1200px) {
        .container-fluid{
          max-width: 1170px;
        }
      }
      
      @media (min-width: 1400px) {
        .container-fluid{
          max-width: 1320px;
          padding: 0 15px;
        }
      }
}
   
.page-id-10 {
    a {
        width: 100%;
    }
    .products {
        .product {
            flex-direction: row;
        }
    }
}

.reduced {
    /* display: none; */
        .products {
        .product {
            .attachment-woocommerce_thumbnail, & img{
                aspect-ratio: 1.6!important;
                object-fit: contain;
            }
        }
        .price{
            display: none!important;
            margin-top: 20px!important;
            margin-bottom: 5px!important;
        }
    }
}
  .products {
    .product {

        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        row-gap: 0;
        flex-direction: column;
       
        img,figure {
            margin: 0!important;
        }
    
        .attachment-woocommerce_thumbnail,img {
            border:1px solid var(--nav-colour);
            border-bottom:0;
            aspect-ratio: 1;
        }
    
        .wrapper,.woocommerce-loop-category__title {
            /* background-color: #f3f3f3; */
            padding:0 15px 15px!important;
            border:1px solid #c51b1c;
            border-top:0;
            margin-top: -1px;
            flex:1;
        }
        .short-desc {
           
            width: 100%;
            strong {
                display: inline!important;
            }
        }
    
        .wrapper {
            
            padding-bottom: 70px!important;
            flex-direction: column;

            .button {
                position: absolute;
                bottom:20px;
            }
        } 
  
        .woocommerce-LoopProduct-link:has(.attachment-woocommerce_thumbnail) {
            position: relative;
            aspect-ratio: 1;
            width: 100%;
    
            li .price {
                position: absolute;
                bottom: 10px;
                right: 10px;
                margin-bottom: 0;
                background-color: #c51b1c;
                padding: 7px 20px;
                color:#fff!important;
                font-weight: bold!important;
                
                /* right: 0; */
            }
        }
    }
    
  }
  .woocommerce ul.products li.product a img {
    max-height: 100%;
    object-fit: contain;
  }


  .wc-block-featured-category__wrapper {
    aspect-ratio: 1;

    @media(min-width:992px) {
        aspect-ratio: initial;
    }
  }


  .position-relative:has(.position-relative__image-background){
    height: 600px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    color:#fff;


    span,div {
        position: relative;
        z-index: 100;
    }
    div {
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        align-content: center;
    }
    

        .position-relative__image-background {
            position: absolute;
            top:0;
            width: 100%;
            img {
                object-fit: cover;
                height: 600px;
                width: 100%;
            }
        }
  }

  
    .red {
        color:#c51b1c;
    }
  #quantity {
    max-width: 100%;
  }
  .cart {
    margin-top: 20px;
  }
  .summary .container-fluid {
    padding-inline: 12px;
  }
  
  .total-price-area {
    text-align: center;
    margin-bottom: 1em;
    line-height: 1.2;

    input {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
    }

    .col-md-4 {
        background-color: #fafafa;
        border:1px solid #000;
        border-top:0px solid #000;
        padding-block: 8px;
        font-size: 1.4rem!important;

        &:first-child {
            border-top:1px solid #000;
            border-left:1px solid #000;
        }

        @media(min-width:767px) {
             border-top:1px solid #000;
              border-left:0px solid #000;
        }

        .title {
            font-size: 1.2rem;
        }
    }
}

#content-area {
    >.container-fluid {
        overflow: hidden;
        /*TURNED OFFF CAUSE OF HOMEPAGE*/
        /* padding: 0px; */
    }
}

.container-fluid .container {
    /* padding: 0px; */
    &:has(.row) {

    /* padding: 0 10px; */
    }
    /* padding:0;max-width: 1320px; */
}

#body .btn-primary.active, #body .btn-primary:active, #body .btn-primary:focus, #body .btn-primary:hover, #body .open .dropdown-toggle.btn-primary {
    box-shadow: none!important;
   /* box-shadow: 0 0 100px 100px rgba(255, 255, 255, .1)!important; */
}

html body .row .col:first-child{
    padding-left: calc(var(--bs-gutter-x) * .5)!important;
}
html body .row .col:last-child{
    padding-right: calc(var(--bs-gutter-x) * .5)!important;
}

.red-btn  {
    background: none!important;

    padding: 0;
}
.red-btn .btn {

    background:#c51b1c!important;
    padding: 10px 30px;
    &:hover,&:focus {
        background-color: #000!important;
    }
}


.wc-block-cart__main .wc-block-cart-items th {
    padding: 8px 20px !important;
}
.account-block .fa-solid {
    font-size: 1.2rem;
}
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-total, table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-total {
    width: auto!important;
}


.pos-1 {
    @media(min-width:767px) {
        .wc-block-featured-category__description, .wc-block-featured-category__link, .wc-block-featured-category__price, .wc-block-featured-category__title, .wc-block-featured-category__variation {
            padding-inline:18px!important;
        }
    }
}

.dropdown-item:active, .dropdown-item.active {
    background-color: #c51b1c!important;
}

.products.columns-3 {
    @media(max-width:1400px) {
        padding-inline:15px;
    }
}

.wc-block-components-totals-item__label {
    width:60% ;
}
.wc-block-formatted-money-amount{
    width:30% ;
    text-align: right;
}


.wc-block-components-totals-coupon__form {
    button {
        text-decoration: none;
        color:#fff!important;
        padding:0.4rem 0.75rem;
        background-color: var(--nav-colour);
        border: 1px solid #000;
        font-weight: 700;
        color: white;
        transition:all 0.3s ease;
        border:1px solid #000;

        &:hover {
            background-color: #fff!important;
            color: #000!important;
        }
    }
}
     
.button.wc-forward{
       text-decoration: none;
        color:#fff!important;
        padding:0.4rem 0.75rem;
        background-color: #c51b1c!important;
        border-radius: 0;
        border: 1px solid #000;
        font-weight: 700;
        color: white;
        transition:all 0.3s ease;

        &:hover {
            background-color: #000!important;
            color: #fff;
        }
}

.woocommerce-message {
    border-top-color: #c51b1c!important;
    &:focus-visible {
        border:1px solid #c51b1c;
        border-top:3px solid #c51b1c; 
        outline:none;
    }
}

.container+.woocommerce {
    /* padding: 0 14px; */
}


.woocommerce-breadcrumb {
    margin-top: 30px!important;
}
.attachment-woocommerce_thumbnail {
    aspect-ratio: 1;
}
.woocommerce-product-attributes-item__value {
    padding-left: 15px!important;
}

.container-fluid {
    padding: 0px;
}

.pagination,
.woocommerce-pagination {
  display: flex;
  /* justify-content: center; */
  gap: 8px;
  margin: 0rem 0 2rem;
  list-style: none;

  a,
  span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #000;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;

    &:hover {
      background: #000;
      color: #fff;
      border-color: #000;
    }
  }

  
  .current {
    background: #c51b1c;
    color: #fff;
    border-color: #c51b1c;
    font-weight: bold;
    cursor: default;
  }
}


.page-numbers {
    display: flex;
    flex-wrap: wrap;
    column-gap: 6px;
    border: 0!important;

    &:after{ 
        display: none!important;
    }


    li {
        &:last-child {
            .page-numbers {
                margin-right: 0!important;
            }
        }
    }
    .page-numbers {
        border: 1px solid #000!important;
        margin-right: 5px!important;
        padding: 8px 14px;
        border: 1px solid #000;
        font-size: 14px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;

        &:hover,&:focus {
            background-color: #000!important;
            color:#fff!important;
        }
       
    }
    .current {
        background: #c51b1c!important;
        color: #fff!important;
        border-color: #c51b1c;
        font-weight: bold;
        cursor: default;
    }
}

.woocommerce ul.products li.product a img {
    font-size: 0;
    background-image: #fafafa;
}

a {
    text-decoration: none!important;

    &:hover {
        color:#c51b1c;
    }
}

.form-control {
    outline: none!important;
}

.footer-widget {
    display: flex;
    column-gap: 10px;
    justify-content: center;
    .icon {
        background-color: #f3f3f3;
        padding: 3px 10px;
        border-radius: 10px;
        img {
            height: 20px!important;
        }
    }
}

body.page-id-10 {
    .breadcrumbs {
        display: none;
    }
    .woocommerce  {
        margin-top: 30px;
    }
}

.related {
    .short-desc {
        display: none;
    }
}

.woocommerce-product-details__short-description {
    /* display: none; */
}

.wc-block-featured-category {
    min-height: none!important;
    max-height: none!important;
}

/* .products.columns-3 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-areas: 
    "pos-1 pos-1 pos-1 pos-1 pos-2 pos-2 pos-3 pos-3"
    "pos-1 pos-1 pos-1 pos-1 pos-4 pos-4 pos-5 pos-5" 
    "pos-6 pos-6 pos-7 pos-7 pos-8 pos-8 pos-9 pos-9"
    "pos-10 pos-10 pos-11 pos-11 pos-12 pos-12 pos-13 pos-13 " 
    "pos-14 pos-14 pos-15 pos-15 pos-16 pos-16 post-17 post-17";

    > :nth-child(16n+1) {
        grid-area:pos-1;
    }
    > :nth-child(16n+2) {
        grid-area:pos-2;
    }
    > :nth-child(16n+3) {
        grid-area:pos-3;
    }
    > :nth-child(16n+4) {
        grid-area:pos-4;
    }
    > :nth-child(16n+5) {
        grid-area:pos-5;
    }
    > :nth-child(16n+6) {
        grid-area:pos-6;
    }
    > :nth-child(16n+7) {
        grid-area:pos-7;
    }
    > :nth-child(16n+8) {
        grid-area:pos-8;
    }
    > :nth-child(16n+9) {
        grid-area:pos-9;
    }
    > :nth-child(16n+10) {
        grid-area:pos-10;
    }
    > :nth-child(16n+11) {
        grid-area:pos-11;
    }
    > :nth-child(16n+12) {
        grid-area:pos-12;
    }
    > :nth-child(16n+13) {
        grid-area:pos-13;
    }
    > :nth-child(16n+14) {
        grid-area:pos-14;
    }
    > :nth-child(16n+15) {
        grid-area:pos-15;
    }
    > :nth-child(16n+16) {
        grid-area:pos-16;
    }
} */
 

.grid-products{
    margin-top: 30px;
    .container {
        display: flex;
			flex-wrap:wrap;
        grid-template-columns: repeat(2, 1fr);
        /* grid-template-rows: repeat(2, 300px); */
        gap:30px;
        margin-bottom: 30px;
        grid-template-columns: repeat(1, 1fr);
            grid-template-areas: 
            "big"
            "pos-1"
            "pos-2"
            "pos-3"
            "pos-4";

        > :first-child {
            grid-area:big;
        }
        > :nth-child(2) {
            grid-area:pos-1
        }
        > :nth-child(3) {
            grid-area:pos-2
        }
        > :nth-child(4) {
            grid-area:pos-3
        }
        > :nth-child(5) {
            grid-area:pos-4
        }
    }

    .big { grid-area: big; }
    .normal { grid-area: normal; }
    .normal2 { grid-area: normal2; }
    .normal3 { grid-area: normal3; }
    .normal4 { grid-area: normal4; }

    @media(min-width:767px) and (max-width:1199px) {
        /* .container {
            grid-template-columns: repeat(9, 1fr);
            grid-template-areas: 
            "big big big big big big pos-1 pos-1 pos-1 "
            "pos-2 pos-2 pos-2 pos-3 pos-3 pos-3 pos-4 pos-4 pos-4";
        } */
           .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            align-items: flex-start;
            align-content: flex-start;
            >div {
                width: 47%;
                margin: 0;
            }
        }
    }
    @media(min-width:1200px) {
        .container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-areas: 
            "big big pos-1 pos-2"
            "big big pos-3 pos-4";
        }
    }
}

.wc-block-featured-category {
    min-height: 200px!important;
}

.icon-wrapper {
    margin-bottom: 0.5rem;
  position: relative;
  padding-left: 30px;
  span {
    position: absolute;
    left: 0px;
    top: 0.2em;
    font-size: 1.2em;
  }
}


#content-area {
    ul.list-unstyled {
        margin-left: 2em;
        list-style: disc;
    }
}

.product-template-default.woocommerce {
		max-width:100%!important;
	}


#order_review_heading {
	margin-top:60px;
}

.woocommerce-info {
	margin-top:30px;
}


#order_review {
	margin-bottom:60px;
}

html {
    .wc-block-featured-category.has-background-dim .background-dim__overlay::before {
        opacity:0.8;
        display: none;
        /* background-color: #fff; */
        height: 70px;
        bottom:1px;
        left:1px;
        right:1px;
        width:auto;
        top:auto;
    }
    
    .wc-block-featured-category__background-image {
        border:1px solid #c51b1c;
        padding-bottom: 40px!important;
        object-fit: contain!important;
    }
    .wc-block-featured-category__title {
        position: absolute;
        bottom:0;
        color:#000!important;
    }
    .wc-block-featured-category__link {
         /* position: absolute;
         bottom: 1px; 
        left: 1px;
        right: 1px;
        width: auto; */
        .btn-wrapper {
            display: none;
            justify-content: flex-start;
            /* display: flex; */
        }

        .btn  {
            text-decoration: none;
            padding: 0.4rem 0.75rem;
            background-color: #c51b1c!important;
            color: #fff!important;
            border: 1px solid #000;
            &:hover,&:focus {
                background-color: #000!important;
            }
        }
    }
}

/* html{
    .col :has(.wc-block-featured-category__wrapper) {
        height: 100%;
        display: flex;
    }
    .wc-block-featured-category.has-background-dim .background-dim__overlay::before {
        display: none!important;
    }
    .wc-block-featured-category .wc-block-featured-category__background-image {
        position: relative;
    }
    .wc-block-featured-category__title {
        border-top:1px solid #c51b1c;
        text-align: left!important;
        font-size: 1.2rem;
        justify-content: flex-start;
        display: flex;
        text-align: left;
        justify-content: flex-start;
    }
    .wc-block-featured-category__link {
         position: absolute;
         bottom: 1px; 
        left: 1px;
        right: 1px;
        width: auto;
        .btn-wrapper {
            justify-content: flex-start;
            display: flex;
        }

        .btn  {
            text-decoration: none;
            padding: 0.4rem 0.75rem;
            background-color: #c51b1c!important;
            color: #fff!important;
            border: 1px solid #000;
            &:hover,&:focus {
                background-color: #000!important;
            }
        }
    }
    .wc-block-featured-category__title,.wc-block-featured-category__link {
        background-color: #f3f3f3;
          text-align: left!important;
    }
    .wc-block-featured-category__description, .wc-block-featured-category__link, .wc-block-featured-category__price, .wc-block-featured-category__title, .wc-block-featured-category__variation {
        padding: 0 15px 16px;
    }
   
    .wc-block-featured-category__wrapper {
        overflow: visible!important;
        aspect-ratio: auto!important;
    }

    .wc-block-featured-category__wrapper {
   
    }

    @media(min-width:1200px) {
  .grid-products .container .wc-block-featured-category:first-child{
            .wc-block-featured-category__background-image{
            aspect-ratio: 0.855!important;
            }
        }
    }
      

    .wc-block-featured-category .wc-block-featured-category__background-image{
        aspect-ratio: 1;
    }
    .wc-block-featured-category__title {
        color:#000!important;
        padding-top: 10px;
        margin-bottom: 50px;
    }
    .wc-block-featured-category__wrapper {
        min-height: 100%;
        border:1px solid #c51b1c;
        align-content: flex-start;
        background-color: #f3f3f3;
    }
    .wc-block-featured-category .wc-block-featured-category__background-image {
        height: auto;
        top:0;
    }
} */

.sku_wrapper {
    display: none;
}

 .woocommerce-order {
    max-width: 1290px!important;
    margin:30px auto;
 }
 .woocommerce-notice {
    margin-bottom: 60px;
 }
 .wc-block-featured-category__wrapper {
    cursor: pointer;
    
 }


 .woo-number {
    position: absolute;
    background: #fff;
    color:#c51b1c;
    border:2px solid #c51b1c;
    /* color:#fff; */
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    margin-top: -30px;
    transform: translateX(6px);

    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
 }

 body >.fa-shopping-basket {
    display: none;
 }


 #editable-banner-section {
    overflow: hidden;
 }


 .float-none {
    float:none!important;

    

 }
.wc-forward {
    line-height: 1.4rem!important;
    display: flex;
    align-items: center;
    background-color: #c51b1c;
    color:#fff!important;
    padding-inline:15px;
    font-weight: bold;
    &:hover {
        background-color: #000;
    }
}
 .add_to_cart_button {
    border:0!important;
    font-weight: bold;
 }

 form.cart {
    &:before {
        display: none!important;
    }
    column-gap: 10px;
    display: flex;
 }


 .wc-block-cart {
    margin-top: 60px!important;
 }

.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row {
  @media (min-width: 992px) {
    
      justify-content: flex-end !important;
      align-items: flex-start !important;
      column-gap: 10px;;
    
  }
}
.wc-block-components-checkout-return-to-cart-button, .wc-block-components-checkout-place-order-button {
    text-decoration: none;
    width: auto!important;
    padding: 0.4rem 0.75rem;
    background-color: var(--nav-colour);
    border: 1px solid #000;
    border-radius: 0;
    line-height: inherit;
    padding-inline:15px!important;
    color: white!important;
    transition: all 0.3s ease;
    min-height: 0!important;

    &:hover {
        background-color: #000;
    }
}

.wc-block-components-checkout-return-to-cart-button {
    padding-inline:15px!important;
    padding-left:30px!important;
}
.woocommerce img, .woocommerce-page img {
    width: 100%!important;
    height: auto!important;
}


body:not(.checkout) li .woocommerce-Price-amount {
    transform: translateY(-44px);
    display: block;
    background-color: #c51b1c;
     padding: 7px 20px;
}
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .price {
        position: absolute;
        /* bottom: 120px; */
        right: 10px;
        margin-top: -10px;
        margin-bottom: 0;
        /* background-color: #c51b1c; */
        
                padding-top: 100%;
        /* color: #fff !important; */
        font-weight: bold !important;
    }

    

    .quantity,.ppcp-messages {
        /* width: 48%; */
        /* float: right; */
        margin-top: 1em;
    }

    .single_add_to_cart_button{
        white-space: nowrap;
        margin-bottom: 1rem!important;
        margin-left: 2%!important;
    }

    .variable-custom {
        min-width:40% ;
    }
    .reset_variations {
        display: none;
    }
    .variations {
        margin-top: 0;
    }
    .paypal-button-label-container {
        margin-bottom: 1rem!important;
    }
    .products .type-product {
        cursor: pointer;
    }


    .figure {
        margin-bottom: 0px;
    }
    .text-wrapper {
        p:last-child {
            margin-bottom: 0px;
        }
    }








 .slick-prev, .slick-next {
    font-size: 0;
    background: none !important;
    border: 0;
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    z-index: 1;
    transform: translateY(-50%);
    display: none!important;

    &:before {
        color: #fff;
        font: normal normal normal 14px / 1 FontAwesome;
        text-shadow: 0px 0px 5px #0007;
        content:"<";
    }

    &:hover &:before {
        color: #b4dd40 !important;
    }
}

.slick-next {
    left: auto;
    right:10px;
    &:before {
        content:">";
    }
}



    .s9-slider-track {
        img {
            width: 100%;
        }
    }

    .flex-viewport {
        height: auto!important;
    }
    .wp-post-image {
        aspect-ratio: 1!important;
        object-fit: contain!important;
    }

    .add_to_cart_button.added {
        &:after {
            font-family: WooCommerce;
            content: "\e017";
            margin-left: .53em;
            vertical-align: bottom;
        }
    }

    .woocommerce .products ul, .woocommerce ul.products {
        margin-bottom: 40px;
    }
    
    .single-product {
        .woocommerce .products ul, .woocommerce ul.products {
            margin-bottom: 15px;
        }
    }

    .attachment-woocommerce_thumbnail {
        object-fit: contain;
    }

    .post-title {
        order:-3;
    }
    .woocommerce-product-details__short-description {
        order:-2;
    }
    .pricing-container{
        order:-1;
        width: 100%;
        table {
            width: 100%;
        }
    }


    .pricing-container .quantity {
        margin-top: 0;
    }

   .woocommerce a.added_to_cart {
    padding-top: .45em;
    margin-left: 1em;
    padding-bottom: .45em;
   }
   .ppcp-messages{
    display: none!important;
   }
   .posted_in {
    margin-top: 1rem;
   }

   .custom-cart {
    display: flex;
    flex-wrap: wrap;
   }

   .variations {
    order:-10;
   }

   .woocommerce div.product form.cart {
    margin-bottom: 0;
   }

   .woocommerce div.product form.cart div.quantity {
    float: none;
   }


   .label {

    vertical-align: middle!important;
   }
   .value select{
    margin: 0!important;
   }
   .variations {
    tr td, tr th{
        padding-bottom: 10px!important;

    }
   }
   .variations {
    position: relative;

    .reset_variations {
        position: absolute;
        bottom:-15px;
        left: 0;
    }
   }
   
   

   .main-price {
    position: relative!important;
    padding-top: 0!important;
    margin-left: 0.5em;
    margin-bottom: 1em;
    color:#c51b1c!important;
   }



   .category-wrapper {
    padding-block:20px;
    text-align: center;
    font-size: 1.8rem;
    background: var(--nav-colour);
    color:#fff;
    * {
        color:#fff!important;
        margin: 0;
    }
   }


   .center-flex {
        display: flex;



        column-gap: 10px;
        flex-direction: column;
        @media(min-width:992px) {
                    align-items: center;
                            justify-content: center;
              flex-direction: row;
        }
   }

   .my-account .woocommerce {
    padding-block:60px;
   }

   .woocommerce-MyAccount-navigation {
        margin: 0px;
        ul {
            margin: 0px;
            padding: 0px;
        }
        li {
            list-style: none;
            border:1px solid #000; 
            margin-bottom: 5px;

            &.is-active {
                a {
                    background-color: #eee;
                }
            }

            a {
                width: 100%;
                display: block;
                padding:10px 15px;

                &:hover,&:focus {
                    background-color: #c51b1c;
                    color:#fff;
                }
            }
        }
   }

   .woocommerce-order-details,.woocommerce-Address-title  {
    margin-top: 30px;
   }

   .woocommerce-customer-details,fieldset {
    margin-top: 60px;
   }

   /*Dont ask why they do this*/
   .woocommerce-button.button,.woocommerce-Button.button  {
       
        background-color: #000!important;
        color:#fff!important;
        margin-right: 5px!important;

        &:hover,&:focus {
            background-color: #c51b1c!important;
            color:#fff!important;
        }
   }

   .related.products:last-child {
    margin-bottom: 60px;
}

.main-price.price {
    color:#c51b1c!important;
    margin-bottom: 1em!important;
    display: block;
    margin-top: 0.5em;

    * {
            color:#c51b1c!important;
    }
}


.s9-slider  {
    aspect-ratio: 3.4;
    overflow: hidden;
}

html #info-lower .logo img{
    height: 70px!important;
    object-fit: contain;
}

.s9-slider {}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}


body.products {
    ul.products {
        display: flex;
				flex-wrap:wrap;
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
        grid-template-areas: 
            "big"
            "pos-1"
            "pos-2"
            "pos-3"
            "pos-4"
            "pos-5"
            "pos-6"
            "pos-7"
            "pos-8"
            "pos-9"
            "pos-10"
            "pos-11"
            "pos-12";

        > :first-child { grid-area: big; }
        > :nth-child(2) { grid-area: pos-1; }
        > :nth-child(3) { grid-area: pos-2; }
			
			li {
				width:100%;
			}
     
		
    }

    @media (min-width: 767px) and (max-width: 1199px) {
        ul.products {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;

            > :first-child { width: 100%; }
            > li { width: 47%; }
					
						li {
				 width: 47%!important;
					}
        }
    }

    @media (min-width: 1200px) {
        ul.products {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-areas: 
                "big big pos-1 pos-2"
                "big big pos-3 pos-4"
                "pos-5 pos-6 pos-7 pos-8"
                "pos-9 pos-10 pos-11 pos-12";
        }
    }
}


#place_order {
	background:#c51b1c;
	&:hover,&:focus {
		background:#000;
	}
}

.checkout .woocommerce img, .checkout  .woocommerce-page img{
	width:auto!important;
}



.woocommerce-info {
	border-top: 3px solid #c51b1c;
}


.wp-block-woocommerce-category-title{
	position: absolute;
    bottom: 0;
    color: var(--nav-colour)!important;
	text-align:left;
	font-size:1rem!important;
    width:100%;
    margin-left: -15px!important;
}
.wc-block-featured-category__inner-blocks {
	padding:0px 15px!important;
}


#editable-banner-section .wp-block-s9-container.s9-slider {
	
	display:none!important;
	

}
#editable-banner-section .wp-block-s9-container.s9-slider:has(.s9-slider) {
	

			display:block!important;
	
}


.delivery-estimate-wrapper {
	display:flex;
	align-items:center;
	margin-bottom:20px;

    
	img {
		height:45px!important;
	}
	
	.icon {
		margin-right:10px;
	}
}

html .image-cover {
    position: relative;
    padding: 0px 0 60px;
 
    min-height: 30vw;
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    &.grad {
        &:after{
            content:"";
            position:absolute;
            left: 0px;
            top:0;
            width: 100%;
            height: 100%;
            background:linear-gradient(90deg,rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0) 80%);
        }
    }


    &.stack {
        min-height: 0vw;
        figure {
            margin-bottom: 3rem;
        }
        /* figure {
            order:2;
        }
        .inner-wrapper {
            order:1;
        } */
        img {
            position: relative;
            left: auto;
            top:auto;
        }
    }

    img {
        position: absolute;
        height: 100%!important;
        top:0;
        left: 0;
        width: 100%;
        object-fit: cover;
    }

    &.top-center {
        img {
            object-position: 0 32%;
        }
    }
    &.top {
        img {
            object-position: 0 15%;
        }
    }
    &.bottom {
        img {
            object-position: 0 bottom;
        }
    }

    .inner-wrapper {
        width: 100%;
        height: 100%;
        z-index: 100;
        position: relative;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .inner {
       justify-content: flex-start;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        display: inline-block;
        float: left;
    }

    .promo-line-1 {
        font-size: 3rem;
        font-weight: 900;
        text-align: left;
        line-height: 1.2;
        width:100%;
    }

    .promo-line-2 {
        color:#000;
        font-size: 1rem;
        width:100%;
        text-align: left;
        margin-top:1rem!important;
    }

    .promo-button {
        display: flex;
        column-gap: 15px;
        margin-top: 2rem!important;
        .btn {
            background-color: #c51b1c!important;
            color:#fff!important;
            padding: 10px 30px;

            &:hover,&:focus {
                color:#fff!important;
                background-color: #000!important;
            } 
        } 

        .type1 {
             .btn {
                color:#fff!important;
                background-color: #000!important;

                &:hover,&:focus {
                    background-color: #c51b1c!important;
                    color:#fff!important;
                }
            }
        }
    }

   
    @media(min-width:992px) {
        &.stack { 
             padding-top: 60px;
            figure {
                margin-bottom: 0;
            }
            img {
                position: absolute;
                left: 0;
                top:0;
            }
        }
    }
  
}

.container-fluid .row{
    margin-bottom: 0!important;
}

#info-area .row, #info-lower .row {
    margin-bottom: 0;
}

.wp-block-s9-container:has(.products) {
    @media(min-width:767px) {
        margin-inline:-15px!important;

        .slick-slide {
            margin:0 15px!important;
        }
    }
  
}
.s9-wrapper:has(.slick-slide) {
    /* @media(min-width:767px) { */
        padding: 0 45px 0 35px;
        margin-inline:-15px!important;

        .slick-slide {
            margin:0 15px!important;
        }
    /* } */
  
}


div:has(>.line-heading) {
    text-align: center;
}

.line-heading {
    position: relative;
    background-color: #fff;
    text-align: center;
    display: inline-block;
    /* max-width: 100%; */
   
    &:before {
        content:"";
        position:absolute;
        top:50%;
        transform: translateY(-50%);
        left: -100px;
        right:-100px;
        border-top:1px solid #c51b1c;
    }
    h2,h3,h1 {
        background-color: #fff;
        position: relative;
        z-index: 1;
        margin-bottom: 0px!important;
        padding:0 30px;  
        display: inline-block;
    }
}


     .why-jp {
        display:flex;
        justify-content: center;
        margin-top: 20px;
        font-size: 1.2rem;
        color:#c51b1c;
        column-gap: 20px;
        row-gap: 20px;
        flex-direction: column;

        .icon-wrapper {
            justify-content: center;
            /* flex:1; */
            &:has(span) {
                position:relative;
                padding: 0 40px;
                position: relative;
                span {
                       position: relative;
                }
            }
            padding: 0 20px;
            display: flex;
            p {
                margin-left: 10px;
            }
        }

        @media(min-width:992px) {
            .icon-wrapper {
                justify-content: flex-start;
            }
            flex-direction: row;
        }
     }

 .slick-prev, .slick-next {
    font-size: 0;
    background: none !important;
    border: 0;
    position: absolute;
    top: 50%;
    display: block!important;
    transform: translateY(-50%);

    &:before {
        color: #000;
        font: normal normal normal 28px / 1 FontAwesome;
        text-shadow: 0px 0px 5px #0007;
    }

    &:hover &:before {
        color: #b4dd40 !important;
    }

    /*display: none!important;*/
}
.slick-prev {
    left: 0px;
}

.feature-wrapper {
    border:1px solid #c51b1c;
    text-align: center;
    h1,h2,h3 {
        font-size: 1.2rem;
        margin: 0px;
    }
    img {
        aspect-ratio: 1.5;
        width: 100%;
        object-fit: cover;
    }

    .inner {
        margin:10px 15px;
    }
}
    





@media(min-width:992px) {
    .w-50 {
        max-width:50%;
    }
}
.row:not(.is-not-stacked-on-mobile) > .col{
    flex-basis: auto!important;
}




    .promo-button .btn {
        padding: 10px 30px;
        background-color: #c51b1c!important;
        &:hover {
            background-color: #000!important;
        }
    }


    .wp-block-search__inside-wrapper {
        max-width: 600px!important;
        margin: 0 auto!important;
        flex-direction: column;
        button {
            margin: 0;
            padding: 10px 30px;
            background-color: #c51b1c!important;
            color:#fff!important;
            &:hover {
                background-color: #000!important;
            }
        }

        @media(min-width:992px) {
            flex-direction: row;
        }
    }


    .contain {
        img {
            object-fit: contain;
        }

        &.space {
            img{
                padding:10px;
            }
        } 
    }

    form {
        input[type="button"] {
            margin: 0;
            padding: 10px 30px;
            background-color: #c51b1c !important;
            color: #fff !important;
            &:hover,&:focus {
                background-color: #000 !important;
            }
        }
        input {
            margin: 0;
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
            border-radius: 0;
        }
    }

    #trade-form {
        display: flex;
        justify-content: center;

        p {
            display: none;
        }

        input {
            height: 100%;
            height: 44px;
            border-radius: 0!important;
        }
        input[type="input"] {
            
            width: 400px!important;
            max-width: 100%;
            
        }

        .form-label {
            display: none;
        }
    }


    .img-text {
        h2 {
            margin-top: 1rem;
        font-size: 1.2rem;
        }

    }

    .w-100 img{
        width:100%;
    }

    .flag {
        display: flex;
        column-gap: 10px;
        row-gap: 10px;

        img {
            max-width: 30px;
        }
    }


    .product_title.entry-title {
        order:-4!important;
    }