/* Only the new NVC components; existing content styling is preserved. */
#pdp-review-header {position:relative;z-index:50;background:#003399;clear:both;}
#pdp-review-header .elementor-column-gap-default > .elementor-column > .elementor-element-populated {padding:0;}
#pdp-review-header .elementor-nav-menu--main .elementor-item {font-size:18px;line-height:1.3;}
#pdp-review-header .elementor-nav-menu--dropdown a {font-size:16px;line-height:1.35;white-space:normal;}
#pdp-review-header .elementor-nav-menu--main .sub-menu {max-height:70vh;overflow-y:auto;max-width:360px;min-width:240px!important;}
#pdp-review-header .elementor-menu-toggle:focus-visible,#pdp-review-header a:focus-visible {outline:2px solid #00a6e4;outline-offset:3px;}
#pdp-review-header .elementor-nav-menu--dropdown {z-index:100;}
.pdp-social-block .elementor-heading-title {line-height:1.45;}
.pdp-social-block .elementor-social-icon-x-twitter i::before {content:'𝕏';font-family:Arial,sans-serif;font-weight:700;}
#footerColumn4 .pdp-social-block .elementor-heading-title {color:#fff;}
#footerColumn4 .pdp-social-block .elementor-social-icon {background:#fff;color:#003399;}
#footerColumn4 .pdp-social-block .elementor-social-icon i {color:#003399;}
#footerColumn4 .pdp-footer-social {max-width:520px;margin:0 auto;}
#pdp-review-header .elementor-nav-menu--dropdown .elementor-item {padding:14px 20px;}
@media(max-width:1024px){
 #pdp-review-header .elementor-row {flex-wrap:nowrap;}
 #pdp-review-header .elementor-nav-menu--dropdown {max-height:75vh;overflow:auto;}
 #pdp-review-header .elementor-menu-toggle {margin-left:auto;}
}
/* Reset legacy theme nav rules inside the Elementor header only. */
#pdp-review-header nav ul,#pdp-review-header nav li {height:auto!important;min-height:0;float:none;margin:0;padding:0;}
#pdp-review-header nav li {position:relative;}
#pdp-review-header .elementor-menu-toggle {min-width:44px;min-height:44px;align-items:center;justify-content:center;}
#pdp-review-header .elementor-menu-toggle i {font-family:eicons!important;font-size:28px;color:white;}
@media(max-width:1024px){
 #pdp-review-header nav.elementor-nav-menu--dropdown {position:absolute!important;width:100%!important;left:0!important;max-height:75vh;overflow-y:auto!important;overflow-x:hidden!important;}
 #pdp-review-header nav.elementor-nav-menu--dropdown > ul {display:block!important;}
 #pdp-review-header nav.elementor-nav-menu--dropdown li {display:block!important;float:none!important;width:100%!important;}
}
#pdp-review-header .elementor-widget {margin-bottom:0;}
#pdp-review-header .elementor-search-form__toggle {color:#fff!important;background:transparent!important;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;}
@media(max-width:1024px){
 #pdp-review-header nav.elementor-nav-menu--dropdown {top:calc(100% + 16px)!important;}
}
#pdp-review-header .elementor-search-form__toggle i {font-size:22px!important;color:#fff!important;}
#pdp-review-header .elementor-search-form__toggle svg {width:22px;height:22px;fill:#fff;}
#pdp-review-header .menu-item-has-children > a::after {display:none!important;}
#pdp-review-header .elementor-nav-menu--main .sub-arrow {color:inherit;}
/* Let Elementor manage submenu state instead of the old hover-only theme rules. */
#pdp-review-header ul.sub-menu {visibility:visible!important;opacity:1!important;transition:none!important;background:#fff;margin-top:0;}
#pdp-review-header ul.sub-menu[aria-hidden="true"] {display:none!important;}
#pdp-review-header ul.sub-menu[aria-hidden="false"] {display:block!important;}
#pdp-review-header ul.sub-menu > li {background:transparent;}
@media(max-width:1024px){
 #pdp-review-header nav.elementor-nav-menu--dropdown ul.sub-menu {position:static!important;max-height:none;margin:0!important;width:auto!important;}
}

