/*
Theme Name: Storefront Child
Theme URI: https://woocommerce.com/storefront/
Description: Custom Storefront child theme
Author: Your Name
Template: storefront
Version: 1.0.0
*/

/* =========================================================
   BASE
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

a {
    color: #60646c;
}

/* =========================================================
   CUSTOM HEADER
   ========================================================= */

/* Header sits visually above the slider */
.custom-site-header {
    position: relative;
    z-index: 10;
    background: transparent !important;
}

/* Slider remains in normal document flow */
.homepage-slider-overlap {
    position: relative;
    z-index: 1;
    margin-top: -40px;
}

.home .site {
    overflow-x: hidden;
    margin-top: -120px;
}

.custom-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nextend-bullet-bar.n2-bar-justify-content-center {
    margin-bottom: 10px;
}

.custom-homepage {
    width: 100%;
}

.homepage-slider-overlap {
    width: 100%;

    margin-top: -40px;
    position: relative;
}

/* =========================================================
   LOGO
   ========================================================= */

.custom-header-logo {
    flex: 0 0 auto;
}

.custom-header-logo a {
    display: block;
}

.custom-header-logo img {
    display: block;
    width: auto;
    max-width: 360px;
    height: auto;
}


/* =========================================================
   MAX MEGA MENU AREA
   ========================================================= */

.custom-header-menu {
    flex: 1 1 auto;
    min-width: 0;
}


/*
 * IMPORTANT:
 *
 * Do not style the actual Max Mega Menu
 * elements here.
 *
 * Max Mega Menu controls its own menu styling
 * through Mega Menu > Menu Themes.
 */


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

.custom-header-cart {
    flex: 0 0 auto;
    margin-left: auto;
}

.custom-cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #222222;
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1;
}

.custom-cart-link:hover {
    color: #222222;
    text-decoration: none;
}

.custom-cart-total {
    font-weight: 500;
}

.custom-cart-icon {
    color: #8e8d8d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.custom-cart-icon svg {
    display: block;
    width: 27px;
    height: 27px;

}

.custom-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 50%;
    background: #8e8d8d;
    color: #ffffff;
    margin-top: -20px;
    margin-left: -10px;
    font-size: 11px;
    line-height: 1;
}

a.remove {
    float: left;
}

.quantity {
    color: #000;
}

.woocommerce-mini-cart__total.total {
    color: #000;
    text-align: center;
}

.button.wc-forward {
    display: block;
    text-align: center;
    margin: 10px auto;
    background: #fff;
    border-radius: 50px;
    border: 2px solid #d0e8e0;
}

.button.checkout.wc-forward {
    background-color: #d0e8e0;
}

/* =========================================================
   MINI CART DROPDOWN
   ========================================================= */

.custom-header-cart {
    position: relative;
}


/* Mini cart */

.woocommerce-Price-amount.amount {
    color: #8e8d8d;
}

.custom-header-cart .custom-mini-cart {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    display: none;
}


/* Keep the dropdown open while hovering
   over the basket OR the dropdown */

.custom-header-cart:hover .custom-mini-cart {
    display: block;
}

.custom-header-cart .custom-mini-cart::before {
    content: "";

    position: absolute;

    top: -9px;
    right: 19px;

    width: 0;
    height: 0;

    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #ddd;

    z-index: 1;
}


.custom-header-cart .custom-mini-cart::after {
    content: "";

    position: absolute;

    top: -8px;
    right: 20px;

    width: 0;
    height: 0;

    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;

    z-index: 2;
}

/* =========================================================
   FULL WIDTH — NO SIDEBAR
   ========================================================= */

.home .entry-title {
    display: none;
}

.site-main {
    width: 100%;
    margin: 0 auto;
    max-width: 1280px;
    padding: 20px;
	margin-bottom: 0.617924em !important;
}

.content-area {
    width: 100%;
    float: none;
    margin-right: 0;
}

.widget-area {
    display: none !important;
}


/* WooCommerce */

.woocommerce .content-area,
.woocommerce-page .content-area {
    width: 100%;
    float: none;
    margin-right: 0;
}


/* Storefront layout */

.right-sidebar .content-area,
.left-sidebar .content-area {
    width: 100%;
    float: none;
    margin-right: 0;
}

