/* CommunityCraft — independent Radiant-inspired draft. */
/* Kleuren en basisinstellingen */
:root {
  color-scheme: dark;
  --bg: #100b06;
  --panel: #1e180f;
  --panel-light: #282117;
  --edge: rgba(255, 255, 255, 0.065);
  --text: #e4dfd7;
  --white: #f6f3ec;
  --accent: #ffa52f;
  --accent-dark: #ac6825;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.85 Montserrat,
    Arial,
    sans-serif;
  min-width: 320px;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input,
select,
summary {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  object-fit: contain;
}

h1,
h2,
h3,
h4,
strong,
.cc-button,
summary {
  font-family: Poppins, Arial, sans-serif;
}

h1 {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 29px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.3px;
}

h2 {
  font-size: 22px;
  color: var(--white);
  margin: 0 0 18px;
}

h3 {
  font-size: 17px;
  color: var(--white);
  margin: 8px 0;
}

p {
  margin: 0 0 22px;
}

small {
  font-size: 12px;
}

hr {
  border: 0;
  border-top: 1px solid var(--edge);
  margin: 25px 0;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffb949;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.cc-skip {
  position: fixed;
  top: -70px;
  left: 12px;
  z-index: 10000;
  background: var(--accent);
  color: #231609;
  padding: 10px 18px;
}

.cc-skip:focus {
  top: 12px;
}

[hidden] {
  display: none !important;
}

.cc-backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: 690px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(29, 14, 0, 0.94), rgba(21, 11, 2, 0.96) 45%, var(--bg) 100%),
    url("https://cdn.tebex.io/webstore/1443456/images/1443456-d9a9f6d8de353d0694896e5ce927596d1df414f1.jpg")
      center top/cover no-repeat;
}

.cc-shell {
  width: min(1280px, calc(100% - 48px));
  margin: auto;
}

/* Bovenbalk en knoppen */
.cc-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 14px;
  height: 58px;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.cc-topbar > div {
  display: flex;
  align-items: center;
  gap: 28px;
}

.cc-link {
  border: 0;
  background: none;
  padding: 6px;
}

.cc-link:hover {
  color: var(--white);
}

.cc-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 213, 151, 0.18);
  border-radius: 7px;
  background: var(--accent);
  color: white;
  padding: 9px 22px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: inset 0 -5px 0 rgba(123, 75, 5, 0.24);
  transition:
    filter 0.15s,
    transform 0.15s;
}

.cc-button:hover,
.button:hover {
  filter: brightness(1.12);
  color: white;
  transform: translateY(-1px);
}

.cc-button-muted,
button.cc-button-muted {
  background: #51473a;
  color: var(--white);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16);
  border-radius: 7px;
  border: 1px solid var(--edge);
  padding: 8px 17px;
}

.cc-button-wide {
  width: 100%;
  margin-top: 18px;
}

/* Header, logo, server en Discord */
.cc-hero {
  height: 250px;
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr 330px 1fr;
  align-items: center;
  gap: 50px;
}

.cc-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
}

.cc-logo img {
  height: 250px;
  width: 310px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s;
}

.cc-logo:hover img {
  transform: translateY(-5px);
}

.cc-server,
.cc-discord {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 0;
  background: none;
  color: var(--text);
  padding: 0;
  line-height: 1.5;
}

.cc-server {
  justify-content: flex-end;
  text-align: right;
}

.cc-discord {
  text-align: left;
}

.cc-server strong,
.cc-discord strong {
  display: block;
  color: var(--white);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.cc-server > span > span,
.cc-discord > span > span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cc-server small,
.cc-discord small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: #978e83;
}

