@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/font-karla.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/font-karla-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cookiebot override */
#CybotCookiebotDialog {
  bottom: 0 !important;
  top: unset !important;
  display: flex;
  position: fixed;
  left: 0 !important;
  right: 0 !important;
  transform: translate(0px, 0px) !important;
  width: 100% !important;
  border-radius: 14px 14px 0 0 !important;
}

.CybotCookiebotDialogBodyBottomWrapper,
#CybotCookiebotDialogPoweredByText,
#CybotCookiebotDialogHeader {
  display: none !important;
}

#CybotCookiebotDialog *,
#CybotCookiebotDialogBodyUnderlay * {
  font-size: 13px !important;
}

#links .divider {
  margin: 0 12px 0 12px;
  display: flex;
  font-weight: 500;
  text-align: center;
  justify-content: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  position: relative;
  padding: 16.5px 62px 8.25px 62px;
  font-size: 16px;
  line-height: 24px;
}

h1 {
  font-size: 16px;
  line-height: 20px;
  margin: 15px auto 5px auto;
  font-weight: 700;
  text-overflow: ellipsis;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

a {
  text-decoration: none !important;
}

.animate {
  animation: shake 4s cubic-bezier(0.645, 0.045, 0.355, 1.000) infinite both;
}

@keyframes shake {
  0%, 25%, 100% {
    transform: rotate(0deg);
    transform-origin: 50% 100%;
  }
  2.5% {
    transform: rotate(0.5deg);
  }
  5%, 10%, 15% {
    transform: rotate(-1deg);
  }
  7%, 12%, 17% {
    transform: rotate(1deg);
  }
  20% {
    transform: rotate(-0.5deg);
  }
  22.5% {
    transform: rotate(0.5deg);
  }
}

#social a {
  transition: transform 0.3s ease-in-out;
}

#social a:hover {
  transform: scale(1.1);
}

#content #social {
  margin-top: -14px !important;
  margin-bottom: 20px !important;
}

#footer #social {
  margin-top: 6px !important;
}

#header svg,
#header img,
#header #preview-profile-svg {
  margin: 0 20px;
}

#presentation {
  margin: 20px 20px 0 20px;
}

iframe {
  z-index: 999;
}

#links a {
  margin: 0 12px 16px 12px;
  cursor: pointer;
  display: flex;
  font-weight: 500;
  text-align: center;
  justify-content: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  position: relative;
  padding: 16.5px 62px;
  font-size: 16px;
  line-height: 24px;
  transition: box-shadow 0.3s ease-in-out, margin 0.3s ease-in-out, transform 0.3s ease-in-out, background-size 0.3s ease-in-out, background 0.3s ease-in-out;
}

#links a:hover {
  transform: scale(1.02);
}

#links a:hover {
  background: var(--switch-color-bg) !important;
}

#links a:hover {
  color: var(--switch-color-txt) !important;
}

#links a:hover > span {
  color: var(--switch-color-txt) !important;
}

#links a span {
  z-index: 9;
}

#links a img {
  border-radius: 8px;
  left: 7px;
}

.content-tabs {
  display: flex;
  gap: 0;
  margin: 16px auto 32px auto;
  justify-content: center;
  background-color: #ffffff80;
  border-radius: 100px;
  padding: 5px;
  position: relative;
}

.content-tab {
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--dark);
  cursor: pointer;
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-width: 0;
  width: 80px;
}

.content-tab.active {
  color: #fff;
}

.content-tabs::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  border-radius: 999px;
  background: #000;
  transition: transform 220ms ease;
  z-index: 1;
}

.content-tabs[data-active="shop"]::before {
  transform: translateX(100%);
}

.content-tab-panel {
  display: none;
  width: 100%;
}

.content-tab-panel.active {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.shop-header {
  padding: 6px 0 12px 0;
  text-align: center;
}

.shop-title {
  margin: 0;
  font-size: 18px;
  color: var(--dark);
}

.shop-description {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: var(--linkdarkgray);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 10px 0;
  padding: 0 12px 16px 12px;
}

.product-grid-sentinel {
  height: 1px;
}

.product-card {
  position: relative;
  cursor: pointer;
  background: var(--shop-card-bg, var(--light));
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.content-tab-panel#tab-shop .product-card {
  background: var(--shop-card-bg, var(--light));
}

.content-tab-panel#tab-shop .product-card-title,
.content-tab-panel#tab-shop .product-card-price {
  color: inherit;
}

.product-card-image {
  position: relative;
  width: 100%;
  height: 300px;
  background: var(--linkgraybackground);
}

.product-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.product-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--shop-card-text, var(--dark));
}

.product-card-title {
  font-size: 13.5px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-price {
  font-size: 12.5px;
}

.product-card.size-1x2 {
  grid-column: span 2;
}

.shop-style-style-1 .product-card-title {
  font-weight: 600;
}

.shop-style-style-1 .product-card {
  border-radius: 16px;
}

.shop-style-style-1 .product-bg-img {
  border-radius: 16px;
}

.shop-style-style-2 .product-card {
  border-radius: 0;
}

.shop-style-style-2 .product-card-title {
  font-weight: 500;
}

.shop-style-style-2 .product-card-price {
  font-weight: 600;
}

.shop-style-style-3 .product-card {
  border-radius: 0;
  background: #000 !important;
}

.shop-style-style-3 .product-card-body {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  min-height: 58px;
}

.shop-style-style-3 .product-card-image {
  height: 380px;
}

#page-bg {
  transition: background 280ms ease, background-color 280ms ease, background-image 280ms ease;
}

#page-bg.shop-bg-active {
  background: var(--shop-bg-override, transparent) !important;
  background-image: none !important;
}
