/*
Theme Name: GB Default Test
Theme URI: https://example.com/gb-default-test
Author: Codex
Description: Minimal WordPress theme for testing critical errors.
Version: 2.1.22
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gb-default-test
*/

:root {
  --bg-dark: #0d3d75;
  --bg-mid: #1f72a9;
  --ink-light: #f8fbff;
  --ink-soft: #d7e3ff;
  --accent: #ffb84d;
  --accent-dark: #d58a12;
  --card-cut-soft: polygon(
    0 18px,
    0 12px,
    3px 7px,
    8px 3px,
    12px 0,
    18px 0,
    calc(100% - 18px) 0,
    calc(100% - 12px) 0,
    calc(100% - 8px) 3px,
    calc(100% - 3px) 7px,
    100% 12px,
    100% 18px,
    100% calc(100% - 18px),
    100% calc(100% - 12px),
    calc(100% - 3px) calc(100% - 7px),
    calc(100% - 8px) calc(100% - 3px),
    calc(100% - 12px) 100%,
    calc(100% - 18px) 100%,
    18px 100%,
    12px 100%,
    8px calc(100% - 3px),
    3px calc(100% - 7px),
    0 calc(100% - 12px),
    0 calc(100% - 18px)
  );
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #1f72a9;
  color: #1b2430;
}

body.home {
  background: transparent;
}

.home-video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-header {
  background: #0d3d75;
  color: var(--ink-light);
  padding: 12px 20px 8px;
  position: relative;
  z-index: 120;
}

.header-utility-row {
  margin: -12px -20px 10px;
  padding: 8px 20px;
}

.header-utility-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-utility-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-utility-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}

.header-utility-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.header-utility-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #1b1b1b;
  font-size: 12px;
  font-weight: 800;
}

.header-utility-link:hover,
.header-utility-link:focus-visible {
  text-decoration: underline;
}

.header-utility-cart-wrap {
  position: relative;
  display: inline-flex;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.header-utility-cart-popover {
  position: absolute;
  top: 100%;
  right: 0;
  width: min(360px, calc(100vw - 24px));
  background: #ffffff;
  color: #1b2430;
  border: 1px solid #d3dceb;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(10, 16, 30, 0.24);
  padding: 10px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 70;
}

.header-utility-cart-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #d3dceb;
  border-top: 1px solid #d3dceb;
  transform: rotate(45deg);
}

.header-utility-cart-wrap:hover .header-utility-cart-popover,
.header-utility-cart-wrap:focus-within .header-utility-cart-popover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-utility-cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.header-utility-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  line-height: 1.3;
}

.header-utility-cart-item-name {
  font-weight: 700;
  color: #10284f;
}

.header-utility-cart-item-qty {
  color: #4d5f7c;
  font-weight: 700;
  white-space: nowrap;
}

.header-utility-cart-subtotal {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #dbe3f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}

.header-utility-cart-subtotal strong {
  color: #0d2a5f;
}

.header-utility-cart-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.header-utility-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.header-utility-cart-btn.is-view {
  background: #e4573d;
  color: #ffffff;
}

.header-utility-cart-btn.is-checkout {
  background: #1b2c6b;
  color: #ffffff;
}

.header-utility-cart-btn.is-view:hover,
.header-utility-cart-btn.is-view:focus-visible {
  background: #cd452d;
}

.header-utility-cart-btn.is-checkout:hover,
.header-utility-cart-btn.is-checkout:focus-visible {
  background: #142458;
}

.header-utility-cart-empty {
  margin: 0;
  font-size: 13px;
  color: #27364d;
}

.gb-cart-toast-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.gb-cart-toast {
  pointer-events: auto;
  width: min(320px, calc(100vw - 28px));
  background: #ffffff;
  color: #1b2430;
  border-left: 5px solid #1b2c6b;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.24);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.gb-cart-toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.gb-cart-toast-content strong {
  display: block;
  margin-bottom: 2px;
  color: #0d2a5f;
  font-size: 13px;
}

.gb-cart-toast-content p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.gb-cart-toast-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #1b2c6b;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.gb-cart-toast-link:hover,
.gb-cart-toast-link:focus-visible {
  background: #142458;
  color: #ffffff;
}

.header-row {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(520px, 780px) auto;
  align-items: center;
  gap: 16px;
}

.site-branding {
  min-width: 170px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site-branding .custom-logo {
  display: block;
  max-height: 64px;
  width: auto;
  margin: 0;
}

.site-branding .site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.site-branding a {
  color: inherit;
  text-decoration: none;
}

.header-search {
  display: flex;
  align-items: center;
  justify-content: stretch;
  min-width: 0;
}
.header-search--compact {
  width: 100%;
  justify-self: center;
}

.header-search form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: none;
}

.header-search input[type="search"] {
  flex: 1 1 auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 14px;
  font-size: 14px;
}

.header-search button {
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #1b1b1b;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--accent-dark);
}

.header-actions {
  min-width: 220px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.header-actions a:hover,
.header-actions a:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.header-actions a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 1px;
}

.primary-nav {
  max-width: 1240px;
  margin: 8px auto 0;
  display: flex;
  justify-content: center;
  padding: 0;
}

.mobile-menu-toggle {
  display: none;
}

.primary-nav .gb-menu {
  width: 100%;
  max-width: 1240px;
  padding: 6px 0 2px;
}

.primary-nav .gb-menu-tabs {
  justify-content: center;
  gap: 20px;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.primary-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink-light);
  text-decoration: none;
  font-weight: 600;
}

.primary-nav .gb-header-menu {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.primary-nav .gb-header-all-wrap {
  position: relative;
  flex: 0 0 auto;
}

.primary-nav .gb-header-all-toggle,
.primary-nav .gb-header-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-light);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.primary-nav .gb-header-all-toggle {
  gap: 8px;
  cursor: pointer;
}

.primary-nav .gb-header-all-label {
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.primary-nav .gb-header-all-toggle:hover,
.primary-nav .gb-header-all-toggle:focus-visible {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.primary-nav .gb-header-all-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 14px;
}

.primary-nav .gb-header-all-icon span {
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.primary-nav .gb-header-all-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, calc(100vw - 24px));
  background: #ffffff;
  color: #1b2430;
  border: 1px solid #d3dceb;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(10, 16, 30, 0.24);
  z-index: 1000;
}

.primary-nav .gb-header-all-popover-inner {
  padding: 12px;
}

.primary-nav .gb-header-all-popover-inner p {
  margin: 0;
  font-size: 13px;
}

.primary-nav .gb-header-all-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: flex-start;
  justify-items: stretch;
  gap: 4px;
}

.primary-nav .gb-header-all-links li {
  margin: 0;
}

.primary-nav .gb-header-all-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  color: #1b2430;
  text-decoration: none;
  font-weight: 600;
  text-align: left;
  background: transparent;
}

.primary-nav .gb-header-all-parent-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1b2430;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.primary-nav .gb-header-all-parent-toggle:hover,
.primary-nav .gb-header-all-parent-toggle:focus-visible {
  background: #edf4ff;
  color: #0d2a5f;
}

.primary-nav .gb-header-all-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
  flex: 0 0 auto;
}

.primary-nav .gb-header-all-parent-toggle[aria-expanded="true"] .gb-header-all-caret {
  transform: rotate(-135deg);
}

.primary-nav .gb-header-all-links a:hover,
.primary-nav .gb-header-all-links a:focus-visible {
  background: #edf4ff;
  color: #0d2a5f;
}

.primary-nav .gb-header-all-children {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 12px;
  display: grid;
  gap: 2px;
}

.primary-nav .gb-header-all-children[hidden] {
  display: none !important;
}

