:root {
  --cvgs-bg: #08090d;
  --cvgs-surface: #11131a;
  --cvgs-surface-2: #171a23;
  --cvgs-border: #2a2e39;
  --cvgs-text: #f7f8fb;
  --cvgs-muted: #9ca4b5;
  --cvgs-accent: #c9a45c;
  --cvgs-accent-rgb: 201, 164, 92;
  --cvgs-danger: #ef3340;
  --cvgs-shell-width: 1320px;
}

body.cvgs-section-pokemon {
  --cvgs-accent: #ffcb05;
  --cvgs-accent-rgb: 255, 203, 5;
}

body.cvgs-section-magic {
  --cvgs-accent: #e66b45;
  --cvgs-accent-rgb: 230, 107, 69;
}

body.cvgs-section-onepiece {
  --cvgs-accent: #ff4c5b;
  --cvgs-accent-rgb: 255, 76, 91;
}

body.cvgs-section-graded {
  --cvgs-accent: #efc865;
  --cvgs-accent-rgb: 239, 200, 101;
}

body.cvgs-section-giftcards {
  --cvgs-accent: #55b7ff;
  --cvgs-accent-rgb: 85, 183, 255;
}

body.cvgs-active > header.site-header,
body.cvgs-active header.site-header:not(#cv-global-header),
body.cvgs-active .cv-header:not(#cv-global-header),
body.cvgs-active .mtg-site-header,
body.cvgs-active .site-mobile-navbar,
body.cvgs-active .site-canvas,
body.cvgs-active .store-notice,
body.cvgs-active .cv-topbar,
body.cvgs-active > footer.site-footer,
body.cvgs-active footer.site-footer:not(#cv-global-footer),
body.cvgs-active .cv-footer:not(#cv-global-footer),
body.cvgs-active .mtg-site-footer,
body.cvgs-active .site-footer:not(#cv-global-footer) {
  display: none !important;
}

body.cvgs-active {
  padding-bottom: 0 !important;
}

body.cvgs-active > br {
  display: none !important;
}

/* WordPress can wrap page-level JSON-LD in an empty paragraph. Remove the
   paragraph as well as the script so its default margin cannot expose the
   theme's white body background between the global header and page content. */
body.cvgs-active > p:has(> script[type="application/ld+json"]:only-child) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

/* The universal announcement owns delivery messaging. Keep One Piece's
   release notice, but remove its legacy duplicate delivery line. */
body.cvgs-active .cv-one-piece-page .announce-inner > span:last-child {
  display: none !important;
}

.cvgs-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.cvgs-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 4px;
  background: #fff;
  color: #07080b;
  font-weight: 800;
}

.cvgs-skip-link:focus {
  transform: translateY(0);
}

.cv-global-header,
.cv-global-header *,
.cv-global-footer,
.cv-global-footer * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.cv-global-header,
.cv-global-footer,
.cvgs-mobile-drawer {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cv-global-header :focus-visible,
.cv-global-footer :focus-visible,
.cvgs-mobile-drawer :focus-visible {
  outline: 2px solid var(--cvgs-accent);
  outline-offset: 3px;
}

.cv-global-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  width: 100%;
  border-bottom: 1px solid var(--cvgs-border);
  background: rgba(8, 9, 13, 0.97);
  color: var(--cvgs-text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

body.admin-bar .cv-global-header {
  top: 32px;
}

.cv-global-header a,
.cv-global-footer a {
  text-decoration: none;
}

.cvgs-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  background: #c9a45c;
  color: #090a0e;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.cvgs-announcement span {
  color: inherit !important;
  opacity: 1 !important;
}
html.cvgs-rebrand-dismissed .cvgs-rebrand {
  display: none;
}

.cvgs-rebrand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 2px 8px 2px 52px;
  background: #12141c;
  color: #f4f1ea;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.cvgs-rebrand p {
  margin: 0;
  max-width: 40rem;
}

.cvgs-rebrand-dismiss {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.cvgs-rebrand-dismiss:focus-visible {
  outline: 2px solid #c9a45c;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .cvgs-rebrand {
    padding-left: 8px;
    font-size: 12px;
  }
}

.cvgs-header-inner {
  display: grid;
  grid-template-columns: minmax(148px, 192px) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 40px), var(--cvgs-shell-width));
  min-height: 70px;
  margin: 0 auto;
}

.cvgs-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.cvgs-brand img,
.cvgs-footer-brand img {
  display: block;
  width: 100%;
  max-width: 192px;
  height: auto;
  object-fit: contain;
}

.cvgs-shop-menu {
  position: relative;
}

.cvgs-shop-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--cvgs-border);
  border-radius: 5px;
  background: var(--cvgs-surface);
  color: var(--cvgs-text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.cvgs-shop-menu > summary::-webkit-details-marker {
  display: none;
}

.cvgs-shop-menu[open] > summary,
.cvgs-shop-menu > summary:hover {
  border-color: rgba(var(--cvgs-accent-rgb), 0.7);
  color: var(--cvgs-accent);
}

.cvgs-shop-menu > summary .cvgs-icon {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.cvgs-shop-menu[open] > summary .cvgs-icon {
  transform: rotate(180deg);
}

.cvgs-shop-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(155px, 1fr));
  gap: 22px;
  width: min(640px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid var(--cvgs-border);
  border-top: 2px solid var(--cvgs-accent);
  border-radius: 6px;
  background: #0d0f15;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cvgs-shop-panel > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cvgs-shop-panel span {
  margin-bottom: 7px;
  color: var(--cvgs-accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cvgs-shop-panel a {
  padding: 7px 0;
  color: #d9dde6;
  font-size: 13px;
  font-weight: 650;
}

.cvgs-shop-panel a:hover {
  color: #fff;
}

.cvgs-shop-panel .cvgs-shop-all {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding: 11px 12px;
  border: 1px solid var(--cvgs-border);
  border-radius: 4px;
  color: var(--cvgs-text);
}

.cvgs-shop-all .cvgs-icon {
  width: 17px;
  height: 17px;
}

.cvgs-desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 70px;
  min-width: 0;
}

.cvgs-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: #c8cdd7;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.cvgs-nav-link::after {
  position: absolute;
  right: 11px;
  bottom: -1px;
  left: 11px;
  height: 2px;
  background: var(--cvgs-accent);
  content: '';
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

.cvgs-nav-link:hover,
.cvgs-nav-link.is-active {
  color: #fff;
}

.cvgs-nav-link:hover::after,
.cvgs-nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.cvgs-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.cvgs-icon-button,
.cvgs-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cvgs-border);
  border-radius: 50%;
  background: var(--cvgs-surface);
  color: var(--cvgs-text);
}

