﻿/* v 4.108 new styles */
dialog#login-drawer .uk-offcanvas-bar h3 { color: #1e5b64; }
.rp-stepper__item:not(.rp-stepper__item--active) .rp-stepper__dot:not(.rp-stepper__dot--complete) {
    background: #dddddd;
    color: #595959;
}
.reg-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #633806;
            font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 0; cursor: pointer; }
.reg-pill[hidden] { display: none; }
.reg-pill:hover { background: #faeeda; }
.reg-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: #BA7517; flex-shrink: 0; }
.reg-pill:focus-visible { outline: 2px solid #0C3B45; outline-offset: 0; box-shadow: 0 0 0 4px #fff; }
#login-drawer .register-email input#email {
  background: #f5f5f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23767676' stroke-width='1.3'%3E%3Crect x='1.5' y='3.5' width='13' height='9' rx='1.5'/%3E%3Cpath d='M2 4.5l6 4.5 6-4.5'/%3E%3C/svg%3E") no-repeat 10px center;
  padding-left: 34px;
}
#text-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 12px;
               padding: 8px 0; background: none; border: 0; border-top: 1px solid rgba(0,0,0,.1);
               border-bottom: 1px solid rgba(0,0,0,.1); font: inherit; font-size: 12px; color: #333; cursor: pointer; }
#text-toggle .chevron { transition: transform .2s; transform: rotate(180deg); }
#text-toggle[aria-expanded="false"] .chevron { transform: none; }
#text-panel { padding-top: 8px; }
#text-panel[hidden], #copy-row[hidden], #lock-note[hidden] { display: none; }
#mobilePhone.is-locked { background: #f5f5f3; color: #595959; }
.register-textblock .opt { font-size: 10px; color: #666; }
.lock-note { display: flex; align-items: center; gap: 6px; margin: 10px 0; font-size: 11px; color: #666; }
.register-commNews,
#copy-row label,
#twillio-block label.register-commSMSTrans,
#twillio-block label[for="commSMSMarketing"] { display: block; padding: 6px 0; }
#twillio-block.locked label,
#twillio-block.locked .register-commSMSMessage,
#twillio-block.locked .register-commSMSTransMessage { color: #767676; cursor: not-allowed; }
#login-drawer .policy { font-size: 10px; color: #666; text-align: center; }
#twillio-block label { font-size: 11px; font-weight: 600; color: #333; }
#twillio-block .register-commSMSMessage,
#twillio-block .register-commSMSTransMessage { margin: 2px 0 10px 24px; font-size: 10px; line-height: 1.5; }
#twillio-block .register-commSMSMessage *,
#twillio-block .register-commSMSTransMessage * { color: #666 !important; font-size: 10px !important; font-style: normal !important; }
body {
    background-color: #F5F5F7;
}

/* Login drawer (WEB-4379): modeled after the #shopping-cart native <dialog> drawer -
   see the "ACC-001 - cart panel" rule block below for the shared reset/positioning styles. */
#login-drawer.uk-modal,
dialog#login-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
    z-index: 1010;
}
dialog#login-drawer[open] {
    display: block;
}
dialog#login-drawer::backdrop {
    background: rgba(0, 0, 0, 0.6);
}
/* dialog.show() (used instead of showModal() so the drawer doesn't get promoted to
   the browser's top layer above reCAPTCHA's challenge popup - see openDialog() in
   _Layout.cshtml) never paints a ::backdrop, since that pseudo-element only exists
   for dialogs opened modally. Recreate the same dim overlay manually. */
dialog#login-drawer[open]::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}
dialog#login-drawer .uk-offcanvas-bar,
dialog#login-drawer .uk-offcanvas-bar-light {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 480px;
    max-width: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 28px 24px;
    transform: none;
    -webkit-transform: none;
}

/* UIkit's .uk-offcanvas-bar .uk-button-default assumes a dark offcanvas panel and
   sets a transparent background with white text/border, which is invisible on our
   light (uk-offcanvas-bar-light) drawer panel. Restore the light-panel button look. */
dialog#login-drawer .uk-offcanvas-bar-light .uk-button-default {
    background-color: #efefef;
    color: #000;
    border-color: rgba(0, 0, 0, 0.45);
}
dialog#login-drawer .uk-offcanvas-bar-light .uk-button-default:hover {
    background-color: #e4e4e4;
    color: #000;
}

/* Same problem as above but for form controls: UIkit's .uk-offcanvas-bar .uk-select /
   .uk-input / .uk-textarea assume a dark offcanvas panel and render near-white text
   on a semi-transparent background. On our light panel this makes selected dropdown
   values (e.g. the registration wizard's Customer Distribution Location select)
   effectively invisible, so a real selection looks like the control is still empty. */
dialog#login-drawer .uk-offcanvas-bar-light .uk-select,
dialog#login-drawer .uk-offcanvas-bar-light .uk-input,
dialog#login-drawer .uk-offcanvas-bar-light .uk-textarea {
    background-color: #fff;
    color: #000;
    border-color: rgba(0, 0, 0, 0.3);
}

/* Same dark-panel assumption applies to UIkit's .uk-checkbox/.uk-radio: on the light
   drawer panel they render with a near-white, near-invisible border/background,
   making them look different (and harder to see) than on the full-page Home/Register
   wizard, which isn't hosted in an offcanvas panel. */
dialog#login-drawer .uk-offcanvas-bar-light .uk-checkbox,
dialog#login-drawer .uk-offcanvas-bar-light .uk-radio {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.3);
}

/* Checkbox border: at least 3:1 against the panel (WCAG 1.4.11). */
dialog#login-drawer input[type="checkbox"],
dialog#login-drawer .uk-offcanvas-bar-light .uk-checkbox {
    border: 1px solid #767676;
}

/* Privacy/Terms line: body text color (WCAG 1.4.3). */
#login-drawer #privacy-label,
#login-drawer #privacy-label a {
    color: #333 !important;
}
#login-drawer #privacy-label a {
    text-decoration: underline;
}

/* UIkit's ".uk-offcanvas-bar .uk-close" rule assumes a dark offcanvas panel and
   renders the X icon at rgba(255,255,255,0.5), making it invisible on our light
   drawer panel. */
dialog#login-drawer .uk-offcanvas-bar-light .uk-close,
dialog#login-drawer .uk-offcanvas-bar-light .uk-offcanvas-close {
    color: #333;
}
dialog#login-drawer .uk-offcanvas-bar-light .uk-close:hover,
dialog#login-drawer .uk-offcanvas-bar-light .uk-offcanvas-close:hover,
dialog#login-drawer .uk-offcanvas-bar-light .uk-close:focus,
dialog#login-drawer .uk-offcanvas-bar-light .uk-offcanvas-close:focus {
    color: #000;
}

dialog#login-drawer .uk-offcanvas-bar .uk-text-muted {
    color: #595959 !important;
}