.right-sidebar .widget-area,
.left-sidebar .widget-area {
    display: none !important;
}

@media (min-width: 768px) {
    .right-sidebar .content-area {
        width: 100% !important;
        float: left;
        margin-right: 0 !important;
    }
}


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

.site-footer {
    width: 100%;
    background: #ffffff !important;
    color: #222222;
    margin: 0;
    padding: 20px;
    border-top: 1px solid #fff !important;
}

.custom-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* Footer left/right links */

.custom-footer-left,
.custom-footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom-footer-left a,
.custom-footer-right a {
    color: #222222;
    text-decoration: none;
    font-size: 13px;
}

.custom-footer-left a:hover,
.custom-footer-right a:hover {
    text-decoration: underline;
}


/* Copyright */

.custom-footer-copyright {
    color: #555555;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
}

.site-footer a {
  color: #2c2d33;
  text-decoration: none; !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .custom-header-inner {
        padding: 15px;
        gap: 15px;
    }

    .custom-header-cart {
        margin-left: auto;
    }

    .custom-cart-link {
        font-size: 14px;

        gap: 4px;
    }

    .custom-cart-icon {
        font-size: 18px;
    }

    .custom-footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .custom-footer-left,
    .custom-footer-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .custom-footer-copyright {
        order: 2;
    }

}

/* =========================================================
   STOREFRONT LINK COLOUR
   ========================================================= */

.site-content a {
    color: #777777;
}

.site-content a:hover,
.site-content a:focus {
    color: #555555;
}

.woocommerce a {
    color: #777777;
}

.woocommerce a:hover,
.woocommerce a:focus {
    color: #555555;
}

.product_list_widget li>a {
    color: #777777;
    display: block;
}

/* Remove WooCommerce link underlines */
.woocommerce a {
    text-decoration: none !important;
}

.woocommerce a:hover,
.woocommerce a:focus {
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .storefront-product-pagination {
        display: none;
    }
}

.custom-site-logo:focus,
.custom-site-logo:active {
    outline: none !important;
    box-shadow: none !important;
}

*:focus {
    outline: none !important;
}

.single-product div.product {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* =========================================================
   FORM INPUTS
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="date"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: #ffffff;
    border: 1px solid #d1d1d1;
    box-shadow: none !important;
}

input:focus,
textarea:focus,
select:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    background: #ffffff;
    box-shadow: none !important;
    outline: none;
}

/* =========================================================
   GLOBAL BUTTON RADIUS
   ========================================================= */

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #respond input#submit {
    border-radius: 50px !important;
}

button.alt,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt,
.button.alt,
.widget-area .widget a.button.alt {
    background-color: #808080;
    border-color: #808080;
    color: #ffffff;
}

/* Product thumbnails — archives only */
.woocommerce ul.products li.product img {
    width: 484px !important;
    max-width: 100%;
    height: auto !important;
}

/* =========================================================
   PRODUCT ARCHIVE CARD
   ========================================================= */

.woocommerce ul.products li.product {
    position: relative;
}


/* Product image */

.woocommerce ul.products li.product img {
    width: 484px !important;
    max-width: 100%;
    height: auto !important;
}


/* Product name */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    position: absolute;
    top: 15px;
    left: 15px;
    margin: 0 !important;
    z-index: 2;
}


/* Price */

.woocommerce ul.products li.product .price {
    position: absolute;
    top: 42px;
    left: 15px;
    margin: 0 !important;
    z-index: 2;
}


/* Button */

.woocommerce ul.products li.product .button {
    position: absolute;
    right: 15px;
    bottom: 55px;
    z-index: 2;
    margin: 0 !important;
    border-radius: 50px;
    background-color: #d0e8e0;
}

/* =========================================================
   TABLET + MOBILE — ORIGINAL STOREFRONT FORMAT
   ========================================================= */

@media (max-width: 1024px) {

    .woocommerce ul.products li.product {
        position: static;
    }

    .woocommerce ul.products li.product img {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        position: static;

        margin: inherit !important;
    }

    .woocommerce ul.products li.product .price {
        position: static;

        margin: inherit !important;
    }

    .woocommerce ul.products li.product .button {
        position: static;

        margin: inherit !important;
    }
}