button.cvgs-icon-button {
  padding: 0;
  cursor: pointer;
}

.cvgs-icon-button:hover,
.cvgs-icon-button:focus-visible,
.cvgs-cart-link:hover .cvgs-action-icon {
  border-color: var(--cvgs-accent);
  color: var(--cvgs-accent);
}

.cvgs-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cvgs-text);
}

.cvgs-cart-count {
  position: absolute;
  top: -3px;
  left: 28px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid var(--cvgs-bg);
  border-radius: 999px;
  background: var(--cvgs-danger);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.cvgs-cart-total {
  color: #e7e9ee;
  font-size: 12px;
  font-weight: 800;
}

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

.cvgs-search-panel {
  border-top: 1px solid var(--cvgs-border);
  background: #0b0d12;
}

.cvgs-search-inner {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
  padding: 14px 0;
}

.cvgs-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.cvgs-search-form .cvgs-icon {
  position: absolute;
  left: 14px;
  color: var(--cvgs-muted);
}

.cvgs-search-form input[type='search'] {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--cvgs-border);
  border-radius: 5px;
  outline: 0;
  background: var(--cvgs-surface);
  color: #fff;
  font-size: 14px;
}

.cvgs-search-form input[type='search']:focus {
  border-color: var(--cvgs-accent);
  box-shadow: 0 0 0 3px rgba(var(--cvgs-accent-rgb), 0.12);
}

.cvgs-search-inner .dgwt-wcas-search-wrapp,
.cvgs-drawer-search .dgwt-wcas-search-wrapp {
  max-width: none;
  margin: 0;
}

.cvgs-search-inner .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp,
.cvgs-drawer-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  padding: 0;
  border-radius: 5px;
  background: transparent;
}

.cvgs-search-inner .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type='search'].dgwt-wcas-search-input,
.cvgs-drawer-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type='search'].dgwt-wcas-search-input {
  height: 46px;
  border: 1px solid var(--cvgs-border);
  border-radius: 5px;
  background: var(--cvgs-surface);
  color: #fff;
  font-size: 14px;
}

.cvgs-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9994;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
}

.cvgs-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9995;
  width: min(88vw, 380px);
  padding: 18px;
  overflow-y: auto;
  border-left: 1px solid var(--cvgs-border);
  background: #0b0d12;
  color: #fff;
  transform: translateX(102%);
  transition: transform 220ms ease;
}

body.cvgs-nav-open {
  overflow: hidden;
}

body.cvgs-nav-open .cvgs-mobile-drawer {
  transform: translateX(0);
}

.cvgs-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--cvgs-border);
}

.cvgs-drawer-head strong {
  font-size: 15px;
}

.cvgs-drawer-search {
  margin-bottom: 18px;
}

