.homepage {
    background: #f7f3ec;
    color: #171512;
}

.homepage .site-shell {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   QUICK NAV
   ========================================================= */

.homepage-quick-nav {
    border-top: 1px solid rgba(23, 21, 18, 0.08);
    border-bottom: 1px solid rgba(23, 21, 18, 0.08);
    background: rgba(255, 255, 255, 0.34);
}

.homepage-quick-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin: 0;
    padding: 24px 0;
    list-style: none;
}

.homepage-quick-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #171512;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: color 160ms ease;
}

.homepage-quick-nav__link:hover,
.homepage-quick-nav__link:focus-visible {
    color: #bf3a24;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.homepage-section {
    padding: 88px 0;
}

.homepage-section + .homepage-section {
    border-top: 1px solid rgba(23, 21, 18, 0.07);
}

.homepage-section__header {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}

.homepage-section__eyebrow {
    margin: 0 0 10px;
    color: #bf3a24;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.homepage-section__title {
    margin: 0;
    color: #171512;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 3vw, 52px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.025em;
}

/* =========================================================
   SPIRIT CATEGORIES
   ========================================================= */

   .homepage-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.homepage-category-card {
    position: relative;
    min-width: 0;
}

.homepage-category-card__link,
.homepage-category-card__image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   CATEGORY IMAGE
   ========================================================= */

.homepage-category-card__image {
    position: relative;
    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: #f3eee6;
}

.homepage-category-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 320ms ease;
}


/* =========================================================
   CATEGORY CONTENT
   ========================================================= */

.homepage-category-card__content {
    display: block;

    padding: 0;
}


/* =========================================================
   CATEGORY TITLE ON IMAGE
   ========================================================= */

.homepage-category-card__title {
    position: absolute;

    top: 5%;
    left: 14px;
    right: 14px;

    z-index: 3;

    margin: 0;

    color: #171512;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.08;

    letter-spacing: -0.015em;
    text-transform: uppercase;

    pointer-events: none;
}

.homepage-category-card__title a {
    color: inherit;
    text-decoration: none;

    pointer-events: auto;
}


/* =========================================================
   CATEGORY NAVIGATION
   ========================================================= */

   .homepage-category-card__more,
   .homepage-category-card__links {
       margin-top: 12px;
   }
   
   
   /* =========================================================
      SINGLE CATEGORY BUTTON
      ========================================================= */
   
   .homepage-category-card__more {
       display: inline-flex;
       align-items: center;
       justify-content: center;
   
       min-height: 32px;
       padding: 8px 13px;
   
       background: #bf3a24;
       color: #fff !important;
   
       font-family: Arial, Helvetica, sans-serif;
       font-size: 10px;
       font-weight: 700;
       line-height: 1;
   
       letter-spacing: 0.08em;
       text-transform: uppercase;
       white-space: nowrap;
       text-decoration: none;
   
       transition:
           background-color 160ms ease,
           color 160ms ease;
   }
   
   .homepage-category-card__more::after {
       content: " →";
   }
   
   
   /* =========================================================
      DUAL CATEGORY BUTTONS
      ========================================================= */
   
   .homepage-category-card__links {
       display: grid;
       grid-template-columns: 1fr 1fr;
       align-items: center;
   
       width: 100%;
       gap: 10px;
   }
   
   .homepage-category-card__links a {
       display: inline-flex;
       align-items: center;
       justify-content: center;
   
       min-height: 32px;
       padding: 8px 13px;
   
       background: #bf3a24;
       color: #fff !important;
   
       font-family: Arial, Helvetica, sans-serif;
       font-size: 10px;
       font-weight: 700;
       line-height: 1;
   
       letter-spacing: 0.08em;
       text-transform: uppercase;
       text-decoration: none;
       white-space: nowrap;
   
       transition:
           background-color 160ms ease,
           color 160ms ease;
   }
   
   .homepage-category-card__links a::after {
       content: " →";
   }
   
   .homepage-category-card__links a:first-child {
       justify-self: start;
   }
   
   .homepage-category-card__links a:last-child {
       justify-self: end;
   }
   
   
   /* =========================================================
      HOVER
      ========================================================= */
   
   .homepage-category-card:hover .homepage-category-card__image img,
   .homepage-category-card:focus-within .homepage-category-card__image img {
       transform: scale(1.025);
   }
   
   .homepage-category-card__more:hover,
   .homepage-category-card__more:focus-visible,
   .homepage-category-card__links a:hover,
   .homepage-category-card__links a:focus-visible {
       background: #171512;
       color: #fff !important;
   }
   
   
   /* =========================================================
      MOBILE TUNING
      ========================================================= */
   
   @media (max-width: 767px) {
   
       .homepage-category-card__title {
           top: 5%;
           left: 10px;
           right: 10px;
   
           font-size: 15px;
       }
   
       .homepage-category-card__more,
       .homepage-category-card__links a {
           min-height: 30px;
           padding: 7px 10px;
   
           font-size: 8px;
       }
   
       .homepage-category-card__links {
           gap: 8px;
       }
   
   }
