/* ============================================================
   NORDIC NOIR BOOKS – KOMPLETT CUSTOM CSS
   CONSOLIDATED / RESTORED VERSION

   Existing layout, product-page fixes, header, footer,
   Related Books and More by Author rules are preserved.

   TYPOGRAPHY:
   Inter sitewide, matching Elementor homepage.

   IMPORTANT:
   Do not add broad global rules that alter ReHub/WooCommerce
   product layouts.
   ============================================================ */


/* GLOBAL TYPOGRAPHY */
html body { font-family:"Inter",Arial,Helvetica,sans-serif!important; }

html body p, html body li, html body td, html body th, html body label,
html body input, html body textarea, html body select, html body .entry-content,
html body .entry-content p, html body .entry-content li, html body .wp-block-paragraph,
html body .elementor-widget-text-editor, html body .elementor-widget-text-editor p,
html body .wpb_text_column, html body .wpb_text_column p {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
}

html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body .entry-title, html body .page-title, html body .vc_custom_heading,
html body .elementor-heading-title {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
}


/* HEADING SIZES DESKTOP */
html body h1, html body .entry-title, html body .page-title, html body .vc_custom_heading {
 font-size:30px!important;
 line-height:1.2!important;
 font-weight:700!important;
}

html body h2, html body .elementor-heading-title {
 font-size:30px!important;
 line-height:1.2!important;
 font-weight:700!important;
}

html body h3 {
 font-size:24px!important;
 line-height:1.25!important;
 font-weight:700!important;
}

html body h4 {
 font-size:20px!important;
 line-height:1.3!important;
 font-weight:600!important;
}

html body h5 {
 font-size:18px!important;
 line-height:1.35!important;
 font-weight:600!important;
}

html body h6 {
 font-size:16px!important;
 line-height:1.4!important;
 font-weight:600!important;
}


/* BODY TEXT DESKTOP */
html body p, html body li, html body td, html body th,
html body .entry-content, html body .entry-content p,
html body .entry-content li, html body .wp-block-paragraph,
html body .elementor-widget-text-editor,
html body .elementor-widget-text-editor p {
 font-size:16px!important;
 line-height:1.6!important;
}


/* NAV TYPOGRAPHY */
html body #main_nav,
html body #main_nav a,
html body .search-form-inheader,
html body .search-form-inheader a,
html body .nav-menu,
html body .nav-menu a {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
 font-size:15px!important;
 font-weight:500!important;
}


/* PRODUCT TITLES */
html body .woocommerce-loop-product__title,
html body ul.products li.product h2,
html body ul.products li.product h3,
html body .woocommerce ul.products li.product .woocommerce-loop-product__title {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
 font-size:14px!important;
 line-height:1.35!important;
 font-weight:600!important;
}


/* SINGLE PRODUCT TITLE */
html body.single-product .product_title {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
 font-size:30px!important;
 line-height:1.2!important;
 font-weight:700!important;
}


/* BUTTON TYPOGRAPHY */
html body button,
html body input[type="button"],
html body input[type="submit"],
html body .button,
html body .btn,
html body a.btn,
html body .rehub-offer-btn,
html body .rh-offer-btn {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
}


/* GENERAL */
.woocommerce .onsale {
 background:#6dab3c;
}

.compare-domain-icon {
 display:none;
}


/* HIDE DATES / UPDATE INFORMATION */
time,
.updated,
.published,
.posted-on,
.post-date,
.post-meta,
.post-meta-date,
.meta,
.meta-item,
.rh-post-meta,
.rh-meta,
.single time,
.single .updated,
.single .published {
 display:none!important;
 visibility:hidden!important;
 opacity:0!important;
 height:0!important;
 margin:0!important;
 padding:0!important;
}

.rehub-last-update,
.rh-last-update,
.last-update,
.update-info,
[class*="update"],
[class*="modified"] {
 display:none!important;
}


/* PRODUCT ZOOM IMAGE */
body.single-product img.zoomImg {
 display:none!important;
 opacity:0!important;
 visibility:hidden!important;
 pointer-events:none!important;
}


/* HIDE HEADER SLOGANS */
html body .rhsloganlogo,
.header_slogan,
.top-slogan,
.header-slogan,
header [class*="slogan"] {
 display:none!important;
}


/* HEADER BASE */
#main_header,
.header_wrap {
 overflow:visible!important;
}

header#main_header,
header#main_header.white_style,
header#main_header .header_wrap,
header#main_header .logo_section_wrap,
header#main_header .logo_section_wrap.hideontablet,
div.logo-section.rh-flex-center-align.tabletblockdisplay.header_eight_style,
header#main_header .logo-section {
 background-color:#000000!important;
 background:#000000!important;
}


/* HEADER NAV RESET */
#main_nav ul,
#main_nav ul li,
nav ul,
nav ul li,
.nav-menu,
.nav-menu li,
header nav ul,
header nav li {
 list-style:none!important;
 list-style-type:none!important;
 background-image:none!important;
}

#main_nav ul li::before,
#main_nav ul li::after,
nav ul li::before,
nav ul li::after,
.nav-menu li::before,
.nav-menu li::after,
header nav li::before,
header nav li::after {
 display:none!important;
 content:none!important;
}


/* HEADER COMMON CONTAINER */
#main_header .rh-container {
 max-width:1140px!important;
 width:100%!important;
 margin-left:auto!important;
 margin-right:auto!important;
 padding-left:15px!important;
 padding-right:15px!important;
 box-sizing:border-box!important;
 float:none!important;
}


/* HEADER LOGO AREA */
div.logo-section.rh-flex-center-align.tabletblockdisplay.header_eight_style {
 padding-top:34px!important;
 padding-bottom:34px!important;
 min-height:unset!important;
 height:auto!important;
 overflow:visible!important;
}


/* DESKTOP LOGO */
.logo_image img,
html body .logo_image img,
html body .header_left_logo img,
html body .logo-section img,
html body .header_eight_style img,
img[alt="Nordic Noir Books"],
img[alt="Nordic Noir"] {
 height:56px!important;
 max-height:56px!important;
 min-height:unset!important;
 width:auto!important;
 max-width:none!important;
 object-fit:contain!important;
}


/* DESKTOP MAIN NAV */
@media (min-width:768px) {
 div.search-form-inheader.main-nav.dark_style {
  background-color:#1e1e1e!important;
  background:#1e1e1e!important;
  width:100vw!important;
  position:relative!important;
  left:50%!important;
  right:50%!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
 }

 div.search-form-inheader.main-nav.dark_style .rh-container {
  background-color:#1e1e1e!important;
  background:#1e1e1e!important;
 }
}


/* DESKTOP MENU SPACING */
@media (min-width:1101px) {
 div.search-form-inheader ul.menu {
  width:100%!important;
  justify-content:space-between!important;
  padding-left:0!important;
  margin-left:0!important;
 }

 div.search-form-inheader ul.menu > li:first-child,
 div.search-form-inheader ul.menu > li:first-child > a {
  padding-left:0!important;
  margin-left:0!important;
 }

 div.search-form-inheader ul.menu > li:last-child,
 div.search-form-inheader ul.menu > li:last-child > a {
  padding-right:0!important;
  margin-right:0!important;
 }
}

.search-header-form,
body.single-product .search-header-form,
.header_eight_style .search-header-form {
 margin-top:0!important;
 margin-left:0!important;
 margin-right:0!important;
}


/* MOBILE LOGO */
@media (max-width:767px) {
 a.logo_image_mobile img,
 .logo_image_mobile img,
 #dl-menu a.logo_image_mobile img,
 #dl-menu .logo_image_mobile img {
  width:auto!important;
  max-width:160px!important;
  height:auto!important;
  max-height:60px!important;
  object-fit:contain!important;
 }

 a.logo_image_mobile,
 .logo_image_mobile,
 #dl-menu a.logo_image_mobile {
  width:auto!important;
  max-width:160px!important;
 }
}


/* MOBILE HEADER */
@media (max-width:767px) {
 div.logo_section_wrap,
 div.logo_section_wrap .rh-outer-wrap,
 div.logo_section_wrap .rh-container,
 div.logo-section.rh-flex-center-align.tabletblockdisplay.header_eight_style {
  background-color:#000000!important;
  background:#000000!important;
 }

 div.search-form-inheader.main-nav.dark_style {
  background-color:#1e1e1e!important;
  background:#1e1e1e!important;
  width:100%!important;
  max-width:100%!important;
  position:relative!important;
  left:0!important;
  right:auto!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
 }

 div.search-form-inheader.main-nav.dark_style > div.rh-container {
  background-color:#1e1e1e!important;
  background:#1e1e1e!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  float:none!important;
 }

 div.search-form-inheader.main-nav.dark_style div.responsive_nav_wrap.rh_mobile_menu {
  background-color:#1e1e1e!important;
  background:#1e1e1e!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }

 div.search-form-inheader.main-nav.dark_style div.responsive_nav_wrap.rh_mobile_menu #dl-menu {
  background-color:#1e1e1e!important;
  background:#1e1e1e!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
  box-sizing:border-box!important;
 }

 div.search-form-inheader.main-nav.dark_style div.responsive_nav_wrap.rh_mobile_menu div.dl-menuwrapper {
  background-color:#1e1e1e!important;
  background:#1e1e1e!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }
}


/* MENU HOVER / ACTIVE */
div.search-form-inheader.main-nav.dark_style ul.menu > li > a:hover,
div.search-form-inheader.main-nav.dark_style ul.menu > li.current-menu-item > a,
div.search-form-inheader.main-nav.dark_style ul.menu > li.current_page_item > a {
 color:#ffffff!important;
 opacity:.65!important;
}

div.search-form-inheader ul.menu ul.sub-menu li a:hover {
 color:#ffffff!important;
 opacity:.65!important;
}


/* FOOTER DESKTOP */
div#media_image-5 img,
div#media_image-5.widget_media_image img,
img.wp-image-4431 {
 width:auto!important;
 max-width:200px!important;
 height:auto!important;
 max-height:72px!important;
 object-fit:contain!important;
 margin-bottom:10px!important;
}

.rh-flex-eq-height.col_wrap_three.mb0 {
 padding-top:30px!important;
 padding-bottom:20px!important;
 align-items:flex-start!important;
}

.footer_widget.pt25 {
 padding-top:0!important;
}

.footer_widget .title {
 margin-top:0!important;
 margin-bottom:8px!important;
}

.footer_widget .textwidget p {
 margin-bottom:4px!important;
 line-height:1.5!important;
}

.footer_bottom_section,
.footer_bottom,
.rh_footer_bottom,
[class*="footer_bottom"] {
 padding-top:10px!important;
 padding-bottom:10px!important;
 margin-top:0!important;
}


/* NEWSLETTER BUTTON */
.rehub_chimp_flat #mc-embedded-subscribe,
input#mc-embedded-subscribe.button,
#mc-embedded-subscribe {
 background-color:#7a1f2e!important;
 background:#7a1f2e!important;
 border-color:#7a1f2e!important;
 color:#ffffff!important;
}

