/* Shared compact actions and readable account workspace. */
.store-menu-link{display:inline-flex;align-items:center;gap:7px;min-width:0}.store-menu-link>.icon,.store-menu-link>.action-arrow{width:15px!important;height:15px!important;flex:0 0 15px;margin:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8}.shop-footer .store-menu-link{display:flex;width:max-content;max-width:100%;text-decoration:none}.shop-footer .store-menu-link:hover{color:var(--focus,var(--accent));transform:translateX(2px)}
.contact-item{display:flex;align-items:flex-start;gap:12px;min-width:0}.contact-item>.icon,.contact-item>svg{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.7;color:var(--focus,var(--accent));margin-top:2px}.contact-item>div{min-width:0}.contact-item p{overflow-wrap:anywhere;margin:6px 0 0}.contact-item strong{display:block}
.mobile-header-cart{display:none}.mobile-store-dock .dock-cart b{position:absolute;top:2px;left:calc(50% + 6px);font-size:9px;line-height:16px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;background:var(--accent,#ff9900);color:var(--on-accent,#152036);border-radius:20px}
.shop .dealer-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.shop .dealer-heading>div{min-width:0;flex:1}.shop .dealer-heading>.continue-shopping{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;align-self:center;min-height:42px;height:auto;padding:11px 16px;font-size:12px;line-height:1.5;white-space:nowrap;border-radius:10px}.continue-shopping svg{width:17px!important;height:17px!important;flex:0 0 17px}
.shop .payment-complete-button{display:flex;align-items:center;justify-content:center;gap:11px;min-height:52px;padding:14px 17px;box-sizing:border-box;font-size:13px;line-height:1.5;max-width:100%;border-radius:10px}.shop .payment-complete-button>span{flex:1;min-width:0;text-align:center;overflow-wrap:anywhere}.shop .payment-complete-button>svg{width:20px!important;height:20px!important;flex:0 0 20px;margin:0}
.product-breadcrumb{display:flex;flex-wrap:wrap;gap:5px 8px;line-height:1.65;white-space:normal}.product-breadcrumb a{max-width:100%;overflow-wrap:anywhere}.product-breadcrumb [aria-current=page]{min-width:0;overflow-wrap:anywhere}
.dealer-metrics>a{min-width:0;position:relative;padding:17px;box-sizing:border-box}.dealer-metrics>a>div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.dealer-metrics svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.6}.dealer-metrics>a>strong{display:block;font-size:27px;line-height:1.2;overflow-wrap:anywhere;margin:12px 0 8px}.dealer-metrics>a>small{display:block;font-size:10px;line-height:1.5}.dealer-account-welcome{min-width:0}.dealer-account-welcome h2{overflow-wrap:anywhere;line-height:1.3}.dealer-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.dealer-quick-actions>a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;min-width:0;white-space:normal;text-align:center}.dealer-quick-actions svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7}.dealer-recent-orders>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.dealer-recent-orders>header a{font-size:11px;flex:none}.dealer-recent-row{min-width:0;overflow-wrap:anywhere}.dealer-recent-row>div{min-width:0}.dealer-recent-row strong{overflow-wrap:anywhere}
@media(max-width:700px){
.shop-header{position:relative;grid-template-columns:34px minmax(0,1fr) 42px!important}.shop-header>.mobile-header-cart{display:flex;grid-column:3;grid-row:1;align-items:center;justify-content:center;position:relative;align-self:center;width:42px;height:42px;box-sizing:border-box;border:1px solid var(--line,#dce3ec);border-radius:10px;color:var(--ink,#20314b);background:#fff}.mobile-header-cart>.icon,.mobile-header-cart>svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.mobile-header-cart>b{position:absolute;top:-5px;right:-5px;background:var(--accent,#ff9900);color:var(--on-accent,#111827);font-size:9px;line-height:17px;min-width:17px;height:17px;padding:0 4px;border-radius:10px;box-sizing:border-box}.shop-header #header-account{grid-column:1/-1!important;grid-row:2!important;justify-self:stretch;max-width:100%!important;width:100%;margin:0;justify-content:flex-end}.shop-header>form[role=search]{grid-column:1/-1!important;grid-row:3!important}.shop-header.signed-in #header-account>.desktop-cart-link{display:none}.shop-header #header-account>.header-dealer-account{max-width:none;flex:1}.mobile-store-dock{grid-template-columns:repeat(5,minmax(0,1fr))!important}.mobile-store-dock>a{min-width:0;font-size:9px;gap:4px;line-height:1.3;text-align:center}.mobile-store-dock>a>.icon,.mobile-store-dock>a>svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}
.shop .dealer-heading{flex-direction:column;align-items:stretch;gap:12px}.shop .dealer-heading>.continue-shopping{align-self:flex-start;min-height:40px;width:auto;max-width:100%;padding:10px 14px;font-size:12px}.dealer-workspace{display:block;min-width:0}.dealer-workspace-content{min-width:0}.dealer-sidebar{margin-bottom:18px;border-radius:12px;overflow:hidden}.dealer-sidebar>summary{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;min-height:48px}.dealer-sidebar>summary .icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.dealer-account-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.dealer-account-nav>a{display:flex;align-items:center;justify-content:flex-start;gap:8px;font-size:11px;min-width:0;padding:10px;min-height:44px;box-sizing:border-box;white-space:normal}.dealer-account-nav svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.6}.dealer-account-welcome{display:flex;flex-direction:column;gap:16px;padding:19px}.dealer-account-welcome h2{font-size:23px}.dealer-account-discount{width:100%;display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;padding:13px;text-align:left;box-sizing:border-box}.dealer-account-discount>svg{width:20px;height:20px}.dealer-account-discount>strong{font-size:26px}.dealer-account-discount>small{grid-column:1/-1;font-size:10px}.dealer-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dealer-metrics>a{padding:14px}.dealer-metrics>a>div>span{font-size:11px;line-height:1.5}.dealer-metrics>a>strong{font-size:23px}.dealer-metrics svg{width:19px;height:19px;flex-basis:19px}.dealer-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dealer-quick-actions>a{font-size:11px;padding:10px}.dealer-quick-actions>a:last-child{grid-column:1/-1}.dealer-recent-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:13px 0}.dealer-recent-row>div{grid-column:1/-1}.dealer-recent-row strong{font-size:12px}.dealer-recent-row>b{font-size:14px}.dealer-recent-orders>header{align-items:flex-start;gap:10px}.dealer-recent-orders>header h2{font-size:18px}.dealer-contact-card{display:flex;flex-direction:column;gap:12px;align-items:stretch}.dealer-contact-card>a{align-self:flex-start}.shop .payment-complete-button{padding:13px 12px;font-size:12px;gap:8px;min-height:52px}.shop .payment-complete-button>svg:last-child{display:none}.live-payment-form,.live-checkout-grid,.payment-form-fields{min-width:0;max-width:100%;box-sizing:border-box}
}

