/* Keep the logo on the viewport center, with matching icon groups on each side. */
@media (max-width: 1023px) {
    #header .homie-mobile-header { padding: 10px 12px; }
    #header .homie-mobile-header .mob-header-align {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(84px, 28vw, 110px) minmax(0, 1fr);
        align-items: center;
        gap: 4px;
    }
    #header .homie-mobile-header .mobile-nav-block,
    #header .homie-mobile-header .mobile-actions-block { gap: 0; min-width: 0; }
    #header .homie-mobile-header .mobile-nav-block { justify-content: flex-start; flex-direction: row !important; }
    #header .homie-mobile-header .mobile-actions-block { justify-content: flex-end; }
    #header .homie-mobile-header .snowdog-topmenu-mobile,
    #header .homie-mobile-header .udeytech-menu--mobile { order: 0; flex: 0 0 44px; }
    #header .homie-mobile-header #menu-search-icon-mobile { order: 1; }
    #header .homie-mobile-header .snowdog-topmenu-mobile > button,
    #header .homie-mobile-header .udeytech-menu--mobile > .udeytech-menu__open,
    #header .homie-mobile-header #menu-search-icon-mobile,
    #header .homie-mobile-header .mobile-account-block > div > button,
    #header .homie-mobile-header #menu-cart-icon-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 8px;
    }
    #header .homie-mobile-header .mobile-logo-block { min-width: 0; }
    #header .homie-mobile-header .mobile-logo-block a { display: block; width: 100%; margin: 0; }
    #header .homie-mobile-header .mobile-logo-block img { width: 100%; max-width: 110px; height: auto; margin-inline: auto; }
    #header .homie-mobile-header button:focus-visible,
    #header .homie-mobile-header a:focus-visible { outline: 2px solid #245a79 !important; outline-offset: 2px; }
}
/* Cart details and checkout form text must stay readable at the device's native scale. */
#cart-drawer { font-size: 16px; line-height: 1.5; }
#cart-drawer #cart-drawer-title { font-size: 24px; line-height: 1.3; }
#cart-drawer .items-total,
#cart-drawer dl,
#cart-drawer dt,
#cart-drawer dd,
#cart-drawer .price,
#cart-drawer input,
#cart-drawer .message { font-size: 16px; line-height: 1.5; }
#cart-drawer li p,
#cart-drawer li p a { font-size: 18px; line-height: 1.45; overflow-wrap: anywhere; }
#cart-drawer dd { overflow-wrap: anywhere; }
#cart-drawer > div > dl,
#cart-drawer > div > dl .price,
#cart-drawer a.btn { font-size: 18px; line-height: 1.5; }
#cart-drawer a.btn { min-height: 48px; white-space: normal; text-align: center; }
#cart-drawer li > .grow { min-width: 0; }
body.checkout-index-index #checkout { font-size: 16px; line-height: 1.5; }
/* The required asterisk must not enlarge a label's line box beside optional fields. */
body.checkout-index-index #checkout .field._required > .label::after,
body.checkout-index-index #checkout .field.required > .label::after {
    font-size: 1em;
    line-height: inherit;
}
body.checkout-index-index #checkout :is(label, .label, input, select, textarea, .field-tooltip-content,
    .product-item-name, .item-options, .item-options dt, .item-options dd, .price, .mark,
    .totals, .table-checkout-shipping-method, .payment-method-title, .checkout-agreements, .message) {
    font-size: 16px;
    line-height: 1.5;
}
body.checkout-index-index #checkout :is(.step-title, .amcheckout-title, .block-title, .action.primary, .grand.totals) {
    font-size: 18px;
    line-height: 1.5;
}
/* Standalone discovery section is separated from the footer and page content. */
.homie-footer-discover { margin-block: 48px; padding: 40px 20px; text-align: center; background: #f7f5f1; border-top: 1px solid #e9e5dd; border-bottom: 1px solid #e9e5dd; }
.homie-footer-discover h2 { font-size: 28px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.homie-footer-discover p { font-size: 18px; line-height: 1.6; color: #555; margin: 0 auto 24px; max-width: 700px; }
.homie-footer-discover nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; margin: auto; }
.homie-footer-discover a { padding: 12px 22px; border: 1px solid #b7b0a4; border-radius: 5px; background: #fff; color: #333; min-width: 150px; font-size: 18px; line-height: 1.5; }
.homie-footer-discover a:hover { border-color: #333; background: #eee9e0; }
.homie-footer-discover a:focus-visible { outline: 2px solid #245a79; outline-offset: 3px; }
@media (max-width: 640px) {
    .homie-footer-discover { margin-block: 32px; padding: 32px 16px; }
    .homie-footer-discover h2 { font-size: 26px; }
    .homie-footer-discover nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .homie-footer-discover a { min-width: 0; padding: 12px 8px; font-size: 16px; }
}
.product-item-photo .homie-card-prev,.product-item-photo .homie-card-next{display:flex!important;align-items:center;justify-content:center;width:32px!important;height:40px!important;padding:0!important;line-height:1;direction:ltr;border-radius:20px;transform:translateY(-50%)}
.product-item-photo .homie-card-prev{left:4px!important;right:auto!important}
.product-item-photo .homie-card-next{right:4px!important;left:auto!important}
/* Readable site typography: small utility text stays at least 14px. */
html { font-size: 18px !important; --text-xs: 14px; --text-sm: 16px; }
body { font-size: 18px !important; line-height: 1.6; }
body :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 16px; }
body :is(.btn, button.action, a.action, .field > label, .field > .label) { font-size: 16px; }
body :is(.breadcrumbs, .copyright, .message, .field-error) { font-size: 14px; line-height: 1.5; }
body .udeytech-menu nav :is(a, .udeytech-menu__content) { font-size: 16px; line-height: 1.5; }
body .page-footer :is(nav a, li a, p),
body footer :is(nav a, li a, p) { font-size: 16px; line-height: 1.6; }
body .page-footer :is(a, p), body footer :is(a, p) { overflow-wrap: anywhere; }
body.cms-index-index #maincontent p,
body.cms-home #maincontent p { font-size: 18px; line-height: 1.6; }
body.cms-index-index #maincontent h2,
body.cms-index-index .hyva-category .title-font,
body.cms-index-index .hyva_multi_field h2.title-font,
body.cms-index-index .popular-categories-wrapper h2.text-3xl,
body.cms-index-index .homie-faq h2,
body.cms-home #maincontent h2 { font-size: 32px; line-height: 1.3; overflow-wrap: anywhere; }
body.cms-index-index .popular-categories-wrapper p.text-base { font-size: 18px; line-height: 1.6; }
@media (max-width: 767px) {
    body.cms-index-index #maincontent h2,
    body.cms-index-index .hyva-category .title-font,
    body.cms-index-index .hyva_multi_field h2.title-font,
    body.cms-index-index .popular-categories-wrapper h2.text-3xl,
    body.cms-index-index .homie-faq h2,
    body.cms-home #maincontent h2 { font-size: 28px; }
}
@media(max-width:767px){.homie-filter-row{gap:8px}.homie-filter-row .filter-option{min-width:108px}.homie-filter-row .filter-option>h3>button{padding-inline:10px;gap:8px}}
/* Homepage image panels need readable cards rather than four desktop-width miniatures. */
@media(max-width:767px){body.cms-index-index .hyva_multi_field-content-data>.relative{max-width:100%!important}body.cms-index-index .hyva_multi_field.section .js_slide.flex{width:calc(85% - 20px)!important;min-width:0}body.cms-index-index .hyva_multi_field.section .js_slide.flex img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}}
