/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: Child theme for OceanWP.
Author: Prestige Power & Marine
Template: oceanwp
Version: 1.0.0
Text Domain: oceanwp-child
*/

/* Site-specific styles belong here. */

/* OceanWP-native header, top bar, phone aside and post-header brand strip. */
#top-bar-wrap {
	position: relative;
	z-index: 1;
}

#top-bar,
#top-bar-content {
	font-size: 18px !important;
	line-height: 1.2;
	text-align: center;
}

#top-bar-content .topbar-content {
	font-size: inherit;
	line-height: 1.35;
}

#site-header-inner {
	display: flex;
	align-items: center;
	max-width: 1440px;
}

#site-logo {
	flex: 0 0 auto;
}

#site-logo #site-logo-inner img {
	display: block;
	width: 180px;
	max-width: 180px;
	height: auto;
}

#site-navigation-wrap {
	position: static;
	flex: 1 1 auto;
	min-width: 0;
}

#site-navigation-wrap .dropdown-menu {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}

#site-navigation-wrap .dropdown-menu > li > a {
	font-size: 16px;
	white-space: nowrap;
}

#site-header .after-header-content {
	display: block;
	flex: 0 0 148px;
	margin-left: 10px;
}

#site-header .after-header-content-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	line-height: 1.2;
}

#site-header .ppm-phone-label {
	color: #F8F9FA;
	font-size: 12px;
}

#site-header .ppm-header-phone {
	color: #F8F9FA;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

#site-header .ppm-header-phone:hover,
#site-header .ppm-header-phone:focus {
	color: #C5A866;
}

.is-sticky #site-header.shrink-header #site-logo #site-logo-inner img {
	width: 120px;
	max-width: 120px;
}

.is-sticky #site-header.shrink-header #site-navigation-wrap .dropdown-menu > li > a {
	font-size: 16px;
}

@media (min-width: 960px) and (max-width: 1100px) {
	#site-header-inner {
		padding-right: 10px;
		padding-left: 10px;
	}

	#site-navigation-wrap .dropdown-menu > li > a {
		padding-right: 5px;
		padding-left: 5px;
		font-size: 14px;
	}

	#site-header .after-header-content {
		flex-basis: 125px;
		margin-left: 4px;
	}

	#site-header .ppm-header-phone {
		font-size: 14px;
	}
}

@media (max-width: 959px) {
	#top-bar,
	#top-bar-content {
		font-size: 18px;
	}

	#site-header-inner {
		min-height: 72px;
	}

	#site-logo #site-logo-inner img {
		width: 150px;
		max-width: 150px;
	}

	#site-header .after-header-content {
		position: absolute;
		right: 54px;
		display: block;
		width: 44px;
		margin: 0;
	}

	#site-header .after-header-content-inner {
		height: 44px;
	}

	#site-header .ppm-phone-label,
	#site-header .ppm-header-phone {
		font-size: 0;
	}

	#site-header .ppm-header-phone::before {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		color: #C5A866;
		content: '\260E';
		font-size: 25px;
		line-height: 1;
	}

	.is-sticky #site-header.shrink-header,
	.is-sticky #site-header.shrink-header #site-header-inner {
		height: 56px;
		min-height: 56px;
	}

	.is-sticky #site-header.shrink-header #site-logo #site-logo-inner img {
		width: 70px;
		max-width: 70px;
	}
}

@media (max-width: 480px) {
	#site-logo #site-logo-inner img {
		width: 120px;
		max-width: 120px;
	}
}

/* Payment and financing information on single product pages. */
.ppm-product-payment-financing {
	margin: 18px 0 0;
	color: #5A6068;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
}

.ppm-product-payment-financing p {
	margin: 0;
	color: inherit;
	font: inherit;
	text-align: inherit;
}

.ppm-product-payment-financing p + p {
	margin-top: 8px;
}