.cc-round {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(130deg, #ffb32d, #ad651e);
  font-size: 34px;
  box-shadow: 0 0 36px rgba(230, 147, 14, 0.09);
}

.cc-round small:not(:empty) {
  position: absolute;
  right: -10px;
  top: -10px;
  padding: 3px 8px;
  min-width: 29px;
  border-radius: 18px;
  background: #bd2635;
  color: white;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
}

/* Pagina-indeling en sidebar */
.cc-columns,
.body {
  display: grid;
  grid-template-columns: 326px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 17px 0 0;
}

.cc-main,
.content {
  min-width: 0;
}

.cc-panel,
.panel {
  background: var(--panel);
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
}

.cc-cart-label {
  display: block;
  text-align: center;
  text-transform: uppercase;
  color: var(--accent);
  font:
    700 20px/1.5 Poppins,
    Arial;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.cc-cart-trigger {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 2px solid #d7a457;
  border-radius: 14px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 22%, #ffffff12 0 10px, transparent 11px),
    radial-gradient(circle at 25% 90%, #ffffff0b 0 11px, transparent 12px),
    linear-gradient(110deg, #ffa52c, #c87f27);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.13);
  transition: filter 0.15s;
}

.cc-cart-trigger:hover {
  filter: brightness(1.12);
}

.cc-cart-trigger > img {
  border-radius: 4px;
  image-rendering: pixelated;
}

.cc-cart-trigger strong,
.cc-cart-trigger small {
  display: block;
}

.cc-cart-trigger strong {
  font-size: 16px;
}

.cc-cart-trigger small {
  font-size: 12px;
  font-weight: 600;
}

.cc-cart-trigger > .mdi {
  margin-left: auto;
  font-size: 46px;
  line-height: 1;
}

.cc-nav {
  margin-top: 16px;
  overflow: hidden;
}

.cc-nav-home {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--edge);
  font:
    500 16px/1.6 Poppins,
    Arial,
    sans-serif;
  color: var(--text);
}

.cc-nav-home .mdi {
  display: grid;
  place-items: center;
  width: 42px;
  flex: 0 0 42px;
  margin: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
}

.cc-nav-group > summary,
.cc-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  list-style: none;
  font:
    600 16px/1.6 Poppins,
    Arial,
    sans-serif;
  color: var(--text);
  cursor: pointer;
}

.cc-nav-group > summary::-webkit-details-marker {
  display: none;
}

.cc-nav-group > summary > .mdi:first-child,
.cc-nav-item > .mdi {
  font-size: 30px;
  color: var(--accent);
  width: 36px;
  filter: drop-shadow(0 3px 0 #0005);
}

.cc-nav-group > summary > .mdi:last-child {
  font-size: 22px;
  margin-left: auto;
  transition: transform 0.2s;
}

.cc-nav-group[open] > summary > .mdi:last-child {
  transform: rotate(180deg);
}

.cc-nav-group > summary:hover,
.cc-nav-item:hover {
  background: #ffffff04;
  color: white;
}

.cc-nav-group > div {
  padding: 0 10px 10px 28px;
}

.cc-nav-group > div a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 6px;
  font:
    500 16px/1.6 Poppins,
    Arial,
    sans-serif;
}

.cc-nav a[aria-current="page"] {
  color: var(--accent);
}

.cc-nav-pages {
  display: grid;
  gap: 4px;
  padding: 14px 24px;
  border-top: 1px solid var(--edge);
  font:
    500 16px/1.6 Poppins,
    Arial,
    sans-serif;
}

.cc-nav-pages a {
  padding: 6px 0;
}

.cc-nav-pages:empty {
  display: none;
}

/* Homepage en informatieblokken */


.cc-home {
  padding: 32px;
}

.cc-home-heading {
  margin-bottom: 20px;
}

.cc-subtitle {
  font:
    600 20px/1.5 Poppins,
    Arial;
  color: var(--text);
  margin: 4px 0 0;
  letter-spacing: 0.4px;
}

.cc-home > p {
  font-size: 18px;
  line-height: 1.85;
}

.cc-home-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 35px 0 42px;
  align-items: center;
}

.cc-home-stats > div:empty {
  display: none;
}

.cc-welcome-stat,
.cc-payment-module,
.cc-goal-module {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cc-welcome-stat > .mdi,
.cc-payment-module > .mdi {
  font-size: 55px;
  line-height: 1;
  color: var(--accent);
}

.cc-welcome-stat strong,
.cc-payment-module strong,
.cc-goal-module strong {
  font: 600 17px Poppins;
  color: var(--accent);
}

.cc-welcome-stat p,
.cc-goal-module p {
  font-size: 16px;
  line-height: 1.5;
  margin: 4px 0 0;
}

.cc-payment-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.cc-payment-avatars img {
  border-radius: 5px;
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.cc-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cc-info-card {
  position: relative;
  text-align: center;
  border: 3px solid;
  border-radius: 20px;
  padding: 24px 22px 14px;
  font-size: 17px;
  line-height: 1.8;
}

.cc-info-card h2 {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 25px;
  color: white;
  padding: 5px 22px;
  font-size: 18px;
  margin: 0;
}

.cc-info-card p {
  margin: 4px 0 7px;
}

.cc-info-card button {
  border: 0;
  background: none;
  padding: 0;
  font-weight: 600;
  font-size: 17px;
}

.cc-info-card a {
  font-weight: 600;
}

.cc-info-card :is(a, button):is(:hover, :focus-visible) {
  color: var(--accent);
}

.cc-support-card {
  border-color: #ff4653;
  background: #2d080b;
  box-shadow: inset 0 0 0 4px #41261b;
}

.cc-support-card h2 {
  background: #ff4653;
}

.cc-policy-card {
  border-color: #355bcb;
  background: #111429;
  box-shadow: inset 0 0 0 4px #272631;
}

.cc-policy-card h2 {
  background: #355bcb;
}

.cc-purchase-info {
  margin-top: 28px;
  border: 1px solid #73532a;
  border-radius: 10px;
  background: #21190f;
  font-size: 16px;
  overflow: hidden;
}

.cc-purchase-info > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.cc-purchase-info > summary::-webkit-details-marker {
  display: none;
}

.cc-purchase-info > summary:hover {
  background: #ffffff05;
}

.cc-purchase-info > summary > .mdi:first-child {
  color: var(--accent);
  font-size: 26px;
}

.cc-purchase-info > summary > span {
  flex: 1;
  min-width: 0;
}

.cc-purchase-info > summary strong {
  display: block;
  color: var(--white);
  font:
    600 21px/1.5 Poppins,
    Arial,
    sans-serif;
}

.cc-purchase-info > summary small {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font:
    400 16px/1.6 Montserrat,
    Arial,
    sans-serif;
}

.cc-purchase-info > summary > .mdi:last-child {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 6px;
  background: #ffa52f18;
  color: var(--accent);
  font-size: 24px;
  transition: transform 0.2s;
}

.cc-purchase-info[open] > summary > .mdi:last-child {
  transform: rotate(180deg);
}

/* Legacy editor formatting stays scoped to the purchase information. */
.cc-purchase-info .cc-richtext {
  padding: 8px 22px 22px;
  border-top: 1px solid var(--edge);
  font:
    400 18px/1.85 Montserrat,
    Arial,
    sans-serif;
  color: var(--text);
}

.cc-purchase-info .cc-richtext * {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

.cc-purchase-info .cc-richtext a {
  color: var(--accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc-purchase-info .cc-richtext li {
  padding-left: 4px;
  margin: 8px 0;
}

.cc-purchase-info .cc-richtext li::marker {
  color: var(--accent);
}

.cc-purchase-info
  .cc-richtext
  :is(h1, h2, h3, h4, p:has(> strong:only-child), p:has(> span:only-child > strong:only-child)) {
  margin-top: 28px;
  color: var(--accent) !important;
  font:
    600 21px/1.6 Poppins,
    Arial,
    sans-serif !important;
}

@media (max-width: 760px) {
  .cc-purchase-info > summary {
    padding: 16px 14px;
    gap: 10px;
  }
  .cc-purchase-info > summary strong {
    font-size: 20px;
  }
  .cc-purchase-info .cc-richtext {
    padding: 8px 16px 20px;
  }
  .cc-purchase-info > summary > .mdi:first-child {
    display: none;
  }
}

.cc-richtext {
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.cc-richtext img,
.cc-package-description img {
  height: auto;
  max-width: 100%;
}

.cc-richtext table,
.cc-package-description table {
  width: 100%;
  border-collapse: collapse;
}

.cc-richtext a,
.cc-package-description a {
  color: var(--accent);
}

.cc-richtext p {
  margin: 14px 0;
}

/* Footer */
.cc-footer {
  margin-top: 86px;
  background: #0c0804;
  padding: 28px 0;
  color: #776f65;
  font-size: 12px;
}

.cc-footer > .cc-shell {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.cc-footer p {
  margin: 0;
}

.cc-footer small {
  font-size: 10px;
}

.cc-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.cc-footer .mdi {
  font-size: 22px;
}

/* Productcategorieen en productkaarten */
.cc-products-panel {
  padding: 32px;
}

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

.cc-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid var(--edge);
  background: #251e15;
  border-radius: 10px;
  padding: 23px 17px 27px;
  min-width: 0;
}

.cc-product-image {
  height: 170px;
  width: 100%;
  display: grid;
  place-items: center;
  margin: 0 0 13px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.cc-product-image img {
  max-height: 170px;
  max-width: 100%;
  transition: transform 0.22s;
}

.cc-product-image:hover img {
  transform: translateY(-7px) rotate(-3deg);
}

.cc-product h2 {
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  margin: 7px 0;
}

.cc-product-price {
  font:
    600 24px/1.5 Poppins,
    Arial,
    sans-serif;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}

.cc-product .cc-button {
  font-size: 12px;
  padding: 10px 15px;
  margin-top: auto;
}

.cc-product-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
}

.cc-product del {
  color: #a98563;
  font-size: 11px;
  margin-right: 5px;
}

.cc-product-status {
  font-size: 11px;
  color: #daab87;
  line-height: 1.5;
}

.cc-page-heading {
  padding: 20px 24px 0;
  margin: 0 0 24px;
}

.cc-page-heading > div {
  display: flex;
  gap: 10px;
}

/* Rankvergelijking */
.cc-ranks {
  overflow: auto;
}

.cc-rank-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: max(650px, calc(var(--cc-rank-count, 2) * 280px));
}

.cc-rank-table th,
.cc-rank-table td {
  border: 1px solid var(--edge);
  padding: 28px 24px;
  vertical-align: top;
  text-align: center;
}

.cc-rank-table thead th {
  font-weight: 500;
}

.cc-rank-table img {
  height: 112px;
  max-width: 135px;
}

.cc-rank-table thead th > a {
  display: block;
}

.cc-rank-table thead h2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 68px;
  margin: 16px 0 10px;
  font:
    700 23px/1.35 Poppins,
    Arial,
    sans-serif;
  color: var(--accent);
  overflow-wrap: anywhere;
}

.cc-rank-prefix {
  font:
    500 13px/1.5 Poppins,
    Arial,
    sans-serif;
  color: var(--text);
}

.cc-rank-table thead .cc-product-price {
  margin: 0 0 20px;
  font:
    600 24px/1.5 Poppins,
    Arial,
    sans-serif;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.cc-rank-table thead .cc-product-price del {
  display: block;
  font:
    400 13px/1.5 Montserrat,
    Arial,
    sans-serif;
  color: var(--text);
}

.cc-rank-table .cc-product-actions {
  flex-direction: row;
  flex-wrap: nowrap;
}

.cc-rank-table .cc-product-actions > .cc-button {
  flex: 0 1 auto;
  width: auto;
  padding: 10px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.cc-rank-table .cc-package-description {
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.cc-rank-table .cc-package-description h1,
.cc-rank-table .cc-package-description h2,
.cc-rank-table .cc-package-description h3 {
  font-size: 15px;
}

.cc-rank-table tfoot td {
  vertical-align: middle;
}

/* Dialogen en winkelmand */
.cc-dialog {
  border: 2px solid #554025;
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  width: min(610px, calc(100vw - 30px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 32px;
  box-shadow: 0 24px 120px #000b;
  line-height: 1.75;
}

.cc-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}

.cc-close {
  position: absolute;
  right: 13px;
  top: 10px;
  background: none;
  border: 0;
  color: #bcb0a1;
  font-size: 26px;
  padding: 4px;
  line-height: 1;
}

.cc-dialog h2 {
  padding-right: 22px;
}

.cc-dialog p {
  font-size: 13px;
}

.cc-dialog-symbol {
  font-size: 60px;
  color: var(--accent);
}

.cc-dialog-title {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding-right: 18px;
}

.cc-dialog-title form {
  display: flex;
  gap: 5px;
}

.cc-dialog-title h2 {
  margin: 0;
}

.cc-cart-dialog {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: min(460px, 100vw);
  border-radius: 0;
  border-width: 0 0 0 2px;
  padding-top: 44px;
}

.cc-cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--edge);
  padding: 20px 0;
}

.cc-cart-item > div {
  flex: 1;
}

.cc-cart-item strong {
  font-size: 14px;
  color: var(--white);
}

.cc-cart-item small {
  display: block;
}

.cc-cart-item input {
  width: 65px;
  padding: 7px;
}

.cc-remove {
  color: #d76158;
  font-size: 20px;
}

.cc-total {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  color: var(--white);
}

.cc-empty {
  text-align: center;
  padding: 42px 0 22px;
}

.cc-empty > .mdi {
  font-size: 65px;
  color: var(--accent);
}

.cc-empty p {
  margin: 0;
}

.cc-muted {
  font-size: 12px;
  color: #978c7b;
  margin-top: 15px;
}

.cc-login-dialog {
  text-align: center;
  max-width: 450px;
}

.cc-dialog form label {
  display: block;
  text-align: left;
  font-size: 12px;
  margin: 15px 0 7px;
}

.cc-dialog form input:not([type="hidden"]) {
  width: 100%;
}

.cc-dialog .cc-cart-item input {
  width: 65px;
}

.cc-login-dialog small {
  display: block;
  font-size: 11px;
  margin-top: 15px;
}

/* Productinformatie */
.cc-package-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  align-items: center;
  margin: 10px 0 28px;
}

.cc-package-head img {
  max-height: 190px;
}

.cc-package-head h2 {
  font-size: 26px;
  color: var(--accent);
  margin: 0 0 8px;
}

.cc-package-price {
  color: var(--white);
  font: 600 24px/1.5 Poppins;
}

.cc-package-description {
  font-size: 14px;
}

.cc-package-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
}

input,
select,
textarea {
  background: #100d09;
  border: 1px solid #5b4830;
  color: var(--white);
  padding: 10px 13px;
  border-radius: 6px;
  max-width: 100%;
}

input[readonly] {
  opacity: 0.6;
}

label {
  font-size: 13px;
}

.cc-form-grid {
  display: grid;
  gap: 14px;
}

.cc-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  padding: 28px;
}

.cc-checkout h1 {
  font-size: 24px;
}

.cc-summary {
  padding: 22px;
  background: #292016;
  border: 1px solid var(--edge);
  border-radius: 10px;
}

.cc-summary h2 {
  font-size: 19px;
}

.cc-coupon {
  display: flex;
  gap: 6px;
  margin: 20px 0;
}

.cc-coupon input {
  min-width: 0;
  width: 100%;
}

.cc-coupon button {
  padding: 8px 12px;
}

.cc-message {
  padding: 15px 20px;
  background: #473117;
  border: 1px solid var(--accent);
  border-radius: 8px;
  margin-bottom: 20px;
}

.cc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: calc(100vw - 30px);
  padding: 12px 22px;
  color: white;
  background: #70441c;
  border: 1px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 10px 30px #0009;
  font-size: 13px;
}

.cc-topcustomer {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 2px solid var(--edge);
  padding: 16px 18px 0;
  font-size: 10px;
  line-height: 1.5;
}

.cc-topcustomer strong {
  font-size: 13px;
  color: var(--accent);
}

.cc-topcustomer img {
  height: 84px;
  margin-left: auto;
  align-self: flex-end;
}

.cc-goal-circle {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) calc(var(--progress, 0) * 1%), #534c42 0);
  position: relative;
}

.cc-goal-circle:before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--panel);
}