.cvgs-mobile-nav {
  display: flex;
  flex-direction: column;
}

.cvgs-mobile-nav .cvgs-nav-link {
  justify-content: flex-start;
  min-height: 50px;
  padding: 0 4px;
  border-bottom: 1px solid var(--cvgs-border);
  font-size: 14px;
}

.cvgs-mobile-nav .cvgs-nav-link::after {
  top: 12px;
  right: auto;
  bottom: 12px;
  left: -18px;
  width: 3px;
  height: auto;
}

.cvgs-drawer-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.cvgs-drawer-secondary a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 7px;
  border: 1px solid var(--cvgs-border);
  border-radius: 4px;
  color: #d9dde6;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.cv-global-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  border-top: 1px solid var(--cvgs-border);
  background: #08090d;
  color: var(--cvgs-text);
}

.cv-global-footer::before {
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(420px, 60vw);
  height: 2px;
  background: var(--cvgs-accent);
  content: '';
  transform: translateX(-50%);
}

.cvgs-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 40px), var(--cvgs-shell-width));
  margin: 0 auto;
  border-bottom: 1px solid var(--cvgs-border);
}

.cvgs-trust-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 92px;
  padding: 18px 24px;
  border-right: 1px solid var(--cvgs-border);
}

.cvgs-trust-strip > div:last-child {
  border-right: 0;
}

.cvgs-trust-strip .cvgs-icon {
  width: 23px;
  height: 23px;
  color: var(--cvgs-accent);
}

.cvgs-trust-strip span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--cvgs-muted);
  font-size: 12px;
}

.cvgs-trust-strip strong {
  color: #fff;
  font-size: 13px;
}

.cvgs-footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(145px, 1fr));
  gap: 50px;
  width: min(calc(100% - 40px), var(--cvgs-shell-width));
  margin: 0 auto;
  padding: 54px 0 44px;
}

.cvgs-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cvgs-footer-brand p {
  max-width: 360px;
  margin: 20px 0;
  color: var(--cvgs-muted);
  font-size: 13px;
  line-height: 1.7;
}

.cvgs-footer-brand a,
.cvgs-footer-column a {
  color: #cbd0da;
  font-size: 13px;
  line-height: 1.55;
}

.cvgs-footer-brand a + a {
  margin-top: 7px;
}

.cvgs-footer-brand a:hover,
.cvgs-footer-column a:hover {
  color: var(--cvgs-accent);
}

.cvgs-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cvgs-footer-heading {
  margin: 0 0 7px;
  color: var(--cvgs-accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.cvgs-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), var(--cvgs-shell-width));
  min-height: 70px;
  margin: 0 auto;
  border-top: 1px solid var(--cvgs-border);
}

.cvgs-footer-bottom p {
  margin: 0;
  color: #7f8797;
  font-size: 11px;
}

.cvgs-payment-marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.cvgs-payment-marks span {
  padding: 5px 8px;
  border: 1px solid #383d49;
  border-radius: 3px;
  background: #12141b;
  color: #b8beca;
  font-size: 8px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .cvgs-header-inner {
    grid-template-columns: 160px auto 1fr auto;
    gap: 10px;
  }

  .cvgs-nav-link {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 12px;
  }

  .cvgs-nav-link::after {
    right: 7px;
    left: 7px;
  }

  .cvgs-cart-total {
    display: none;
  }
}

