html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
}

.ccc-is-android .ccc-hero h1 {
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
  text-shadow:
    4px 4px 0 var(--ccc-asphalt),
    7px 7px 0 rgba(42, 28, 79, 0.82);
  transform: translateZ(0);
}

.ccc-is-android .ccc-hero h1 span {
  -webkit-text-fill-color: currentColor;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

[data-ccc-vote-root],
.ccc-live-vote,
.ccc-live-vote__box,
.ccc-current-winners,
.ccc-full-leaderboard,
.ccc-ballot-section,
.ccc-ballot-cards,
.ccc-vote-winner-card,
.ccc-ballot-card {
  max-width: 100%;
}

.ccc-vote-winner-card [data-ccc-winner-image] {
  cursor: zoom-in;
}

.ccc-ballot-card img {
  display: block;
}

@media (max-width: 760px) {
  .ccc-current-winners__grid,
  .ccc-ballot-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ccc-vote-winner-card,
  .ccc-ballot-card {
    min-width: 0;
    overflow: hidden;
  }

  .ccc-vote-winner-card {
    min-height: 118px;
  }

  .ccc-vote-winner-card__content {
    min-height: 118px;
  }

  .ccc-ballot-card {
    padding: 7px;
  }

  .ccc-ballot-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
  }

  .ccc-ballot-card span,
  .ccc-ballot-card small,
  .ccc-ballot-card strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 360px) {
  .ccc-current-winners__grid,
  .ccc-ballot-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ccc-header--store,
.ccc-header--store .ccc-header__inner,
.ccc-store-nav,
.ccc-store-nav__list,
.ccc-store-actions,
.ccc-shop-main,
.ccc-woo-layout,
.ccc-woo-products,
.woocommerce,
.woocommerce ul.products {
  max-width: 100%;
}

@media (max-width: 820px) {
  .ccc-header--store .ccc-header__inner {
    overflow: hidden;
  }

  .ccc-store-nav {
    width: 100%;
    margin-left: 0;
    overflow: visible;
  }

  .ccc-store-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    width: 100%;
    overflow: visible;
    white-space: normal;
  }

  .ccc-store-nav__list a {
    display: inline-block;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .ccc-store-actions {
    justify-content: center;
    width: 100%;
    min-width: 0;
  }

  .ccc-store-search {
    right: 50%;
    width: min(340px, calc(100vw - 28px));
    transform: translateX(50%);
  }

  .ccc-woo-layout,
  .ccc-woo-products {
    overflow-x: hidden;
  }

  .ccc-woo-grid-head {
    width: 100%;
    justify-content: flex-start;
  }

  .ccc-woo-sort {
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .woocommerce .ccc-woo-sort select.orderby,
  .ccc-woo-sort select.orderby {
    max-width: min(260px, calc(100vw - 120px));
  }

  .woocommerce ul.products {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    min-width: 0;
  }
}

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

  .woocommerce ul.products li.product {
    text-align: center;
  }

  .woocommerce ul.products li.product a img {
    width: 100% !important;
    max-width: 190px;
    margin-right: auto;
    margin-left: auto;
  }

  .ccc-product-swatches,
  .ccc-product-sizes {
    justify-content: center;
  }

  .ccc-product-swatches__label {
    left: 50%;
    transform: translateX(-50%);
  }
}

.ccc-vote-image-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 7, 7, 0.84);
}

.ccc-vote-image-modal[hidden] {
  display: none;
}

.ccc-vote-image-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 900px);
  border: 1px solid rgba(112, 229, 201, 0.55);
  border-radius: 10px;
  padding: 14px;
  background: #08110f;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.48);
}

.ccc-vote-image-modal__image {
  display: block;
  width: 100%;
  max-height: calc(86vh - 96px);
  border-radius: 7px;
  object-fit: contain;
  background: #030707;
}

.ccc-vote-image-modal__caption {
  margin: 10px 48px 0 2px;
  color: var(--ccc-cream, #f6ead5);
  font: 900 15px/1.2 var(--ccc-font-body, Arial, sans-serif);
  text-transform: uppercase;
}

.ccc-vote-image-modal__close {
  position: absolute;
  right: 14px;
  bottom: 12px;
  border: 2px solid #080d0d;
  border-radius: 999px;
  padding: 8px 11px;
  color: #080d0d;
  background: #70e5c9;
  box-shadow: 3px 3px 0 #ef6f2e;
  font: 900 12px/1 var(--ccc-font-display, Impact, sans-serif);
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 560px) {
  .ccc-vote-image-modal {
    padding: 12px;
  }

  .ccc-vote-image-modal__panel {
    padding: 10px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.48);
  }

  .ccc-vote-image-modal__caption {
    margin-right: 0;
    padding-right: 70px;
    font-size: 13px;
  }
}