.ppm-product-payment-financing a {
	color: #8A6A2F;
	font-weight: 400;
	text-decoration: none;
}

.ppm-product-payment-financing a:hover,
.ppm-product-payment-financing a:focus {
	color: #8A6A2F;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.ppm-product-payment-financing {
		font-size: 14px;
	}
}

/* PPM home hero: preserve the complete 9:16 frame in inline and fullscreen playback. */
.elementor-element-62cfabe video,
.elementor-element-62cfabe .elementor-video,
.elementor-element-62cfabe:fullscreen video,
.elementor-element-62cfabe video:fullscreen {
	object-fit: contain !important;
}

/* Elementor 4.4 still shrinks these three fixed-width hero columns despite
 * their container controls. Keep the approved desktop media dimensions. */
@media (min-width: 1025px) {
	.elementor-element-144dfa8 .elementor-element-260ce03 {
		flex: 0 0 352px !important;
		width: 352px !important;
		gap: 0 !important;
	}

	.elementor-element-144dfa8 .elementor-element-9811ba8 {
		flex: 0 0 260px !important;
		width: 260px !important;
	}

	.elementor-element-144dfa8 .elementor-element-57b1595 {
		flex: 0 0 600px !important;
		width: 600px !important;
	}
}

@media (min-width:1200px) {
	.elementor-element-b249f34 { flex:0 0 565px!important; width:565px!important; max-width:none!important; margin-left:-24px; }
	.elementor-element-b249f34 .elementor-nav-menu--main .elementor-item { font-size:16px!important; }
}