.shop .page-heading>.continue-shopping{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;align-self:center;padding:11px 16px;min-height:42px;height:auto;white-space:nowrap;font-size:12px;line-height:1.5;border-radius:10px}.shop .page-heading>.continue-shopping span{flex:none}.header-cart.mobile-header-cart>svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.mobile-store-dock .dock-cart{position:relative}
@media(min-width:701px){.header-cart.mobile-header-cart{display:flex;align-items:center;gap:6px}.header-cart.mobile-header-cart>b[hidden]{display:none}}
@media(max-width:700px){.shop .page-heading:has(>.continue-shopping){display:flex;flex-direction:column;align-items:stretch;gap:12px}.shop .page-heading>.continue-shopping{align-self:flex-start;padding:10px 14px;min-height:40px}.header-cart.mobile-header-cart>b[hidden]{display:none}}

/* Native date controls stay inside payment cards on iOS and narrow screens. */
.payment-form-fields>.field,.live-payment-form{min-width:0;max-width:100%;box-sizing:border-box}
.payment-form-fields input,.payment-form-fields select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%}
.payment-form-fields input[type=date]{appearance:none;-webkit-appearance:none;min-inline-size:0;max-inline-size:100%;inline-size:100%;min-height:46px;text-align:left;font-family:inherit;font-size:16px}
.payment-form-fields input[type=date]::-webkit-date-and-time-value{min-height:1.5em;text-align:left}
.payment-form-fields input[type=date]::-webkit-datetime-edit{min-width:0;padding:0}
@media(max-width:760px){.payment-form-fields{grid-template-columns:minmax(0,1fr)!important}.payment-form-fields>.field{width:100%}}

/* Product pages keep the compact mobile header; desktop navigation stays visible. */
@media(max-width:700px){.product-route .shop-nav,.product-route .product-breadcrumb{display:none!important}}