.primary-nav .gb-header-all-children a {
  font-size: 13px;
  font-weight: 500;
  color: #324766;
  padding: 6px 8px;
}

.gb-sticky-mini-header .gb-header-all-children {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 12px;
  display: grid;
  gap: 2px;
}

.gb-sticky-mini-header .gb-header-all-children[hidden] {
  display: none !important;
}

.gb-sticky-mini-header .gb-header-all-children a {
  font-size: 13px;
  font-weight: 500;
  color: #324766;
  padding: 6px 8px;
}

.primary-nav .gb-header-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.primary-nav .gb-header-links li {
  margin: 0;
}

.primary-nav .gb-header-links a:hover,
.primary-nav .gb-header-links a:focus-visible {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
  .primary-nav .gb-header-menu {
    justify-content: center;
  }

  .primary-nav .gb-header-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .primary-nav {
    display: block !important;
    width: 100%;
    margin-top: 6px;
    position: relative;
    z-index: 40;
  }

  .primary-nav .gb-header-menu {
    justify-content: center;
    gap: 8px;
  }

  .primary-nav .gb-header-all-wrap {
    width: auto;
  }

  .primary-nav .gb-header-all-toggle {
    min-height: 40px;
    padding: 8px 12px;
  }

  .primary-nav .gb-header-all-popover {
    left: 50%;
    transform: translateX(-50%);
    width: min(320px, calc(100vw - 24px));
  }

  .primary-nav .gb-header-links {
    display: none;
  }

  .primary-nav .gb-header-all-popover {
    width: min(320px, calc(100vw - 24px));
  }
}

@media (max-width: 640px) {
  .primary-nav .gb-header-all-popover {
    width: calc(100vw - 24px);
  }
}

.site-main {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 24px 40px;
}

.entry {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: none;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.entry h1,
.entry h2 {
  margin: 0 0 8px;
}

.entry h1 {
  margin: 0;
  color: #0d3d75;
  text-align: center;
}

.entry p {
  margin: 8px 0 0;
}

.site-footer {
  margin-top: 34px;
  background: #e6e6e6;
  color: #2a3c55;
  display: block !important;
  position: relative;
  z-index: 3;
  clear: both;
}

.footer-highlights {
  background: #1b1f6b;
  color: #ffffff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 26px 40px;
}

.footer-highlight-item {
  text-align: center;
}

.footer-highlight-icon {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

.footer-highlight-item h4 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 20px;
}

.footer-highlight-item p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 24px 34px;
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 34px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-col h5 {
  margin: 0;
  text-transform: uppercase;
  color: #263b57;
  font-size: 26px;
  line-height: 1.1;
}

.footer-divider {
  height: 1px;
  background: #c7cbd1;
  margin: 16px 0 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer-col a {
  color: #6f7e93;
  text-decoration: none;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #1b2c6b;
}

.footer-col-support .footer-phone,
.footer-col-support .footer-mail {
  display: block;
  margin-bottom: 8px;
  color: #2a3c55;
}

.footer-col-support .footer-phone {
  font-weight: 800;
}

.footer-hours {
  margin: 34px 0 0;
  line-height: 1.35;
  color: #2a3c55;
  font-size: 17px;
}

.footer-newsletter input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c7cbd1;
  border-radius: 6px;
  background: #f6f6f6;
  color: #2a3c55;
  padding: 10px 12px;
  font-size: 16px;
}

.footer-newsletter button {
  width: 100%;
  margin-top: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #1b1f6b;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
}

.footer-newsletter button:hover,
.footer-newsletter button:focus-visible {
  background: #141857;
}

.footer-socials {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c4c7cd;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-socials a svg {
  width: 14px;
  height: 14px;
  display: block;
  transform: scale(1.70);
  transform-origin: center;
}

@media (max-width: 1220px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    gap: 26px;
    padding: 30px 20px;
  }
}

@media (max-width: 980px) {
  .footer-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 18px;
  }

  .footer-col h5 {
    font-size: 23px;
  }

  .footer-col a,
  .footer-hours {
    font-size: 15px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 24px 18px 28px;
  }
}

@media (max-width: 640px) {
  .footer-highlights {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-col h5 {
    font-size: 20px;
  }

  .footer-col a,
  .footer-hours {
    font-size: 14px;
  }
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce-breadcrumb {
  color: #e6f1ff;
  font-size: 13px;
  margin: 16px 0;
}

.woocommerce-breadcrumb a {
  color: #e6f1ff;
  text-decoration: none;
}

.woocommerce .related ul.products,
.woocommerce .related ul.products.columns-4,
.woocommerce .related ul.products.columns-3,
.woocommerce .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.woocommerce .related ul.products li.product,
.woocommerce .related.products ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  clear: none !important;
  display: block !important;
}

.woocommerce .related ul.products li.product.first,
.woocommerce .related ul.products li.product.last,
.woocommerce .related.products ul.products li.product.first,
.woocommerce .related.products ul.products li.product.last {
  clear: none !important;
}

.woocommerce .related ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.woocommerce ul.products li.product {
  list-style: none;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  float: none;
  width: auto;
  margin: 0;
  min-height: 420px;
  position: relative;
  clip-path: var(--card-cut-soft);
  border: 2px solid rgba(13, 42, 95, 0.2);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  text-align: left;
}

.woocommerce ul.products li.product a {
  text-decoration: none;
  color: #1b2430;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: contents;
}

.woocommerce ul.products li.product img {
  width: 270px;
  height: 270px;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  margin: 0 0 12px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  order: 1;
}

.entry .woocommerce ul.products,
.entry-content ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding-left: 0;
  margin: 24px 0;
}

.entry-content ul.products li.product {
  list-style: none;
}

.entry-content > p > ul.products {
  margin: 0;
}