@media (max-width: 980px) {
  .cvgs-header-inner {
    grid-template-columns: minmax(128px, 168px) 1fr;
    min-height: 58px;
  }

  .cvgs-shop-menu,
  .cvgs-desktop-nav,
  .cvgs-account-link {
    display: none;
  }

  .cvgs-header-actions {
    grid-column: 2;
  }

  .cvgs-menu-toggle {
    display: inline-flex;
  }

  .cvgs-icon-button,
  .cvgs-action-icon {
    width: 44px;
    height: 44px;
  }

  .cvgs-cart-count {
    left: 26px;
  }

  .cvgs-footer-inner {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .cv-global-header {
    top: 46px;
  }

  .cvgs-trust-strip {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .cvgs-trust-strip > div {
    justify-content: flex-start;
    min-height: 0;
    padding: 12px 4px;
    border-right: 0;
  }

  .cvgs-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
    padding: 42px 0 36px;
  }

  .cvgs-footer-brand {
    grid-column: 1 / -1;
  }

  .cvgs-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }

  .cvgs-payment-marks {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .cvgs-announcement {
    min-height: 26px;
    padding: 4px 14px;
    font-size: 10px;
  }

  .cvgs-header-inner,
  .cvgs-search-inner,
  .cvgs-trust-strip,
  .cvgs-footer-inner,
  .cvgs-footer-bottom {
    width: min(calc(100% - 28px), var(--cvgs-shell-width));
  }

  .cvgs-header-inner {
    grid-template-columns: minmax(116px, 146px) 1fr;
    gap: 8px;
  }

  .cvgs-header-actions {
    gap: 4px;
  }

  .cvgs-icon-button,
  .cvgs-action-icon {
    width: 44px;
    height: 44px;
  }

  .cvgs-search-toggle {
    display: none;
  }

  .cvgs-cart-count {
    left: 24px;
  }

  .cvgs-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cvgs-footer-column a {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cvgs-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cvgs-footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cvgs-mobile-drawer,
  .cvgs-nav-link::after,
  .cvgs-shop-menu > summary .cvgs-icon {
    transition: none;
  }
}


/* Keep FiboSearch query text legible inside the shared header search. */
.cvgs-search-inner .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.cvgs-drawer-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  background: #fff !important;
  color: #202435 !important;
  -webkit-text-fill-color: #202435 !important;
  caret-color: #202435 !important;
}

.cvgs-search-inner .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder,
.cvgs-drawer-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder {
  color: #6f7482 !important;
  opacity: 1 !important;
}


/* Cross-category UX consistency pass. */
body.cvgs-section-pokemon .cv-pokemon-page,
body.cvgs-section-magic .cv-mtg-page,
body.cvgs-section-onepiece .cv-one-piece-page,
body.cvgs-section-graded .cv-graded-page {
  font-family: Inter, Arial, sans-serif;
}

body.cvgs-section-pokemon .cv-pokemon-page :is(h1, h2, h3),
body.cvgs-section-magic .cv-mtg-page :is(h1, h2, h3),
body.cvgs-section-onepiece .cv-one-piece-page :is(h1, h2, h3),
body.cvgs-section-graded .cv-graded-page :is(h1, h2, h3) {
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.cvgs-section-pokemon .cv-pokemon-page h1,
body.cvgs-section-magic .cv-mtg-page .hero h1,
body.cvgs-section-onepiece .cv-one-piece-page main h1,
body.cvgs-section-graded .cv-graded-page #graded-title {
  font-size: 52px;
  line-height: 1.08;
}

body.cvgs-section-pokemon .cv-pokemon-card,
body.cvgs-section-magic .cv-mtg-page .product-card,
body.cvgs-section-onepiece .cv-one-piece-page .type,
body.cvgs-section-graded .cv-graded-page .cv-product {
  border-radius: 8px !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
  body.cvgs-section-pokemon .cv-pokemon-card:hover,
  body.cvgs-section-magic .cv-mtg-page .product-card:hover,
  body.cvgs-section-onepiece .cv-one-piece-page .type:not(.soon):hover,
  body.cvgs-section-graded .cv-graded-page .cv-product:hover {
    border-color: rgba(var(--cvgs-accent-rgb), .72) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
    transform: none;
  }
}

body.cvgs-active :where(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--cvgs-accent) !important;
  outline-offset: 3px;
}

body.cvgs-section-magic .cv-mtg-page :is(.btn, button),
body.cvgs-section-onepiece .cv-one-piece-page :is(.btn, button),
body.cvgs-section-graded .cv-graded-page :is(.cv-btn, button) {
  min-height: 44px;
}

body.cvgs-section-pokemon :is(.cv-breadcrumb, .breadcrumb),
body.cvgs-section-magic :is(.cv-breadcrumb, .breadcrumb),
body.cvgs-section-onepiece :is(.cv-breadcrumb, .breadcrumb),
body.cvgs-section-graded :is(.cv-breadcrumb, .breadcrumb) {
  color: #8f97a8;
  font-size: 12px;
  line-height: 1.5;
}

.cvgs-era-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100% - 40px, 1180px);
  margin: 8px auto 38px;
  padding: 12px 14px 12px 18px;
  border: 1px solid #d9dfeb;
  border-left: 4px solid #ef3340;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.cvgs-era-nav > span {
  flex: 0 0 auto;
  color: #19223a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cvgs-era-nav > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.cvgs-era-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #dde3ed;
  border-radius: 6px;
  background: #f8fafc;
  color: #19223a;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.cvgs-era-nav a:hover {
  border-color: #ef3340;
  background: #fff7d5;
  color: #17213c;
}

body.cvgs-section-pokemon .cv-pokemon-section[id] {
  scroll-margin-top: 120px;
}

body.cvgs-section-magic .cv-mtg-page .newsletter.cvgs-guide-row {
  padding: 28px 0;
  border-top: 1px solid #292c35;
  border-bottom: 1px solid #292c35;
  background: #0d0f14;
}