@media(max-width:700px){
.mobile-header-cart[data-cart-empty=true],.mobile-store-dock .dock-cart[data-cart-empty=true]{display:none!important}
.mobile-store-dock:has(>.dock-cart[data-cart-empty=true]){grid-template-columns:repeat(4,minmax(0,1fr))!important}
.shop-header>.mobile-header-cart{grid-column:3!important;grid-row:2!important;justify-self:end}
.shop-header #header-account{grid-column:1/3!important;grid-row:2!important;justify-self:end;justify-content:flex-end;width:100%;padding:0!important;border:0!important}
.shop-header.signed-in:has(>.mobile-header-cart[data-cart-empty=true])>#header-account{grid-column:1/-1!important}
.shop-header:not(.signed-in){grid-template-columns:34px minmax(0,1fr) auto auto!important;column-gap:7px}
.shop-header:not(.signed-in)>.theme-logo{--logo-width:clamp(72px,22vw,100px)}
.shop-header:not(.signed-in)>#header-account{grid-column:3!important;grid-row:1!important;width:auto!important;max-width:110px!important}
.shop-header:not(.signed-in)>.mobile-header-cart{grid-column:4!important;grid-row:1!important}
.shop-header:not(.signed-in)>form[role=search]{grid-row:2!important}
.shop-header:not(.signed-in) #header-account>.account-button{font-size:11px;padding:9px 8px;gap:5px;min-height:42px;white-space:nowrap}
.shop-header:not(.signed-in) #header-account>.account-button>svg{width:17px;height:17px;flex:none}
}