dialog#login-drawer .uk-offcanvas-bar .uk-button-link,
dialog#login-drawer .uk-offcanvas-bar-light .uk-button-link {
    color: #1e5b64;
    text-decoration: underline;
}
dialog#login-drawer .uk-offcanvas-bar .uk-button-link:hover,
dialog#login-drawer .uk-offcanvas-bar .uk-button-link:focus,
dialog#login-drawer .uk-offcanvas-bar-light .uk-button-link:hover,
dialog#login-drawer .uk-offcanvas-bar-light .uk-button-link:focus {
    color: #0b3541;
}
dialog#login-drawer .uk-offcanvas-bar .uk-button-link:disabled,
dialog#login-drawer .uk-offcanvas-bar-light .uk-button-link:disabled {
    color: #595959;
}

#register-wizard-drawer .req,
#login-drawer .req {
    color: #c0392b;
    margin-left: 2px;
}

#register-wizard-drawer .opt {
    color: #595959;
    font-weight: normal;
}

#register-wizard-drawer .reg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
}

#register-wizard-drawer .reg-row--location {
    grid-template-columns: 2fr 1fr 1fr;
}

#register-wizard-drawer .reg-row > * {
    min-width: 0;
    width: auto !important;
}

#register-wizard-drawer .uk-grid > * {
    width: 100% !important;
}

#register-wizard-drawer .uk-form-stacked {
    width: 100%;
}

#register-wizard-drawer,
#register-wizard-drawer form,
#register-wizard-drawer fieldset {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

#register-wizard-drawer * {
    max-width: 100%;
    box-sizing: border-box;
}

#register-wizard-drawer #locButtons,
#register-wizard-drawer #locButtons .cust-type-button {
    width: 100% !important;
    min-width: 0;
}

#register-wizard-drawer .rp-stepper,
#register-wizard-drawer .rp-stepper__list {
    width: 100%;
}

@media (max-width: 480px) {
    dialog#login-drawer .uk-offcanvas-bar,
    dialog#login-drawer .uk-offcanvas-bar-light {
        width: 100%;
        padding: 20px 16px;
        overflow-x: hidden;
    }

    #register-wizard-drawer .reg-row--location {
        grid-template-columns: 1fr 1fr;
    }

    #register-wizard-drawer .reg-row--location .register-city {
        grid-column: 1 / -1;
    }
}

#register-drawer-btnSubmit .register-btn-spinner,
#btnSubmit .register-btn-spinner {
    display: none;
    margin-left: 8px;
    vertical-align: middle;
}

#register-drawer-btnSubmit.is-loading .register-btn-spinner,
#btnSubmit.is-loading .register-btn-spinner {
    display: inline-block;
}

#register-drawer-btnSubmit.is-loading .register-btn-label,
#btnSubmit.is-loading .register-btn-label {
    opacity: 0.7;
}

#register-drawer-btnSubmit.is-loading,
#btnSubmit.is-loading {
    cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
    #register-drawer-btnSubmit.is-loading .register-btn-spinner,
    #btnSubmit.is-loading .register-btn-spinner {
        animation-duration: 3s;
    }
}

/* Login/register drawer visible headers ("Sign in" / "Create your account"):
   UIkit's .uk-offcanvas-bar h1-h6 default to white text (assuming a dark offcanvas
   background), which is invisible on our uk-offcanvas-bar-light white panel.
   Style to match the mockup: small, semi-bold, dark teal heading on a light-gray bar
   that spans the full width of the drawer (bleeding past the panel's own padding). */
#login-drawer-title,
#register-drawer-title,
#already-signed-in-drawer-title,
#register-complete-drawer-title,
#verify-email-drawer-title,
#register-success-drawer-title {
    color: #1e5b64;
    font-size: 15px;
    font-weight: 600;
    background-color: transparent;
    margin: -28px -24px 16px -24px;
    padding: 16px 24px;
}

dialog#login-drawer .uk-offcanvas-bar h3 { color: #1e5b64; }

/* Password show/hide toggle button, used on login/register forms (drawer and
   full-page). The input gets extra right padding so typed text never runs
   underneath the button. */
.pw-field {
    position: relative;
}
.pw-field-input {
    padding-right: 56px !important;
}
.pw-toggle-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48px;
    border: none;
    background: transparent;
    color: #1e5b64;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 8px;
}
.pw-toggle-btn:hover,
.pw-toggle-btn:focus {
    color: #000;
    text-decoration: underline;
}
.pw-toggle-btn:focus-visible {
    outline: 2px solid #1e5b64;
    outline-offset: 2px;
}

/* Registration wizard, when hosted in the login drawer: the drawer panel is much
   narrower than the full Home/Register page, so shrink the copy and force the
   two-column field layout (uk-width-2-6@l etc.) to stack into a single column. */
#register-wizard-drawer {
    font-size: 13px;
}
#register-wizard-drawer h1,
#register-wizard-drawer h2,
#register-wizard-drawer h3,
#register-wizard-drawer h4,
#register-wizard-drawer h5,
#register-wizard-drawer h6 {
    font-size: 15px;
    color: #1e5b64;
}
#register-wizard-drawer #register-header {
    font-size: 13px;
}
#register-wizard-drawer #register-header * {
    font-size: 13px !important;
}
#register-wizard-drawer .rp-stepper__label {
    font-size: 11px;
}
#register-wizard-drawer label {
    font-size: 12px;
}
#register-wizard-drawer .uk-input,
#register-wizard-drawer .uk-select,
#register-wizard-drawer .uk-textarea {
    font-size: 13px;
}
#register-wizard-drawer .uk-grid > * {
    width: 100% !important;
}

/* Verify-email state (drawer and full page): envelope icon, muted waiting text,
   and resend/back links styled consistently with the rest of the auth flow. */
.verify-email-icon {
    color: #1e5b64;
}

.verify-email-icon--success {
    color: #2e7d32;
}

#verify-email-waiting {
    margin: 16px 0;
}

#verify-email-resend-link {
    font-weight: 600;
}

#register-success-drawer h1,
#register-success-drawer h2,
#register-success-drawer h3,
#register-success-drawer h4,
#register-success-drawer h5,
#register-success-drawer h6,
#register-success-drawer h1 *,
#register-success-drawer h2 *,
#register-success-drawer h3 *,
#register-success-drawer h4 *,
#register-success-drawer h5 *,
#register-success-drawer h6 * {
    color: #1e5b64 !important;
}

#login-drawer #register-success-drawer,
#login-drawer #register-success-drawer p,
#login-drawer #register-success-drawer li,
#login-drawer #register-success-drawer div,
#login-drawer #register-success-drawer span:not(.verify-email-icon),
#login-drawer #register-success-drawer strong,
#login-drawer #register-success-drawer em {
    color: #333;
}

#login-drawer #register-success-continue-link.uk-button-primary {
    background-color: #1e5b64;
    border-color: #1e5b64;
    color: #fff;
}
#login-drawer #register-success-continue-link.uk-button-primary:hover,
#login-drawer #register-success-continue-link.uk-button-primary:focus {
    background-color: #174850;
    border-color: #174850;
    color: #fff;
}

#verify-email-page,
#register-complete-page {
    margin-left: auto;
    margin-right: auto;
    float: none;
}

/* Skip navigation link (WCAG 2.4.1) */
.lfm-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    padding: 10px 16px;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 0 0 5px 0;
    font-weight: bold;
    text-decoration: none;
}