.cc-goal-circle span {
  position: relative;
  font-size: 11px;
  color: white;
}

/* Uitgelichte producten */
.cc-featured {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid #ffa52f44;
  border-radius: 14px;
  background: linear-gradient(120deg, #ffa52f0e, transparent 65%), var(--panel-light);
  transition: border-color 0.2s ease;
}

.cc-featured:hover,
.cc-featured:focus-within {
  border-color: #ffa52f88;
}

.cc-featured > .cc-featured-image,
.cc-featured > img {
  display: grid;
  place-items: center;
  width: 100%;
  height: 240px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: #100b063b;
  overflow: hidden;
}

.cc-featured-image img {
  max-height: 208px;
  width: 100%;
  transition: transform 0.2s ease;
}

.cc-featured-image:hover img,
.cc-featured-image:focus-visible img {
  transform: scale(1.05);
}

.cc-featured > div {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cc-featured small {
  color: var(--accent);
  font:
    600 13px/1.5 Poppins,
    Arial,
    sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.cc-featured h2,
.cc-featured strong {
  margin: 0;
  color: var(--white);
  font:
    700 26px/1.35 Poppins,
    Arial,
    sans-serif;
  overflow-wrap: anywhere;
}

.cc-featured-price {
  color: var(--accent);
  font:
    600 24px/1.5 Poppins,
    Arial,
    sans-serif;
  font-variant-numeric: tabular-nums;
}

.cc-featured-price del {
  display: block;
  color: var(--text);
  font:
    400 14px/1.5 Montserrat,
    Arial,
    sans-serif;
}

.cc-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.cc-widget {
  margin-top: 16px;
  padding: 20px;
}

.cc-widget h3 {
  font-size: 15px;
  color: var(--accent);
}

.cc-widget p {
  font-size: 12px;
}

.cc-widget progress {
  width: 100%;
  accent-color: var(--accent);
}

.cc-pager {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

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

.panel-heading {
  padding: 20px 25px 0;
  font: 700 23px Poppins;
  color: var(--accent);
}

.panel-body {
  padding: 25px;
}

.full-width {
  grid-column: 1/-1;
}

.form-group {
  margin: 16px 0;
}

.form-control {
  width: 100%;
}

.input-group {
  display: flex;
}

.d-flex {
  display: flex;
}

.gap-8 {
  gap: 8px;
}

.flex-1 {
  flex: 1;
}

.d-block {
  display: block;
}

.cc-richtext ul,
.cc-package-description ul {
  padding-left: 22px;
}

/* Responsieve basisregels */
@media (min-width: 901px) {
  .cc-sidebar {
    padding-top: 0;
  }
  .cc-columns > .cc-sidebar + .cc-main {
    margin-top: 0;
  }
}

@media (max-width: 1100px) {
  .cc-hero {
    gap: 25px;
    grid-template-columns: 1fr 260px 1fr;
  }
  .cc-logo img {
    width: 260px;
    height: 230px;
  }
  .cc-columns,
  .body {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 20px;
  }
  .cc-home,
  .cc-products-panel {
    padding: 28px;
  }
  .cc-products {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cc-server strong,
  .cc-discord strong {
    font-size: 20px;
  }
  .cc-server > span > span,
  .cc-discord > span > span {
    font-size: 11px;
  }
  .cc-home-heading {
    display: block;
  }
  .cc-checkout {
    grid-template-columns: 1fr 280px;
    gap: 20px;
  }
  .cc-nav-group > summary,
  .cc-nav-item {
    font-size: 16px;
    padding: 10px 16px;
  }
}

@media (max-width: 760px) {
  .cc-shell {
    width: calc(100% - 28px);
  }
  .cc-topbar {
    height: 58px;
    font-size: 11px;
  }
  .cc-topbar > div {
    gap: 10px;
  }
  .cc-topbar .cc-button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .cc-hero {
    height: auto;
    min-height: 290px;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 0 18px;
  }
  .cc-logo {
    grid-column: 1/-1;
    grid-row: 1;
    height: 205px;
  }
  .cc-logo img {
    height: 205px;
    width: 235px;
  }
  .cc-server,
  .cc-discord {
    gap: 10px;
    justify-content: center;
    text-align: center;
  }
  .cc-server {
    flex-direction: row-reverse;
  }
  .cc-server strong,
  .cc-discord strong {
    font-size: 16px;
  }
  .cc-server > span > span {
    font-size: 8px;
    letter-spacing: 0;
  }
  .cc-discord > span > span {
    font-size: 9px;
    letter-spacing: 0;
  }
  .cc-server small,
  .cc-discord small {
    font-size: 8px;
    letter-spacing: 0;
  }
  .cc-round {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
  .cc-columns,
  .body {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 0;
  }
  .cc-cart-label {
    text-align: left;
    padding-left: 10px;
  }
  .cc-cart-trigger {
    min-height: 72px;
  }
  .cc-nav {
    margin-top: 12px;
    display: block;
  }
  .cc-nav-home {
    grid-column: 1/-1;
    padding: 10px 15px;
  }
  .cc-nav-group > summary,
  .cc-nav-item {
    padding: 10px 12px;
    font-size: 16px;
    gap: 8px;
  }
  .cc-nav-group > summary > .mdi:first-child,
  .cc-nav-item > .mdi {
    font-size: 26px;
    width: 29px;
  }
  .cc-nav-group > div {
    padding: 0 12px 10px 28px;
  }
  .cc-nav-pages,
  #cc-top-customer-slot {
    grid-column: 1/-1;
  }
  .cc-nav-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 15px;
  }
  .cc-home,
  .cc-products-panel {
    padding: 24px 20px;
  }
  .cc-home-heading {
    margin-bottom: 20px;
    min-height: 0;
  }
  h1 {
    font-size: 24px;
  }
  .cc-subtitle {
    font-size: 18px;
  }
  .cc-info-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cc-home-stats {
    gap: 18px;
    margin: 25px 0 35px;
  }
  .cc-home-stats:has(#cc-goal-slot:empty) {
    grid-template-columns: 1fr;
  }
  .cc-products {
    gap: 12px;
  }
  .cc-product {
    padding: 15px 10px 19px;
  }
  .cc-product-image {
    height: 130px;
  }
  .cc-product-image img {
    max-height: 130px;
  }
  .cc-product h2 {
    font-size: 14px;
  }
  .cc-product .cc-button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .cc-page-heading {
    align-items: flex-start;
    margin-top: 5px;
  }
  .cc-page-heading .cc-button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .cc-footer {
    margin-top: 44px;
  }
  .cc-footer > .cc-shell {
    display: block;
  }
  .cc-footer nav {
    margin-top: 15px;
    gap: 14px;
  }
  .cc-checkout {
    display: block;
    padding: 20px;
  }
  .cc-summary {
    margin-top: 20px;
  }
  .cc-dialog {
    padding: 28px 20px;
  }
  .cc-dialog-title {
    display: block;
  }
  .cc-dialog-title form {
    margin: 10px 0;
  }
  .cc-package-head {
    grid-template-columns: 110px 1fr;
    gap: 16px;
  }
  .cc-package-head h2 {
    font-size: 22px;
  }
  .cc-product-price,
  .cc-rank-table thead .cc-product-price,
  .cc-package-price,
  .cc-featured-price {
    font-size: 22px;
  }
  .cc-cart-dialog {
    width: min(440px, 100vw);
  }
  .cc-rank-table th,
  .cc-rank-table td {
    padding: 18px 12px;
  }
  .cc-ranks {
    border-radius: 8px;
  }
  .cc-home-stats .cc-welcome-stat strong {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body:not(.cc-motion-enabled) *,
  body:not(.cc-motion-enabled) *:before,
  body:not(.cc-motion-enabled) *:after {
    transition: none !important;
    animation: none !important;
  }
}

html:has(dialog[open]) {
  overflow: hidden;
}

.cc-nav-fold > summary {
  display: none;
}

.cc-nav-fold[open] > summary .mdi {
  transform: rotate(180deg);
}

@media (max-width: 760px) {
  .cc-nav-fold {
    margin-top: 12px;
  }
  .cc-nav-fold > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid var(--edge);
    border-radius: 8px;
    background: var(--panel);
    color: var(--white);
    cursor: pointer;
  }
  .cc-nav-fold > .cc-nav {
    margin-top: 8px;
  }
}

/* Fixed artwork boxes keep main and child navigation rows aligned. */
.cc-nav-art {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  transition: transform 0.18s ease;
}

.cc-nav-art > .mdi {
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}

.cc-nav-group > div .cc-nav-art {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.cc-nav-group > div .cc-nav-art > .mdi {
  font-size: 24px;
}

.cc-nav-group > summary > .mdi:last-child {
  line-height: 1;
}

.cc-nav-sprite {
  display: none;
  position: absolute;
  inset: 0;
  background-image: var(--cc-nav-atlas);
  background-repeat: no-repeat;
  background-size: 300% 300%;
}

.cc-art-ready .cc-nav-sprite {
  display: block;
}

.cc-art-ready .cc-nav-art > .mdi {
  display: none;
}

.cc-art-town .cc-nav-sprite {
  background-position: 0 0;
}

.cc-art-castle .cc-nav-sprite {
  background-position: 50% 0;
}

.cc-art-gift .cc-nav-sprite {
  background-position: 100% 0;
}

.cc-art-coins .cc-nav-sprite {
  background-position: 0 50%;
}

.cc-art-chest .cc-nav-sprite {
  background-position: 50% 50%;
}

.cc-art-crown .cc-nav-sprite {
  background-position: 100% 50%;
}

.cc-art-pack .cc-nav-sprite {
  background-position: 0 100%;
}

.cc-art-chat .cc-nav-sprite {
  background-position: 50% 100%;
}

.cc-art-star .cc-nav-sprite {
  background-position: 100% 100%;
}

.cc-nav-group > summary:hover .cc-nav-art,
.cc-nav a:hover .cc-nav-art {
  transform: translateY(-2px) scale(1.06);
}

.cc-nav-group > div a:hover,
.cc-nav a[aria-current="page"] {
  background: #ffa52f0b;
}

.cc-nav-group[open] > div {
  animation: cc-reveal 0.2s ease-out;
}

.cc-button:active,
.cc-cart-trigger:active {
  transform: translateY(1px);
}

.cc-product {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.cc-product:hover,
.cc-product:focus-within {
  transform: translateY(-3px);
  border-color: #ffa52f55;
  box-shadow: 0 9px 20px #0002;
}

.cc-product-image img {
  transition: transform 0.2s ease;
}

.cc-product:hover .cc-product-image img {
  transform: scale(1.04);
}

.cc-dialog[open] {
  animation: cc-dialog-in 0.18s ease-out;
}

.cc-cart-dialog[open] {
  animation: cc-cart-in 0.22s ease-out;
}

.cc-product-dialog.is-loading {
  min-height: 340px;
}

.cc-loading {
  padding: 12px 0;
  color: var(--text);
}

.cc-loading-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 8px 0 22px;
}

.cc-loading h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.5;
}

.cc-loading p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.cc-loading-orbit {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 3px solid #ffa52f22;
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: cc-spin 1.1s linear infinite;
}

.cc-loading progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #ffffff0d;
  color: var(--accent);
  accent-color: var(--accent);
}

.cc-loading progress::-webkit-progress-bar {
  background: #ffffff0d;
  border-radius: 8px;
}

.cc-loading progress::-webkit-progress-value {
  background: linear-gradient(90deg, #c47a24, var(--accent));
  border-radius: 8px;
  transition: width 0.2s ease;
}

.cc-loading progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 8px;
}

.cc-loading ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  counter-reset: cc-step;
}

.cc-loading li {
  font-size: 14px;
  line-height: 1.5;
  color: #a69c8d;
}

.cc-loading li:before {
  counter-increment: cc-step;
  content: counter(cc-step);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ffffff09;
  font: 600 12px Poppins;
}

.cc-loading li.is-current {
  color: var(--accent);
}

.cc-loading li.is-current:before,
.cc-loading li.is-done:before {
  background: #ffa52f24;
  color: var(--accent);
}

.cc-loading li.is-done:before {
  content: "✓";
}

.cc-loading-skeleton {
  display: grid;
  gap: 10px;
}

.cc-loading-skeleton span {
  height: 12px;
  max-width: 90%;
  border-radius: 5px;
  background: linear-gradient(100deg, #ffffff06 20%, #ffa52f15 45%, #ffffff06 70%);
  background-size: 220% 100%;
  animation: cc-shimmer 1.7s ease-in-out infinite;
}

.cc-loading-skeleton span:nth-child(2) {
  max-width: 70%;
}

.cc-loading-skeleton span:nth-child(3) {
  max-width: 80%;
}

.cc-loading-compact {
  padding: 10px 0;
  min-width: 0;
}

.cc-loading-compact .cc-loading-heading {
  gap: 10px;
  margin: 0 0 12px;
}

.cc-loading-compact h3 {
  font-size: 15px;
}

.cc-loading-compact p {
  font-size: 14px;
}

.cc-loading-compact .cc-loading-orbit {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-width: 2px;
}

.cc-loading-compact ol,
.cc-loading-compact .cc-loading-skeleton {
  display: none;
}

.cc-loading-compact progress {
  height: 5px;
}

.cc-load-error {
  padding: 20px 0;
}

.cc-load-error > .mdi {
  font-size: 44px;
  color: var(--accent);
}

.cc-load-error h3 {
  font-size: 22px;
}

.cc-load-error p {
  font-size: 16px;
}

.cc-load-error > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#cc-featured-slot {
  position: relative;
  margin: 28px 0 34px;
}

#cc-featured-slot:empty {
  display: none;
}

#cc-featured-slot > .cc-loading {
  min-height: 298px;
  padding: 20px;
  border: 1px solid #ffa52f33;
  border-radius: 12px;
  background: #ffa52f06;
}

