/* Final front-end QA pass: responsive containment, accessible empty states and
   isolation between the optional modern homepage and the legacy Zadora UI. */

html { max-width: 100%; overflow-x: clip; }
body { max-width: 100%; }
body.fp-refreshed img { max-width: 100%; height: auto; }
body.fp-refreshed :is(h1, h2, h3, p, a, span) { overflow-wrap: break-word; }

/* Modern preview owns its header/footer. Zadora appends these drawers from
   wp_footer(); without the parent shell they appear as an unstyled second UI. */
body.fp-modern > .mobile_menu,
body.fp-modern > #search-modal,
body.fp-modern > .search-modal,
body.fp-modern > .add_to_cart_bottom { display: none !important; }

.fp-mobile-nav { display: none; }

/* Product gallery: the parent theme reserves a hard-coded 650px while Slick
   initializes and covers it with a black overlay. Match the final square
   image stage instead, and keep every transition on the product's light
   canvas so portrait artwork is always contained rather than cropped. */
body.fp-refreshed.single-product #content .content-product-left {
  container-type: inline-size;
}
body.fp-refreshed.single-product #content .content-product-left .loading-gallery {
  height: 100cqw !important;
}
body.fp-refreshed.single-product #content .content-product-left .loading-gallery .overlay-loader {
  background-color: rgba(255, 255, 255, .72) !important;
}
body.fp-refreshed.single-product #content .woocommerce-product-gallery__wrapper,
body.fp-refreshed.single-product #content .woocommerce-product-gallery__wrapper .slick-list,
body.fp-refreshed.single-product #content .woocommerce-product-gallery__wrapper .slick-track,
body.fp-refreshed.single-product #content .woocommerce-product-gallery__wrapper .zadora-gallery-image,
body.fp-refreshed.single-product #content .woocommerce-product-gallery__wrapper .zadora-gallery-image > div {
  background: #fff;
}
body.fp-refreshed.single-product #content .woocommerce-product-gallery__wrapper .zadora-gallery-image img:not(.zoomImg) {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
}
/* Hover zoom: jQuery zoom sizes this layer to the full image; forcing contain or 100% stretches it. */
body.fp-refreshed.single-product #content .woocommerce-product-gallery__wrapper img.zoomImg {
  max-width: none !important;
  object-fit: fill !important;
}

/* The uploader inserts an empty 90%-wide file list beside the prompt. In the
   legacy flex layout that invisible list pushes the visible prompt left. */
body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader.drop_zone {
  display: block !important;
  text-align: center !important;
}
body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader :is(.errors, .files):empty {
  display: none !important;
}
body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader .text_wrapper {
  width: 100% !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center !important;
}
body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader .text_wrapper .text {
  width: 100%;
  text-align: center !important;
}

/* Uploaded artwork preview. The uploader already creates a thumbnail as soon
   as a file is dropped, but its stock 100px/cover treatment crops the artwork
   and is too small for a customer to verify before ordering. */
body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb:not(:empty) {
  position: relative;
  display: block !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 44px 0 0 !important;
  overflow: visible !important;
  border-top: 1px solid #dfe5f0;
  text-align: center !important;
}

/* The uploader fades deleted cards out but keeps the hidden <li> in the DOM.
   Collapse the preview section once no visible file cards remain. */
body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb:not(:has(> li:not([style*="display: none"]))) {
  display: none !important;
}

body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb:not(:empty)::before {
  content: "Uploaded artwork preview";
  position: absolute;
  top: 14px;
  left: 0;
  color: #10265f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

html[lang^="th"] body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb:not(:empty)::before {
  content: "ตัวอย่างไฟล์งานที่อัปโหลด";
}

body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb > li {
  position: relative;
  float: none !important;
  display: block;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 360px;
  margin: 0 auto 14px !important;
  padding: 12px !important;
  border: 1px solid #dfe5f0 !important;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(15, 39, 94, .07);
}

body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb > li > .thumbnail {
  position: relative;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e1e7f0 !important;
  border-radius: 9px !important;
  background-color: #f7f9fc;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb > li > .thumbnail .du_hover_layer {
  display: none !important;
}

body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb > li > .thumbnail > i:not(.action-delete) {
  top: 50% !important;
  margin: 0 !important;
  transform: translateY(-50%);
  font-size: 46px !important;
}

body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb > li > .thumbnail > i.action-delete {
  position: absolute !important;
  z-index: 3;
  top: 10px !important;
  right: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 !important;
  border: 1px solid #ffd2d2;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #d92d20 !important;
  box-shadow: 0 4px 12px rgba(118, 22, 22, .12);
  visibility: visible !important;
  opacity: 1 !important;
}

body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb > li > span.title {
  display: block !important;
  width: 100% !important;
  color: #1b2a6b;
  font-family: inherit !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 10px;
}

@media (max-width: 767px) {
  body.fp-refreshed.single-product #content .fp26f-upload .drop_uploader ul.files.thumb:not(:empty) {
    width: 100% !important;
  }
}

