/** Hoot & Hue Returns & Replacements 1.1.1 */
.woocommerce-MyAccount-navigation-link--return-replacement,
.myaccount-menu-item.woocommerce-MyAccount-navigation-link--return-replacement{display:none!important}
.hh-rr-order-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 14px}
.hh-rr-order-actions .hh-rr-button,.woocommerce-orders-table .button.hh-rr-request{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;height:36px!important;margin:0!important;padding:0 13px!important;border:1px solid #2c3137!important;border-radius:6px!important;background:#2c3137!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:10px!important;line-height:1!important;font-weight:600!important;text-decoration:none!important;box-shadow:none!important}
.hh-rr-order-actions .hh-rr-button:hover,.woocommerce-orders-table .button.hh-rr-request:hover{border-color:#59616b!important;background:#59616b!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.hh-rr-order-actions .hh-rr-button--secondary{border-color:#d7dbe0!important;background:#fff!important;color:#2c3137!important;-webkit-text-fill-color:#2c3137!important}
.hh-rr-customer-page{--rr-ink:#2c3137;--rr-text:#59616b;--rr-muted:#848c95;--rr-line:#dfe3e7;--rr-soft:#f7f8fa;box-sizing:border-box;width:100%;margin:0!important;padding:0!important;color:var(--rr-ink)}
.hh-rr-customer-page *,.hh-rr-customer-page *::before,.hh-rr-customer-page *::after{box-sizing:border-box}
.hh-rr-customer-page .hh-rr-intro{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin:0 0 12px!important;padding:0 0 10px!important;border-bottom:1px solid var(--rr-line)!important}
.hh-rr-customer-page .hh-rr-intro>div{display:flex!important;flex-direction:column!important;gap:3px!important}
.hh-rr-customer-page .hh-rr-intro strong{color:var(--rr-ink)!important;font-family:var(--hoot-font-heading,Georgia,serif)!important;font-size:17px!important;line-height:1.2!important;font-weight:500!important}
.hh-rr-customer-page .hh-rr-intro span,.hh-rr-customer-page .hh-rr-intro p{margin:0!important;color:var(--rr-text)!important;font-size:10px!important;line-height:1.4!important}
.hh-rr-customer-page .hh-rr-intro p{max-width:420px!important;text-align:right!important}
.hh-rr-customer-page .hh-rr-form-notice{margin:0 0 10px!important;padding:9px 10px!important;border:1px solid var(--rr-line)!important;border-radius:7px!important;background:var(--rr-soft)!important;color:var(--rr-text)!important;font-size:10px!important}
.hh-rr-customer-page .hh-rr-form-notice[hidden]{display:none!important}.hh-rr-customer-page .hh-rr-form-notice.is-error{border-color:#e5caca!important;background:#fbf5f5!important;color:#8a4141!important}.hh-rr-customer-page .hh-rr-form-notice.is-success{border-color:#cbded1!important;background:#f3f8f5!important;color:#315d42!important}
.hh-rr-customer-page .hh-rr-form{display:grid!important;width:100%!important;gap:10px!important;margin:0!important;padding:0!important}
.hh-rr-customer-page .hh-rr-section{display:block!important;width:100%!important;margin:0!important;padding:12px!important;border:1px solid var(--rr-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}
.hh-rr-customer-page .hh-rr-section h3{margin:0 0 9px!important;padding:0!important;border:0!important;color:var(--rr-ink)!important;font-family:var(--hoot-font-heading,Georgia,serif)!important;font-size:16px!important;line-height:1.2!important;font-weight:500!important}
.hh-rr-customer-page .hh-rr-section__help{margin:-2px 0 9px!important;color:var(--rr-text)!important;font-size:9.5px!important}
.hh-rr-customer-page .hh-rr-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0!important}
.hh-rr-customer-page .hh-rr-item{display:grid!important;grid-template-columns:17px 76px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;width:100%!important;min-width:0!important;min-height:92px!important;margin:0!important;padding:7px!important;border:1px solid var(--rr-line)!important;border-radius:7px!important;background:var(--rr-soft)!important;cursor:pointer!important;overflow:hidden!important}
.hh-rr-customer-page .hh-rr-item:hover{border-color:#bcc3ca!important;background:#fff!important}
.hh-rr-customer-page .hh-rr-item__check{width:15px!important;height:15px!important;margin:0!important}
.hh-rr-customer-page .hh-rr-item__image{display:block!important;width:76px!important;height:76px!important;min-width:76px!important;min-height:76px!important;max-width:76px!important;max-height:76px!important;aspect-ratio:1/1!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid var(--rr-line)!important;border-radius:6px!important;background:#fff!important}
.hh-rr-customer-page .hh-rr-item__image img,.hh-rr-customer-page .hh-rr-item__image img.hh-rr-product-thumb{display:block!important;width:76px!important;height:76px!important;min-width:76px!important;min-height:76px!important;max-width:76px!important;max-height:76px!important;aspect-ratio:1/1!important;margin:0!important;padding:0!important;border:0!important;object-fit:cover!important;object-position:center!important}
.hh-rr-customer-page .hh-rr-item__copy{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}.hh-rr-customer-page .hh-rr-item__copy strong{display:-webkit-box!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;color:var(--rr-ink)!important;font-size:10.5px!important;line-height:1.3!important;font-weight:600!important}.hh-rr-customer-page .hh-rr-item__copy small{color:var(--rr-muted)!important;font-size:9px!important}
.hh-rr-customer-page .hh-rr-type-grid,.hh-rr-customer-page .hh-rr-upload-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.hh-rr-customer-page .hh-rr-type{display:flex!important;align-items:flex-start!important;gap:8px!important;min-height:64px!important;margin:0!important;padding:9px!important;border:1px solid var(--rr-line)!important;border-radius:7px!important;background:var(--rr-soft)!important;cursor:pointer!important}.hh-rr-customer-page .hh-rr-type input{width:14px!important;height:14px!important;margin:2px 0 0!important}.hh-rr-customer-page .hh-rr-type span{display:flex!important;flex-direction:column!important;gap:3px!important}.hh-rr-customer-page .hh-rr-type strong{color:var(--rr-ink)!important;font-size:10.5px!important}.hh-rr-customer-page .hh-rr-type small{color:var(--rr-text)!important;font-size:9px!important;line-height:1.35!important}
.hh-rr-customer-page .hh-rr-field{width:100%!important;margin:0 0 8px!important}.hh-rr-customer-page .hh-rr-field:last-child{margin-bottom:0!important}.hh-rr-customer-page .hh-rr-field label{display:block!important;margin:0 0 4px!important;color:var(--rr-ink)!important;font-size:10px!important;font-weight:600!important}
.hh-rr-customer-page .hh-rr-field select,.hh-rr-customer-page .hh-rr-field textarea,.hh-rr-customer-page .hh-rr-field input[type=file]{width:100%!important;max-width:100%!important;margin:0!important;border:1px solid #d7dbe0!important;border-radius:6px!important;background:#fff!important;color:var(--rr-ink)!important;font-size:10.5px!important;box-shadow:none!important}.hh-rr-customer-page .hh-rr-field select{min-height:36px!important;height:36px!important;padding:0 9px!important}.hh-rr-customer-page .hh-rr-field textarea{min-height:82px!important;padding:8px 9px!important;resize:vertical!important}.hh-rr-customer-page .hh-rr-field input[type=file]{min-height:40px!important;padding:7px!important}.hh-rr-customer-page .hh-rr-field small{display:block!important;margin-top:4px!important;color:var(--rr-muted)!important;font-size:8.5px!important}
.hh-rr-customer-page .hh-rr-form-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;padding-top:2px!important}.hh-rr-customer-page .hh-rr-form-actions .button,.hh-rr-customer-page .hh-rr-button{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;height:34px!important;margin:0!important;padding:0 12px!important;border:1px solid var(--rr-ink)!important;border-radius:6px!important;background:var(--rr-ink)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:10px!important;line-height:1!important;font-weight:600!important;text-decoration:none!important}.hh-rr-customer-page .hh-rr-cancel,.hh-rr-customer-page .hh-rr-button--secondary{border-color:#d7dbe0!important;background:#fff!important;color:var(--rr-ink)!important;-webkit-text-fill-color:var(--rr-ink)!important}.hh-rr-customer-page [data-hh-rr-submit][disabled]{opacity:.62!important;cursor:wait!important}
@media(max-width:900px){.hh-rr-customer-page .hh-rr-items{grid-template-columns:1fr!important}}
@media(max-width:700px){.hh-rr-order-actions{justify-content:flex-start}.hh-rr-customer-page .hh-rr-intro{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}.hh-rr-customer-page .hh-rr-intro p{text-align:left!important}.hh-rr-customer-page .hh-rr-type-grid,.hh-rr-customer-page .hh-rr-upload-grid{grid-template-columns:1fr!important}}
@media(max-width:480px){.hh-rr-customer-page .hh-rr-section{padding:10px!important}.hh-rr-customer-page .hh-rr-item{grid-template-columns:16px 66px minmax(0,1fr)!important;min-height:82px!important;padding:7px!important;gap:8px!important}.hh-rr-customer-page .hh-rr-item__image,.hh-rr-customer-page .hh-rr-item__image img,.hh-rr-customer-page .hh-rr-item__image img.hh-rr-product-thumb{width:66px!important;height:66px!important;min-width:66px!important;min-height:66px!important;max-width:66px!important;max-height:66px!important;aspect-ratio:1/1!important;object-fit:cover!important}.hh-rr-customer-page .hh-rr-form-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.hh-rr-customer-page .hh-rr-form-actions .button{width:100%!important}}
@media print{@page{margin:14mm}.site-header,.site-footer,header.site-header,footer.site-footer,.hoot-account-sidebar,.hoot-account-header,.hh-rr-order-actions,.woocommerce-MyAccount-navigation,.woocommerce-notices-wrapper,.hoot-breadcrumbs{display:none!important}.hoot-account-shell,.hoot-account-container,.hoot-account-layout,.hoot-account-main,.hoot-account-panel,.woocommerce-MyAccount-content{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}.woocommerce-order-details,.woocommerce-customer-details{break-inside:avoid;page-break-inside:avoid}a{color:#000!important;text-decoration:none!important}a[href]::after{content:""!important}}


/* ======================================================================
 * v1.1.2 — Post-submission confirmation redesign
 * Matches Hoot & Hue cool white / silver / charcoal account design.
 * ==================================================================== */

/* Success banner */
.hh-rr-customer-page .hh-rr-success-banner{
    display:flex!important;
    align-items:center!important;
    gap:13px!important;
    width:100%!important;
    margin:0 0 18px!important;
    padding:14px 16px!important;
    border:1px solid #d7dbe0!important;
    border-radius:10px!important;
    background:#f7f8fa!important;
    color:#2c3137!important;
    box-shadow:none!important;
}
.hh-rr-customer-page .hh-rr-success-banner__icon{
    display:inline-flex!important;
    flex:0 0 38px!important;
    align-items:center!important;
    justify-content:center!important;
    width:38px!important;
    height:38px!important;
    border:1px solid #59616b!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#2c3137!important;
}
.hh-rr-customer-page .hh-rr-success-banner__icon svg{
    width:19px!important;
    height:19px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.7!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
.hh-rr-customer-page .hh-rr-success-banner p{
    margin:0!important;
    color:#2c3137!important;
    font-size:12px!important;
    line-height:1.5!important;
}
.hh-rr-customer-page .hh-rr-success-banner strong{
    font-weight:700!important;
}

/* Confirmation page shell */
.hh-rr-customer-page .hh-rr-existing{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.hh-rr-customer-page .hh-rr-existing__title{
    display:block!important;
    margin:0 0 14px!important;
    padding:0!important;
    color:#2c3137!important;
    font-family:var(--hoot-font-heading,Georgia,serif)!important;
    font-size:28px!important;
    line-height:1.1!important;
    font-weight:500!important;
}

/* Request details card */
.hh-rr-customer-page .hh-rr-request-summary{
    display:block!important;
    width:100%!important;
    margin:0 0 14px!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid #dfe3e7!important;
    border-radius:10px!important;
    background:#fff!important;
}
.hh-rr-customer-page .hh-rr-summary-row{
    display:grid!important;
    grid-template-columns:34px 120px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    min-height:54px!important;
    margin:0!important;
    padding:9px 14px!important;
    border:0!important;
    border-bottom:1px solid #e5e8eb!important;
    background:#fff!important;
}
.hh-rr-customer-page .hh-rr-summary-row:last-child{
    border-bottom:0!important;
}
.hh-rr-customer-page .hh-rr-summary-row__icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:28px!important;
    height:28px!important;
    color:#4f5861!important;
}
.hh-rr-customer-page .hh-rr-summary-row__icon svg{
    width:20px!important;
    height:20px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.55!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
.hh-rr-customer-page .hh-rr-summary-row dt{
    margin:0!important;
    color:#2c3137!important;
    font-family:var(--hoot-font-heading,Georgia,serif)!important;
    font-size:13px!important;
    line-height:1.25!important;
    font-weight:500!important;
    text-transform:none!important;
    letter-spacing:0!important;
}
.hh-rr-customer-page .hh-rr-summary-row dd{
    margin:0!important;
    color:#3f474f!important;
    font-size:11.5px!important;
    line-height:1.35!important;
    font-weight:500!important;
}

/* Status looks quiet and integrated, not like a large badge. */
.hh-rr-customer-page .hh-rr-summary-row .hh-rr-status{
    display:inline-flex!important;
    align-items:center!important;
    width:auto!important;
    min-height:25px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    background:#eef0f2!important;
    color:#4f5861!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:700!important;
}

/* Items card */
.hh-rr-customer-page .hh-rr-existing-items{
    width:100%!important;
    margin:0 0 14px!important;
    padding:14px!important;
    border:1px solid #dfe3e7!important;
    border-radius:10px!important;
    background:#fff!important;
}
.hh-rr-customer-page .hh-rr-existing-items h3{
    margin:0 0 10px!important;
    padding:0!important;
    color:#2c3137!important;
    font-family:var(--hoot-font-heading,Georgia,serif)!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:600!important;
}
.hh-rr-customer-page .hh-rr-existing-items__list{
    display:grid!important;
    gap:8px!important;
}
.hh-rr-customer-page .hh-rr-existing-item{
    display:grid!important;
    grid-template-columns:68px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    min-height:68px!important;
}
.hh-rr-customer-page .hh-rr-existing-item__image{
    display:block!important;
    width:68px!important;
    height:68px!important;
    min-width:68px!important;
    min-height:68px!important;
    max-width:68px!important;
    max-height:68px!important;
    aspect-ratio:1/1!important;
    overflow:hidden!important;
    border:1px solid #d7dbe0!important;
    border-radius:6px!important;
    background:#f4f5f7!important;
}
.hh-rr-customer-page .hh-rr-existing-item__image img,
.hh-rr-customer-page .hh-rr-existing-item__image img.hh-rr-existing-product-thumb{
    display:block!important;
    width:68px!important;
    height:68px!important;
    min-width:68px!important;
    min-height:68px!important;
    max-width:68px!important;
    max-height:68px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    aspect-ratio:1/1!important;
    object-fit:cover!important;
    object-position:center!important;
}
.hh-rr-customer-page .hh-rr-existing-item__name{
    color:#2c3137!important;
    font-family:var(--hoot-font-heading,Georgia,serif)!important;
    font-size:14px!important;
    line-height:1.35!important;
    font-weight:500!important;
}

/* Next steps message */
.hh-rr-customer-page .hh-rr-next-steps{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    margin:0 0 14px!important;
    padding:13px 14px!important;
    border:1px solid #dfe3e7!important;
    border-radius:10px!important;
    background:#f7f8fa!important;
}
.hh-rr-customer-page .hh-rr-next-steps__icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:42px!important;
    height:42px!important;
    border-radius:50%!important;
    background:#eef0f2!important;
    color:#59616b!important;
}
.hh-rr-customer-page .hh-rr-next-steps__icon svg{
    width:22px!important;
    height:22px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.55!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
.hh-rr-customer-page .hh-rr-next-steps p{
    margin:0!important;
    color:#3f474f!important;
    font-family:var(--hoot-font-heading,Georgia,serif)!important;
    font-size:13px!important;
    line-height:1.45!important;
}

/* Confirmation actions */
.hh-rr-customer-page .hh-rr-existing__actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
    margin:0!important;
}
.hh-rr-customer-page .hh-rr-existing__actions .button{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:40px!important;
    height:40px!important;
    margin:0!important;
    padding:0 14px!important;
    border-radius:6px!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:600!important;
    text-align:center!important;
    text-decoration:none!important;
}
.hh-rr-customer-page .hh-rr-existing__primary{
    border:1px solid #2c3137!important;
    background:#2c3137!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
.hh-rr-customer-page .hh-rr-existing__primary:hover{
    border-color:#59616b!important;
    background:#59616b!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
.hh-rr-customer-page .hh-rr-existing__secondary{
    border:1px solid #bfc5cb!important;
    background:#fff!important;
    color:#2c3137!important;
    -webkit-text-fill-color:#2c3137!important;
}
.hh-rr-customer-page .hh-rr-existing__secondary:hover{
    border-color:#8f979f!important;
    background:#f7f8fa!important;
    color:#2c3137!important;
    -webkit-text-fill-color:#2c3137!important;
}

/* Desktop width/readability */
@media(min-width:901px){
    .hh-rr-customer-page .hh-rr-existing{
        max-width:760px!important;
    }
    .hh-rr-customer-page .hh-rr-success-banner{
        max-width:760px!important;
    }
}

/* Mobile closely follows the approved reference. */
@media(max-width:700px){
    .hh-rr-customer-page .hh-rr-success-banner{
        align-items:flex-start!important;
        margin-bottom:16px!important;
        padding:12px!important;
        border-radius:9px!important;
    }
    .hh-rr-customer-page .hh-rr-success-banner__icon{
        flex-basis:34px!important;
        width:34px!important;
        height:34px!important;
    }
    .hh-rr-customer-page .hh-rr-success-banner p{
        font-size:11px!important;
    }
    .hh-rr-customer-page .hh-rr-existing__title{
        margin-bottom:12px!important;
        font-size:25px!important;
    }
    .hh-rr-customer-page .hh-rr-summary-row{
        grid-template-columns:30px 92px minmax(0,1fr)!important;
        gap:8px!important;
        min-height:50px!important;
        padding:8px 10px!important;
    }
    .hh-rr-customer-page .hh-rr-summary-row__icon{
        width:25px!important;
        height:25px!important;
    }
    .hh-rr-customer-page .hh-rr-summary-row__icon svg{
        width:18px!important;
        height:18px!important;
    }
    .hh-rr-customer-page .hh-rr-summary-row dt{
        font-size:12px!important;
    }
    .hh-rr-customer-page .hh-rr-summary-row dd{
        font-size:10.5px!important;
    }
    .hh-rr-customer-page .hh-rr-existing-items{
        padding:12px!important;
    }
    .hh-rr-customer-page .hh-rr-existing-item{
        grid-template-columns:60px minmax(0,1fr)!important;
        min-height:60px!important;
        gap:10px!important;
    }
    .hh-rr-customer-page .hh-rr-existing-item__image,
    .hh-rr-customer-page .hh-rr-existing-item__image img,
    .hh-rr-customer-page .hh-rr-existing-item__image img.hh-rr-existing-product-thumb{
        width:60px!important;
        height:60px!important;
        min-width:60px!important;
        min-height:60px!important;
        max-width:60px!important;
        max-height:60px!important;
    }
    .hh-rr-customer-page .hh-rr-existing-item__name{
        font-size:13px!important;
    }
    .hh-rr-customer-page .hh-rr-next-steps{
        grid-template-columns:38px minmax(0,1fr)!important;
        gap:10px!important;
        padding:11px 12px!important;
    }
    .hh-rr-customer-page .hh-rr-next-steps__icon{
        width:38px!important;
        height:38px!important;
    }
    .hh-rr-customer-page .hh-rr-next-steps p{
        font-size:12px!important;
    }
}

/* Very small phones */
@media(max-width:390px){
    .hh-rr-customer-page .hh-rr-summary-row{
        grid-template-columns:26px 80px minmax(0,1fr)!important;
        gap:7px!important;
        padding:8px!important;
    }
    .hh-rr-customer-page .hh-rr-summary-row dt{
        font-size:11px!important;
    }
    .hh-rr-customer-page .hh-rr-summary-row dd{
        font-size:10px!important;
    }
}


/* ======================================================================
 * v1.2.0 — Modern Order Details + request status
 * ==================================================================== */

/* Consistent My Account order-table buttons. */
.woocommerce-account .woocommerce-orders-table .button,
.woocommerce-account .woocommerce-orders-table .woocommerce-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    height:34px!important;
    margin:0!important;
    padding:0 11px!important;
    border:1px solid #2c3137!important;
    border-radius:6px!important;
    background:#2c3137!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:600!important;
    text-decoration:none!important;
    box-shadow:none!important;
}
.woocommerce-account .woocommerce-orders-table .button:hover,
.woocommerce-account .woocommerce-orders-table .woocommerce-button:hover{
    border-color:#59616b!important;
    background:#59616b!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

/* Only the actual View Order endpoint receives the structural redesign. */
body.hh-rr-view-order .woocommerce-MyAccount-content > p:first-of-type{
    margin:0 0 12px!important;
    padding:9px 11px!important;
    border:1px solid #dfe3e7!important;
    border-radius:7px!important;
    background:#f7f8fa!important;
    color:#59616b!important;
    font-size:10px!important;
    line-height:1.45!important;
}
body.hh-rr-view-order .woocommerce-MyAccount-content > p:first-of-type mark{
    padding:0!important;
    background:transparent!important;
    color:#2c3137!important;
    font-weight:600!important;
}

/* Hide Woo's duplicate heading/table/address only because our modern module
   output is rendered immediately before it. */
body.hh-rr-view-order .woocommerce-order-details > .woocommerce-order-details__title,
body.hh-rr-view-order .woocommerce-order-details > table.woocommerce-table--order-details,
body.hh-rr-view-order .woocommerce-order-details > table.shop_table,
body.hh-rr-view-order .woocommerce-customer-details{
    display:none!important;
}

body.hh-rr-view-order .woocommerce-order-details{
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}

body.hh-rr-view-order .hh-rr-modern-order{
    --rr-order-ink:#2c3137;
    --rr-order-text:#59616b;
    --rr-order-muted:#848c95;
    --rr-order-line:#dfe3e7;
    --rr-order-soft:#f7f8fa;
    display:grid!important;
    gap:14px!important;
    width:100%!important;
    margin:0!important;
}

body.hh-rr-view-order .hh-rr-order-overview,
body.hh-rr-view-order .hh-rr-order-items-section,
body.hh-rr-view-order .hh-rr-order-summary{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:1px solid var(--rr-order-line)!important;
    border-radius:8px!important;
    background:#fff!important;
    overflow:hidden!important;
    box-shadow:none!important;
}

body.hh-rr-view-order .hh-rr-order-overview__head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:13px 15px!important;
    border-bottom:1px solid var(--rr-order-line)!important;
    background:#fff!important;
}
body.hh-rr-view-order .hh-rr-order-overview__head>div{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
}
body.hh-rr-view-order .hh-rr-order-overview__head span:first-child{
    color:var(--rr-order-muted)!important;
    font-size:8px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:.09em!important;
    text-transform:uppercase!important;
}
body.hh-rr-view-order .hh-rr-order-overview__head strong{
    color:var(--rr-order-ink)!important;
    font-family:var(--hoot-font-heading,Georgia,serif)!important;
    font-size:19px!important;
    line-height:1.1!important;
    font-weight:500!important;
}
body.hh-rr-view-order .hh-rr-order-status{
    display:inline-flex!important;
    align-items:center!important;
    min-height:25px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    background:#eef0f2!important;
    color:#4f5861!important;
    font-size:9px!important;
    font-weight:700!important;
}

body.hh-rr-view-order .hh-rr-order-request-state{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:0!important;
    padding:9px 15px!important;
    border-bottom:1px solid var(--rr-order-line)!important;
    background:#f7f8fa!important;
    color:#2c3137!important;
    text-decoration:none!important;
}
body.hh-rr-view-order .hh-rr-order-request-state span{
    font-size:10.5px!important;
    font-weight:700!important;
}
body.hh-rr-view-order .hh-rr-order-request-state small{
    color:#7a838c!important;
    font-size:9px!important;
}
body.hh-rr-view-order .hh-rr-order-request-state--approved{
    background:#f2f7f4!important;
}
body.hh-rr-view-order .hh-rr-order-request-state--rejected{
    background:#faf3f3!important;
}

body.hh-rr-view-order .hh-rr-order-info-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
}
body.hh-rr-view-order .hh-rr-order-info-card{
    min-width:0!important;
    margin:0!important;
    padding:14px 15px!important;
    border:0!important;
    border-right:1px solid var(--rr-order-line)!important;
    background:#fff!important;
}
body.hh-rr-view-order .hh-rr-order-info-card:last-child{
    border-right:0!important;
}
body.hh-rr-view-order .hh-rr-order-info-card h3{
    margin:0 0 9px!important;
    padding:0!important;
    border:0!important;
    color:var(--rr-order-ink)!important;
    font-size:11px!important;
    line-height:1.3!important;
    font-weight:700!important;
}
body.hh-rr-view-order .hh-rr-order-info-card dl{
    margin:0!important;
}
body.hh-rr-view-order .hh-rr-order-info-card dl>div{
    margin:0 0 8px!important;
}
body.hh-rr-view-order .hh-rr-order-info-card dl>div:last-child{
    margin-bottom:0!important;
}
body.hh-rr-view-order .hh-rr-order-info-card dt{
    margin:0 0 2px!important;
    color:var(--rr-order-muted)!important;
    font-size:8px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
}
body.hh-rr-view-order .hh-rr-order-info-card dd,
body.hh-rr-view-order .hh-rr-order-info-card address{
    margin:0!important;
    color:var(--rr-order-text)!important;
    font-size:10px!important;
    line-height:1.55!important;
    font-style:normal!important;
}
body.hh-rr-view-order .hh-rr-order-info-card address span{
    display:block!important;
    margin-top:4px!important;
}

/* Items */
body.hh-rr-view-order .hh-rr-order-items-section>h3,
body.hh-rr-view-order .hh-rr-order-summary>h3{
    margin:0!important;
    padding:12px 14px!important;
    border:0!important;
    border-bottom:1px solid var(--rr-order-line)!important;
    background:#fff!important;
    color:var(--rr-order-ink)!important;
    font-family:var(--hoot-font-heading,Georgia,serif)!important;
    font-size:17px!important;
    line-height:1.2!important;
    font-weight:500!important;
}
body.hh-rr-view-order .hh-rr-order-items-head{
    display:grid!important;
    grid-template-columns:74px minmax(0,1fr) 90px 120px!important;
    gap:10px!important;
    padding:8px 12px!important;
    border-bottom:1px solid var(--rr-order-line)!important;
    background:#f7f8fa!important;
    color:#7b838c!important;
    font-size:8px!important;
    font-weight:700!important;
    letter-spacing:.07em!important;
    text-transform:uppercase!important;
}
body.hh-rr-view-order .hh-rr-order-item-row{
    display:grid!important;
    grid-template-columns:74px minmax(0,1fr) 90px 120px!important;
    align-items:center!important;
    gap:10px!important;
    min-height:84px!important;
    padding:9px 12px!important;
    border-bottom:1px solid #e6e9ec!important;
    background:#fff!important;
}
body.hh-rr-view-order .hh-rr-order-item-row:last-child{
    border-bottom:0!important;
}
body.hh-rr-view-order .hh-rr-order-item-image{
    width:64px!important;
    height:64px!important;
    overflow:hidden!important;
    border:1px solid var(--rr-order-line)!important;
    border-radius:6px!important;
    background:#f4f5f7!important;
}
body.hh-rr-view-order .hh-rr-order-item-image img,
body.hh-rr-view-order .hh-rr-order-item-image .hh-rr-order-product-thumb{
    display:block!important;
    width:64px!important;
    height:64px!important;
    max-width:64px!important;
    max-height:64px!important;
    margin:0!important;
    aspect-ratio:1/1!important;
    object-fit:cover!important;
}
body.hh-rr-view-order .hh-rr-order-item-product{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    min-width:0!important;
}
body.hh-rr-view-order .hh-rr-order-item-product strong{
    color:var(--rr-order-ink)!important;
    font-size:10.5px!important;
    line-height:1.35!important;
    font-weight:600!important;
}
body.hh-rr-view-order .hh-rr-order-item-product small{
    color:var(--rr-order-muted)!important;
    font-size:8.5px!important;
}
body.hh-rr-view-order .hh-rr-order-item-qty{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    color:var(--rr-order-text)!important;
}
body.hh-rr-view-order .hh-rr-order-item-qty span{
    display:none!important;
}
body.hh-rr-view-order .hh-rr-order-item-qty strong{
    font-size:10px!important;
    font-weight:600!important;
}
body.hh-rr-view-order .hh-rr-order-item-total{
    color:var(--rr-order-ink)!important;
    font-size:10.5px!important;
    font-weight:600!important;
    text-align:right!important;
}

/* Summary */
body.hh-rr-view-order .hh-rr-order-summary__rows{
    width:min(420px,100%)!important;
    margin-left:auto!important;
    padding:10px 14px 13px!important;
}
body.hh-rr-view-order .hh-rr-order-summary__row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:18px!important;
    padding:5px 0!important;
    color:var(--rr-order-text)!important;
    font-size:10px!important;
    line-height:1.35!important;
}
body.hh-rr-view-order .hh-rr-order-summary__row span{
    text-align:right!important;
}
body.hh-rr-view-order .hh-rr-order-summary__row strong{
    color:var(--rr-order-ink)!important;
    font-weight:600!important;
    text-align:right!important;
}
body.hh-rr-view-order .hh-rr-order-summary__row:last-child{
    margin-top:5px!important;
    padding-top:9px!important;
    border-top:1px solid var(--rr-order-line)!important;
    font-size:12px!important;
}

/* Buttons */
body.hh-rr-view-order .hh-rr-order-actions{
    display:flex!important;
    justify-content:flex-end!important;
    gap:8px!important;
    margin:0!important;
}
body.hh-rr-view-order .hh-rr-order-actions .button{
    min-height:36px!important;
    height:36px!important;
    margin:0!important;
    padding:0 13px!important;
    border:1px solid #2c3137!important;
    border-radius:6px!important;
    background:#2c3137!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:10px!important;
    font-weight:600!important;
    box-shadow:none!important;
}
body.hh-rr-view-order .hh-rr-order-actions .hh-rr-print-button{
    border-color:#d7dbe0!important;
    background:#fff!important;
    color:#2c3137!important;
    -webkit-text-fill-color:#2c3137!important;
}
body.hh-rr-view-order .hh-rr-order-actions .button:hover{
    border-color:#59616b!important;
    background:#59616b!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
body.hh-rr-view-order .hh-rr-order-actions .hh-rr-print-button:hover{
    border-color:#bfc5cb!important;
    background:#f7f8fa!important;
    color:#2c3137!important;
    -webkit-text-fill-color:#2c3137!important;
}

/* Responsive */
@media(max-width:820px){
    body.hh-rr-view-order .hh-rr-order-info-grid{
        grid-template-columns:1fr!important;
    }
    body.hh-rr-view-order .hh-rr-order-info-card{
        border-right:0!important;
        border-bottom:1px solid var(--rr-order-line)!important;
    }
    body.hh-rr-view-order .hh-rr-order-info-card:last-child{
        border-bottom:0!important;
    }
    body.hh-rr-view-order .hh-rr-order-items-head{
        display:none!important;
    }
    body.hh-rr-view-order .hh-rr-order-item-row{
        grid-template-columns:64px minmax(0,1fr) auto!important;
        gap:9px!important;
        min-height:78px!important;
        padding:8px 10px!important;
    }
    body.hh-rr-view-order .hh-rr-order-item-image,
    body.hh-rr-view-order .hh-rr-order-item-image img,
    body.hh-rr-view-order .hh-rr-order-item-image .hh-rr-order-product-thumb{
        width:56px!important;
        height:56px!important;
        max-width:56px!important;
        max-height:56px!important;
    }
    body.hh-rr-view-order .hh-rr-order-item-qty{
        grid-column:2!important;
        justify-self:start!important;
    }
    body.hh-rr-view-order .hh-rr-order-item-qty span{
        display:inline!important;
        color:var(--rr-order-muted)!important;
        font-size:8.5px!important;
    }
    body.hh-rr-view-order .hh-rr-order-item-total{
        grid-column:3!important;
        grid-row:1 / span 2!important;
        align-self:center!important;
    }
}

@media(max-width:520px){
    body.hh-rr-view-order .hh-rr-order-overview__head{
        padding:11px 12px!important;
    }
    body.hh-rr-view-order .hh-rr-order-request-state{
        padding:8px 12px!important;
    }
    body.hh-rr-view-order .hh-rr-order-info-card{
        padding:12px!important;
    }
    body.hh-rr-view-order .hh-rr-order-summary__rows{
        width:100%!important;
        padding:9px 12px 12px!important;
    }
    body.hh-rr-view-order .hh-rr-order-actions{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
    }
    body.hh-rr-view-order .hh-rr-order-actions .button{
        width:100%!important;
        padding:0 8px!important;
    }
}


/* ======================================================================
 * v1.3.0 — exact item quantity request controls
 * ==================================================================== */
.hh-rr-customer-page .hh-rr-item{
    grid-template-columns:17px 76px minmax(0,1fr) auto!important;
}
.hh-rr-customer-page .hh-rr-item__qty{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    gap:4px!important;
    min-width:72px!important;
}
.hh-rr-customer-page .hh-rr-item__qty>span{
    color:#848c95!important;
    font-size:8px!important;
    font-weight:600!important;
    letter-spacing:.05em!important;
    text-transform:uppercase!important;
}
.hh-rr-customer-page .hh-rr-item__qty select{
    width:62px!important;
    min-height:32px!important;
    height:32px!important;
    margin:0!important;
    padding:0 7px!important;
    border:1px solid #d7dbe0!important;
    border-radius:6px!important;
    background:#fff!important;
    color:#2c3137!important;
    font-size:10px!important;
}
.hh-rr-customer-page .hh-rr-another-request{
    display:flex!important;
    justify-content:flex-end!important;
    margin:10px 0 0!important;
}
.hh-rr-customer-page .hh-rr-another-request .button{
    min-height:34px!important;
    height:34px!important;
    padding:0 12px!important;
    border:1px solid #d7dbe0!important;
    border-radius:6px!important;
    background:#fff!important;
    color:#2c3137!important;
    -webkit-text-fill-color:#2c3137!important;
    font-size:10px!important;
}
body.hh-rr-view-order .hh-rr-order-actions .hh-rr-request-button--secondary{
    border-color:#d7dbe0!important;
    background:#fff!important;
    color:#2c3137!important;
    -webkit-text-fill-color:#2c3137!important;
}
@media(max-width:650px){
    .hh-rr-customer-page .hh-rr-item{
        grid-template-columns:16px 66px minmax(0,1fr)!important;
    }
    .hh-rr-customer-page .hh-rr-item__qty{
        grid-column:3!important;
        flex-direction:row!important;
        align-items:center!important;
        justify-content:flex-start!important;
        min-width:0!important;
        margin-top:4px!important;
    }
}


/* ======================================================================
 * v1.3.1 — Print receipt redesign
 * ==================================================================== */
.hh-rr-print-receipt-head{
    display:none!important;
}

@media print{
    @page{
        size:A4 portrait;
        margin:12mm;
    }

    /* Fallback when popup printing is blocked: remove the chrome that caused
       the blank first page / footer pages in the previous print output. */
    body.hh-rr-view-order{
        background:#fff!important;
    }

    body.hh-rr-view-order .site-header,
    body.hh-rr-view-order .site-footer,
    body.hh-rr-view-order header,
    body.hh-rr-view-order footer,
    body.hh-rr-view-order nav,
    body.hh-rr-view-order .hoot-account-sidebar,
    body.hh-rr-view-order .hoot-account-header,
    body.hh-rr-view-order .woocommerce-MyAccount-navigation,
    body.hh-rr-view-order .woocommerce-notices-wrapper,
    body.hh-rr-view-order .hoot-breadcrumbs,
    body.hh-rr-view-order .hh-rr-order-actions,
    body.hh-rr-view-order .hh-rr-order-request-state,
    body.hh-rr-view-order .woocommerce-MyAccount-content>p:first-of-type{
        display:none!important;
    }

    body.hh-rr-view-order .hh-rr-print-receipt-head{
        display:grid!important;
        grid-template-columns:1fr auto!important;
        gap:8px 18px!important;
        align-items:end!important;
        margin:0 0 12px!important;
        padding:0 0 10px!important;
        border-bottom:1.5px solid #2c3137!important;
    }

    body.hh-rr-view-order .hh-rr-print-brand{
        grid-column:1/-1!important;
        font-family:Georgia,"Times New Roman",serif!important;
        font-size:22px!important;
        font-weight:600!important;
        letter-spacing:.03em!important;
    }

    body.hh-rr-view-order .hh-rr-print-receipt-title{
        display:flex!important;
        align-items:baseline!important;
        gap:8px!important;
    }

    body.hh-rr-view-order .hh-rr-print-receipt-title span{
        font-size:8px!important;
        font-weight:700!important;
        letter-spacing:.14em!important;
    }

    body.hh-rr-view-order .hh-rr-print-receipt-title strong{
        font-family:Georgia,"Times New Roman",serif!important;
        font-size:17px!important;
        font-weight:500!important;
    }

    body.hh-rr-view-order .hh-rr-print-receipt-meta{
        display:flex!important;
        gap:10px!important;
        justify-content:flex-end!important;
        color:#626970!important;
        font-size:8px!important;
    }

    body.hh-rr-view-order .hoot-account-shell,
    body.hh-rr-view-order .hoot-account-container,
    body.hh-rr-view-order .hoot-account-layout,
    body.hh-rr-view-order .hoot-account-main,
    body.hh-rr-view-order .hoot-account-panel,
    body.hh-rr-view-order .woocommerce-MyAccount-content,
    body.hh-rr-view-order .woocommerce-order-details,
    body.hh-rr-view-order .hh-rr-modern-order{
        display:block!important;
        width:100%!important;
        max-width:none!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        box-shadow:none!important;
    }

    body.hh-rr-view-order .hh-rr-modern-order{
        gap:0!important;
    }

    body.hh-rr-view-order .hh-rr-order-overview,
    body.hh-rr-view-order .hh-rr-order-items-section,
    body.hh-rr-view-order .hh-rr-order-summary{
        margin:0 0 10px!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
    }

    body.hh-rr-view-order .hh-rr-order-info-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }

    body.hh-rr-view-order .hh-rr-order-info-card{
        padding:8px 9px!important;
        border-right:1px solid #dfe3e7!important;
        border-bottom:0!important;
    }

    body.hh-rr-view-order .hh-rr-order-info-card:last-child{
        border-right:0!important;
    }

    body.hh-rr-view-order .hh-rr-order-items-head{
        display:grid!important;
        grid-template-columns:52px minmax(0,1fr) 55px 80px!important;
    }

    body.hh-rr-view-order .hh-rr-order-item-row{
        grid-template-columns:52px minmax(0,1fr) 55px 80px!important;
        min-height:56px!important;
        padding:6px 9px!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
    }

    body.hh-rr-view-order .hh-rr-order-item-image,
    body.hh-rr-view-order .hh-rr-order-item-image img,
    body.hh-rr-view-order .hh-rr-order-item-image .hh-rr-order-product-thumb{
        width:44px!important;
        height:44px!important;
        max-width:44px!important;
        max-height:44px!important;
    }

    body.hh-rr-view-order .hh-rr-order-summary__rows{
        width:320px!important;
        max-width:100%!important;
    }
}


/* ======================================================================
 * v1.3.2 — Order Details actions moved above the detail cards
 * ==================================================================== */

/* WooCommerce may output its own Order Again button after the order table.
   We render the same action inside our unified top toolbar instead. */
body.hh-rr-view-order .woocommerce-order-details + .order-again,
body.hh-rr-view-order .woocommerce-MyAccount-content > .order-again,
body.hh-rr-view-order p.order-again{
    display:none!important;
}

body.hh-rr-view-order .hh-rr-order-actions--top{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    width:100%!important;
    margin:0 0 2px!important;
    padding:0!important;
}

/* Every action uses the exact same dimensions/alignment. */
body.hh-rr-view-order .hh-rr-order-actions--top .button{
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:36px!important;
    height:36px!important;
    margin:0!important;
    padding:0 13px!important;
    border-radius:6px!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:600!important;
    white-space:nowrap!important;
    text-align:center!important;
    text-decoration:none!important;
    vertical-align:middle!important;
    box-shadow:none!important;
}

/* Secondary actions */
body.hh-rr-view-order .hh-rr-order-actions--top .hh-rr-order-again-button,
body.hh-rr-view-order .hh-rr-order-actions--top .hh-rr-print-button,
body.hh-rr-view-order .hh-rr-order-actions--top .hh-rr-request-button--secondary{
    border:1px solid #d7dbe0!important;
    background:#fff!important;
    color:#2c3137!important;
    -webkit-text-fill-color:#2c3137!important;
}

body.hh-rr-view-order .hh-rr-order-actions--top .hh-rr-order-again-button:hover,
body.hh-rr-view-order .hh-rr-order-actions--top .hh-rr-print-button:hover,
body.hh-rr-view-order .hh-rr-order-actions--top .hh-rr-request-button--secondary:hover{
    border-color:#bfc5cb!important;
    background:#f7f8fa!important;
    color:#2c3137!important;
    -webkit-text-fill-color:#2c3137!important;
}

/* Current return/replacement state remains the clear primary action. */
body.hh-rr-view-order .hh-rr-order-actions--top .hh-rr-request-button:not(.hh-rr-request-button--secondary){
    border:1px solid #2c3137!important;
    background:#2c3137!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

body.hh-rr-view-order .hh-rr-order-actions--top .hh-rr-request-button:not(.hh-rr-request-button--secondary):hover{
    border-color:#59616b!important;
    background:#59616b!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

/* Give the toolbar a little visual separation from the first order card,
   without creating the large empty spacing seen in earlier account pages. */
body.hh-rr-view-order .hh-rr-order-actions--top + .hh-rr-order-overview{
    margin-top:0!important;
}

/* Tablet/mobile: keep everything aligned instead of leaving one orphaned button. */
@media(max-width:700px){
    body.hh-rr-view-order .hh-rr-order-actions--top{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
    }

    body.hh-rr-view-order .hh-rr-order-actions--top .button{
        width:100%!important;
        padding:0 8px!important;
    }
}

@media(max-width:390px){
    body.hh-rr-view-order .hh-rr-order-actions--top{
        grid-template-columns:1fr!important;
    }
}