.cc-featured:not([hidden]) {
  animation: cc-reveal 0.22s ease-out;
}

.cc-featured-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  font:
    500 15px/1.5 Poppins,
    Arial,
    sans-serif;
}

.cc-featured-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--panel-light);
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

.cc-featured-controls button:hover {
  background: #ffa52f20;
}

.cc-shell,
.cc-footer {
  position: relative;
  z-index: 1;
}

.cc-bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cc-bubbles i {
  position: absolute;
  bottom: -90px;
  left: var(--bubble-x);
  width: var(--bubble-size);
  height: var(--bubble-size);
  border: 1px solid #ffc36a99;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 23%, #ffd48a44, transparent 62%);
  box-shadow:
    inset 0 0 14px #ffb44812,
    0 0 12px #ffa52f12;
  opacity: 0;
  animation: cc-bubble-rise var(--bubble-time) linear infinite;
  animation-delay: var(--bubble-delay);
}

.cc-no-bubbles .cc-bubbles {
  display: none;
}

.cc-motion-toggle {
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: transparent;
  padding: 6px 10px;
  color: var(--text);
  font-size: 14px;
}

.cc-motion-toggle:hover {
  border-color: #ffa52f55;
  color: var(--accent);
}

.cc-motion-toggle:disabled {
  cursor: default;
  opacity: 0.7;
}

