:root {
    --primary-color: #111111;
    --accent-color: #bc9c56;
}

/** Tweaks - Start **/
section.woocommerce-customer-details {
    padding: 1.5em;
    border: solid 1px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: flex;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    border-radius: 8px;
}

#payment .payment_methods li img {
    float: right;
    max-height: 1.3em;
}

div#content {
    min-height: 60vh;
}

#ckwtl-button2 {
    min-width: 200px;
    width: 100%;
    margin: 15px 0;
    padding: 12px 0;
    text-decoration: none;
    text-align: center;
}

@media (max-width: 992px) {
    div#shoptimizerCartDrawer {
        max-width: 70vw;
    }

    body.woocommerce-checkout {
        padding-bottom: 105px;
    }

    .hs-place-order-wrapper {
        position: fixed;
        width: 100%;
        bottom: 0;
        right: 0;
        left: 0;
        background: #fff;
        padding: 20px 20px 30px;
        border-top: solid 1px rgba(0, 0, 0, 0.2);
    }

    @keyframes subtle-pulse {
        0% {
            transform: scale(1);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        50% {
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
    }

    #payment .place-order .button {
        margin: 0;
        transition: all 0.3s ease-out;
        animation: subtle-pulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    }

    #payment .place-order .button:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        animation: none;
    }

}

.woocommerce-loop-product__title {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    min-height: 3em;
    max-height: 3em;
}

p.product__categories {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-line-clamp: 1;
    -moz-line-clamp: 1;
    -ms-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    min-height: 1.5em;
    max-height: 1.5em;
}

/** Tweaks - End **/

/** Jetform - Start **/

body .jet-form-builder-row {
    margin-bottom: 1rem;

    .jet-form-builder__label {
        margin-bottom: 0.5rem;

        .jet-form-builder__label-text {
            font-size: 0.9rem;
            font-weight: 600;
            color: #888;

            span.jet-form-builder__required {
                color: red;
            }
        }
    }

    button.jet-form-builder__action-button {
        display: block;
        text-align: center;
        padding: 10px;
        background: var(--accent-color, #333);
        color: #000000;
        width: 100%;
        border-radius: 5px;
        font-size: 1.1rem;
        font-weight: 700;
        transition: ease-in-out 0.3s;

        &:hover {
            opacity: 0.9;
        }
    }
}

/** Jetform - End **/

/** FOOTER - Start **/
/** 
--bg-color
--title-color
--description-color
--icon-color
--grid-count		
**/

footer.hs-footer {
    box-shadow: 0px -5px 20px 0px rgb(0 0 0 / 10%);
}

footer.hs-footer .col-full {
    max-width: 1440px; /* matches the Shoptimizer container width (header) */
    flex-direction: column;
}

/* pre-footer - Start */
.hs-store-features {
    background: var(--bg-color);
    padding: 2em 0;
}

.hs-store-features__wrap {
    display: grid;
    grid-template-columns: repeat(var(--grid-count), minmax(0, 1fr));
    gap: 2em;
}

@media (max-width: 990px) {
    .hs-store-features__wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hs-store-features__wrap {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

div.hs-store-features__item {
    display: grid;
    grid-template-columns: 2.5em 1fr;
    gap: 1em;
    align-items: start;
}

figure.hs-store-features-item__icon {
    display: flex;
    margin: 0;
    padding: 0;
}

figure.hs-store-features-item__icon svg {
    color: var(--icon-color);
    width: 2.5em;
    height: 2.5em;
}

.hs-store-features-item__content {
    margin: 0;
    padding: 0;
}

h5.hs-feature-title {
    color: var(--title-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
    margin-bottom: 0.5rem;
}

p.hs-feature-description {
    color: var(--description-color);
    font-size: 0.8rem;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
}

/* pre-footer - End */

/* main-footer - Start */
.hs-main-footer {
    background: var(--bg-color);
    padding: 2em 0;
}

.hs-main-footer-level-1 {
    display: flex;
    flex-direction: column;
    padding: 2em 0;
}

.hs-main-footer-level-1__wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2em;
}

@media (max-width: 767px) {
    .hs-main-footer-level-1__wrap {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.hs-main-footer-about {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hs-main-footer-about figure.hs-main-footer-about__logo {
    display: flex;
    max-width: 150px;
}

.hs-main-footer-about h3.hs-main-footer-about__blog-title {
    display: flex;
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--title-color);
    width: fit-content;
    line-height: 1em;
}

.hs-main-footer-about p.hs-main-footer-about__text {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5em;
    color: var(--description-color);
    max-width: 380px;
}

.hs-main-footer-about h3.hs-main-footer-about__blog-title a {
    color: var(--title-color);
}

.hs-main-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hs-main-footer-newsletter h3.hs-newsletter__title {
    display: flex;
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--title-color);
    width: fit-content;
    line-height: 1em;
}

.hs-main-footer-newsletter p.hs--newsletter__sub-title {
    margin: 0;
    margin-top: -0.5rem;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5em;
    color: var(--description-color);
}

.hs-newsletter-form__wrap {
    display: grid;
    grid-template-columns: calc(70% - 1rem) 30%;
    align-items: center;
    justify-content: space-between;
}

input#hs-newsletter-form__email {
    height: 50px;
    background: #fff;
    color: #333;
    border-radius: 5px;
}

button#hs-newsletter-form__cta {
    height: 50px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.8;
    transition: ease-in-out 300ms;
}

button#hs-newsletter-form__cta:hover {
    opacity: 1;
}

.hs-main-footer-level-2 {
    display: flex;
    flex-direction: column;
    padding: 2em 0;
}

.hs-main-footer-level-2__wrap {
    display: grid;
    grid-template-columns: repeat(var(--menu-count), minmax(0, 1fr));
    gap: 2em;
}

@media (max-width: 990px) {
    .hs-main-footer-level-2__wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hs-main-footer-level-2__wrap .hs-footer-menu__wrap:last-child:nth-child(odd) {
        grid-column: var(--grid-span);
    }
}

@media (max-width: 767px) {
    .hs-main-footer-level-2__wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hs-main-footer-level-2__wrap .hs-footer-menu__wrap:last-child:nth-child(odd) {
        grid-column: var(--grid-span);
    }
}

.hs-main-footer-level-2 .hs-footer-menu__wrap {
    display: flex;
    flex-direction: column;
}

.hs-main-footer-level-2 .hs-footer-menu__wrap h4.hs-footer-menu__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--title-color);
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    padding-bottom: 0.5rem;
}

