:root{
    --rhigi-ui-orange:#ff5a00;
    --rhigi-ui-green:#07883f;
    --rhigi-ui-ink:#101828;
    --rhigi-ui-muted:#667085;
    --rhigi-ui-border:#e4e7ec;
}

/* Guide-matched icon navigation for all non-home pages. */
body.rhigi-inner-page .rhigi-inner-icon-menu{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:min(100%,1180px)!important;margin:0 auto!important;padding:14px 0 12px!important;list-style:none!important;background:#fff!important;border:0!important;box-shadow:none!important}
body.rhigi-inner-page .rhigi-inner-icon-menu>.rhigi-inner-icon-item{position:relative!important;display:block!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.rhigi-inner-page .rhigi-inner-icon-menu>.rhigi-inner-icon-item:not(:last-child)::after,body.rhigi-inner-page .rhigi-inner-icon-menu>a[data-rhigi-inner-icon]:not(:last-of-type)::after{content:"";position:absolute;top:12px;right:0;width:1px;height:calc(100% - 24px);background:#e5e7eb}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon]{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-width:0!important;min-height:112px!important;padding:10px 8px!important;color:#17212b!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:clamp(16px,1.55vw,22px)!important;font-weight:800!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important;white-space:normal!important}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon]::before{content:"";display:block;width:42px;height:42px;color:#17212b;background-color:currentColor;-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat;transition:transform .18s ease,color .18s ease}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon="products"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/g%3E%3C/svg%3E")}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon="deals"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.4 1 4.8 13h5.9L9.8 23 19.2 10h-6.1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.4 1 4.8 13h5.9L9.8 23 19.2 10h-6.1z'/%3E%3C/svg%3E")}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon="categories"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' d='M20 13 12 21 3 12V4h8z'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='black'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' d='M20 13 12 21 3 12V4h8z'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='black'/%3E%3C/svg%3E")}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon="why"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2 20 5v6c0 5-3.4 8.7-8 11-4.6-2.3-8-6-8-11V5z'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2 20 5v6c0 5-3.4 8.7-8 11-4.6-2.3-8-6-8-11V5z'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5'/%3E%3C/g%3E%3C/svg%3E")}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon="contact"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 14v-3a8 8 0 0 1 16 0v3'/%3E%3Cpath d='M4 13H3a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2v-6zm16 0h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2v-6zM19 19c-1 2-3 3-6 3'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 14v-3a8 8 0 0 1 16 0v3'/%3E%3Cpath d='M4 13H3a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2v-6zm16 0h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2v-6zM19 19c-1 2-3 3-6 3'/%3E%3C/g%3E%3C/svg%3E")}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon]:hover,body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon]:focus-visible{color:#ff5a00!important}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon]:hover::before,body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon]:focus-visible::before{color:#ff5a00;transform:translateY(-2px)}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon].rhigi-inner-icon-active{color:#ff5a00!important}
body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon].rhigi-inner-icon-active::before{color:#ff5a00!important}
@media(max-width:767px){body.rhigi-inner-page .rhigi-inner-icon-menu{padding:7px 0 6px!important}body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon]{gap:6px!important;min-height:78px!important;padding:7px 2px!important;font-size:clamp(10px,3vw,13px)!important;line-height:1.12!important}body.rhigi-inner-page .rhigi-inner-icon-menu a[data-rhigi-inner-icon]::before{width:27px;height:27px}body.rhigi-inner-page .rhigi-inner-icon-menu>.rhigi-inner-icon-item:not(:last-child)::after,body.rhigi-inner-page .rhigi-inner-icon-menu>a[data-rhigi-inner-icon]:not(:last-of-type)::after{top:8px;height:calc(100% - 16px)}}

/* Contact topic shortcuts are intentionally removed from the public page. */
body.rhigi-contact-page .rhigi-contact-quick-help,
body:has(.rhigi-contact-portal) .rhigi-contact-quick-help{
    display:none!important
}

/* Contact form action label */
body.rhigi-contact-page form button[type="submit"],
body.rhigi-contact-page form input[type="submit"],
body.rhigi-contact-page .wpforms-submit,
body.rhigi-contact-page .wpcf7-submit,
body.rhigi-contact-page .elementor-button[type="submit"]{
    min-height:68px!important;
    font-family:inherit!important;
    font-size:23px!important;
    font-weight:800!important;
    line-height:1.2!important;
    letter-spacing:0!important;
    text-transform:none!important
}
body.rhigi-contact-page form button[type="submit"] *,
body.rhigi-contact-page .wpforms-submit *,
body.rhigi-contact-page .elementor-button[type="submit"] *{
    color:inherit!important;
    font-family:inherit!important;
    font-size:23px!important;
    font-weight:800!important;
    line-height:1.2!important;
    letter-spacing:0!important;
    text-transform:none!important
}

@media (min-width:768px){
    body.rhigi-contact-page form button[type="submit"],
    body.rhigi-contact-page form input[type="submit"],
    body.rhigi-contact-page .wpforms-submit,
    body.rhigi-contact-page .wpcf7-submit,
    body.rhigi-contact-page .elementor-button[type="submit"],
    body.rhigi-contact-page form button[type="submit"] *,
    body.rhigi-contact-page .wpforms-submit *,
    body.rhigi-contact-page .elementor-button[type="submit"] *{
        font-size:26px!important
    }
}

/* My Account login/register action labels */
body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"],
body.woocommerce-account:not(.logged-in) button[name="login"],
body.woocommerce-account:not(.logged-in) button[name="register"]{
    min-height:68px!important;
    font-family:inherit!important;
    font-size:23px!important;
    font-weight:800!important;
    line-height:1.2!important;
    letter-spacing:0!important;
    text-transform:none!important
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"] *,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"] *,
body.woocommerce-account:not(.logged-in) button[name="login"] *,
body.woocommerce-account:not(.logged-in) button[name="register"] *{
    color:inherit!important;
    font-family:inherit!important;
    font-size:23px!important;
    font-weight:800!important;
    line-height:1.2!important;
    letter-spacing:0!important;
    text-transform:none!important
}

@media (min-width:768px){
    body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"],
    body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"],
    body.woocommerce-account:not(.logged-in) button[name="login"],
    body.woocommerce-account:not(.logged-in) button[name="register"],
    body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"] *,
    body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"] *,
    body.woocommerce-account:not(.logged-in) button[name="login"] *,
    body.woocommerce-account:not(.logged-in) button[name="register"] *{
        font-size:26px!important
    }
}

.rhigi-ui-active{background:#f8fafc!important}
.rhigi-ui-active .entry-title{display:none!important}

.wp-block-woocommerce-checkout{
    max-width:1320px!important;
    margin:30px auto!important;
    padding:0 18px!important
}
.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1.28fr) minmax(360px,.72fr)!important;
    gap:26px!important;
    align-items:start!important
}
.wp-block-woocommerce-checkout .wc-block-components-main{
    width:auto!important;
    padding:0!important
}
.wp-block-woocommerce-checkout .wc-block-components-sidebar{
    width:auto!important
}

.rhigi-ui-account-banner,
.rhigi-ui-account-note{
    display:flex;
    align-items:flex-start;
    gap:12px;
    max-width:1284px;
    margin:0 auto 20px;
    padding:16px 18px;
    border:1px solid #fed7aa;
    border-radius:14px;
    background:#fff7ed;
    box-sizing:border-box
}
.rhigi-ui-account-banner>span,
.rhigi-ui-account-note>span{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    flex:0 0 auto;
    border-radius:50%;
    background:#ffedd5
}
.rhigi-ui-account-banner strong,
.rhigi-ui-account-banner small,
.rhigi-ui-account-note strong,
.rhigi-ui-account-note small{display:block}
.rhigi-ui-account-banner small,
.rhigi-ui-account-note small{margin-top:4px;color:#7c2d12}
.rhigi-ui-hide-account{display:none!important}

.wp-block-woocommerce-checkout .rhigi-ui-section{
    margin:0 0 17px!important;
    padding:22px!important;
    border:1px solid var(--rhigi-ui-border)!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(15,23,42,.045)!important
}
.wp-block-woocommerce-checkout .rhigi-ui-section .wc-block-components-checkout-step__title{
    margin:0!important;
    color:var(--rhigi-ui-ink)!important;
    font-size:25px!important;
    font-weight:950!important;
    letter-spacing:-.02em!important
}
.rhigi-ui-helper{
    margin:6px 0 16px!important;
    color:var(--rhigi-ui-muted)!important;
    font-size:14px!important
}

/* Shipping methods: preserve WooCommerce's native label structure */
.wp-block-woocommerce-checkout .rhigi-ui-shipping-option{
    position:relative!important;
    display:block!important;
    min-height:112px!important;
    margin:0 0 12px!important;
    padding:18px 78px 18px 118px!important;
    overflow:hidden!important;
    border:1px solid var(--rhigi-ui-border)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-sizing:border-box!important
}
.wp-block-woocommerce-checkout .rhigi-ui-shipping-option:has(input:checked){
    border-color:var(--rhigi-ui-orange)!important;
    background:#fff8f3!important;
    box-shadow:0 0 0 1px rgba(255,90,0,.08),0 8px 22px rgba(255,90,0,.08)!important
}
.wp-block-woocommerce-checkout .rhigi-ui-shipping-option input[type="radio"]{
    position:absolute!important;
    left:18px!important;
    top:28px!important;
    width:22px!important;
    height:22px!important;
    margin:0!important
}
.rhigi-ui-shipping-icon{
    position:absolute!important;
    left:54px!important;
    top:18px!important;
    display:grid!important;
    place-items:center!important;
    width:52px!important;
    height:52px!important;
    border:1px solid #ffdfc4!important;
    border-radius:12px!important;
    background:#fff8f3!important;
    font-size:27px!important
}
.wp-block-woocommerce-checkout .rhigi-ui-shipping-option label,
.wp-block-woocommerce-checkout .rhigi-ui-shipping-option .wc-block-components-radio-control__option-layout{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    white-space:normal!important;
    color:var(--rhigi-ui-ink)!important;
    font-size:17px!important;
    font-weight:900!important;
    line-height:1.35!important
}
.wp-block-woocommerce-checkout .rhigi-ui-shipping-option .wc-block-components-radio-control__description,
.wp-block-woocommerce-checkout .rhigi-ui-shipping-option .wc-block-components-radio-control__secondary-description{
    display:block!important;
    margin-top:7px!important;
    color:var(--rhigi-ui-muted)!important;
    font-size:14px!important;
    font-weight:500!important;
    line-height:1.5!important;
    white-space:normal!important
}
.wp-block-woocommerce-checkout .rhigi-ui-shipping-option .wc-block-components-radio-control__secondary-label{
    position:absolute!important;
    top:21px!important;
    right:16px!important;
    color:var(--rhigi-ui-ink)!important;
    font-size:16px!important;
    font-weight:950!important;
    white-space:nowrap!important
}

/* Payment options */
.wp-block-woocommerce-checkout .rhigi-ui-payment-option{
    position:relative!important;
    display:block!important;
    min-height:90px!important;
    margin-bottom:12px!important;
    padding:17px!important;
    border:1px solid var(--rhigi-ui-border)!important;
    border-radius:16px!important;
    background:#fff!important;
    overflow:hidden!important
}
.wp-block-woocommerce-checkout .rhigi-ui-payment-option:has(input:checked){
    border-color:var(--rhigi-ui-orange)!important;
    background:#fff8f3!important;
    box-shadow:0 0 0 1px rgba(255,90,0,.08),0 8px 22px rgba(255,90,0,.08)!important
}
.wp-block-woocommerce-checkout .rhigi-ui-payment-option .wc-block-components-payment-method-label{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    font-size:17px!important;
    font-weight:900!important
}
.wp-block-woocommerce-checkout .rhigi-ui-payment-option .wc-block-components-payment-method-label img{
    justify-self:end!important;
    width:auto!important;
    max-width:135px!important;
    max-height:28px!important;
    object-fit:contain!important
}
.wp-block-woocommerce-checkout .wc-block-components-payment-method-content{
    margin:10px 0 0!important;
    padding:14px!important;
    border:1px solid var(--rhigi-ui-border)!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#475467!important
}

/* Order summary: fixed mobile-safe structure */
.wp-block-woocommerce-checkout .rhigi-ui-summary{
    position:sticky!important;
    top:20px!important;
    padding:22px!important;
    border:1px solid var(--rhigi-ui-border)!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 14px 38px rgba(15,23,42,.075)!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary:before{
    content:"Order summary";
    display:block;
    margin-bottom:18px;
    color:var(--rhigi-ui-ink);
    font-size:25px;
    font-weight:950
}
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary{
    border:1px solid var(--rhigi-ui-border)!important;
    border-radius:14px!important;
    overflow:hidden!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item{
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr) auto!important;
    gap:12px!important;
    align-items:start!important;
    padding:15px 12px!important;
    overflow:hidden!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__image{
    grid-column:1!important;
    width:72px!important;
    min-width:72px!important;
    margin:0!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__image img{
    width:64px!important;
    height:64px!important;
    object-fit:contain!important;
    border-radius:10px!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__description{
    grid-column:2!important;
    min-width:0!important;
    width:auto!important;
    margin:0!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-product-name,
.wp-block-woocommerce-checkout .rhigi-ui-summary-title{
    display:-webkit-box!important;
    overflow:hidden!important;
    -webkit-line-clamp:3!important;
    -webkit-box-orient:vertical!important;
    color:var(--rhigi-ui-ink)!important;
    font-size:15px!important;
    font-weight:850!important;
    line-height:1.35!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary-description,
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__description>p{
    display:none!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__total-price{
    grid-column:3!important;
    justify-self:end!important;
    white-space:nowrap!important;
    font-weight:950!important
}
.wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__quantity{
    position:absolute!important
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button{
    min-height:58px!important;
    border:0!important;
    border-radius:11px!important;
    background:linear-gradient(90deg,#ff4f00,#ff7800)!important;
    color:#fff!important;
    font-size:18px!important;
    font-weight:950!important;
    box-shadow:0 12px 24px rgba(255,90,0,.22)!important
}

/* Thank-you page */
.woocommerce-order-received .woocommerce-order{width:100%;max-width:1180px;min-width:0;margin:30px auto;padding-inline:16px;box-sizing:border-box}
.woocommerce-order-received .woocommerce-notice--success,
.woocommerce-order-received .woocommerce-order-overview{display:none!important}
.rhigi-ui-thankyou,.rhigi-ui-thankyou *{box-sizing:border-box}
.rhigi-ui-thankyou{display:grid;width:100%;max-width:100%;min-width:0;gap:18px;overflow:visible}
.rhigi-ui-thankyou>*,.rhigi-ui-order-layout>*,.rhigi-ui-card,.rhigi-ui-products,.rhigi-ui-product,.rhigi-ui-product-main,.rhigi-ui-product-main>div,.rhigi-ui-totals,.rhigi-ui-tracker{max-width:100%;min-width:0}
.rhigi-ui-success{
    display:flex;
    align-items:center;
    gap:18px;
    padding:26px;
    border:1px solid #d8efdf;
    border-radius:22px;
    background:linear-gradient(135deg,#f0fff5,#fff)
}
.rhigi-ui-success-icon{
    display:grid;
    place-items:center;
    width:86px;
    height:86px;
    flex:0 0 auto;
    border-radius:50%;
    background:var(--rhigi-ui-green);
    color:#fff;
    font-size:52px;
    font-weight:900
}
.rhigi-ui-success span{color:var(--rhigi-ui-green);font-size:11px;font-weight:900;letter-spacing:.13em}
.rhigi-ui-success h1{margin:5px 0;color:var(--rhigi-ui-ink);font-size:36px}
.rhigi-ui-success p{margin:0;color:var(--rhigi-ui-muted)}
.rhigi-ui-success>div:last-child{min-width:0}
.rhigi-ui-success h1,.rhigi-ui-success p{overflow-wrap:anywhere}
.rhigi-ui-order-meta{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border:1px solid var(--rhigi-ui-border);
    border-radius:16px;
    overflow:hidden;
    background:#fff
}
.rhigi-ui-order-meta>div{padding:17px;text-align:center}
.rhigi-ui-order-meta>div+div{border-left:1px solid var(--rhigi-ui-border)}
.rhigi-ui-order-meta span,.rhigi-ui-order-meta strong{display:block}
.rhigi-ui-order-meta span{font-size:10px;font-weight:900;text-transform:uppercase;color:#475467}
.rhigi-ui-order-meta strong{margin-top:6px;font-size:18px;overflow-wrap:anywhere}
.rhigi-ui-order-layout{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);
    gap:18px;
    align-items:start
}
.rhigi-ui-card{
    margin-bottom:18px;
    padding:20px;
    border:1px solid var(--rhigi-ui-border);
    border-radius:18px;
    background:#fff
}
.rhigi-ui-card header{display:flex;align-items:center;gap:9px;margin-bottom:14px}
.rhigi-ui-card header span{color:var(--rhigi-ui-orange);font-size:23px}
.rhigi-ui-card h2{margin:0;font-size:22px}
.rhigi-ui-products{border:1px solid var(--rhigi-ui-border);border-radius:13px;overflow:hidden}
.rhigi-ui-product{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:14px}
.rhigi-ui-product+.rhigi-ui-product{border-top:1px solid var(--rhigi-ui-border)}
.rhigi-ui-product-main{display:flex;min-width:0;align-items:center;gap:12px}
.rhigi-ui-product-image{flex:0 0 68px}
.rhigi-ui-product-image img{display:block;width:68px;max-width:100%;height:68px;object-fit:contain}
.rhigi-ui-product-main strong,.rhigi-ui-product-main small{display:block}
.rhigi-ui-product-main strong{overflow-wrap:anywhere}
.rhigi-ui-product-main small{margin-top:4px;color:var(--rhigi-ui-muted)}
.rhigi-ui-totals>div{display:grid;grid-template-columns:1fr auto;gap:12px;padding:13px 4px;border-bottom:1px solid #edf0f3}
.rhigi-ui-totals span,.rhigi-ui-totals strong,.rhigi-ui-side strong,.rhigi-ui-side p,.rhigi-ui-side a{min-width:0;overflow-wrap:anywhere}
.rhigi-ui-grand-total{font-size:21px}
.rhigi-ui-grand-total strong{padding:7px 13px;border-radius:8px;background:#e9f8ef;color:var(--rhigi-ui-green)}
.rhigi-ui-tracker{display:grid;grid-template-columns:repeat(4,1fr)}
.rhigi-ui-step{position:relative;text-align:center;padding:0 8px}
.rhigi-ui-step:before{content:"";position:absolute;left:-50%;right:50%;top:18px;height:2px;background:#d9dee5}
.rhigi-ui-step:first-child:before{display:none}
.rhigi-ui-step-marker{position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;margin:0 auto 9px;border-radius:50%;background:#e7eaf0;font-weight:900}
.rhigi-ui-step.active .rhigi-ui-step-marker,.rhigi-ui-step.completed .rhigi-ui-step-marker{background:var(--rhigi-ui-green);color:#fff}
.rhigi-ui-step.active:before,.rhigi-ui-step.completed:before{background:var(--rhigi-ui-green)}
.rhigi-ui-step strong,.rhigi-ui-step small{display:block}
.rhigi-ui-step small{margin-top:5px;color:var(--rhigi-ui-muted)}
.rhigi-ui-side p{color:var(--rhigi-ui-muted);line-height:1.6}
.rhigi-ui-side a{display:block;margin-top:8px;color:var(--rhigi-ui-orange);font-weight:800;text-decoration:none}
.rhigi-ui-continue{display:flex;justify-content:center;align-items:center;min-height:54px;border-radius:12px;background:linear-gradient(90deg,#ff4f00,#ff7800);color:#fff!important;font-weight:900;text-decoration:none}

@media(max-width:980px){
    .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
    .rhigi-ui-order-layout{grid-template-columns:1fr!important}
    .wp-block-woocommerce-checkout .rhigi-ui-summary{position:static!important}
}

@media(max-width:650px){
    .wp-block-woocommerce-checkout{padding:0 10px!important}
    .rhigi-ui-account-banner{margin-inline:10px}
    .wp-block-woocommerce-checkout .rhigi-ui-section,
    .wp-block-woocommerce-checkout .rhigi-ui-summary{padding:18px!important;border-radius:16px!important}

    .wp-block-woocommerce-checkout .rhigi-ui-shipping-option{
        min-height:130px!important;
        padding:18px 14px 16px 98px!important
    }
    .wp-block-woocommerce-checkout .rhigi-ui-shipping-option input[type="radio"]{
        left:16px!important;
        top:24px!important
    }
    .rhigi-ui-shipping-icon{
        left:46px!important;
        top:17px!important;
        width:42px!important;
        height:42px!important;
        font-size:23px!important
    }
    .wp-block-woocommerce-checkout .rhigi-ui-shipping-option .wc-block-components-radio-control__secondary-label{
        position:static!important;
        display:block!important;
        margin-top:8px!important;
        color:var(--rhigi-ui-green)!important
    }

    .wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item{
        grid-template-columns:64px minmax(0,1fr)!important
    }
    .wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__image{
        width:64px!important;
        min-width:64px!important
    }
    .wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__image img{
        width:56px!important;
        height:56px!important
    }
    .wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-order-summary-item__total-price{
        grid-column:2!important;
        justify-self:start!important;
        margin-top:7px!important
    }
    .wp-block-woocommerce-checkout .rhigi-ui-summary .wc-block-components-product-name,
    .wp-block-woocommerce-checkout .rhigi-ui-summary-title{
        font-size:14px!important;
        -webkit-line-clamp:3!important
    }

    .woocommerce-order-received .woocommerce-order{margin:16px auto;padding-inline:10px}
    .rhigi-ui-thankyou{gap:13px}
    .rhigi-ui-success{align-items:flex-start;gap:13px;padding:18px 14px;border-radius:17px}
    .rhigi-ui-success-icon{width:62px;height:62px;font-size:38px}
    .rhigi-ui-success h1{font-size:27px;line-height:1.12}
    .rhigi-ui-success p{font-size:14px;line-height:1.5}
    .rhigi-ui-order-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
    .rhigi-ui-order-meta>div{padding:14px 8px}
    .rhigi-ui-order-meta>div+div{border-left:0}
    .rhigi-ui-order-meta>div:nth-child(even){border-left:1px solid var(--rhigi-ui-border)}
    .rhigi-ui-order-meta>div:nth-child(n+3){border-top:1px solid var(--rhigi-ui-border)}
    .rhigi-ui-order-meta strong{font-size:15px}
    .rhigi-ui-card{padding:15px;border-radius:15px}
    .rhigi-ui-card h2{font-size:19px}
    .rhigi-ui-product{grid-template-columns:minmax(0,1fr);gap:9px;align-items:start;padding:12px}
    .rhigi-ui-product>strong{padding-left:80px;white-space:normal}
    .rhigi-ui-product-image{flex-basis:68px}
    .rhigi-ui-totals>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .rhigi-ui-totals>div>strong{text-align:right}
    .rhigi-ui-grand-total{font-size:18px}
    .rhigi-ui-grand-total strong{padding:7px 9px}
    .rhigi-ui-tracker{display:flex;width:100%;max-width:100%;padding-bottom:7px;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
    .rhigi-ui-step{flex:0 0 112px;min-width:0}
}

@media(max-width:380px){
    .rhigi-ui-success-icon{width:54px;height:54px;font-size:32px}
    .rhigi-ui-success h1{font-size:24px}
    .rhigi-ui-product>strong{padding-left:0}
}

/* Account password recovery */
.rhigi-password-page .woocommerce{width:100%;max-width:100%}
.rhigi-password-page .woocommerce:has(.rhigi-password-card){padding:clamp(20px,5vw,56px) 16px;background:#fafafa;box-sizing:border-box}
.rhigi-password-page .woocommerce-notices-wrapper{width:min(100%,1100px);margin:0 auto 16px}
.rhigi-password-page .rhigi-password-card{width:min(100%,1100px);margin:0 auto!important;padding:38px!important;background:#fff;border:1px solid #eee;border-radius:22px;box-shadow:0 12px 30px rgba(15,23,42,.08);box-sizing:border-box;color:#101828}
.rhigi-password-card>p:not(.form-row){display:none}
.rhigi-password-header{display:flex;align-items:center;gap:24px;padding-bottom:32px;margin-bottom:32px;border-bottom:1px solid #e5e7eb}
.rhigi-password-header-icon{display:grid;place-items:center;flex:0 0 96px;width:96px;height:96px;border-radius:50%;background:#fff1e9;color:#ff4d00}
.rhigi-password-header-icon svg{width:46px;height:46px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rhigi-password-header h1{margin:0 0 8px!important;font-size:clamp(30px,4vw,44px)!important;line-height:1.12!important;font-weight:800!important;letter-spacing:-.025em;color:#070d1c}
.rhigi-password-header p{margin:0!important;max-width:770px;color:#667085;font-size:clamp(17px,2.2vw,25px);line-height:1.5}
.rhigi-password-card .form-row{float:none!important;width:100%!important;margin:0 0 26px!important;padding:0!important}
.rhigi-password-card label{display:block;margin:0 0 12px!important;color:#101828;font-size:20px;font-weight:750;line-height:1.3}
.rhigi-password-card label .required{color:#e31b23}
.rhigi-password-field{position:relative;display:flex;width:100%;align-items:center}
.rhigi-password-field input{width:100%!important;height:76px!important;margin:0!important;padding:0 68px!important;border:1.5px solid #c8cbd1!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;color:#101828!important;font-size:21px!important;line-height:1!important;box-sizing:border-box!important}
.rhigi-password-field input::placeholder{color:#98a2b3;opacity:1}
.rhigi-password-field input:focus{border-color:#ff4d00!important;outline:3px solid rgba(255,77,0,.12)!important}
.rhigi-password-input-icon{position:absolute;z-index:1;left:24px;display:grid;place-items:center;color:#667085;pointer-events:none}
.rhigi-password-input-icon svg,.rhigi-password-toggle svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rhigi-password-toggle{position:absolute;right:18px;display:grid;place-items:center;width:44px;height:44px;padding:0!important;border:0!important;background:transparent!important;color:#ff4d00!important;box-shadow:none!important;cursor:pointer}
.rhigi-password-toggle.is-visible:after{content:"";position:absolute;width:30px;height:2px;background:currentColor;transform:rotate(-42deg)}
.rhigi-password-security{display:flex;align-items:center;gap:22px;margin:4px 0 34px;padding:22px 28px;border-radius:12px;background:linear-gradient(100deg,#fff1e8,#fff8f3);color:#ff4d00}
.rhigi-password-security>span{display:grid;place-items:center;flex:0 0 50px}
.rhigi-password-security svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rhigi-password-security strong,.rhigi-password-security small{display:block}
.rhigi-password-security strong{margin-bottom:3px;color:#101828;font-size:20px}
.rhigi-password-security small{color:#667085;font-size:17px}
.rhigi-password-card .form-row:has(.rhigi-password-submit){margin:8px 0 0!important}
.rhigi-password-submit{display:flex!important;align-items:center!important;justify-content:center!important;gap:18px;width:100%!important;min-height:78px!important;margin:0!important;padding:16px 24px!important;border:0!important;border-radius:12px!important;background:linear-gradient(90deg,#ff4a00,#ff5b00)!important;box-shadow:0 8px 18px rgba(255,77,0,.18)!important;color:#fff!important;font-size:26px!important;font-weight:800!important;line-height:1.2!important;text-transform:none!important}
.rhigi-password-card .rhigi-password-submit>span{color:inherit!important;font-family:inherit!important;font-size:26px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important}
.rhigi-password-submit:hover{filter:brightness(.97);transform:translateY(-1px)}
.rhigi-password-submit svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rhigi-password-back{display:inline-flex;align-items:center;gap:10px;margin-top:28px;color:#667085!important;font-size:18px;text-decoration:none!important}
.rhigi-password-back span{font-size:28px;line-height:1}
.rhigi-password-meter{margin-top:13px}
.rhigi-password-meter-bar{display:block;height:9px;overflow:hidden;border-radius:999px;background:#e7f7ea}
.rhigi-password-meter-bar i{display:block;width:0;height:100%;border-radius:inherit;background:#ef4444;transition:width .2s,background .2s}
.rhigi-password-meter[data-score="2"] .rhigi-password-meter-bar i{background:#f59e0b}
.rhigi-password-meter[data-score="3"] .rhigi-password-meter-bar i{background:#84cc16}
.rhigi-password-meter[data-score="4"] .rhigi-password-meter-bar i{background:#22b957}
.rhigi-password-meter strong{display:block;margin-top:10px;color:#667085;font-size:17px}
.rhigi-password-meter[data-score="4"] strong{color:#18a64b}
.rhigi-password-match{display:block;margin-top:10px;color:#667085;font-size:17px}
.rhigi-password-match.is-match{color:#18a64b}.rhigi-password-match.is-mismatch{color:#d92d20}
.rhigi-password-encrypted{display:flex;align-items:center;justify-content:center;gap:10px;margin:28px auto 0!important;color:#98a2b3;font-size:16px}
.rhigi-password-encrypted svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rhigi-password-card .woocommerce-password-strength,.rhigi-password-card .woocommerce-password-hint{display:none!important}
.rhigi-password-sent-page .woocommerce{padding:clamp(24px,6vw,72px) 16px!important;background:linear-gradient(180deg,#fff 0,#fffaf7 100%);box-sizing:border-box}
.rhigi-password-sent-card{width:min(100%,760px);margin:0 auto;padding:clamp(30px,6vw,58px);border:1px solid #f1e7e1;border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.1);box-sizing:border-box;text-align:center;color:#101828}
.rhigi-password-sent-icon{position:relative;display:grid;place-items:center;width:104px;height:104px;margin:0 auto 22px;border-radius:50%;background:#fff1e9;color:#ff4d00}
.rhigi-password-sent-icon>svg{width:50px;height:50px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rhigi-password-sent-icon i{position:absolute;right:1px;bottom:4px;display:grid;place-items:center;width:34px;height:34px;border:4px solid #fff;border-radius:50%;background:#72aa13;color:#fff;font:800 18px/1 sans-serif}
.rhigi-password-sent-label{display:inline-block;margin-bottom:12px;color:#ff4d00;font-size:14px;font-weight:850;letter-spacing:.12em}
.rhigi-password-sent-card h1{margin:0 0 14px!important;color:#070d1c;font-size:clamp(32px,5vw,46px)!important;font-weight:850!important;line-height:1.12!important;letter-spacing:-.025em}
.rhigi-password-sent-card>p{max-width:610px;margin:0 auto!important;color:#667085;font-size:20px;line-height:1.6}
.rhigi-password-sent-card aside{display:flex;gap:16px;margin:30px 0;padding:20px 22px;border-radius:14px;background:#fff6f0;text-align:left}
.rhigi-password-sent-card aside:before{content:"i";display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#ff4d00;color:#fff;font:800 17px/1 serif}
.rhigi-password-sent-card aside strong,.rhigi-password-sent-card aside span{display:block}.rhigi-password-sent-card aside strong{margin-bottom:4px;color:#101828;font-size:17px}.rhigi-password-sent-card aside span{color:#667085;font-size:16px;line-height:1.5}
.rhigi-password-login-button{display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:78px;padding:16px 24px;border-radius:12px;background:linear-gradient(90deg,#ff4a00,#ff5b00);box-shadow:0 8px 18px rgba(255,77,0,.18);box-sizing:border-box;color:#fff!important;font-size:26px;font-weight:800;text-decoration:none!important}
.rhigi-password-sent-card .rhigi-password-login-button>span{color:inherit!important;font-family:inherit!important;font-size:26px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important}
.rhigi-password-login-button:hover{filter:brightness(.97);transform:translateY(-1px)}
.rhigi-password-login-button svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rhigi-password-sent-card .rhigi-password-help{margin-top:22px!important;font-size:15px;color:#98a2b3}

@media(max-width:640px){
    .rhigi-password-page .woocommerce:has(.rhigi-password-card){padding:18px 10px 28px}
    .rhigi-password-page .rhigi-password-card{padding:22px 18px!important;border-radius:17px}
    .rhigi-password-header{align-items:flex-start;gap:15px;padding-bottom:22px;margin-bottom:24px}
    .rhigi-password-header-icon{flex-basis:64px;width:64px;height:64px}
    .rhigi-password-header-icon svg{width:31px;height:31px}
    .rhigi-password-header h1{font-size:27px!important}
    .rhigi-password-header p{font-size:16px;line-height:1.45}
    .rhigi-password-card label{font-size:17px;margin-bottom:9px!important}
    .rhigi-password-field input{height:61px!important;padding:0 53px!important;font-size:17px!important}
    .rhigi-password-input-icon{left:17px}.rhigi-password-input-icon svg,.rhigi-password-toggle svg{width:24px;height:24px}
    .rhigi-password-toggle{right:7px}
    .rhigi-password-security{gap:14px;margin-bottom:25px;padding:17px}
    .rhigi-password-security>span{flex-basis:38px}.rhigi-password-security svg{width:37px;height:37px}
    .rhigi-password-security strong{font-size:17px}.rhigi-password-security small{font-size:14px;line-height:1.4}
    .rhigi-password-submit{min-height:68px!important;font-size:23px!important}
    .rhigi-password-card .rhigi-password-submit>span{font-size:23px!important;line-height:1.2!important}
    .rhigi-password-back{margin-top:22px;font-size:16px}
    .rhigi-password-encrypted{align-items:flex-start;padding:0 10px;text-align:center;font-size:14px}
    .rhigi-password-sent-page .woocommerce{padding:20px 10px 32px!important}
    .rhigi-password-sent-card{padding:30px 18px;border-radius:18px}
    .rhigi-password-sent-icon{width:82px;height:82px;margin-bottom:18px}.rhigi-password-sent-icon>svg{width:39px;height:39px}.rhigi-password-sent-icon i{width:29px;height:29px;font-size:15px}
    .rhigi-password-sent-card h1{font-size:30px!important}.rhigi-password-sent-card>p{font-size:17px;line-height:1.55}
    .rhigi-password-sent-card aside{gap:12px;margin:24px 0;padding:17px 15px}.rhigi-password-sent-card aside strong{font-size:16px}.rhigi-password-sent-card aside span{font-size:14px}
    .rhigi-password-login-button{min-height:68px;padding:14px 20px;font-size:23px}
    .rhigi-password-sent-card .rhigi-password-login-button>span{font-size:23px!important;line-height:1.2!important}
}