.cc-motion-paused *,
.cc-motion-paused *:before,
.cc-motion-paused *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

.cc-motion-paused .cc-bubbles {
  display: none;
}

.cc-page-hidden .cc-bubbles i {
  animation-play-state: paused;
}

@keyframes cc-reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cc-dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cc-cart-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cc-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cc-shimmer {
  from {
    background-position: 180% 0;
  }
  to {
    background-position: -40% 0;
  }
}

@keyframes cc-bubble-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  12% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate3d(35px, calc(-100vh - 130px), 0);
  }
}

@media (max-width: 760px) {
  .cc-nav-group > summary,
  .cc-nav-item {
    padding: 10px 12px;
    gap: 12px;
  }
  .cc-nav-home {
    padding: 10px 12px;
  }
  .cc-loading h3 {
    font-size: 18px;
  }
  .cc-loading ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .cc-loading-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .cc-loading-orbit {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .cc-product-dialog.is-loading {
    min-height: 380px;
  }
  .cc-bubbles i:nth-child(n + 7) {
    display: none;
  }
  .cc-footer nav {
    flex-wrap: wrap;
  }
  .cc-featured-controls {
    justify-content: center;
  }
  .cc-loading-compact h3 {
    font-size: 15px;
  }
}

.cc-bubbles i:nth-child(1) {
  --bubble-x: 5%;
  --bubble-size: 30px;
  --bubble-time: 18s;
  --bubble-delay: -13.5s;
}

.cc-bubbles i:nth-child(2) {
  --bubble-x: 14%;
  --bubble-size: 48px;
  --bubble-time: 20s;
  --bubble-delay: -3.6s;
}

.cc-bubbles i:nth-child(3) {
  --bubble-x: 25%;
  --bubble-size: 34px;
  --bubble-time: 22s;
  --bubble-delay: -13.64s;
}

.cc-bubbles i:nth-child(4) {
  --bubble-x: 37%;
  --bubble-size: 62px;
  --bubble-time: 24s;
  --bubble-delay: -21.6s;
}

.cc-bubbles i:nth-child(5) {
  --bubble-x: 49%;
  --bubble-size: 26px;
  --bubble-time: 26s;
  --bubble-delay: -10.4s;
}

.cc-bubbles i:nth-child(6) {
  --bubble-x: 61%;
  --bubble-size: 42px;
  --bubble-time: 19s;
  --bubble-delay: -4.75s;
}

.cc-bubbles i:nth-child(7) {
  --bubble-x: 72%;
  --bubble-size: 36px;
  --bubble-time: 21s;
  --bubble-delay: -17.43s;
}

.cc-bubbles i:nth-child(8) {
  --bubble-x: 83%;
  --bubble-size: 68px;
  --bubble-time: 23s;
  --bubble-delay: -10.35s;
}

.cc-bubbles i:nth-child(9) {
  --bubble-x: 91%;
  --bubble-size: 32px;
  --bubble-time: 25s;
  --bubble-delay: -16.75s;
}

.cc-bubbles i:nth-child(10) {
  --bubble-x: 97%;
  --bubble-size: 50px;
  --bubble-time: 27s;
  --bubble-delay: -2.7s;
}

/* One entrance animation per page; no second browser transition. */
@keyframes cc-page-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cc-loading-track {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.cc-loading-track:after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #ffe5b388, transparent);
  animation: cc-load-sweep 1.25s linear infinite;
  pointer-events: none;
}

@keyframes cc-load-sweep {
  to {
    left: 100%;
  }
}

.cc-topbar {
  height: auto;
  min-height: 56px;
  padding: 8px 0;
}

.cc-topbar .cc-motion-toggle {
  background: #21180e;
  color: var(--accent);
  border-color: #ffa52f44;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .cc-topbar {
    min-height: 58px;
    align-items: flex-start;
    gap: 12px;
  }
  .cc-topbar > div {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }
  .cc-topbar .cc-motion-toggle {
    order: 2;
    padding: 4px 8px;
    font-size: 12px;
  }
}