body.cvgs-section-magic .cv-mtg-page .newsletter.cvgs-guide-row .newsletter-inner {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
}

body.cvgs-section-magic .cv-mtg-page .newsletter.cvgs-guide-row .eyebrow {
  grid-column: 1;
  margin: 0;
}

body.cvgs-section-magic .cv-mtg-page .newsletter.cvgs-guide-row h2 {
  grid-column: 2;
  margin: 0;
  font-size: 26px;
}

body.cvgs-section-magic .cv-mtg-page .newsletter.cvgs-guide-row .newsletter-actions {
  grid-column: 3;
  margin: 0;
}

body.cvgs-section-magic .cvgs-about-details {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}

body.cvgs-section-magic .cvgs-about-details summary {
  min-height: 44px;
  color: #e8c66d;
  cursor: pointer;
  font-weight: 750;
}

body.cvgs-section-magic .cvgs-about-details[open] summary {
  margin-bottom: 16px;
}

body.cvgs-section-graded .cv-graded-page .cv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.cvgs-section-graded .cv-graded-page .cv-breadcrumb a {
  color: #cbd2df;
}

body.cvgs-section-onepiece .cv-one-piece-page .type.soon {
  border-style: dashed;
  opacity: .58;
  box-shadow: none;
}

body.cvgs-section-onepiece .cv-one-piece-page .type.soon .link {
  color: #a8afbd;
  cursor: default;
}

@media (max-width: 782px) {
  body.cvgs-section-pokemon .cv-pokemon-page h1,
  body.cvgs-section-magic .cv-mtg-page .hero h1,
  body.cvgs-section-onepiece .cv-one-piece-page main h1,
  body.cvgs-section-graded .cv-graded-page #graded-title {
    font-size: 36px;
    line-height: 1.1;
  }

  .cvgs-era-nav {
    display: block;
    width: min(100% - 28px, 1180px);
    margin-bottom: 28px;
    padding: 12px;
    overflow: hidden;
  }

  .cvgs-era-nav > span {
    display: block;
    margin: 0 0 9px 2px;
  }

  .cvgs-era-nav > div {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 2px 7px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .cvgs-era-nav a {
    min-height: 44px;
    scroll-snap-align: start;
  }

  body.cvgs-section-magic .cv-mtg-page .newsletter.cvgs-guide-row .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.cvgs-section-magic .cv-mtg-page .newsletter.cvgs-guide-row :is(.eyebrow, h2, .newsletter-actions) {
    grid-column: 1;
  }

  body.cvgs-section-magic .cv-mtg-page .newsletter.cvgs-guide-row .newsletter-actions {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cvgs-section-pokemon .cv-pokemon-card,
  body.cvgs-section-magic .cv-mtg-page .product-card,
  body.cvgs-section-onepiece .cv-one-piece-page .type,
  body.cvgs-section-graded .cv-graded-page .cv-product {
    transition: none;
  }
}


/* Pokémon live stock: server-rendered WooCommerce products */
.cvgs-pokemon-stock {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto 42px;
  padding: 26px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #d8e0eb;
  border-top: 3px solid #ef3340;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.cvgs-pokemon-stock-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.cvgs-pokemon-stock-heading > div {
  max-width: 720px;
}

.cvgs-pokemon-stock .cvgs-section-kicker,
.cvgs-pokemon-stock .cvgs-product-type {
  margin: 0 0 6px;
  color: #d51f2d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cvgs-pokemon-stock-heading h2 {
  margin: 0 0 6px;
  color: #0b132b;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.cvgs-pokemon-stock-heading p:not(.cvgs-section-kicker) {
  margin: 0;
  color: #52627a;
  line-height: 1.55;
}

.cvgs-pokemon-stock .cvgs-text-link,
.cvgs-pokemon-stock .cvgs-card-link {
  color: #0b3b82;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.cvgs-pokemon-stock .cvgs-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  white-space: nowrap;
  border: 1px solid #c9a227;
  border-radius: 999px;
}

.cvgs-pokemon-stock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cvgs-pokemon-stock-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cvgs-pokemon-stock-card:hover {
  border-color: #c9a227;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
}

.cvgs-pokemon-stock-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / .88;
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #e5eaf1;
}

.cvgs-pokemon-stock-image img {
  width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: contain;
}

.cvgs-stock-badge {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  color: #fff;
  background: #087a4b;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.cvgs-pokemon-stock-body {
  padding: 15px;
}

.cvgs-pokemon-stock-body h3 {
  min-height: 44px;
  margin: 0 0 14px;
  color: #111827;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
}

.cvgs-pokemon-stock-body h3 a {
  color: inherit;
  text-decoration: none;
}

