/* Site footer (navy) and the policy pages */
.qp-main{padding-bottom:48px}
.qp-footer{background:#0e1b4d;color:#a3a8bd;font-family:var(--qp-body,'DM Sans',Arial,sans-serif);margin-top:40px}
.qp-footer a{color:inherit;text-decoration:none}
.qp-footer a:hover,.qp-footer a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}
.qp-footer-wrap{max-width:1240px;margin:0 auto;padding:56px 28px 36px}
.qp-footer-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr 1.15fr;gap:40px;padding-bottom:48px;border-bottom:1px solid #202c5a}
.qp-footer-logo{display:inline-block;color:#fff;font-weight:700}
.qp-footer-logo img{display:block;height:58px;width:auto}
.qp-footer-address{display:flex;gap:10px;align-items:flex-start;margin:22px 0 0;font-size:15px;line-height:1.75;color:#a3a8bd}
.qp-footer-icon{flex:none;width:16px;height:16px;fill:currentColor;margin-top:5px}
.qp-footer-col h2{margin:0 0 22px;color:#fff;font-family:var(--qp-head,'Manrope','DM Sans',Arial,sans-serif);font-size:20px;line-height:1.25;font-weight:800;letter-spacing:-.01em}
.qp-footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.qp-footer-col li{font-size:15px;line-height:1.5}
.qp-footer-col li a{display:inline-flex;gap:8px;align-items:flex-start}
.qp-footer-col li .qp-footer-icon{margin-top:4px}
.qp-footer-legal{padding-top:44px;font-size:14px;line-height:1.8;color:#a0a5b9}
.qp-footer-legal p{margin:0 0 22px}
.qp-footer-rule{text-align:center}
.qp-footer-bottom{display:flex;flex-wrap:wrap;gap:8px 0;align-items:center;margin:34px 0 0!important;font-size:13px;color:#a0a5b9}
.qp-footer-bottom a{display:inline-flex}
.qp-footer-bottom a::before{content:"·";display:inline-block;margin:0 12px;color:#a0a5b9;text-decoration:none}
body:has(.qp-bar) .qp-footer{padding-bottom:84px}
@media (max-width:980px){
  .qp-footer-grid{grid-template-columns:1fr 1fr;gap:36px 28px}
  .qp-footer-brand{grid-column:1/-1}
}
/* phones and small tablets: the links come first and the copyright line is the very last thing */
@media (max-width:780px){
  .qp-footer-bottom{flex-direction:column;align-items:flex-start;gap:10px}
  .qp-footer-bottom a::before{content:none}
  .qp-footer-bottom>span{order:99;margin-top:8px}
}
@media (max-width:560px){
  .qp-footer-wrap{padding:40px 18px 28px}
  .qp-footer-grid{grid-template-columns:1fr;gap:30px;padding-bottom:34px}
  .qp-footer-logo img{height:48px}
  .qp-footer-legal{padding-top:30px;font-size:13px}
  .qp-footer-rule{text-align:left}
}

/* policy pages (Terms and Conditions and the others) */
.qp-doc-wrap{max-width:860px;margin:0 auto;padding:40px 24px 24px}
.qp-doc h1{margin:0 0 6px;font-family:var(--qp-head,'Manrope','DM Sans',Arial,sans-serif);font-size:34px;line-height:1.2;letter-spacing:-.02em;color:var(--qp-ink,#172a3e)}
.qp-doc-body{margin-top:22px;font-size:16px;line-height:1.75;color:var(--qp-ink,#172a3e)}
.qp-doc-body h2{margin:34px 0 8px;font-family:var(--qp-head,'Manrope','DM Sans',Arial,sans-serif);font-size:21px;line-height:1.3;color:var(--qp-ink,#172a3e)}
.qp-doc-body p,.qp-doc-body ul,.qp-doc-body ol{margin:0 0 14px}
.qp-doc-body ul,.qp-doc-body ol{padding-left:24px}
.qp-doc-body li{margin-bottom:6px}
.qp-doc-body a{color:var(--qp-accent,#0b77d1)}
.qp-doc-note{margin-top:0;color:var(--qp-soft,#4c6379);font-size:14px}
@media (max-width:560px){.qp-doc h1{font-size:27px}.qp-doc-wrap{padding:26px 16px 12px}}

/* top bar for the pages that use OpenCart's own page frame (My account, information, error pages) */
.qp-sitehead{background:#fff;border-bottom:1px solid #d3e1ee;font-family:var(--qp-body,'DM Sans',Arial,sans-serif)}
.qp-sitehead-in{max-width:1240px;margin:0 auto;padding:0 28px;height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.qp-sitehead-logo{display:flex;align-items:center;height:100%;color:#172a3e;font-weight:700;text-decoration:none}
.qp-sitehead-logo img{height:64px;width:auto;display:block}
.qp-sitehead-nav{display:flex;align-items:center;gap:26px}
.qp-sitehead-nav a{font-size:14px;font-weight:500;color:#4c6379;text-decoration:none}
.qp-sitehead-nav a:hover{color:#172a3e}
.qp-sitehead-nav a.on{color:#172a3e;font-weight:700}
@media (max-width:640px){
  .qp-sitehead-in{height:auto;min-height:64px;padding:8px 16px;flex-wrap:wrap;gap:2px 12px}
  .qp-sitehead-logo{height:50px}
  .qp-sitehead-logo img{height:44px}
  .qp-sitehead-nav{width:100%;gap:6px 18px;flex-wrap:wrap;padding-bottom:6px}
  .qp-sitehead-nav a{font-size:13px}
}

/* OpenCart's own stylesheet floats any <footer> over the bottom of the page (position:absolute) and reserves space for it:
   on the pages that use OpenCart's frame the footer sits in the normal flow, below the content */
#container{position:relative;margin-bottom:0;min-height:100%}
.qp-footer{position:static;bottom:auto;width:auto;border:0;padding-top:0;clear:both}