.rehub_chimp_flat #mc-embedded-subscribe:hover,
input#mc-embedded-subscribe.button:hover,
#mc-embedded-subscribe:hover {
 background-color:#621828!important;
 background:#621828!important;
 border-color:#621828!important;
}


/* BUTTON TEXT */
.woocommerce-page .btn,
.single-product .btn,
table.content-egg-table a.btn,
.ce-table a.btn,
.content-egg-component a.btn,
a.btn.btn-success,
a.btn.btn-warning,
a.btn.btn-primary,
.rehub-offer-btn,
.rh-offer-btn {
 color:#ffffff!important;
}


/* FOOTER TYPOGRAPHY */
html body .footer_widget,
html body .footer_widget p,
html body .footer_widget a,
html body .footer_widget li,
html body .footer_widget .title,
html body .footer_widget h4,
html body .footer_widget h5 {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
}


/* PRODUCT GRID – 4 COLUMNS DESKTOP */
@media (min-width:768px) {
 .woocommerce ul.products,
 ul.products {
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
  gap:16px!important;
 }

 .woocommerce ul.products li.product,
 ul.products li.product {
  width:100%!important;
  margin:0!important;
  float:none!important;
 }
}


/* PRODUCT GRID TITLES */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
ul.products li.product h3 {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
 font-size:14px!important;
 font-weight:600!important;
 line-height:1.35!important;
 margin:0 0 4px 0!important;
 padding:0!important;
 text-align:center!important;
 display:-webkit-box!important;
 -webkit-line-clamp:3!important;
 -webkit-box-orient:vertical!important;
 overflow:hidden!important;
}

span.compare_for_grid {
 display:none!important;
}

.wpsm-button-new-compare,
a.compare_add,
.compare_add {
 display:none!important;
}


/* PRODUCT PAGE – SHORT DESCRIPTION */
.single-product .woocommerce-product-details__short-description {
 text-align:left!important;
 font-size:15px!important;
 line-height:1.7!important;
}

.single-product .woocommerce-product-details__short-description p {
 text-align:left!important;
}


/* HIDE WOOCOMMERCE TABS */
.single-product .woocommerce-tabs ul.tabs {
 display:none!important;
}

.single-product .woocommerce-tabs .wc-tab {
 display:block!important;
 opacity:1!important;
 visibility:visible!important;
}

.single-product #tab-description > h2:first-child,
.single-product #tab-description > h3:first-child {
 display:none!important;
}

.single-product #tab-description,
.single-product #tab-description p,
.single-product #section-description,
.single-product #section-description p,
.single-product #section-description h2,
.single-product #section-description h3,
.single-product .woocommerce-tabs p {
 text-align:left!important;
 font-size:15px!important;
 line-height:1.7!important;
}


/* PRODUCT PAGE – REMOVE SPECIFICATION */
.single-product .woocommerce-tabs #tab-additional_information,
.single-product .woocommerce-tabs li.additional_information_tab,
.woocommerce-product-attributes,
.single-product table.woocommerce-product-attributes,
.single-product #section-additional_information,
.single-product .section-tab-content,
.single-product .rehub_spec,
.single-product .rh-spec-table,
.single-product [id*="section-additional"] {
 display:none!important;
}


/* PRODUCT PAGE – REMOVE EXTRA META / COMPARE / REVIEW */
.single-product span.rehub_scroll.cursorpointer.font80.greycolor {
 display:none!important;
}

html body.single-product .meta.post-meta .more-from-store-a,
html body.single-product .meta.post-meta .tag_woo_meta,
html body.single-product .meta.post-meta .tag_woo_meta_item {
 display:none!important;
}

html body.single-product .woo_top_meta,
html body.single-product .woo_top_meta .rehub_scroll {
 display:none!important;
}

html body.single-product .price_updated {
 display:none!important;
}

html body.single-product .rhwoosinglecompare,
html body.single-product .wpsm-button-new-compare,
html body.single-product .comparelabel,
html body.single-product .woo-button-actions-area .rhwoosinglecompare,
html body.single-product .woo-button-actions-area .wpsm-button-new-compare,
html body.single-product .rh-deal-btn .rhwoosinglecompare,
html body.single-product .rh-deal-btn .wpsm-button-new-compare {
 display:none!important;
}


/* PRODUCT PAGE – SUMMARY ORDER */
.single-product div.summary {
 display:flex!important;
 flex-direction:column!important;
}

.single-product .summary .product_title {
 order:1!important;
}

.single-product .summary .book-author-single {
 order:2!important;
}

.single-product .summary .re_wooinner_info {
 order:3!important;
}

.single-product .summary .cegg5-container {
 order:4!important;
}

.single-product .summary .re_wooinner_cta_wrapper {
 order:5!important;
}

.single-product .summary .price_updated {
 order:6!important;
}

.single-product .summary .mb20 {
 order:7!important;
}

.single-product .summary .post_share {
 order:8!important;
}


/* BUY NOW */
html body.single-product .cegg5-container .btn-primary,
html body.single-product .cegg5-container a .btn.btn-primary {
 background-color:#111111!important;
 background:#111111!important;
 border-color:#111111!important;
 color:#ffffff!important;
}

html body.single-product .cegg5-container .btn-primary:hover,
html body.single-product .cegg5-container a .btn.btn-primary:hover {
 background-color:#333333!important;
 background:#333333!important;
 border-color:#333333!important;
 color:#ffffff!important;
}


/* HIDE STANDARD RELATED */
html body.single-product .related.products {
 display:none!important;
}

#jp-relatedposts,
.jp-relatedposts {
 display:none!important;
}


/* HIDE REHUB FLOATING */
.rh-floatpanel,
.rh-float-panel,
.rehub-floatpanel,
#rh-floatpanel,
.single-product .rh_sticky_panel,
.single-product .sticky-panel,
.single-product .flowhidden.rh-float-panel {
 display:none!important;
}


/* MOBILE MAIN PRODUCT IMAGE */
@media (max-width:767px) {
 .single-product .woo_directory_layout .text-center.margincenter img {
  max-height:280px!important;
  width:auto!important;
  margin:0 auto!important;
  display:block!important;
 }
}


/* ABOUT */
.page-id-1572 .elementor-widget-wrap {
 padding-top:0!important;
}

.page-id-1572 .elementor-section {
 padding-top:0!important;
 margin-top:0!important;
}

.page-id-1572 .elementor-widget-text-editor,
.page-id-1572 .elementor-widget-text-editor p,
.page-id-1572 .elementor-widget-text-editor div,
.page-id-1572 .elementor-text-editor,
.page-id-1572 .elementor-text-editor p {
 text-align:left!important;
}


/* TEXT PAGES */
.page-template-default .entry-content p,
.page-template-default .entry-content li,
.page-template-default .entry-content h2,
.page-template-default .entry-content h3,
.page-template-default .wp-block-paragraph,
.page-template-default .wp-block-heading {
 text-align:left!important;
}

.nnb-explore-section,
.nnb-explore-section p,
.nnb-explore-section ul,
.nnb-explore-section li {
 text-align:left!important;
}


/* HOMEPAGE HERO */
html body.home .elementor-element-79426fd h2.elementor-heading-title {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
 font-size:28px!important;
 line-height:1.25!important;
 font-weight:700!important;
 text-align:center!important;
 margin-top:0!important;
 margin-bottom:4px!important;
}

html body.home .elementor-element-bd03651 {
 width:100%!important;
 max-width:100%!important;
 text-align:center!important;
 margin-top:0!important;
 margin-bottom:14px!important;
}

html body.home .elementor-element-bd03651 p.e-ec82dac-35f0d28 {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
 font-size:18px!important;
 line-height:1.5!important;
 text-align:center!important;
 width:100%!important;
 max-width:700px!important;
 margin-top:0!important;
 margin-bottom:0!important;
 margin-left:auto!important;
 margin-right:auto!important;
}


/* HOMEPAGE SECTION HEADINGS / SUBTITLES */
@media (min-width:768px) {
 html body.home .elementor-widget-heading .elementor-heading-title {
  text-align:left!important;
 }

 html body.home .elementor-widget-text-editor,
 html body.home .elementor-widget-text-editor p {
  text-align:left!important;
 }

 html body.home .elementor-element-79426fd h2.elementor-heading-title,
 html body.home .elementor-element-bd03651,
 html body.home .elementor-element-bd03651 p.e-ec82dac-35f0d28 {
  text-align:center!important;
 }
}


/* WPBAKERY / COUNTRY PAGE HEADINGS */
@media (min-width:768px) {
 html body .vc_custom_heading {
  text-align:left!important;
 }

 html body .vc_custom_heading + p,
 html body .vc_custom_heading + .wpb_text_column,
 html body .vc_custom_heading + .wpb_text_column p,
 html body .vc_custom_heading ~ .wpb_text_column p {
  text-align:left!important;
 }
}


/* COUNTRY SUBTITLES */
html body .vc_custom_heading + p,
html body .vc_custom_heading + .wpb_text_column,
html body .vc_custom_heading + .wpb_text_column p,
html body .vc_custom_heading ~ .wpb_text_column p {
 font-family:"Inter",Arial,Helvetica,sans-serif!important;
 font-size:18px!important;
 line-height:1.5!important;
 margin-top:8px!important;
 margin-bottom:16px!important;
}


/* FOOTER CUSTOM BLOCK MOBILE */
@media (max-width:768px) {
 .wp-block-greenshift-blocks-row {
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
 }

 .wp-block-greenshift-blocks-row-column:nth-child(1) {
  order:1;
  width:100%!important;
 }

 .wp-block-greenshift-blocks-row-column:nth-child(4) {
  order:2;
  width:100%!important;
 }

 .wp-block-greenshift-blocks-row-column:nth-child(2) {
  order:3;
  width:50%!important;
  box-sizing:border-box!important;
 }

 .wp-block-greenshift-blocks-row-column:nth-child(3) {
  order:4;
  width:50%!important;
  box-sizing:border-box!important;
 }

 .wp-block-greenshift-blocks-row-column {
  text-align:center!important;
  padding:8px!important;
  margin:0!important;
  box-sizing:border-box!important;
 }

 .wp-block-greenshift-blocks-row-column ul {
  list-style:none!important;
  padding-left:0!important;
  margin-left:0!important;
 }

 #gspb_col-id-gspb-0fed920 h5,
 .wp-block-greenshift-blocks-row-column:nth-child(2) h5,
 .wp-block-greenshift-blocks-row-column:nth-child(3) h5 {
  text-align:center!important;
  padding-left:0!important;
  padding-right:0!important;
  width:100%!important;
  display:block!important;
 }

 .wp-block-greenshift-blocks-row-column p,
 .wp-block-greenshift-blocks-row-column a,
 .wp-block-greenshift-blocks-row-column li {
  text-align:center!important;
 }

 .wp-social-links {
  justify-content:center!important;
 }

 .wp-social-links .wp-block-social-link a {
  color:#ffffff!important;
 }

 .wp-social-links .wp-block-social-link svg {
  fill:#ffffff!important;
 }

 .footer-copyright {
  display:none!important;
 }

 .wp-block-greenshift-blocks-row::after {
  content:"© 2026 Nordic Noir Books";
  display:block!important;
  width:100%!important;
  text-align:center!important;
  color:#ffffff!important;
  padding:16px 0 8px 0!important;
  order:99!important;
 }

 .wp-block-greenshift-blocks-row-column:nth-child(2) {
  display:none!important;
 }

 .wp-block-greenshift-blocks-row-column:nth-child(3) {
  width:100%!important;
  text-align:center!important;
 }
}