/* =========================================================
   PRODUCT SECTIONS
   ========================================================= */

   .homepage-products-section ul.products {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));

    gap: 30px 18px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.homepage-products-section ul.products::before,
.homepage-products-section ul.products::after {
    display: none;
}

.homepage-products-section ul.products li.product {
    position: relative;

    display: flex;
    flex-direction: column;

    float: none;

    width: auto;
    min-width: 0;
    height: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}

/*
 * Woo sometimes leaves list markers / pseudo markers around.
 */
.homepage-products-section ul.products li.product::marker {
    content: '';
}

.homepage-products-section ul.products li.product::before,
.homepage-products-section ul.products li.product::after {
    content: none;
    display: none;
}


/* =========================================================
   MAIN PRODUCT LINK
   ========================================================= */

.homepage-products-section ul.products li.product
.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;

    color: inherit;
    text-decoration: none;
}

.homepage-products-section ul.products li.product a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.homepage-products-section ul.products li.product img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1.18;

    margin: 0 0 14px;
    padding: 12px;

    object-fit: contain;

    background: #fbfaf7;
}


/* =========================================================
   SALE BADGE
   ========================================================= */

.homepage-products-section ul.products li.product .onsale {
    position: absolute;

    top: 10px;
    left: 10px;
    right: auto;

    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 7px 10px;

    border-radius: 0;

    background: #bf3a24;
    color: #fff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: .05em;
    text-transform: uppercase;

    box-shadow: none;
}


/* =========================================================
   PRODUCT TITLE
   ========================================================= */

.homepage-products-section ul.products li.product
.woocommerce-loop-product__title {
    display: block;

    min-height: 44px;

    margin: 0 0 8px;
    padding: 0;

    color: #171512;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}


/* =========================================================
   PRICE
   ========================================================= */

.homepage-products-section ul.products li.product .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;

    min-height: 38px;

    margin: 0 0 14px;

    color: #171512;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.homepage-products-section ul.products li.product .price del {
    display: inline-block;

    margin-right: 6px;

    color: #8a8177;

    font-weight: 400;

    opacity: 1;
}

.homepage-products-section ul.products li.product .price ins {
    color: #bf3a24;

    font-weight: 700;
    text-decoration: none;
}


/* =========================================================
   BUTTON
   ========================================================= */

.homepage-products-section ul.products li.product .button,
.homepage-products-section ul.products li.product .added_to_cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-height: 38px;

    margin-top: auto;
    padding: 9px 14px;

    border: 0;
    border-radius: 0;

    background: #bf3a24;
    color: #fff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: .03em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        background-color 160ms ease,
        color 160ms ease;
}

.homepage-products-section ul.products li.product .button:hover,
.homepage-products-section ul.products li.product .button:focus-visible,
.homepage-products-section ul.products li.product .added_to_cart:hover,
.homepage-products-section ul.products li.product .added_to_cart:focus-visible {
    background: #171512;
    color: #fff;
}


/* =========================================================
   LOADING / ADDED STATE
   ========================================================= */

.homepage-products-section ul.products li.product .button.loading {
    opacity: .7;
}

.homepage-products-section ul.products li.product .added_to_cart {
    margin-top: 8px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .homepage-products-section ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 22px;
    }

}


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

@media (max-width: 767px) {

    .homepage-products-section ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 14px;
    }

    .homepage-products-section ul.products li.product img {
        padding: 8px;
    }

    .homepage-products-section ul.products li.product
    .woocommerce-loop-product__title {
        min-height: 0;

        font-size: 13px;
    }

    .homepage-products-section ul.products li.product .price {
        min-height: 0;

        font-size: 12px;
    }

    .homepage-products-section ul.products li.product .button,
    .homepage-products-section ul.products li.product .added_to_cart {
        width: 100%;

        min-height: 40px;
    }

}