/* Footer groups share native keyboard-accessible disclosure controls. */
.footer-group{min-width:0}.footer-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none}.footer-group>summary::-webkit-details-marker{display:none}.footer-group>summary>h2{margin:0}.footer-group>summary>svg{display:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}.footer-group-links{min-width:0}.footer-group-links p{overflow-wrap:anywhere}
@media(min-width:701px){.footer-group>summary{pointer-events:none;margin-bottom:15px}}
@media(max-width:700px){
.shop-footer{padding:20px 0 12px!important}.shop-footer .footer-grid{display:block!important;padding-block:0!important;gap:0!important}.shop-footer .footer-brand{display:flex;align-items:center;gap:15px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--line,#dce3ec)}.shop-footer .footer-brand .theme-logo{--logo-width:100px;flex:0 0 100px;margin:0}.shop-footer .footer-brand>p{font-size:11px;line-height:1.6;margin:0;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shop-footer .footer-social{display:none}
.shop-footer .footer-group{margin:0;border-bottom:1px solid var(--line,#dce3ec)}.shop-footer .footer-group>summary{min-height:46px;padding:10px 0;box-sizing:border-box;cursor:pointer;color:var(--ink)}.shop-footer .footer-group>summary>h2{font-size:13px;line-height:1.4;font-weight:600;margin:0}.shop-footer .footer-group>summary>svg{display:block;transition:transform .15s}.shop-footer .footer-group[open]>summary>svg{transform:rotate(180deg)}.shop-footer .footer-group-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;padding:0 0 10px}.shop-footer .footer-group-links>a{display:flex;align-items:center;min-height:36px;font-size:12px;line-height:1.5;padding:6px 0!important;margin:0!important;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}.shop-footer .footer-group-links>p{margin:5px 0;font-size:11px;line-height:1.6}.shop-footer .footer-contact-links>a{font-size:11px}.shop-footer .footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px;margin-top:14px;padding-block:0!important;font-size:10px;line-height:1.5}.shop-footer .footer-policy-links{display:flex;flex-wrap:wrap;gap:3px 12px;padding-block:10px 0!important;margin-top:6px}.shop-footer .footer-policy-links>a,.shop-footer .footer-policy-links>button{font-size:10px;line-height:1.5;padding:4px 0!important;margin:0!important;min-height:30px}
}

/* Mobile header actions share one bounded flex group instead of competing grid cells. */
.shop-header>.header-actions{display:contents}
@media(max-width:700px){
#vba .shop-header,#vba .shop-header:not(.signed-in){display:grid;grid-template-columns:36px minmax(0,1fr) auto!important;grid-template-rows:auto auto;align-items:center;gap:12px 8px!important;max-width:100%;min-width:0;box-sizing:border-box;padding-block:12px!important}
#vba .shop-header>.mobile-only{grid-column:1!important;grid-row:1!important;width:36px;height:42px;min-height:42px;min-width:0;padding:0;box-sizing:border-box}
#vba .shop-header>.theme-logo,#vba .shop-header:not(.signed-in)>.theme-logo{grid-column:2!important;grid-row:1!important;--logo-width:clamp(88px,27vw,112px);max-width:100%;justify-self:start;box-sizing:border-box}
#vba .shop-header>.header-actions{display:flex;grid-column:3!important;grid-row:1!important;align-items:center;justify-content:flex-end;gap:8px;min-width:0;max-width:100%;box-sizing:border-box;margin:0;padding:0}
#vba .shop-header .header-actions>#header-account{display:flex;align-items:center;justify-content:flex-end;flex:1 1 auto!important;flex-wrap:nowrap;gap:8px;width:auto!important;min-width:0;max-width:100%!important;margin:0!important;padding:0!important;border:0}
#vba .shop-header:not(.signed-in) .header-actions>#header-account>.account-button{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;gap:6px;width:auto;min-width:0;max-width:100%;min-height:42px;margin:0;padding:9px 10px;box-sizing:border-box;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}
#vba .shop-header .header-actions>#header-account .account-button>svg{width:18px;height:18px;flex:0 0 18px}
#vba .shop-header .header-actions>.mobile-header-cart{display:flex;align-items:center;justify-content:center;position:relative;flex:0 0 42px;width:42px;height:42px;min-width:0;min-height:42px;margin:0;padding:9px;box-sizing:border-box;overflow:visible;grid-column:auto!important;grid-row:auto!important;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#fff}
#vba .shop-header .header-actions>.mobile-header-cart[data-cart-empty=true]{display:none!important}
#vba .shop-header .header-actions>.mobile-header-cart>svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.7}
#vba .shop-header .header-actions>.mobile-header-cart>b{position:absolute;top:1px;right:1px;min-width:16px;height:16px;padding:0 3px;box-sizing:border-box;border-radius:20px;font-size:9px;line-height:16px;text-align:center;background:var(--accent);color:var(--on-accent);max-width:34px}
#vba .shop-header>form[role=search],#vba .shop-header:not(.signed-in)>form[role=search]{display:flex;align-items:stretch;grid-column:1/-1!important;grid-row:2!important;gap:0;order:initial;flex:none;width:100%;min-width:0;max-width:100%;margin:0;padding:0;box-sizing:border-box;overflow:hidden;border-radius:10px}
#vba .shop-header>form[role=search]>input{display:block;flex:1 1 0%;width:0;min-width:0;max-width:100%;height:44px;min-height:44px;margin:0;padding:11px 12px;box-sizing:border-box;font:inherit;font-size:16px;border-radius:10px 0 0 10px}
#vba .shop-header>form[role=search]>button{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;min-width:46px;height:44px;min-height:44px;margin:0;padding:10px;box-sizing:border-box;line-height:1;border-radius:0 10px 10px 0}
#vba .shop-header>form[role=search]>button>svg{display:block;flex:0 0 20px;width:20px;height:20px;margin:0;fill:none;stroke:currentColor;stroke-width:1.8}
#vba .shop-header.signed-in>.theme-logo{grid-column:2/-1!important}
#vba .shop-header.signed-in>.header-actions{grid-column:1/-1!important;grid-row:2!important;width:100%;justify-content:space-between;gap:8px}
#vba .shop-header.signed-in>form[role=search]{grid-row:3!important}
#vba .shop-header.signed-in .header-actions>#header-account{flex:1 1 0%!important;justify-content:space-between;width:0!important;min-width:0;max-width:100%}
#vba .shop-header.signed-in .header-actions>#header-account>.desktop-cart-link{display:none!important}
#vba .shop-header.signed-in .header-actions>#header-account>.header-dealer-account{display:flex;align-items:center;flex:1 1 0%;gap:7px;min-width:0;max-width:100%;min-height:42px;margin:0;padding:7px 9px;box-sizing:border-box;font-size:12px;line-height:1.4;overflow:hidden;border-radius:10px}
#vba .shop-header .header-dealer-name{display:block;flex:1 1 0%;min-width:0;max-width:100%}
#vba .shop-header .header-dealer-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit;font-weight:600}
#vba .shop-header .header-dealer-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.4}
#vba .shop-header .header-actions .dealer-header-logout{display:block;flex:0 0 auto;width:auto;min-width:0;max-width:none;order:initial;margin:0;padding:0}
#vba .shop-header .header-actions .logout-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:0;min-height:42px;height:42px;margin:0;padding:9px 10px;box-sizing:border-box;white-space:nowrap;font:inherit;font-size:11px;line-height:1.4;border:1px solid var(--line);border-radius:10px}
}