.woocommerce-message .button {
    float: right;
    padding: 5px 20px;
    padding-left: 20px;
    background: #b1c5be;
    color: #fff;
    box-shadow: none;
    line-height: 1.618;
    margin-left: 1em;
    padding-left: 1em;
    border-width: 0;
    border-left-width: 0px;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #b1c5be;
    border-radius: 0;
    margin-top: -6px;
}

.woocommerce-message {
    margin-bottom: 2.617924em;
    background-color: #d0e8e0;
    margin-left: 0;
    border-radius: 2px;
    color: #6b7773;
    clear: both;
    border-left: .6180469716em solid #b1c5be;
    padding: 1em 2em 1em 3.5em;
    position: relative;
    list-style: none outside;
    padding: 25px 10px 10px 20px;
}

.woocommerce-message::before {
    display: none;
}

.wc-forward::after {
    display: none;
}

.woocommerce-message .button {
    color: #3c413f !important;
}




/* =========================================================
   HOVER — VERY SUBTLE
   ========================================================= */

#coupon_code {
    margin-right: 20px;
}

/* Hide Cart page heading */
.woocommerce-cart .entry-title {
    display: none;
}

.cart_totals h2 {
    text-align: center;
}

.checkout-button {
    background-color: #d0e8e0 !important;
    border: 0 !important;
    color: #424242 !important;
}

.checkout-button:hover {
    background-color: #b1c5be !important;
}

.woocommerce-cart button[name="apply_coupon"] {
    background-color: #d0e8e0 !important;
    border-color: #d0e8e0 !important;
    color: #222222 !important;
}

.woocommerce-cart button[name="apply_coupon"] {
    border-radius: 50px !important;
}

/* Update cart button */
.woocommerce-cart button[name="update_cart"] {
    background-color: #d0e8e0 !important;
    border-color: #d0e8e0 !important;
    color: #222222 !important;
    border-radius: 50px !important;
}

.woocommerce-cart button[name="update_cart"]:disabled {
    background-color: #d0e8e0 !important;
    border-color: #d0e8e0 !important;
    color: #222222 !important;
    opacity: 1;
    cursor: default;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
    background-color: #d0e8e0;
}

.storefront-sorting {
    display: none;
}

.woocommerce-products-header__title.page-title {
    display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    color: #777777;
}

#place_order button.alt,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt,
.button.alt,
.widget-area .widget a.button.alt {
    background-color: #d0e8e0;
    border-color: #d0e8e0;
    color: #6d6d6d;
}

.payment_methods li input[type="radio"]:first-child:checked+label::before {
    color: #627a70 !important;
}

.custom-cart-review-note {
    padding: 15px 20px 15PX 0;
    margin-bottom: 25px;
}

.edit-link {
    display: none;
}

body.woocommerce-checkout .entry-title {
    display: none;
}

.custom-checkout-review-note {
    padding: 0 18px 25px 0;
}

/* =========================================================
   STOREFRONT BLOG
   ========================================================= */

.storefront-blog {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}


/* Blog post row */

.storefront-blog .blog-post-row {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;

    margin: 0 0 40px;
    padding: 0 0 40px;

    border-bottom: 1px solid #d1d1d1;
}


/* Featured image */

.storefront-blog .blog-post-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}


.storefront-blog .blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Post summary */

.storefront-blog .blog-post-summary {
    padding: 10px 0;
}


/* Post title */

.storefront-blog .blog-post-title {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
}


.storefront-blog .blog-post-title a {
    color: #333;
    text-decoration: none;
}


.storefront-blog .blog-post-title a:hover {
    color: #717171;
}


/* Date */

.storefront-blog .blog-post-date {
    margin-bottom: 20px;
    font-size: 14px;
    color: #777;
}


/* Excerpt */

.storefront-blog .blog-post-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}


.storefront-blog .blog-post-excerpt p {
    margin: 0 0 20px;
}


/* Read more */

.storefront-blog .blog-read-more {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: #d0e8e0;
    color: #333;
    text-decoration: none;
}


.storefront-blog .blog-read-more:hover {
    background: #b1c5be;
}


/* Pagination */

.storefront-blog .blog-pagination {
    margin-top: 40px;
}

.term-description {
	display: none;
}