/* *
* 1. Global Styles
* 2. Purchase Type
* 3. Product Options
* 4. Add to Cart Button
* 5. Logged out message
* 6. Logged in messages
* 7. Responsive
*/


/* 1. Global */
:root {
    --acy-black: #000000;
    --acy-white: #ffffff;
    --acy-secondary: #ff671f;
    --acy-darker-secondary: #e55b1f;
    --acy-green: #52744b;
    --acy-dark-green: #395135;
    --acy-highlight: #6a9560;
    --acy-gray: gray;
    --acy-lightgray: #E7E8E8;
    --acy-hover-bg: #f8f6f2;
    --acy-notify-bg: #FEF6E9;
    --acy-notify-accent: #F8A022;
}

.ghm-hidden {
    display: none;
}

.ghm-offer-selector {
    font-family: inherit;
}

.ghm-offer-selector>* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ghm-offer-selector .choose-package {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: var(--acy-black);
    text-transform: uppercase;
    margin-bottom: 15px;
    width: 100%;
    padding: 0;
}

/* 2. Purchase Type */
.ghm-offer-selector .purchase-type-options {
    border: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 16px;
}

.ghm-offer-selector .purchase-type-option {
    width: 100%;
}

.ghm-offer-selector .purchase-type-option label {
    width: 100%;
    height: 100%;
}

.ghm-offer-selector .purchase-type-option input[type="radio"] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
}

.ghm-offer-selector .purchase-type-option label:has(input[type="radio"]:focus-visible) {
    outline: 2px solid var(--acy-notify-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.ghm-offer-selector .purchase-type-option input[type="radio"]+span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #303238;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #BDBEBF;
    border-radius: 6px;
    padding: 10px 24px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(.17, .67, .83, .67);
    height: 100%;
}

.ghm-offer-selector .purchase-type-option input[type="radio"]+span:hover,
.ghm-offer-selector .purchase-type-option input[type="radio"]:checked+span {
    background-color: var(--acy-notify-accent);
    color: var(--acy-black);
}

/* 3. Product Options */
.ghm-offer-selector .product-option {
    border: 1px solid var(--acy-black);
    background: transparent;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.ghm-offer-selector ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* owl selector for border top 1px */
.ghm-offer-selector ul>*+* {
    border-top: 1px solid var(--acy-black);
}

.ghm-offer-selector ul li {
    position: relative;
}

.ghm-offer-selector ul li label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px;
    cursor: pointer;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: 0.3s cubic-bezier(.17, .67, .83, .67);
}

.ghm-offer-selector ul li label:hover {
    background-color: #FEF6E9;
}

.ghm-offer-selector ul li label.active,
.ghm-offer-selector ul li label:has(input[type="radio"]:checked) {
    background-color: #FEF6E9;
}

.ghm-offer-selector ul li label:has(input[type="radio"]:focus-visible) {
    outline: 2px solid var(--acy-notify-accent);
    outline-offset: -2px;
    border-radius: 4px;
}

.ghm-offer-selector ul li label:hover .savings-message,
.ghm-offer-selector ul li label.active .savings-message,
.ghm-offer-selector ul li label:has(input[type=radio]:checked) .savings-message {
    /* color: var(--acy-black); */
}

.ghm-offer-selector .product-options input[type="radio"] {
    height: 26px;
    width: 26px;
    appearance: none;
    border: 2px solid #D9DADA;
    border-radius: 99999px;
    align-self: center;
    flex: none;
    padding: 0;
    box-shadow: unset;
    background-color: var(--acy-white);
}

.ghm-offer-selector .product-options input[type="radio"]:checked {
    border-color: #52744B;
    background-color: #52744B;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PCEtLSEgRm9udCBBd2Vzb21lIFBybyA2LjIuMSBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZSAoQ29tbWVyY2lhbCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTQ3MC42IDEwNS40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0yNTYgMjU2Yy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMGwtMTI4LTEyOGMtMTIuNS0xMi41LTEyLjUtMzIuOCAwLTQ1LjNzMzIuOC0xMi41IDQ1LjMgMEwxOTIgMzM4LjcgNDI1LjQgMTA1LjRjMTIuNS0xMi41IDMyLjgtMTIuNSA0NS4zIDB6Ii8+PC9zdmc+);
}


.ghm-offer-selector .pricing-container {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.ghm-offer-selector .quantity-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    /* display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    grid-template-areas: "quantity badge price";
    align-items: center;
    justify-items: end;
    gap: 15px; */
}

.ghm-offer-selector .quantity-container.with-flags {
    grid-template-columns: 2fr 2fr 2fr 1fr;
    grid-template-areas: "quantity badge flags price";
}

.ghm-offer-selector .quantity-container .quantity {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--acy-black);
    font-family: inherit;
    justify-self: start;
}