#main-content {
  animation: cc-page-in 0.32s ease-out both;
}

/* Basket stays in its drawer until the Tebex payment window opens. */
.cc-cart-dialog {
  width: min(500px, 100vw);
  padding: 38px 26px 28px;
}

.cc-cart-dialog > h2 {
  padding-right: 30px;
  margin-bottom: 20px;
}

.cc-cart-account {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--edge);
}

.cc-cart-account p {
  font-size: 15px;
  margin: 0 0 12px;
}

.cc-cart-account .cc-logout {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
}

.cc-cart-dialog .cc-form-grid label {
  margin: 0;
}

.cc-cart-currency {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
}

.cc-cart-currency label {
  margin: 0 !important;
}

.cc-cart-currency select {
  margin-left: auto;
}

.cc-cart-currency button {
  padding: 7px 10px;
  font-size: 13px;
}

.cc-cart-item {
  gap: 12px;
  align-items: center;
}

.cc-cart-product {
  min-width: 0;
}

.cc-cart-product strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.cc-cart-product small {
  font-size: 13px;
  margin: 5px 0;
}

.cc-cart-remove {
  color: #dbaa83;
  font-size: 13px;
  text-decoration: underline;
}

.cc-cart-item > .cc-quantity {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  border: 1px solid #624629;
  border-radius: 7px;
  overflow: hidden;
}