.woocommerce ul.products li.product .button {
  order: 2;
  margin: 0;
  margin-top: auto;
  align-self: center;
  background: #14185a;
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-shadow: 0 6px 14px rgba(12, 18, 55, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.woocommerce ul.products li.product .button:focus,
.woocommerce ul.products li.product .button:active,
.woocommerce ul.products li.product .button:hover {
  color: #ffffff;
  text-decoration: none;
  background: #0f1346;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  order: 3;
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: #0b1a33;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.woocommerce ul.products li.product .price {
  order: 4;
  margin-top: 2px;
  font-weight: 700;
  font-size: 16px;
  color: #1b2430;
}

.woocommerce ul.products li.product a:link,
.woocommerce ul.products li.product a:visited {
  color: #1b2430;
  text-decoration: none;
}

.woocommerce a.button.product_type_simple,
.woocommerce a.button.product_type_simple.add_to_cart_button,
.woocommerce a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
.woocommerce ul.products li.product .button {
  color: #ffffff !important;
}

.woocommerce ul.products li.product .button:hover {
  background: #0f1346;
}

/* Cart/Checkout CTA: make Proceed to checkout a primary button (classic + block cart). */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-cart__submit-container .wc-block-cart__submit-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: #14185a !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: 0 8px 16px rgba(12, 18, 55, 0.28) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus-visible,
.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button:focus-visible,
.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-cart__submit-container .wc-block-components-button:focus-visible,
.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container .wc-block-cart__submit-button:focus-visible {
  background: #0f1346 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Checkout CTA: match cart button style for Place order (classic + block checkout). */
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout #payment .button#place_order,
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.wc-block-checkout .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: #14185a !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: 0 8px 16px rgba(12, 18, 55, 0.28) !important;
}

.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout #payment #place_order:focus-visible,
.woocommerce-checkout #payment .button#place_order:hover,
.woocommerce-checkout #payment .button#place_order:focus-visible,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:focus-visible,
.wc-block-checkout .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button:focus-visible {
  background: #0f1346 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Checkout payment radios: always show a clear selected indicator (e.g. Cash on Delivery). */
.woocommerce-checkout #payment ul.payment_methods li {
  position: relative;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #8fa3c7;
  border-radius: 50%;
  background: #ffffff;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked {
  border-color: #1b2c6b;
  background: radial-gradient(circle at center, #1b2c6b 0 44%, #ffffff 45% 100%);
  box-shadow: inset 0 0 0 1px #ffffff;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:focus-visible {
  outline: 2px solid rgba(27, 44, 107, 0.35);
  outline-offset: 2px;
}

/* Block checkout payment radios: keep native Woo layout and just match theme accent. */
.wc-block-checkout .wc-block-components-payment-method input[type="radio"],
.wc-block-checkout .wc-block-components-payment-methods input[type="radio"],
.wc-block-checkout .wc-block-components-radio-control__input {
  accent-color: #1b2c6b;
}

/* Checkout actions should remain in normal document flow (no floating/sticky behavior). */
.wc-block-checkout .wc-block-checkout__actions {
  position: static;
  bottom: auto;
  z-index: auto;
  background: transparent;
  padding-top: 0;
}

@media (max-width: 980px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce .related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .woocommerce .related ul.products {
    grid-template-columns: 1fr;
  }
}

.gb-heo-notice {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0 16px;
  color: #1b2430;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.gb-heo-notice strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.gb-heo-notice p {
  margin: 0;
  font-size: 13px;
}

.gb-product-meta {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.gb-product-meta p {
  margin: 0;
}

.gb-product-meta p + p {
  margin-top: 0;
}

.gb-product-meta strong {
  color: #1b2430;
}

.gb-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gb-hot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: #1f72a9;
  padding: 16px;
  border-radius: 16px;
}

.gb-hot-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  clip-path: var(--card-cut-soft);
  border: 3px solid rgba(0, 0, 0, 0.25);
}

.gb-hot-image-link {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 270px;
  max-width: 100%;
  margin: 0 auto 12px;
}

.gb-hot-image {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.gb-hot-cta {
  order: 2;
  margin-top: auto;
  align-self: center;
  background: #14185a;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-shadow: 0 6px 14px rgba(12, 18, 55, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.gb-hot-cta:hover,
.gb-hot-cta:focus,
.gb-hot-cta:active {
  background: #0f1346;
  color: #ffffff !important;
  text-decoration: none;
}

.gb-hot-title {
  order: 3;
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: #0b1a33;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.gb-hot-sku {
  order: 4;
  font-size: 12px;
  color: #1b2430;
  margin-bottom: 4px;
}

.gb-hot-stock {
  order: 5;
  font-size: 12px;
  font-weight: 700;
  color: #c77800;
  margin-bottom: 6px;
}

.gb-hot-price {
  order: 6;
  font-weight: 700;
  font-size: 16px;
  color: #1b2430;
}

.gb-products-page .entry-content .gb-products-wrap {
  background: #1f72a9;
  padding: 16px;
  border-radius: 16px;
}

.gb-products-wrap--hot {
  background: #1f72a9;
  padding: 16px;
  border-radius: 16px;
}

.gb-products-grid--hot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gb-product-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  clip-path: var(--card-cut-soft);
  border: 3px solid rgba(0, 0, 0, 0.25);
}

.gb-card-image-link {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 270px;
  max-width: 100%;
  margin: 0 auto 12px;
}

/* Category/tag listings: use a wider image stage so tall products fit better. */
.gb-products-wrap--taxonomy .gb-card-image-link {
  width: 100%;
  max-width: 100%;
  height: 220px;
}

.gb-products-wrap--taxonomy .gb-card-image-link .gb-age-thumb-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-products-wrap--taxonomy .gb-card-image,
.gb-products-wrap--taxonomy .gb-card-image-link img,
.gb-products-wrap--taxonomy .gb-card-image-link .gb-age-thumb-wrap img {
  width: 100%;
  height: 100% !important;
  max-height: 220px !important;
  object-fit: contain;
  object-position: center;
}

.gb-products-grid .gb-card-image {
  width: 100%;
  height: 100%;
  max-height: 300px !important;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: #ffffff;
  border-radius: 14px;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.gb-age-thumb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.gb-age-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  padding: 0;
  box-shadow: none;
}

.gb-card-cta {
  order: 2;
  margin-top: auto;
  align-self: center;
  background: #14185a;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-shadow: 0 6px 14px rgba(12, 18, 55, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.gb-card-cta:hover,
.gb-card-cta:focus,
.gb-card-cta:active {
  background: #0f1346;
  color: #ffffff !important;
  text-decoration: none;
}

.gb-card-title {
  order: 3;
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: #0b1a33;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.gb-card-sku {
  order: 4;
  font-size: 12px;
  color: #1b2430;
  margin-bottom: 4px;
}

.gb-card-stock {
  order: 5;
  font-size: 12px;
  font-weight: 700;
  color: #c77800;
  margin-bottom: 6px;
}

.gb-card-price {
  order: 6;
  font-weight: 700;
  font-size: 16px;
  color: #1b2430;
}

/* Search results: match preorders/new-arrivals card styling */
.search-results .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 12px 0 24px;
  padding: 0;
  list-style: none;
}

.search-results .woocommerce ul.products li.product {
  background: #fff !important;
  border: 1px solid #d8dce6 !important;
  border-radius: 4px !important;
  padding: 18px 18px 16px !important;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  min-height: 0;
  box-shadow: none;
}

.search-results .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  width: 100%;
  text-align: center;
}

.search-results .woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  order: 1;
}

.search-results .woocommerce ul.products li.product .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  background: #1b1f6b !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
  margin: 0;
  order: 2;
}

.search-results .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #0d2b6b !important;
  text-decoration: none !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 14px;
  margin: 0;
  order: 3;
}

.search-results .woocommerce ul.products li.product .price {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  width: 100%;
  margin: 0;
  order: 4;
}