/* The theme's LI arrow duplicates Elementor's native .sub-arrow. */
#pdp-review-header nav > ul > li.menu-item-has-children::after {content:none!important;display:none!important;}
/* Keep the closed search layer out of layout before late widget CSS arrives. */
#pdp-review-header .elementor-search-form--skin-full_screen .elementor-search-form__container:not(.elementor-search-form--full-screen) {display:none!important;}

/* Compact search panel, retaining Elementor's native toggle and keyboard behavior. */
#pdp-review-header .pdp-header-search .elementor-search-form__container {
 position:absolute;inset:auto 0 auto auto;top:calc(100% + 14px);width:320px;max-width:calc(100vw - 48px);height:auto;min-height:68px;
 padding:12px 44px 12px 14px;background:#fff;border:1px solid #d6dce6;border-radius:4px;box-shadow:0 6px 20px #0003;transition:none;
}
#pdp-review-header .pdp-header-search .elementor-search-form input[type=search].elementor-search-form__input {font-size:18px;line-height:1.5;text-align:left;color:#003399;border:0;border-bottom:1px solid #aab5c5;padding:6px 0;}
#pdp-review-header .pdp-header-search .dialog-close-button {position:absolute;top:50%;right:10px;left:auto;transform:translateY(-50%);color:#003399;font-size:20px;}
/* Allow footer content to determine its height instead of protruding above it. */
#footerWrapper #footerColumn4Wrapper {position:relative;inset:auto;min-height:0;}
#footerWrapper #footerColumn4 {position:relative;inset:auto;display:block;width:100%;}
/* Keep reused social templates full-width in the legacy sidebar layouts. */
.pdp-social-block .elementor-column {width:100%!important;}
.pdp-social-block .elementor-widget {width:100%!important;}
.pdp-social-block .elementor-heading-title {text-transform:none!important;letter-spacing:normal;}
.pdp-social-block .elementor-social-icons-wrapper {display:flex!important;justify-content:center;gap:10px;flex-wrap:wrap;}
.pdp-social-block .elementor-grid-item {margin:0!important;}