/* Trailer brand grids. */
.ppm-brand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;max-width:1280px;margin:0 auto}
.ppm-brand-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;background:#fff;border:1px solid #d1d5db;border-top:2px solid #c5a866;border-radius:3px}.ppm-brand-image{display:block;aspect-ratio:4/3;overflow:hidden;background:#f3f4f6}.ppm-brand-image img{display:block;width:100%;height:100%;margin:0;object-fit:cover}.ppm-brand-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:20px}.ppm-brand-card h2{margin:0 0 8px;font-size:22px;font-weight:600;line-height:1.25}.ppm-brand-card h2 a{color:#121212}.ppm-brand-price{margin:0 0 20px;color:#8a6a2f;font-size:20px;font-weight:700;line-height:1.3}.ppm-brand-price *{color:#8a6a2f}.ppm-brand-details{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:auto;padding:8px 20px;background:#c5a866;border:1px solid #c5a866;border-radius:3px;color:#121212;font-size:16px;font-weight:600;text-decoration:none}
@media (max-width:1023px){.ppm-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.ppm-brand-grid{grid-template-columns:minmax(0,1fr)}}
.ppm-brand-group{width:100%;max-width:1280px;margin:0 auto 56px;scroll-margin-top:120px}.ppm-brand-group:last-child{margin-bottom:0}.ppm-brand-group>h2{margin:0 0 22px;font-size:32px;line-height:1.2}.ppm-brand-group>h2 a{color:#121212;text-decoration:none}.ppm-brand-card h3{margin:0 0 8px;font-size:22px;font-weight:600;line-height:1.25}.ppm-brand-card h3 a{color:#121212}

/* OceanWP three-level trailer navigation. */

/* Product search band: catalogue surfaces only. */
.ppm-product-search-band{box-sizing:border-box;width:100%;padding:16px;background:#f1f3f5;border-bottom:1px solid #d1d5db}
.ppm-product-search-form{display:flex;box-sizing:border-box;width:100%;max-width:640px;height:44px;margin:0 auto;background:#fff;border:1px solid #d1d5db;border-radius:3px}
.ppm-product-search-form:focus-within{outline:2px solid #c5a866;outline-offset:0}
.ppm-product-search-field{display:flex;flex:1;align-items:center;min-width:0;height:42px;padding-left:14px}
.ppm-product-search-icon{flex:0 0 20px;margin-right:10px;color:#5a6068}
.ppm-product-search-form input[type=search]{box-sizing:border-box;flex:1;min-width:0;height:42px;margin:0;padding:0 12px 0 0;background:#fff;border:0;border-radius:0;box-shadow:none;color:#1e2022;font-size:16px;line-height:42px;outline:0;-webkit-appearance:none}
.ppm-product-search-form input[type=search]:focus{background:#fff;border:0;box-shadow:none;outline:0}
.ppm-product-search-band .ppm-product-search-form button{box-sizing:border-box;flex:0 0 auto;height:44px;margin:-1px -1px -1px 0;padding:0 24px!important;background:#c5a866!important;border:1px solid #c5a866!important;border-radius:3px!important;color:#121212!important;font-size:16px!important;font-weight:600!important;line-height:42px!important;text-transform:none!important}
.ppm-product-search-band .ppm-product-search-form button:hover,.ppm-product-search-band .ppm-product-search-form button:focus{background:#c5a866!important;border-color:#c5a866!important;color:#121212!important}

/* Product-search cards mirror the established brand catalogue cards. */
.ppm-product-search-results ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ppm-product-search-results ul.products:before,.ppm-product-search-results ul.products:after{display:none!important}
.ppm-product-search-results ul.products li.product{display:flex!important;float:none!important;min-width:0;width:100%!important;margin:0!important;overflow:hidden;flex-direction:column;background:#fff;border:1px solid #d1d5db;border-top:2px solid #c5a866;border-radius:3px;text-align:left}
.ppm-product-search-results ul.products li.product .woo-entry-image{aspect-ratio:4/3;overflow:hidden;background:#f3f4f6}
.ppm-product-search-results ul.products li.product .woo-entry-image img{width:100%;height:100%;margin:0;object-fit:cover}
.ppm-product-search-results ul.products li.product .woo-entry-inner{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:20px}
.ppm-product-search-results ul.products li.product .title{margin:0 0 8px!important}
.ppm-product-search-results ul.products li.product .title h2{font-size:22px!important;font-weight:600!important;line-height:1.25!important;text-align:left}
.ppm-product-search-results ul.products li.product .title h2 a{color:#121212}
.ppm-product-search-results ul.products li.product .price-wrap{margin:0 0 20px!important;color:#8a6a2f;font-size:20px;font-weight:700;line-height:1.3}
.ppm-product-search-results ul.products li.product .price-wrap *{color:#8a6a2f!important}
.ppm-product-search-results ul.products li.product .btn-wrap{margin-top:auto}
.ppm-product-search-results ul.products li.product .button{min-height:44px;padding:8px 20px;background:#c5a866;border:1px solid #c5a866;border-radius:3px;color:#121212;font-size:16px;font-weight:600}
.ppm-product-search-results .ppm-no-products{font-size:18px}
@media (max-width:1023px){.ppm-product-search-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
	.ppm-product-search-form{flex-direction:column;height:auto}
	.ppm-product-search-field{flex:0 0 43px;width:100%;height:43px}
	.ppm-product-search-form button{flex:0 0 44px;width:calc(100% + 2px);height:44px;margin:0 -1px -1px;line-height:42px}
	.ppm-product-search-results ul.products{grid-template-columns:minmax(0,1fr)}
}


#site-header .elementor-element-d743218 {
	min-width: 0;
}

#site-header .elementor-element-d743218,
#site-header .elementor-element-b249f34 .elementor-nav-menu--main {
	position: static;
}

#site-header .ppm-header-phone {
	white-space: nowrap;
}

#site-header .ppm-header-phone {
	color: #C5A866;
	font-weight: 600;
}

/* Ocean Sticky Header shrink state: the announcement stays in its original position. */
.is-sticky #site-header {
	background: #121212 !important;
	opacity: 1 !important;
}

[id="in-stock"],
.ppm-brand-group {
	scroll-margin-top: 68px;
}

@media (min-width: 768px) and (max-width: 1100px) {
	#site-header .elementor-element-c6b63f4 {
		display: none;
	}
}

@media (max-width: 767px) {
	#site-header .elementor-element-af20601 {
		position: relative;
	}

	#site-header .elementor-element-c6b63f4 {
		display: none !important;
	}

	#site-header .elementor-element-d743218 {
		position: static !important;
		width: 0 !important;
		padding: 0 !important;
	}

	#site-header .elementor-menu-toggle {
		position: absolute;
		top: 50%;
		right: 0;
		display: flex;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 10px;
		transform: translateY(-50%);
	}

	#site-header .elementor-nav-menu--dropdown {
		position: absolute !important;
		z-index: 10000;
		top: 100% !important;
		left: 0 !important;
		width: 100% !important;
		max-height: calc(100vh - 56px);
		margin: 0 !important;
		overflow-y: auto;
		background: #121212;
	}

	#site-header .ppm-mobile-call svg {
		width: 22px;
		height: 22px;
	}

	#site-header .ppm-mobile-call span {
		font-size: 25px;
		line-height: 1;
	}

	[id="in-stock"],
	.ppm-brand-group {
		scroll-margin-top: 56px;
	}
}
.elementor-element-d743218.ppm-header-navigation .elementor-widget-nav-menu,
.elementor-element-d743218.ppm-header-navigation .elementor-widget-container,
.elementor-element-d743218.ppm-header-navigation nav.elementor-nav-menu--main { position:static!important; width:100%!important; }

@media (min-width:901px) and (max-width:1100px) {
	.elementor-element-d743218.ppm-header-navigation .elementor-nav-menu--main > ul { justify-content:space-between!important; }
}

/* Tablet/mobile: short sticky bar, call and menu controls, overlay accordion. */
@media (max-width:900px) {
	.elementor-element-d743218.ppm-header-navigation .elementor-widget-nav-menu { position:absolute!important; top:3px; right:0; width:44px!important; pointer-events:auto; }
	.elementor-element-d743218.ppm-header-navigation .elementor-menu-toggle { display:flex!important; width:44px; height:40px; margin:0!important; padding:0!important; align-items:center; justify-content:center; }
	.elementor-element-d743218.ppm-header-navigation nav.elementor-nav-menu--main { display:none!important; }
	.elementor-element-d743218.ppm-header-navigation nav.elementor-nav-menu--dropdown { position:absolute!important; z-index:1001; top:43px!important; right:-12px; width:100vw!important; max-height:calc(100vh - 56px); overflow:auto; background:#121212; }
	.elementor-element-d743218.ppm-header-navigation nav.elementor-nav-menu--dropdown[aria-hidden="true"] { display:none; }
	.elementor-element-d743218.ppm-header-navigation nav.elementor-nav-menu--dropdown ul { display:block!important; width:100%!important; }
}

/* Sticky bars must not obscure in-page anchor targets. */
#in-stock, [id="in-stock"] { scroll-margin-top:68px; }

/* Definitive Elementor sticky-header shrink rules, 2026-11-23. */
html { scroll-padding-top:68px; }

@media (min-width:1025px) {
}

@media (min-width:769px) and (max-width:1024px) {
}

@media (max-width:768px) {
	html { scroll-padding-top:56px; }
	.elementor-118 .ppm-mobile-call { display:none!important; }
}

/* Neo 2026-11-23: dimensional caps for the approved one-row Elementor header. */
@media (min-width:901px) {
}

@media (min-width:901px) and (max-width:1100px) {
}

/* ==========================================================================
   HEADER — rebuilt 23 Nov (a later style.css replacement wiped the earlier block)
   Layout: crest+tagline left, nav centre, phone right. Top bar scrolls away.
   ========================================================================== */
#top-bar-wrap { position: static !important; z-index: auto !important; background: #C5A866; }
#top-bar-wrap .top-bar-inner { display: flex !important; justify-content: center !important; align-items: center; }
#top-bar-wrap .top-bar-left { width: 100% !important; text-align: center !important; }
#top-bar-wrap .topbar-content { display: inline-block; font-size: 18px !important; color: #121212 !important; letter-spacing: .2px; }

#site-header.fixed-scroll { position: sticky !important; top: 0; z-index: 9999; }
#site-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px;
  min-height: 210px;
  padding-top: 10px;
  padding-bottom: 10px;
}
#site-logo { order: 1; flex: 0 0 auto; display: flex !important; flex-direction: column !important; align-items: center !important; }
#site-logo #site-logo-inner img { width: auto !important; max-width: none !important; height: 190px !important; max-height: none !important; }
.ppm-header-tagline {
  display: block !important;
  order: 2;
  width: 100% !important;
  margin: -6px 0 0 0 !important;
  font-family: "Roboto Slab", Georgia, serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1.3px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: uppercase;
  color: #D4B471 !important;
  white-space: nowrap;
}
#site-navigation-wrap { order: 2; flex: 1 1 auto; display: flex !important; justify-content: center !important; }
#site-header .after-header-content { order: 3; flex: 0 0 auto; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; }
#site-header .ppm-phone-label { display: block !important; font-size: 14px !important; color: #F8F9FA !important; letter-spacing: .3px; margin: 0 0 2px !important; }
#site-header .ppm-header-phone { display: block !important; font-size: 24px !important; line-height: 1.1 !important; font-weight: 700 !important; color: #C5A866 !important; white-space: nowrap; }

/* Shrunk (sticky) state */
.is-sticky #site-header-inner { min-height: 68px !important; padding-top: 2px; padding-bottom: 2px; }
.is-sticky #site-logo #site-logo-inner img { height: 56px !important; }
.is-sticky .ppm-header-tagline { display: none !important; }
.is-sticky #site-header .ppm-phone-label { font-size: 11px !important; }
.is-sticky #site-header .ppm-header-phone { font-size: 18px !important; }
.is-sticky #site-navigation-wrap { font-size: 15px; }

@media (max-width: 1024px) {
  #site-header-inner { min-height: 150px; }
  #site-logo #site-logo-inner img { height: 130px !important; }
  .ppm-header-tagline { font-size: 13px !important; letter-spacing: 1.1px !important; }
  #site-header .ppm-header-phone { font-size: 20px !important; }
}
@media (max-width: 768px) {
  #site-header-inner { min-height: 104px; gap: 12px; }
  #site-logo #site-logo-inner img { height: 92px !important; }
  .ppm-header-tagline { font-size: 10px !important; letter-spacing: .9px !important; margin-top: -4px !important; }
  #site-header .ppm-phone-label { display: none !important; }
  #site-header .ppm-header-phone { font-size: 17px !important; }
  .is-sticky #site-header-inner { min-height: 56px !important; }
  .is-sticky #site-logo #site-logo-inner img { height: 40px !important; }
}

/* Sticky has to be fixed: OceanWP's sticky wrapper is exactly header-height, so position:sticky
   has no travel. A spacer keeps the layout from jumping. */
#site-header.fixed-scroll { position: static !important; }
#site-header.is-sticky,
body.is-sticky #site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: #121212 !important;
}
@media (max-width: 768px) {
}

/* Footer (OceanWP widgets) */
#footer-widgets { padding: 56px 0 40px; }
#footer-widgets .footer-box { text-align: left; }
#footer-widgets .footer-widget .widget-title,
#footer-widgets h4 { color: #C5A866 !important; font-size: 15px !important; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 16px; }
#footer-widgets, #footer-widgets p, #footer-widgets li { color: #A3A7AC; font-size: 15px; line-height: 1.7; }
#footer-widgets a { color: #D6D6D6; text-decoration: none; }
#footer-widgets a:hover, #footer-widgets a:focus { color: #C5A866; }
#footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; }
#footer-bottom #copyright { color: #7C8288; font-size: 13px; }
#footer-bottom #copyright a { color: #A3A7AC; }
@media (max-width: 768px) {
  #footer-widgets { padding: 40px 0 24px; }
  #footer-widgets .footer-box { text-align: center; margin-bottom: 28px; }
}

/* ===== EMERGENCY FIX 23 Nov 09:45 — neutralise the returned mega-menu CSS and logo overflow ===== */
/* The crest container was height-constrained, so the 190px logo overflowed and the tagline cut through it. */
#site-logo { height: auto !important; min-height: 0 !important; overflow: visible !important; }
#site-logo #site-logo-inner { height: auto !important; }
#site-logo #site-logo-inner img { display: block !important; }

/* Phone block: both lines centred on each other. */
#site-header .after-header-content,
#site-header .after-header-content-inner { text-align: center !important; }
#site-header .after-header-content-inner .ppm-phone-label { text-align: center !important; }
#site-header .after-header-content-inner .ppm-header-phone { text-align: center !important; }

/* Mobile header: centred crest, no desktop nav, no phone block. */
@media (max-width: 768px) {
  #site-header-inner { min-height: 132px !important; align-items: center !important; justify-content: center !important; position: relative; }
  #site-navigation-wrap { display: none !important; }
  #site-header .after-header-content { display: none !important; }
  #site-logo { margin: 0 auto !important; }
  #site-logo #site-logo-inner img { height: 118px !important; }
  .ppm-header-tagline { margin-top: -2px !important; }
  .oceanwp-mobile-menu-icon { display: flex !important; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
}
@media (max-width: 768px) and (min-width: 481px) {
  #site-logo #site-logo-inner img { height: 108px !important; }
}

/* ===== FIX 23 Nov 09:55 — container width, footer rules, mobile images ===== */
#site-header-inner {
  width: 100% !important;
  max-width: 1440px !important;
  box-sizing: border-box !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
@media (max-width: 768px) {
  #site-header-inner { width: 100% !important; max-width: 100% !important; padding-left: 14px !important; padding-right: 14px !important; }
}

/* Footer: strip blue rules/markers/underlines next to every item */
#footer-widgets, #footer-widgets * { border-left: 0 !important; border-right: 0 !important; box-shadow: none !important; }
#footer-widgets ul, #footer-widgets ol { list-style: none !important; margin: 0 !important; padding: 0 !important; }
#footer-widgets li { list-style: none !important; border: 0 !important; padding-left: 0 !important; margin-left: 0 !important; }
#footer-widgets li::before, #footer-widgets li::marker, #footer-widgets p::before { content: none !important; display: none !important; }
#footer-widgets a { text-decoration: none !important; border-bottom: 0 !important; color: #D6D6D6 !important; }
#footer-widgets a:hover, #footer-widgets a:focus { color: #C5A866 !important; }
#footer-bottom a { text-decoration: none !important; border-bottom: 0 !important; }

/* Mobile: never crop card images */
@media (max-width: 768px) {
  .elementor-widget-image img, .elementor-image img, .elementor-widget-image-box img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}

/* WooCommerce has no single-result alignment control: keep one category card
   at a three-column width and centre it; leave multiple-result grids alone. */
body.tax-product_cat #main ul.products:has(>li.product:only-child){display:flex;justify-content:center;width:100%;margin-inline:0}
body.tax-product_cat #main ul.products:has(>li.product:only-child)::before,body.tax-product_cat #main ul.products:has(>li.product:only-child)::after{display:none}
body.tax-product_cat #main ul.products>li.product:only-child{float:none;flex:0 1 calc((100% - 40px)/3);width:calc((100% - 40px)/3);min-width:0;margin-inline:0}
@media(max-width:767px){body.tax-product_cat #main ul.products>li.product:only-child{flex-basis:100%;width:100%}}