@media (min-width: 1200px) {
  body.fp-refreshed.single-product #content .content-product-left .loading-gallery {
    height: calc(100cqw - 130px) !important;
  }
}

/* Empty cart: replace the legacy 300px colour slab/font icon with a compact,
   self-contained card whose icon does not depend on an icon font. */
body.fp-refreshed.woocommerce-cart .main-content.page {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto 56px;
}
body.fp-refreshed.woocommerce-cart .main-content :is(.vc_row, .zadora-content > .row) {
  margin-right: 0 !important;
  margin-left: 0 !important;
}
body.fp-refreshed.woocommerce-cart .main-content .zadora-content.container {
  width: 100%;
  margin: 0;
  padding: 0;
}
body.fp-refreshed.woocommerce-cart .main-content .vc_column-inner {
  padding-right: 0;
  padding-left: 0;
}
body.fp-refreshed.woocommerce-cart .wc-empty-cart-message { max-width: 720px; margin: 24px auto 0; }
body.fp-refreshed.woocommerce-cart .woocommerce .cart-empty {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 92px 24px 24px !important;
  border: 1px solid #dfe2ea !important;
  border-radius: 20px;
  color: #1b2a6b !important;
  background: #f3f4f8 !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
body.fp-refreshed.woocommerce-cart .woocommerce .cart-empty::before {
  content: "" !important;
  position: absolute;
  top: 24px;
  left: 50%;
  width: 52px;
  height: 52px;
  margin-left: -26px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232148b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L20 8H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: 0 8px 24px rgba(27, 42, 107, .12);
  transform: none !important;
}
body.fp-refreshed.woocommerce-cart .woocommerce .cart-emtry-text {
  max-width: 600px;
  margin: 20px auto !important;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.75;
  text-align: center;
}
body.fp-refreshed.woocommerce-cart .woocommerce .button.wc-backward {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 190px;
  min-height: 48px;
  margin: 0 auto !important;
  padding: 10px 22px !important;
  border-radius: 10px;
  color: #fff !important;
  background: #2148b0 !important;
  font-weight: 600;
  text-transform: none;
}
body.fp-refreshed.woocommerce-cart .main-content .vc_empty_space { display: none; }

/* Long contact data must wrap instead of widening the footer. */
.fp26ft-grid > *, .fp26ft-contact li, .fp26ft-contact span { min-width: 0; }
.fp26ft-contact span, .fp26ft-contact a { overflow-wrap: anywhere; }

/* Keep floating help clear of an active cookie notice. */
body:has(.dpdpa--popup.active) .fp26-contact-widget { bottom: 96px; }
body.fp-modern:has(.dpdpa--popup.active) [id^="gb-widget-"] { translate: 0 -82px !important; }

@media (max-width: 767px) {
  body.fp-refreshed .page-header .breadcrumbs,
  body.fp-refreshed .shop-page-titlebar .breadcrumbs {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Visual Composer/Bootstrap adds -15px gutters around a fixed container. */
  body.fp-refreshed.woocommerce-account .main-content.page,
  body.fp-refreshed.woocommerce-cart .main-content.page {
    width: calc(100% - 32px);
  }
  body.fp-refreshed.woocommerce-account .main-content :is(.vc_row, .zadora-content.container, .zadora-content > .row),
  body.fp-refreshed.woocommerce-cart .main-content :is(.vc_row, .zadora-content.container, .zadora-content > .row) {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.fp26a-page #customer_login,
  body.fp26a-page #customer_login > *,
  body.fp26a-page #customer_login input,
  body.fp26a-page #customer_login button { min-width: 0; max-width: 100%; }
  .fp26a-row { align-items: flex-start; flex-wrap: wrap; }

  /* Shop: remove the absolute two-column Masonry layout on phones. */
  body.fp-refreshed:is(.woocommerce-shop, .tax-product_cat, .fp26-landing) .product-list.zadora-masonry {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    height: auto !important;
  }
  body.fp-refreshed:is(.woocommerce-shop, .tax-product_cat, .fp26-landing) .product-list > .grid-sizer { display: none !important; }
  body.fp-refreshed:is(.woocommerce-shop, .tax-product_cat, .fp26-landing) .product-list > .tb-products-grid {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.fp-refreshed:is(.woocommerce-shop, .tax-product_cat, .fp26-landing) .tb-products-grid .product-thumb {
    aspect-ratio: 1 / 1;
  }
  body.fp-refreshed:is(.woocommerce-shop, .tax-product_cat, .fp26-landing) .tb-products-grid .product-title {
    min-height: 0;
    font-size: 15px;
    -webkit-line-clamp: 2;
  }

  /* Product: horizontal thumbnails and a viewport-sized main image. */
  body.fp-refreshed.single-product #content .product-top { margin-right: 0; margin-left: 0; }
  body.fp-refreshed.single-product #content .content-product-left,
  body.fp-refreshed.single-product #content .content-product-right { width: 100%; padding-right: 0; padding-left: 0; }
  body.fp-refreshed.single-product #content .product-images-content.right,
  body.fp-refreshed.single-product #content .product-images-content.left { padding: 0 !important; }
  body.fp-refreshed.single-product #content .product-images-content .product-thumbnails {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 10px;
  }
  body.fp-refreshed.single-product #content .product-thumbnails .thumbnails {
    width: 100%;
    height: auto !important;
    margin: 0 !important;
  }
  body.fp-refreshed.single-product #content .product-thumbnails .image-thumbnail-item {
    margin: 0 5px !important;
  }
  body.fp-refreshed.single-product #content .product-thumbnails img {
    width: 100% !important;
    height: 76px !important;
    object-fit: cover;
  }
  body.fp-refreshed.single-product #content .woocommerce-product-gallery__wrapper img.wp-post-image {
    width: 100% !important;
    max-height: min(72vh, 520px);
    object-fit: contain;
  }
  body.fp-refreshed.single-product #content .shop-top .product_title {
    font-size: 20px !important;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  body.fp-refreshed.single-product #content .shop-bottom .description :is(li, p) {
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.7;
  }

  body:has(.dpdpa--popup.active) .fp26-contact-widget { bottom: 148px; }
  body.fp-modern:has(.dpdpa--popup.active) [id^="gb-widget-"] { translate: 0 -108px !important; }
  .fp26-contact-panel { max-height: calc(100dvh - 190px); }

  /* Preserve the consent text while keeping the notice below roughly one
     eighth of a phone viewport. */
  .dpdpa--popup.active { padding: 7px 0 !important; }
  .dpdpa--popup .dpdpa--popup-container { gap: 7px !important; padding: 0 12px !important; }
  .dpdpa--popup .dpdpa--popup-text p { font-size: 11px !important; line-height: 1.4 !important; }
  .dpdpa--popup .dpdpa--popup-button { min-height: 36px !important; padding: 6px 10px !important; }
}