.ghm-offer-selector .quantity-container .quantity .frequency {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: var(--acy-black);
    font-weight: 400;
}

.ghm-offer-selector .quantity-container .compare-to-price {
    margin-left: auto;
    color: #4C4E53;
}

.ghm-offer-selector .quantity-container .final-price {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: var(--acy-black);
}

.ghm-offer-selector .savings-message {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #52744B;
    margin: 8px 0 0 0;
}

.ghm-offer-selector ul li label:hover .quantity,
.ghm-offer-selector ul li label.active .quantity,
.ghm-offer-selector ul li label:has(input[type="radio"]:checked) .quantity,
.ghm-offer-selector ul li label:hover .final-price,
.ghm-offer-selector ul li label.active .final-price,
.ghm-offer-selector ul li label:has(input[type="radio"]:checked) .final-price {
    /* color: var(--acy-white); */
}

.ghm-offer-selector .badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    color: var(--acy-black);
    background-color: #FCD9A7;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    transition: 0.3s cubic-bezier(.17, .67, .83, .67);
    margin: auto;
    text-transform: uppercase;
    border-radius: 999px;
}

.ghm-offer-selector .quantity-container .best-seller-flag,
.ghm-offer-selector .quantity-container .best-value-flag {
    width: 48px;
}

/* 4. Add to Cart button */
.ghm-offer-selector .button-container .add-to-cart {
    display: block;
    width: 100%;
    padding: 10px 30px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0;
    color: var(--acy-black);
    background-color: var(--acy-notify-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s cubic-bezier(.17, .67, .83, .67);
    outline: none;
    border-radius: 999px;
}

.ghm-offer-selector .button-container .disabled-btn {
    background-color: var(--acy-lighter-gray);
    color: var(--acy-gray);
    pointer-events: none;
}

.ghm-offer-selector .button-container .add-to-cart:hover {
    background-color: #C6801B;
    color: var(--acy-black);
}

.ghm-offer-selector .button-container .add-to-cart:focus-visible {
    outline: 2px solid var(--acy-notify-accent);
    outline-offset: 2px;
}

/* 5. Logged out message */
.ghm-offer-selector .logged-out-message-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: var(--acy-black);
    border: 1px solid var(--acy-notify-accent);
    padding: 25px;
    border-radius: 6px;
}

.ghm-offer-selector .logged-out-message-container .message p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.ghm-offer-selector .logged-out-message-container .message p>span,
.ghm-offer-selector .logged-out-message-container .message .saving-price {
    font-size: 24px;
    font-weight: 700;
    color: #52744B;
}

.ghm-offer-selector .logged-out-message-container .links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 15px;
}

.ghm-offer-selector .logged-out-message-container .links .link-as-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    padding: 7px 15px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    -webkit-transition: 0.3s cubic-bezier(.17, .67, .83, .67);
    -o-transition: 0.3s cubic-bezier(.17, .67, .83, .67);
    transition: 0.3s cubic-bezier(.17, .67, .83, .67);
}

.ghm-offer-selector .logged-out-message-container .links .sign-up-link {
    background-color: var(--acy-green);
    color: var(--acy-white);
    text-transform: uppercase;
    border-radius: 999px;
}

.ghm-offer-selector .logged-out-message-container .links .sign-up-link:hover {
    background-color: var(--acy-dark-green);
}