.cvgs-pokemon-stock-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.cvgs-product-price {
  margin: 0;
  color: #d51f2d;
  font-size: 17px;
  font-weight: 800;
}

.cvgs-product-price del {
  margin-right: 5px;
  color: #8b96a8;
  font-size: 12px;
  font-weight: 500;
}

.cvgs-product-price ins {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 900px) {
  .cvgs-pokemon-stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .cvgs-pokemon-stock {
    width: min(calc(100% - 28px), 1180px);
    margin-bottom: 30px;
    padding: 18px;
  }

  .cvgs-pokemon-stock-heading {
    display: block;
  }

  .cvgs-pokemon-stock .cvgs-text-link {
    margin-top: 14px;
  }

  .cvgs-pokemon-stock-grid {
    grid-template-columns: 1fr;
  }

  .cvgs-pokemon-stock-image {
    aspect-ratio: 1.15 / 1;
  }

  .cvgs-pokemon-stock-body h3 {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cvgs-pokemon-stock-card {
    transition: none;
  }
}


/* Direct catalogue purchase controls */
.cvgs-card-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.cvgs-card-details,
.cvgs-direct-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.cvgs-card-details {
  color: #b5bac8;
  border-color: #363a45;
}

.cvgs-direct-buy {
  color: #101116;
  background: #e9bd58;
  border-color: #e9bd58;
}

.cvgs-direct-buy.loading {
  cursor: wait;
  opacity: .72;
}

.cvgs-direct-buy.added {
  color: #fff;
  background: #087a4b;
  border-color: #087a4b;
}

body.cvgs-section-magic .cv-mtg-page .product-foot > p {
  margin: 0;
}

body.cvgs-section-graded .cv-graded-page .cv-product-bottom .cvgs-card-actions {
  margin-left: auto;
}

.cvgs-mobile-purchase {
  display: none;
}

@media (max-width: 767px) {
  body.cvgs-has-mobile-purchase {
    padding-bottom: 88px;
  }

  .cvgs-card-actions {
    width: 100%;
  }

  .cvgs-card-details,
  .cvgs-direct-buy {
    flex: 1 1 0;
    min-height: 44px;
    padding-right: 10px;
    padding-left: 10px;
  }

  body.cvgs-section-magic .cv-mtg-page .product-foot {
    align-items: stretch;
    gap: 12px;
  }

  body.cvgs-section-magic .cv-mtg-page .product-foot > p {
    width: 100%;
  }

  body.cvgs-section-graded .cv-graded-page .cv-product-bottom {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.cvgs-section-graded .cv-graded-page .cv-product-bottom .cvgs-card-actions {
    flex-basis: 100%;
    margin-left: 0;
  }

  .cvgs-mobile-purchase {
    position: fixed;
    z-index: 9998;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    color: #fff;
    background: rgba(9, 11, 16, .98);
    border-top: 2px solid #e9bd58;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .28);
    box-sizing: border-box;
  }

  .cvgs-mobile-purchase-details {
    min-width: 0;
    flex: 1 1 auto;
  }

  .cvgs-mobile-purchase-details span,
  .cvgs-mobile-purchase-details strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cvgs-mobile-purchase-details span {
    margin-bottom: 2px;
    color: #d7dbe4;
    font-size: 11px;
  }

  .cvgs-mobile-purchase-details strong {
    color: #f1cb72;
    font-size: 15px;
  }

  .cvgs-mobile-purchase-button {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 48px;
    padding: 0 16px;
    color: #101116;
    background: #e9bd58;
    border: 1px solid #e9bd58;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
  }

  .cvgs-mobile-purchase-button:disabled {
    cursor: wait;
    opacity: .7;
  }
}


/* Mobile commerce correction v1.0.13 */
.cvgs-card-actions {
  flex-wrap: wrap;
}

.cvgs-card-actions > .added_to_cart.wc-forward {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 0 100%;
  min-height: 40px;
  margin: 8px 0 0 !important;
  padding: 8px 14px !important;
  color: #f4d889 !important;
  background: #171920 !important;
  border: 1px solid #e9bd58 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

.cvgs-card-actions > .added_to_cart.wc-forward:hover,
.cvgs-card-actions > .added_to_cart.wc-forward:focus-visible {
  color: #101116 !important;
  background: #e9bd58 !important;
}

.cvgs-card-actions > .cvgs-direct-buy.added {
  color: #ffffff !important;
  background: #147a4b !important;
  border-color: #147a4b !important;
}

@media (max-width: 767px) {
  .cvgs-card-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .cvgs-card-actions > .cvgs-card-details,
  .cvgs-card-actions > .cvgs-direct-buy {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0 !important;
    padding: 9px 8px !important;
    white-space: nowrap;
  }

  .cvgs-card-actions > .added_to_cart.wc-forward {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
  }

  body.single-product .single-content .product-type-simple .product-detail form.cart {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100% !important;
    margin: 18px 0 14px !important;
    padding: 10px !important;
    background: #11131b !important;
    border: 1px solid #343846;
    border-radius: 6px;
    box-shadow: none !important;
    box-sizing: border-box;
  }

  body.single-product .single-content .product-type-simple .product-detail form.cart .quantity {
    flex: 0 0 104px;
    height: 48px;
    margin: 0 !important;
  }

  body.single-product .single-content .product-type-simple .product-detail form.cart .single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    margin: 0 !important;
    color: #101116 !important;
    background: #e9bd58 !important;
    border-color: #e9bd58 !important;
    border-radius: 6px !important;
    font-weight: 800;
  }

  .cvgs-mobile-purchase {
    z-index: 10050;
  }
}


/* Commerce and consent corrections v1.0.14 */
@media (max-width: 767px) {
  body.single-product .single-content .product-type-simple .product-detail form.cart .quantity {
    display: flex !important;
    flex: 0 0 132px !important;
    flex-wrap: nowrap !important;
    width: 132px !important;
    min-width: 132px !important;
    height: 48px !important;
  }

  body.single-product .single-content .product-type-simple .product-detail form.cart .quantity > * {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 48px !important;
  }

  body.single-product.cvgs-section-graded .cv-graded-hero h1,
  body.page-id-6516 .cv-graded-hero h1 {
    overflow-wrap: anywhere;
  }
}

.cvgs-basket-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10080;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(390px, calc(100vw - 36px));
  min-height: 56px;
  padding: 12px 14px;
  color: #ffffff;
  background: #11131b;
  border: 1px solid #e9bd58;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.cvgs-basket-toast[hidden] {
  display: none !important;
}

.cvgs-basket-toast a {
  margin-left: auto;
  color: #f4d889 !important;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cvgs-basket-toast {
    right: 12px;
    bottom: 86px;
    width: calc(100vw - 24px);
  }
}

