/* ElectroJC OpenCart shell (common-layout lane). Loaded after theme.css; theme.css is a verbatim copy of static. */
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; }
.drawer { min-height: 100vh; }
.drawer-content { display: flex; flex-direction: column; min-height: 100vh; }
.drawer-content > .mk-main { flex: 1 0 auto; }
.drawer-content > .mk-footer { margin-bottom: 0; }
/* drawer from the left, above sticky header */
.drawer-side { z-index: 70; }
.drawer-side .mk-drawer-panel { overflow-y: auto; scrollbar-width: none; }
.drawer-side .mk-drawer-panel::-webkit-scrollbar { display: none; }
/* suggest: no scrollbar, no clipped text */
.mk-suggest { max-height: none; }
.mk-suggest .mk-s-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* toast: error variant, nothing left after hide */
.mk-toast:empty { display: none; }
.mk-toast .alert.mk-toast-err { border-left-color: #e5484d; }
.mk-toast .alert.mk-toast-err i.fa-circle-exclamation { color: #e5484d; font-size: 18px; margin-top: 1px; }
/* light checkboxes with visible tick, no rings */
form input[type="checkbox"]:not(.toggle) { accent-color: #f5c518; background-color: #fff; }
input:focus, select:focus, textarea:focus, button:focus { outline: none !important; box-shadow: none !important; }
a:hover { text-decoration: none; }
.mk-promo a:hover { text-decoration: underline; }

/* fix 2026-11-26: square cart and wishlist buttons everywhere (cards, product page) */
body .mk-btn-cart.btn, body .mk-btn-wish.btn, body .mk-buyrow .mk-btn-cart.btn, body .mk-buyrow .mk-btn-wish.btn { border-radius: 6px; }

/* fix 2026-11-26: no oval buttons on the site, all buttons are square (r6) */
:root, [data-theme] { --rounded-btn: 6px; }
body .btn, body button.btn, body a.btn, body label.btn, body .btn-circle,
body .mk-main > .container .btn, body .mk-r8-cta .btn, body .mk-r8-back .btn,
body .mk-hs-cta, body .mk-buyrow .mk-btn-cart.btn { border-radius: 6px !important; }
body .mk-qty.join, body .mk-rv-pager .pagination { border-radius: 6px; }
body .mk-subscribe .input, body .mk-home .mk-subscribe .join > .input { border-radius: 6px 0 0 6px; }
body .join > .btn:not(:first-child):not(:last-child) { border-radius: 0 !important; }
body .join > .btn:first-child:not(:last-child) { border-radius: 6px 0 0 6px !important; }
body .join > .btn:last-child:not(:first-child) { border-radius: 0 6px 6px 0 !important; }
