/* *
* 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 {
    --upn-primary: #007a29;
    --upn-lighter-secondary: linear-gradient(180deg,#ef6a00 0%,#930901 100%);
    --upn-secondary: #bc5b00;
    --upn-darker-secondary: #184042;
    --upn-white: #ffffff;
    --upn-gray: #53565a;
    --upn-lighter-gray: #d5d5d5;
}

.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(--upn-black);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: none;
}

/* 2. Purchase Type */
.ghm-offer-selector .purchase-type-options {
    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: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ghm-offer-selector .purchase-type-option {
    width: 100%;
}

.ghm-offer-selector .purchase-type-option label {
    width: 100%;
}

.ghm-offer-selector .purchase-type-option input[type="radio"] {
    display: none;
}

.ghm-offer-selector .purchase-type-option input[type="radio"]+span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--upn-gray);
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
    background: var(--upn-lighter-gray);
    border: 2px solid var(--upn-lighter-gray);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    box-shadow: 1px 1px 2px 0px #00000040;
    -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 .purchase-type-option input[type="radio"]+span:hover,
.ghm-offer-selector .purchase-type-option input[type="radio"]:checked+span {
    border: 2px solid var(--upn-primary);  
    background-color: var(--upn-primary);
    color: var(--upn-white);
}

/* 3. Product Options */
.ghm-offer-selector .product-option {
    border: 1px solid var(--upn-primary);
    background: transparent;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
}

.ghm-offer-selector ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ghm-offer-selector ul li {
    position: relative;
}

.ghm-offer-selector ul li label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 15px;
    padding: 10px 15px;
    cursor: pointer;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    border-radius: 4px;
    -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 ul li label:hover {
    background-color: var(--upn-primary);
    color: var(--upn-white);
}

.ghm-offer-selector ul li label.active,
.ghm-offer-selector ul li label:has(input[type="radio"]:checked) {
    background-color: var(--upn-darker-secondary);
}

.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(--upn-white);
}

.ghm-offer-selector .product-options input[type="radio"] {
    -webkit-appearance: none;
    height: 25px;
    width: 25px;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid var(--upn-primary) !important;
    border-radius: 99999px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    padding: 0;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    background-color: var(--upn-white);

}

.ghm-offer-selector .product-options input[type="radio"]:checked {
    background-color: var(--upn-primary);
    border: 2px solid var(--upn-white) !important;
    border-radius: 99999px;
}


.ghm-offer-selector .pricing-container {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.ghm-offer-selector .quantity-container {
    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-weight: 600;
    font-size: 22px;
    line-height: 28px;
    color: var(--upn-primary);
    font-family: inherit;
    text-transform: uppercase;
    justify-self: start;
}


.ghm-offer-selector .quantity-container .final-price {
    font-weight: 500;
    font-size: 22px;
    line-height: 24px;
    color: var(--upn-primary);
    grid-area: price;
}

.ghm-offer-selector .savings-message {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: var(--upn-secondary);
    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(--upn-white);
}

.ghm-offer-selector .badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5px 10px;
    background-color: var(--upn-white);
    color: var(--upn-primary);
    font-family: inherit;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    border-radius: 4px;
    -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);
    grid-area: badge;
}

.ghm-offer-selector .quantity-container .best-seller-flag,
.ghm-offer-selector .quantity-container .best-value-flag {
    width: 48px;
    grid-area: flags;
}

/* 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: 22px;
    line-height: 2.2;
    margin: 16px 0;
    color: var(--upn-white);
    background: var(--upn-secondary);
    border-radius: 4px;
    -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);
    outline: none;
    text-transform: uppercase;
}

.ghm-offer-selector .button-container .disabled-btn {
    background-color: var(--upn-lighter-gray);
    color: var(--upn-gray);
    pointer-events: none;
}

.ghm-offer-selector .button-container .add-to-cart:hover {
    background: var(--upn-secondary);
    color: var(--upn-white);
}

.ghm-offer-selector .button-container .add-to-cart:focus {
    -webkit-box-shadow: 0px 0px 0px 2px rgb(0 0 0);
    box-shadow: 0px 0px 0px 2px rgb(0 0 0);
}

/* 5. Logged out message */
.ghm-offer-selector .logged-out-message-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin: 16px;
    text-align: center;
    color: var(--upn-primary);
}

.ghm-offer-selector .logged-out-message-container .message p {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.ghm-offer-selector .logged-out-message-container .message p>span,
.ghm-offer-selector .logged-out-message-container .message .saving-price {
    font-weight: 800;
}

.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: 3px 15px;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
    border-radius: 4px;
    border: 2px solid var(--upn-secondary);
    -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(--upn-secondary);
    color: #ffffff;
}

.ghm-offer-selector .logged-out-message-container .links .sign-up-link:hover {
    background-color: var(--upn-primary);
    border-color: var(--upn-primary);
}


.ghm-offer-selector .logged-out-message-container .links .login-link {
    color: var(--upn-primary);
}

.ghm-offer-selector .logged-out-message-container .links .login-link:hover {
    background-color: var(--upn-primary);
    color: #ffffff;
    border-color: var(--upn-primary);
}

.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;
    background-color: var(--upn-primary);
    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;
    color: var(--upn-white);
    margin: 0;
    padding: 0 6px;
}

.ghm-offer-selector .disclaimer .guarantee {
    border-left: 1px solid var(--upn-white);
}

.ghm-offer-selector .disclaimer svg {
    display: inline;
}

/* 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(--upn-primary);
    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(--upn-primary);
    margin-bottom: 16px;
    border-radius: 8px;
}

.ghm-offer-selector .subscribe-save-message-container .logged-in-subscribe-save-message a {
    color: var(--upn-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(--upn-primary) !important;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    background-color: var(--upn-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(--upn-primary);
    cursor: pointer;
}

/* 7. Responsive */
@media screen and (max-width: 1050px) {
    .ghm-offer-selector .quantity-container.with-flags {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-areas: "quantity price flags"
            "badge badge flags";
    }

    .ghm-offer-selector .badge {
        justify-self: start;
    }

    .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: 24px;
}

.ghm-offer-selector .variant-options .variant-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: var(--upn-primary);
    margin-bottom: 8px;
}

.ghm-offer-selector .variant-options .variant-radio {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.ghm-offer-selector .variant-options .variant-radio .variant-option {
    flex: 1;
}

.ghm-offer-selector .variant-options .variant-radio .variant-option label {
    width: 100%;
}

.ghm-offer-selector .variant-option input[type=radio] {
    display: none;
}

.ghm-offer-selector .variant-option input[type=radio]+span {
    display: block;
    color: var(--upn-primary);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    border-radius: 8px;
    border: 2px solid var(--upn-primary);
    padding: 10px 20px;
    cursor: pointer;
}

.ghm-offer-selector .variant-option input[type=radio]:checked+span {
    border-color: var(--upn-secondary);
    background-color: var(--upn-secondary);
    color: var(--upn-white);
}

.notify-me-container .out-of-stock-message {
    text-transform: uppercase;
    color: var(--upn-secondary);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

@media screen and (max-width: 450px) {
    .ghm-offer-selector .quantity-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: "quantity price"
            "badge badge";
        gap: 8px;
    }

    .ghm-offer-selector .purchase-type-options {
        flex-direction: column;
    }

    .ghm-offer-selector .badge {
        font-size: 14px;
    }

    .ghm-offer-selector .quantity-container .quantity {
        font-size: 18px;
    }

    .ghm-offer-selector .quantity-container .final-price {
        font-size: 18px;
    }

    .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;
    }
}