#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept,
#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny {
  color: #ffffff !important;
  background: #171920 !important;
  border: 1px solid #e9bd58 !important;
  box-shadow: none !important;
}

#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept:hover,
#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny:hover,
#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept:focus-visible,
#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny:focus-visible {
  color: #101116 !important;
  background: #e9bd58 !important;
}

.woocommerce-cart-form .product-remove a,
.woocommerce-cart-form .quantity .quantity-button,
.woocommerce-cart-form .quantity input.qty {
  min-width: 44px !important;
  min-height: 44px !important;
}

/* Pokémon stock card purchase actions v1.0.16 */
.cvgs-pokemon-stock-meta {
  flex-direction: column;
  align-items: stretch;
}

.cvgs-pokemon-stock-meta .cvgs-card-actions {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 8px;
  width: 100%;
}

.cvgs-pokemon-stock-meta .cvgs-card-details,
.cvgs-pokemon-stock-meta .cvgs-direct-buy {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 7px;
}

.cvgs-pokemon-stock-meta .cvgs-card-details {
  color: #0b3b82;
  border-color: #c7d2e3;
}

.cvgs-pokemon-stock-meta .cvgs-direct-buy {
  color: #fff;
  background: #d51f2d;
  border-color: #d51f2d;
}

.cvgs-pokemon-stock-meta .cvgs-direct-buy:hover,
.cvgs-pokemon-stock-meta .cvgs-direct-buy:focus-visible {
  color: #fff;
  background: #b81623;
  border-color: #b81623;
}

.cvgs-pokemon-stock-meta .added_to_cart.wc-forward {
  grid-column: 1 / -1;
}

/* Purchase and graded controls v1.0.17 */
body.single-product .quantity input.qty,
body.single-product .quantity .qty {
  color: #f4f7fb !important;
  -webkit-text-fill-color: #f4f7fb !important;
  opacity: 1 !important;
}

body.cvgs-section-graded .cv-filter-group {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 420px);
  margin-right: auto !important;
  margin-left: auto !important;
}

body.cvgs-section-graded .cv-filter-btn {
  display: inline-flex !important;
  min-width: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
}