/* FOOTER SOCIAL ICON SIZE – FORCE HUGE */
html body .wp-block-social-links.has-huge-icon-size {
 font-size:48px!important;
}

html body .wp-block-social-links.has-huge-icon-size .wp-social-link {
 font-size:48px!important;
 width:48px!important;
 height:48px!important;
 min-width:48px!important;
 min-height:48px!important;
 padding:0!important;
}

html body .wp-block-social-links.has-huge-icon-size .wp-social-link a {
 width:48px!important;
 height:48px!important;
 min-width:48px!important;
 min-height:48px!important;
 padding:0!important;
}

html body .wp-block-social-links.has-huge-icon-size .wp-social-link svg {
 width:48px!important;
 height:48px!important;
 min-width:48px!important;
 min-height:48px!important;
 transform:none!important;
}


/* FOOTER SOCIAL ICONS – CENTERING */
@media (max-width:768px) {
 .wp-social-links {
  justify-content:center!important;
 }
}


/* FOOTER LOGO COLUMN */
.wp-block-greenshift-blocks-row-column:has(img[alt*="Nordic Noir"]) {
 align-items:center!important;
 text-align:center!important;
}

.wp-block-greenshift-blocks-row-column:has(img[alt*="Nordic Noir"]) p {
 text-align:center!important;
 width:100%!important;
}


/* WHITE SOCIAL ICONS */
.wp-block-social-links.is-style-logos-only .wp-block-social-link a,
.wp-block-social-links.is-style-logos-only .wp-block-social-link svg {
 color:#ffffff!important;
 fill:#ffffff!important;
}


/* RELATED BOOKS */
#related-section-woo-area h3,
.related-woo-area h3,
.related-woo-area .clearfix h3 {
 display:none!important;
}


/* EXISTING PRODUCT CONTENT WIDTH – DESKTOP RESPONSIVE
   Only the desktop product-page container is adjusted here.
   The 300px ReHub sidebar is floated inside this container, so
   the container must have room for both the main product area
   and the sidebar. */
@media (min-width:768px) {
 body.single-product #content > .post.mb0 {
  width:1380px;
  max-width:calc(100% - 92px);
  margin-left:auto!important;
  margin-right:auto!important;
 }
}


/* PRODUCT PAGE – STABLE INTERMEDIATE LAYOUT
   Keep the upper product area in its two-column desktop structure while
   there is enough room for the 300px right-hand area. Scope this only to
   the upper product sidebar, which uses mobileblockdisplay.

   The lower Description / More Nordic Noir area has its own separate
   tabletblockdisplay structure and is handled independently below.
   Below 900px we leave ReHub's normal responsive behavior alone rather
   than forcing a hybrid desktop layout into a narrow viewport. */
@media (min-width:900px) and (max-width:1199px) {

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar.mobileblockdisplay {
  display:block!important;
  float:right!important;
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  clear:none!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar.mobileblockdisplay #woo-button-area {
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area .woo-image-part {
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  flex:0 0 200px!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area .woo-title-area {
  min-width:0!important;
  flex:1 1 auto!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

}

/* PRODUCT PAGE – STABLE LOWER DESCRIPTION / MORE NORDIC NOIR AREA
   This is a different ReHub structure from the upper product area.
   Keep its two columns together only when the viewport is wide enough
   for a 300px sidebar. */
@media (min-width:900px) and (max-width:1199px) {

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area.tabletblockdisplay {
  width:calc(100% - 320px)!important;
  max-width:calc(100% - 320px)!important;
  min-width:0!important;
  float:left!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar.tabletblockdisplay {
  display:block!important;
  float:right!important;
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  clear:none!important;
  margin-left:20px!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }

}

/* PRODUCT PAGE – KEEP THE MAIN PRODUCT CONTAINER STABLE ON DESKTOP */
@media (min-width:768px) {
 body.single-product #content > .post.mb0 {
  width:1380px;
  max-width:calc(100% - 92px);
  margin-left:auto!important;
  margin-right:auto!important;
 }
}

/* PRODUCT PAGE – KEEP THE EXISTING LARGE-DESKTOP BUY-NOW SIZE */
@media (min-width:1024px) {
 html body.single-product #woo-button-area {
  width:860px!important;
  max-width:calc(100vw - 520px)!important;
  box-sizing:border-box!important;
 }
}


/* MORE BY AUTHOR */
@media (min-width:768px) {
 .nnb-more-author-books {
  transform:translateY(-18px);
 }
}


/* RELATED BOOKS MOBILE HEADING */
@media (max-width:767px) {
 #content.woo_directory_layout > .post.mb0 > div > h2 {
  text-align:center!important;
  font-family:"Inter",Arial,Helvetica,sans-serif!important;
  font-size:17px!important;
  line-height:1.3!important;
  font-weight:600!important;
 }
}


/* MOBILE TYPOGRAPHY */
@media (max-width:767px) {

 html body h1,
 html body .entry-title,
 html body .page-title,
 html body .vc_custom_heading {
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:700!important;
 }

 html body h2,
 html body .elementor-heading-title {
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:700!important;
 }

 html body h3 {
  font-size:20px!important;
  line-height:1.25!important;
  font-weight:700!important;
 }

 html body h4 {
  font-size:18px!important;
  line-height:1.3!important;
  font-weight:600!important;
 }

 html body h5 {
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:600!important;
 }

 html body h6 {
  font-size:16px!important;
  line-height:1.4!important;
  font-weight:600!important;
 }

 html body p,
 html body li,
 html body td,
 html body th,
 html body .entry-content,
 html body .entry-content p,
 html body .entry-content li,
 html body .wp-block-paragraph,
 html body .elementor-widget-text-editor,
 html body .elementor-widget-text-editor p {
  font-size:15px!important;
  line-height:1.55!important;
 }

 html body #main_nav a,
 html body .search-form-inheader a,
 html body .nav-menu a {
  font-size:14px!important;
 }

 html body.single-product .product_title {
  font-size:24px!important;
  line-height:1.2!important;
 }

 html body .woocommerce-loop-product__title,
 html body ul.products li.product h2,
 html body ul.products li.product h3 {
  font-size:14px!important;
  line-height:1.35!important;
 }

 html body .vc_custom_heading + p,
 html body .vc_custom_heading + .wpb_text_column,
 html body .vc_custom_heading + .wpb_text_column p,
 html body .vc_custom_heading ~ .wpb_text_column p {
  text-align:center!important;
  font-size:15px!important;
  line-height:1.55!important;
  margin-top:8px!important;
  margin-bottom:16px!important;
  padding-left:15px!important;
  padding-right:15px!important;
  box-sizing:border-box!important;
 }

 html body .vc_custom_heading {
  text-align:center!important;
 }

 html body.home .elementor-widget-heading .elementor-heading-title {
  text-align:center!important;
 }

 html body.home .elementor-widget-text-editor,
 html body.home .elementor-widget-text-editor p {
  text-align:center!important;
  font-size:15px!important;
  line-height:1.55!important;
 }

 html body.home .elementor-element-79426fd h2.elementor-heading-title {
  font-size:20px!important;
  line-height:1.3!important;
  text-align:center!important;
  margin-top:0!important;
  margin-bottom:4px!important;
 }

 html body.home .elementor-element-bd03651 {
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
  text-align:center!important;
  margin-top:0!important;
  margin-bottom:14px!important;
 }

 html body.home .elementor-element-bd03651 p.e-ec82dac-35f0d28 {
  text-align:center!important;
  width:100%!important;
  max-width:100%!important;
  padding:0 24px!important;
  box-sizing:border-box!important;
  margin-top:0!important;
  margin-bottom:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  font-size:15px!important;
  line-height:1.6!important;
 }

 .footer_widget.mobileblockdisplay,
 .footer_widget.mobileblockdisplay .title,
 .footer_widget.mobileblockdisplay .textwidget,
 .footer_widget.mobileblockdisplay .textwidget p,
 .footer_widget.mobileblockdisplay ul,
 .footer_widget.mobileblockdisplay ul li,
 .footer_widget.mobileblockdisplay ul li a,
 .footer_widget.mobileblockdisplay h4,
 .footer_widget.mobileblockdisplay h5 {
  text-align:center!important;
 }

 .footer_widget.mobileblockdisplay #media_image-5,
 .footer_widget.mobileblockdisplay #media_image-5 img,
 .footer_widget.mobileblockdisplay img.wp-image-4431 {
  display:block!important;
  margin:0 auto!important;
  text-align:center!important;
  max-width:160px!important;
  max-height:58px!important;
 }

 .rh-flex-eq-height.col_wrap_three .footer_widget.mobileblockdisplay:first-child {
  padding-top:28px!important;
 }

 .footer_widget.mobileblockdisplay #media_image-5 {
  margin-bottom:20px!important;
 }

 .footer_widget.mobileblockdisplay {
  padding-top:16px!important;
  padding-bottom:8px!important;
 }

 .footer_widget.mobileblockdisplay .title {
  font-size:15px!important;
  margin-bottom:6px!important;
 }

 .footer_widget.mobileblockdisplay .textwidget p {
  font-size:13px!important;
  line-height:1.5!important;
  margin-bottom:4px!important;
 }

 .footer_widget.mobileblockdisplay ul li {
  margin-bottom:4px!important;
 }

 .footer_widget.mobileblockdisplay ul li a {
  font-size:13px!important;
 }

 .wrh_wl_loop_btn_wrap,
 .wl-loop-btn-wrap,
 .rh-wishlist-compare,
 .rh_wl_compare_buttons {
  position:static!important;
  display:flex!important;
 }
}


/* FINAL MOBILE FOOTER CUSTOM BLOCK */
@media (max-width:768px) {

 .wp-block-greenshift-blocks-row-column {
  text-align:center!important;
 }

 .wp-block-greenshift-blocks-row-column h5,
 .wp-block-greenshift-blocks-row-column p,
 .wp-block-greenshift-blocks-row-column a,
 .wp-block-greenshift-blocks-row-column li {
  text-align:center!important;
 }

 .wp-social-links {
  justify-content:center!important;
 }
}


/* ============================================================
   LATEST APPROVED CHANGES
   ============================================================ */


/* HOMEPAGE HERO SLOGAN */
html body.home .elementor-element-79426fd h2.elementor-heading-title {
 font-size:24px!important;
}

@media (max-width:767px) {
 html body.home .elementor-element-79426fd h2.elementor-heading-title {
  font-size:20px!important;
 }
}