.lfm-skip-link:focus {
    left: 0;
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

/* Restore visible focus indicators, overriding UIkit's blanket outline:none reset
   (WCAG 2.4.7 Focus Visible, 1.4.11 Non-text Contrast)
   :focus-visible targets keyboard focus only; :focus:not(:focus-visible) suppresses
   the ring for mouse/touch so pointer users are unaffected. */
:focus-visible {
    outline: 2px solid #0C3B45 !important;
    outline-offset: 0 !important;
    box-shadow: 0 0 0 4px #fff !important;
}

:focus:not(:focus-visible) {
    outline: none;
}

#login-drawer button[aria-disabled="true"] {
    opacity: .6;
    cursor: not-allowed;
}

#login-drawer [role="alert"],
#login-drawer .js-form-error,
#login-drawer .uk-text-danger,
#login-drawer label.error,
#login-drawer .field-validation-error,
#login-drawer [role="alert"] a {
    color: #b3261e !important;
}

footer {
    /* prevents product spinner from overlapping footer */
    /*z-index: 1001;*/
    position: relative;
}

.lfm-nav-container {
    max-width: 1280px;
    margin: 0 auto;
}
.lfm-nav-container .uk-navbar-container {
    flex-shrink: 0;
}

/*-main menu-*/
#menu-box {
    display: inline-block;
    margin-left: 25px;
}


/*-end main menu-*/

#global-overlay {
    background-color: rgba(255, 255, 255, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-sizing: border-box;
    display: none;
}
#global-spinner {
    position: fixed;
    top: 45%;
    left: 45%;
    z-index: 10000;
    display: none;
}

#product-display-area {
    display: block;
    position: relative;
    min-height: 300px;
    width: 100%;
    height: 100%;
}

#product-overlay {
    background-color: rgba(192, 192, 192, 0.4);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 999;
    box-sizing: border-box;
    display: none;
}

#product-spinner {
    position: absolute;
    display: flex;
    top: 25%;
    left: 50%;
    z-index: 1000;
    display: none;
}
    
.sticky-bar {
    min-height: 45px;
    padding: 5px;
}

.top-bar-button {
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff;
    color: #333;
    border-radius: 5px;
    border: thin solid #999;
    white-space: nowrap;
    flex: none;
}

.lfm-nav-container .uk-navbar-right {
    flex: none;
    width: max-content;
    max-width: none;
}

.top-bar-button .hidden-small {
    display: inline-block;
    max-width: 14ch;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

#cart-trigger-btn {
    min-width: 44px;
}

#item-count.uk-badge {
    background: var(--lfm-teal, #082830);
    color: #fff;
}

.top-bar-navbar > li {
    flex-shrink: 0;
}

.top-bar-navbar .uk-button-group,
.top-bar-navbar .uk-inline,
.top-bar-navbar .top-bar-button {
    flex-shrink: 0;
}

.top-bar-navbar .top-bar-button:not(#cart-trigger-btn) {
    width: auto;
    min-width: 0;
}

#cart-trigger-btn [uk-icon],
#cart-trigger-btn svg {
    width: 20px !important;
    height: 20px !important;
}

.top-bar-navbar {
    flex-wrap: nowrap;
}

.top-bar-dropdown {
    background-color: #fff !important;
    border-radius: 5px;
    border: thin solid #ccc;
    box-shadow: rgba(0, 0, 0, 0.15) 2.95px 2.95px 2.6px;
}

.shopping-cart-text {
    font-size: .8em;
}

.shopping-cart-row {
    border-bottom: thin solid #333;
}

    .shopping-cart-row td {
        padding: 10px 0px !important;
    }

.shopping-cart-adjustor {
    flex: none;
    margin: 0 2px;
    padding: 3px;
}

#shopping-cart .shopping-cart-product-name {
    overflow-wrap: anywhere;
}

#shopping-cart table.uk-table {
    table-layout: fixed;
    width: 100%;
}

#shopping-cart .shopping-cart-qty-cell {
    width: 7.5rem;
    vertical-align: middle;
}

#shopping-cart .shopping-cart-qty-input {
    flex: none;
    width: 50px;
    max-width: none;
}

/* UIkit sets .uk-offcanvas-bar .uk-icon-link to rgba(255,255,255,0.5) assuming a dark
   offcanvas background. The cart drawer uses uk-offcanvas-bar-light (white background),
   so the semi-transparent white icons become invisible. Override to a dark neutral that
   meets WCAG 1.4.11 Non-text Contrast (3:1) against white. */
.uk-offcanvas-bar-light .uk-icon-link.shopping-cart-adjustor {
    color: #333;
}

#cart-alert-area-success {
    background: transparent !important;
}

li.top-bar-divider {
    border-top: thin solid #333 !important;
}

.top-bar-navbar > li > a {
    min-height: 0;
}

#landing-left {
    min-width: 200px;
    max-width: 300px;
}

.account-menu-toggle { display: none; }
#account-nav-box .uk-nav-default > li:not(.uk-active) > a { color: #6b6b6b; }
#account-nav-box .uk-nav-default > li.uk-active > a { color: #333; font-weight: 600; }
@media (max-width: 639px) {
    #account-menu-toggle,
    #account-nav-box { display: none !important; }
    #landing-left {
        width: 100%;
        max-width: none;
    }
    .uk-grid:has(> #landing-left) { margin-top: 4px !important; }
}
@media (max-width: 560px) {
    #acc-sub-pay-modal-subs-table table,
    #acc-sub-pay-modal-subs-table tbody,
    #acc-sub-pay-modal-subs-table tr,
    #acc-sub-pay-modal-subs-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    #acc-sub-pay-modal-subs-table thead {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
    }
    #acc-sub-pay-modal-subs-table thead tr,
    #acc-sub-pay-modal-subs-table thead th {
        display: block; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden;
    }
    #acc-sub-pay-modal-subs-table tbody tr {
        border: 1px solid rgba(0, 0, 0, .12);
        border-radius: 5px;
        padding: 10px 12px;
        margin-bottom: 10px;
        background: #fff;
    }
    #acc-sub-pay-modal-subs-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 4px 0;
        border: 0;
    }
    #acc-sub-pay-modal-subs-table td.aspmstd-subscription {
        display: block;
        font-weight: 700;
        padding-bottom: 6px;
    }
    #acc-sub-pay-modal-subs-table td::before {
        font-size: 10px; font-weight: 700; text-transform: uppercase;
        letter-spacing: .05em; color: #777;
    }
    #acc-sub-pay-modal-subs-table td.aspmstd-due-date::before { content: "Due Date"; }
    #acc-sub-pay-modal-subs-table td.aspmstd-payment::before { content: "Payment"; }
    #acc-sub-pay-modal-subs-table td.aspmstd-balance-due::before { content: "Balance Due"; }
    #acc-sub-pay-modal-subs-table td.aspmstd-pay-balance::before { content: "Amount to pay"; }
    #acc-sub-pay-modal-subs-table td.aspmstd-pay-mark-for-payment::before { content: "Include in this payment"; }
}