/* Search results (gb-product-card output): match preorder layout */
.search-results .entry {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.entry.entry--no-bg {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.entry.entry--no-bg .entry-content {
  padding: 0;
}

.gb-cool-expensive .entry {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.gb-cool-expensive .entry-content {
  padding: 0;
}

.search-results .entry-content {
  padding: 0;
}

.search-results .gb-products-wrap--search {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.search-results .gb-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.search-results .gb-products-grid .gb-product-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  clip-path: var(--card-cut-soft);
  border: 3px solid rgba(0, 0, 0, 0.25);
}

.search-results .gb-products-grid .gb-card-image-link {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 270px;
  max-width: 100%;
  margin: 0 auto 12px;
}

.search-results .gb-products-grid .gb-card-image {
  width: 100%;
  height: 100%;
  max-height: 300px !important;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: #ffffff;
  border-radius: 14px;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.search-results .gb-products-grid .gb-card-cta {
  order: 2;
  margin-top: auto;
  align-self: center;
  background: #14185a;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-shadow: 0 6px 14px rgba(12, 18, 55, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.search-results .gb-products-grid .gb-card-title {
  order: 3;
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: #0b1a33;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.search-results .gb-products-grid .gb-card-sku {
  order: 4;
  font-size: 12px;
  color: #1b2430;
  margin-bottom: 4px;
}

.search-results .gb-products-grid .gb-card-stock {
  order: 5;
  font-size: 12px;
  font-weight: 700;
  color: #c77800;
  margin-bottom: 6px;
}

.search-results .gb-products-grid .gb-card-stock.is-instock {
  color: #0f8a2f;
}

.search-results .gb-products-grid .gb-card-stock.is-outofstock {
  color: #b11b1b;
}

.gb-products-wrap--preorders .woocommerce-ordering {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.gb-products-wrap--new-arrivals .woocommerce-ordering,
.gb-products-wrap--on-sale .woocommerce-ordering,
.gb-products-wrap--latest .woocommerce-ordering,
.gb-products-wrap--cool-expensive .woocommerce-ordering,
.gb-products-wrap--hot .woocommerce-ordering {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.search-results .gb-products-grid .gb-card-price {
  order: 6;
  font-weight: 700;
  font-size: 16px;
  color: #1b2430;
}

.tax-product_tag .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 12px 0 24px;
  padding: 0;
  list-style: none;
}

.tax-product_tag .woocommerce ul.products li.product {
  background: #fff !important;
  border: 1px solid #d8dce6 !important;
  border-radius: 4px !important;
  padding: 18px 18px 16px !important;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.tax-product_tag .woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.tax-product_tag .woocommerce ul.products li.product .button {
  width: 100%;
  border-radius: 6px;
  background: #1b1f6b !important;
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 700;
}

.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #0d2b6b !important;
  text-decoration: none !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 14px;
}

.tax-product_tag .woocommerce ul.products li.product .price {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
}

/* Product taxonomy cards: keep tall images fully visible in the preview box. */
.tax-product_cat .woocommerce ul.products li.product img,
.tax-product_tag .woocommerce ul.products li.product img {
  width: 100% !important;
  height: 220px !important;
  max-height: 220px !important;
  object-fit: contain !important;
  object-position: top center !important;
}

@media (max-width: 980px) {
  .search-results .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .search-results .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .gb-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gb-products-grid {
    grid-template-columns: 1fr;
  }
}

.content-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.home-recommended,
.home-showcase {
  background: transparent;
  position: relative;
  z-index: 1;
  color: #eef4ff;
}

.home-latest {
  background: transparent;
  position: relative;
  z-index: 1;
  color: #eef4ff;
}

.home-recommended {
  margin-top: 250px;
}

.home-recommended h2,
.home-latest h2 {
  margin: 0 0 16px;
  color: #eef4ff;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.recommended-card {
  border-radius: 14px;
  width: 250px;
  height: 250px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background-color: #ffffff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: #1b2430;
  font-weight: 700;
}

.recommended-grid {
  justify-items: center;
}

.recommended-grid--secondary {
  margin-top: 16px;
}

.recommended-grid--secondary.footer-highlights {
  padding: 10px 14px;
  gap: 10px;
}

.recommended-grid--secondary .footer-highlight-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.recommended-grid--secondary .footer-highlight-item h4 {
  font-size: 14px;
  margin: 0 0 4px;
}

.recommended-grid--secondary .footer-highlight-item p {
  font-size: 11px;
  line-height: 1.25;
}

.recommended-grid--deal {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  max-width: 420px;
  margin: 0 auto;
  gap: 14px;
}

.recommended-grid--deal h2 {
  margin: 0;
  color: #eef4ff;
  text-align: center;
}

.recommended-grid--deal .deal-card {
  width: 100%;
}

.recommended-card span {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.showcase-sidebar {
  background: rgba(10, 20, 40, 0.85);
  color: #dbe6ff;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 14px;
  align-self: start;
  height: fit-content;
}

.showcase-sidebar h3 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.showcase-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 6px;
}

.showcase-sidebar a {
  color: #dbe6ff;
  text-decoration: none;
  font-size: 13px;
}

.home-showcase-mobile-sidebar {
  display: none;
  background: transparent;
  position: relative;
  z-index: 1;
}

.deal-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.deal-card h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.deal-card img {
  width: min(100%, 270px);
  height: 270px;
  max-height: 270px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 10px;
  margin: 0 auto 8px;
  display: block;
}

.deal-card a {
  color: #f0f5ff;
  text-decoration: none;
  display: block;
}

.showcase-main {
  background: rgba(244, 247, 251, 0.9);
  border-radius: 18px;
  padding: 20px;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.showcase-header h3 {
  color: #0b1a33;
}

.showcase-tabs {
  display: flex;
  gap: 12px;
  font-size: 12px;
  flex-wrap: wrap;
}

.showcase-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13, 42, 95, 0.26);
  background: #ffffff;
  text-decoration: none;
  color: #123064;
  font-weight: 700;
  letter-spacing: 0.2px;
  opacity: 1;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.showcase-tabs a:hover,
.showcase-tabs a:focus-visible {
  background: #edf4ff;
  border-color: rgba(13, 42, 95, 0.45);
  color: #0d2a5f;
  transform: translateY(-1px);
}

.showcase-tabs .is-active {
  background: #1b2c6b;
  border-color: #1b2c6b;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(13, 42, 95, 0.24);
}

.showcase-tabs .is-active:hover,
.showcase-tabs .is-active:focus-visible {
  background: #142458;
  border-color: #142458;
  color: #ffffff;
}

.showcase-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.showcase-card,
.product-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
}

.showcase-card img,
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  margin-bottom: 10px;
}

.showcase-card a,
.product-card a {
  text-decoration: none;
  color: #1b2430;
}

.showcase-card strong,
.product-card strong {
  display: block;
  margin-bottom: 6px;
}

.showcase-card .price,
.product-card .price {
  color: #1b2430;
}

.showcase-card,
.product-card {
  position: relative;
}

.showcase-card .onsale,
.product-card .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.showcase-card .showcase-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.showcase-card .showcase-meta .price {
  margin: 0;
}

.showcase-card .button.is-disabled {
  opacity: 0.7;
}

.product-card .product-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card .product-meta .price {
  margin: 0;
}

.product-card .button.is-disabled {
  opacity: 0.7;
}

.showcase-card .button {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 14px;
  border-radius: 10px;
  background: #132c56;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
}

/* Make Latest items cards match the core product card style. */
.home-latest .product-grid {
  gap: 20px;
}

.home-latest .product-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  min-height: 420px;
  position: relative;
  clip-path: var(--card-cut-soft);
  border: 3px solid rgba(0, 0, 0, 0.25);
}

.home-latest .product-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1b2430;
}

.home-latest .showcase-card-link,
.home-showcase .showcase-card-link,
.gblg-extra-products .showcase-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: #1b2430;
}

.home-latest .product-card img {
  width: 270px;
  height: 270px;
  max-width: 100%;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  padding: 0;
  margin: 0 auto 12px;
  box-shadow: none;
}

/* Keep age-gate wrapped thumbnails the same size as normal latest-item thumbnails. */
.home-latest .product-card .gb-age-thumb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 270px;
  max-width: 100%;
  margin: 0 auto 12px;
  overflow: hidden;
}

.home-latest .product-card .gb-age-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
}

/* Latest items use showcase-card markup on front-page; enforce same age-thumb sizing there too. */
.home-latest .showcase-card .gb-age-thumb-wrap,
.gblg-extra-products .showcase-card .gb-age-thumb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 270px;
  max-width: 100%;
  margin: 0 auto 12px;
  overflow: hidden;
}

.home-latest .showcase-card .gb-age-thumb-wrap img,
.gblg-extra-products .showcase-card .gb-age-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
}

/* Home showcase cards also use age-thumb wrappers; size them like normal showcase images. */
.home-showcase .showcase-card .gb-age-thumb-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 10px;
  overflow: hidden;
}

.home-showcase .showcase-card .gb-age-thumb-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
  border-radius: 12px;
}

.home-latest .product-card strong {
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: #0b1a33;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.home-latest .product-card .product-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-latest .product-card .product-meta .price {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: #1b2430;
}

