/* Account pages share the storefront typography, controls and spacing. */
.z-account-page {padding-bottom:64px;--account-border:#dce6eb}
.z-store .z-account-page h1 {font-size:clamp(28px,3vw,42px);font-weight:700;color:#183b4b;line-height:1.2;margin:0 0 24px}
.z-account-page h2,.z-account-page legend {color:#183b4b;font-size:22px;font-weight:650;line-height:1.35}
.z-account-page > .row {gap:32px;flex-wrap:nowrap;margin-inline:0;align-items:start}
.z-account-page > .row > #content {min-width:0;padding:30px;border:1px solid var(--account-border);border-radius:20px;background:white}
.z-account-page > .row > aside {width:280px;flex:0 0 280px;padding:0}
.z-account-page p {line-height:1.7;color:#526a78}
.z-account-page fieldset {margin:28px 0}
.z-account-page legend {padding-bottom:14px;border-bottom:1px solid var(--account-border);margin-bottom:22px}
.z-account-page .col-form-label {font-weight:600;line-height:1.5;color:#294c5c}
.z-account-page .form-control,.z-account-page .form-select {min-height:48px;border:1px solid #cedde5;border-radius:10px;background-color:#f8fafb;color:#183b4b;padding:12px 14px;transition:border-color .18s,box-shadow .18s,background-color .18s}
.z-account-page .form-control:focus,.z-account-page .form-select:focus {border-color:#086186;background-color:white;box-shadow:0 0 0 3px #08618620}
.z-account-page .form-control.is-invalid {border-color:#bd3946}
.z-account-page .form-check-input:checked {background-color:#086186;border-color:#086186}
.z-account-page .btn {min-height:44px;padding:11px 20px;border-radius:10px;line-height:1.4;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s;text-decoration:none;white-space:normal}
.z-account-page .btn-primary {background:#086186;border-color:#086186;color:white}
.z-account-page .btn-primary:hover {background:#064a67;border-color:#064a67}
.z-account-page .btn-light,.z-account-page .btn-default {background:#f1f6f8;border:1px solid #dce6eb;color:#254b5d}
.z-account-page .btn-light:hover,.z-account-page .btn-default:hover {background:#dfedf3;border-color:#becfd9}
.z-account-page .btn:focus-visible {outline:2px solid #086186;outline-offset:3px;box-shadow:none}
.z-account-page .table-responsive {border:1px solid var(--account-border);border-radius:12px;margin-block:24px;max-width:100%;overflow:auto}
.z-account-page .table {margin:0;color:#294c5c;vertical-align:middle}
.z-account-page .table td,.z-account-page .table th {padding:14px;border-color:#e2eaf0}
.z-account-page .table thead td,.z-account-page .table thead th {background:#f1f6f8;font-weight:600;color:#183b4b}
.z-account-page .table .btn {padding:10px;min-width:42px}
.z-account-page .alert {border-radius:12px}
.z-account-page .list-unstyled {padding:0;display:grid;gap:8px;margin-bottom:28px}
.z-account-page .list-unstyled > li > a {display:block;padding:13px 16px;background:#f5f8fa;border-radius:10px;color:#315567;transition:background .18s,color .18s}
.z-account-page .list-unstyled > li > a:hover {background:#e3eff4;color:#064a67;text-decoration:none}
.z-account-nav.list-group {padding:10px;border:1px solid #dce6eb;border-radius:16px;background:#f3f7f9;gap:3px}
.z-account-nav .list-group-item {border:0!important;background:transparent;border-radius:9px!important;padding:13px 15px;color:#526a78;font-size:14px;line-height:1.45;transition:background .18s,color .18s}
.z-account-nav .list-group-item:hover {background:#e5eff4;color:#086186;text-decoration:none}
.z-account-nav .list-group-item[aria-current=page] {background:#dcecf3;color:#064a67;font-weight:650}
.z-account-nav .list-group-item:focus-visible {outline:2px solid #086186;outline-offset:-2px}
#account-login #content > .row {display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0}
#account-login #content > .row > .col {padding:0;min-width:0}
#account-login #content .border {border:0!important;padding:0!important}
#account-login #content > .row > .col:first-child {background:#f1f7fa;padding:24px;border-radius:14px;order:2}
#account-login #content > .row > .col:last-child {padding:8px 0}
#account-login .text-end {margin-top:22px}
#account-login form .btn {width:100%}
.z-auth-dialog {width:min(560px,calc(100% - 32px));max-width:none;height:min(740px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #dce6eb;border-radius:22px;background:white;color:#183b4b;box-shadow:0 20px 80px #092b4440;overflow:hidden}
.z-auth-dialog::backdrop {background:#17374780;backdrop-filter:blur(4px)}
.z-auth-dialog[open] {display:flex;flex-direction:column;animation:z-auth-in .22s ease-out}
.z-auth-heading {display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e2eaf0;gap:16px}
.z-auth-heading h2 {margin:0;font-size:22px;font-weight:700;color:#183b4b}
.z-auth-close {width:42px;height:42px;flex:0 0 42px;border:0;border-radius:10px;background:#edf4f7;color:#18495e;font-size:28px;line-height:1;display:grid;place-items:center;transition:background .18s,color .18s}
.z-auth-close:hover {background:#086186;color:white}
.z-auth-close:focus-visible {outline:2px solid #086186;outline-offset:3px}
.z-auth-frame {width:100%;flex:1;min-height:0;border:0;background:white}
.z-auth-loading {padding:12px 24px;margin:0;color:#526a78}
.z-auth-embedded .z-header,.z-auth-embedded .z-footer,.z-auth-embedded .z-back-top,.z-auth-embedded .z-cookie-banner,.z-auth-embedded [data-cookie-banner],.z-auth-embedded .breadcrumb,.z-auth-embedded .z-account-page > .row > aside {display:none!important}
.z-auth-embedded body {min-width:0}
.z-auth-embedded .z-account-page {width:100%;padding:20px 24px;margin:0;max-width:none}
.z-auth-embedded .z-account-page > .row > #content {padding:0;border:0;border-radius:0}
.z-auth-embedded .z-account-page h1 {display:none}
.z-auth-embedded #account-login #content > .row {grid-template-columns:1fr}
.z-auth-embedded #account-login #content > .row > .col:first-child {padding:20px}
.z-auth-embedded #account-login #content > .row > .col:first-child p {display:none}
.z-auth-embedded #account-login #content > .row > .col:first-child .text-end {margin-top:12px}
.z-auth-embedded #account-login h2 {font-size:19px}
.z-auth-embedded .z-account-page .row.mb-3 > .col-sm-2,.z-auth-embedded .z-account-page .row.mb-3 > .col-sm-10 {width:100%}
.z-auth-embedded #alert {position:static!important;padding:0 24px}
@keyframes z-auth-in {from {opacity:0;transform:translateY(12px)}to {opacity:1;transform:translateY(0)}}
@media(max-width:1199px){#account-login #content > .row {grid-template-columns:1fr}.z-account-page > .row > aside {width:240px;flex-basis:240px}.z-account-page .row.mb-3 > .col-sm-2,.z-account-page .row.mb-3 > .col-sm-10 {width:100%}}
@media(max-width:767px){.z-account-page > .row {flex-direction:column;gap:24px}.z-account-page > .row > #content,.z-account-page > .row > aside {width:100%;flex:auto}.z-account-page > .row > #content {padding:20px 16px;border-radius:14px}.z-account-page .btn {padding-inline:16px}.z-account-page > .row > aside {display:block!important}.z-account-page .z-account-nav {display:grid;grid-template-columns:1fr 1fr}.z-account-nav .list-group-item {padding:12px;font-size:13px}.z-auth-dialog {width:calc(100% - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);border-radius:16px}.z-auth-heading{padding:16px}.z-auth-embedded .z-account-page {padding:16px}.z-auth-embedded .z-account-page > .row > aside {display:none!important}}
@media(prefers-reduced-motion:reduce){.z-auth-dialog[open] {animation:none}.z-account-page *,.z-account-nav *,.z-auth-close {transition:none!important}}

.z-auth-embedded .z-breadcrumb-nav,.z-auth-embedded nav[aria-label="Навігаційний шлях"],.z-auth-embedded nav[aria-label="Навигационный путь"] {display:none!important}
.z-account-page .row.mb-3 > .col-sm-2,.z-account-page .row.mb-3 > .col-sm-10 {width:100%}
.z-account-page form {width:100%;max-width:none}
.z-account-page .col-form-label {text-align:left!important}
/* Compact account layout, following the simple Deals form hierarchy. */
body.z-store:has(.z-account-page){background:#f7f9fa}
.z-store .z-account-page>h1{font-size:28px;line-height:1.3;margin-bottom:20px}
.z-account-page>.row{gap:24px}
.z-account-page>.row>#content{border-radius:8px;padding:24px}
.z-account-page legend{font-size:17px;border:0;margin-bottom:12px;padding:0}
.z-account-page fieldset{margin:24px 0}
.z-account-page .form-control,.z-account-page .form-select{border-radius:6px;background-color:#f7f9fa;min-height:46px;padding:11px 14px}
.z-account-page .col-form-label{font-size:13px;font-weight:500;padding-top:0;padding-bottom:8px}
.z-account-page .btn{border-radius:6px;font-size:14px;min-height:44px;font-weight:600}
.z-account-page p{font-size:14px;line-height:1.65}
.z-account-nav.list-group{border-radius:8px;padding:0;background:#fff;gap:0;overflow:hidden}
.z-account-nav .list-group-item{border-radius:0!important;border-bottom:1px solid #e5ebee!important;padding:13px 16px;font-size:14px}
.z-account-nav .list-group-item:last-child{border-bottom:0!important}
.z-account-nav .list-group-item[aria-current=page]{background:#edf5f8;color:#086186;box-shadow:inset 3px 0 #086186}
.z-account-page .list-unstyled>li>a{border:1px solid #e5ebee;background:#fff;border-radius:6px}
.z-login-form{max-width:520px!important;display:grid;gap:20px;margin:0}
.z-login-field{position:relative}
.z-login-field svg{position:absolute;left:14px;top:14px;width:18px;height:18px;fill:none;stroke:#607984;stroke-width:1.5;pointer-events:none}
.z-account-page .z-login-field .form-control{padding-left:44px}
.z-login-links{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;flex-wrap:wrap}
.z-store .z-login-links a{color:#086186;text-decoration:underline;text-underline-offset:3px}
.z-store .z-login-links a:hover{color:#064a67}
.z-auth-dialog{width:min(480px,calc(100% - 32px));height:auto;max-height:calc(100dvh - 32px);border-radius:10px;box-shadow:0 16px 60px #17374730}
.z-auth-dialog::backdrop{backdrop-filter:none;background:#17374770}
.z-auth-heading{padding:18px 24px;border-bottom:1px solid #edf1f3}
.z-auth-heading h2{font-size:20px;line-height:1.4}
.z-auth-close{width:34px;height:34px;flex-basis:34px;border-radius:6px;background:transparent;font-size:25px;font-weight:400}
.z-auth-close:hover{background:#e5f0f5;color:#086186}
.z-auth-frame{flex:none;height:270px;display:block}
.z-auth-loading[hidden]{display:none}
.z-auth-embedded body.z-store{background:white}
.z-auth-embedded .z-store #container{min-height:0;display:block}
.z-auth-embedded .z-store .z-account-page{padding:24px;max-width:none;width:100%;margin:0}
.z-auth-embedded .z-account-page>.row>#content{padding:0;border:0}
.z-auth-embedded .z-account-page .z-login-form{max-width:none!important;gap:20px}
.z-auth-embedded .z-account-page fieldset{margin:18px 0}
.z-auth-embedded .z-account-page legend{font-size:14px;font-weight:600}
.z-auth-embedded .z-account-page .form-check-label{font-size:12px;line-height:1.6}
.z-auth-embedded .z-account-page .row.mb-3{margin-bottom:14px!important}
.z-auth-embedded .z-account-page p{margin-bottom:16px;font-size:13px}
.z-auth-embedded .z-account-page #form-register>.text-end{display:flex;flex-wrap:wrap;align-items:center;gap:12px;text-align:left!important}
.z-auth-embedded .z-account-page #form-register>.text-end>.btn{width:100%}
.z-auth-embedded .modal-content{border-radius:8px}.z-auth-embedded .modal-body{font-size:14px;line-height:1.7}.z-auth-embedded .modal-body h2{font-size:20px;margin:24px 0 14px}
@media(max-width:767px){.z-store .z-account-page>h1{font-size:25px}.z-account-page>.row>#content{padding:20px 16px}.z-account-page .form-control,.z-account-page .form-select{font-size:16px}.z-account-page .z-account-nav{display:flex}.z-auth-dialog{width:calc(100% - 24px);height:auto;max-height:calc(100dvh - 24px);border-radius:10px}.z-auth-heading{padding:16px 20px}.z-auth-embedded .z-store .z-account-page{padding:20px}.z-login-links{font-size:13px}}
.z-auth-dialog{height:fit-content;margin:auto}
.z-account-page .form-control,.z-account-page .form-select{line-height:1.5;padding-top:10px;padding-bottom:10px}
.z-newsletter-choice{display:flex;align-items:center;gap:10px;margin:8px 0 20px}
.z-newsletter-choice label,.z-agree-choice label{margin:0;font-size:13px;line-height:1.6;font-weight:400;color:#526a78;cursor:pointer}
.z-newsletter-choice .form-check-input{float:none;flex:0 0 34px;width:34px;height:20px;margin:0;border-radius:20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='%23879da7'/%3E%3C/svg%3E");background-size:18px 18px;background-position:left center;transition:background-position .18s,background-color .18s;border-color:#cad7de;cursor:pointer}
.z-newsletter-choice .form-check-input:checked{background-color:#086186;background-position:right center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='white'/%3E%3C/svg%3E")}
.z-register-actions{display:grid;gap:16px}
.z-agree-choice{display:flex;align-items:flex-start;gap:10px;margin:0}
.z-agree-choice .form-check-input{float:none;flex:0 0 17px;width:17px;height:17px;margin:2px 0 0;cursor:pointer}
.z-register-actions>.btn{justify-self:end}
.z-auth-embedded .z-register-actions>.btn{justify-self:stretch;width:100%}
@media(max-width:575px){.z-register-actions>.btn{width:100%;justify-self:stretch}}

/* Keep the reserved form area stable while its document loads. */
.z-auth-body{position:relative;min-height:0;width:100%}
.z-auth-body.is-loading .z-auth-frame{visibility:hidden}
.z-auth-body .z-auth-loading{position:absolute;inset:0;display:grid;place-items:center;padding:0;margin:0;pointer-events:none}
.z-auth-body .z-auth-loading[hidden]{display:none}
.z-auth-loading::after{content:"";width:34px;height:34px;box-sizing:border-box;border:3px solid #e1edf2;border-top-color:#086186;border-radius:50%;animation:z-auth-spin .75s linear infinite}
@keyframes z-auth-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.z-auth-loading::after{animation:none}}

/* Secondary actions retain dark text throughout pointer and keyboard states. */
.z-account-page .btn:is(.btn-light,.btn-default){--bs-btn-color:#254b5d;--bs-btn-hover-color:#254b5d;--bs-btn-active-color:#254b5d;--bs-btn-active-bg:#d4e6ef;--bs-btn-active-border-color:#b5cbd7}
.z-account-page .btn:is(.btn-light,.btn-default):is(:hover,:focus,:focus-visible,:active,.active){color:#254b5d;text-decoration:none}
.z-account-page .btn:is(.btn-light,.btn-default):is(:active,.active){background-color:#d4e6ef;border-color:#b5cbd7}

/* Shared compact authentication card for standalone pages and dialogs. */
.z-auth-page>.row{display:block;max-width:480px;margin:32px auto 0}
.z-auth-page>.row>#content{width:100%;padding:28px;border-radius:12px;box-shadow:0 8px 28px #17374706}
.z-store .z-auth-page #content>h1{font-size:26px;line-height:1.3;margin:0 0 24px}
.z-auth-page form{max-width:none;margin:0}
.z-auth-page .z-login-form{gap:18px}
.z-auth-page .z-login-field .form-control{padding:11px 14px}
.z-auth-page .col-form-label{display:block;font-size:14px;padding:0 0 8px}
.z-auth-page .form-control{font-size:16px;min-height:48px;background:#f7f9fa}
.z-auth-page fieldset{margin:0 0 20px}
.z-auth-page legend{font-size:15px;margin-bottom:14px}
.z-auth-page .row.mb-3{margin-bottom:18px!important}
.z-auth-page .z-login-links{justify-content:flex-end;margin-top:-6px}
.z-auth-register-link{text-align:center;padding-top:4px;font-size:14px}
.z-auth-page .z-register-actions>.btn{width:100%;justify-self:stretch}
.z-auth-page #form-forgotten>.row{display:flex;gap:12px;margin:0}
.z-auth-page #form-forgotten>.row>.col{padding:0;flex:1}
.z-auth-page #form-forgotten>.row .btn{width:100%}
.z-auth-embedded .z-auth-page>.row{margin:0;max-width:none}
.z-auth-embedded .z-auth-page>.row>#content{padding:0;box-shadow:none}
.z-auth-embedded .z-store .z-auth-page{padding:24px}
.z-auth-embedded .z-auth-page .z-login-form{gap:18px}
.z-auth-embedded .z-auth-page fieldset{margin:0 0 20px}
@media(max-width:575px){.z-auth-page>.row{margin-top:20px}.z-auth-page>.row>#content{padding:24px 20px}.z-store .z-auth-page #content>h1{font-size:24px}.z-auth-page{padding-bottom:36px}.z-auth-embedded .z-store .z-auth-page{padding:20px}.z-auth-page #form-forgotten>.row{gap:10px}}

.z-auth-success-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e6f2ed;color:#287452;margin:0 0 20px}
.z-auth-success-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.z-auth-success-message p{margin:0 0 16px;font-size:14px;line-height:1.7}
.z-auth-success-continue{width:100%;margin-top:8px}
.z-auth-success #content>h1{overflow-wrap:break-word}

.z-auth-success-decoration{display:flex;align-items:center;justify-content:center;gap:22px;margin:4px 0 24px}
.z-auth-success-decoration .z-auth-success-icon{width:76px;height:76px;margin:0;flex:0 0 76px;background:#e6f2ed}
.z-auth-success-decoration .z-auth-success-icon svg{width:40px;height:40px}
.z-success-spark{color:#78a997;font-size:25px;line-height:1;position:relative}
.z-success-spark::after{content:"✦";position:absolute;font-size:12px;color:#b0cbbf}
.z-success-spark-left{transform:translateY(8px)}
.z-success-spark-left::after{left:9px;top:-23px}
.z-success-spark-right{transform:translateY(-9px);font-size:20px}
.z-success-spark-right::after{right:9px;top:32px}
.z-store .z-auth-success #content>h1{text-align:center}

/* Primary actions must keep white text when global link states apply. */
.z-store .z-account-page .btn.btn-primary{--bs-btn-color:#fff;--bs-btn-hover-color:#fff;--bs-btn-active-color:#fff;--bs-btn-disabled-color:#fff;color:#fff;background-color:#086186;border-color:#086186}
.z-store .z-account-page .btn.btn-primary:is(:link,:visited,:hover,:focus,:focus-visible,:active,.active){color:#fff;text-decoration:none}
.z-store .z-account-page .btn.btn-primary:is(:hover,:active,.active){background-color:#064a67;border-color:#064a67}

/* Separate list summaries from table borders and subsequent actions. */
.z-account-page .z-list-summary{align-items:center;row-gap:10px;margin-top:18px;margin-bottom:24px!important;font-size:13px;line-height:1.6;color:#526a78}
.z-account-page .z-list-summary .pagination{margin:0}
@media(max-width:575px){.z-account-page .z-list-summary>.text-end{text-align:left!important}.z-account-page .z-list-summary{margin-top:16px;margin-bottom:20px!important}}

.z-header .z-wishlist{position:relative}
#account-wishlist .table-responsive{margin-top:0}
#account-wishlist .z-wishlist-table td{vertical-align:middle}
#account-wishlist .z-wishlist-table td:first-child img{width:90px;max-width:90px;height:90px;object-fit:contain}
#account-wishlist .z-wishlist-table td:nth-child(2){min-width:180px;line-height:1.6}
#account-wishlist .z-wishlist-table td:last-child{min-width:140px;width:140px}
#account-wishlist .z-wishlist-table td:last-child .d-grid{gap:8px}
#account-wishlist .z-wishlist-table .btn{width:100%;margin:0!important;white-space:nowrap;padding:10px 14px}
#account-wishlist .btn-danger{color:#a43137;background:#fff1f1;border-color:#ebcacc}
#account-wishlist .btn-danger:hover{color:#fff;background:#a43137;border-color:#a43137}
@media(max-width:1399px){
#account-wishlist .table-responsive{border:0;overflow:visible}
#account-wishlist .z-wishlist-table,#account-wishlist .z-wishlist-table tbody{display:block;width:100%}
#account-wishlist .z-wishlist-table thead{display:none}
#account-wishlist .z-wishlist-table tr{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:16px;border:1px solid #dce6eb;border-radius:8px;margin-bottom:16px}
#account-wishlist .z-wishlist-table td{display:block;border:0;padding:0;min-width:0!important;width:auto!important;background:transparent}
#account-wishlist .z-wishlist-table td:nth-child(n+3){grid-column:1/-1;text-align:left!important}
#account-wishlist .z-wishlist-table td[data-label]::before{content:attr(data-label) ': ';color:#526a78}
#account-wishlist .z-wishlist-table td:last-child .d-grid{grid-template-columns:1fr 1fr}
#account-wishlist .price{font-size:18px;font-weight:600;color:#183b4b}
}

/* Horizontal form labels align with the input, not its validation message. */
@media(min-width:768px){
.z-account-page:not(.z-auth-page) .row>.col-form-label[class*="col-md-"]{min-height:46px;display:flex;align-items:center;align-self:flex-start;padding-top:0;padding-bottom:0;line-height:1.5}
.z-account-page:not(.z-auth-page) .row>.col-form-label[class*="col-md-"]::before{margin-right:4px}
}
.z-store button.z-selection{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.z-store button.z-selection.is-selected{background:#e1eff5!important;color:#075774!important;border-color:#aacbd9!important}
.z-store button.z-selection.is-loading{color:transparent!important;pointer-events:none}
.z-selection.is-loading>*{visibility:hidden}
.z-selection.is-loading::after{content:"";position:absolute;left:calc(50% - 9px);top:calc(50% - 9px);width:18px;height:18px;border:2px solid #cfdee5;border-top-color:#086186;border-radius:50%;animation:z-auth-spin .75s linear infinite}
.product-thumb .button:has(.z-selection){display:flex!important;flex-wrap:wrap}
.product-thumb .button .z-selection{flex:1 1 100px;width:auto!important;font-size:12px;padding:10px 8px;min-height:42px}
.product-thumb .button .z-selection span{display:inline!important;white-space:normal}
@media(prefers-reduced-motion:reduce){.z-selection.is-loading::after{animation:none}}

#product-compare .z-compare-scroll{overflow-x:auto;max-width:100%;margin:24px 0}
#product-compare table{min-width:640px;table-layout:fixed}
#product-compare td{min-width:160px;overflow-wrap:anywhere;vertical-align:middle;padding:16px}
#product-compare .img-thumbnail{display:block;width:180px;height:180px;max-width:100%;object-fit:contain;margin:auto;border:0;background:#fff;padding:0}
.z-home-selection{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.z-home-selection button{flex:1 1 110px;border:1px solid #dce6eb;border-radius:8px;padding:10px 6px;background:#f3f7f9;color:#183b4b;font-size:12px;min-height:42px}
@media(max-width:479px){.z-header .z-wishlist{display:inline-flex}.z-header-main>.z-logo{min-width:0}.z-header-main .z-logo img{width:176px;max-width:100%;height:auto}}

@media(min-width:1400px){
#account-wishlist .z-wishlist-table{table-layout:auto;width:100%}
#account-wishlist .z-wishlist-table th{white-space:nowrap;vertical-align:middle}
#account-wishlist .z-wishlist-table th:nth-child(5),#account-wishlist .z-wishlist-table td:nth-child(5){min-width:230px}
#account-wishlist .z-wishlist-table td:nth-child(2){width:100%;overflow-wrap:anywhere}
#account-wishlist .z-wishlist-table td:first-child{min-width:118px}
}
/* Two action rows shared by catalog, search, modules and home cards. */
.z-store .product-thumb .button.z-card-actions,.z-store .z-home-selection.z-card-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-top:12px}
.z-store .z-card-actions>button,.z-store .z-card-actions>.z-card-buy{position:relative;display:flex!important;align-items:center;justify-content:center;gap:6px;min-width:0!important;width:100%!important;height:auto!important;min-height:44px;padding:10px 7px!important;margin:0!important;border:1px solid #dce6eb;border-radius:6px;background:#f4f7f9;color:#386071;font:600 12px/1.35 Arial,Helvetica,sans-serif!important;white-space:normal!important;text-align:center}
.z-store .z-card-actions>button span{display:inline!important;font-size:12px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:normal}
.z-store .z-card-actions>button i{flex:0 0 auto;line-height:1}
.z-store .z-card-actions>.z-card-buy{background:#086186;color:white;border-color:#086186}
.z-store .z-card-actions>.z-quick-button:hover{background:#e1eff5;border-color:#aacbd9}
.z-quick-dialog{width:min(1000px,calc(100% - 32px));height:min(800px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce6eb;border-radius:14px;color:#183b4b;background:white;overflow:hidden}
.z-quick-dialog[open]{display:flex;flex-direction:column}
.z-quick-dialog::backdrop{background:#17374780;backdrop-filter:blur(3px)}
.z-quick-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-bottom:1px solid #dce6eb;font-size:18px}
.z-quick-body{position:relative;flex:1;min-height:0}.z-quick-body iframe{width:100%;height:100%;border:0;display:block}.z-quick-dialog.is-loading iframe{visibility:hidden}
.z-quick-loading{display:none}.is-loading .z-quick-loading{display:block;position:absolute;top:calc(50% - 17px);left:calc(50% - 17px);width:34px;height:34px;border:3px solid #dce6eb;border-top-color:#086186;border-radius:50%;animation:z-auth-spin .75s linear infinite}
.z-quick-full{display:block;text-align:center;padding:15px;border-top:1px solid #dce6eb;font-weight:600;color:#086186}
.z-quick-embedded .z-header,.z-quick-embedded .z-footer,.z-quick-embedded .breadcrumb,.z-quick-embedded .z-product-tabs,.z-quick-embedded .tab-content,.z-quick-embedded .z-back-top,.z-quick-embedded .z-cookie-banner,.z-quick-embedded #product-info aside{display:none!important}
.z-quick-embedded #product-info{padding:20px!important}.z-quick-embedded .z-product-main{margin:0!important}.z-quick-embedded .z-product-summary h1{font-size:23px}
@media(max-width:479px){.z-quick-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.z-quick-heading{padding:10px 14px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.z-quick-loading{animation:none!important}}
@media(max-width:767px){.z-store .z-card-actions>button,.z-store .z-card-actions>.z-card-buy{flex-direction:column;gap:5px;min-height:62px;padding:8px 5px!important}.z-store .z-card-actions>button span{min-width:0;max-width:100%}.z-store .z-card-actions>.z-card-buy i{display:none}}

/* Compact selection controls share the same form, preserving product identity. */
.z-store :is(.product-thumb,.z-product-card){position:relative}
.z-store :is(.product-thumb,.z-product-card) :is(.content,.z-product-copy,form,.z-card-actions){position:static}
.z-store .z-card-actions>.z-card-icons{position:absolute;right:10px;top:10px;z-index:2;display:flex;gap:6px}
.z-store .z-card-actions .z-card-icons button:is(.z-selection,.z-quick-button){display:inline-flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;min-height:40px;min-width:40px;flex:0 0 40px;padding:0!important;margin:0!important;border:1px solid #d5e3ea;border-radius:50%;background:#fff!important;color:#386071!important;font-size:19px;box-shadow:0 2px 6px #1737470d}
.z-store .z-card-actions .z-card-icons button:is(.z-selection,.z-quick-button) span{display:none!important}
.z-store .z-card-actions .z-card-icons button:is(.z-selection,.z-quick-button)::after{content:none}
.z-store .z-card-actions .z-card-icons button.z-selection.is-selected{background:#0b6282!important;border-color:#0b6282!important;color:#fff!important}
.z-store .z-card-actions .z-card-icons button:is(.z-selection,.z-quick-button):hover{border-color:#0b6282;box-shadow:0 0 0 3px #0b62821a}
.z-store .z-card-actions .z-card-icons button:is(.z-selection,.z-quick-button):focus-visible{outline:2px solid #0b6282;outline-offset:3px}
.z-store .z-card-actions .z-card-icons button.is-loading::after{content:''}
.z-store .z-card-actions>.z-card-buy{background:#0b6282!important;border-color:#0b6282!important;color:#fff!important;text-decoration:none}
.z-store .z-card-actions>.z-card-buy:hover{background:#064a67!important;border-color:#064a67!important}
.z-store .z-card-actions>.z-card-buy::after{content:none!important}
.z-store .z-card-actions>button,.z-store .z-card-actions>.z-card-buy{min-height:48px}
.z-store .product-thumb .image,.z-store .z-product-image{padding-top:48px}
@media(max-width:767px){.z-store .z-card-actions .z-card-icons{top:8px;right:8px;gap:5px}.z-store .z-card-actions>button,.z-store .z-card-actions>.z-card-buy{min-height:62px}.z-store .z-card-actions>.z-card-buy i{display:inline-block}}

.z-store .z-list .z-card-actions>.z-card-icons{left:10px;right:auto}

/* One full-width purchase action; quick view joins the image controls. */
.z-store .product-thumb .button.z-card-actions,.z-store .z-home-selection.z-card-actions{grid-template-columns:minmax(0,1fr)}
.z-store .z-card-actions>.z-card-buy{flex-direction:row;min-height:46px;gap:8px}

/* Comparison actions match the saved-items page. */
.z-store #product-compare .btn:not(.btn-close){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:6px;font-size:14px;font-weight:600;line-height:1.5;white-space:nowrap;text-decoration:none;box-shadow:none;transition:background-color .18s,border-color .18s,color .18s}
.z-store #product-compare .btn-primary{background:#086186;border-color:#086186;color:#fff}
.z-store #product-compare .btn-primary:is(:hover,:focus-visible,:active){background:#064a67;border-color:#064a67;color:#fff}
.z-store #product-compare .btn-danger{background:#fff1f1;border-color:#ebcacc;color:#a43137}
.z-store #product-compare .btn-danger:is(:hover,:focus-visible,:active){background:#a43137;border-color:#a43137;color:#fff}
.z-store #product-compare .btn:focus-visible{outline:2px solid #086186;outline-offset:3px}
#product-compare td>form{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0}
#product-compare td>form .btn{flex:1 1 120px;max-width:220px;margin:0}
/* Wishlist hover follows the storefront blue palette. */
#account-wishlist .z-wishlist-table{--bs-table-hover-bg:#f0f7fa;--bs-table-hover-color:#173747}
#account-wishlist .z-wishlist-table>tbody>tr:hover>*{--bs-table-bg-state:#f0f7fa;--bs-table-accent-bg:#f0f7fa;background-color:#f0f7fa;color:#173747;box-shadow:inset 0 0 0 9999px #f0f7fa}