/* begin uikit overrides  */
.uk-button {
    border-radius: 5px !important;
}
.uk-button-danger-inverted {
    color: rgb(240, 80, 110);
    background-color: #fff;
}
.uk-input {
    border-radius: 5px !important;
}
.uk-select {
    border-radius: 5px !important;
}
/* ACC — 1.4.11 Non-text Contrast: override UIkit's #e5e5e5 (1.26:1) with a
   value that reaches 3:1 against white. rgba(0,0,0,0.45) composites to
   rgb(140,140,140) = 3.36:1, matching the already-fixed card/button borders. */
.uk-input,
.uk-select,
.uk-textarea {
    border-color: rgba(0, 0, 0, 0.45) !important;
}
.uk-panel-box {
    border-radius: 5px !important;
    padding: 4px 3px 0px 5px;
}
.uk-navbar-nav > li > a {
    padding-top: 10px !important;
}
.uk-alert-danger {
    background: #f8f8f8 !important;
    color: #b3261e;
}
.uk-alert-success { background: #edfbf6; color: #1e6b4e; }
#distribution-modal .uk-text-danger { color: #c8203f; }
.uk-alert-primary { background: #d8eaf9; color: #0b5cad; }
.uk-alert-warning { background: #fef5ee; color: #8a4a05; }

.uk-offcanvas-bar-light {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -270px;
    box-sizing: border-box;
    width: 270px;
    padding: 20px 20px;
    background: #f8f8f8;
    color: #333;
    overflow-y: auto;
    border-left: thin solid #aaa;
    -webkit-overflow-scrolling: touch;
}

    .uk-offcanvas-bar-light a:not(.uk-button), .uk-offcanvas-bar-light input {
        color: #333 !important;
    }

.uk-offcanvas-bar-animation {
    transition: left 0.3s ease-out;
}

.uk-offcanvas-overlay {
    background: rgba(0,0,0,0.7); /* darker */
}

/*from uikit - reduce padding between modal header and body*/
.uk-modal-body {
    padding: 10px 30px 30px 30px;
}

.select-user {
    padding: 10px;
    font-size: 16px;
    border: thin solid #ccc;
    margin-top: 5px;
}
    .select-user:hover {
        background-color: #eee;
        cursor: pointer;
    }

.uk-offcanvas-flip .uk-offcanvas-bar-light {
    left: auto;
    right: -270px;
}

.uk-offcanvas-flip .uk-offcanvas-bar-animation {
    transition-property: right;
}

.uk-offcanvas-flip .uk-open > .uk-offcanvas-bar-light {
    left: auto;
    right: 0;
}

.uk-offcanvas-flip .uk-offcanvas-reveal .uk-offcanvas-bar-light {
    left: auto;
    right: 0;
}

.uk-offcanvas-reveal .uk-offcanvas-bar-light {
    left: 0;
}

.uk-open > .uk-offcanvas-bar-light {
    left: 0;
}
/*plain button - adjust for sufficient contrast*/
.uk-button-default {
    background-color: #efefef;
    color: #000;
    border: 1px solid #ddd;
}
/*better match depracated panel*/
.uk-card-title {
    margin-bottom: 15px;
    border-bottom: thin solid #ccc;
    color: #666;
    font-size: 1.1em;
}
.uk-modal-title {
    font-size: 1.2em;
}
/* end uikit overrides */

.visually-hidden {
    position: absolute;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.lfm-card {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.45);
    box-shadow: rgba(0, 0, 0, 0.15) 2.95px 2.95px 2.6px;
}

#filter_display {
    line-height: 40px;
}

.product-filter-nav {
    max-height: 400px;
    overflow-y: auto;
}

.product-filter-nav li {
    margin-bottom: 3px;
    min-width: 220px;
    max-width: 300px;
}

    .product-filter-nav li > a {
        display: contents;
    }

.filter-list-item {
    border: 1px solid rgba(0, 0, 0, 0.45);
    padding: 6px;
    margin-left: 3px;
    margin-bottom: 3px;
}

.filter-list-header {
    font-weight: bold;
    font-size: 1.25em;
}

.closes-soon {
    padding: 5px 8px;
    border-radius: 5px;
    background-color: #f0506e;
    color: #fff;
}

.product-modal-selector {
    padding: 5px;
    border-bottom: thin solid #ccc;
}

    .product-modal-selector:hover {
        color: #fff;
        background-color: #eee;
        border-bottom: thin solid #ccc;
        padding: 5px;
    }

/* products - left side nav */
#product-sidebar-mobile .lfm-card{
    padding-left: 50px;
}

/* products - top filter */
.category-list-cat-item {
    font-size: 1.1em;
    line-height: 32px;
    border-bottom: thin solid #ccc;
}

.category-list-subcat-item {
    font-size: 1.1em;
    line-height: 32px;
}

.product-topbar-mobile-item {
}

#product-category-dropdown-mobile {
    background-color: #fff !important;
    z-index: 10000;
}

/* products */
.product-list-header {
    padding: 0;
    margin: 0px 0 0;
    color: #000; 
    font-weight: bold;
    font-size: 1.2em;
    display: inline-block;
}.
 product-category-header {
    color: #333;
    font-size: 1.4em;
    margin: 0;
    padding: 0;
}

/* grid view */
/* product-grid-body controls whether button sticks to bottom */
.product-grid-card {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.45);
    box-shadow: rgba(0, 0, 0, 0.15) 2.95px 2.95px 2.6px;
    padding: 5px;
    cursor: pointer;
}
/* for dashboard and producer page */
.product-grid-card-alt {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.45);
    box-shadow: rgba(0, 0, 0, 0.15) 2.95px 2.95px 2.6px;
    padding: 5px;
    margin: 5px;
    height: 350px;
    cursor: pointer;
}

.product-grid-card-alt {
    display: flex;
    flex-direction: column;
}

    .product-grid-card-alt > .product-grid-image {
        flex: 0 0 auto; /* image stays at the top */
    }

    .product-grid-card-alt .product-grid-producer,
    .product-grid-card-alt .product-grid-title,
    .product-grid-card-alt .product-grid-unit-more-avail {
        margin: 0; /* optional cleanup */
    }

    .product-grid-card-alt .bottom-content {
        margin-top: auto; /* pushes this block to the bottom */
    }


/* keyboard focus for interactive card divs */
.product-grid-card:focus-visible,
.product-grid-card-alt:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

.product-grid-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 225px;
} 

.product-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image1 {
    width: 100%;
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    line-height: 120px;
    text-align: center;
}

.product-grid-overlay {
    width: 35%;
    max-width: 100%;
    overflow: hidden; /* belt-and-suspenders: clips text that inflates past the badge's own width */
    z-index: 100;
    text-align: center;
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: .95;
    border-radius: 5px;
    padding: 3px;
    white-space: normal;
    word-break: break-word;
}

.product-grid-overlay-onsale {
    top: 208px;
    left: 75%;
    color: #fff;
    background-color: #e0405d;
}

.product-grid-overlay-closes {
    top: 208px;
    left: 25%;
    color: #fff;
    background-color: #f0506e;
    font-size: small;
}

.product-grid-overlay-featured {
    top: 17px;
    left: 75%;
    color: #fff;
    background-color: green;
}

.product-grid-overlay-subscribe {
    top: 17px;
    left: 25%;
    color: #fff;
    background-color: green;
}