.ghm-offer-selector .logged-out-message-container .links .login-link {
    color: var(--acy-black);
    padding: 0;
    text-decoration: underline;
}

.ghm-offer-selector .logged-out-message-container .links .login-link:hover {
    text-decoration: none;
}

.ghm-offer-selector .logged-out-message-container .footer p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

.ghm-offer-selector .logged-out-message-container .footer p:first-child {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.ghm-offer-selector .disclaimer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 4px;
}

.ghm-offer-selector .disclaimer p {
    margin: 0;
    text-align: center;
}

.ghm-offer-selector .disclaimer span {
    font-weight: 700;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.33;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 0 6px;
}

.ghm-offer-selector .disclaimer .guarantee {
    border-left: 1px solid var(--acy-white);
}

.ghm-offer-selector .disclaimer svg {
    display: inline;
}

.ghm-offer-selector .free-shipping {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--acy-black);
    margin-bottom: 16px;
}

/* 6. Logged in messages */
.ghm-offer-selector .logged-in-message {
    text-align: center;
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--acy-black);
    margin-bottom: 20px;
}

.ghm-offer-selector .subscribe-save-message-container {
    margin-bottom: 15px;
    text-align: center;
}

.ghm-offer-selector .subscribe-save-message-container .logged-in-subscribe-save-message {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--acy-black);
    margin-bottom: 16px;
    border-radius: 8px;
}

.ghm-offer-selector .subscribe-save-message-container .logged-in-subscribe-save-message a {
    color: var(--acy-secondary);
}

.ghm-offer-selector .subscribe-save-message-container input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    border: 2px solid var(--acy-black) !important;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    background-color: var(--acy-white);
    vertical-align: middle;
    cursor: pointer;
}

.ghm-offer-selector .subscribe-save-message-container input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBmaWxsPSIjYmQ2NTFhIiBkPSJNNDM4LjYgMTA1LjRjMTIuNSAxMi41IDEyLjUgMzIuOCAwIDQ1LjNsLTI1NiAyNTZjLTEyLjUgMTIuNS0zMi44IDEyLjUtNDUuMyAwbC0xMjgtMTI4Yy0xMi41LTEyLjUtMTIuNS0zMi44IDAtNDUuM3MzMi44LTEyLjUgNDUuMyAwTDE2MCAzMzguNyAzOTMuNCAxMDUuNGMxMi41LTEyLjUgMzIuOC0xMi41IDQ1LjMgMHoiLz48L3N2Zz4=");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.ghm-offer-selector .subscribe-save-message-container label {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--acy-black);
    cursor: pointer;
}

/* 7. Responsive */
@media screen and (max-width: 1050px) {
    .ghm-offer-selector .quantity-container.with-flags {}

    .ghm-offer-selector .badge {}

    .ghm-offer-selector .quantity-container .best-seller-flag,
    .ghm-offer-selector .quantity-container .best-value-flag {
        top: 10px;
        right: 10px;
        position: absolute;
    }
}

.ghm-offer-selector .variant-options {
    margin-bottom: 20px;
    border: none;
    padding: 0;
    margin-inline: 0;
}

.ghm-offer-selector .variant-options .variant-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: var(--acy-black);
    margin-bottom: 8px;
}

.ghm-offer-selector .variant-options .variant-radio-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    justify-items: start;
    justify-content: start;
    align-items: start;
    gap: 20px;
}

.ghm-offer-selector .variant-options .variant-radio-wrapper .variant-option {
    align-self: stretch;
    position: relative;
}

.ghm-offer-selector .variant-options .variant-radio-wrapper .variant-option label {
    /* height: 100%; */
}

.ghm-offer-selector .variant-option input[type=radio] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
}