.cc-quantity-button {
  border: 0;
  background: #382717;
  width: 32px;
  min-height: 40px;
  padding: 0;
  font-size: 20px;
}

.cc-quantity-button:hover {
  background: #63421e;
}

.cc-cart-dialog .cc-cart-item .cc-quantity input {
  width: 45px;
  min-height: 40px;
  padding: 4px 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  -moz-appearance: textfield;
}

.cc-quantity input::-webkit-inner-spin-button,
.cc-quantity input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cc-cart-items > .cc-button {
  margin-top: 14px;
}

.cc-cart-coupons {
  border-bottom: 1px solid var(--edge);
  padding-bottom: 5px;
}

.cc-cart-dialog .cc-total {
  margin: 22px 0;
}

.cc-cart-dialog .cc-coupon input {
  width: 100%;
}

.cc-cart-dialog .cc-coupon button {
  flex-shrink: 0;
}

.cc-cart-terms {
  font-size: 14px;
  text-decoration: underline;
}

#cc-cart-feedback {
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 0;
  color: var(--accent);
}

#cc-cart-feedback:empty {
  display: none;
}

#cc-cart-feedback.is-error {
  color: #ffb9a7;
}

#cc-cart-feedback .cc-loading {
  padding: 0;
}

.cc-cart-step .panel-heading {
  padding: 0 0 16px;
}

.cc-cart-step .panel-body {
  padding: 0;
}

.cc-cart-step .cc-form-grid {
  text-align: left;
}

.cc-cart-step h1 {
  font-size: 23px;
}

.cc-cart-step .cc-dialog-symbol {
  display: none;
}

.cc-cart-step .form-group {
  margin: 14px 0;
}

.cc-cart-step .d-flex {
  flex-wrap: wrap;
}

.cc-cart-step select {
  width: 100%;
}

.cc-rank-table .cc-product-actions {
  margin-top: 12px;
}

.cc-product-actions {
  width: 100%;
}

.cc-product-actions > .cc-button {
  margin-top: 0;
}

.cc-loading-complete .cc-loading-orbit {
  animation: none;
  border-color: var(--accent);
  display: grid;
  place-items: center;
}

.cc-loading-complete .cc-loading-orbit:after {
  content: "✓";
  font-size: 23px;
  color: var(--accent);
}

.cc-loading-complete .cc-loading-track:after {
  animation: none;
  display: none;
}

.cc-product-reveal {
  animation: cc-page-in 0.24s ease-out both;
}

@media (max-width: 480px) {
  .cc-cart-dialog {
    padding: 35px 18px 24px;
  }
  .cc-cart-item {
    flex-wrap: wrap;
  }
  .cc-cart-item > .cc-quantity {
    margin-left: auto;
  }
  .cc-product-actions {
    flex-direction: column;
  }
  .cc-product-actions > .cc-button {
    width: 100%;
  }
}

/* Catalogue navigation keeps the common header, dialogs and background alive. */
#cc-navigation-status {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 19000;
  background: #ffa52f22;
  overflow: hidden;
  pointer-events: none;
}

#cc-navigation-status:after {
  content: "";
  display: block;
  width: 35%;
  height: 100%;
  background: var(--accent);
  animation: cc-nav-progress 1s ease-in-out infinite;
}

@keyframes cc-nav-progress {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(390%);
  }
}

/* Product inspection: identity beside the description, shared terms underneath. */
.cc-product-dialog {
  width: min(1040px, calc(100vw - 30px));
  max-height: min(900px, calc(100dvh - 40px));
  padding: 0;
  overflow: hidden;
}

#cc-product-content {
  max-height: min(896px, calc(100dvh - 44px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 44px 30px 28px;
  scrollbar-gutter: stable;
}

.cc-product-dialog > .cc-close {
  z-index: 2;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--panel);
}

.cc-package-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.cc-product-detail .cc-package-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin: 0;
  position: sticky;
  top: 0;
  min-width: 0;
}