.product-grid-overlay-preorder {
    top: 208px;
    left: 25%;
    color: #fff;
    background-color: #f7ac08;
}

.product-grid-body {
    padding: 5px;
    min-height: 230px;
}

.product-grid-title {
    font-weight: bold;
    max-height: 48px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-size: 1em;
}

.product-grid-attributes {
    height: 55px;
}

.product-grid-producer {
    max-height: 48px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.product-grid-tagline {
    max-height: 36px;
    font-size: .8em;
    overflow: hidden;
    font-style: italic;
    margin: 0;
    padding: 0;
}

.product-grid-attribute {
    margin-right: 2px;
    margin-left: 2px;
}

.product-attribute-image {
    width: 50px !important;
}

.product-grid-unit-name {
    font-size: .9em;
    max-height: 20px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.product-grid-unit-price {
    font-weight: bold;
    font-size: .9em;
    vertical-align: bottom;
}

.product-grid-unit-reg-price {
    font-size: .9em;
    white-space: normal;        /* prevent long price strings (e.g. ($145.00/pound)) from overflowing the card at 320px (WCAG 1.4.10) */
    overflow-wrap: break-word;  /* break within a word only as a last resort if the string has no wrap opportunity */
}

.product-grid-base-unit-price {
    white-space: normal;        /* same fix — per-unit parenthetical text must wrap at narrow viewports (WCAG 1.4.10) */
    overflow-wrap: break-word;
}

.product-grid-unit-more-avail {
    font-size: .8em;
    cursor: pointer;
}

.product-grid-unit-elipsis {
    padding: 5px;
    border-radius: 20px;
    background-color: #ccc;
    font-weight: bold;
    height: 20px;
    width: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

/* list view */
.product-listview-card {

}

.product-listview-image-box .product-image1 {
    width: auto !important;
    max-height: 120px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-listview-headline {
    font-size: 1em;
    line-height: 17px;
    font-weight: 600;
    margin-top: 5px !important;
    padding: 3px 0 0 7px;
    cursor: pointer;
}

.product-listview-producer {
    font-size: 1em;
    line-height: 17px;
    font-weight: 600;
    margin-top: 5px !important;
    margin-bottom: 0;
    padding: 3px 0 0 7px;
    font-style: italic;
}

.product-listview-tagline {
    font-size: .8em;
    line-height: 12px;
    margin-left: 10px;
    margin-top: 7px;
    margin-bottom: 0;
    padding: 0 12px 5px 3px;
    color: #111;
}

.product-listview-row {
    overflow: visible;
    text-overflow: initial;
    word-wrap: normal;
    white-space: normal;
}

.product-listview-unit-price {
    word-wrap: break-word;
}

.product-listview-unit-desc {
    font-size: .9em;
}

.product-listview-unit-price {
    font-size: .9em;
}

.product-listview-remaining {
    font-size: .9em;
    text-align: right;
}

.product-listview-messages {
    margin: 0px 0 10px 0;
    padding-left: 20px;
}

.product-unit-message {
    color: #686868;
    font-size: .6em;
    line-height: 12px;
}

.product-listview-divider {
    border-top: 1px solid #ccc;
    width: 100%
}

.product-listview-featured-product {
    font-size: .8rem;
    font-weight: bold;
}

.product-listview-onsale-product {
    font-size: .8rem;
    font-weight: bold;
}

.product-listview-subslink-product {
    font-size: .8rem;
    font-weight: bold;
}

.product-listview-preorder-product {
    font-size: .8rem;
    font-weight: bold;
}

/* individual product page */
.product-page-product-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

/* add to cart modal */
.product-modal-image-small img {
    margin-top: 2px;
    margin-right: 5px;
    width: 40px;
    border: 2px solid #fff;
}

.image-selected img {
    border: 2px solid #eee;
}

.product-modal-remaining {
    font-size: .8em;
}

.product-modal-add-to-cart button {
    font-size: .8em;
}

.product-modal-unit-message {
    font-size: .7em;
    font-style: italic;
}

.product-modal-units-area {
    background-color: #eee;
    padding: 5px;
    border-radius: 5px;
}

.product-modal-image-sub div {
    width: 50%; 
}

.product-modal-product-link a {
    text-decoration: underline !important;
    font-weight: bold;
}

.favorite-button {
    cursor: pointer;
}

.favorite-button-text {
    font-size: .7em;
}

.product-modal-storefrontSubs, .product-info-main {
    font-size: .9em;
}
/* producers page */
.producer-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.45);
    box-shadow: rgba(0, 0, 0, 0.15) 2.95px 2.95px 2.6px;
    overflow: hidden;
    height: 100%;
}
.producer-image-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f3;
}
.producer-image-container a,
.producer-image-container img {
    display: block;
    width: 100%;
    height: 100%;
}
.producer-image-container img {
    object-fit: cover;
    padding: 0;
}
.producer-card .producer-name,
.producer-card .producer-location {
    padding: 0 12px;
}
.producer-card .producer-name {
    padding-top: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
.producer-card .producer-name a {
    color: #1a1a1a;
}
.producer-card .producer-location {
    padding-bottom: 12px;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}
/* Producer cards: phone row layout (matches product cards)
   Uses 639px, not 480px, because this grid uses UIkit's 640px breakpoint.
   Ending the row layout anywhere lower would leave a band of full-width stacked cards. */
@media (max-width: 639px) {
    #producers .producers-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-left: 0;
    }
    #producers .producers-grid > * {
        padding-left: 0;
        margin-top: 0;
    }
    #producers .producer-card {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        align-items: start;
    }
    #producers .producer-image-container {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 92px;
        height: 92px;
        aspect-ratio: auto;
        border-radius: 4px;
    }
    #producers .producer-card .producer-name {
        grid-column: 2;
        padding: 10px 12px 0;
        font-size: 13px;
    }
    #producers .producer-card .producer-location {
        grid-column: 2;
        padding: 0 12px 12px;
        font-size: 12px;
    }
}
.producer-page-product-box .product-box, .producer-page-product-box .product-box .product-image {
    border-radius: 5px;
}
.producer-image img {
    width: 100%;
    padding: 5px;
}

/* dashboard */
.dashboard-order-box {
    min-height: 200px;
}
/*Create a New Account*/
#registerPage fieldset,
#register-wizard-drawer fieldset {
    border: none;
    margin: 0;
    padding: 0;
}
/*endCreate a New Account*/
/*Home Register*/
#registerPage .uk-input {
    max-width: 100%;
}
#registerPage .reg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
}
#registerPage .reg-row--location {
    grid-template-columns: 2fr 1fr 1fr;
}
#registerPage .reg-row > * {
    min-width: 0;
    width: auto !important;
}
@media (max-width: 480px) {
    #registerPage .reg-row--location {
        grid-template-columns: 1fr 1fr;
    }
    #registerPage .reg-row--location .register-city {
        grid-column: 1 / -1;
    }
}
.regQuestion {
    display: inline;
}
label.uk-text-bold:has(> .uk-text-danger[aria-label="required"]) > p {
    display: inline;
}
.reg-checkbox .uk-checkbox {
    margin-left: 10px;
}
/*endHome Register*/