.hs-main-footer-level-2 .hs-footer-menu__wrap ul.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 0.5rem;
}

.hs-main-footer-level-2 .hs-footer-menu__wrap .footer-menu li {
    font-size: 0.9rem;
    color: var(--title-color);
    opacity: 0.8;
    line-height: 1.8em;
    text-indent: 0;
}

.hs-main-footer-level-2 .hs-footer-menu__wrap .footer-menu li a {
    font-size: 0.9rem;
    color: var(--title-color);
    opacity: 0.8;
    font-weight: 600;
}

.hs-main-footer-level-2 .hs-footer-menu__wrap .footer-menu li a:hover {
    opacity: 1;
}

ul#hs-social-menu li a {
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    color: var(--title-color);
}

ul#hs-social-menu li a span.hs-social-icon {
    display: flex;
}

ul#hs-social-menu li a span.hs-social-icon svg {
    width: 1.4em;
    height: 1.4em;
    color: var(--icon-color);
}

/* main-footer - End */

/* Copyright - Start */
.hs-copyright {
    background: var(--bg-color);
    color: var(--title-color);
    padding: 2em 0;
    border-top: solid 1px rgba(0, 0, 0, 0.2);
}

.hs-copyright .hs-copyright__wrap {
    display: flex;
    width: 100%;
    justify-content: var(--justify);
    align-items: center;
    gap: 1em;
}

@media (max-width: 767px) {
    .hs-copyright .hs-copyright__wrap {
        flex-direction: column;
        text-align: center;
    }
}

/* Copyright - End */

/** FOOTER - End **/
/* Primary menu "On Sale" item: flame icon before the label (item class hs-menu-hot, added in Appearance > Menus). */
.menu-item.hs-menu-hot > a::before {
    content: "";
    display: inline-block;
    width: 1.05em;
    height: 1.2em;
    margin-inline-end: .35em;
    vertical-align: -.2em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath fill='%23ff5a1f' d='M12.7 1c.3 3.2-1.1 5.1-2.7 7-1.9 2.2-4.3 4.4-4.3 8.3A7.6 7.6 0 0 0 12 24.4a7.6 7.6 0 0 0 7.2-7.9c0-2.6-1-4.6-2.3-6.2-.3 1.5-1 2.5-2 3.2.6-3.6-.2-8.8-2.2-12.5z'/%3E%3Cpath fill='%23ffc233' d='M12.2 13.2c.1 2-1.8 2.9-2.6 4.6-.9 1.9.3 4.2 2.4 4.2s3.4-1.6 3.2-3.4c-.2-1.9-2-2.7-3-5.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Primary menu "Bundles" item: gift-box icon before the label (item class hs-menu-bundle). */
.menu-item.hs-menu-bundle > a::before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-inline-end: .35em;
    vertical-align: -.17em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23bc9c56' d='M2.5 8h19v4.5h-19z'/%3E%3Cpath fill='%23e8c872' d='M4 12.5h16V21a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z'/%3E%3Cpath fill='%23d6402b' d='M10.8 8h2.4v14h-2.4z'/%3E%3Cpath fill='none' stroke='%23d6402b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M12 8C10.2 8 7.6 7.4 7.6 5.3 7.6 3.9 8.7 3 10 3.1c1.6.2 2 2.6 2 4.9 0-2.3.4-4.7 2-4.9 1.3-.1 2.4.8 2.4 2.2C16.4 7.4 13.8 8 12 8z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Primary menu "Offers" parent: price-tag icon before the label (item class hs-menu-offers). */
.menu-item.hs-menu-offers > a::before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-inline-end: .35em;
    vertical-align: -.17em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d6402b' d='M3 3h8.6l9.4 9.4a1.6 1.6 0 0 1 0 2.3l-6.3 6.3a1.6 1.6 0 0 1-2.3 0L3 11.6z'/%3E%3Ccircle cx='7.6' cy='7.6' r='1.7' fill='%23fff'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' d='M10.6 14.2l3.8-3.8'/%3E%3Ccircle cx='10.9' cy='10.9' r='.9' fill='%23fff'/%3E%3Ccircle cx='14.1' cy='14.1' r='.9' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
}