.cc-package-image {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: radial-gradient(ellipse at center, #ffa52f14, transparent 75%), var(--panel-light);
  overflow: hidden;
}

.cc-package-head .cc-package-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.cc-product-detail .cc-package-head h2 {
  padding: 0;
  margin: 0 0 10px;
  font:
    700 26px/1.35 Poppins,
    Arial,
    sans-serif;
  color: var(--accent);
  overflow-wrap: anywhere;
}

.cc-product-detail .cc-package-price {
  font:
    600 24px/1.5 Poppins,
    Arial,
    sans-serif;
  color: var(--white);
}

.cc-product-detail .cc-package-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.cc-product-detail .cc-package-actions .cc-button {
  width: 100%;
}

.cc-product-detail .cc-package-head small {
  font:
    400 12px/1.6 Montserrat,
    Arial,
    sans-serif;
  color: var(--text);
}

.cc-product-detail .cc-package-description {
  min-width: 0;
  font:
    400 14px/1.75 Montserrat,
    Arial,
    sans-serif;
  color: var(--text);
}

.cc-product-detail .cc-package-description :is(p, li) {
  font-size: inherit !important;
  line-height: inherit !important;
}

.cc-product-detail .cc-package-description :is(span, font) {
  font-size: inherit !important;
  font-family: inherit !important;
  color: inherit !important;
}

.cc-product-detail .cc-package-description :is(h1, h2, h3, h4, h5, h6) {
  font:
    600 17px/1.5 Poppins,
    Arial,
    sans-serif !important;
  color: var(--white) !important;
  margin: 0 0 18px;
  padding: 0;
}

.cc-product-detail .cc-package-description p {
  margin: 0 0 18px;
}

.cc-product-detail .cc-package-description :is(ul, ol) {
  margin: 0 0 22px;
  padding-left: 20px;
}

.cc-product-detail .cc-package-description li {
  margin: 5px 0;
}

.cc-product-detail .cc-package-description li::marker {
  color: var(--accent);
}

.cc-product-detail .cc-package-description hr {
  margin: 20px 0;
}

.cc-product-detail .cc-package-description p:empty,
.cc-product-detail .cc-package-description p:has(> br:only-child),
.cc-product-detail .cc-package-description br + br {
  display: none;
}

.cc-package-terms {
  margin-top: 28px;
  border-top: 1px solid var(--edge);
  padding-top: 18px;
}

.cc-package-terms summary {
  display: flex;
  align-items: center;
  gap: 9px;
  list-style: none;
  cursor: pointer;
  font:
    600 14px/1.6 Poppins,
    Arial,
    sans-serif;
  color: var(--white);
}

.cc-package-terms summary::-webkit-details-marker {
  display: none;
}

.cc-package-terms summary > .mdi:first-child {
  color: var(--accent);
  font-size: 18px;
}

.cc-package-terms summary > .mdi:last-child {
  margin-left: auto;
  transition: transform 0.18s;
}

.cc-package-terms[open] summary > .mdi:last-child {
  transform: rotate(180deg);
}

.cc-package-terms .cc-richtext {
  font:
    400 12px/1.75 Montserrat,
    Arial,
    sans-serif;
  padding-top: 12px;
}

.cc-package-terms ul {
  margin: 0 0 18px;
  padding-left: 19px;
}

.cc-package-terms li {
  margin: 7px 0;
}

.cc-package-terms a:not(.cc-button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  #cc-product-content {
    padding: 42px 18px 22px;
  }
  .cc-package-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .cc-product-detail .cc-package-head {
    position: static;
    max-width: 360px;
    width: 100%;
    margin: auto;
  }
  .cc-package-image {
    max-width: 280px;
    width: 100%;
    align-self: center;
  }
  .cc-product-detail .cc-package-head h2 {
    font-size: 24px;
  }
  .cc-product-detail .cc-package-price {
    font-size: 22px;
  }
  .cc-package-terms {
    margin-top: 24px;
  }
}

/* Consistent content insets and a quiet comparison divider. */
.cc-home > h1,
.cc-products-panel > h1 {
  margin-bottom: 24px;
}

.cc-home > .cc-richtext :is(h1, h2, h3) {
  margin: 28px 0 14px;
  line-height: 1.45;
}

.cc-home > .cc-richtext h1 {
  font-size: 24px;
}

.cc-home > .cc-richtext > :first-child {
  margin-top: 0;
}

.cc-home > .cc-richtext p {
  margin: 0 0 18px;
}

.cc-home > .cc-richtext :is(ul, ol) {
  margin: 0 0 22px;
}

.cc-rank-table .cc-rank-section th {
  padding: 14px 24px;
  background: var(--panel-light);
  color: var(--white);
  text-align: left;
  font:
    600 14px/1.6 Poppins,
    Arial,
    sans-serif;
}

@media (max-width: 760px) {
  .cc-page-heading {
    padding: 16px 18px 0;
    margin: 0 0 20px;
  }
  .cc-rank-table .cc-rank-section th {
    padding: 12px 18px;
  }
  .cc-home > h1,
  .cc-products-panel > h1 {
    margin-bottom: 20px;
  }
  .cc-home > .cc-richtext h1 {
    font-size: 22px;
  }
}

/* Featured cards keep their controls usable on narrow screens. */
@media (max-width: 1100px) {
  .cc-featured {
    grid-template-columns: 160px minmax(0, 1fr);
    padding: 22px;
    gap: 20px;
  }
  .cc-featured > .cc-featured-image,
  .cc-featured > img {
    height: 190px;
  }
  .cc-featured-image img {
    max-height: 158px;
  }
  .cc-featured h2,
  .cc-featured strong {
    font-size: 23px;
  }
}

@media (max-width: 760px) {
  #cc-featured-slot {
    margin: 24px 0 30px;
  }
  .cc-featured {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
    gap: 20px;
  }
  .cc-featured > .cc-featured-image,
  .cc-featured > img {
    max-width: 260px;
    height: 220px;
    margin: auto;
  }
  .cc-featured-image img {
    max-height: 188px;
  }
  .cc-featured-actions {
    gap: 8px;
  }
  .cc-featured-actions .cc-button {
    font-size: 13px;
    padding: 10px 12px;
  }
  .cc-featured > div {
    text-align: center;
  }
  .cc-featured-actions {
    justify-content: center;
  }
}

/* Leesbare homepage en CMS-teksten, waaronder de serverregels. */
.cc-home {
  color: var(--text);
}

.cc-home-heading h1,
.cc-cms > h1 {
  font-size: 32px;
}

.cc-cms > .cc-richtext {
  font-size: 18px;
  line-height: 1.85;
}

.cc-cms > .cc-richtext :is(p, li, span) {
  font-size: inherit !important;
  line-height: inherit !important;
}

.cc-cms > .cc-richtext :is(h1, h2) {
  font-size: 26px;
}

.cc-cms > .cc-richtext h3 {
  font-size: 22px;
}

/* Betaalkeuze gebruikt dezelfde mandroutes als de productknoppen. */
.cc-purchase-dialog {
  width: min(680px, calc(100% - 28px));
}

.cc-purchase-dialog h2 {
  padding-right: 28px;
  font-size: 24px;
}

#purchase-product {
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
}

.cc-purchase-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cc-purchase-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid #8e662f;
  border-radius: var(--radius);
  background: var(--panel-light);
  transition:
    background 0.15s,
    border-color 0.15s;
}

.cc-purchase-option:hover,
.cc-purchase-option:focus-visible {
  background: #3a2915;
  border-color: var(--accent);
}

.cc-purchase-option > .mdi {
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.cc-purchase-option strong {
  color: var(--white);
  font-size: 18px;
}

.cc-purchase-option span {
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.cc-purchase-note {
  margin: 20px 0 0;
  font-size: 14px;
}

@media (max-width: 760px) {
  .cc-home-heading h1,
  .cc-cms > h1 {
    font-size: 28px;
  }

  .cc-home > p,
  .cc-cms > .cc-richtext,
  .cc-purchase-info .cc-richtext {
    font-size: 17px;
  }

  .cc-purchase-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Homepage: de blokken beginnen onder het winkelmandlabel (30 px + 12 px tussenruimte). */
@media (min-width: 761px) {
  .cc-columns:has(.cc-home-heading) > .cc-main {
    margin-top: 42px;
  }
}
