/* 505 Quick Cash & Pawn static build: overrides on top of the archived Porto CSS (no theme JS) */
html { scroll-behavior: smooth; }
body.qcp { padding-bottom: 0; }
.qcp-h1 { font-size: 2rem; line-height: 1.2; font-weight: 700; color: #222529; margin: 10px 0 20px; }
.qcp-page h2 { font-size: 1.35rem; margin: 28px 0 10px; color: #222529; }
.qcp-page { padding: 20px 0 30px; }
.qcp-small { font-size: .85rem; color: #6b6f76; line-height: 1.55; }
.qcp-lead { font-size: 1.1rem; }
.qcp-banner-h1 { margin: 0; }

/* header without the cart/search/login widgets, compact */
.header-top .header-row { min-height: 0 !important; height: 36px; }
.header-main .header-col { padding-top: 0 !important; padding-bottom: 0 !important; }
.header-main .header-row { padding-top: 10px !important; padding-bottom: 10px !important; min-height: 0 !important; }
.header-main .logo, .header-main .logo a { margin: 0; line-height: 1; }
.header-main .logo img { max-height: 62px !important; width: auto !important; }
.header-bottom .main-menu > li > a { padding-top: 11px !important; padding-bottom: 11px !important; }
.header-bottom .header-row { min-height: 0 !important; }
.page-top { padding-top: 8px; padding-bottom: 8px; }
.main { padding-top: 0; }
@media (max-width: 991px) { .header-main .logo img { max-height: 46px !important; } .header-main .header-row { padding-top: 6px !important; padding-bottom: 6px !important; } }
.header-main .header-right { gap: 12px; }
.qcp-topcall a { color: inherit; font-weight: 600; }
.qcp-menu-apply > a { background: #0b6bbf; color: #fff !important; border-radius: 4px; padding-left: 14px !important; padding-right: 14px !important; }
.qcp-menu-apply > a:hover { background: #08549a; }
#nav-panel { display: none; }
#nav-panel.qcp-open { display: block; }
.main-menu li.has-sub:hover > .popup, .main-menu li.has-sub:focus-within > .popup { display: block !important; opacity: 1 !important; visibility: visible !important; top: 100%; }

/* banner: show slides one at a time without Owl */
.banner-container .owl-carousel { display: block; position: relative; overflow: hidden; }
.banner-container .owl-carousel > .porto-ibanner { display: none; }
.banner-container .owl-carousel > .porto-ibanner.qcp-on { display: block; }
.banner-container .owl-carousel > .porto-ibanner:first-child:not(.qcp-off) { display: block; }
.porto-ibanner-img { width: 100%; height: auto; display: block; }
.qcp-ib .porto-ibanner-layer { max-width: 58%; }
.qcp-ib .porto-ibanner-layer h1, .qcp-ib .porto-ibanner-layer h2 { line-height: 1.15 !important; letter-spacing: normal !important; }
.qcp-dots { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; z-index: 5; }
.qcp-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; margin: 0 4px; background: rgba(255,255,255,.55); padding: 0; cursor: pointer; }
.qcp-dots button.on { background: #0b6bbf; }

/* product carousels become grids */
.qcp-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.qcp-grid > * { width: auto !important; max-width: none !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.qcp-grid img { width: 100%; height: auto; }
ul.products.qcp-grid::before, ul.products.qcp-grid::after { display: none; }
.product-image-slider.qcp-grid { grid-template-columns: 1fr; }
@media (max-width: 991px) { .qcp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .qcp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
ul.products li.product-col .product-image .inner img { opacity: 1 !important; }
.product-image .labels { z-index: 2; }
.product-nav { display: none; }

.qcp-avail { border: 1px solid #d6e3f0; border-radius: 6px; padding: 14px 16px; margin: 16px 0 20px; background: #f4f8fc; }
.qcp-avail p { margin-bottom: 10px; }
.qcp-avail p:last-child { margin-bottom: 0; }
.woocommerce-tabs #tab-description { display: block !important; }

/* blocks added by the build */
.qcp-metals { border: 1px dashed #c9a227; background: #fffaf0; padding: 16px 18px; border-radius: 6px; margin: 10px 0 24px; }
.qcp-metals p { margin: 0; }
.qcp-apply { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: #0f2a44; color: #e8eef5; border-radius: 8px; padding: 26px 28px; margin: 30px 0; }
.qcp-apply .qcp-apply__title { color: #fff; margin: 0 0 6px; font-size: 1.5rem; font-weight: 400; line-height: 1.25; }
.qcp-apply p { margin: 0 0 6px; }
.qcp-apply .qcp-small { color: #b8c6d6; max-width: 640px; }
.qcp-apply__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.qcp-apply .btn-default { background: #fff; color: #0f2a44; border-color: #fff; }
.qcp-store { border: 1px solid #e7e7e7; border-radius: 6px; padding: 18px 20px; margin-bottom: 20px; }
.qcp-map { position: relative; padding-top: 70%; margin-bottom: 20px; }
.qcp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.qcp-form { min-height: 420px; margin: 20px 0; }
.qcp-footnote { font-size: .78rem; color: #8a8f96; max-width: 900px; margin: 8px auto 0; line-height: 1.5; }
.footer-bottom .footer-center p { margin-bottom: 6px; }

/* home: online loan blocks */
.qcp-loans-row { margin-top: 10px; margin-bottom: 10px; }
.qcp-loans-head h2 { font-size: 1.6rem; font-weight: 700; color: #222529; margin: 0 0 14px; }
.qcp-loans-head p { margin: 0 0 18px; }
.qcp-loans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.qcp-loan { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e7ec; border-radius: 8px; padding: 22px 20px; }
.qcp-loan__icon { width: 46px; height: 46px; border-radius: 50%; background: #eef4fb; color: #0b6bbf; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.qcp-loan h3 { font-size: 1.15rem; font-weight: 700; color: #222529; margin: 0 0 8px; line-height: 1.25; }
.qcp-loan p { margin: 0 0 10px; color: #555; }
.qcp-loan ul { flex: 1; list-style: none; padding: 0; margin: 0 0 16px; }
.qcp-loan li { position: relative; padding-left: 20px; margin-bottom: 5px; line-height: 1.4; }
.qcp-loan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #0b6bbf; }
.qcp-loan .btn { align-self: flex-start; }
.qcp-loans-note { margin: 14px 0 0; }
@media (max-width: 991px) { .qcp-loans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .qcp-loans { grid-template-columns: 1fr; } }

/* mobile sticky call / apply bar */
.qcp-sticky { display: none; }
@media (max-width: 767px) {
  .banner-container { padding-top: 18px; }
  .banner-container .d-md-none h2 { line-height: 1.2 !important; margin-bottom: 6px !important; }
  .qcp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
  .qcp-sticky a { flex: 1; text-align: center; padding: 14px 6px; font-weight: 700; font-size: 15px; text-decoration: none; }
  .qcp-sticky__call { background: #fff; color: #0f2a44; }
  .qcp-sticky__apply { background: #0b6bbf; color: #fff; }
  body.qcp { padding-bottom: 52px; }
  .qcp-h1 { font-size: 1.6rem; }
  .qcp-apply { padding: 20px 18px; }
}
img { max-width: 100%; }

/* tighter vertical rhythm (Porto defaults left big white gaps) */
.main-content { padding-top: 16px !important; padding-bottom: 16px !important; }
.main-content .wpb_content_element, .main-content .wpb_text_column, .main-content .wpb_gmaps_widget { margin-bottom: 16px !important; }
.main-content .vc_row.wpb_row { margin-bottom: 0; }
.main-content .vc_row.feature-container { margin-bottom: 24px !important; }
.qcp-apply { margin: 16px 0; }
.qcp-metals { margin: 0 0 16px; }
.qcp-loans-row { margin-top: 0; margin-bottom: 8px; }
.qcp-page { padding: 4px 0 12px; }
.qcp-h1 { margin-top: 0; }
.page-top { margin-bottom: 8px !important; }
.footer-main > .container { padding-top: 28px !important; padding-bottom: 6px !important; }
.footer .widget { margin-bottom: 14px; }
.footer-bottom { padding-top: 10px !important; padding-bottom: 14px !important; }
.footer-1 { margin-top: 0 !important; }
/* mobile banner: the 30px title sat in an 18px line box and poked up under the header */
.banner-container .wpb_text_column p { line-height: 1.3 !important; margin-bottom: 6px; }
.page-top { padding-top: 6px !important; padding-bottom: 0 !important; margin-bottom: 0 !important; min-height: 0 !important; }
.page-top > .container { padding-top: 0 !important; min-height: 0 !important; }
.page-top .breadcrumbs-wrap { padding-bottom: 6px; }
.page-top + .main .main-content, .page-top ~ .main .main-content { padding-top: 12px !important; }

/* headings renamed for a valid outline keep their original look */
.footer .widget-title { font-size: 15px; font-weight: 700; line-height: 21px; text-transform: uppercase; color: #1e73be; margin: 0 0 15px; }
.qcp-h2 { font-size: 1.3rem; font-weight: 700; color: #222529; margin: 6px 0 14px; }
.is-h4, .is-h5, .is-h6 { font-size: 1rem; font-weight: 700; margin: 16px 0 8px; }
ul.products li.product-col .is-h3 { font-size: 1.05em; }