/* Customer type radio card group (ACC-009) */
.cust-type-fieldset legend {
    font-weight: bold;
    margin-bottom: 6px;
}
.cust-type-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cust-type-button {
    display: block;
    width: 100%;
}
/* Hide the native radio visually but keep it accessible */
.cust-type-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.cust-type-label {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 10px 40px;
    border: 1px solid rgba(0,0,0,.45);
    border-radius: 10px;
    background-color: #fff;
    color: #222;
    cursor: pointer;
    white-space: normal;
    font-weight: normal;
    text-align: left;
    transition: background-color 0.15s, border-color 0.15s;
}
.cust-type-label::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 12px;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border: 1.5px solid rgba(0,0,0,.25);
    border-radius: 50%;
    background-color: #fff;
}
.cust-type-label:hover {
    border-color: #7fa5b5;
}
.cust-type-label--selected,
.cust-type-radio:checked + .cust-type-label {
    background-color: #eef5f6;
    border: 2px solid #6a9a2e;
    padding: 9px 11px 9px 39px;
    color: #222;
    font-weight: 600;
}
.cust-type-label--selected::before,
.cust-type-radio:checked + .cust-type-label::before {
    border-color: #6a9a2e;
    background-color: #6a9a2e;
    box-shadow: inset 0 0 0 3px #fff;
}
.cust-type-radio:focus-visible + .cust-type-label {
    outline: 2px solid #555555;
    outline-offset: 2px;
}
#locButtons .cust-type-button {
    width: 416px;
    max-width: 100%;
}
.cust-type-options--left .cust-type-label { text-align: left; }
#locButtons .loc-name { font-weight: 600; }
#locButtons .loc-closed { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; font-size: 10px; font-weight: 400; background: #f3e2c3; color: #5c3a05; }
#locButtons .cust-type-radio:checked + .cust-type-label .loc-closed { background: #fff; }
#locButtons .loc-detail { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(0,0,0,.25); font-size: 11px; font-weight: 400; line-height: 1.5; }
#locButtons .loc-detail[hidden] { display: none; }
#locButtons .loc-detail * { color: inherit; }
#locButtons .loc-name { font-weight: 600; }
#locButtons .loc-closed { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px;
                          font-size: 10px; font-weight: 400; background: #f3e2c3; color: #5c3a05; }
#locButtons .cust-type-radio:checked + .cust-type-label .loc-closed { background: #fff; }
#locButtons .loc-detail { display: block; margin-top: 6px; padding-top: 6px;
                          border-top: 1px dashed rgba(0,0,0,.25);
                          font-size: 11px; font-weight: 400; line-height: 1.5; }
#locButtons .loc-detail[hidden] { display: none; }
#locButtons .loc-detail * { color: inherit; }
#locButtons .loc-detail b,
#locButtons .loc-detail strong,
#locButtons .loc-detail h1,
#locButtons .loc-detail h2,
#locButtons .loc-detail h3,
#locButtons .loc-detail h4,
#locButtons .loc-detail h5,
#locButtons .loc-detail h6 { display: block; margin: 8px 0 0; font-size: 12px; font-weight: 600; line-height: 1.3; }
#locButtons .loc-detail div,
#locButtons .loc-detail p { margin: 0; padding: 0; }
/*end Customer type radio card group*/
/*divider in order edit*/
.margin-fix {
    margin-left: 40px;
}
/*Subscriptions*/
/* Subscription Detail: dl/dt/dd replace misused <label> display elements (T2-005) */
#subscriptionDetail dt {
    font-weight: bold;
    margin: 0;
    padding: 2px 0;
}

#subscriptionDetail dd {
    margin: 0;
    padding: 2px 0;
}

/* Change Location: underlined text link under the location name. */
#subscriptionDetail .loc-change {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #1D5E6B;
    text-decoration: underline;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}

#subscriptionDetail .loc-change:hover {
    color: #0B3541;
}

/* Market-authored rich text inside the list (Special Instructions) */
#subscriptionDetail .d-dl dd p {
    margin: 0 0 8px;
}

#subscriptionDetail .d-dl dd p:last-child {
    margin-bottom: 0 !important;
}

/* Empty-value dash */
#subscriptionDetail .d-dl dd .muted {
    color: #999;
}

@media (max-width: 480px) {
    #subscriptionDetail .d-dl {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    #subscriptionDetail .d-dl dd {
        margin-bottom: 10px;
    }
}