@media (max-width: 640px) {
  /* Archived homepage: favour readable single-column cards on a phone. */
  .fp26-trust,
  .fp26-categories { grid-template-columns: 1fr !important; }
  /* Best sellers stay two across so the tiles are not oversized on a phone. */
  .fp26-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px 10px; }
  .fp26-trust li { min-width: 0; }
  .fp26-home .fp26-slide img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .fp26-category__media { aspect-ratio: 16 / 8.5; }
  .fp26-product { padding-bottom: 8px; }
  .fp26-product__media { aspect-ratio: 4 / 3; }
  .fp26-head { width: 100%; }
  .fp26-head .fp26-link { white-space: normal; }

  /* Optional modern homepage: real collapsible mobile navigation and one
     column cards, instead of clipping the desktop menu and grids. */
  .fp-nav { display: none; }
  .fp-mobile-nav {
    display: block;
    padding-top: 0;
    padding-bottom: 10px;
    border-top: 1px solid var(--line);
  }
  .fp-mobile-nav summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }
  .fp-mobile-nav summary::-webkit-details-marker { display: none; }
  .fp-mobile-nav[open] summary span { transform: rotate(45deg); }
  .fp-mobile-nav nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 6px; }
  .fp-mobile-nav nav a {
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--navy) !important;
    background: var(--soft);
    font-size: 13px;
    font-weight: 600;
  }
  .fp-header-actions { margin-left: auto; }
  .fp-header-actions > a:first-child { display: none; }
  .fp-category-grid,
  .fp-product-grid { grid-template-columns: 1fr; gap: 12px; }
  .fp-category-image { height: auto; aspect-ratio: 16 / 9; }
  .fp-product-image { height: auto; aspect-ratio: 16 / 9; }
  .fp-category-text h3, .fp-product-body h3 { font-size: 15px !important; }
  .fp-category-text p, .fp-product-body p { display: block; font-size: 13px; }
  .fp-section-heading { align-items: flex-start; flex-wrap: wrap; }
  .fp-section-heading .fp-text-link { white-space: normal; }
  .fp-hero-visual { min-height: 255px; }
  .fp-visual-caption { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
}