/* HOMEPAGE INTRO SPACE */
html body.home .elementor-element-bd03651 {
 margin-bottom:24px!important;
}


/* ============================================================
   DESKTOP PRODUCT COVER – 200 PX
   Only the desktop cover size is changed here.
   ============================================================ */

@media (min-width:768px) {

 .single-product .woo-image-part {
  width:200px!important;
  flex:0 0 200px!important;
  box-sizing:border-box!important;
 }

 .single-product .woo-image-part img {
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
 }
}


/* ============================================================
   COMPARE PRICES – ALL REHUB / WOOCOMMERCE DEAL LIST BUTTONS
   ============================================================ */

html body .priced_block .btn_offer_block,
html body .btn_block_part .btn_offer_block,
html body .rh-deal-compact-btn,
html body a.re_track_btn.woo_loop_btn.btn_offer_block.product_type_external {
 background:#111111!important;
 background-color:#111111!important;
 border-color:#111111!important;
 color:#ffffff!important;
 border-radius:0!important;
 box-shadow:none!important;
}

html body .priced_block .btn_offer_block:hover,
html body .btn_block_part .btn_offer_block:hover,
html body .rh-deal-compact-btn:hover,
html body a.re_track_btn.woo_loop_btn.btn_offer_block.product_type_external:hover {
 background:#333333!important;
 background-color:#333333!important;
 border-color:#333333!important;
 color:#ffffff!important;
 border-radius:0!important;
}





/* ============================================================
   PRODUCT PAGE – V7.4 RESPONSIVE GEOMETRY

   This block is deliberately limited to single-product pages.
   It does not alter the homepage, country pages, header, footer,
   Related Books, Buy Now styling, or general product grids.

   Principle:
   - >=1200px: one fixed 1200px product grid (880px + 20px + 300px)
   - 900–1199px: use the clean responsive/tablet structure instead
     of allowing ReHub's hybrid intermediate layout
   - <900px: leave the established mobile layout untouched
   - More by Author gets a stable 300px box and two controlled cards
     when there is room; card images are capped rather than stretched.
   ============================================================ */