@media (max-width: 560px) {
    :is(#payment-table-box, #ok-distributedOrders-modal) table,
    :is(#payment-table-box, #ok-distributedOrders-modal) table tbody {
        display: block;
        width: 100%;
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table thead tr,
    :is(#payment-table-box, #ok-distributedOrders-modal) table thead th {
        display: block;
        width: 1px;
        height: 1px;
        padding: 0;
        border: 0;
        overflow: hidden;
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table tbody tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 3px 12px;
        align-items: center;
        padding: 10px 12px;
        border-bottom: 1px solid rgba(0, 0, 0, .12);
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table tbody tr:last-child {
        border-bottom: 0;
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table td {
        display: block;
        padding: 0;
        border: 0;
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table td:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        font-weight: 700;
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table td:nth-child(4) {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table td:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table td:nth-child(2)::before {
        content: "Order # ";
        color: #777;
    }

    :is(#payment-table-box, #ok-distributedOrders-modal) table td:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

/* Registration stepper — 3-step justified layout (T2-006) */
.rp-stepper {
    margin-bottom: 1rem;
}

.rp-stepper--justified {
    position: relative;
    width: 100%;
}

.rp-stepper--justified .rp-stepper__list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.rp-stepper__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rp-stepper__item--left  { align-items: flex-start; text-align: left; }
.rp-stepper__item--center { align-items: center;    text-align: center; }
.rp-stepper__item--right  { align-items: flex-end;  text-align: right; }

.rp-stepper__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Active step: non-color outline ring + tinted background (WCAG 1.4.1) */
.rp-stepper__item--active .rp-stepper__dot,
.rp-stepper__dot--active {
    background: #333333;
    outline: 2.67px solid #333333;
    outline-offset: 3px;
}

/* Complete step: filled dot + checkmark (non-color indicator, WCAG 1.4.1) */
.rp-stepper__dot--complete {
    background: #333333;
    color: #fff;
}

.rp-stepper__label {
    font-size: 0.875rem;
}

/* Progress track */
.rp-stepper__track {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #d8d8d3;
    z-index: 0;
}

/* Animated fill line */
.rp-stepper__fill {
    position: absolute;
    top: 14px;
    left: 14px;
    height: 2px;
    background: #333333;
    z-index: 0;
    width: 0;
    transition: width 0.2s ease;
}

/* Mobile: hide labels, show single summary line */
.rp-stepper__mobile-summary {
    display: none;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .rp-stepper--justified .rp-stepper__label { display: none; }
    .rp-stepper__dot { width: 26px; height: 26px; font-size: 12px; }
    .rp-stepper__mobile-summary { display: block; }
}

#subscriptions-page .uk-h5 {
    margin: 0px;
}
#subscriptions-page .uk-grid {
    margin-left: 0;
}
.subs-cell .uk-grid .uk-clearfix, .subs-cell .uk-grid .subs-box-right, #subscriptions-page .uk-grid > * {
    padding-left: 0px;
}
.subs-image-box, .SubsProductMoreInfo, .SubsProductMoreInfo {
    cursor: pointer;
}
#close-confirm-modal {
    float: right;
    margin-top: 20px;
}
.subs-box {
    height: auto;
    margin-right: -90px;
}
.subs-image-box {
    width: 252px;
    padding-right: 7px;
}
.subs-image-box img {
    width: 100%;
}
.subs-box-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.subs-headline, .subs-producer {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}
.subs-headline {
    font-size: 1em;
}
.subs-producer {
    font-size: .75rem;
}
.subs-customer-notes {
    max-height: 100px;
    overflow: hidden;
}
.subs-button-box {
    width: 100%;
    /*background-color: #eee !important;*/
}
.subs-subscribe .uk-button {
    padding: 0 10px;
    font-size: .75rem;
}
.subs-subscribe {
    display: inline-block;
    float: right !important;
}
table.subs-calendar {
    max-width: 600px;
}

table.subs-calendar tr.subs-cal-month-header td {
text-align: center;
font-weight: bold;
font-size: 1.25em;
padding: 10px;
border: thin solid #ccc;
}

table.subs-calendar tr.subs-cal-day-header td {
text-align: center;
font-weight: bold;
font-size: 1em;
padding: 10px;
border: thin solid #ccc;
width: 14%;
}

table.subs-calendar tr.subs-cal-day td {
text-align: center;
padding: 0;
border: thin solid #ccc;
width: 14%;
vertical-align: middle;
height: 35px;
}

table.subs-calendar tr.subs-cal-day td.data {
    font-size: 1.5em;
    padding: 10px;
}

table.subs-calendar tr.subs-cal-day td.data-bold {
    font-weight: bold;
}

table.subs-calendar tr.subs-cal-day td.data-hold {
    background-color: #fc8077;
}

table.subs-calendar tr.subs-cal-day td.data-dist {
    background-color: #7ef2a5;
}
#product-subscriptions-info-top-right {padding-left: 10px;}
/*Modals*/
#producer-modal .uk-grid {
    margin-left: 0px;
}
#confirm-modal [class*=uk-modal-close-] {
    position: relative;
    z-index: 1010;
    top: 0px;
    right: 10px;
    padding: 0 30px;
}
#order-confirmation-page .lfm-card {
    min-width: 700px;
}
.uk-navbar-nav > li > a {
    text-transform: none;
}
/*endSubscriptions*/
.show-product-modal {
    width: 100%;
    cursor: pointer;
}

.product-image-box1 {
    height: 251px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product-sold-out-box img {
    opacity: .5;
}

.product-overlay3 {
    width: 92%;
    text-align: center;
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 100;
}
/*add back 10ths where no replacement in uikit update*/
.uk-width-1-10 {
    width: 10%;
}
.uk-width-3-10 {
    width: 30%;
}
.uk-width-7-10 {
    width: 70%;
}
.uk-width-9-10 {
    width: 90%;
}
/* Responsive Sections */
/* mobile phones */
@media (max-width: 480px) {
    #registerPage .uk-input {
        max-width: 340px;
    }

    .subs-box {
        margin-right: 0px;
    }

    .subs-image-box {
        width: 100%;
    }

    #product-subscriptions-info-top-right {
        padding-left: 30px;
    }

    table.subs-calendar tr.subs-cal-month-header td {
        text-align: center;
        font-weight: bold;
        font-size: 1.25em;
        padding: 5px;
        border: thin solid #ccc;
    }

    table.subs-calendar tr.subs-cal-day-header td {
        text-align: center;
        font-weight: bold;
        font-size: 1em;
        padding: 5px;
        border: thin solid #ccc;
        width: 14%;
    }

    table.subs-calendar tr.subs-cal-day td {
        text-align: center;
        padding: 0;
        border: thin solid #ccc;
        width: 14%;
        vertical-align: middle;
        height: 25px;
    }

        table.subs-calendar tr.subs-cal-day td.data {
            font-size: 1em;
            padding: 5px;
        }

}

@media (max-width: 640px) {
    #logo img {
        /*-Reduce height and set width for mobile-*/
        height: auto !important;
        max-width: 150px;
        padding-bottom: 5px !important;
        padding-top: 5px !important;
    }
    
    #toggle-menu {
        position: absolute;
        top: -20px;
        right: 10px;
    }
    .hidden-small {
        display: none;
    }

    .product-grid-overlay {
        width: 45%;
        max-width: 100%;
        overflow: hidden;
        z-index: 100;
        text-align: center;
        position: absolute;
        transform: translate(-50%, -50%);
        opacity: .95;
        border-radius: 5px;
        padding: 3px;
        white-space: normal;
        word-break: break-word;
    }

    .product-grid-overlay-onsale {
        top: 148px;
        left: 75%;
        color: #fff;
        background-color: #e0405d;
    }

    .product-grid-overlay-preorder {
        top: 148px;
        left: 25%;
        color: #fff;
        background-color: #f7ac08;
    }

    .product-grid-overlay-featured {
        top: 17px;
        left: 75%;
        color: #fff;
        background-color: green;
    }

    .product-grid-overlay-subscribe {
        top: 17px;
        left: 25%;
        color: #fff;
        background-color: green;
    }

    .product-grid-image {
        height: 165px;
    }

    .product-modal-bundle-image img {
        width: 50% !important;
    }

    #product-page-featured .product-grid-card-alt, #featured-product-order-edit .product-grid-card-alt {
        height: auto;
    }

    #product-page-featured .product-grid-image, #featured-product-order-edit .product-grid-image {
        height: auto;
    }

    #product-page-featured .product-grid-image img, #featured-product-order-edit .product-grid-image img {
        width: 100%;
        height: auto;
        padding: 5px;
        border-radius: 5px;
    }

    .product-page-product-image {
        width: 150px;
        position: relative;
        overflow: hidden;
        border-radius: 5px;
    }

    #order-confirmation-page .lfm-card {
        min-width: auto;
        overflow-x: auto;
    }

    /* Halves */
    .uk-width-xs-1-2,
    .uk-width-xs-2-4,
    .uk-width-xs-3-6,
    .uk-width-xs-5-10 {
        width: 50%;
    }
    /* Thirds */
    .uk-width-xs-1-3,
    .uk-width-xs-2-6 {
        width: 33.333%;
    }

    .uk-width-xs-2-3,
    .uk-width-xs-4-6 {
        width: 66.666%;
    }
    /* Quarters */
    .uk-width-xs-1-4 {
        width: 25%;
    }

    .uk-width-xs-3-4 {
        width: 75%;
    }
    /* Fifths */
    .uk-width-xs-1-5,
    .uk-width-xs-2-10 {
        width: 20%;
    }

    .uk-width-xs-2-5,
    .uk-width-xs-4-10 {
        width: 40%;
    }

    .uk-width-xs-3-5,
    .uk-width-xs-6-10 {
        width: 60%;
    }

    .uk-width-xs-4-5,
    .uk-width-xs-8-10 {
        width: 80%;
    }
    /* Sixths */
    .uk-width-xs-1-6 {
        width: 16.666%;
    }

    .uk-width-xs-5-6 {
        width: 83.333%;
    }
    /* Tenths */
    .uk-width-xs-1-10 {
        width: 10%;
    }

    .uk-width-xs-3-10 {
        width: 30%;
    }

    .uk-width-xs-7-10 {
        width: 70%;
    }

    .uk-width-xs-9-10 {
        width: 90%;
    }

}