.ghm-offer-selector .variant-option input[type="radio"]:focus-visible~label {
    outline: 2px solid var(--acy-notify-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.ghm-offer-selector .variant-option input[type=radio]~label .variant-image {
    border: 1px solid var(--acy-lightgray);
    background-color: var(--acy-lightgray);
    border-radius: 99999px;
    padding: 5px;
    width: 65px;
    height: 65px;
    aspect-ratio: 1/1;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    overflow: hidden;
}

.ghm-offer-selector .variant-option input[type=radio]~label .variant-image img {
    display: block;
    margin: auto;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.ghm-offer-selector .variant-option input[type=radio]~label span {
    display: block;
    background-color: var(--acy-lightgray);
    color: var(--acy-black);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    cursor: pointer;
}

.ghm-offer-selector .variant-option input[type=radio]:checked~label span {
    border-color: var(--acy-secondary);
    background-color: var(--acy-notify-accent);
    color: var(--acy-black);
}

.ghm-offer-selector .variant-option input[type=radio]:checked~label .variant-image {
    border-color: var(--acy-black);
}

.notify-me-container {
    background: var(--acy-notify-bg);
    padding: 30px;
    border-radius: 8px;
}

.notify-me-container .out-of-stock-message {
    text-transform: none;
    color: var(--acy-black);
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3333;
    margin-bottom: 30px;
}

.notify-me-container .form-group label,
.notify-me-container .form-group input {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--acy-black);
    margin-bottom: 30px;
    border: none;
    padding: 10px 15px;
}

.notify-me-container label[for="email"] {
    display: none;
}

.notify-me-container button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--acy-black);
    background-color: var(--acy-notify-accent);
    border: none;
    width: 100%;
    border-radius: 0;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.notify-me-container button:hover,
.notify-me-container button:focus {
    background-color: var(--acy-notify-accent);
    color: var(--acy-black);
}

.notify-me-message {
    text-align: center;
}

.notify-me-container .notify-me-form .notify-me-submit-btn .loading {
    display: none;
    margin: auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    -webkit-animation: spinner 0.6s infinite linear;
    animation: spinner 0.6s infinite linear;
}

.notify-me-message .thanks-for-understanding {
    display: none;
}

@media screen and (max-width: 450px) {
    .ghm-offer-selector .quantity-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0 10px;
    }

    .ghm-offer-selector ul li label {
        padding: 10px 20px;
    }

    .ghm-offer-selector .purchase-type-options {}

    .ghm-offer-selector .quantity-container .quantity {
        font-size: 18px;
        grid-area: 1 / 1 / -1 / 1;
        text-align: left;
    }

    .ghm-offer-selector .badge {
        grid-area: 1 / 2 / -1 / 4;
    }

    .ghm-offer-selector .compare-to-price {
        font-size: 14px;
        grid-area: 2 / 4 / -1 / -1;
    }

    .ghm-offer-selector .quantity-container .final-price {
        font-size: 24px;
        grid-area: 1 / 4 / -1 / -1;
    }

    .ghm-offer-selector .purchase-type-option input[type="radio"]+span {
        font-size: 14px;
        font-weight: 700;
        padding: 12px;
    }


    .ghm-offer-selector .logged-out-message-container .links {
        gap: 4px;
    }

    .ghm-offer-selector .logged-out-message-container .links .link-as-btn {
        font-size: 14px;
    }

    .ghm-offer-selector .quantity-container .best-seller-flag,
    .ghm-offer-selector .quantity-container .best-value-flag {
        width: 46px;
    }

    .ghm-offer-selector .button-container .add-to-cart {
        font-size: 18px;
    }
}

/* Login Modal */
.ghm-login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.ghm-login-modal .modal-content {
    background-color: var(--acy-white);
    border-radius: 10px;
    box-shadow: -.2px 10px 13.5px 1.5px rgba(51, 51, 51, .5);
    width: calc(100% - 30px);
    height: auto;
    max-width: 400px;
    max-height: calc(100% - 30px);
    margin: auto;
    padding: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
}

.ghm-login-modal .modal-content .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    margin: -5px;
    border-radius: 10px;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
}

.ghm-login-modal .modal-content .close-modal:hover {
    background: var(--acy-lightgray);
}

.ghm-login-modal .modal-content .close-modal:active {
    /* innershadow */
    border-color: var(--acy-green);
}

.ghm-login-modal .modal-content .close-modal svg {
    fill: var(--acy-green);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

@-webkit-keyframes spinner {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spinner {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}