/* LARGE DESKTOP: FIX THE PRODUCT GRID, NOT THE VIEWPORT */
@media (min-width:1200px) {

 html body.single-product #content > .post.mb0 {
  width:1200px!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 /* TOP PRODUCT ROW: main product + fixed 300px right area */
 html body.single-product .border-grey-bottom > .mt20.rh-container {
  width:1200px!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:880px!important;
  max-width:880px!important;
  min-width:880px!important;
  float:left!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container > .rh-flex-eq-height.content-woo-area.rh-300-content-area .woo-image-part {
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  flex:0 0 200px!important;
  box-sizing:border-box!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container > .rh-flex-eq-height.content-woo-area.rh-300-content-area .woo-title-area {
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  flex:1 1 auto!important;
  box-sizing:border-box!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container > .rh-300-sidebar {
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  float:right!important;
  clear:none!important;
  box-sizing:border-box!important;
  margin-left:20px!important;
  margin-right:0!important;
 }

 /* Keep Buy Now inside its actual product/title area. */
 html body.single-product #woo-button-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 /* LOWER DESCRIPTION + MORE NORDIC NOIR: same fixed grid. */
 html body.single-product .content-woo-area.rh-stickysidebar-wrapper {
  width:1200px!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .content-woo-area.rh-stickysidebar-wrapper > .rh-300-content-area {
  width:880px!important;
  max-width:880px!important;
  min-width:880px!important;
  float:left!important;
  box-sizing:border-box!important;
 }

 html body.single-product .content-woo-area.rh-stickysidebar-wrapper > .rh-300-sidebar {
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  float:right!important;
  clear:none!important;
  margin-left:20px!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }

 /* More by Author: stable two-card area, without stretching covers. */
 html body.single-product .nnb-more-author-books {
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid {
  display:grid!important;
  grid-template-columns:140px 140px!important;
  column-gap:12px!important;
  row-gap:12px!important;
  width:292px!important;
  max-width:292px!important;
  min-width:292px!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  min-width:140px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book img {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  height:auto!important;
  box-sizing:border-box!important;
 }
}


/* MEDIUM DESKTOP / TABLET: REMOVE THE HYBRID REHUB LAYOUT.
   Use a single-column product flow from 900–1199px. This matches the
   structural transition already used by the responsive product page,
   rather than forcing desktop floats into a viewport that cannot hold
   the full 880 + 20 + 300 grid. */
@media (min-width:900px) and (max-width:1199px) {

 html body.single-product #content > .post.mb0 {
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container,
 html body.single-product .content-woo-area.rh-stickysidebar-wrapper {
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }

 /* Top product content becomes one normal block. */
 html body.single-product .border-grey-bottom > .mt20.rh-container > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container > .rh-flex-eq-height.content-woo-area.rh-300-content-area .woo-image-part {
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  flex:0 0 200px!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container > .rh-flex-eq-height.content-woo-area.rh-300-content-area .woo-title-area {
  min-width:0!important;
  width:auto!important;
  flex:1 1 auto!important;
 }

 /* Buy Now remains part of the normal product flow; it is not forced
    into a 300px floating sidebar at this width. */
 html body.single-product .border-grey-bottom > .mt20.rh-container > .rh-300-sidebar {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  margin:20px 0 0 0!important;
  box-sizing:border-box!important;
 }

 html body.single-product #woo-button-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 /* Lower Description and More Nordic Noir also become a single clean
    flow, so neither column can drift or change width independently. */
 html body.single-product .content-woo-area.rh-stickysidebar-wrapper > .rh-300-content-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  box-sizing:border-box!important;
 }

 html body.single-product .content-woo-area.rh-stickysidebar-wrapper > .rh-300-sidebar {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  margin:20px 0 0 0!important;
  box-sizing:border-box!important;
 }

 /* Keep More by Author itself stable and prevent cover stretching. */
 html body.single-product .nnb-more-author-books {
  width:300px!important;
  max-width:300px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid {
  display:grid!important;
  grid-template-columns:140px 140px!important;
  column-gap:12px!important;
  row-gap:12px!important;
  width:292px!important;
  max-width:292px!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book {
  width:140px!important;
  max-width:140px!important;
  min-width:140px!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book img {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  height:auto!important;
 }
}


/* 768–899px: do not introduce another product-specific intermediate
   geometry. Let the established responsive/mobile rules take over. */
@media (min-width:768px) and (max-width:899px) {
 html body.single-product .rh-300-sidebar.tabletblockdisplay {
  display:block!important;
 }
}


/* ================================================================
   FINAL PRODUCT-PAGE RESPONSIVE OVERRIDE
   Product page only. Desktop: 1024px+. Clean responsive flow: below 1024px.
   ================================================================ */

@media (min-width:1024px) {

 html body.single-product #content > .post.mb0 {
  width:1200px!important;
  max-width:calc(100% - 30px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container {
  width:1200px!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:880px!important;
  max-width:880px!important;
  min-width:880px!important;
  float:left!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area .woo-image-part {
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  flex:0 0 200px!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area .woo-title-area {
  min-width:0!important;
  width:auto!important;
  flex:1 1 auto!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar {
  display:block!important;
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  float:right!important;
  clear:none!important;
  margin:20px 0 10px 20px!important;
  box-sizing:border-box!important;
 }

 html body.single-product #woo-button-area {
  width:860px!important;
  max-width:860px!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product .content-woo-area.rh-stickysidebar-wrapper {
  width:1200px!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area {
  width:880px!important;
  max-width:880px!important;
  min-width:880px!important;
  float:left!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar {
  display:block!important;
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  float:right!important;
  clear:none!important;
  margin:20px 0 0 20px!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books {
  width:300px!important;
  max-width:300px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid {
  display:grid!important;
  grid-template-columns:140px 140px!important;
  gap:12px!important;
  justify-content:start!important;
  width:292px!important;
  max-width:292px!important;
  min-width:292px!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  min-width:140px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book img {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  height:auto!important;
  box-sizing:border-box!important;
 }
}

@media (min-width:768px) and (max-width:1023px) {

 html body.single-product #content > .post.mb0,
 html body.single-product .border-grey-bottom > .mt20.rh-container,
 html body.single-product .content-woo-area.rh-stickysidebar-wrapper {
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area .woo-image-part {
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  flex:0 0 200px!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area .woo-title-area {
  min-width:0!important;
  width:auto!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  margin:20px 0 10px 0!important;
  box-sizing:border-box!important;
 }

 html body.single-product #woo-button-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar {
  display:block!important;
  margin:20px 0 0 0!important;
 }

 html body.single-product .nnb-more-author-books {
  width:292px!important;
  max-width:292px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid {
  display:grid!important;
  grid-template-columns:140px 140px!important;
  gap:12px!important;
  justify-content:start!important;
  width:292px!important;
  max-width:292px!important;
  min-width:292px!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  min-width:140px!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book img {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  height:auto!important;
 }
}

/* Existing rules below 768px are intentionally left untouched. */


/* ================================================================
   FINAL PRODUCT-PAGE RESPONSIVE FIX – MATCH THE REHUB MOBILE HEADER

   ReHub's header switches to its mobile/tablet presentation before
   the 767px mobile rules used elsewhere in this stylesheet. At that
   point the product page must not keep a half-desktop product row.

   Product page only:
   - 1024px+ keeps the approved desktop geometry above.
   - 768–1023px uses the same clean vertical product flow as mobile.
   - below 768px remains completely untouched.

   This removes the unwanted state where the header is mobile while
   the product cover/title/More by Author still behave as desktop
   columns. It also prevents the More Nordic Noir column from changing
   width independently at these widths.
   ================================================================ */

@media (min-width:768px) and (max-width:1023px) {

 /* Product page outer containers: one stable full-width flow. */
 html body.single-product #content > .post.mb0,
 html body.single-product .border-grey-bottom > .mt20.rh-container,
 html body.single-product .content-woo-area.rh-stickysidebar-wrapper {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }

 /* TOP PRODUCT AREA: stack cover above product information. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
 }

 /* Main cover: use the same centered mobile treatment rather than
    the 200px desktop/tablet column. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area
 > .woo-image-part {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  flex:0 0 auto!important;
  margin-right:0!important;
  margin-left:0!important;
  box-sizing:border-box!important;
  text-align:center!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area
 > .woo-image-part img {
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  max-height:280px!important;
  height:auto!important;
  margin:0 auto!important;
 }

 /* Product information becomes a full-width block below the cover. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area
 > .woo-title-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
  overflow:visible!important;
  box-sizing:border-box!important;
 }

 /* Buy Now: full width, directly below the product information. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar.mobileblockdisplay,
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  margin:20px 0 10px 0!important;
  box-sizing:border-box!important;
 }

 html body.single-product #woo-button-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 /* More by Author: fixed two-card module, independent of viewport
    width. This prevents the second book from falling away or the
    covers from stretching when the browser is resized. */
 html body.single-product .nnb-more-author-books {
  display:block!important;
  clear:both!important;
  width:292px!important;
  max-width:292px!important;
  min-width:292px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  transform:none!important;
 }

 html body.single-product .nnb-more-author-books-grid {
  display:grid!important;
  grid-template-columns:140px 140px!important;
  column-gap:12px!important;
  row-gap:12px!important;
  justify-content:start!important;
  align-items:start!important;
  width:292px!important;
  max-width:292px!important;
  min-width:292px!important;
  margin:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  min-width:140px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book img {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  height:auto!important;
  margin:0!important;
  box-sizing:border-box!important;
 }

 /* LOWER PRODUCT AREA: one stable width at all intermediate sizes. */
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area.tabletblockdisplay,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar.tabletblockdisplay {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar.tabletblockdisplay {
  display:block!important;
  margin:20px 0 0 0!important;
 }
}


/* ================================================================
   FINAL PRODUCT-PAGE RESPONSIVE SOLUTION – V10

   IMPORTANT:
   ReHub's header/product transition occurs above the old 1024px
   breakpoint at the browser zoom/window sizes used on this site.
   The previous versions therefore left a 1024–1199px hybrid state.

   Product page only:
   - 1200px+  = approved desktop product geometry
   - 768–1199px = one consistent responsive product flow
   - below 768px = existing mobile CSS remains untouched

   This block is intentionally LAST so it wins over all earlier
   product-page responsive experiments in the stylesheet.
   ================================================================ */

/* ---------------------------------------------------------------
   DESKTOP: 1200px AND ABOVE
   Keep the approved fixed product geometry.
   --------------------------------------------------------------- */
@media (min-width:1200px) {

 html body.single-product #content > .post.mb0 {
  width:1200px!important;
  max-width:calc(100% - 30px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 html body.single-product .border-grey-bottom > .mt20.rh-container {
  width:1200px!important;
  max-width:1200px!important;
  min-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:880px!important;
  max-width:880px!important;
  min-width:880px!important;
  float:left!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area .woo-image-part {
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  flex:0 0 200px!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area .woo-title-area {
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar {
  display:block!important;
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  float:right!important;
  clear:none!important;
  margin:20px 0 10px 20px!important;
  box-sizing:border-box!important;
 }

 html body.single-product #woo-button-area {
  width:860px!important;
  max-width:860px!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper {
  width:1200px!important;
  max-width:1200px!important;
  min-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  float:none!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area {
  width:880px!important;
  min-width:880px!important;
  max-width:880px!important;
  float:left!important;
  clear:none!important;
  display:block!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar {
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  float:right!important;
  clear:none!important;
  display:block!important;
  margin:20px 0 0 20px!important;
  box-sizing:border-box!important;
 }

 /* More by Author: fixed size; no viewport-dependent stretching. */
 html body.single-product .nnb-more-author-books {
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
 }

 html body.single-product .nnb-more-author-books-grid {
  display:grid!important;
  grid-template-columns:140px 140px!important;
  column-gap:12px!important;
  row-gap:12px!important;
  justify-content:start!important;
  align-items:start!important;
  width:292px!important;
  min-width:292px!important;
  max-width:292px!important;
  margin:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book {
  display:block!important;
  width:140px!important;
  min-width:140px!important;
  max-width:140px!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book img {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  height:auto!important;
  margin:0!important;
  box-sizing:border-box!important;
 }
}


/* ---------------------------------------------------------------
   RESPONSIVE: 768–1199px
   There is NO intermediate desktop/tablet geometry here.
   Everything uses one predictable vertical product flow.
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

 /* Neutralise the old desktop product widths/floats. */
 html body.single-product #content > .post.mb0,
 html body.single-product .border-grey-bottom > .mt20.rh-container,
 html body.single-product .content-woo-area.rh-stickysidebar-wrapper {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
  box-sizing:border-box!important;
 }

 /* TOP PRODUCT: one vertical flow. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  float:none!important;
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
 }

 /* Cover becomes the first block. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area
 > .woo-image-part {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  flex:0 0 auto!important;
  margin-left:0!important;
  margin-right:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area
 > .woo-image-part img {
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  max-height:280px!important;
  height:auto!important;
  margin:0 auto!important;
 }

 /* Product information is the second block. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area
 > .woo-title-area {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  flex:0 0 auto!important;
  overflow:visible!important;
  box-sizing:border-box!important;
 }

 /* Buy Now is a full-width block after the product information. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar,
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar.mobileblockdisplay {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  float:none!important;
  clear:both!important;
  margin:20px 0 10px 0!important;
  box-sizing:border-box!important;
 }

 html body.single-product #woo-button-area {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
 }

 /*
    More by Author is explicitly fixed. It cannot stretch with the
    viewport and cannot split its two books into separate positions.
 */
 html body.single-product .nnb-more-author-books {
  display:block!important;
  width:292px!important;
  min-width:292px!important;
  max-width:292px!important;
  margin:0 auto!important;
  padding:0!important;
  clear:both!important;
  transform:none!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid {
  display:grid!important;
  grid-template-columns:140px 140px!important;
  grid-template-rows:auto!important;
  column-gap:12px!important;
  row-gap:12px!important;
  justify-content:start!important;
  align-items:start!important;
  width:292px!important;
  min-width:292px!important;
  max-width:292px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book,
 html body.single-product .nnb-more-author-books-grid > a.nnb-author-book {
  display:block!important;
  width:140px!important;
  min-width:140px!important;
  max-width:140px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book img,
 html body.single-product .nnb-more-author-books-grid > a.nnb-author-book img {
  display:block!important;
  width:140px!important;
  min-width:0!important;
  max-width:140px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
 }

 /* LOWER AREA: Description followed by More Nordic Noir. */
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area.tabletblockdisplay {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  float:none!important;
  clear:both!important;
  display:block!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar.tabletblockdisplay {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  float:none!important;
  clear:both!important;
  display:block!important;
  margin:20px 0 0 0!important;
  box-sizing:border-box!important;
 }
}


/* ---------------------------------------------------------------
   BELOW 768px
   Deliberately no new product rules here. The existing approved
   mobile CSS remains in control.
   --------------------------------------------------------------- */

/* ================================================================
   PRODUCT PAGE – FINAL FLUID RESPONSIVE LAYOUT V11

   Product pages only.
   The previous versions used several fixed-width breakpoint blocks
   which could fight ReHub's mobileblockdisplay/tabletblockdisplay
   helpers. This final block replaces that behavior with one fluid
   two-column layout whenever there is room for it, and one clean
   stacked layout below 900px.

   No colors, typography, buttons, header/footer, homepage, country
   pages, Related Books, or other site sections are changed here.
   ================================================================ */

/* ---------------------------------------------------------------
   900px AND ABOVE – FLUID TWO-COLUMN PRODUCT LAYOUT
   --------------------------------------------------------------- */
@media (min-width:900px) {

 html body.single-product #content > .post.mb0 {
  width:100%!important;
  max-width:1200px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 /* Upper product area: main product + 300px Buy Now sidebar. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container {
  width:100%!important;
  max-width:1200px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:calc(100% - 320px)!important;
  max-width:none!important;
  min-width:0!important;
  float:left!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
 }

 /* ReHub's mobile helper must not turn this sidebar into a full-width block. */
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar,
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar.mobileblockdisplay {
  display:block!important;
  float:right!important;
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  clear:none!important;
  margin:20px 0 10px 20px!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area
 > .woo-image-part {
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  flex:0 0 200px!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area
 > .woo-title-area {
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
 }

 html body.single-product #woo-button-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 /* Lower product area: Description + More Nordic Noir stay side-by-side. */
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper {
  width:100%!important;
  max-width:1200px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  float:none!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area.tabletblockdisplay {
  width:calc(100% - 320px)!important;
  max-width:none!important;
  min-width:0!important;
  float:left!important;
  clear:none!important;
  display:block!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar.tabletblockdisplay {
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  float:right!important;
  clear:none!important;
  display:block!important;
  margin:20px 0 0 20px!important;
  box-sizing:border-box!important;
 }

 /* More by Author remains two fixed 140px cards; the container itself is not stretched. */
 html body.single-product .nnb-more-author-books {
  width:292px!important;
  max-width:292px!important;
  min-width:292px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
 }

 html body.single-product .nnb-more-author-books-grid {
  display:grid!important;
  grid-template-columns:140px 140px!important;
  grid-template-rows:auto!important;
  column-gap:12px!important;
  row-gap:12px!important;
  justify-content:start!important;
  align-items:start!important;
  width:292px!important;
  max-width:292px!important;
  min-width:292px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book,
 html body.single-product .nnb-more-author-books-grid > a.nnb-author-book {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  min-width:140px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
 }

 html body.single-product .nnb-more-author-books-grid .nnb-author-book img,
 html body.single-product .nnb-more-author-books-grid > a.nnb-author-book img {
  display:block!important;
  width:140px!important;
  max-width:140px!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
 }
}

/* ---------------------------------------------------------------
   768–899px – CLEAN STACKED PRODUCT LAYOUT
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:899px) {

 html body.single-product #content > .post.mb0,
 html body.single-product .border-grey-bottom > .mt20.rh-container,
 html body.single-product .content-woo-area.rh-stickysidebar-wrapper {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area
 > .woo-image-part {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
  margin-left:0!important;
  margin-right:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area
 > .woo-title-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
  overflow:visible!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar,
 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar.mobileblockdisplay {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  margin:20px 0 10px 0!important;
  box-sizing:border-box!important;
 }

 html body.single-product #woo-button-area {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area.tabletblockdisplay,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar.tabletblockdisplay {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  display:block!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar.tabletblockdisplay {
  margin:20px 0 0 0!important;
 }
}


/* ================================================================
   PRODUCT PAGE – REMOVE REHUB HYBRID BREAKPOINT
   Keep the complete desktop product/header layout down to 768px.
   Existing mobile layout remains below 768px.
   ================================================================ */

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

  /* HEADER – keep desktop header instead of ReHub tablet/mobile header */
  html body.single-product header#main_header .logo_section_wrap.hideontablet {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.single-product
  header#main_header .logo_section_wrap.hideontablet
  .logo-section {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }

  /* Hide ReHub mobile navigation */
  html body.single-product
  header#main_header .responsive_nav_wrap.rh_mobile_menu {
    display:none!important;
    visibility:hidden!important;
  }

  /* Show normal desktop navigation */
  html body.single-product
  header#main_header
  div.search-form-inheader.main-nav.dark_style
  > .rh-container
  > #main_nav {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.single-product
  header#main_header
  div.search-form-inheader.main-nav.dark_style
  ul.menu {
    display:flex!important;
    visibility:visible!important;
  }

  /* PRODUCT TOP – keep two-column desktop layout */
  html body.single-product
  #content > .post.mb0
  > .mt20.rh-container.flowhidden
  > .rh-flex-eq-height.rh-flex-nowrap.content-woo-area {
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    max-width:1200px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  html body.single-product
  #content > .post.mb0
  > .mt20.rh-container.flowhidden
  > .rh-flex-eq-height.rh-flex-nowrap.content-woo-area
  > .woo-image-part {
    flex:0 0 200px!important;
    width:200px!important;
    max-width:200px!important;
  }

  html body.single-product
  #content > .post.mb0
  > .mt20.rh-container.flowhidden
  > .rh-flex-eq-height.rh-flex-nowrap.content-woo-area
  > .woo-title-area {
    flex:1 1 auto!important;
    min-width:0!important;
  }

  /* BUY NOW SIDEBAR */
  html body.single-product
  #content > .post.mb0
  > .mt20.rh-container.flowhidden
  > .rh-300-sidebar {
    display:block!important;
    flex:0 0 300px!important;
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
    float:none!important;
    margin-left:20px!important;
  }

  html body.single-product #woo-button-area {
    width:100%!important;
    max-width:100%!important;
  }
} /* avslutter @media-blokken */

/* ================================================================
   NORDIC NOIR BOOKS
   PRODUCT PAGE – MASTER RESPONSIVE OVERRIDE

   PURPOSE:
   - Keep the approved desktop header/product behavior
   - Fix the intermediate desktop/tablet product geometry only
   - Existing mobile layout below 768px remains untouched
   - Product pages only
   ================================================================ */


/* ================================================================
   768px AND ABOVE
   KEEP THE APPROVED DESKTOP HEADER
   ================================================================ */

@media (min-width:768px) {

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet
  .rh-outer-wrap {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet
  .rh-container {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet
  .logo-section {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.single-product
  header#main_header
  .responsive_nav_wrap.rh_mobile_menu,
  html body.single-product
  header#main_header
  #dl-menu {
    display:none!important;
    visibility:hidden!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  #main_nav {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  ul.menu {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
}


/* ================================================================
   INTERMEDIATE DESKTOP: 768–1199px

   IMPORTANT:
   The old version used floats here. That is the source of the
   overlap between the cover, product information and More by Author.

   This block replaces that upper float layout with one explicit
   three-column grid:

       COVER | PRODUCT INFO | MORE BY AUTHOR

   The 1200px+ approved desktop geometry is deliberately left alone.
   ================================================================ */

@media (min-width:768px) and (max-width:1199px) {

  /* Product page outer container */
  html body.single-product
  #content > .post.mb0 {
    width:100%!important;
    max-width:1200px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  /* --------------------------------------------------------------
     TOP PRODUCT AREA
     COVER | PRODUCT INFO | MORE BY AUTHOR
     -------------------------------------------------------------- */

  html body.single-product
  .border-grey-bottom > .mt20.rh-container,
  html body.single-product
  .border-grey-bottom > .mt20.rh-container.flowhidden {

    display:grid!important;
    grid-template-columns:200px minmax(0,1fr) 300px!important;
    column-gap:20px!important;
    align-items:start!important;

    width:100%!important;
    max-width:1200px!important;
    min-width:0!important;

    margin-left:auto!important;
    margin-right:auto!important;

    float:none!important;
    clear:none!important;

    box-sizing:border-box!important;
    overflow:visible!important;
  }

  /* Main product information occupies columns 1–2 */
  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-flex-eq-height.rh-flex-nowrap.mobileblockdisplay.content-woo-area.rh-300-content-area,

  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-flex-eq-height.rh-flex-nowrap.content-woo-area.rh-300-content-area {

    display:grid!important;
    grid-template-columns:200px minmax(0,1fr)!important;
    column-gap:25px!important;
    align-items:start!important;

    grid-column:1 / 3!important;
    grid-row:1!important;

    width:auto!important;
    max-width:none!important;
    min-width:0!important;

    margin:0!important;

    float:none!important;
    clear:none!important;

    box-sizing:border-box!important;
    overflow:visible!important;
  }

  /* Cover */
  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-flex-eq-height.content-woo-area
  > .woo-image-part {

    display:block!important;
    grid-column:1!important;
    grid-row:1!important;

    width:200px!important;
    min-width:200px!important;
    max-width:200px!important;

    margin:0!important;
    float:none!important;

    box-sizing:border-box!important;
  }

  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-flex-eq-height.content-woo-area
  > .woo-image-part img {

    display:block!important;
    width:auto!important;
    max-width:200px!important;
    height:auto!important;

    margin-left:auto!important;
    margin-right:auto!important;

    box-sizing:border-box!important;
  }

  /* Title, author and affiliate price comparison */
  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-flex-eq-height.content-woo-area
  > .woo-title-area {

    display:block!important;
    grid-column:2!important;
    grid-row:1!important;

    width:auto!important;
    min-width:0!important;
    max-width:none!important;

    margin:0!important;
    float:none!important;

    overflow:visible!important;
    box-sizing:border-box!important;
  }

  /* Keep the affiliate comparison inside the middle column */
  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-flex-eq-height.content-woo-area
  > .woo-title-area .cegg5-container {

    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;

    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-flex-eq-height.content-woo-area
  > .woo-title-area .cegg5-container table {

    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;

    box-sizing:border-box!important;
  }

  /* More by Author: column 3, never a float */
  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-300-sidebar,
  html body.single-product
  .border-grey-bottom
  > .mt20.rh-container
  > .rh-300-sidebar.mobileblockdisplay {

    display:block!important;
    grid-column:3!important;
    grid-row:1!important;

    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;

    margin:20px 0 10px 0!important;

    float:none!important;
    clear:none!important;

    position:static!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html body.single-product
  #woo-button-area {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Preserve the approved More by Author sizing */
  html body.single-product
  .nnb-more-author-books {
    display:block!important;
    width:292px!important;
    min-width:292px!important;
    max-width:292px!important;

    margin-left:auto!important;
    margin-right:auto!important;

    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html body.single-product
  .nnb-more-author-books-grid {
    display:grid!important;
    grid-template-columns:140px 140px!important;
    grid-template-rows:auto!important;
    column-gap:12px!important;
    row-gap:12px!important;
    justify-content:start!important;
    align-items:start!important;

    width:292px!important;
    min-width:292px!important;
    max-width:292px!important;

    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .nnb-more-author-books-grid .nnb-author-book,
  html body.single-product
  .nnb-more-author-books-grid > a.nnb-author-book {
    display:block!important;
    width:140px!important;
    min-width:140px!important;
    max-width:140px!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  html body.single-product
  .nnb-more-author-books-grid .nnb-author-book img,
  html body.single-product
  .nnb-more-author-books-grid > a.nnb-author-book img {
    display:block!important;
    width:140px!important;
    min-width:0!important;
    max-width:140px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  /* --------------------------------------------------------------
     LOWER PRODUCT AREA
     Keep the existing approved two-column structure.
     -------------------------------------------------------------- */

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper {
    display:block!important;
    width:100%!important;
    max-width:1200px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    float:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-content-area,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-content-area.tabletblockdisplay {
    display:block!important;
    width:calc(100% - 320px)!important;
    max-width:none!important;
    min-width:0!important;
    float:left!important;
    clear:none!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-sidebar,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-sidebar.tabletblockdisplay {
    display:block!important;
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
    float:right!important;
    clear:none!important;
    margin:20px 0 0 20px!important;
    box-sizing:border-box!important;
  }
}


/* ================================================================
   BELOW 768px
   DO NOT ADD ANY PRODUCT RESPONSIVE RULES HERE.
   Existing approved mobile CSS remains in complete control.
   ================================================================ */


/* ================================================================
   NORDIC NOIR BOOKS – FINAL RESPONSIVE POLISH – 2026-10-04

   Built directly on the current BEST-SO-FAR MASTER UPDATED GRID.

   ONLY addresses the four issues observed while resizing the
   desktop product page:
   1. Desktop logo/menu disappearing before the mobile breakpoint.
   2. Menu shifting left during the intermediate desktop widths.
   3. Affiliate/BUY NOW content becoming compressed and BUY NOW text
      disappearing at narrower desktop widths.
   4. Share This Book / Description changing horizontal position during
      intermediate resizing.

   No other site sections, colors, typography, product-card styling,
   footer, homepage or mobile layout are changed here.
   ================================================================ */

/* ---------------------------------------------------------------
   HEADER: KEEP DESKTOP HEADER STABLE FROM 768px TO 1199px
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .rh-outer-wrap,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .rh-container {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo-section {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo_image,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .header_left_logo,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo_image a {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo_image img,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .header_left_logo img {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    max-width:none!important;
    height:56px!important;
    max-height:56px!important;
    object-fit:contain!important;
  }

  /* Never allow ReHub's mobile navigation to replace the desktop menu
     before the actual <768px mobile breakpoint. */
  html body.single-product
  header#main_header
  .responsive_nav_wrap.rh_mobile_menu,
  html body.single-product
  header#main_header
  #dl-menu {
    display:none!important;
    visibility:hidden!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  #main_nav,
  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  ul.menu {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }

  /* Keep the navigation on its own full-width row. This prevents it
     from being squeezed sideways by the logo as the viewport narrows. */
  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  > .rh-container {
    width:100%!important;
    max-width:1140px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  #main_nav {
    width:100%!important;
    min-width:0!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  ul.menu {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    justify-content:space-between!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  ul.menu > li {
    flex:0 1 auto!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav
  ul.menu > li > a {
    white-space:nowrap!important;
  }
}

/* At the narrowest desktop widths, reduce only navigation typography
   slightly so every menu item remains visible. */
@media (min-width:768px) and (max-width:899px) {
  html body.single-product
  header#main_header
  .search-form-inheader.main-nav,
  html body.single-product
  header#main_header
  .search-form-inheader.main-nav a {
    font-size:13px!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo_image img,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .header_left_logo img {
    height:52px!important;
    max-height:52px!important;
  }
}


/* ---------------------------------------------------------------
   AFFILIATE PRICE COMPARISON: PREVENT COMPRESSION
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

  html body.single-product
  .border-grey-bottom > .mt20.rh-container
  > .rh-flex-eq-height.content-woo-area
  > .woo-title-area .cegg5-container,
  html body.single-product
  .cegg5-container.cegg-price_comparison {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .cegg5-container.cegg-price_comparison table,
  html body.single-product
  .cegg5-container.cegg-price_comparison .table {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:auto!important;
    box-sizing:border-box!important;
  }

  /* Preserve usable room for the BUY NOW/offer button column. */
  html body.single-product
  .cegg5-container.cegg-price_comparison td:last-child,
  html body.single-product
  .cegg5-container.cegg-price_comparison th:last-child {
    width:105px!important;
    min-width:105px!important;
    white-space:nowrap!important;
  }

  html body.single-product
  .cegg5-container.cegg-price_comparison .btn-primary,
  html body.single-product
  .cegg5-container.cegg-price_comparison a.btn-primary,
  html body.single-product
  .cegg5-container.cegg-price_comparison a .btn.btn-primary {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:95px!important;
    max-width:none!important;
    flex:0 0 auto!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    padding-left:12px!important;
    padding-right:12px!important;
    box-sizing:border-box!important;
  }

  /* Never let the affiliate merchant/price text collapse into the
     button column. */
  html body.single-product
  .cegg5-container.cegg-price_comparison td:not(:last-child) {
    min-width:0!important;
    overflow:visible!important;
    white-space:normal!important;
  }
}


/* ---------------------------------------------------------------
   SHARE THIS BOOK + DESCRIPTION: ONE STABLE LEFT EDGE
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

  html body.single-product
  .summary .post_share,
  html body.single-product
  .summary .post_share.share_social,
  html body.single-product
  .post_share {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    clear:both!important;
    position:static!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .summary .post_share > *,
  html body.single-product
  .post_share > * {
    margin-left:0!important;
  }

  /* Description wrapper keeps one fixed left edge while the viewport
     changes within the intermediate desktop range. */
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-content-area,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-content-area.tabletblockdisplay {
    margin-left:0!important;
    padding-left:0!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  #tab-description,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  #section-description,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  .description,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  h2 {
    margin-left:0!important;
  }
}


/* ---------------------------------------------------------------
   KEEP MOBILE BEHAVIOR UNCHANGED
   --------------------------------------------------------------- */
@media (max-width:767px) {
  /* No changes. Existing approved mobile CSS remains in control. */
}


/* ================================================================
   NORDIC NOIR BOOKS – BEST SO FAR V2 – 2026-10-04

   This is the NEXT controlled update of the current best-working
   master. It changes ONLY the remaining intermediate desktop issues:

   1. Keep the desktop logo and menu visible throughout 768–1199px.
   2. Keep the menu in a stable full-width row instead of shifting left.
   3. Keep affiliate BUY NOW buttons readable and prevent their cells
      from collapsing as the viewport narrows.
   4. Keep the separate BUY NOW / More by Author button area readable.
   5. Keep Share This Book and Description on one stable left edge.

   Below 768px: no changes.
   1200px+: no changes to the approved desktop geometry.
   ================================================================ */


/* ---------------------------------------------------------------
   1–2. HEADER: STABLE DESKTOP LOGO + NAVIGATION
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    float:none!important;
    position:relative!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .rh-outer-wrap,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .rh-container,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo-section {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  /* Keep the logo itself independent of the navigation width. */
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo_image,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .header_left_logo {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    align-items:center!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo_image a,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .header_left_logo a {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    max-width:100%!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo_image img,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .header_left_logo img {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    max-width:100%!important;
    height:56px!important;
    max-height:56px!important;
    min-height:0!important;
    object-fit:contain!important;
  }

  /* Never let the mobile header take over before 768px. */
  html body.single-product
  header#main_header .responsive_nav_wrap.rh_mobile_menu,
  html body.single-product
  header#main_header #dl-menu {
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
  }

  /* The navigation is a completely separate full-width row. */
  html body.single-product
  header#main_header
  .search-form-inheader.main-nav.dark_style {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    position:relative!important;
    left:0!important;
    right:auto!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav.dark_style > .rh-container,
  html body.single-product
  header#main_header
  .search-form-inheader.main-nav.dark_style > .rh-container > #main_nav,
  html body.single-product
  header#main_header
  .search-form-inheader.main-nav.dark_style .top_menu {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:1140px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav.dark_style ul.menu {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    justify-content:space-between!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav.dark_style ul.menu > li {
    display:block!important;
    flex:0 1 auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  html body.single-product
  header#main_header
  .search-form-inheader.main-nav.dark_style ul.menu > li > a {
    display:block!important;
    white-space:nowrap!important;
  }
}

/* Give the narrowest desktop menu enough room without hiding the logo. */
@media (min-width:768px) and (max-width:899px) {
  html body.single-product
  header#main_header
  .search-form-inheader.main-nav.dark_style ul.menu > li > a {
    font-size:12px!important;
    line-height:1.2!important;
  }

  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .logo_image img,
  html body.single-product
  header#main_header
  .logo_section_wrap.hideontablet .header_left_logo img {
    height:50px!important;
    max-height:50px!important;
  }
}


/* ---------------------------------------------------------------
   3. AFFILIATE PRICE TABLE: RESERVE A REAL BUTTON COLUMN
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

  html body.single-product
  .cegg5-container.cegg-price_comparison table.table,
  html body.single-product
  .cegg5-container.cegg-price_comparison table.content-egg-table,
  html body.single-product
  .cegg5-container.cegg-price_comparison table {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .cegg5-container.cegg-price_comparison table tr {
    width:100%!important;
  }

  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(1),
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(2) {
    width:calc((100% - 108px) / 2)!important;
    max-width:calc((100% - 108px) / 2)!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) {
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    padding-left:0!important;
    padding-right:0!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(1) > a,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(2) > a {
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(1) .text-nowrap,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(1) .text-nowrap.text-truncate,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(2) .text-nowrap,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(2) .text-nowrap.text-truncate {
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) a,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) .btn,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) .btn-primary {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    height:100%!important;
    min-height:34px!important;
    padding:6px 8px!important;
    margin:0!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:12px!important;
    line-height:1.1!important;
  }

  /* The separate grouped-product BUY NOW buttons use the same fixed
     button column so their text cannot disappear. */
  html body.single-product
  #woo-button-area table.woocommerce-grouped-product-list {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  #woo-button-area table.woocommerce-grouped-product-list td:last-child {
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  #woo-button-area table.woocommerce-grouped-product-list td:last-child a,
  html body.single-product
  #woo-button-area table.woocommerce-grouped-product-list td:last-child .btn,
  html body.single-product
  #woo-button-area table.woocommerce-grouped-product-list td:last-child .btn-primary {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    padding:6px 8px!important;
    font-size:12px!important;
    line-height:1.1!important;
  }
}


/* ---------------------------------------------------------------
   4. LOWER PRODUCT AREA: STABLE TWO-COLUMN GRID
   This removes the repeated float recalculation that moves Share
   This Book and Description horizontally during resizing.
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 300px!important;
    column-gap:20px!important;
    align-items:start!important;
    width:100%!important;
    max-width:1200px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    clear:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-content-area,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-content-area.tabletblockdisplay {
    grid-column:1!important;
    grid-row:1!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    clear:none!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-sidebar,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-sidebar.tabletblockdisplay {
    grid-column:2!important;
    grid-row:1!important;
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
    margin:20px 0 0 0!important;
    padding:0!important;
    float:none!important;
    clear:none!important;
    box-sizing:border-box!important;
  }

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  .addtoany_share_save_container,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  .addtoany_content,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  .addtoany_content_bottom {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
    float:none!important;
    clear:both!important;
  }

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  .addtoany_header,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  .a2a_kit {
    margin-left:0!important;
  }

  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  #tab-description,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  #section-description,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  .description,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper
  > .rh-300-content-area > h2 {
    margin-left:0!important;
    padding-left:0!important;
    box-sizing:border-box!important;
  }
}


/* ---------------------------------------------------------------
   BELOW 768px – deliberately untouched
   --------------------------------------------------------------- */
@media (max-width:767px) {
  /* Existing approved mobile CSS remains in control. */
}

/* ================================================================
   NORDIC NOIR BOOKS – FINAL INTERMEDIATE DESKTOP FIX
   2026-10-07

   This is the LAST override in the stylesheet.
   It changes only the remaining 768–1199px product-page problems:
   - header logo/menu disappearing or shifting
   - affiliate BUY NOW compression
   - unstable Share This Book / Description alignment

   1200px+ and below 768px remain under the existing CSS.
   ================================================================ */

@media (min-width:768px) and (max-width:1199px) {

 /* -------------------------------------------------------------
    HEADER: KEEP LOGO, SLOGAN AND SEARCH STABLE
    ------------------------------------------------------------- */

 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  float:none!important;
  position:relative!important;
 }

 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet > .rh-container {
  display:block!important;
  width:100%!important;
  max-width:1140px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:15px!important;
  padding-right:15px!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .logo-section {
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) 220px!important;
  column-gap:15px!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:85px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
 }

 /* The actual logo wrapper is .logo in the live ReHub markup. */
 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .logo {
  grid-column:1!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex:none!important;
  margin:0!important;
 }

 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .logo_image {
  display:block!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
 }

 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .logo_image img {
  display:block!important;
  width:auto!important;
  height:56px!important;
  max-width:none!important;
  max-height:56px!important;
  min-height:56px!important;
  object-fit:contain!important;
 }

 /* Override the site's inline 68px logo rule only in this range. */
 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .logo_image img[alt="Nordic Noir Books"] {
  width:auto!important;
  height:56px!important;
  max-height:56px!important;
 }

 /* Slogan occupies the flexible middle column instead of pushing the
    logo or search field out of the header. */
 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .rhsloganlogo {
  grid-column:2!important;
  width:auto!important;
  max-width:240px!important;
  min-width:0!important;
  margin:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
 }

 /* Search stays in a fixed-width third column. */
 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .search.head_search {
  grid-column:3!important;
  width:220px!important;
  max-width:220px!important;
  min-width:220px!important;
  margin:0!important;
  justify-self:end!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .search.head_search form,
 html body.single-product
 header#main_header
 .logo_section_wrap.hideontablet .search.head_search input[type="text"] {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 /* Desktop nav stays visible until the real mobile breakpoint. */
 html body.single-product
 header#main_header .responsive_nav_wrap.rh_mobile_menu,
 html body.single-product
 header#main_header #dl-menu {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
 }

 html body.single-product
 header#main_header .search-form-inheader.main-nav.dark_style {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  position:relative!important;
  left:0!important;
  right:auto!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 header#main_header .search-form-inheader.main-nav.dark_style > .rh-container {
  width:100%!important;
  max-width:1140px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:15px!important;
  padding-right:15px!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 header#main_header .search-form-inheader.main-nav.dark_style nav.top_menu {
  display:block!important;
  width:100%!important;
  min-width:0!important;
 }

 html body.single-product
 header#main_header .search-form-inheader.main-nav.dark_style ul.menu {
  display:flex!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  justify-content:space-between!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 header#main_header .search-form-inheader.main-nav.dark_style ul.menu > li {
  display:block!important;
  flex:0 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
 }

 html body.single-product
 header#main_header .search-form-inheader.main-nav.dark_style ul.menu > li > a {
  display:block!important;
  white-space:nowrap!important;
  padding-left:8px!important;
  padding-right:8px!important;
 }

 /* At the narrowest desktop widths the menu must fit rather than
    shift left or disappear. */
 @media (min-width:768px) and (max-width:899px) {
  html body.single-product
  header#main_header .search-form-inheader.main-nav.dark_style ul.menu > li > a {
   font-size:12px!important;
   line-height:1.2!important;
   padding-left:4px!important;
   padding-right:4px!important;
  }

  html body.single-product
  header#main_header .logo_section_wrap.hideontablet .logo-section {
   grid-template-columns:auto minmax(0,1fr) 190px!important;
   column-gap:10px!important;
  }

  html body.single-product
  header#main_header .logo_section_wrap.hideontablet .search.head_search {
   width:190px!important;
   max-width:190px!important;
   min-width:190px!important;
  }

  html body.single-product
  header#main_header .logo_section_wrap.hideontablet .rhsloganlogo {
   max-width:200px!important;
   font-size:13px!important;
  }

  html body.single-product
  header#main_header .logo_section_wrap.hideontablet .logo_image img {
   height:52px!important;
   max-height:52px!important;
   min-height:52px!important;
  }
 }

 /* -------------------------------------------------------------
    TOP PRODUCT: COVER | PRODUCT INFO | MORE BY AUTHOR
    ------------------------------------------------------------- */

 html body.single-product
 .border-grey-bottom > .mt20.rh-container {
  display:grid!important;
  grid-template-columns:200px minmax(0,1fr) 300px!important;
  column-gap:20px!important;
  align-items:start!important;
  width:100%!important;
  max-width:1200px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  clear:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area {
  grid-column:1 / 3!important;
  grid-row:1!important;
  display:grid!important;
  grid-template-columns:200px minmax(0,1fr)!important;
  column-gap:20px!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:20px 0 10px 0!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area
 > .woo-image-part {
  grid-column:1!important;
  grid-row:1!important;
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-flex-eq-height.content-woo-area.rh-300-content-area
 > .woo-title-area {
  grid-column:2!important;
  grid-row:1!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  flex:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .border-grey-bottom > .mt20.rh-container
 > .rh-300-sidebar {
  grid-column:3!important;
  grid-row:1!important;
  display:block!important;
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  margin:20px 0 10px 0!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  box-sizing:border-box!important;
 }

 /* -------------------------------------------------------------
    AFFILIATE TABLE: FIXED BUTTON COLUMN
    ------------------------------------------------------------- */

 html body.single-product
 .cegg5-container.cegg-price_comparison {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .cegg5-container.cegg-price_comparison > .container {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .cegg5-container.cegg-price_comparison table.table {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(1) {
  width:auto!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(2) {
  width:72px!important;
  min-width:72px!important;
  max-width:72px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
 }

 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(3) {
  width:108px!important;
  min-width:108px!important;
  max-width:108px!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
 }

 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(1) > a {
  display:block!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
 }

 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(1) .text-nowrap,
 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(1) .text-truncate {
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
 }

 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(3) a,
 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(3) .btn,
 html body.single-product
 .cegg5-container.cegg-price_comparison table.table td:nth-child(3) .btn-primary {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:108px!important;
  min-width:108px!important;
  max-width:108px!important;
  min-height:34px!important;
  height:100%!important;
  margin:0!important;
  padding:6px 8px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-size:12px!important;
  line-height:1.1!important;
 }

 /* -------------------------------------------------------------
    LOWER PRODUCT AREA: DESCRIPTION + MORE NORDIC NOIR
    ------------------------------------------------------------- */

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  column-gap:20px!important;
  align-items:start!important;
  width:100%!important;
  max-width:1200px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-content-area {
  grid-column:1!important;
  grid-row:1!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 > .rh-300-sidebar {
  grid-column:2!important;
  grid-row:1!important;
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  margin:20px 0 0 0!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 .addtoany_share_save_container,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 .addtoany_content,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 .addtoany_content_bottom {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 .addtoany_header,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 .a2a_kit {
  margin-left:0!important;
 }

 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 #section-description,
 html body.single-product
 .content-woo-area.rh-stickysidebar-wrapper
 #section-description > .rh-tabletext-block-wrapper {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  box-sizing:border-box!important;
 }
}

/* ================================================================
   END OF FINAL INTERMEDIATE DESKTOP FIX
   ================================================================ */


/* ================================================================
   NORDIC NOIR BOOKS – FINAL CONTROLLED OVERRIDE
   2026-10-07

   Built directly on the current best-working master.
   ONLY fixes the two remaining hard failures:
   1. Desktop logo/nav disappearing before mobile breakpoint
   2. Yellow BUY NOW borders + disappearing BUY NOW text
   Also locks the intermediate lower-content left edge.
   ================================================================ */

/* ---------------------------------------------------------------
   A. 768–1199px: FORCE THE REAL DESKTOP HEADER TO STAY PRESENT
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

  /* Do not depend on ReHub's .hideontablet behavior. */
  html body header#main_header .logo_section_wrap,
  html body header#main_header .logo_section_wrap.hideontablet,
  html body header#main_header .logo_section_wrap .rh-outer-wrap,
  html body header#main_header .logo_section_wrap .rh-container,
  html body header#main_header .logo_section_wrap .logo-section {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    float:none!important;
    position:relative!important;
    box-sizing:border-box!important;
  }

  /* The live ReHub header uses .logo as the actual logo column. */
  html body header#main_header .logo_section_wrap .logo-section {
    display:grid!important;
    grid-template-columns:max-content minmax(0,1fr)!important;
    column-gap:20px!important;
    align-items:center!important;
    min-height:76px!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }

  html body header#main_header .logo_section_wrap .logo {
    display:block!important;
    grid-column:1!important;
    grid-row:1!important;
    width:max-content!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body header#main_header .logo_section_wrap .logo_image,
  html body header#main_header .logo_section_wrap .logo_image a,
  html body header#main_header .logo_section_wrap .header_left_logo,
  html body header#main_header .logo_section_wrap .header_left_logo a {
    display:block!important;
    width:max-content!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body header#main_header .logo_section_wrap .logo_image img,
  html body header#main_header .logo_section_wrap .header_left_logo img,
  html body header#main_header .logo_section_wrap img[alt="Nordic Noir Books"] {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    max-width:none!important;
    object-fit:contain!important;
  }

  /* The slogan/search are allowed to disappear when space is tight,
     but their disappearance must never remove the logo column. */
  html body header#main_header .logo_section_wrap .rhsloganlogo,
  html body header#main_header .logo_section_wrap .search.head_search {
    grid-column:2!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  @media (min-width:768px) and (max-width:899px) {
    html body header#main_header .logo_section_wrap .rhsloganlogo,
    html body header#main_header .logo_section_wrap .search.head_search {
      display:none!important;
      visibility:hidden!important;
    }

    html body header#main_header .logo_section_wrap .logo_image img,
    html body header#main_header .logo_section_wrap .header_left_logo img,
    html body header#main_header .logo_section_wrap img[alt="Nordic Noir Books"] {
      height:52px!important;
      min-height:52px!important;
      max-height:52px!important;
    }
  }

  /* Desktop navigation stays visible until the existing 767px mobile
     breakpoint. */
  html body header#main_header .responsive_nav_wrap.rh_mobile_menu,
  html body header#main_header #dl-menu {
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
  }

  html body header#main_header .search-form-inheader.main-nav,
  html body header#main_header .search-form-inheader.main-nav.dark_style,
  html body header#main_header .search-form-inheader.main-nav > .rh-container,
  html body header#main_header .search-form-inheader.main-nav #main_nav,
  html body header#main_header .search-form-inheader.main-nav nav.top_menu {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    float:none!important;
    clear:none!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  html body header#main_header .search-form-inheader.main-nav > .rh-container {
    max-width:1140px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  html body header#main_header .search-form-inheader.main-nav ul.menu,
  html body header#main_header .search-form-inheader.main-nav.dark_style ul.menu {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html body header#main_header .search-form-inheader.main-nav ul.menu > li,
  html body header#main_header .search-form-inheader.main-nav.dark_style ul.menu > li {
    display:block!important;
    flex:0 1 auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  html body header#main_header .search-form-inheader.main-nav ul.menu > li > a,
  html body header#main_header .search-form-inheader.main-nav.dark_style ul.menu > li > a {
    display:block!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    box-sizing:border-box!important;
  }

  @media (min-width:768px) and (max-width:899px) {
    html body header#main_header .search-form-inheader.main-nav ul.menu > li > a,
    html body header#main_header .search-form-inheader.main-nav.dark_style ul.menu > li > a {
      font-size:11px!important;
      line-height:1.2!important;
      padding-left:3px!important;
      padding-right:3px!important;
    }
  }
}


/* ---------------------------------------------------------------
   B. 768–1199px: BUY NOW BUTTONS – BLACK, SOLID, READABLE
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {

  /* Content Egg affiliate BUY NOW buttons */
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) a,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) .btn,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) .btn-primary,
  html body.single-product
  .cegg5-container.cegg-price_comparison .btn-primary,
  html body.single-product
  .cegg5-container.cegg-price_comparison a .btn.btn-primary {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    min-height:34px!important;
    height:34px!important;
    padding:6px 8px!important;
    margin:0!important;
    background:#111111!important;
    background-color:#111111!important;
    border:0!important;
    border-width:0!important;
    border-style:none!important;
    border-color:#111111!important;
    outline:0!important;
    box-shadow:none!important;
    color:#ffffff!important;
    text-shadow:none!important;
    font-size:12px!important;
    font-weight:600!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    opacity:1!important;
    visibility:visible!important;
    box-sizing:border-box!important;
  }

  /* Remove yellow/gold borders from the clickable wrapper as well. */
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) > *,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) a:hover,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) .btn:hover,
  html body.single-product
  .cegg5-container.cegg-price_comparison table td:nth-child(3) .btn-primary:hover {
    border-color:#111111!important;
    outline:0!important;
    box-shadow:none!important;
  }

  /* More by Author / grouped-product BUY NOW buttons */
  html body.single-product
  #woo-button-area .btn-primary,
  html body.single-product
  #woo-button-area a.btn-primary,
  html body.single-product
  #woo-button-area a .btn.btn-primary,
  html body.single-product
  #woo-button-area .btn,
  html body.single-product
  #woo-button-area a {
    box-sizing:border-box!important;
  }

  html body.single-product
  #woo-button-area .btn-primary,
  html body.single-product
  #woo-button-area a.btn-primary,
  html body.single-product
  #woo-button-area a .btn.btn-primary {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    min-height:34px!important;
    height:34px!important;
    padding:6px 8px!important;
    margin:0!important;
    background:#111111!important;
    background-color:#111111!important;
    border:0!important;
    border-width:0!important;
    border-style:none!important;
    border-color:#111111!important;
    outline:0!important;
    box-shadow:none!important;
    color:#ffffff!important;
    text-shadow:none!important;
    font-size:12px!important;
    font-weight:600!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    opacity:1!important;
    visibility:visible!important;
  }

  html body.single-product
  #woo-button-area .btn-primary:hover,
  html body.single-product
  #woo-button-area a.btn-primary:hover,
  html body.single-product
  #woo-button-area a .btn.btn-primary:hover {
    background:#111111!important;
    background-color:#111111!important;
    border:0!important;
    border-color:#111111!important;
    outline:0!important;
    box-shadow:none!important;
    color:#ffffff!important;
  }
}


/* ---------------------------------------------------------------
   C. LOWER CONTENT: ONE FIXED LEFT EDGE AT 768–1199px
   --------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1199px) {
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper,
  html body.single-product
  .content-woo-area.rh-stickysidebar-wrapper > .rh-300-content-area {
    margin-left:auto!important;
    padding-left:0!important;
    box-sizing:border-box!important;
  }
}

/* ================================================================
   END FINAL CONTROLLED OVERRIDE
   ================================================================ */