.ofc-food-archive,.ofc-mealplan,.ofc-compare-page,.ofc-cart-totals{font-family:inherit;color:var(--ofc-text)}
.ofc-food-archive{max-width:var(--ofc-max-width);margin:30px auto;display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start}.ofc-filters{border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:var(--ofc-surface);padding:18px;position:sticky;top:20px}.ofc-filter-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--ofc-border);text-transform:uppercase}.ofc-filter-head a{color:var(--ofc-accent-dark);font-size:12px}.ofc-filter-section{padding:14px 0;border-bottom:1px solid var(--ofc-border)}.ofc-filter-section summary{font-weight:700;cursor:pointer;text-transform:uppercase;font-size:12px}.ofc-filter-section label{display:block;margin:10px 0;font-size:14px}.ofc-filter-section small{color:var(--ofc-muted)}.ofc-range-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.ofc-range-inputs input,.ofc-plan-toolbar input,.ofc-plan-toolbar select,.ofc-plan-field select{width:100%;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);padding:10px;background:#fff}.ofc-apply-filters{width:100%;margin-top:16px!important;background:var(--ofc-accent)!important;border-color:var(--ofc-accent)!important;color:#fff!important}.ofc-archive-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.ofc-archive-toolbar select{padding:10px;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:#fff}.ofc-product-grid{display:grid;grid-template-columns:repeat(var(--ofc-cols,3),minmax(0,1fr));gap:18px}.ofc-product-card{background:var(--ofc-surface);border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);overflow:hidden;position:relative;display:flex;flex-direction:column}.ofc-card-image{display:block;aspect-ratio:1/1;background:#111;overflow:hidden}.ofc-card-image img,.ofc-plan-card-image img{width:100%;height:100%;object-fit:cover;display:block}.ofc-card-body{padding:14px;display:flex;flex-direction:column;gap:10px;height:100%}.ofc-card-body h3,.ofc-plan-card h3{font-size:17px;line-height:1.2;margin:0}.ofc-card-body h3 a{color:inherit;text-decoration:none}.ofc-card-body p{font-size:13px;color:var(--ofc-muted);margin:0}.ofc-mini-badges span,.ofc-badges span{display:inline-flex;background:color-mix(in srgb,var(--ofc-accent) 18%,white);color:var(--ofc-accent-dark);border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700;text-transform:uppercase}.ofc-card-nutrition{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.ofc-card-nutrition span,.ofc-cart-item-nutrition span{border:1px solid var(--ofc-border);border-radius:6px;padding:6px;text-align:center}.ofc-card-nutrition strong,.ofc-card-nutrition small,.ofc-cart-item-nutrition strong,.ofc-cart-item-nutrition small{display:block}.ofc-card-nutrition small,.ofc-cart-item-nutrition small{font-size:9px;text-transform:uppercase;color:var(--ofc-muted)}.ofc-card-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px}.ofc-card-footer .button,.ofc-plan-summary .button{background:var(--ofc-accent)!important;color:#fff!important;border-color:var(--ofc-accent)!important}.ofc-compare-toggle{border:0;background:transparent;color:var(--ofc-accent-dark);font-weight:700;cursor:pointer;padding:4px 0;text-align:left}.ofc-compare-toggle.is-selected{color:#b42318}.ofc-pagination{margin-top:22px}.ofc-pagination .page-numbers{display:inline-flex;padding:8px 12px;border:1px solid var(--ofc-border);margin-right:4px;border-radius:5px}.ofc-pagination .current{background:var(--ofc-accent);color:#fff}
.ofc-badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}.ofc-addons{border:1px solid var(--ofc-border);padding:14px;border-radius:var(--ofc-radius);margin:16px 0}.ofc-addons legend{font-weight:700;padding:0 6px}.ofc-addon-option{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--ofc-border)}.ofc-addon-option:last-child{border-bottom:0}.ofc-nutrition-panel{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ofc-macro-cards{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);padding:18px}.ofc-macro{text-align:center;border-right:1px solid var(--ofc-border)}.ofc-macro:last-child{border-right:0}.ofc-macro strong{display:block;font-size:26px}.ofc-macro span{font-size:11px;text-transform:uppercase;color:var(--ofc-muted)}.ofc-nutrition-table-wrap{width:100%;overflow-x:auto}.ofc-nutrition-table{width:100%;border-collapse:collapse}.ofc-nutrition-table th,.ofc-nutrition-table td{padding:8px 12px;border-bottom:1px solid var(--ofc-border);text-align:left}.ofc-nutrition-table th:nth-child(n+2),.ofc-nutrition-table td:nth-child(n+2){text-align:right;white-space:nowrap}.ofc-nutrition-table th:first-child,.ofc-nutrition-table td:first-child{width:40%}
.ofc-cart-item-nutrition{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.ofc-cart-item-nutrition span{min-width:68px}.ofc-cart-totals{max-width:var(--ofc-max-width);margin:24px auto;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);padding:24px;background:var(--ofc-surface)}.ofc-cart-totals header{text-align:center}.ofc-cart-totals header h2{margin:0}.ofc-cart-totals header p{color:var(--ofc-muted)}.ofc-cart-total-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:18px}.ofc-cart-total-grid div{text-align:center;border-right:1px solid var(--ofc-border)}.ofc-cart-total-grid div:last-child{border-right:0}.ofc-cart-total-grid strong{display:block;font-size:24px}.ofc-cart-total-grid span{font-size:11px;color:var(--ofc-muted);text-transform:uppercase}
.ofc-compare-bar{position:fixed;left:50%;bottom:20px;transform:translate(-50%,140%);z-index:99999;background:#111;color:#fff;border-radius:999px;padding:10px 12px 10px 18px;display:flex;align-items:center;gap:14px;box-shadow:0 10px 35px rgba(0,0,0,.25);transition:.25s}.ofc-compare-bar.is-visible{transform:translate(-50%,0)}.ofc-compare-bar .button{background:var(--ofc-accent)!important;border-color:var(--ofc-accent)!important;color:#fff!important;border-radius:999px!important}.ofc-compare-bar>button{background:transparent;color:#fff;border:0;font-size:22px;cursor:pointer}.ofc-compare-page{max-width:var(--ofc-max-width);margin:40px auto}.ofc-compare-heading{text-align:center;margin-bottom:24px}.ofc-compare-scroll{overflow:auto}.ofc-compare-table{width:100%;min-width:820px;border-collapse:collapse;background:#fff}.ofc-compare-table th,.ofc-compare-table td{padding:14px;border:1px solid var(--ofc-border);text-align:center;vertical-align:middle}.ofc-compare-table tbody th{text-align:left;background:#fafafa;position:sticky;left:0;z-index:1}.ofc-compare-table thead th:first-child{width:180px}.ofc-compare-table thead img{width:130px;height:130px;object-fit:cover;display:block;margin:0 auto 8px}.ofc-compare-table thead a{color:inherit;text-decoration:none}.ofc-compare-table thead strong,.ofc-compare-table thead span{display:block}.ofc-empty-state{text-align:center;border:1px dashed var(--ofc-border);padding:50px;border-radius:var(--ofc-radius)}
.ofc-mealplan{max-width:var(--ofc-max-width);margin:30px auto}.ofc-mealplan-hero{padding:28px 0}.ofc-mealplan-hero>span{text-transform:uppercase;color:var(--ofc-accent-dark);font-weight:700;letter-spacing:.05em}.ofc-mealplan-hero h2{font-size:44px;margin:5px 0 8px}.ofc-mealplan-hero p{color:var(--ofc-muted);max-width:620px}.ofc-plan-steps{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:#fff;margin-bottom:20px}.ofc-plan-steps div{display:flex;gap:10px;align-items:center;padding:14px;border-right:1px solid var(--ofc-border)}.ofc-plan-steps div:last-child{border-right:0}.ofc-plan-steps b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eee}.ofc-plan-steps .is-active b{background:var(--ofc-accent);color:#fff}.ofc-plan-steps span{font-size:12px;font-weight:700;text-transform:uppercase}.ofc-plan-layout{display:grid;grid-template-columns:1fr 330px;gap:20px;align-items:start}.ofc-plan-main{border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);padding:16px;background:#fff}.ofc-plan-config{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.ofc-plan-field label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;margin-bottom:5px}.ofc-plan-toolbar{display:grid;grid-template-columns:1fr 220px;gap:10px;margin-bottom:14px}.ofc-plan-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.ofc-plan-card{border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);overflow:hidden;transition:.15s}.ofc-plan-card.is-selected{border-color:var(--ofc-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--ofc-accent) 30%,transparent)}.ofc-plan-card-image{aspect-ratio:1/1;background:#111}.ofc-plan-card-body{padding:12px}.ofc-plan-card .price{display:block;margin:7px 0}.ofc-plan-qty{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;margin-top:8px;border:1px solid var(--ofc-border);border-radius:6px;overflow:hidden}.ofc-plan-qty button{height:34px;border:0;background:#f5f5f5;cursor:pointer;font-size:18px}.ofc-plan-count{text-align:center;font-weight:700}.ofc-plan-summary{position:sticky;top:20px}.ofc-plan-summary-inner{border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:#fff;padding:18px}.ofc-plan-summary-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ofc-border);padding-bottom:12px}.ofc-plan-summary-title h3{margin:0}.ofc-plan-summary-title button{border:0;background:transparent;color:var(--ofc-accent-dark);cursor:pointer}.ofc-plan-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:14px 0;border-bottom:1px solid var(--ofc-border)}.ofc-plan-stats div{text-align:center}.ofc-plan-stats strong,.ofc-plan-stats span{display:block}.ofc-plan-stats span{font-size:10px;text-transform:uppercase;color:var(--ofc-muted)}.ofc-plan-selected{max-height:330px;overflow:auto;padding:8px 0}.ofc-plan-selected-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--ofc-border)}.ofc-plan-selected-row strong,.ofc-plan-selected-row span{display:block}.ofc-plan-selected-row span{font-size:11px;color:var(--ofc-muted)}.ofc-plan-empty{color:var(--ofc-muted);font-size:13px}.ofc-plan-totals{border-top:1px solid var(--ofc-border);padding-top:12px}.ofc-plan-totals>div:first-child{display:flex;justify-content:space-between}.ofc-plan-macros{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:12px;margin:12px 0}.ofc-plan-summary .button{width:100%;padding:13px!important}
@media(max-width:1100px){.ofc-food-archive{grid-template-columns:220px 1fr;padding:0 16px}.ofc-product-grid{--ofc-cols:2!important}.ofc-plan-layout{grid-template-columns:1fr 300px}.ofc-plan-product-grid{grid-template-columns:repeat(2,1fr)}.ofc-plan-config{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.ofc-food-archive{display:block;padding:0 12px}.ofc-filters{position:static;margin-bottom:16px}.ofc-product-grid{grid-template-columns:1fr 1fr}.ofc-nutrition-panel{grid-template-columns:1fr}.ofc-macro-cards{grid-template-columns:1fr 1fr;gap:16px}.ofc-macro{border-right:0}.ofc-cart-total-grid{grid-template-columns:1fr 1fr;gap:14px}.ofc-cart-total-grid div{border-right:0}.ofc-mealplan{padding:0 12px}.ofc-mealplan-hero h2{font-size:34px}.ofc-plan-steps{display:flex;overflow:auto}.ofc-plan-steps div{min-width:170px}.ofc-plan-layout{display:block}.ofc-plan-summary{position:static;margin-top:16px}.ofc-plan-toolbar{grid-template-columns:1fr}.ofc-plan-product-grid{grid-template-columns:1fr 1fr}.ofc-compare-bar{width:calc(100% - 24px);justify-content:space-between;border-radius:12px}.ofc-plan-config{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.ofc-product-grid,.ofc-plan-product-grid{grid-template-columns:1fr}.ofc-archive-toolbar{align-items:flex-start;gap:10px;flex-direction:column}.ofc-card-nutrition{grid-template-columns:1fr 1fr}.ofc-plan-config{grid-template-columns:1fr}.ofc-macro-cards{grid-template-columns:1fr 1fr}.ofc-cart-total-grid{grid-template-columns:1fr}.ofc-plan-steps span{font-size:11px}}
.ofc-single-compare{margin-top:12px!important;display:inline-flex!important;border:1px solid var(--ofc-border)!important;border-radius:var(--ofc-radius)!important;padding:9px 13px!important;background:var(--ofc-surface)!important}.ofc-block-cart-totals{padding:16px 0}.ofc-block-cart-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:10px}.ofc-block-cart-title small{color:var(--ofc-muted)}.ofc-block-cart-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.ofc-block-cart-grid div{border:1px solid var(--ofc-border);border-radius:6px;padding:8px;text-align:center}.ofc-block-cart-grid b,.ofc-block-cart-grid span{display:block}.ofc-block-cart-grid span{font-size:10px;text-transform:uppercase;color:var(--ofc-muted)}
@media(max-width:600px){.ofc-block-cart-grid{grid-template-columns:1fr 1fr}.ofc-block-cart-title{display:block}.ofc-block-cart-title small{display:block}}

/* v1.1.1 archive compatibility hardening */
.ofc-card-nutrition{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(58px,1fr))!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:10px 0!important;
    padding:0!important;
    clear:both!important;
    float:none!important;
    box-sizing:border-box!important;
    align-items:stretch!important;
}
.ofc-card-nutrition>.ofc-card-nutrition-item{
    position:static!important;
    inset:auto!important;
    float:none!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:48px!important;
    height:auto!important;
    margin:0!important;
    padding:7px 4px!important;
    border:1px solid var(--ofc-border)!important;
    border-radius:6px!important;
    background:var(--ofc-surface)!important;
    box-shadow:none!important;
    text-align:center!important;
    line-height:1.15!important;
    box-sizing:border-box!important;
    transform:none!important;
}
.ofc-card-nutrition>.ofc-card-nutrition-item::before,
.ofc-card-nutrition>.ofc-card-nutrition-item::after{
    content:none!important;
    display:none!important;
}
.ofc-card-nutrition>.ofc-card-nutrition-item strong,
.ofc-card-nutrition>.ofc-card-nutrition-item small{
    position:static!important;
    display:block!important;
    float:none!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    text-align:center!important;
    transform:none!important;
}
.ofc-card-nutrition>.ofc-card-nutrition-item strong{
    color:var(--ofc-text)!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.2!important;
    white-space:nowrap!important;
}
.ofc-card-nutrition>.ofc-card-nutrition-item small{
    color:var(--ofc-muted)!important;
    font-size:8px!important;
    font-weight:500!important;
    line-height:1.15!important;
    letter-spacing:.02em!important;
    text-transform:uppercase!important;
    white-space:normal!important;
}
.woocommerce ul.products li.product .ofc-native-card-nutrition,
.woocommerce-page ul.products li.product .ofc-native-card-nutrition{
    margin:10px 0 8px!important;
}
.woocommerce ul.products li.product .ofc-compare-toggle,
.woocommerce-page ul.products li.product .ofc-compare-toggle{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:38px!important;
    height:auto!important;
    margin:8px 0 0!important;
    padding:8px 10px!important;
    clear:both!important;
    float:none!important;
    border:1px solid var(--ofc-accent)!important;
    border-radius:var(--ofc-radius)!important;
    background:transparent!important;
    color:var(--ofc-accent-dark)!important;
    box-shadow:none!important;
    font:inherit!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.2!important;
    text-align:center!important;
    text-decoration:none!important;
    text-transform:none!important;
    box-sizing:border-box!important;
    cursor:pointer!important;
}
.woocommerce ul.products li.product .ofc-compare-toggle:hover,
.woocommerce-page ul.products li.product .ofc-compare-toggle:hover{
    background:var(--ofc-accent)!important;
    color:#fff!important;
}
.woocommerce ul.products li.product .ofc-compare-toggle.is-selected,
.woocommerce-page ul.products li.product .ofc-compare-toggle.is-selected{
    border-color:#b42318!important;
    color:#b42318!important;
    background:transparent!important;
}
@media(max-width:480px){
    .ofc-card-nutrition{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

/* v1.1.2 compact single-product nutrition cards + custom macro icons */
.ofc-nutrition-panel{
    align-items:start!important;
}
.ofc-macro-cards{
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:16px!important;
    gap:0!important;
}
.ofc-macro{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-height:0!important;
    height:auto!important;
    padding:4px 12px!important;
}
.ofc-macro-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:28px!important;
    height:28px!important;
    margin:0 auto 8px!important;
    flex:0 0 28px!important;
    color:var(--ofc-accent-dark)!important;
    line-height:1!important;
}
.ofc-macro-icon svg{
    display:block!important;
    width:100%!important;
    height:100%!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
.ofc-macro-icon img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}
.ofc-macro strong{
    line-height:1.2!important;
    margin:0!important;
}
.ofc-macro span:not(.ofc-macro-icon){
    margin-top:5px!important;
    line-height:1.2!important;
}
@media(max-width:760px){
    .ofc-macro-cards{
        padding:14px!important;
    }
    .ofc-macro{
        padding:8px 10px!important;
    }
}

/* v1.1.3 compact, uniform WooCommerce archive cards */
.ofc-product-card{
    overflow:visible!important;
    height:100%!important;
}
.ofc-card-image{
    border-radius:var(--ofc-radius) var(--ofc-radius) 0 0;
}

/* v1.1.5 archive title behaviour: two-line default, full reveal from the whole card. */
.ofc-card-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
    position:relative!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:2.8em!important;
    min-height:2.8em!important;
    max-height:2.8em!important;
    margin-top:0!important;
    margin-bottom:0!important;
    line-height:1.4!important;
    white-space:normal!important;
    overflow:hidden!important;
    z-index:8;
}
.ofc-card-title>a{
    display:-webkit-box!important;
    width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    white-space:normal!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
    color:inherit!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
}

/* Reveal the complete title when the user hovers anywhere over the product card.
   The reveal deliberately uses no border, shadow or colour change. */
.ofc-card-title::after,
.woocommerce ul.products li.product .woocommerce-loop-product__title::after,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title::after{
    content:attr(data-ofc-full-title);
    position:absolute;
    left:0;
    top:0;
    display:none;
    width:100%;
    min-width:100%;
    padding:0;
    box-sizing:border-box;
    border:0!important;
    border-radius:0!important;
    background:var(--ofc-surface,#fff);
    color:var(--ofc-archive-title-color,currentColor)!important;
    box-shadow:none!important;
    font:inherit;
    font-size:inherit;
    font-weight:inherit;
    line-height:1.4;
    white-space:normal;
    text-align:left;
    text-transform:none;
    z-index:999;
    pointer-events:none;
}
.ofc-product-card:hover .ofc-card-title,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title{
    overflow:visible!important;
}
.ofc-product-card:hover .ofc-card-title::after,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title::after,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title::after{
    display:block!important;
}

/* Compact archive nutrition row. */
.ofc-card-nutrition{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
    margin:7px 0!important;
}
.ofc-card-nutrition>.ofc-card-nutrition-item{
    min-height:40px!important;
    padding:4px 2px!important;
    gap:1px!important;
    border-radius:5px!important;
}
.ofc-card-nutrition>.ofc-card-nutrition-item strong{
    font-size:11px!important;
    line-height:1.15!important;
}
.ofc-card-nutrition>.ofc-card-nutrition-item small{
    font-size:7px!important;
    line-height:1.05!important;
    letter-spacing:.015em!important;
    white-space:nowrap!important;
}
.woocommerce ul.products li.product .ofc-native-card-nutrition,
.woocommerce-page ul.products li.product .ofc-native-card-nutrition{
    margin:8px 0!important;
}

/* Native WooCommerce archive card alignment and action sizing. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
    box-sizing:border-box!important;
    overflow:visible!important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
    min-height:1.5em;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-height:40px!important;
    height:auto!important;
    margin:8px 0 0!important;
    padding:9px 10px!important;
    box-sizing:border-box!important;
    clear:both!important;
    float:none!important;
    line-height:1.2!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
}
.woocommerce ul.products li.product .ofc-compare-toggle,
.woocommerce-page ul.products li.product .ofc-compare-toggle{
    width:100%!important;
    max-width:100%!important;
    min-height:40px!important;
    margin:8px 0 0!important;
    padding:9px 10px!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
    overflow:visible!important;
}

/* FoodCommerce shortcode archive uses the same full-width action rhythm. */
.ofc-card-body{
    min-width:0!important;
}
.ofc-card-footer{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    gap:7px!important;
    width:100%!important;
}
.ofc-card-footer .price{
    display:block!important;
    width:100%!important;
    min-height:1.4em!important;
}
.ofc-card-footer .button,
.ofc-product-card .ofc-compare-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-height:40px!important;
    height:auto!important;
    margin:0!important;
    padding:9px 10px!important;
    box-sizing:border-box!important;
    line-height:1.2!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
}
.ofc-product-card .ofc-compare-toggle{
    margin-top:1px!important;
    border:1px solid var(--ofc-accent)!important;
    border-radius:var(--ofc-radius)!important;
}

@media(max-width:480px){
    .ofc-card-nutrition{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    .ofc-card-nutrition>.ofc-card-nutrition-item{
        min-height:38px!important;
    }
}

/* Keyboard parity for the archive title reveal. */
.ofc-product-card:focus-within .ofc-card-title,
.woocommerce ul.products li.product:focus-within .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:focus-within .woocommerce-loop-product__title{
    overflow:visible!important;
}
.ofc-product-card:focus-within .ofc-card-title::after,
.woocommerce ul.products li.product:focus-within .woocommerce-loop-product__title::after,
.woocommerce-page ul.products li.product:focus-within .woocommerce-loop-product__title::after{
    display:block!important;
}



/* v1.1.6 comparison scoring refinements, equal values, and arrow-only indicators */
.ofc-compare-legend{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:10px 14px;
    margin:0 0 12px;
    font-size:12px;
    color:var(--ofc-muted);
}
.ofc-compare-legend>span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-weight:700;
    color:var(--ofc-text);
}
.ofc-compare-legend b{
    display:inline-block;
    width:auto;
    height:auto;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    font-size:18px;
    font-weight:900;
    line-height:1;
}
.ofc-compare-legend-good b{color:#2f8f46}
.ofc-compare-legend-equal b{color:#c69a00}
.ofc-compare-legend-bad b{color:#c73737}
.ofc-compare-legend small{flex-basis:100%;text-align:right;color:var(--ofc-muted)}

.ofc-compare-scroll{
    overflow:auto;
    border-radius:var(--ofc-radius);
    box-shadow:0 6px 24px rgba(17,17,17,.06);
}
.ofc-compare-table{
    border-collapse:separate!important;
    border-spacing:0!important;
    border:1px solid var(--ofc-border)!important;
    border-radius:var(--ofc-radius)!important;
    overflow:hidden;
}
.ofc-compare-table th,
.ofc-compare-table td{
    border:0!important;
    border-right:1px solid var(--ofc-border)!important;
    border-bottom:1px solid var(--ofc-border)!important;
    padding:13px 14px!important;
}
.ofc-compare-table tr>*:last-child{border-right:0!important}
.ofc-compare-table tbody tr:last-child>*{border-bottom:0!important}
.ofc-compare-table thead th{
    background:#fff;
    vertical-align:top;
}
.ofc-compare-table thead th:first-child{
    background:#f7f8f5;
    position:sticky;
    left:0;
    z-index:4;
}
.ofc-compare-table tbody tr:nth-child(even) td{background:#fbfbfa}
.ofc-compare-table tbody th{
    background:#f7f8f5!important;
    font-weight:700;
    z-index:3;
}
.ofc-compare-product-head>a>strong{
    display:block!important;
    margin:7px auto 8px!important;
    max-width:260px;
    line-height:1.35!important;
}
.ofc-compare-price-wrap{
    min-height:27px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin:2px 0 7px;
    white-space:nowrap;
}
.ofc-compare-table thead .ofc-compare-price{
    display:inline-flex!important;
    align-items:baseline;
    gap:0;
    font-weight:700;
    color:var(--ofc-text);
    white-space:nowrap!important;
}
.ofc-compare-table thead .ofc-compare-price span,
.ofc-compare-table thead .ofc-compare-price bdi,
.ofc-compare-table thead .ofc-compare-price .amount,
.ofc-compare-table thead .ofc-compare-price .woocommerce-Price-currencySymbol,
.ofc-compare-table thead .ofc-compare-price del,
.ofc-compare-table thead .ofc-compare-price ins{
    display:inline!important;
    white-space:nowrap!important;
}
.ofc-compare-table thead .ofc-compare-price .woocommerce-Price-currencySymbol{
    margin-right:2px;
}
.ofc-compare-table thead .ofc-compare-price del{opacity:.55;margin-right:5px}
.ofc-compare-table thead .ofc-compare-price ins{text-decoration:none}

.ofc-compare-value-inner{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:24px;
}
.ofc-compare-value.is-best{background:rgba(47,143,70,.08)!important}
.ofc-compare-value.is-equal{background:rgba(224,180,0,.10)!important}
.ofc-compare-value.is-worst{background:rgba(199,55,55,.065)!important}
.ofc-compare-indicator{
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    display:inline-block!important;
    place-items:initial!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    font-size:19px!important;
    font-weight:900!important;
    line-height:1!important;
    vertical-align:middle!important;
    box-shadow:none!important;
}
.ofc-compare-indicator.is-good{color:#2f8f46!important}
.ofc-compare-indicator.is-equal{color:#c69a00!important}
.ofc-compare-indicator.is-bad{color:#c73737!important}
.ofc-compare-product-head.is-best .ofc-compare-price-wrap{color:#246f37}
.ofc-compare-product-head.is-equal .ofc-compare-price-wrap{color:#9a7900}
.ofc-compare-product-head.is-worst .ofc-compare-price-wrap{color:#a82d2d}

@media(max-width:760px){
    .ofc-compare-legend{justify-content:flex-start;padding:0 4px}
    .ofc-compare-legend small{text-align:left}
    .ofc-compare-table th,.ofc-compare-table td{padding:11px 10px!important}
    .ofc-compare-table thead img{width:105px;height:105px}
}

/* v1.1.7 archive title expansion and unified action row */

/* The previous title reveal used an absolutely positioned pseudo-element. The
   full title now expands the real title box so it participates in normal
   document flow and can never cover price, nutrition or action controls. */
.ofc-card-title::after,
.woocommerce ul.products li.product .woocommerce-loop-product__title::after,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title::after{
    content:none!important;
    display:none!important;
}

/* Preserve a uniform two-line preview when the card is idle. */
.ofc-card-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
    height:2.8em!important;
    min-height:2.8em!important;
    max-height:2.8em!important;
    overflow:hidden!important;
}
.ofc-card-title>a,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
}

/* Hovering anywhere on the product card expands the actual title and creates
   the additional vertical space required for the complete product name. */
.ofc-product-card:hover .ofc-card-title,
.ofc-product-card:focus-within .ofc-card-title,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:focus-within .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:focus-within .woocommerce-loop-product__title{
    display:block!important;
    height:auto!important;
    min-height:2.8em!important;
    max-height:none!important;
    overflow:visible!important;
}
.ofc-product-card:hover .ofc-card-title>a,
.ofc-product-card:focus-within .ofc-card-title>a{
    display:block!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:focus-within .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:focus-within .woocommerce-loop-product__title{
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
}

/* Native WooCommerce action group. The wrapper opens at priority 9, WooCommerce
   outputs its normal add-to-cart button at priority 10, FoodCommerce outputs
   Compare at priority 12, and the wrapper closes at priority 13. */
.woocommerce ul.products li.product .ofc-archive-actions,
.woocommerce-page ul.products li.product .ofc-archive-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:8px 0 0!important;
    padding:0!important;
    clear:both!important;
    float:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
}
.woocommerce ul.products li.product .ofc-archive-actions>.button,
.woocommerce-page ul.products li.product .ofc-archive-actions>.button,
.woocommerce ul.products li.product .ofc-archive-actions>a.button,
.woocommerce-page ul.products li.product .ofc-archive-actions>a.button,
.woocommerce ul.products li.product .ofc-archive-actions>.ofc-compare-toggle,
.woocommerce-page ul.products li.product .ofc-archive-actions>.ofc-compare-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    height:40px!important;
    margin:0!important;
    padding:7px 6px!important;
    float:none!important;
    clear:none!important;
    box-sizing:border-box!important;
    border-radius:var(--ofc-radius)!important;
    font:inherit!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:1!important;
    text-align:center!important;
    text-decoration:none!important;
    text-transform:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    box-shadow:none!important;
}
.woocommerce ul.products li.product .ofc-archive-actions>.button,
.woocommerce-page ul.products li.product .ofc-archive-actions>.button,
.woocommerce ul.products li.product .ofc-archive-actions>a.button,
.woocommerce-page ul.products li.product .ofc-archive-actions>a.button{
    border:1px solid var(--ofc-accent)!important;
    background:var(--ofc-accent)!important;
    color:#fff!important;
}
.woocommerce ul.products li.product .ofc-archive-actions>.ofc-compare-toggle,
.woocommerce-page ul.products li.product .ofc-archive-actions>.ofc-compare-toggle{
    border:1px solid var(--ofc-accent)!important;
    background:transparent!important;
    color:var(--ofc-accent-dark)!important;
}
.woocommerce ul.products li.product .ofc-archive-actions>.ofc-compare-toggle:hover,
.woocommerce-page ul.products li.product .ofc-archive-actions>.ofc-compare-toggle:hover{
    background:color-mix(in srgb,var(--ofc-accent) 10%,transparent)!important;
    color:var(--ofc-accent-dark)!important;
}
.woocommerce ul.products li.product .ofc-archive-actions>.ofc-compare-toggle.is-selected,
.woocommerce-page ul.products li.product .ofc-archive-actions>.ofc-compare-toggle.is-selected{
    border-color:#b42318!important;
    color:#b42318!important;
    background:transparent!important;
}

/* Shortcode archive uses the same action geometry. Price stays on its own row,
   while Compare and Add to cart/View meal are paired underneath. */
.ofc-card-footer{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin-top:auto!important;
}
.ofc-card-footer .price{
    display:block!important;
    width:100%!important;
    min-height:1.4em!important;
    margin:0 0 8px!important;
}
.ofc-card-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
}
.ofc-card-actions>.button,
.ofc-card-actions>.ofc-compare-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    height:40px!important;
    margin:0!important;
    padding:7px 6px!important;
    box-sizing:border-box!important;
    border-radius:var(--ofc-radius)!important;
    font:inherit!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:1!important;
    text-align:center!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    box-shadow:none!important;
}
.ofc-card-actions>.button{
    border:1px solid var(--ofc-accent)!important;
    background:var(--ofc-accent)!important;
    color:#fff!important;
}
.ofc-card-actions>.ofc-compare-toggle{
    border:1px solid var(--ofc-accent)!important;
    background:transparent!important;
    color:var(--ofc-accent-dark)!important;
}
.ofc-card-actions>.ofc-compare-toggle:hover{
    background:color-mix(in srgb,var(--ofc-accent) 10%,transparent)!important;
    color:var(--ofc-accent-dark)!important;
}
.ofc-card-actions>.ofc-compare-toggle.is-selected{
    border-color:#b42318!important;
    color:#b42318!important;
    background:transparent!important;
}

/* Do not let global theme button margins or transforms push either action out
   of the card. */
.ofc-archive-actions>* ,
.ofc-card-actions>*{
    transform:none!important;
    inset:auto!important;
}

@media(max-width:480px){
    .woocommerce ul.products li.product .ofc-archive-actions,
    .woocommerce-page ul.products li.product .ofc-archive-actions,
    .ofc-card-actions{
        gap:5px!important;
    }
    .woocommerce ul.products li.product .ofc-archive-actions>.button,
    .woocommerce-page ul.products li.product .ofc-archive-actions>.button,
    .woocommerce ul.products li.product .ofc-archive-actions>.ofc-compare-toggle,
    .woocommerce-page ul.products li.product .ofc-archive-actions>.ofc-compare-toggle,
    .ofc-card-actions>.button,
    .ofc-card-actions>.ofc-compare-toggle{
        height:38px!important;
        min-height:38px!important;
        padding:6px 4px!important;
        font-size:10.5px!important;
    }
}

/* Preserve the title's normal archive colour while the card is expanded, even
   when the theme applies a hover colour to the surrounding product link. */
.ofc-product-card:hover .ofc-card-title,
.ofc-product-card:hover .ofc-card-title>a,
.ofc-product-card:focus-within .ofc-card-title,
.ofc-product-card:focus-within .ofc-card-title>a,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:focus-within .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:focus-within .woocommerce-loop-product__title{
    color:var(--ofc-archive-title-color,currentColor)!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
}

/* WooCommerce may insert a View cart link after an AJAX add-to-cart click.
   Keep it inside the card without disturbing the two primary actions. */
.woocommerce ul.products li.product .ofc-archive-actions>.added_to_cart.wc-forward,
.woocommerce-page ul.products li.product .ofc-archive-actions>.added_to_cart.wc-forward,
.ofc-card-actions>.added_to_cart.wc-forward{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:3px 4px 0!important;
    box-sizing:border-box!important;
    font-size:10px!important;
    line-height:1.2!important;
    text-align:center!important;
    white-space:normal!important;
}


/* v1.1.8 comparison transparency scale */
.ofc-compare-value.is-middle,
.ofc-compare-value.is-best{
    background:rgba(47,143,70,var(--ofc-compare-alpha,.085))!important;
}
.ofc-compare-value.is-best{
    --ofc-compare-alpha:.19;
}
.ofc-compare-value.is-worst{
    background:rgba(199,55,55,.085)!important;
}
.ofc-compare-value.is-equal{
    background:rgba(224,180,0,.10)!important;
}
.ofc-compare-equal-swatch{
    display:inline-block;
    width:14px;
    height:10px;
    border-radius:3px;
    background:rgba(224,180,0,.28);
    border:1px solid rgba(198,154,0,.45);
    flex:0 0 auto;
}
/* Equal values are highlighted in yellow only. No equality arrow is rendered. */
.ofc-compare-indicator.is-equal{display:none!important}

/* ================================================================
   v1.1.9 Archive action hardening
   WooCommerce themes frequently apply margins, floats, transforms,
   absolute positioning and custom widths to loop Add to cart buttons.
   FoodCommerce owns the final archive action geometry below.
   ================================================================ */
.woocommerce ul.products li.product .ofc-archive-actions,
.woocommerce-page ul.products li.product .ofc-archive-actions,
.ofc-product-card .ofc-card-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:8px 0 0!important;
    padding:0!important;
    float:none!important;
    clear:both!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
}

/* Force all native WooCommerce archive purchase buttons back into normal flow.
   These selectors intentionally carry high specificity and !important values so
   theme loop-button rules cannot push the purchase action outside the card. */
.woocommerce ul.products li.product .ofc-archive-actions a.button,
.woocommerce-page ul.products li.product .ofc-archive-actions a.button,
.woocommerce ul.products li.product .ofc-archive-actions .button,
.woocommerce-page ul.products li.product .ofc-archive-actions .button,
.woocommerce ul.products li.product .ofc-archive-actions .add_to_cart_button,
.woocommerce-page ul.products li.product .ofc-archive-actions .add_to_cart_button,
.woocommerce ul.products li.product .ofc-archive-actions .product_type_simple,
.woocommerce-page ul.products li.product .ofc-archive-actions .product_type_simple,
.woocommerce ul.products li.product .ofc-archive-actions .product_type_variable,
.woocommerce-page ul.products li.product .ofc-archive-actions .product_type_variable,
.woocommerce ul.products li.product .ofc-archive-actions .product_type_grouped,
.woocommerce-page ul.products li.product .ofc-archive-actions .product_type_grouped,
.woocommerce ul.products li.product .ofc-archive-actions .product_type_external,
.woocommerce-page ul.products li.product .ofc-archive-actions .product_type_external,
.ofc-product-card .ofc-card-actions a.button,
.ofc-product-card .ofc-card-actions .button,
.woocommerce ul.products li.product .ofc-archive-actions .ofc-compare-toggle,
.woocommerce-page ul.products li.product .ofc-archive-actions .ofc-compare-toggle,
.ofc-product-card .ofc-card-actions .ofc-compare-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    grid-column:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    height:42px!important;
    margin:0!important;
    padding:8px 9px!important;
    float:none!important;
    clear:none!important;
    position:static!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    inset:auto!important;
    transform:none!important;
    translate:none!important;
    box-sizing:border-box!important;
    border-radius:var(--ofc-radius)!important;
    font-family:inherit!important;
    font-size:12px!important;
    font-style:normal!important;
    font-weight:700!important;
    line-height:1!important;
    letter-spacing:0!important;
    text-align:center!important;
    text-decoration:none!important;
    text-transform:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
}

/* Purchase action: solid primary. */
.woocommerce ul.products li.product .ofc-archive-actions .ofc-archive-cart-button,
.woocommerce-page ul.products li.product .ofc-archive-actions .ofc-archive-cart-button,
.woocommerce ul.products li.product .ofc-archive-actions .add_to_cart_button,
.woocommerce-page ul.products li.product .ofc-archive-actions .add_to_cart_button,
.ofc-product-card .ofc-card-actions .add_to_cart_button,
.ofc-product-card .ofc-card-actions>a.button:not(.ofc-compare-toggle){
    border:1px solid var(--ofc-accent)!important;
    background:var(--ofc-accent)!important;
    background-image:none!important;
    color:#fff!important;
}
.woocommerce ul.products li.product .ofc-archive-actions .ofc-archive-cart-button:hover,
.woocommerce-page ul.products li.product .ofc-archive-actions .ofc-archive-cart-button:hover,
.woocommerce ul.products li.product .ofc-archive-actions .add_to_cart_button:hover,
.woocommerce-page ul.products li.product .ofc-archive-actions .add_to_cart_button:hover,
.ofc-product-card .ofc-card-actions .add_to_cart_button:hover,
.ofc-product-card .ofc-card-actions>a.button:not(.ofc-compare-toggle):hover{
    border-color:var(--ofc-accent-dark)!important;
    background:var(--ofc-accent-dark)!important;
    color:#fff!important;
}

/* Compare action: matching geometry with secondary styling. */
.woocommerce ul.products li.product .ofc-archive-actions .ofc-compare-toggle,
.woocommerce-page ul.products li.product .ofc-archive-actions .ofc-compare-toggle,
.ofc-product-card .ofc-card-actions .ofc-compare-toggle{
    border:1px solid var(--ofc-accent)!important;
    background:#fff!important;
    background-image:none!important;
    color:var(--ofc-accent-dark)!important;
}
.woocommerce ul.products li.product .ofc-archive-actions .ofc-compare-toggle:hover,
.woocommerce-page ul.products li.product .ofc-archive-actions .ofc-compare-toggle:hover,
.ofc-product-card .ofc-card-actions .ofc-compare-toggle:hover{
    border-color:var(--ofc-accent-dark)!important;
    background:color-mix(in srgb,var(--ofc-accent) 9%,#fff)!important;
    color:var(--ofc-accent-dark)!important;
}
.woocommerce ul.products li.product .ofc-archive-actions .ofc-compare-toggle.is-selected,
.woocommerce-page ul.products li.product .ofc-archive-actions .ofc-compare-toggle.is-selected,
.ofc-product-card .ofc-card-actions .ofc-compare-toggle.is-selected{
    border-color:#c72f2f!important;
    background:#fff!important;
    color:#c72f2f!important;
}

/* AJAX View cart belongs below the paired actions and must not steal a grid cell. */
.woocommerce ul.products li.product .ofc-archive-actions .added_to_cart.wc-forward,
.woocommerce-page ul.products li.product .ofc-archive-actions .added_to_cart.wc-forward,
.ofc-product-card .ofc-card-actions .added_to_cart.wc-forward{
    grid-column:1 / -1!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:4px 2px 0!important;
    border:0!important;
    background:transparent!important;
    color:var(--ofc-accent-dark)!important;
    font-size:10px!important;
    line-height:1.2!important;
    text-align:center!important;
    white-space:normal!important;
    box-shadow:none!important;
}

/* Neutralise theme pseudo-elements/spinners that can change button width. */
.woocommerce ul.products li.product .ofc-archive-actions .button:before,
.woocommerce ul.products li.product .ofc-archive-actions .button:after,
.woocommerce-page ul.products li.product .ofc-archive-actions .button:before,
.woocommerce-page ul.products li.product .ofc-archive-actions .button:after{
    max-width:16px!important;
    max-height:16px!important;
}

@media(max-width:420px){
    .woocommerce ul.products li.product .ofc-archive-actions,
    .woocommerce-page ul.products li.product .ofc-archive-actions,
    .ofc-product-card .ofc-card-actions{
        gap:6px!important;
    }
    .woocommerce ul.products li.product .ofc-archive-actions a.button,
    .woocommerce-page ul.products li.product .ofc-archive-actions a.button,
    .woocommerce ul.products li.product .ofc-archive-actions .ofc-compare-toggle,
    .woocommerce-page ul.products li.product .ofc-archive-actions .ofc-compare-toggle,
    .ofc-product-card .ofc-card-actions a.button,
    .ofc-product-card .ofc-card-actions .ofc-compare-toggle{
        min-height:40px!important;
        height:40px!important;
        padding:7px 5px!important;
        font-size:10.5px!important;
    }
}


/* v1.1.10 comparison rank-visibility refinement
   All non-worst comparable values receive a deliberately visible green shade.
   Inline --ofc-compare-alpha is generated from favourability rank rather than
   raw numeric distance, preventing near-worst intermediate values from looking
   unclassified. */
.ofc-compare-value.is-middle{
    background:rgba(47,143,70,var(--ofc-compare-alpha,.085))!important;
}

/* v1.2.0 WooCommerce-integrated FoodCommerce filter widgets */
.ofc-filter-widget{
    box-sizing:border-box;
}
.ofc-filter-widget *{
    box-sizing:border-box;
}
.ofc-filter-widget .widget-title,
.ofc-filter-widget .wp-block-heading{
    margin-bottom:12px;
}
.ofc-widget-filter-list,
.ofc-active-filter-list{
    list-style:none!important;
    margin:0!important;
    padding:0!important;
}
.ofc-widget-filter-list>li{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:0!important;
    padding:7px 0!important;
    border:0!important;
    background:transparent!important;
}
.ofc-widget-filter-list>li>a,
.ofc-widget-filter-list>li>.ofc-filter-disabled-label{
    flex:1 1 auto;
    min-width:0;
    color:inherit;
    text-decoration:none;
}
.ofc-widget-filter-list>li>a:hover{
    color:var(--ofc-accent-dark);
}
.ofc-widget-filter-list>li.chosen>a{
    color:var(--ofc-accent-dark)!important;
    font-weight:700;
}
.ofc-widget-filter-list>li.chosen>a::before{
    content:"×";
    display:inline-block;
    margin-right:7px;
    color:var(--ofc-accent-dark);
    font-weight:700;
}
.ofc-widget-filter-list .count{
    flex:0 0 auto;
    color:var(--ofc-muted);
    font-size:.9em;
}
.ofc-widget-filter-list .ofc-filter-disabled{
    opacity:.45;
}
.ofc-widget-taxonomy-select{
    display:block;
    width:100%!important;
    max-width:100%!important;
    min-height:40px;
    padding:8px 10px;
    border:1px solid var(--ofc-border)!important;
    border-radius:var(--ofc-radius)!important;
    background:var(--ofc-surface)!important;
    color:var(--ofc-text)!important;
    font:inherit!important;
}
.ofc-widget-range-form{
    margin:0;
}
.ofc-widget-range-inputs{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
}
.ofc-widget-range-inputs label{
    display:block;
    margin:0;
}
.ofc-widget-range-inputs label>span{
    display:block;
    margin:0 0 5px;
    color:var(--ofc-muted);
    font-size:11px;
    font-weight:600;
    text-transform:uppercase;
}
.ofc-widget-range-inputs input{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:40px!important;
    margin:0!important;
    padding:8px 10px!important;
    border:1px solid var(--ofc-border)!important;
    border-radius:var(--ofc-radius)!important;
    background:var(--ofc-surface)!important;
    color:var(--ofc-text)!important;
    box-shadow:none!important;
    font:inherit!important;
}
.ofc-widget-range-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
}
.ofc-widget-range-actions .button{
    flex:1 1 auto;
    min-height:38px!important;
    margin:0!important;
    padding:8px 12px!important;
    border:1px solid var(--ofc-accent)!important;
    border-radius:var(--ofc-radius)!important;
    background:var(--ofc-accent)!important;
    color:#fff!important;
    box-shadow:none!important;
    font:inherit!important;
    font-weight:700!important;
    line-height:1.2!important;
    text-align:center!important;
}
.ofc-widget-clear-range,
.ofc-clear-food-filters{
    color:var(--ofc-accent-dark)!important;
    font-size:12px;
    font-weight:700;
    text-decoration:none!important;
}
.ofc-widget-range-unit{
    display:block;
    margin-top:7px;
    color:var(--ofc-muted);
}
.ofc-active-filter-list{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:10px!important;
}
.ofc-active-filter-list li{
    margin:0!important;
    padding:0!important;
    border:0!important;
}
.ofc-active-filter-list a{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:6px 9px;
    border:1px solid var(--ofc-border);
    border-radius:999px;
    background:var(--ofc-surface);
    color:var(--ofc-text)!important;
    font-size:12px;
    line-height:1.2;
    text-decoration:none!important;
}
.ofc-active-filter-list a:hover{
    border-color:var(--ofc-accent);
    color:var(--ofc-accent-dark)!important;
}
@media(max-width:480px){
    .ofc-widget-range-inputs{
        grid-template-columns:1fr;
    }
}


/* v1.2.1 Meal-plan target guidance and mismatch confirmation */
.ofc-plan-target-status{margin:14px 0 4px;padding:12px 13px;border:1px solid var(--ofc-border);border-radius:calc(var(--ofc-radius) * .75);background:#fafafa;transition:background-color .18s ease,border-color .18s ease}.ofc-plan-target-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.ofc-plan-target-head>span{font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.ofc-plan-target-head>strong{font-size:13px;white-space:nowrap}.ofc-plan-target-track{height:6px;border-radius:999px;background:#ecefe8;overflow:hidden}.ofc-plan-target-track>span{display:block;height:100%;width:0;border-radius:inherit;background:#d7a323;transition:width .2s ease,background-color .18s ease}.ofc-plan-target-status p{margin:8px 0 2px;font-size:12px;font-weight:700;line-height:1.4}.ofc-plan-target-status small{display:block;color:var(--ofc-muted);font-size:10px;line-height:1.4}.ofc-plan-target-status.is-exact{border-color:color-mix(in srgb,var(--ofc-accent) 55%,var(--ofc-border));background:color-mix(in srgb,var(--ofc-accent) 8%,white)}.ofc-plan-target-status.is-exact .ofc-plan-target-track>span{background:var(--ofc-accent)}.ofc-plan-target-status.is-over{border-color:#e5c466;background:#fffaf0}.ofc-plan-target-status.is-over .ofc-plan-target-track>span,.ofc-plan-target-status.is-under .ofc-plan-target-track>span{background:#d7a323}
body.ofc-plan-confirm-open{overflow:hidden}.ofc-plan-confirm[hidden]{display:none!important}.ofc-plan-confirm{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}.ofc-plan-confirm-backdrop{position:absolute;inset:0;background:rgba(10,15,8,.54);backdrop-filter:blur(2px)}.ofc-plan-confirm-dialog{position:relative;width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;color:var(--ofc-text);border:1px solid var(--ofc-border);border-radius:max(10px,var(--ofc-radius));box-shadow:0 24px 70px rgba(0,0,0,.24);padding:24px}.ofc-plan-confirm-close{position:absolute;top:10px;right:12px;width:34px;height:34px;border:0;background:transparent;color:var(--ofc-muted);font-size:26px;line-height:1;cursor:pointer}.ofc-plan-confirm-kicker{display:block;margin:0 40px 5px 0;color:var(--ofc-accent-dark);font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.ofc-plan-confirm-dialog h3{margin:0 40px 10px 0;font-size:24px;line-height:1.2}.ofc-plan-confirm-dialog>p{margin:0 0 16px;line-height:1.55}.ofc-plan-confirm-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.ofc-plan-confirm-counts>div{border:1px solid var(--ofc-border);border-radius:8px;padding:12px;background:#fafafa}.ofc-plan-confirm-counts span,.ofc-plan-confirm-counts strong{display:block}.ofc-plan-confirm-counts span{font-size:10px;text-transform:uppercase;color:var(--ofc-muted);margin-bottom:3px}.ofc-plan-confirm-counts strong{font-size:16px}.ofc-plan-confirm-note{font-size:12px;color:var(--ofc-muted)}.ofc-plan-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.ofc-plan-confirm-actions .button{width:100%!important;min-height:44px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}.ofc-plan-confirm-actions .button.alt{background:var(--ofc-accent)!important;border-color:var(--ofc-accent)!important;color:#fff!important}
@media(max-width:480px){.ofc-plan-confirm{padding:12px}.ofc-plan-confirm-dialog{padding:20px 16px}.ofc-plan-confirm-actions{grid-template-columns:1fr}.ofc-plan-confirm-counts{grid-template-columns:1fr 1fr}.ofc-plan-target-head{align-items:flex-start}}

/* v1.2.2 Individual nutrition blocks in classic and WooCommerce Block Cart */
.woocommerce-cart .ofc-cart-item-nutrition,
.wc-block-cart-items .ofc-block-cart-line-item .ofc-block-line-nutrition{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    gap:6px!important;
    width:100%!important;
    max-width:460px!important;
    min-width:0!important;
    height:auto!important;
    margin:9px 0 10px!important;
    padding:0!important;
    clear:both!important;
    float:none!important;
    box-sizing:border-box!important;
}
.woocommerce-cart .ofc-cart-item-nutrition>span,
.wc-block-cart-items .ofc-block-cart-line-item .ofc-block-line-nutrition__item{
    display:flex!important;
    flex:1 1 70px!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:66px!important;
    max-width:88px!important;
    min-height:54px!important;
    margin:0!important;
    padding:7px 5px!important;
    border:1px solid var(--ofc-border)!important;
    border-radius:6px!important;
    background:var(--ofc-surface)!important;
    box-shadow:none!important;
    color:var(--ofc-text)!important;
    text-align:center!important;
    box-sizing:border-box!important;
}
.woocommerce-cart .ofc-cart-item-nutrition>span>strong,
.wc-block-cart-items .ofc-block-cart-line-item .ofc-block-line-nutrition__item>strong{
    display:block!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    color:var(--ofc-text)!important;
    font:inherit!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.15!important;
    white-space:nowrap!important;
}
.woocommerce-cart .ofc-cart-item-nutrition>span>small,
.wc-block-cart-items .ofc-block-cart-line-item .ofc-block-line-nutrition__item>small{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    color:var(--ofc-muted)!important;
    font:inherit!important;
    font-size:8px!important;
    font-weight:500!important;
    line-height:1.1!important;
    letter-spacing:.02em!important;
    text-align:center!important;
    text-transform:uppercase!important;
    overflow-wrap:anywhere!important;
}
/* The Store API fallback metadata remains useful to third-party carts, but the
   native Cart block uses the richer FoodCommerce chips instead of a duplicate line. */
.wc-block-cart-items .ofc-block-cart-line-item .wc-block-components-product-details__nutrition{
    display:none!important;
}
.wc-block-cart-items .ofc-block-cart-line-item .wc-block-cart-item__product,
.wc-block-cart-items .ofc-block-cart-line-item .wc-block-cart-item__wrap{
    min-width:0!important;
}
@media(max-width:900px){
    .wc-block-cart-items .ofc-block-cart-line-item .ofc-block-line-nutrition{
        max-width:360px!important;
    }
}
@media(max-width:600px){
    .woocommerce-cart .ofc-cart-item-nutrition,
    .wc-block-cart-items .ofc-block-cart-line-item .ofc-block-line-nutrition{
        max-width:100%!important;
        gap:5px!important;
    }
    .woocommerce-cart .ofc-cart-item-nutrition>span,
    .wc-block-cart-items .ofc-block-cart-line-item .ofc-block-line-nutrition__item{
        flex:1 1 calc(33.333% - 5px)!important;
        max-width:none!important;
        min-width:62px!important;
    }
}
@media(max-width:420px){
    .woocommerce-cart .ofc-cart-item-nutrition>span,
    .wc-block-cart-items .ofc-block-cart-line-item .ofc-block-line-nutrition__item{
        flex-basis:calc(50% - 5px)!important;
    }
}


/* ================================================================
   v1.2.3 Infinite-scroll archive action persistence
   Dynamically appended products may bypass WooCommerce's normal loop hook timing
   and can use div-based product grids instead of ul.products > li.product.
   Once JavaScript normalises a card, FoodCommerce owns the final action geometry
   regardless of the theme's loop-button selectors.
   ================================================================ */
.woocommerce .products .product.ofc-actions-normalized,
.woocommerce-page .products .product.ofc-actions-normalized{
    box-sizing:border-box!important;
    min-width:0!important;
    overflow:visible!important;
}
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:8px 0 0!important;
    padding:0!important;
    float:none!important;
    clear:both!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
}
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    grid-column:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 1 auto!important;
    min-height:42px!important;
    height:42px!important;
    margin:0!important;
    padding:8px 7px!important;
    float:none!important;
    clear:none!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    translate:none!important;
    box-sizing:border-box!important;
    border-radius:var(--ofc-radius)!important;
    font-family:inherit!important;
    font-size:12px!important;
    font-style:normal!important;
    font-weight:700!important;
    line-height:1!important;
    letter-spacing:0!important;
    text-align:center!important;
    text-decoration:none!important;
    text-transform:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
}
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button{
    border:1px solid var(--ofc-accent)!important;
    background:var(--ofc-accent)!important;
    background-image:none!important;
    color:#fff!important;
}
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button:hover,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button:hover{
    border-color:var(--ofc-accent-dark)!important;
    background:var(--ofc-accent-dark)!important;
    color:#fff!important;
}
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button{
    border:1px solid var(--ofc-accent)!important;
    background:transparent!important;
    background-image:none!important;
    color:var(--ofc-accent-dark)!important;
}
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button:hover,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button:hover{
    background:color-mix(in srgb,var(--ofc-accent) 10%,transparent)!important;
    color:var(--ofc-accent-dark)!important;
}
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button.is-selected,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button.is-selected{
    border-color:#b42318!important;
    background:transparent!important;
    color:#b42318!important;
}
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:4px 4px 0!important;
    float:none!important;
    clear:both!important;
    position:static!important;
    transform:none!important;
    box-sizing:border-box!important;
    font-size:10px!important;
    line-height:1.2!important;
    text-align:center!important;
    white-space:normal!important;
}
@media(max-width:480px){
    .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions,
    .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions{
        gap:5px!important;
    }
    .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
    .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
    .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
    .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button{
        min-height:38px!important;
        height:38px!important;
        padding:6px 4px!important;
        font-size:10.5px!important;
    }
}

/* ================================================================
   v1.2.4 Archive action hover stability
   Keep action geometry completely static while hovering. Some themes apply
   transition:all, transforms, opacity or animations to WooCommerce loop buttons;
   limiting the transition to colour-only properties prevents visual flicker.
   ================================================================ */
.ofc-product-card.ofc-actions-normalized .ofc-card-actions,
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions{
    isolation:isolate!important;
}
.ofc-product-card.ofc-actions-normalized .ofc-card-actions > .ofc-archive-cart-button,
.ofc-product-card.ofc-actions-normalized .ofc-card-actions > .ofc-archive-compare-button,
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button{
    animation:none!important;
    transition:background-color .14s ease,border-color .14s ease,color .14s ease!important;
    transform:none!important;
    translate:none!important;
    scale:none!important;
    rotate:none!important;
    will-change:auto!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
}
.ofc-product-card.ofc-actions-normalized .ofc-card-actions > .ofc-archive-cart-button:hover,
.ofc-product-card.ofc-actions-normalized .ofc-card-actions > .ofc-archive-cart-button:focus,
.ofc-product-card.ofc-actions-normalized .ofc-card-actions > .ofc-archive-compare-button:hover,
.ofc-product-card.ofc-actions-normalized .ofc-card-actions > .ofc-archive-compare-button:focus,
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button:hover,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button:hover,
.woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button:hover,
.woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button:hover{
    transform:none!important;
    translate:none!important;
    scale:none!important;
    rotate:none!important;
}

/* ================================================================
   v1.3.0 Affiliate programme
   ================================================================ */
.ofc-affiliate-portal{display:grid;gap:18px;max-width:var(--ofc-max-width,1280px);margin:0 auto;color:var(--ofc-text,#111)}
.ofc-affiliate-card{background:var(--ofc-surface,#fff);border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);padding:22px;box-sizing:border-box}
.ofc-affiliate-card h2,.ofc-affiliate-card h3{margin-top:0;color:var(--ofc-text,#111)}
.ofc-affiliate-card p:last-child{margin-bottom:0}
.ofc-affiliate-muted{color:var(--ofc-muted,#6d6d6d);font-size:.92em}
.ofc-affiliate-notice{padding:12px 14px;border-radius:var(--ofc-radius,8px);border:1px solid var(--ofc-border,#e5e5e5)}
.ofc-affiliate-notice-success{background:rgba(145,191,74,.11);border-color:rgba(115,153,63,.38)}
.ofc-affiliate-notice-error{background:rgba(180,35,35,.07);border-color:rgba(180,35,35,.28)}
.ofc-affiliate-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.04em;background:#f1f1f1;color:#555}
.ofc-affiliate-status-approved{background:rgba(145,191,74,.14);color:var(--ofc-accent-dark,#73993f)}
.ofc-affiliate-status-pending{background:#fff4cc;color:#7b6100}
.ofc-affiliate-status-rejected,.ofc-affiliate-status-suspended{background:#fde9e9;color:#9c2727}
.ofc-affiliate-status-card h2{margin:12px 0 8px}
.ofc-affiliate-response{margin:14px 0;padding:12px 14px;border-left:3px solid var(--ofc-accent,#91bf4a);background:rgba(145,191,74,.07)}
.ofc-affiliate-response p{margin:5px 0 0}
.ofc-affiliate-form{display:grid;gap:16px;margin-top:18px}
.ofc-affiliate-form label{display:grid;gap:7px}
.ofc-affiliate-form label>span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ofc-affiliate-form input[type=url],.ofc-affiliate-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);padding:11px 12px;background:#fff;color:var(--ofc-text,#111);font:inherit}
.ofc-affiliate-form textarea{resize:vertical;min-height:120px}
.ofc-affiliate-primary{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 18px!important;border:1px solid var(--ofc-accent,#91bf4a)!important;border-radius:var(--ofc-radius,8px)!important;background:var(--ofc-accent,#91bf4a)!important;color:#fff!important;text-decoration:none!important;box-shadow:none!important}
.ofc-affiliate-primary:hover,.ofc-affiliate-primary:focus{background:var(--ofc-accent-dark,#73993f)!important;border-color:var(--ofc-accent-dark,#73993f)!important;color:#fff!important}
.ofc-affiliate-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:24px}
.ofc-affiliate-dashboard-head h2{margin:10px 0 8px}
.ofc-affiliate-code-box{flex:0 0 auto;min-width:230px;padding:18px;border-radius:var(--ofc-radius,8px);border:1px dashed var(--ofc-accent-dark,#73993f);background:rgba(145,191,74,.07);text-align:center}
.ofc-affiliate-code-box span,.ofc-affiliate-code-box small{display:block;color:var(--ofc-muted,#6d6d6d)}
.ofc-affiliate-code-box strong{display:block;margin:8px 0;font-size:24px;line-height:1.1;letter-spacing:.08em;color:var(--ofc-accent-dark,#73993f);word-break:break-word}
.ofc-affiliate-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ofc-affiliate-stat{min-width:0;padding:16px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:var(--ofc-surface,#fff);text-align:center}
.ofc-affiliate-stat strong{display:block;font-size:20px;line-height:1.2;color:var(--ofc-text,#111);overflow-wrap:anywhere}
.ofc-affiliate-stat span{display:block;margin-top:6px;font-size:10px;line-height:1.3;text-transform:uppercase;letter-spacing:.04em;color:var(--ofc-muted,#6d6d6d)}
.ofc-affiliate-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ofc-affiliate-rule-grid>div{padding:14px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px)}
.ofc-affiliate-rule-grid span{display:block;margin-bottom:5px;font-size:11px;color:var(--ofc-muted,#6d6d6d);text-transform:uppercase;letter-spacing:.04em}
.ofc-affiliate-rule-grid strong{font-size:15px}
.ofc-affiliate-table-wrap{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.ofc-affiliate-table{width:100%;min-width:650px;border-collapse:collapse}
.ofc-affiliate-table th,.ofc-affiliate-table td{padding:11px 10px;border-bottom:1px solid var(--ofc-border,#e5e5e5);text-align:left;vertical-align:middle}
.ofc-affiliate-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--ofc-muted,#6d6d6d)}
.ofc-affiliate-commission-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#f0f0f0;color:#666}
.ofc-affiliate-commission-approved,.ofc-affiliate-commission-paid{background:rgba(145,191,74,.14);color:var(--ofc-accent-dark,#73993f)}
.ofc-affiliate-commission-pending,.ofc-affiliate-commission-review{background:#fff4cc;color:#7b6100}
.ofc-affiliate-commission-cancelled{background:#fde9e9;color:#9c2727}
@media(max-width:900px){.ofc-affiliate-dashboard-head{align-items:stretch;flex-direction:column}.ofc-affiliate-code-box{min-width:0;width:100%;box-sizing:border-box}.ofc-affiliate-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ofc-affiliate-rule-grid{grid-template-columns:1fr}}
@media(max-width:520px){.ofc-affiliate-card{padding:16px}.ofc-affiliate-stats{grid-template-columns:1fr 1fr}.ofc-affiliate-stat{padding:12px}.ofc-affiliate-stat strong{font-size:16px}}

/* ================================================================
   v1.4.0 Affiliate application and contract reward packages
   ================================================================ */
.ofc-affiliate-eyebrow{display:block;margin-bottom:7px;color:var(--ofc-accent-dark,#73993f);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ofc-affiliate-application-intro{background:linear-gradient(135deg,rgba(145,191,74,.08),rgba(255,255,255,0) 68%)}
.ofc-affiliate-application-points{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.ofc-affiliate-application-points span{padding:7px 10px;border:1px solid rgba(115,153,63,.25);border-radius:999px;background:rgba(145,191,74,.07);color:var(--ofc-accent-dark,#73993f);font-size:11px;font-weight:700}
.ofc-affiliate-form-section{display:grid;gap:14px;padding:18px 0;border-top:1px solid var(--ofc-border,#e5e5e5)}.ofc-affiliate-form-section:first-of-type{padding-top:0;border-top:0}.ofc-affiliate-form-section-head{display:flex;align-items:flex-start;gap:12px}.ofc-affiliate-form-section-head>span{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--ofc-accent,#91bf4a);color:#fff;font-size:12px;font-weight:800}.ofc-affiliate-form-section-head h3{margin:0 0 3px}.ofc-affiliate-form-section-head p{margin:0;color:var(--ofc-muted,#6d6d6d);font-size:.92em}
.ofc-affiliate-form-grid-front{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ofc-affiliate-form-grid-front>.ofc-affiliate-span-2{grid-column:1/-1}
.ofc-affiliate-form input[type=text],.ofc-affiliate-form input[type=url],.ofc-affiliate-form select,.ofc-affiliate-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);padding:11px 12px;background:#fff;color:var(--ofc-text,#111);font:inherit;box-shadow:none}.ofc-affiliate-form select{min-height:44px}.ofc-affiliate-form input:focus,.ofc-affiliate-form select:focus,.ofc-affiliate-form textarea:focus{outline:2px solid color-mix(in srgb,var(--ofc-accent,#91bf4a) 38%,transparent);outline-offset:1px;border-color:var(--ofc-accent-dark,#73993f)}
.ofc-affiliate-section-head-front{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.ofc-affiliate-section-head-front h3{margin:0}.ofc-affiliate-reward-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.ofc-affiliate-reward-tag{display:inline-flex;align-items:center;min-height:26px;padding:5px 9px;border-radius:999px;background:rgba(145,191,74,.12);border:1px solid rgba(115,153,63,.25);color:var(--ofc-accent-dark,#73993f);font-size:10px;font-weight:800;letter-spacing:.025em}.ofc-affiliate-reward-tag-muted{background:#f3f3f3;border-color:#e2e2e2;color:#666}
.ofc-affiliate-reward-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ofc-affiliate-reward-grid>div small{display:block;margin-top:5px;color:var(--ofc-muted,#6d6d6d);font-size:11px;line-height:1.35}.ofc-affiliate-contract-note{margin-top:13px!important;padding-top:13px;border-top:1px solid var(--ofc-border,#e5e5e5)}
.ofc-affiliate-contract-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ofc-affiliate-contract-details>div{padding:14px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:color-mix(in srgb,var(--ofc-surface,#fff) 94%,var(--ofc-accent,#91bf4a) 6%)}.ofc-affiliate-contract-details strong{display:block;margin-bottom:6px;color:var(--ofc-text,#111)}.ofc-affiliate-contract-details p{margin:0;white-space:normal}
@media(max-width:900px){.ofc-affiliate-form-grid-front{grid-template-columns:1fr}.ofc-affiliate-form-grid-front>.ofc-affiliate-span-2{grid-column:auto}.ofc-affiliate-section-head-front{flex-direction:column}.ofc-affiliate-reward-tags{justify-content:flex-start}.ofc-affiliate-reward-grid{grid-template-columns:1fr 1fr}.ofc-affiliate-contract-details{grid-template-columns:1fr}}
@media(max-width:560px){.ofc-affiliate-reward-grid{grid-template-columns:1fr}.ofc-affiliate-form-section{padding:15px 0}.ofc-affiliate-application-points{display:grid}.ofc-affiliate-application-points span{text-align:center}}

/* ================================================================
   v1.5.0 Affiliate contracts, banking and spendable store credit
   ================================================================ */
.ofc-affiliate-profile-help{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}.ofc-affiliate-profile-help>div{padding:11px 12px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:color-mix(in srgb,var(--ofc-surface,#fff) 96%,var(--ofc-accent,#91bf4a) 4%)}.ofc-affiliate-profile-help strong,.ofc-affiliate-profile-help small{display:block}.ofc-affiliate-profile-help small{margin-top:4px;color:var(--ofc-muted,#6d6d6d);line-height:1.4}.ofc-affiliate-form input[type=text],.ofc-affiliate-form select,.ofc-affiliate-contract-accept input[type=text],.ofc-bank-form input[type=text],.ofc-bank-grid input[type=text]{width:100%;box-sizing:border-box;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);padding:11px 12px;background:#fff;color:var(--ofc-text,#111);font:inherit}.ofc-contract-document{line-height:1.55}.ofc-contract-document h2{margin-bottom:10px}.ofc-contract-document h3{margin:22px 0 8px;font-size:1.08em}.ofc-contract-document h4{margin:0 0 6px}.ofc-contract-document p{margin:0 0 12px}.ofc-contract-personalised{padding:14px;margin:12px 0;border-left:3px solid var(--ofc-accent,#91bf4a);background:color-mix(in srgb,var(--ofc-surface,#fff) 94%,var(--ofc-accent,#91bf4a) 6%)}.ofc-contract-rewards{width:100%;border-collapse:collapse;margin:12px 0 18px}.ofc-contract-rewards th,.ofc-contract-rewards td{padding:10px;border:1px solid var(--ofc-border,#e5e5e5);text-align:left;vertical-align:top}.ofc-contract-rewards th{width:34%;background:rgba(0,0,0,.025)}.ofc-contract-signature{margin-top:22px;padding:14px;border:1px solid rgba(115,153,63,.35);border-radius:var(--ofc-radius,8px);background:rgba(145,191,74,.08)}.ofc-affiliate-contract-accept{display:grid;gap:14px}.ofc-affiliate-block-label{display:grid;gap:7px}.ofc-affiliate-block-label>span{font-weight:700}.ofc-affiliate-accept-check{display:flex;gap:9px;align-items:flex-start;padding:12px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:rgba(145,191,74,.06)}.ofc-affiliate-accept-check input{margin-top:3px}.ofc-bank-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.ofc-bank-grid label{display:grid;gap:6px}.ofc-bank-grid label>span{font-size:12px;font-weight:700}.ofc-store-credit-control{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.ofc-store-credit-control form{margin:0}.ofc-cart-store-credit{padding:14px;margin:0 0 16px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:rgba(145,191,74,.06)}.ofc-cart-store-credit h3{margin:0 0 8px;font-size:1em}.ofc-contract-pending{border-color:#e4c866;background:#fffdf4}
@media(max-width:850px){.ofc-affiliate-profile-help{grid-template-columns:1fr 1fr}.ofc-bank-grid{grid-template-columns:1fr}}
@media(max-width:560px){.ofc-affiliate-profile-help{grid-template-columns:1fr}.ofc-store-credit-control{align-items:stretch}.ofc-store-credit-control form,.ofc-store-credit-control button{width:100%}}

/* v1.6.0: Meal-plan sharing and persistent trainer / affiliate relationship */
.ofc-plan-sharing{margin:14px 0;padding:14px 0;border-top:1px solid var(--ofc-border);border-bottom:1px solid var(--ofc-border)}
.ofc-plan-sharing-head{margin-bottom:12px}.ofc-plan-sharing-head>span{display:block;margin-bottom:3px;color:var(--ofc-accent-dark);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.ofc-plan-sharing-head h4{margin:0 0 5px;font-size:15px;line-height:1.25}.ofc-plan-sharing-head p{margin:0;color:var(--ofc-muted);font-size:11px;line-height:1.45}
.ofc-plan-trainer,.ofc-plan-social{display:block;padding:12px;border:1px solid var(--ofc-border);border-radius:calc(var(--ofc-radius) * .8);background:#fff}.ofc-plan-social{margin-top:9px;background:#fafafa}.ofc-plan-share-number{display:none!important}.ofc-plan-share-content{min-width:0;width:100%}.ofc-plan-share-content>strong,.ofc-plan-share-content>small{display:block}.ofc-plan-share-content>strong{font-size:13px}.ofc-plan-share-content>small{margin-top:3px;color:var(--ofc-muted);font-size:10px;line-height:1.4}
.ofc-trainer-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-top:10px}.ofc-trainer-search[hidden]{display:none!important}.ofc-trainer-search input{min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--ofc-border);border-radius:6px;padding:8px 9px;background:#fff;font:inherit;font-size:11px}.ofc-trainer-search .button{width:auto!important;min-height:35px!important;padding:7px 10px!important;margin:0!important}.ofc-trainer-search.is-loading{opacity:.65;pointer-events:none}
.ofc-trainer-results{display:grid;gap:6px;margin-top:7px}.ofc-trainer-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px;border:1px solid var(--ofc-border);border-radius:6px;background:#fff}.ofc-trainer-result strong,.ofc-trainer-result small,.ofc-trainer-result span{display:block}.ofc-trainer-result strong{font-size:11px}.ofc-trainer-result small{margin:2px 0;color:var(--ofc-muted);font-size:9px}.ofc-trainer-result span{font-size:9px}.ofc-trainer-result code{font-size:9px;font-weight:800;color:var(--ofc-accent-dark)}.ofc-trainer-result .button{width:auto!important;min-height:32px!important;padding:5px 8px!important;margin:0!important;font-size:10px!important}.ofc-trainer-results-note,.ofc-trainer-error,.ofc-trainer-success{margin:6px 0 0;padding:7px 8px;border-radius:5px;font-size:10px;line-height:1.4}.ofc-trainer-results-note{background:#f3f5f0;color:var(--ofc-muted)}.ofc-trainer-error{background:#fff1f1;color:#9d2323}.ofc-trainer-success{background:rgba(145,191,74,.11);color:var(--ofc-accent-dark)}
.ofc-trainer-current{margin-top:10px;padding:10px;border:1px solid color-mix(in srgb,var(--ofc-accent) 42%,var(--ofc-border));border-radius:7px;background:color-mix(in srgb,var(--ofc-accent) 8%,white)}.ofc-trainer-current[hidden]{display:none!important}.ofc-trainer-card-main>span,.ofc-trainer-card-main>strong,.ofc-trainer-card-main>small{display:block}.ofc-trainer-connected-label{margin-bottom:3px;color:var(--ofc-accent-dark);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.ofc-trainer-card-main>strong{font-size:13px}.ofc-trainer-card-main>small{margin-top:2px;color:var(--ofc-muted);font-size:10px}.ofc-trainer-coupon{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px}.ofc-trainer-coupon code{padding:3px 6px;border-radius:4px;background:#fff;color:var(--ofc-accent-dark);font-size:10px;font-weight:800}.ofc-trainer-coupon span{font-size:10px;color:var(--ofc-muted)}.ofc-trainer-card-actions{display:flex;gap:8px;margin-top:8px}.ofc-trainer-card-actions button{padding:0;border:0;background:transparent;color:var(--ofc-accent-dark);font:inherit;font-size:10px;font-weight:700;cursor:pointer}.ofc-trainer-card-actions button:last-child{color:#a42d2d}.ofc-trainer-message{margin:8px 0 0;padding-top:7px;border-top:1px solid rgba(115,153,63,.2);font-size:9px;line-height:1.4;color:var(--ofc-muted)}
.ofc-trainer-note{display:none;margin-top:9px}.ofc-plan-sharing.has-trainer .ofc-trainer-note{display:grid;gap:4px}.ofc-trainer-note span{font-size:9px;font-weight:700;text-transform:uppercase;color:var(--ofc-muted)}.ofc-trainer-note textarea{width:100%;box-sizing:border-box;resize:vertical;border:1px solid var(--ofc-border);border-radius:6px;padding:8px;background:#fff;font:inherit;font-size:10px}.ofc-plan-share-trainer{margin-top:9px!important;width:100%!important;min-height:38px!important;padding:8px 10px!important;background:var(--ofc-accent)!important;border-color:var(--ofc-accent)!important;color:#fff!important;font-size:11px!important}
.ofc-plan-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}.ofc-plan-share-actions button{min-width:0;min-height:34px;padding:6px 7px;border:1px solid var(--ofc-border);border-radius:6px;background:#fff;color:var(--ofc-text);font:inherit;font-size:10px;font-weight:700;cursor:pointer;box-shadow:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.ofc-plan-share-actions button:hover,.ofc-plan-share-actions button:focus{border-color:var(--ofc-accent);background:color-mix(in srgb,var(--ofc-accent) 8%,white);color:var(--ofc-accent-dark);outline:none}
@media(max-width:760px){.ofc-plan-sharing{margin-top:16px}.ofc-plan-share-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.ofc-plan-share-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.ofc-trainer-search,.ofc-trainer-result{grid-template-columns:1fr}.ofc-trainer-search .button,.ofc-trainer-result .button{width:100%!important}}

/* ================================================================
   v1.7.0 Weekly / monthly meal-plan budget planner
   ================================================================ */
.ofc-plan-field>small{display:block;margin-top:5px;color:var(--ofc-muted);font-size:9px;line-height:1.35}
.ofc-plan-budget-builder{margin:0 0 14px;padding:14px;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:color-mix(in srgb,var(--ofc-surface,#fff) 96%,var(--ofc-accent) 4%)}
.ofc-plan-budget-head>div>span{display:block;margin-bottom:3px;color:var(--ofc-accent-dark);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ofc-plan-budget-head h3{margin:0 0 5px;font-size:16px;line-height:1.25}.ofc-plan-budget-head p{max-width:760px;margin:0;color:var(--ofc-muted);font-size:11px;line-height:1.45}
.ofc-plan-budget-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:12px}.ofc-plan-budget-controls>label{display:grid;gap:5px;min-width:0}.ofc-plan-budget-controls>label>span{font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.ofc-plan-budget-controls select,.ofc-plan-budget-controls input{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--ofc-border);border-radius:7px;background:#fff;color:var(--ofc-text);font:inherit;font-size:12px}.ofc-plan-budget-controls select{height:40px;padding:0 10px}.ofc-plan-budget-input{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;height:40px;border:1px solid var(--ofc-border);border-radius:7px;background:#fff;overflow:hidden}.ofc-plan-budget-input>b{display:grid;place-items:center;height:100%;padding:0 10px;border-right:1px solid var(--ofc-border);background:#f5f6f3;color:var(--ofc-accent-dark);font-size:12px}.ofc-plan-budget-input input{height:100%;border:0!important;border-radius:0!important;padding:0 10px;box-shadow:none!important;outline:0}.ofc-plan-budget-controls>.button{width:auto!important;min-width:160px!important;min-height:40px!important;margin:0!important;padding:8px 14px!important;background:var(--ofc-accent)!important;border-color:var(--ofc-accent)!important;color:#fff!important;white-space:nowrap}.ofc-plan-budget-controls>[hidden],.ofc-plan-budget-feedback[hidden],.ofc-plan-budget-status[hidden],#ofc-plan-stat-budget-wrap[hidden],#ofc-plan-confirm-budget-row[hidden],#ofc-plan-confirm-spend-row[hidden]{display:none!important}
.ofc-plan-budget-feedback{margin-top:10px;padding:9px 10px;border-radius:6px;font-size:10px;font-weight:700;line-height:1.45}.ofc-plan-budget-feedback.is-success{border:1px solid color-mix(in srgb,var(--ofc-accent) 45%,var(--ofc-border));background:color-mix(in srgb,var(--ofc-accent) 10%,white);color:var(--ofc-accent-dark)}.ofc-plan-budget-feedback.is-error{border:1px solid #e3b0b0;background:#fff4f4;color:#982f2f}
.ofc-plan-stats.has-budget{grid-template-columns:repeat(4,minmax(0,1fr))}.ofc-plan-stats.has-budget>div{min-width:0}.ofc-plan-stats.has-budget strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ofc-plan-budget-status{margin:9px 0 4px;padding:12px 13px;border:1px solid var(--ofc-border);border-radius:calc(var(--ofc-radius) * .75);background:#fafafa;transition:background-color .18s ease,border-color .18s ease}.ofc-plan-budget-status-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.ofc-plan-budget-status-head>span{font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.ofc-plan-budget-status-head>strong{font-size:12px;white-space:nowrap}.ofc-plan-budget-track{height:6px;border-radius:999px;background:#ecefe8;overflow:hidden}.ofc-plan-budget-track>span{display:block;height:100%;width:0;border-radius:inherit;background:var(--ofc-accent);transition:width .2s ease,background-color .18s ease}.ofc-plan-budget-status p{margin:8px 0 2px;font-size:12px;font-weight:700;line-height:1.4}.ofc-plan-budget-status small{display:block;color:var(--ofc-muted);font-size:10px;line-height:1.4}.ofc-plan-budget-status.is-under,.ofc-plan-budget-status.is-exact{border-color:color-mix(in srgb,var(--ofc-accent) 55%,var(--ofc-border));background:color-mix(in srgb,var(--ofc-accent) 8%,white)}.ofc-plan-budget-status.is-over{border-color:#e5a0a0;background:#fff5f5}.ofc-plan-budget-status.is-over .ofc-plan-budget-track>span{background:#c64040}
#ofc-plan-days:disabled{opacity:.7;cursor:not-allowed;background:#f4f5f2}
@media(max-width:900px){.ofc-plan-budget-controls{grid-template-columns:1fr 1fr}.ofc-plan-budget-controls>.button{grid-column:1/-1;width:100%!important}.ofc-plan-stats.has-budget{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ofc-plan-budget-controls{grid-template-columns:1fr}.ofc-plan-budget-controls>.button{grid-column:auto}.ofc-plan-budget-status-head{align-items:flex-start;flex-direction:column;gap:4px}.ofc-plan-stats.has-budget{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ================================================================
   v1.8.0 Registered depots / store locator
   ================================================================ */
.ofc-store-locator{width:100%;max-width:var(--ofc-max-width,1280px);margin:0 auto;color:var(--ofc-text,#111);box-sizing:border-box}
.ofc-store-locator *{box-sizing:border-box}
.ofc-store-locator [hidden]{display:none!important}
.ofc-location-filterbar{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(170px,.9fr) minmax(170px,.9fr) auto;gap:14px;align-items:center;margin:0 0 20px;padding:16px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:var(--ofc-surface,#fff);box-shadow:0 7px 24px rgba(0,0,0,.035)}
.ofc-location-filterbar label{margin:0;min-width:0}
.ofc-location-filterbar input,.ofc-location-filterbar select{width:100%;height:46px;margin:0!important;padding:0 14px!important;border:1px solid var(--ofc-border,#e5e5e5)!important;border-radius:calc(var(--ofc-radius,8px) * .8)!important;background:#fff!important;color:var(--ofc-text,#111)!important;font:inherit!important;font-size:13px!important;box-shadow:none!important;outline:none!important}
.ofc-location-filterbar input:focus,.ofc-location-filterbar select:focus{border-color:var(--ofc-accent,#91bf4a)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--ofc-accent,#91bf4a) 18%,transparent)!important}
.ofc-location-search-field{position:relative;display:block}.ofc-location-search-field input{padding-left:42px!important}.ofc-location-search-icon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%);font-size:22px;line-height:1;color:#4f5750;pointer-events:none}
.ofc-location-filterbar .ofc-use-location{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:160px!important;height:46px!important;margin:0!important;padding:0 18px!important;border:1px solid var(--ofc-accent,#91bf4a)!important;border-radius:calc(var(--ofc-radius,8px) * .8)!important;background:#fff!important;color:var(--ofc-accent-dark,#73993f)!important;font:inherit!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important;transition:background-color .15s ease,color .15s ease,border-color .15s ease!important}
.ofc-location-filterbar .ofc-use-location:hover,.ofc-location-filterbar .ofc-use-location:focus{background:color-mix(in srgb,var(--ofc-accent,#91bf4a) 9%,white)!important;color:var(--ofc-accent-dark,#73993f)!important;transform:none!important}.ofc-location-filterbar .ofc-use-location.is-loading{opacity:.65;cursor:wait}
.ofc-location-message{min-height:0;margin:-9px 0 12px;padding:0 4px;color:var(--ofc-accent-dark,#73993f);font-size:11px;line-height:1.45}.ofc-location-message:empty{display:none}.ofc-location-message.is-error{color:#a42d2d}
.ofc-location-map{position:relative;width:100%;height:var(--ofc-location-map-height,500px);min-height:280px;margin:0 0 22px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:#eef2ec;overflow:hidden;z-index:1}
.ofc-location-map.is-unavailable{display:grid;place-items:center;padding:24px}.ofc-map-unavailable{max-width:520px;padding:16px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:8px;background:#fff;text-align:center;color:var(--ofc-muted,#6d6d6d);font-size:12px}
.ofc-location-map .leaflet-control-zoom a{color:var(--ofc-text,#111)!important;text-decoration:none!important}.ofc-location-map .leaflet-control-attribution{font-size:9px}.ofc-location-map .leaflet-popup-content-wrapper{border-radius:8px}.ofc-location-map .leaflet-popup-content{margin:13px 15px}
.ofc-location-popup strong,.ofc-location-popup small{display:block}.ofc-location-popup strong{font-size:13px;line-height:1.3}.ofc-location-popup small{margin-top:2px;color:var(--ofc-accent-dark,#73993f);font-size:9px;font-weight:800;text-transform:uppercase}.ofc-location-popup p{margin:7px 0;font-size:10px;line-height:1.45}.ofc-location-popup a{color:var(--ofc-accent-dark,#73993f)!important;font-size:10px;font-weight:800;text-decoration:none!important}
.ofc-location-map-pin-wrap{background:transparent!important;border:0!important}.ofc-location-map-pin{position:relative;display:block;width:28px;height:28px;margin:3px;background:var(--ofc-accent-dark,#73993f);border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 4px 10px rgba(0,0,0,.22)}.ofc-location-map-pin i{position:absolute;left:50%;top:50%;width:8px;height:8px;border-radius:50%;background:#fff;transform:translate(-50%,-50%)}
.ofc-location-list-heading{display:flex;align-items:flex-start;justify-content:center;gap:10px;margin:4px 0 18px;text-align:center}.ofc-location-heading-icon{display:grid;place-items:center;width:28px;height:28px;color:var(--ofc-accent-dark,#73993f);font-size:24px;line-height:1}.ofc-location-list-heading h2{margin:0 0 4px!important;color:var(--ofc-text,#111)!important;font-size:22px!important;line-height:1.2!important}.ofc-location-list-heading p{margin:0!important;color:var(--ofc-muted,#6d6d6d)!important;font-size:11px!important;line-height:1.4!important}
.ofc-location-grid{display:grid;grid-template-columns:repeat(var(--ofc-location-columns,3),minmax(0,1fr));gap:18px;align-items:stretch}
.ofc-location-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:var(--ofc-surface,#fff);box-shadow:0 5px 18px rgba(0,0,0,.025);cursor:default;transition:border-color .15s ease,box-shadow .15s ease}.ofc-location-card:hover{border-color:color-mix(in srgb,var(--ofc-accent,#91bf4a) 45%,var(--ofc-border,#e5e5e5));box-shadow:0 7px 22px rgba(0,0,0,.04)}
.ofc-location-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;margin-bottom:13px}.ofc-location-number{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--ofc-accent-dark,#73993f);color:#fff;font-size:12px;font-weight:800}.ofc-location-title-line{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}.ofc-location-title-line h3{margin:1px 0 0!important;color:var(--ofc-text,#111)!important;font-size:14px!important;line-height:1.3!important}.ofc-location-card-head p{margin:3px 0 0!important;color:var(--ofc-muted,#6d6d6d)!important;font-size:10px!important;line-height:1.35!important}.ofc-location-status{display:inline-flex;align-items:center;min-height:19px;padding:3px 6px;border-radius:999px;background:#f1f1f1;color:#666;font-size:8px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.035em}.ofc-location-status-open{background:rgba(145,191,74,.13);color:var(--ofc-accent-dark,#73993f)}.ofc-location-status-coming_soon{background:#fff3c9;color:#836200}.ofc-location-status-temporarily_closed{background:#fdeaea;color:#9b2c2c}.ofc-location-distance{align-self:start;padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--ofc-accent,#91bf4a) 10%,white);color:var(--ofc-accent-dark,#73993f);font-size:9px;font-weight:800;white-space:nowrap}
.ofc-location-detail{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;margin:0 0 8px}.ofc-location-detail>span{color:var(--ofc-accent-dark,#73993f);font-size:14px;line-height:1.25;text-align:center}.ofc-location-detail p{margin:0!important;color:var(--ofc-text,#111)!important;font-size:10px!important;line-height:1.48!important;overflow-wrap:anywhere}.ofc-location-detail a{color:inherit!important;text-decoration:none!important}.ofc-location-detail a:hover{text-decoration:underline!important}.ofc-location-hours p{white-space:normal}
.ofc-location-services-front{display:flex;flex-wrap:wrap;gap:5px;margin:3px 0 9px}.ofc-location-services-front span{display:inline-flex;padding:4px 7px;border:1px solid color-mix(in srgb,var(--ofc-accent,#91bf4a) 30%,var(--ofc-border,#e5e5e5));border-radius:999px;background:color-mix(in srgb,var(--ofc-accent,#91bf4a) 6%,white);color:var(--ofc-accent-dark,#73993f);font-size:8px;font-weight:700;line-height:1.2}.ofc-location-note{margin:2px 0 10px!important;padding:8px 9px;border-left:2px solid var(--ofc-accent,#91bf4a);background:#fafbf8;color:var(--ofc-muted,#6d6d6d)!important;font-size:9px!important;line-height:1.45!important}
.ofc-location-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:auto;padding-top:10px}.ofc-location-card-actions>a:only-child{grid-column:1/-1}.ofc-location-card-actions .button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:40px!important;margin:0!important;padding:8px 10px!important;border-radius:calc(var(--ofc-radius,8px) * .8)!important;font:inherit!important;font-size:10px!important;font-weight:800!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important;transform:none!important}.ofc-location-directions{border:1px solid var(--ofc-accent,#91bf4a)!important;background:var(--ofc-accent,#91bf4a)!important;color:#fff!important}.ofc-location-directions:hover,.ofc-location-directions:focus{border-color:var(--ofc-accent-dark,#73993f)!important;background:var(--ofc-accent-dark,#73993f)!important;color:#fff!important}.ofc-location-view{border:1px solid #9ea39d!important;background:#fff!important;color:var(--ofc-text,#111)!important}.ofc-location-view:hover,.ofc-location-view:focus{border-color:var(--ofc-accent-dark,#73993f)!important;color:var(--ofc-accent-dark,#73993f)!important;background:#fff!important}
.ofc-location-empty{padding:28px;border:1px dashed var(--ofc-border,#e5e5e5);border-radius:var(--ofc-radius,8px);background:#fafafa;color:var(--ofc-muted,#6d6d6d);text-align:center;font-size:12px}
@media(max-width:1050px){.ofc-location-filterbar{grid-template-columns:1fr 1fr}.ofc-location-filterbar .ofc-use-location{width:100%!important}.ofc-location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ofc-location-filterbar{grid-template-columns:1fr;gap:9px;padding:12px}.ofc-location-filterbar .ofc-use-location{min-width:0!important}.ofc-location-map{height:min(var(--ofc-location-map-height,500px),420px)}.ofc-location-grid{grid-template-columns:1fr}.ofc-location-list-heading{justify-content:flex-start;text-align:left}.ofc-location-card{padding:15px}}
@media(max-width:430px){.ofc-location-card-head{grid-template-columns:auto minmax(0,1fr)}.ofc-location-distance{grid-column:2;margin-top:-5px;justify-self:start}.ofc-location-card-actions{grid-template-columns:1fr}.ofc-location-card-actions>a:only-child{grid-column:auto}.ofc-location-map{height:340px}}


/* v1.8.1: meal-plan sharing is a flat share panel, not a numbered workflow */
.ofc-plan-trainer>.ofc-plan-share-content,.ofc-plan-social>.ofc-plan-share-content{width:100%;max-width:none}

/* v1.9.0: approved/pre-built meal plans and affiliate nutritionist plan library */
.ofc-custom-plan-heading{margin:34px 0 16px;padding-top:24px;border-top:1px solid var(--ofc-border)}
.ofc-custom-plan-heading>span,.ofc-prebuilt-library-head>span,.ofc-prebuilt-section-head>div>span,.ofc-prebuilt-eyebrow{display:block;margin-bottom:5px;color:var(--ofc-accent-dark);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ofc-custom-plan-heading h2,.ofc-prebuilt-library-head h2{margin:0 0 7px}.ofc-custom-plan-heading p,.ofc-prebuilt-library-head p,.ofc-prebuilt-section-head p{margin:0;color:var(--ofc-muted)}
.ofc-prebuilt-library{margin:0 0 34px}.ofc-prebuilt-library-head{margin-bottom:20px}.ofc-prebuilt-section{margin-top:24px}.ofc-prebuilt-section:first-of-type{margin-top:0}.ofc-prebuilt-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:12px}.ofc-prebuilt-section-head h3{margin:0 0 4px;font-size:22px}.ofc-prebuilt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.ofc-prebuilt-plan-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(0,0,0,.025)}
.ofc-prebuilt-plan-image{display:block;aspect-ratio:16/10;background:#111;overflow:hidden}.ofc-prebuilt-plan-image img{width:100%;height:100%;object-fit:cover;display:block}
.ofc-prebuilt-plan-body{display:flex;flex:1;flex-direction:column;padding:15px}.ofc-prebuilt-plan-body h3{margin:6px 0 8px;font-size:17px;line-height:1.3}.ofc-prebuilt-plan-body h3 a{color:var(--ofc-text)!important;text-decoration:none!important}.ofc-prebuilt-plan-body p{margin:0 0 12px;color:var(--ofc-muted);font-size:12px;line-height:1.5}
.ofc-prebuilt-byline{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 7px;padding-bottom:8px;border-bottom:1px solid var(--ofc-border);font-size:10px}.ofc-prebuilt-byline span{color:var(--ofc-muted);text-transform:uppercase}.ofc-prebuilt-byline strong{color:var(--ofc-accent-dark)}.ofc-prebuilt-byline small{width:100%;color:var(--ofc-muted)}
.ofc-prebuilt-plan-stats{display:flex;flex-wrap:wrap;gap:7px;margin:auto 0 12px}.ofc-prebuilt-plan-stats span{display:inline-flex;align-items:baseline;gap:4px;padding:5px 7px;border:1px solid var(--ofc-border);border-radius:6px;font-size:9px;color:var(--ofc-muted)}.ofc-prebuilt-plan-stats strong{color:var(--ofc-text);font-size:10px}.ofc-prebuilt-open{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:40px!important;margin:0!important;border:1px solid var(--ofc-accent)!important;background:#fff!important;color:var(--ofc-accent-dark)!important;box-shadow:none!important}
.ofc-prebuilt-detail{margin:0 0 34px;padding:22px;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:#fff}.ofc-prebuilt-detail-head{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start;padding-bottom:20px;border-bottom:1px solid var(--ofc-border)}.ofc-prebuilt-detail-head h2{margin:0 0 8px;font-size:34px;line-height:1.15}.ofc-prebuilt-description{color:var(--ofc-muted)}.ofc-prebuilt-description p:last-child{margin-bottom:0}.ofc-prebuilt-detail-byline{display:flex;gap:8px;align-items:baseline;margin:8px 0 10px}.ofc-prebuilt-detail-byline strong{color:var(--ofc-accent-dark)}.ofc-prebuilt-detail-byline span{color:var(--ofc-muted);font-size:12px}.ofc-prebuilt-detail-summary{padding:16px;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:#fafbf8}.ofc-prebuilt-detail-summary strong,.ofc-prebuilt-detail-summary span,.ofc-prebuilt-detail-summary small{display:block}.ofc-prebuilt-detail-summary strong{font-size:24px}.ofc-prebuilt-detail-summary span{margin:4px 0}.ofc-prebuilt-detail-summary small{color:var(--ofc-muted);line-height:1.4}
.ofc-prebuilt-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.ofc-prebuilt-item{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;padding:10px;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius)}.ofc-prebuilt-item-image{width:86px;height:86px;overflow:hidden;border-radius:6px;background:#111}.ofc-prebuilt-item-image img{width:100%;height:100%;object-fit:cover}.ofc-prebuilt-item-title{display:flex;justify-content:space-between;gap:10px}.ofc-prebuilt-item-title h3{margin:0;font-size:14px;line-height:1.3}.ofc-prebuilt-item-title>strong{white-space:nowrap;color:var(--ofc-accent-dark)}.ofc-prebuilt-item-copy>.price{display:block;margin:4px 0 7px}.ofc-prebuilt-item-macros{display:flex;flex-wrap:wrap;gap:5px}.ofc-prebuilt-item-macros span{font-size:9px;padding:3px 5px;border:1px solid var(--ofc-border);border-radius:4px}
.ofc-prebuilt-total-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.ofc-prebuilt-total-grid>div{padding:12px;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);text-align:center}.ofc-prebuilt-total-grid strong,.ofc-prebuilt-total-grid span{display:block}.ofc-prebuilt-total-grid span{margin-top:3px;color:var(--ofc-muted);font-size:9px;text-transform:uppercase}
.ofc-prebuilt-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;align-items:stretch}.ofc-prebuilt-actions form{margin:0}.ofc-prebuilt-add{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-height:46px!important;margin:0!important;background:var(--ofc-accent)!important;border-color:var(--ofc-accent)!important;color:#fff!important}.ofc-prebuilt-share{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.ofc-prebuilt-share>span{grid-column:1/-1;font-size:10px;font-weight:800;text-transform:uppercase;color:var(--ofc-muted)}.ofc-prebuilt-share a,.ofc-prebuilt-share button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:36px;padding:6px;border:1px solid var(--ofc-border);border-radius:6px;background:#fff;color:var(--ofc-text)!important;font:inherit;font-size:9px;font-weight:700;text-decoration:none!important;cursor:pointer}
.ofc-affiliate-mealplans{margin-top:18px}.ofc-affiliate-plan-form{display:grid;gap:14px}.ofc-affiliate-plan-form>label{display:grid;gap:6px}.ofc-affiliate-plan-form>label>span{font-size:11px;font-weight:800;text-transform:uppercase}.ofc-affiliate-plan-form input[type=text],.ofc-affiliate-plan-form textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);font:inherit}.ofc-affiliate-plan-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:520px;padding:8px;overflow:auto;border:1px solid var(--ofc-border);border-radius:var(--ofc-radius);background:#fafafa}.ofc-affiliate-plan-product{display:grid;grid-template-columns:56px minmax(0,1fr) 68px;gap:8px;align-items:center;padding:7px;border:1px solid var(--ofc-border);border-radius:7px;background:#fff}.ofc-affiliate-plan-thumb{width:56px;height:56px;overflow:hidden;border-radius:5px}.ofc-affiliate-plan-thumb img{width:100%;height:100%;object-fit:cover}.ofc-affiliate-plan-copy strong,.ofc-affiliate-plan-copy small{display:block}.ofc-affiliate-plan-copy strong{font-size:11px;line-height:1.3}.ofc-affiliate-plan-copy small{margin-top:3px}.ofc-affiliate-plan-product input{width:100%!important;min-width:0!important}.ofc-affiliate-plan-list{display:grid;gap:7px}.ofc-affiliate-plan-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid var(--ofc-border);border-radius:7px}.ofc-affiliate-plan-list strong,.ofc-affiliate-plan-list small{display:block}.ofc-affiliate-plan-list small{margin-top:3px;color:var(--ofc-muted)}
.ofc-cart-bundle-summary{margin:0 0 18px;padding:14px;border:1px solid color-mix(in srgb,var(--ofc-accent) 45%,var(--ofc-border));border-radius:var(--ofc-radius);background:color-mix(in srgb,var(--ofc-accent) 6%,white)}.ofc-cart-bundle-summary>strong{display:block;margin-bottom:8px}.ofc-cart-bundle-summary>div{display:flex;flex-wrap:wrap;gap:7px}.ofc-cart-bundle-summary>div span{padding:5px 8px;border:1px solid var(--ofc-border);border-radius:999px;background:#fff;font-size:10px}.ofc-cart-bundle-summary>small{display:block;margin-top:8px;color:var(--ofc-muted)}.ofc-cart-bundle-badge{display:block;width:max-content;max-width:100%;margin:0 0 5px;padding:3px 6px;border-radius:999px;background:color-mix(in srgb,var(--ofc-accent) 12%,white);color:var(--ofc-accent-dark);font-size:9px;font-weight:800;line-height:1.2}
@media(max-width:980px){.ofc-prebuilt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ofc-prebuilt-detail-head{grid-template-columns:1fr}.ofc-prebuilt-actions{grid-template-columns:1fr}.ofc-prebuilt-share{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ofc-prebuilt-grid,.ofc-prebuilt-detail-grid,.ofc-affiliate-plan-products{grid-template-columns:1fr}.ofc-prebuilt-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ofc-prebuilt-detail{padding:14px}.ofc-prebuilt-detail-head h2{font-size:28px}.ofc-prebuilt-share{grid-template-columns:repeat(2,minmax(0,1fr))}.ofc-affiliate-plan-product{grid-template-columns:48px minmax(0,1fr) 62px}.ofc-affiliate-plan-thumb{width:48px;height:48px}}

/* v1.9.3: Keep WooCommerce currency symbol inline on pre-built meal-plan detail totals. */
.ofc-prebuilt-detail-summary > strong {
    display: block;
    white-space: nowrap;
}
.ofc-prebuilt-detail-summary > strong .woocommerce-Price-amount,
.ofc-prebuilt-detail-summary > strong .woocommerce-Price-amount bdi,
.ofc-prebuilt-detail-summary > strong .woocommerce-Price-currencySymbol {
    display: inline !important;
    white-space: nowrap !important;
}

/* v1.10.0 configurable page-layout defaults */
.ofc-plan-product-grid{grid-template-columns:repeat(var(--ofc-builder-cols,3),minmax(0,1fr))}
.ofc-prebuilt-grid{grid-template-columns:repeat(var(--ofc-library-cols,3),minmax(0,1fr))}
.ofc-prebuilt-detail-grid{grid-template-columns:repeat(var(--ofc-detail-cols,2),minmax(0,1fr))}
@media(max-width:1100px){.ofc-plan-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.ofc-prebuilt-grid,.ofc-prebuilt-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ofc-prebuilt-grid,.ofc-prebuilt-detail-grid{grid-template-columns:1fr}}

/* v1.11.0 role-controlled product price tiers */
.ofc-tier-prices{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:10px 0 18px;
}
.ofc-tier-price{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-width:150px;
    padding:10px 12px;
    border:1px solid var(--ofc-border,#e5e5e5);
    border-radius:var(--ofc-radius,8px);
    background:var(--ofc-surface,#fff);
    box-sizing:border-box;
}
.ofc-tier-price span{
    color:var(--ofc-muted,#6d6d6d);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.ofc-tier-price strong,
.ofc-tier-price strong .woocommerce-Price-amount,
.ofc-tier-price strong .woocommerce-Price-currencySymbol{
    display:inline !important;
    white-space:nowrap;
}
.ofc-tier-price-depot,
.ofc-tier-price-distributor{
    border-color:var(--ofc-accent,#91bf4a);
}
.ofc-tier-prices-compact{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
    margin:5px 0 8px;
}
.ofc-tier-prices-compact .ofc-tier-price{
    min-width:0;
    padding:6px 7px;
    gap:6px;
    font-size:11px;
}
.ofc-tier-prices-compact .ofc-tier-price-retail{
    grid-column:1/-1;
}
@media (max-width:600px){
    .ofc-tier-price{width:100%;}
}

/* v1.11.3 VAT basis labels for commercial price tiers */
.ofc-tier-price > span{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
}
.ofc-tier-price .ofc-tier-tax-basis{
    display:block;
    color:var(--ofc-muted,#6d6d6d);
    font-size:9px;
    font-weight:600;
    line-height:1.15;
    letter-spacing:.02em;
    text-transform:none;
    white-space:nowrap;
}
.ofc-tier-prices-compact .ofc-tier-tax-basis{
    font-size:8px;
}

/* v3.3.23 Serving-size visibility */
.ofc-product-serving-size{color:var(--ofc-muted,#6d6d6d);font-size:12px;line-height:1.35}
.ofc-single-serving-size{margin:-2px 0 10px;font-size:13px}
.ofc-single-serving-size span{font-weight:500}
.ofc-single-serving-size strong{color:inherit;font-weight:700}
.ofc-card-serving-size{margin:2px 0 7px;font-weight:700}
.woocommerce ul.products li.product .ofc-archive-serving-size{margin:2px 0 6px;font-size:12px;font-weight:700;color:var(--ofc-muted,#6d6d6d)}

/* ================================================================
   v1.0.2 - Stable WooCommerce archive action layout
   FoodCommerce owns the normalized product-card actions. WooCommerce's
   AJAX-injected View basket link is a real secondary button, not a text row.
   ================================================================ */
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:10px!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    width:100%!important;
    margin:10px 0 0!important;
}
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:48px!important;
    height:48px!important;
    margin:0!important;
    padding:9px 10px!important;
    box-sizing:border-box!important;
    border-radius:8px!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.15!important;
    text-align:center!important;
    text-decoration:none!important;
    white-space:normal!important;
}
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button{
    grid-column:1!important;
    border:1px solid var(--ofc-accent,#91BF4A)!important;
    background:var(--ofc-accent,#91BF4A)!important;
    color:#fff!important;
}
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward{
    grid-column:2!important;
    border:1px solid var(--ofc-accent,#91BF4A)!important;
    background:#fff!important;
    color:var(--ofc-accent-dark,#73993F)!important;
}
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward:hover,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward:hover{
    background:var(--ofc-accent,#91BF4A)!important;
    color:#fff!important;
}
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button{
    grid-column:2!important;
    border:1px solid var(--ofc-accent,#91BF4A)!important;
    background:#fff!important;
    color:var(--ofc-accent-dark,#73993F)!important;
}
/* Once View basket exists, Compare moves to a centred second row. */
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions:has(> .added_to_cart.wc-forward) > .ofc-archive-compare-button,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions:has(> .added_to_cart.wc-forward) > .ofc-archive-compare-button{
    grid-column:1 / -1!important;
    justify-self:center!important;
    width:calc(50% - 5px)!important;
}
@media(max-width:520px){
    body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions,
    body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions{
        grid-template-columns:1fr!important;
        gap:8px!important;
    }
    body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
    body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
    body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward,
    body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .added_to_cart.wc-forward,
    body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
    body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
    body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions:has(> .added_to_cart.wc-forward) > .ofc-archive-compare-button,
    body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions:has(> .added_to_cart.wc-forward) > .ofc-archive-compare-button{
        grid-column:1!important;
        width:100%!important;
        min-height:46px!important;
        height:46px!important;
    }
}

/* v1.0.3: Cart/Checkout fulfilment + nutrition summary */
.ofc-block-line-count{display:flex;flex-direction:column;gap:1px;margin:5px 0 7px;color:#111;line-height:1.25}.ofc-block-line-count strong{font-size:12px;font-weight:800}.ofc-block-line-count small{font-size:10px;color:#687067}.ofc-block-line-nutrition{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:7px 0 9px}.ofc-block-line-nutrition__item{border:1px solid #dde2d8;border-radius:5px;padding:5px 6px;text-align:center;background:#fff}.ofc-block-line-nutrition__item strong,.ofc-block-line-nutrition__item small{display:block}.ofc-block-line-nutrition__item strong{font-size:11px;line-height:1.2;color:#111}.ofc-block-line-nutrition__item small{font-size:8px;line-height:1.2;color:#737a70;text-transform:uppercase;margin-top:2px}.ofc-block-order-summary{margin:12px 0;border-top:1px solid #e1e4dd;border-bottom:1px solid #e1e4dd;padding:12px 0}.ofc-block-order-summary__ops{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ofc-block-order-summary__ops>div,.ofc-block-order-summary__nutrition>div{border:1px solid #dfe3da;border-radius:6px;padding:9px 6px;text-align:center;background:#fafbf8}.ofc-block-order-summary__ops strong,.ofc-block-order-summary__ops span,.ofc-block-order-summary__nutrition strong,.ofc-block-order-summary__nutrition span{display:block}.ofc-block-order-summary__ops strong{font-size:15px;color:#111}.ofc-block-order-summary__ops span,.ofc-block-order-summary__nutrition span{font-size:8px;text-transform:uppercase;color:#70776d;margin-top:2px}.ofc-block-order-summary__note{display:block;margin:7px 2px 10px;color:#70776d;font-size:10px;line-height:1.4}.ofc-block-order-summary__heading{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:10px 0 7px}.ofc-block-order-summary__heading strong{font-size:12px;color:#111}.ofc-block-order-summary__heading small{font-size:9px;color:#72786e;text-align:right}.ofc-block-order-summary__nutrition{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.ofc-block-order-summary__nutrition strong{font-size:12px;color:#111}@media(max-width:600px){.ofc-block-line-nutrition{grid-template-columns:repeat(2,minmax(0,1fr))}.ofc-block-order-summary__ops{grid-template-columns:1fr 1fr 1fr}.ofc-block-order-summary__heading{display:block}.ofc-block-order-summary__heading small{display:block;text-align:left;margin-top:2px}}

/* v1.0.8: keep fulfilment totals directly above the financial line total. */
.product-subtotal > .ofc-block-line-count,
.wc-block-cart-item__total > .ofc-block-line-count,
.wc-block-components-order-summary-item__total-price > .ofc-block-line-count,
[class*="total-price"] > .ofc-block-line-count{
    align-items:flex-end;
    text-align:right;
    margin:0 0 5px;
}
.product-subtotal > .ofc-block-line-count small,
.wc-block-cart-item__total > .ofc-block-line-count small,
.wc-block-components-order-summary-item__total-price > .ofc-block-line-count small,
[class*="total-price"] > .ofc-block-line-count small{
    white-space:normal;
}
\n\n/* v1.0.9 cart line-total hierarchy and redundant metadata cleanup */\n.ofc-block-line-total-cell{\n    text-align:right!important;\n    vertical-align:top!important;\n}\n.ofc-block-line-total-cell>.ofc-block-line-count,\n.product-subtotal>.ofc-block-line-count,\n.wc-block-cart-item__total>.ofc-block-line-count,\n.wc-block-components-order-summary-item__total-price>.ofc-block-line-count{\n    align-items:flex-end!important;\n    text-align:right!important;\n    margin:0 0 6px auto!important;\n    width:max-content!important;\n    max-width:100%!important;\n}\n.ofc-block-line-total-cell>.ofc-block-line-count strong,\n.ofc-block-line-total-cell>.ofc-block-line-count small{\n    text-align:right!important;\n}\n/* Product short descriptions are intentionally omitted from shopping-cart surfaces. */\n.wc-block-cart .wc-block-components-product-metadata__description,\n.wp-block-woocommerce-cart .wc-block-components-product-metadata__description,\n.wc-block-checkout .wc-block-components-product-metadata__description,\n.wp-block-woocommerce-checkout .wc-block-components-product-metadata__description,\n.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description,\n.wc-block-mini-cart__drawer .wc-block-components-product-description,\n.widget_shopping_cart_content .woocommerce-product-details__short-description,\n.woocommerce-mini-cart .woocommerce-product-details__short-description{\n    display:none!important;\n}\n@media(max-width:600px){\n    .ofc-block-line-total-cell>.ofc-block-line-count{width:100%!important;}\n}\n

/* v1.0.10: give cart line fulfilment totals a stable, readable total column. */
.ofc-block-line-total-cell,
.product-subtotal:has(> .ofc-block-line-count),
.wc-block-cart-item__total:has(> .ofc-block-line-count),
.wc-block-components-order-summary-item__total-price:has(> .ofc-block-line-count){
    min-width:150px!important;
    width:150px!important;
    padding-left:12px!important;
    padding-right:12px!important;
    box-sizing:border-box!important;
    text-align:right!important;
    vertical-align:top!important;
}
.ofc-block-line-total-cell>.ofc-block-line-count,
.product-subtotal>.ofc-block-line-count,
.wc-block-cart-item__total>.ofc-block-line-count,
.wc-block-components-order-summary-item__total-price>.ofc-block-line-count{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:2px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0 0 7px!important;
    padding:0!important;
    text-align:right!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
}
.ofc-block-line-total-cell>.ofc-block-line-count strong,
.product-subtotal>.ofc-block-line-count strong,
.wc-block-cart-item__total>.ofc-block-line-count strong,
.wc-block-components-order-summary-item__total-price>.ofc-block-line-count strong{
    font-size:12px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
}
.ofc-block-line-total-cell>.ofc-block-line-count small,
.product-subtotal>.ofc-block-line-count small,
.wc-block-cart-item__total>.ofc-block-line-count small,
.wc-block-components-order-summary-item__total-price>.ofc-block-line-count small{
    font-size:10px!important;
    line-height:1.3!important;
    white-space:nowrap!important;
}
/* Classic cart table: make the fulfilment summary the first item in the total cell. */
.product-subtotal.ofc-block-line-total-cell{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
}
.product-subtotal.ofc-block-line-total-cell>.ofc-block-line-count{
    order:-1!important;
}
@media(max-width:700px){
    .ofc-block-line-total-cell,
    .product-subtotal:has(> .ofc-block-line-count),
    .wc-block-cart-item__total:has(> .ofc-block-line-count),
    .wc-block-components-order-summary-item__total-price:has(> .ofc-block-line-count){
        width:100%!important;
        min-width:0!important;
        padding-left:0!important;
        padding-right:0!important;
        margin-top:8px!important;
    }
    .ofc-block-line-total-cell>.ofc-block-line-count,
    .product-subtotal>.ofc-block-line-count,
    .wc-block-cart-item__total>.ofc-block-line-count,
    .wc-block-components-order-summary-item__total-price>.ofc-block-line-count{
        align-items:flex-start!important;
        text-align:left!important;
        margin:0 0 5px!important;
    }
    .ofc-block-line-total-cell>.ofc-block-line-count strong,
    .ofc-block-line-total-cell>.ofc-block-line-count small,
    .product-subtotal>.ofc-block-line-count strong,
    .product-subtotal>.ofc-block-line-count small,
    .wc-block-cart-item__total>.ofc-block-line-count strong,
    .wc-block-cart-item__total>.ofc-block-line-count small,
    .wc-block-components-order-summary-item__total-price>.ofc-block-line-count strong,
    .wc-block-components-order-summary-item__total-price>.ofc-block-line-count small{
        text-align:left!important;
        white-space:normal!important;
    }
}
\n\n/* v1.0.11: stable cart quantity rerenders + clearer line-total spacing. */
.ofc-block-line-total-cell,
.product-subtotal:has(> .ofc-block-line-count),
.wc-block-cart-item__total:has(> .ofc-block-line-count),
.wc-block-components-order-summary-item__total-price:has(> .ofc-block-line-count){
    min-width:180px!important;
    width:180px!important;
    padding-left:18px!important;
    padding-right:18px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:4px!important;
    box-sizing:border-box!important;
    text-align:right!important;
}
.ofc-block-line-total-cell>.ofc-block-line-count,
.product-subtotal>.ofc-block-line-count,
.wc-block-cart-item__total>.ofc-block-line-count,
.wc-block-components-order-summary-item__total-price>.ofc-block-line-count{
    margin:0 0 5px auto!important;
    padding:0 4px!important;
    box-sizing:border-box!important;
}
@media(max-width:700px){
    .ofc-block-line-total-cell,
    .product-subtotal:has(> .ofc-block-line-count),
    .wc-block-cart-item__total:has(> .ofc-block-line-count),
    .wc-block-components-order-summary-item__total-price:has(> .ofc-block-line-count){
        width:100%!important;
        min-width:0!important;
        padding-left:10px!important;
        padding-right:10px!important;
        align-items:flex-start!important;
        text-align:left!important;
    }
    .ofc-block-line-total-cell>.ofc-block-line-count,
    .product-subtotal>.ofc-block-line-count,
    .wc-block-cart-item__total>.ofc-block-line-count,
    .wc-block-components-order-summary-item__total-price>.ofc-block-line-count{
        margin-left:0!important;
        margin-right:0!important;
        padding-left:2px!important;
        padding-right:2px!important;
    }
}

/* v1.0.12: hide duplicated WooCommerce-owned cart metadata without deleting React nodes. */
.ofc-native-cart-hidden{
    display:none!important;
}


/* v1.0.13: checkout order-summary lines stay compact, while cart chips remain untouched. */
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item .ofc-block-line-nutrition,
.wc-block-checkout .wc-block-components-order-summary-item .ofc-block-line-nutrition{display:none!important;}
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price,
.wc-block-checkout .wc-block-components-order-summary-item__total-price{
    min-width:0!important;
    width:auto!important;
    max-width:48%!important;
    padding-left:8px!important;
    padding-right:0!important;
    flex:0 0 auto!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description,
.wc-block-checkout .wc-block-components-order-summary-item__description{
    min-width:0!important;
    flex:1 1 auto!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price>.ofc-block-line-count,
.wc-block-checkout .wc-block-components-order-summary-item__total-price>.ofc-block-line-count{
    padding:0!important;
    margin:0 0 4px!important;
    align-items:flex-end!important;
    text-align:right!important;
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price>.ofc-block-line-count strong,
.wc-block-checkout .wc-block-components-order-summary-item__total-price>.ofc-block-line-count strong{
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
}

/* v1.0.14: cart popup only. No changes to the full cart or checkout. */
@media (min-width: 650px) {
  .wc-block-mini-cart__drawer .wc-block-components-drawer__content,
  .xoo-wsc-container,
  .elementor-menu-cart__container .elementor-menu-cart__main,
  .fkcart-modal .fkcart-modal-container,
  .wfc-cart-container {
    width: min(540px, 94vw) !important;
    max-width: 94vw !important;
  }
  .wc-block-mini-cart__drawer .wc-block-components-drawer__content { right: 0 !important; }
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__items,
.xoo-wsc-container .xoo-wsc-body,
.elementor-menu-cart__container .elementor-menu-cart__products,
.fkcart-modal .fkcart-item-wrap,
.wfc-cart-container .wfc-cart-items {
  min-height: 0 !important;
  flex: 1 1 auto !important;
  max-height: calc(100dvh - 185px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.xoo-wsc-container,
.elementor-menu-cart__container .elementor-menu-cart__main,
.fkcart-modal .fkcart-modal-container,
.wfc-cart-container {
  max-height: 100dvh !important;
  box-sizing: border-box !important;
}
.ofc-mini-supplied {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  clear: both;
  margin: 7px 0 4px !important;
  font-size: 12px;
  line-height: 1.35;
}
.ofc-mini-supplied strong { font-size: 12px; font-weight: 700; }
.ofc-mini-supplied .ofc-mini-line-total { font-weight: 600; white-space: nowrap; }
.ofc-mini-hidden { display: none !important; }
@media (max-width: 649px) {
  .wc-block-mini-cart__drawer .wc-block-components-drawer__content,
  .xoo-wsc-container,
  .elementor-menu-cart__container .elementor-menu-cart__main,
  .fkcart-modal .fkcart-modal-container,
  .wfc-cart-container { width: min(100vw, 430px) !important; max-width: 100vw !important; }
  .ofc-mini-supplied { font-size: 11px; }
}


/* v1.0.17: popup-only nutrition removal and taller product-list scrolling.
   Keep the full Cart and Checkout nutrition presentation unaffected. */
.wc-cart-widget-content .ofc-cart-item-nutrition,
.wc-block-mini-cart__drawer .ofc-cart-item-nutrition,
.widget_shopping_cart_content .ofc-cart-item-nutrition,
.xoo-wsc-container .ofc-cart-item-nutrition,
.elementor-menu-cart__container .ofc-cart-item-nutrition,
.fkcart-modal .ofc-cart-item-nutrition,
.wfc-cart-container .ofc-cart-item-nutrition {
    display: none !important;
}

/* The theme's actual scroll container, previously absent from the popup CSS. */
.wc-cart-widget-content {
    padding: 6px 0 !important;
    min-height: 0 !important;
    max-height: 80% !important;
    max-height: 80dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
}

/* On tall screens use the available space without trapping the footer buttons. */
@supports (height: 100dvh) {
    .wc-cart-widget-content {
        height: min(80dvh, calc(100dvh - 165px)) !important;
        max-height: min(80dvh, calc(100dvh - 165px)) !important;
    }
}
@media (max-width: 649px) {
    .wc-cart-widget-content {
        max-height: calc(100dvh - 160px) !important;
    }
}


/* v1.0.18: hide VIP benefit labels inside mini-cart drawers only.
   Preserve VIP benefit information on the full cart and checkout pages. */
.wc-cart-widget-content .ofc-vip-benefit-label,
.wc-block-mini-cart__drawer .ofc-vip-benefit-label,
.widget_shopping_cart_content .ofc-vip-benefit-label,
.xoo-wsc-container .ofc-vip-benefit-label,
.elementor-menu-cart__container .ofc-vip-benefit-label,
.fkcart-modal .ofc-vip-benefit-label,
.wfc-cart-container .ofc-vip-benefit-label {
    display: none !important;
}


/* v1.0.19: align the custom order summary and nutrition totals with
   the native WooCommerce basket totals' horizontal inset. */
.wc-block-cart .ofc-block-order-summary,
.wp-block-woocommerce-cart .ofc-block-order-summary,
.wc-block-checkout .ofc-block-order-summary,
.wp-block-woocommerce-checkout .ofc-block-order-summary {
    box-sizing: border-box;
    width: auto;
    max-width: calc(100% - 32px);
    margin: 12px 16px;
    padding: 12px 0;
}
.wc-block-cart .ofc-block-order-summary__ops,
.wp-block-woocommerce-cart .ofc-block-order-summary__ops,
.wc-block-checkout .ofc-block-order-summary__ops,
.wp-block-woocommerce-checkout .ofc-block-order-summary__ops,
.wc-block-cart .ofc-block-order-summary__nutrition,
.wp-block-woocommerce-cart .ofc-block-order-summary__nutrition,
.wc-block-checkout .ofc-block-order-summary__nutrition,
.wp-block-woocommerce-checkout .ofc-block-order-summary__nutrition {
    min-width: 0;
}


/* v1.0.20: Align checkout shipping service radio buttons with their labels.
   WooCommerce owns the rates and service selection; do not replace its input. */
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option,
.wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option,
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option {
    position: relative;
    box-sizing: border-box;
    padding-left: 52px !important;
    min-height: 66px;
    display: flex;
    align-items: center;
}
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__input,
.wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__input,
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__input {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    margin: 0 !important;
    transform: translateY(-50%);
    z-index: 1;
}
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__label,
.wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__label {
    min-width: 0;
    padding-left: 0 !important;
}
@media (max-width: 600px) {
    .wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option,
    .wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
        padding-left: 46px !important;
    }
    .wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__input,
    .wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__input {left: 14px !important;}
}

/* v1.0.21: ONLY product-card View Basket actions. Do not change global
   shop/meal-plan/locator styles or the comparison table. */
.woocommerce ul.products li.product .ofc-archive-actions>a.added_to_cart.wc-forward,
.woocommerce-page ul.products li.product .ofc-archive-actions>a.added_to_cart.wc-forward,
.ofc-product-card .ofc-card-actions>a.added_to_cart.wc-forward{
    grid-column:1 / -1!important;
    grid-row:auto!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:8px 12px!important;
    border:1px solid var(--ofc-accent,#91BF4A)!important;
    border-radius:var(--ofc-radius,8px)!important;
    background:#fff!important;
    color:var(--ofc-accent-dark,#73993F)!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:1.2!important;
    text-align:center!important;
    text-decoration:none!important;
    box-sizing:border-box!important;
    float:none!important;
    clear:both!important;
}
.woocommerce ul.products li.product .ofc-archive-actions>a.added_to_cart.wc-forward:hover,
.woocommerce-page ul.products li.product .ofc-archive-actions>a.added_to_cart.wc-forward:hover,
.ofc-product-card .ofc-card-actions>a.added_to_cart.wc-forward:hover{
    background:var(--ofc-accent,#91BF4A)!important;
    color:#fff!important;
}
.woocommerce ul.products li.product .ofc-archive-actions>.ofc-cart-pending,
.woocommerce-page ul.products li.product .ofc-archive-actions>.ofc-cart-pending,
.ofc-product-card .ofc-card-actions>.ofc-cart-pending{
    opacity:.7;
    pointer-events:none;
    cursor:progress!important;
}
@media(max-width:480px){
    .woocommerce ul.products li.product .ofc-archive-actions>a.added_to_cart.wc-forward,
    .woocommerce-page ul.products li.product .ofc-archive-actions>a.added_to_cart.wc-forward,
    .ofc-product-card .ofc-card-actions>a.added_to_cart.wc-forward{
        min-height:38px!important;
        height:38px!important;
    }
}