/* =========================================================
   TRUST
   ========================================================= */

.homepage-trust {
    border-top: 1px solid rgba(23, 21, 18, 0.08);
    background: #eee7dc;
}

.homepage-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.homepage-trust__item {
    padding: 30px 28px;
    border-right: 1px solid rgba(23, 21, 18, 0.09);
}

.homepage-trust__item:first-child {
    padding-left: 0;
}

.homepage-trust__item:last-child {
    padding-right: 0;
    border-right: 0;
}

.homepage-trust__title,
.homepage-trust__text {
    display: block;
}

.homepage-trust__title {
    margin-bottom: 5px;
    color: #171512;
    font-size: 14px;
    font-weight: 700;
}

.homepage-trust__text {
    color: #746b62;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1200px) {
    .homepage-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 20px;
    }

    .homepage-products-section ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 22px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .homepage .site-shell {
        width: min(100% - 36px, 1440px);
    }

    .homepage-section {
        padding: 72px 0;
    }

    .homepage-section__header {
        margin-bottom: 34px;
    }

    .homepage-section__title {
        font-size: clamp(32px, 6vw, 44px);
    }

    .homepage-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 16px;
    }

    .homepage-products-section ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homepage-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-trust__item,
    .homepage-trust__item:first-child,
    .homepage-trust__item:last-child {
        padding: 24px;
    }

    .homepage-trust__item:nth-child(2) {
        border-right: 0;
    }

    .homepage-trust__item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(23, 21, 18, 0.09);
    }
}


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

@media (max-width: 767px) {
    .homepage .site-shell {
        width: min(100% - 32px, 1440px);
    }

    .homepage-quick-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .homepage-quick-nav::-webkit-scrollbar {
        display: none;
    }

    .homepage-quick-nav .site-shell {
        width: max-content;
        min-width: 100%;
    }

    .homepage-quick-nav__list {
        justify-content: flex-start;
        gap: 24px;
        padding: 16px;
    }

    .homepage-quick-nav__link {
        white-space: nowrap;
    }

    .homepage-section {
        padding: 58px 0;
    }

    .homepage-section__header {
        margin-bottom: 28px;
    }

    .homepage-section__eyebrow {
        font-size: 10px;
    }

    .homepage-section__title {
        font-size: clamp(30px, 10vw, 40px);
    }

    .homepage-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .homepage-category-card__content {
        gap: 8px;
        padding-top: 10px;
    }

    .homepage-category-card__title {
        font-size: 18px;
    }

    .homepage-category-card__more {
        font-size: 10px;
    }

    .homepage-products-section ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 14px;
    }

    .homepage-products-section ul.products li.product img {
        padding: 8px;
    }

    .homepage-products-section ul.products li.product .woocommerce-loop-product__title {
        min-height: 0;
        font-size: 13px;
    }

    .homepage-products-section ul.products li.product .price {
        min-height: 0;
        font-size: 12px;
    }

    .homepage-products-section ul.products li.product .button,
    .homepage-products-section ul.products li.product .added_to_cart {
        width: 100%;
        min-height: 40px;
    }

    .homepage-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-trust__item,
    .homepage-trust__item:first-child,
    .homepage-trust__item:last-child {
        padding: 22px 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(23, 21, 18, 0.09);
    }

    .homepage-trust__item:nth-child(odd) {
        padding-left: 0;
        border-right: 1px solid rgba(23, 21, 18, 0.09);
    }

    .homepage-trust__item:nth-child(even) {
        padding-right: 0;
    }

    .homepage-trust__item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .homepage-trust__title {
        font-size: 13px;
    }

    .homepage-trust__text {
        font-size: 11px;
    }
}


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

@media (max-width: 420px) {
    .homepage-category-card__content {
        display: block;
    }

    .homepage-category-card__more {
        display: inline-block;
        margin-top: 5px;
    }

    .homepage-products-section ul.products {
        gap: 28px 12px;
    }

    .homepage-products-section ul.products li.product .button,
    .homepage-products-section ul.products li.product .added_to_cart {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 9px;
    }
}

.homepage-category-card__image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.homepage-category-card__title a {
    color: inherit;
    text-decoration: none;
}

.homepage-category-card__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 10px;
}

.homepage-category-card__links a {
    color: #7a7167;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.homepage-category-card__links a:hover,
.homepage-category-card__links a:focus-visible {
    color: #bf3a24;
}