/* Responsive header: reserve predictable space for the logo and search. */
#pdp-review-header .pdp-review-navigation > .elementor-container {display:flex;align-items:stretch;gap:20px;}
#pdp-review-header .pdp-review-navigation > .elementor-container > .elementor-column:first-child {width:54px;flex:0 0 54px;}
#pdp-review-header .pdp-review-navigation > .elementor-container > .elementor-column:nth-child(2) {width:auto;flex:1;min-width:0;}
#pdp-review-header .pdp-review-navigation > .elementor-container > .elementor-column:last-child {width:44px;flex:0 0 44px;}
#pdp-review-header .elementor-search-form__toggle {width:44px;}
#pdp-review-header .elementor-nav-menu--main > ul {justify-content:flex-end;flex-wrap:nowrap;}
#pdp-review-header .elementor-nav-menu--main .elementor-item {padding-left:12px;padding-right:12px;}
@media(max-width:1024px){
 #pdp-review-header .pdp-review-navigation {padding:6.5px 20px;}
 #pdp-review-header .pdp-review-navigation > .elementor-container {gap:12px;position:static;}
 #pdp-review-header .pdp-review-navigation > .elementor-container > .elementor-column:first-child {width:39px;flex-basis:39px;}
 #pdp-review-header .elementor-widget-image img {width:39px;}
 #pdp-review-header .pdp-review-navigation > .elementor-container > .elementor-column:nth-child(2),
 #pdp-review-header .elementor-widget-nav-menu,
 #pdp-review-header .elementor-widget-nav-menu > .elementor-widget-container,
 #pdp-review-header .pdp-review-navigation > .elementor-container > .elementor-column:nth-child(2) > .elementor-widget-wrap {position:static;}
 #pdp-review-header nav.elementor-nav-menu--dropdown {top:100%!important;left:0!important;width:100%!important;margin:0!important;box-shadow:0 8px 18px #0002;}
}
/* One footer grid, with the brand centered below the links on tablet. */
#footerWrapper {padding:40px 24px 24px;}
#footerWrapper > footer.footer {display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:32px;max-width:1250px;width:100%;margin:0 auto;padding:0;align-items:start;}
#footerWrapper #footerWidgets {float:none;width:auto;min-width:0;min-height:0;margin:0;padding:0;}
#footerWrapper #footerWidgets > .row {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;}
#footerWrapper #footerWidgets .footerColumn {float:none;width:auto;max-width:none;min-width:0;padding:0;margin:0;text-align:left;}
#footerWrapper #footerWidgets ul {padding:0;margin:0;}
#footerWrapper #footerWidgets li {padding:0;margin:0 0 10px;}
#footerWrapper #footerWidgets a {font-size:15px;line-height:1.5;letter-spacing:.2px;overflow-wrap:anywhere;}
#footerWrapper #footerColumn4Wrapper {float:none;width:100%;margin:0;padding:0;}
#footerWrapper #footerColumn4 {min-width:0;}
#footerWrapper footer > p.clearBoth {display:none;}
#footerWrapper #copyright {margin-top:24px;padding:0;font-size:12px;}
#footerColumn4 .pdp-footer-social > .elementor-container > .elementor-column > .elementor-widget-wrap {padding:0;}
.pdp-social-block {box-sizing:border-box;}
.pdp-social-block .elementor-column > .elementor-widget-wrap {padding:0!important;}
body .pdp-social-block .elementor-heading-title {line-height:1.5;text-align:center;margin:0;}
.pdp-social-block .elementor-widget-heading {margin-bottom:12px;}
.pdp-social-block .elementor-social-icons-wrapper {gap:10px;}
@media(max-width:1099px){
 #footerWrapper > footer.footer {grid-template-columns:minmax(0,1fr);gap:32px;}
 #footerWrapper #footerColumn4Wrapper {max-width:320px;justify-self:center;}
}
@media(max-width:699px){
 #footerWrapper #footerWidgets > .row {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
}
@media(max-width:479px){
 #footerWrapper {padding:28px 20px 24px;}
 #footerWrapper #footerWidgets > .row {grid-template-columns:minmax(0,1fr);gap:16px;}
 #footerWrapper #footerWidgets .footerColumn {text-align:center;}
}
/* Bootstrap clearfix pseudo-elements must not occupy footer grid cells. */
#footerWrapper #footerWidgets > .row::before,
#footerWrapper #footerWidgets > .row::after {display:none;content:none;}
@media(max-width:479px){
 /* The sidebar cover's legacy 1.3x scale exceeds narrow phone viewports. */
 .elementor-widget-image img.wp-image-10088 {transform:none!important;max-width:100%;height:auto;}
}
/* Native Elementor purchase groups embedded in WooCommerce book descriptions. */
.pdp-book-purchase {margin:14px 0;clear:both;}
.pdp-book-purchase .elementor-widget-wrap {display:flex;gap:12px;align-items:stretch;padding:0!important;}
.pdp-book-purchase .elementor-widget-button {width:auto;margin:0!important;}
.pdp-book-purchase .elementor-button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 18px;text-decoration:none;}
@media(max-width:479px){
 .pdp-book-purchase .elementor-widget-button {width:100%;}
 .pdp-book-purchase .elementor-button {width:100%;}
}
/* Social copy and alignment requested in client screenshots. */
.pdp-social-block .pdp-social-tail {display:block;}
.elementor-25 .pdp-social-block {padding-left:0;padding-right:0;}
body .elementor-25 .pdp-social-block .elementor-heading-title {text-align:left;}
.elementor-25 .pdp-social-block .elementor-social-icons-wrapper {justify-content:flex-start;}
.elementor-25 .pdp-social-block .pdp-social-tail {display:inline;}
/* Sample, Amazon, publisher and endorsements share one responsive action row. */
.pdp-book-purchase .elementor-widget-wrap {flex-wrap:wrap;}
.pdp-book-purchase .elementor-button {white-space:normal;}
/* Prevent legacy global span styles from changing the social sentence. */
.pdp-social-block .pdp-social-tail {font:inherit!important;color:inherit!important;letter-spacing:inherit;}
.elementor-25 .pdp-social-block {padding-left:0!important;padding-right:0!important;}
@media(max-width:479px){
 body.single-product ul.productImagesShowing li {min-width:0;max-width:100%;}
 body.single-product ul.productImagesShowing img {max-width:100%;height:auto;}
}

/* Reduce the mobile gap between the hero cover and headline. */
@media(max-width:767px){
 .elementor-8208 .elementor-element-6d15aa7 .elementor-heading-title {margin-top:5px;}
}