.home-latest .product-meta .button {
  background: #14185a;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-shadow: 0 6px 14px rgba(12, 18, 55, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.home-latest .product-meta .button:hover,
.home-latest .product-meta .button:focus,
.home-latest .product-meta .button:active {
  background: #0f1346;
  color: #ffffff !important;
  text-decoration: none;
}

/* Keep homepage product sections at two rows on desktop while allowing wider breakpoints to show more cards. */
.home-showcase .showcase-grid > :nth-child(n + 11),
.home-latest .product-grid > :nth-child(n + 11) {
  display: none;
}

@media (max-width: 980px) {
  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .recommended-grid,
  .showcase-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .recommended-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-items: stretch;
  }

  .recommended-card {
    width: 100%;
    height: 170px;
    min-width: 0;
    padding: 10px;
  }

  .showcase-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .showcase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 860px) {
  .header-utility-cart-popover {
    display: none;
  }

  .site-header {
    overflow: visible;
  }

  .header-utility-row {
    margin: -12px -20px 10px;
    padding: 8px 20px;
  }

  .header-utility-inner {
    gap: 10px;
  }

  .header-utility-nav {
    gap: 12px;
  }

  .header-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .site-branding {
    justify-content: flex-start;
    min-width: 0;
  }

  .site-branding .custom-logo {
    max-height: 58px;
  }

  .header-search {
    width: 100%;
  }

  .header-search form {
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .header-search input[type="search"] {
    min-width: 0;
  }

  .header-search button {
    white-space: nowrap;
  }

  .header-actions {
    width: 100%;
    grid-column: 1 / -1;
    margin-top: 2px;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 36px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--ink-light);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
  }

  .mobile-menu-toggle::before {
    content: "\2630";
    margin-right: 8px;
    font-size: 16px;
    line-height: 1;
  }

  .primary-nav {
    display: block !important;
    width: 100%;
    margin-top: 6px;
    position: relative;
    z-index: 40;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .gb-header-menu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .primary-nav .gb-menu {
    position: relative;
    z-index: 41;
  }

  .primary-nav .gb-menu-dropdown {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 8px;
    border-radius: 10px !important;
    box-shadow: 0 16px 30px rgba(10, 16, 30, 0.28) !important;
    z-index: 45 !important;
  }

  .primary-nav .gb-menu-dropdown::before,
  .primary-nav .gb-menu-dropdown::after {
    display: none !important;
  }

  .primary-nav .gb-menu-dropdown.is-open {
    display: block !important;
  }

  .primary-nav .gb-menu-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    justify-items: stretch;
    align-items: stretch;
  }

  .primary-nav .gb-menu-tabs .gb-menu-tab {
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    border-radius: 8px !important;
    padding: 8px 10px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    text-decoration: none !important;
  }

  .home-showcase .showcase-sidebar-desktop {
    display: none;
  }

  .home-showcase-mobile-sidebar {
    display: block;
  }

  .home-showcase-mobile-sidebar .content-wrap {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 12px 8px;
  }

  .deal-card img,
  .deal-card-link img {
    height: 220px !important;
    max-height: 220px !important;
  }

  .header-utility-row {
    margin: -10px -12px 8px;
    padding: 7px 12px;
  }

  .header-utility-link {
    font-size: 12px;
  }

  .header-utility-cart-count {
    min-width: 18px;
    min-height: 18px;
    padding: 0 5px;
    font-size: 11px;
  }

  .header-utility-nav {
    justify-content: flex-end;
    gap: 10px;
  }

  .header-utility-nav a:nth-child(-n+2) {
    display: none;
  }

  .header-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }

  .site-branding .custom-logo {
    max-height: 50px;
  }

  .header-search form {
    gap: 6px;
  }

  .header-search input[type="search"] {
    padding: 10px 12px;
    font-size: 13px;
  }

  .header-search button {
    padding: 10px 14px;
  }

  .primary-nav .gb-menu-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gb-cart-toast-stack {
    top: 12px;
    right: 12px;
  }
}

/* Hot page: force cards to mirror gb-product-card styling (override plugin CSS). */
.page-id-243815 .gb-hot-card,
.gb-hot-grid .gb-hot-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 18px 16px 20px !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 420px !important;
  position: relative !important;
  clip-path: var(--card-cut-soft) !important;
  border: 3px solid rgba(0, 0, 0, 0.25) !important;
}

.page-id-243815 .gb-hot-image-link,
.gb-hot-grid .gb-hot-image-link {
  order: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 270px !important;
  height: 270px !important;
  max-width: 100% !important;
  margin: 0 auto 12px !important;
}

.page-id-243815 .gb-hot-image,
.gb-hot-grid .gb-hot-image {
  width: 100% !important;
  height: 100% !important;
  max-height: 300px !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.page-id-243815 .gb-hot-cta,
.gb-hot-grid .gb-hot-cta {
  order: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  background: #1b2c6b !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: 0.6px !important;
  margin: 6px auto 12px !important;
  width: 100% !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2) !important;
}

.page-id-243815 .gb-hot-title,
.gb-hot-grid .gb-hot-title {
  order: 3 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  color: #0d2a5f !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  margin: 0 0 8px !important;
}

.page-id-243815 .gb-hot-sku,
.gb-hot-grid .gb-hot-sku {
  order: 4 !important;
  font-size: 12px !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
}