/* non-mobile phones */
@media (min-width: 640px) {

    .hidden-medium {
        display: none;
    }
}

@media (min-width: 960px) {
    .uk-offcanvas-bar-light {
        left: -350px;
        width: 350px;
        padding: 20px 20px;
    }

    .uk-offcanvas-flip .uk-offcanvas-bar-light {
        right: -350px;
    }
}
/* ACC-022 contrast fixes (WCAG 1.4.3)  */

/* UIKit .uk-text-muted ships at #888 (3.54:1) â€” raise to #767676 (4.54:1) */
.uk-text-muted {
    color: #767676 !important;
}

/* UIKit ::placeholder ships at #aaa (2.32:1) â€” raise to #767676 (4.54:1).
   opacity:1 required â€” Firefox applies its own opacity to placeholders,
   which would otherwise drop the effective contrast below the corrected value. */
::placeholder {
    color: #767676 !important;
    opacity: 1;
}

/* Strikethrough regular/sale price and unit price parenthetical â€” #949494 only reaches 3.03:1,
   below the 4.5:1 required for normal-size text (WCAG 1.4.3). Use #767676 (4.54:1) instead. */
.product-grid-unit-reg-price,
.product-modal-unit-reg-price,
.product-grid-base-unit-price {
    color: #767676 !important;
}
/* end ACC-022 */


/* T2-002 border contrast fixes (WCAG 1.4.11)  */

/* UIKit .uk-card-default ships border rgba(0,0,0,0.1) (1.25:1) - raise to rgba(0,0,0,0.45) (3.36:1) */
.uk-card-default {
    border: 1px solid rgba(0, 0, 0, 0.45) !important;
}

/* Filter toggle buttons (.uk-button-default) ship border #ddd (~1.36:1) - raise to rgba(0,0,0,0.45) (3.36:1) */
.uk-button-default {
    border-color: rgba(0, 0, 0, 0.45);
}
/* end T2-002 */

/* ACC-030: Order totals definition list layout */
.order-totals-list {
    margin: 0;
    padding: 0;
}
.order-totals-list dt,
.order-totals-list dd {
    display: inline-block;
    margin: 2px 0;
    padding: 2px 0;
    vertical-align: top;
}
.order-totals-list dt {
    width: 75%;
    font-weight: bold;
}
.order-totals-list dd {
    width: 24%;
    text-align: right;
}
.order-totals-list dt::after {
    content: '';
    display: block;
}
.order-totals-list dt.order-totals-total,
.order-totals-list dd.order-totals-total {
    font-weight: bold;
    border-top: 1px solid #cccccc;
    padding-top: 6px;
    margin-top: 4px;
}
    .order-totals-list .order-totals-note {
        display: block;
        width: 100%;
        font-style: italic;
        font-size: 10pt;
        color: #333333;
        margin-bottom: 4px;
        text-align: left;
    }
/* end ACC-030 */

/* ACC-001 — Native <dialog> modal overrides
   UIKit targets .uk-modal (div) with display:none + opacity fade.
   Native <dialog> is shown via the [open] attribute via showModal().
   These rules make dialog.uk-modal behave like UIKit's overlay
   while using the browser's built-in top-layer / focus-trap / Escape. */
dialog.uk-modal {
    /* Reset UIKit's fixed-overlay layout — <dialog> sits in top layer */
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    /* overflow must NOT be set on the <dialog> itself — doing so breaks the
       browser's built-in focus trap in Chromium (crbug.com/1450137).
       Scrolling is handled by the inner .uk-modal-dialog child instead. */
    overflow: visible;
    opacity: 1;
    z-index: 1010;
}
dialog.uk-modal[open] {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 15px;
}
/* Dim overlay via ::backdrop (replaces UIKit's rgba background on the wrapper) */
dialog.uk-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
}
/* Slide-in: keep UIKit animation on the inner dialog box */
dialog.uk-modal[open] .uk-modal-dialog {
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;   /* scrolling lives here, not on the <dialog>, to preserve native focus trap */
    max-height: calc(100vh - 30px);
    max-height: calc(100dvh - 30px - env(safe-area-inset-bottom));  /* mobile: excludes browser toolbar */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
/* end ACC-001 */

/* ACC-001 — #confirm-modal subscription image padding (regression fix) */
#product-subscriptions-info-top-left {
    padding-right: 15px;
}
#subscription-confirm-image {
    padding: 8px;
    max-width: 100%;
    height: auto;
}
/* end ACC-001 confirm image */

/* ACC-001 — cart panel: reset native <dialog> UA defaults.
   Overrides the centred-modal defaults above; positions the inner
   offcanvas-bar flush to the right edge, matching the old uk-offcanvas style. */
#shopping-cart.uk-modal,
dialog#shopping-cart {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
    z-index: 1010;
}
dialog#shopping-cart[open] {
    display: block;
}
dialog#shopping-cart::backdrop {
    background: rgba(0, 0, 0, 0.6);
}
dialog#shopping-cart .uk-offcanvas-bar,
dialog#shopping-cart .uk-offcanvas-bar-light {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 270px;
    max-width: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
    /* Cancel UIKit's translateX(-100%) / translateX(100%) slide-out default —
       the dialog element itself is shown/hidden, so the bar should always be visible
       when the dialog is open. */
    transform: none;
    -webkit-transform: none;
}
/* end ACC-001 cart panel */

/* WCAG 1.4.10 — at the 320px reference viewport switch the product grid to one card
   per row so badges, prices, unit names and attribute icons all have room to display
   without horizontal overflow.  Two columns at this width leave cards only ~150px wide,
   which is the root cause of the badge, price-text and unit-name overflow failures. */
@media (max-width: 320px) {
    .uk-width-xs-1-2 {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* WCAG 2.1 AA, Item 21 - registration drawer motion and reflow */
@media (prefers-reduced-motion: reduce) {
    dialog#login-drawer, dialog#login-drawer * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
@media (max-width: 400px) {
    #login-drawer { overflow-wrap: anywhere; }
    #login-drawer .reg-row { display: block; }
    #login-drawer .reg-row > * { width: 100%; margin-bottom: 10px; }
}

/* Prevent iOS Safari auto-zoom on focus (fields must be 16px+ on touch devices) */
@media (pointer: coarse) {
    dialog#login-drawer input:not([type=checkbox]):not([type=radio]),
    dialog#login-drawer select,
    dialog#login-drawer textarea,
    #register-wizard-drawer .uk-input,
    #register-wizard-drawer .uk-select,
    #register-wizard-drawer .uk-textarea { font-size: 16px; }
}

/* Mobile: account button shows only the person icon */
@media (max-width: 639px) {
    .top-bar-hello { display: none; }
}