@media (max-width: 420px) {
  body.fp-refreshed.woocommerce-cart .woocommerce .cart-empty {
    padding: 84px 16px 20px !important;
    font-size: 22px !important;
  }
  body.fp-refreshed.woocommerce-cart .woocommerce .cart-emtry-text { font-size: 14px; }
  .fp26-contact-toggle { width: 54px; min-height: 54px; }
  .fp26-contact-toggle svg { width: 44px; height: 44px; }
  .fp-mobile-nav nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fp-mobile-nav summary span { transition: none; }
}

/* Cart: readable action buttons and padded totals (the legacy theme used white-on-grey and an unpadded table). */
body.fp-refreshed.woocommerce-cart .cart-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 0 0; }
body.fp-refreshed.woocommerce-cart .cart-actions .updatecart .button,
body.fp-refreshed.woocommerce-cart .cart-actions .continue {
  display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 190px; height: 48px; padding: 0 22px; line-height: 1.2;
  border: 1px solid #cbd5eb; border-radius: 11px; color: #1b2a6b; background: #fff; font-size: 14px; font-weight: 700; text-transform: none; text-decoration: none; cursor: pointer;
}
body.fp-refreshed.woocommerce-cart .cart-actions .updatecart .button:hover,
body.fp-refreshed.woocommerce-cart .cart-actions .continue:hover { color: #1b2a6b; border-color: #2148b0; background: #f5f8ff; }
body.fp-refreshed.woocommerce-cart .cart-actions .updatecart .button:disabled { color: #8892aa; border-color: #dfe2ea; background: #f3f4f8; cursor: not-allowed; opacity: 1; }
body.fp-refreshed.woocommerce-cart .cart_totals :is(th, td) { padding: 12px 16px; }
body.fp-refreshed.woocommerce-cart .cart_totals h2 { padding-left: 16px; }

/* Cookie notice on tablet/desktop: a small card in the corner instead of a full-width bar. */
@media (min-width: 768px) {
  .dpdpa--popup.active {
    top: auto !important; right: auto !important; bottom: 24px !important; left: 24px !important;
    width: min(400px, calc(100vw - 48px)) !important; padding: 0 !important;
    border: 1px solid #dfe2ea; border-radius: 16px; background: #fff;
    box-shadow: 0 20px 50px -20px rgba(19, 36, 93, .35);
  }
  .dpdpa--popup.active .container { width: auto !important; max-width: none !important; padding: 20px 22px !important; }
  .dpdpa--popup .dpdpa--popup-container { position: relative; display: flex !important; flex-direction: column; align-items: stretch; gap: 14px !important; padding: 0 !important; }
  .dpdpa--popup .dpdpa--popup-text { padding: 0 24px 0 0 !important; }
  .dpdpa--popup .dpdpa--popup-text p { margin: 0 !important; color: #4a557f; font-size: 13.5px !important; line-height: 1.75 !important; }
  .dpdpa--popup .dpdpa--popup-button-group { display: flex; justify-content: flex-start; margin: 0 !important; text-align: left; }
  .dpdpa--popup .dpdpa--popup-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px !important; padding: 8px 22px !important; border-radius: 10px !important; font-size: 14px; font-weight: 700; }
  .dpdpa--popup .dpdpa--popup-close { position: absolute !important; top: -4px !important; right: -6px !important; width: 28px; height: 28px; border-radius: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6585' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 16px no-repeat; }
  .dpdpa--popup .dpdpa--popup-close:hover { background-color: #f3f4f8; }
  .dpdpa--popup .dpdpa--popup-close::before, .dpdpa--popup .dpdpa--popup-close::after { display: none !important; }
  /* The notice no longer spans the bottom edge, so the help button stays where it was. */
  body:has(.dpdpa--popup.active) .fp26-contact-widget { bottom: clamp(16px, 2vw, 30px); }
  body.fp-modern:has(.dpdpa--popup.active) [id^="gb-widget-"] { translate: none !important; }
}

/* One breadcrumb for the whole site: a grey band, muted links, the current page in navy.
   Generic pages, product pages and the landing pages all use these rules. */
body.fp-refreshed:not(.home) .page-header,
body.fp-refreshed.single-product #content .shop-page-titlebar,
body.fp-refreshed .fp26c-crumbs {
  margin: 0 0 16px; padding: 10px 0 !important; min-height: 0; border: 0; background: #f4f5f7;
}
body.fp-refreshed .fp26c-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: auto; max-width: none; box-shadow: 0 0 0 100vmax #f4f5f7; clip-path: inset(0 -100vmax); font-size: 13px; line-height: 1.5; }
body.fp-refreshed :is(.breadcrumbs, .fp26c-crumbs),
body.fp-refreshed :is(.breadcrumbs, .fp26c-crumbs) :is(a, i, span) { font-size: 13px; line-height: 1.5; color: #6b7280; text-decoration: none; }
body.fp-refreshed :is(.breadcrumbs, .fp26c-crumbs) a:hover, body.fp-refreshed :is(.breadcrumbs, .fp26c-crumbs) a:hover :is(i, span) { color: #2148b0; }
body.fp-refreshed :is(.breadcrumbs, .fp26c-crumbs) :is(.sep, [aria-hidden="true"]:not(i)) { color: #9aa3bd; }
body.fp-refreshed .breadcrumbs > span:last-child, body.fp-refreshed .breadcrumbs > span:last-child span, body.fp-refreshed .fp26c-crumbs [aria-current] { color: #13245d; font-weight: 600; }
body.fp-refreshed .fp26c-crumbs + .fp26c-top { margin-top: 0; }
body.fp-refreshed.single-product #content .shop-page-titlebar .topnav-pagination { margin-top: -20px; }
body.fp-refreshed.single-product #content .shop-page-titlebar .breadcrumbs { font-size: 13px; line-height: 1.5; }
body.fp-refreshed.single-product #content .shop-page-titlebar .breadcrumbs :is(a, i, span) { font-size: 13px; line-height: 1.5; color: #6b7280; }
body.fp-refreshed.single-product #content .shop-page-titlebar .breadcrumbs a:hover :is(i, span), body.fp-refreshed.single-product #content .shop-page-titlebar .breadcrumbs a:hover { color: #2148b0; }
body.fp-refreshed.single-product #content .shop-page-titlebar .breadcrumbs > span:last-child, body.fp-refreshed.single-product #content .shop-page-titlebar .breadcrumbs > span:last-child span { color: #13245d; font-weight: 600; }
/* Product pages: the breadcrumb sits left in the same 1140px column as every other page; the prev/next arrows are dropped. */
body.fp-refreshed.single-product #content .shop-page-titlebar > .container { width: min(1140px, calc(100% - 48px)); padding: 0; }
body.fp-refreshed.single-product #content .shop-page-titlebar :is(.row, .col-sm-12) { margin: 0; padding: 0; }
body.fp-refreshed.single-product #content .shop-page-titlebar .breadcrumbs { text-align: left; }
body.fp-refreshed.single-product #content .shop-page-titlebar .topnav-pagination { display: none !important; }
@media (max-width: 767px) { body.fp-refreshed.single-product #content .shop-page-titlebar > .container { width: calc(100% - 32px); } }

/* Short cart/checkout pages keep their footer at the bottom of the viewport. */
body.fp-refreshed:is(.woocommerce-cart, .woocommerce-checkout) #zadora-main {
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh;
}
body.fp-refreshed:is(.woocommerce-cart, .woocommerce-checkout) #zadora-main > * { flex-shrink: 0; }
body.fp-refreshed:is(.woocommerce-cart, .woocommerce-checkout) #footer-jws {
  margin-top: auto !important; width: 100%; clear: both;
}
body.fp-refreshed.woocommerce-cart .woocommerce::after { content: ""; display: block; clear: both; }