.page-id-243815 .gb-hot-stock,
.gb-hot-grid .gb-hot-stock {
  order: 5 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.page-id-243815 .gb-hot-price,
.gb-hot-grid .gb-hot-price {
  order: 6 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0d2a5f !important;
  margin-top: auto !important;
}

.deal-card-link {
  position: relative;
  display: block;
}

.deal-card .onsale {
  position: absolute;
  top: -6px;
  left: -6px;
  z-index: 2;
  background: #cc0f1a !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 58px !important;
  height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 2px !important;
  text-transform: uppercase !important;
}

.deal-card-link img {
  position: relative;
  z-index: 1;
  width: min(100%, 270px) !important;
  height: 270px !important;
  max-height: 270px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto 8px !important;
}

.home-latest .product-meta .button {
  background: #14185a;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 8px 16px;
  text-transform: none;
  font-weight: 700;
  font-size: inherit;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-shadow: 0 6px 14px rgba(12, 18, 55, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.woocommerce span.onsale {
  background: #cc0f1a;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  padding: 8px 10px;
  min-height: 0;
  min-width: 0;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  text-transform: uppercase;
  text-align: center;
}

.woocommerce span.onsale .onsale-label {
  font-size: 9px;
}

.woocommerce span.onsale .onsale-percent {
  font-size: 9px;
}

/* v2.0.4: listing behavior normalization */
:root {
  --listing-gap: 20px;
  --listing-cols-desktop: 3;
  --listing-cols-tablet: 2;
  --listing-cols-mobile: 1;
}

.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products,
.tax-product_tag .woocommerce ul.products,
.search-results .woocommerce ul.products,
.gb-products-grid,
.gb-products-grid--taxonomy,
.gb-products-grid--search,
.gb-products-grid--hot {
  display: grid !important;
  grid-template-columns: repeat(var(--listing-cols-desktop), minmax(0, 1fr)) !important;
  gap: var(--listing-gap) !important;
}

.post-type-archive-product .woocommerce-ordering,
.tax-product_cat .woocommerce-ordering,
.tax-product_tag .woocommerce-ordering,
.search-results .woocommerce-ordering,
.gb-products-wrap .woocommerce-ordering {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
  margin: 0 0 14px !important;
  width: 100%;
}

.post-type-archive-product .woocommerce-ordering select,
.tax-product_cat .woocommerce-ordering select,
.tax-product_tag .woocommerce-ordering select,
.search-results .woocommerce-ordering select,
.gb-products-wrap .woocommerce-ordering select {
  min-width: 220px;
  border-radius: 10px;
  border: 1px solid rgba(13, 42, 95, 0.25);
  padding: 8px 12px;
  background: #ffffff;
  font-weight: 600;
}

/* Product listing sort/filter control bar (gb shortcodes). */
.gb-products-wrap .woocommerce-ordering {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.4fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
  gap: 10px;
  justify-content: center !important;
  align-items: center;
  max-width: 960px;
  margin: 0 auto 16px !important;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.gb-products-wrap .woocommerce-ordering select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(13, 42, 95, 0.3);
  background: #ffffff;
  color: #0d2a5f;
  font-weight: 700;
}

.gb-products-wrap .woocommerce-ordering .button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(13, 42, 95, 0.3);
  background: #1b2c6b;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.gb-products-wrap .woocommerce-ordering .button:hover,
.gb-products-wrap .woocommerce-ordering .button:focus-visible {
  background: #142458;
  color: #ffffff;
}

/* Auto-apply mode: keep Apply button as no-JS fallback only. */
.gb-js .gb-products-wrap .woocommerce-ordering .button {
  display: none;
}

.gb-products-empty {
  max-width: 560px;
  margin: 16px auto 8px;
  padding: 24px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(13, 42, 95, 0.2);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  text-align: center;
}

.gb-products-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  color: #5e6b84;
}

.gb-products-empty-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: rgba(13, 42, 95, 0.08);
  stroke: #5e6b84;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.gb-products-empty p {
  margin: 0 0 14px;
  color: #1b2430;
  font-weight: 700;
}

.gb-products-empty-back.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: #1b2c6b;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.gb-products-empty-back.button:hover,
.gb-products-empty-back.button:focus-visible {
  background: #142458;
  color: #ffffff;
  text-decoration: none;
}

/* Keep taxonomy/category sort bar in normal document flow (not absolute). */
.gb-products-wrap--taxonomy {
  position: static !important;
  padding-top: 0 !important;
}

.gb-products-wrap--taxonomy .woocommerce-ordering {
  position: static !important;
  float: none !important;
  top: auto !important;
  right: auto !important;
  z-index: auto !important;
}

/* Align preorders vertical spacing with other gb listing pages. */
.entry-content > p > .gb-products-wrap--preorders {
  margin-top: -14px;
}

.woocommerce nav.woocommerce-pagination {
  margin: 18px 0 8px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  margin: 0;
  float: none;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(13, 42, 95, 0.25);
  background: #ffffff;
  color: #0d2a5f;
  font-weight: 700;
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers.current {
  background: #1b2c6b;
  color: #ffffff;
  border-color: #1b2c6b;
}

[data-gb-products] .woocommerce-pagination {
  display: none !important;
}

.gb-products-loader {
  min-height: 32px;
  margin: 10px 0 0;
}

.gb-products-loader[aria-busy="true"]::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: gbspin 0.8s linear infinite;
}

@keyframes gbspin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products,
  .search-results .woocommerce ul.products,
  .gb-products-grid,
  .gb-products-grid--taxonomy,
  .gb-products-grid--search,
  .gb-products-grid--hot {
    grid-template-columns: repeat(var(--listing-cols-tablet), minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products,
  .search-results .woocommerce ul.products,
  .gb-products-grid,
  .gb-products-grid--taxonomy,
  .gb-products-grid--search,
  .gb-products-grid--hot {
    grid-template-columns: repeat(var(--listing-cols-mobile), minmax(0, 1fr)) !important;
  }

  .post-type-archive-product .woocommerce-ordering,
  .tax-product_cat .woocommerce-ordering,
  .tax-product_tag .woocommerce-ordering,
  .search-results .woocommerce-ordering,
  .gb-products-wrap .woocommerce-ordering {
    justify-content: stretch !important;
  }

  .post-type-archive-product .woocommerce-ordering select,
  .tax-product_cat .woocommerce-ordering select,
  .tax-product_tag .woocommerce-ordering select,
  .search-results .woocommerce-ordering select,
  .gb-products-wrap .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }

  .gb-products-wrap .woocommerce-ordering {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .gb-products-wrap .woocommerce-ordering .button {
    width: 100%;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .gb-products-wrap .woocommerce-ordering {
    grid-template-columns: 1fr 1fr;
  }
}

/* v2.0.6: single product and related products alignment */
body.single-product .entry-summary,
body.single-product div.product .summary {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex !important;
  flex-direction: column !important;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  order: 1 !important;
  margin-bottom: 8px;
}

.gb-product-gbcoins {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4f6fb 0%, #e3e7f1 100%);
  color: #243f87;
  border: 1px solid #9eabc6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 1px rgba(11, 23, 48, 0.12);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

body.single-product div.product .summary .stock,
body.single-product div.product .summary p.stock,
body.single-product div.product .summary .gb-preorder-date,
body.single-product div.product .summary .gb-preorder-note {
  order: 2 !important;
  width: 100%;
  margin: 0 0 8px;
}

body.single-product div.product .summary > form.cart,
body.single-product div.product .summary form.cart {
  order: 3 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 10px;
}

body.single-product div.product .summary > form.cart .quantity,
body.single-product div.product .summary form.cart .quantity {
  margin: 0;
}

body.single-product div.product .summary > .gb-heo-notice,
body.single-product div.product .summary .gb-heo-notice {
  order: 4 !important;
}

body.single-product div.product .summary > .product_meta,
body.single-product div.product .summary .product_meta {
  order: 5 !important;
  margin-top: 8px;
}

/* Keep SKU/meta flush under Theme when the summary identity block is present. */
body.single-product div.product .summary > .gb-product-meta--summary + .product_meta,
body.single-product div.product .summary .gb-product-meta--summary + .product_meta,
body.single-product div.product .summary > .gb-product-meta--summary + .gb-product-meta,
body.single-product div.product .summary .gb-product-meta--summary + .gb-product-meta {
  margin-top: 0 !important;
}

body.single-product div.product .summary > .gb-product-meta,
body.single-product div.product .summary .gb-product-meta {
  order: 5 !important;
  margin-top: 8px;
}

/* Product summary meta rows should be flush when stacked (Theme -> SKU/meta). */
body.single-product div.product .summary .gb-product-meta + .gb-product-meta,
body.single-product div.product .summary .gb-product-meta + .product_meta,
body.single-product div.product .summary .product_meta + .gb-product-meta {
  margin-top: 0 !important;
}

body.single-product div.product .summary .gb-product-meta > p,
body.single-product div.product .summary .gb-product-meta > div {
  margin: 0 !important;
}

.single-product div.product .product_meta > span {
  display: block;
  margin-bottom: 4px;
}

.single-product div.product .product_meta > .gb-product-meta {
  margin-top: 0;
  margin-bottom: 0;
}

.single-product .woocommerce-breadcrumb {
  margin: 0 0 12px;
  color: #0d3d75;
}

.single-product .woocommerce-breadcrumb a {
  color: #0d3d75;
  text-decoration: none;
}

.single-product .related ul.products,
.single-product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin: 12px 0 0 !important;
}

.single-product .related ul.products li.product,
.single-product .related.products ul.products li.product {
  min-height: 420px;
  display: flex !important;
  flex-direction: column;
}

.single-product .related ul.products li.product .button,
.single-product .related.products ul.products li.product .button {
  margin-top: auto !important;
  align-self: stretch;
  text-align: center;
  color: #ffffff !important;
}

.single-product .related ul.products li.product .woocommerce-loop-product__title,
.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
  color: #0d2a5f;
}

@media (max-width: 980px) {
  .single-product .related ul.products,
  .single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .single-product .related ul.products,
  .single-product .related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* Keep taxonomy/shop card images fully visible (no crop/zoom). */
.post-type-archive-product .woocommerce ul.products li.product img,
.tax-product_cat .woocommerce ul.products li.product img,
.tax-product_tag .woocommerce ul.products li.product img {
  width: 100% !important;
  height: 220px !important;
  max-height: 220px !important;
  object-fit: contain !important;
  object-position: top center !important;
  aspect-ratio: auto !important;
  display: block !important;
}

/* Taxonomy landing cards shortcode: [gb_term_cards] */
.gb-term-landing {
  margin: 0;
  background: #1f72a9;
  padding: 16px;
  border-radius: 16px;
}

.gb-term-landing-title {
  margin: 0 0 16px;
  color: #eef4ff;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.gb-term-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gb-term-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  border: 3px solid rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #1b2430;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  clip-path: var(--card-cut-soft);
}

.gb-term-card-media {
  width: 270px;
  height: 270px;
  max-width: 100%;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.gb-term-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gb-term-card-placeholder {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #1b2c6b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
}

.gb-term-card-body {
  margin-top: auto;
}

.gb-term-card-title {
  margin: 0 0 6px;
  color: #0b1a33;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.gb-term-card-count {
  margin: 0;
  color: #1b2430;
  font-size: 12px;
  font-weight: 700;
}

.gb-term-cards-loader {
  min-height: 32px;
  margin: 10px 0 0;
}

.gb-term-cards-loader[aria-busy="true"]::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: gbspin 0.8s linear infinite;
}

/* Make shortcode landing pages visually match listing pages by removing white entry card shell. */
.entry > .entry-content > .gb-term-landing {
  margin: 16px -24px -20px;
  border-radius: 0 0 8px 8px;
}

.entry > .entry-content > p > .gb-term-landing {
  margin: 16px -24px -20px;
  border-radius: 0 0 8px 8px;
}

.gb-term-cards-loader {
  min-height: 32px;
  margin: 12px 0 0;
}

.gb-term-cards-loader[aria-busy="true"]::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: gbspin 0.8s linear infinite;
}

/* Keep term-card landing pages visually consistent with Pre-Orders style (no white title strip). */
.entry:has(.gb-term-landing) {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.entry:has(.gb-term-landing) h1 {
  color: #0d3d75;
  margin: 0 0 16px;
}

@media (max-width: 980px) {
  .gb-term-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gb-term-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Woo My Account orders page controls + layout width */
.woocommerce-account .site-main {
  max-width: 1240px;
}

.woocommerce-account .woocommerce {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 12px;
  color: #eef4ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  background: #1f72a9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
  content: "";
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  flex: 0 0 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus-visible {
  background: #2b7fb8;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(1px);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: linear-gradient(135deg, #ffb84d 0%, #d58a12 100%);
  border-color: transparent;
  color: #16233f;
  box-shadow: 0 8px 18px rgba(213, 138, 18, 0.38);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::before {
  background: #16233f;
}

.woocommerce-account .woocommerce-MyAccount-navigation + .woocommerce-MyAccount-content {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.woocommerce-account .woocommerce-orders-filter .gb-orders-filter-button.button,
.woocommerce-account .woocommerce-orders-filter .gb-orders-filter-button.button.alt,
.woocommerce-account .woocommerce-orders-filter a.gb-orders-filter-button.button,
.woocommerce-account .woocommerce-orders-filter button.gb-orders-filter-button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #1f4f86 !important;
  border: 1px solid #3f6d9f !important;
  color: var(--ink-light) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.woocommerce-account .woocommerce-orders-filter .gb-orders-filter-button.button:hover,
.woocommerce-account .woocommerce-orders-filter .gb-orders-filter-button.button:focus-visible,
.woocommerce-account .woocommerce-orders-filter .gb-orders-filter-button.button.alt:hover,
.woocommerce-account .woocommerce-orders-filter .gb-orders-filter-button.button.alt:focus-visible {
  background: #2a5f97 !important;
  border-color: #5d84ae !important;
  transform: translateY(-1px);
  color: var(--ink-light) !important;
}

.woocommerce-account .woocommerce-orders-filter .gb-orders-filter-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 1px;
}

/* My Account auth switcher (logged-out): pill tabs + sliding login/register panels. */
.woocommerce-account:not(.logged-in) .entry h1 {
  margin-bottom: 18px;
}

.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher {
  position: relative;
}

.woocommerce-account:not(.logged-in) .gb-auth-toggle {
  width: min(420px, 100%);
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 999px;
  background: #e8eef9;
  border: 1px solid #cfdaf0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.woocommerce-account:not(.logged-in) .gb-auth-tab {
  border: 0;
  border-radius: 999px;
  min-height: 38px;
  padding: 8px 14px;
  background: transparent;
  color: #24426c;
  font-weight: 700;
  cursor: pointer;
}

.woocommerce-account:not(.logged-in) .gb-auth-tab.is-active {
  background: #1b2c6b;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(12, 18, 55, 0.25);
}

.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher .u-column1,
.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher .u-column2,
.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher .col-1,
.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher .u-column2,
.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher .col-2 {
  display: none;
  opacity: 0;
  transform: translateX(16px);
}

.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher.gb-auth-mode-register .u-column1,
.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher.gb-auth-mode-register .col-1 {
  display: none;
  opacity: 0;
  transform: translateX(-16px);
}

.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher.gb-auth-mode-register .u-column2,
.woocommerce-account:not(.logged-in) #customer_login.gb-auth-switcher.gb-auth-mode-register .col-2 {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 18%;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 80%;
}

@media (max-width: 980px) {
  .woocommerce-account .woocommerce {
    display: block;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 14px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
  }
}

/* Policies page menu grid (styled like My Account nav, centered 3x3). */
.gb-policies-menu {
  margin: 18px auto 0;
  max-width: 980px;
}

.gb-policies-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gb-policies-menu li {
  margin: 0;
}

.gb-policies-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 84px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #eef4ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  background: #1f72a9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.gb-policies-menu a:hover,
.gb-policies-menu a:focus-visible {
  background: #2b7fb8;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .gb-policies-menu ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
.gb-policies-menu ul {
    grid-template-columns: 1fr;
  }
}

/* Policies tabs: top horizontal menu with in-page content switching. */
.gb-policies-tabs {
  margin: 18px auto 0;
  max-width: 1100px;
}

.gb-policies-tabs-nav {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.gb-policies-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 42px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #1f72a9;
  color: #eef4ff;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.gb-policies-tab-btn:hover,
.gb-policies-tab-btn:focus-visible {
  background: #2b7fb8;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.gb-policies-tab-btn.is-active {
  background: linear-gradient(135deg, #ffb84d 0%, #d58a12 100%);
  color: #16233f;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(213, 138, 18, 0.38);
}

.gb-policies-tabs-panels {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  color: #1b2430;
}

.gb-policies-tab-panel h1,
.gb-policies-tab-panel h2,
.gb-policies-tab-panel h3 {
  margin-top: 0;
  color: #0d3d75;
}

.gb-policies-tab-panel p:first-child {
  margin-top: 0;
}

@media (max-width: 980px) {
  .gb-policies-tabs-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gb-policies-tabs-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .primary-nav {
    display: block;
  }
}

.gb-sticky-mini-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 140;
  background: rgba(13, 61, 117, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.gb-sticky-mini-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.gb-sticky-mini-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.gb-sticky-mini-header .gb-header-all-wrap {
  position: relative;
}

.gb-sticky-mini-header .gb-header-all-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #eef4ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.gb-sticky-mini-header .gb-header-all-toggle:hover,
.gb-sticky-mini-header .gb-header-all-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.gb-sticky-mini-header .gb-header-all-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 14px;
}

.gb-sticky-mini-header .gb-header-all-icon span {
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.gb-sticky-mini-header .gb-header-all-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, calc(100vw - 24px));
  background: #ffffff;
  color: #1b2430;
  border: 1px solid #d3dceb;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(10, 16, 30, 0.24);
  z-index: 1001;
}

.gb-sticky-mini-header .gb-header-all-popover-inner {
  padding: 12px;
}

.gb-sticky-mini-header .gb-header-all-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.gb-sticky-mini-header .gb-header-all-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  color: #1b2430;
  text-decoration: none;
  font-weight: 600;
}

.gb-sticky-mini-header .gb-header-all-parent-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1b2430;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.gb-sticky-mini-header .gb-header-all-parent-toggle:hover,
.gb-sticky-mini-header .gb-header-all-parent-toggle:focus-visible {
  background: #edf4ff;
  color: #0d2a5f;
}

.gb-sticky-mini-header .gb-header-all-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
  flex: 0 0 auto;
}

.gb-sticky-mini-header .gb-header-all-parent-toggle[aria-expanded="true"] .gb-header-all-caret {
  transform: rotate(-135deg);
}

.gb-sticky-mini-header .gb-header-all-links a:hover,
.gb-sticky-mini-header .gb-header-all-links a:focus-visible {
  background: #edf4ff;
  color: #0d2a5f;
}

.gb-sticky-mini-search form,
.gb-sticky-mini-search .search-form {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;

}
.gb-sticky-mini-search.header-search.header-search--compact {
  width: 100%;
  max-width: 760px !important;
  min-width: 0;
  justify-self: center;
}

.gb-sticky-mini-search label {
  margin: 0;
  flex: 1 1 auto;
}

.gb-sticky-mini-search input[type="search"],
.gb-sticky-mini-search .search-field {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
  color: #1b2430;
}

.gb-sticky-mini-search button,
.gb-sticky-mini-search .search-submit {
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #ffb84d;
  color: #1b1b1b;
  font-weight: 700;
  cursor: pointer;
}

.gb-sticky-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #eef4ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.gb-sticky-mini-link:hover,
.gb-sticky-mini-link:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.gb-sticky-mini-cart {
  gap: 6px;
}

.gb-sticky-mini-cart .header-utility-cart-count {
  min-width: 18px;
  min-height: 18px;
  padding: 0 5px;
  font-size: 11px;
}

@media (max-width: 860px) {
  .gb-sticky-mini-inner {
    grid-template-columns: auto minmax(160px, 1fr) auto auto;
    padding: 8px 10px;
  }

  .gb-sticky-mini-link {
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .gb-sticky-mini-inner {
    grid-template-columns: auto minmax(140px, 1fr) auto auto;
    gap: 6px;
    padding: 7px 8px;
  }

  .gb-sticky-mini-header .gb-header-all-toggle {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .gb-sticky-mini-search input[type="search"],
  .gb-sticky-mini-search .search-field,
  .gb-sticky-mini-search button,
  .gb-sticky-mini-search .search-submit,
  .gb-sticky-mini-link {
    min-height: 34px;
  }
}

.gb-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #1b2c6b;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(10, 16, 30, 0.3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
  z-index: 9998;
}

.gb-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gb-back-to-top:hover,
.gb-back-to-top:focus-visible {
  background: #142458;
}

.gb-back-to-top:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .gb-back-to-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (min-width: 1920px) {
  :root {
    --listing-cols-desktop: 4;
  }

  .header-utility-inner,
  .header-row,
  .primary-nav,
  .primary-nav .gb-menu,
  .primary-nav .gb-header-menu,
  .footer-main,
  .gb-sticky-mini-inner {
    max-width: 1600px;
  }

  .site-main,
  .content-wrap,
  .gb-policies-tabs {
    max-width: 1500px;
  }

  .gb-policies-menu {
    max-width: 1400px;
  }

  .woocommerce ul.products,
  .woocommerce .related ul.products,
  .woocommerce .related.products ul.products,
  .single-product .related ul.products,
  .single-product .related.products ul.products,
  .gb-products-grid,
  .gb-products-grid--hot,
  .gb-products-grid--taxonomy,
  .gb-products-grid--search,
  .search-results .gb-products-grid,
  .gb-term-cards-grid,
  .showcase-grid,
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .home-recommended .recommended-grid {
    grid-template-columns: repeat(4, minmax(0, 250px)) !important;
    justify-content: center;
    max-width: 1064px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-showcase .showcase-grid > :nth-child(n + 11),
  .home-latest .product-grid > :nth-child(n + 11) {
    display: none;
  }

  .home-showcase .showcase-grid > :nth-child(-n + 10),
  .home-latest .product-grid > :nth-child(-n + 10) {
    display: flex;
  }
}

@media (min-width: 2560px) {
  :root {
    --listing-cols-desktop: 5;
  }

  .header-utility-inner,
  .header-row,
  .primary-nav,
  .primary-nav .gb-menu,
  .primary-nav .gb-header-menu,
  .footer-main,
  .gb-sticky-mini-inner {
    max-width: 2100px;
  }

  .site-main,
  .content-wrap,
  .gb-policies-tabs {
    max-width: 2000px;
  }

  .gb-policies-menu {
    max-width: 1800px;
  }

  .woocommerce ul.products,
  .woocommerce .related ul.products,
  .woocommerce .related.products ul.products,
  .single-product .related ul.products,
  .single-product .related.products ul.products,
  .gb-products-grid,
  .gb-products-grid--hot,
  .gb-products-grid--taxonomy,
  .gb-products-grid--search,
  .search-results .gb-products-grid,
  .gb-term-cards-grid,
  .showcase-grid,
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .home-recommended .recommended-grid {
    grid-template-columns: repeat(4, minmax(0, 250px)) !important;
    justify-content: center;
    max-width: 1064px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-showcase .showcase-grid > :nth-child(n + 11),
  .home-latest .product-grid > :nth-child(n + 11) {
    display: none;
  }

  .home-showcase .showcase-grid > :nth-child(-n + 10),
  .home-latest .product-grid > :nth-child(-n + 10) {
    display: flex;
  }
}

/* About Us page (slug: about-us) */
.page-slug-about-us .site-main.about-us-main {
  max-width: 1320px;
  margin: 18px auto 28px;
  padding: 0 22px 22px;
}

.about-us-layout {
  padding: 34px 22px 28px;
}

.about-us-hero {
  text-align: center;
  max-width: 1060px;
  margin: 0 auto 24px;
}

.about-us-hero h1 {
  margin: 0;
  color: #2b3f59;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
  font-weight: 800;
  text-transform: none;
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
  align-items: center;
  gap: 16px;
}

.about-us-hero h1::before,
.about-us-hero h1::after {
  content: "";
  height: 1px;
  background: #cfd3d9;
}

.about-us-hero p {
  margin: 18px 0 0;
  font-size: clamp(16px, 2vw, 42px);
  line-height: 1.45;
  color: #33455f;
}

.about-us-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.about-us-stat-card {
  padding: 20px 18px 18px;
  text-align: center;
}

.about-us-stat-card h3 {
  margin: 0;
  color: #1f2f44;
  font-size: clamp(30px, 2.8vw, 60px);
  font-weight: 800;
  line-height: 1;
}

.about-us-stat-card h4 {
  margin: 10px 0 0;
  font-size: clamp(14px, 1vw, 26px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #23364f;
}

.about-us-stat-card p {
  margin: 22px 0 0;
  font-size: clamp(14px, 0.9vw, 20px);
  line-height: 1.55;
  color: #2f4058;
}

.about-us-columns {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #d5d7da;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.about-us-column h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #cfd3d9;
  color: #243851;
  font-size: clamp(18px, 1.3vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
}

.about-us-column p {
  margin: 0;
  color: #2f4058;
  font-size: clamp(15px, 0.95vw, 21px);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .about-us-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-us-columns {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .about-us-layout {
    padding: 18px 12px 16px;
  }

  .about-us-hero h1 {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
  }

  .about-us-columns {
    grid-template-columns: 1fr;
  }
}