/* Basket totals: clearer hierarchy and delivery choices */
body.woocommerce-cart .cart-wrapper {
  align-items: flex-start;
  gap: 28px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
  overflow: hidden;
  padding: 22px;
  border: 1px solid #dfe4ed;
  border-top: 3px solid var(--cvgs-accent, #c9a45c);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

body.woocommerce-cart .cart_totals > h2 {
  margin: 0 0 14px;
  padding: 0 0 13px;
  border-bottom: 1px solid #e5e8ef;
  color: #101522;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

body.woocommerce-cart .cart_totals .shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

body.woocommerce-cart .cart_totals .shop_table tr {
  border-bottom: 1px solid #e8ebf1;
}

body.woocommerce-cart .cart_totals .shop_table th,
body.woocommerce-cart .cart_totals .shop_table td {
  padding: 14px 0;
  border: 0;
  color: #1a2030;
  vertical-align: top;
}

body.woocommerce-cart .cart_totals .shop_table th {
  width: 32%;
  padding-right: 14px;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

body.woocommerce-cart .cart_totals .shop_table td {
  font-size: 13px;
  text-align: right;
}

body.woocommerce-cart .cart_totals #shipping_method {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.woocommerce-cart .cart_totals #shipping_method li {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #e0e4eb;
  border-radius: 4px;
  background: #f7f8fb;
  text-align: left;
}

body.woocommerce-cart .cart_totals #shipping_method li:has(input:checked) {
  border-color: var(--cvgs-accent, #c9a45c);
  background: rgba(var(--cvgs-accent-rgb, 201, 164, 92), 0.10);
  box-shadow: inset 3px 0 0 var(--cvgs-accent, #c9a45c);
}

body.woocommerce-cart .cart_totals #shipping_method li > input {
  order: 2;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  accent-color: var(--cvgs-accent, #c9a45c);
}

body.woocommerce-cart .cart_totals #shipping_method li > label {
  order: 1;
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #222a3a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}

body.woocommerce-cart .cart_totals #shipping_method img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator,
body.woocommerce-cart .cart_totals .shipping-calculator-form {
  color: #5f687a;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
  color: #d92d3c;
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-cart .cart_totals .order-total {
  border-bottom: 0;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  padding-top: 18px;
  padding-bottom: 10px;
  border-top: 2px solid #dfe3ea;
  vertical-align: middle;
}

body.woocommerce-cart .cart_totals .order-total .amount {
  color: #101522;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
  margin: 0;
  padding: 12px 0 0;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
  display: flex;
  min-height: 50px;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--cvgs-accent, #c9a45c);
  border-radius: 4px;
  background: var(--cvgs-accent, #c9a45c);
  color: #090b10 !important;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button:focus {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

@media (min-width: 992px) {
  body.woocommerce-cart .woocommerce-cart-form {
    width: calc(100% - 348px) !important;
    flex: 1 1 auto;
  }

  body.woocommerce-cart .cart-collaterals {
    width: 320px !important;
    flex: 0 0 320px;
  }
}

@media (max-width: 991px) {
  body.woocommerce-cart .cart-wrapper {
    display: block;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals {
    width: 100% !important;
  }

  body.woocommerce-cart .cart-collaterals {
    margin-top: 24px;
  }

  body.woocommerce-cart .cart-collaterals .cart_totals {
    padding: 18px;
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  body.woocommerce-cart .cart_totals .shop_table th,
  body.woocommerce-cart .cart_totals .shop_table td {
    display: block;
    width: 100%;
    padding-right: 0;
    text-align: left;
  }

  body.woocommerce-cart .cart_totals .shop_table th {
    padding-bottom: 6px;
  }

  body.woocommerce-cart .cart_totals .shop_table td {
    padding-top: 0;
  }

  body.woocommerce-cart .cart_totals .order-total th,
  body.woocommerce-cart .cart_totals .order-total td {
    display: table-cell;
    width: auto;
    padding-top: 16px;
  }

  body.woocommerce-cart .cart_totals .order-total td {
    text-align: right;
  }
}


/* DP-12 uses its custom dark PDP instead of the Bacola product wrapper. */
html body.cvgs-active.wp-singular.single-product.postid-6827,
html body.cvgs-active.wp-singular.single-product.postid-6827 .site-canvas,
html body.cvgs-active.wp-singular.single-product.postid-6827 main.site-primary,
html body.cvgs-active.wp-singular.single-product.postid-6827 .site-content,
html body.cvgs-active.wp-singular.single-product.postid-6827 .shop-content.single-content.single-gray {
  background: #0a0a0e !important;
  background-color: #0a0a0e !important;
}
html body.cvgs-active.wp-singular.single-product.postid-6827 .single-wrapper > div.product.post-6827,
html body.cvgs-active.wp-singular.single-product.postid-6827 .related.products,
html body.cvgs-active.wp-singular.single-product.postid-6827 .woocommerce-tabs > .wc-tabs {
  display: none !important;
}


/* Keep the One Piece landing canvas dark outside its constrained content. */
html body.cvgs-active.page-id-6313,
html body.cvgs-active.page-id-6313 .elementor,
html body.cvgs-active.page-id-6313 .elementor > .elementor-section {
  background: #08090d !important;
  background-color: #08090d !important;
}
