
@media (width <= 960px) {
  .site > *,
  .site > .store-sidebar > *,
  .site > .site-main > * {
    align-self: stretch;
  }

  body.cs-mobile-l2.page-index .site-navigation .log-out {
    display: none;
  }

  body.cs-mobile-l2.page-index .cs-topcustomer {
    order: 7;
  }

  .cs-sidebar-logo img,
  .cs-mobile-logo img {
    margin-inline: auto;
  }
}

.basket-popup-content .popup-close {
  border-radius: 0 var(--cs-radius) 0 var(--cs-radius);
}

.store-products-images,
.store-products-tiered {
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
}

.store-product-full > .cs-product-media:has(> .image-default) {
  display: none;
}

@media (width > 600px) {
  .store-product-full:has(> .cs-product-media > .image-default) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (width <= 600px) {
  .store-product-full {
    grid-template-columns: minmax(0, 1fr);
  }
}

.text-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.text-content pre,
.text-content code,
.text-content kbd,
.text-content samp {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.text-content pre {
  max-width: 100%;
  overflow-x: auto;
}

.text-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.text-content img,
.text-content svg,
.text-content video,
.text-content iframe,
.text-content embed,
.text-content object {
  max-width: 100%;
}

.text-content iframe,
.text-content video {
  height: auto;
}

.store-product .price {
  color: var(--color-primary);
}

.popup.gift-form-popup .popup-content {
  max-width: 480px;
}

.popup.gift-form-popup .popup-content .actions {
  width: auto;
  margin-top: 22px;
}

.popup.gift-form-popup .popup-content .btn-primary {
  width: 100%;
  height: auto;
  padding: 14px;
  line-height: 1.2;
  text-align: center;
}

.popup.gift-form-popup .popup-content.store-form input[type='text'] {
  margin: 0 0 18px;
  padding: 13px 14px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
}

.popup.gift-form-popup .popup-content.store-form input[type='text']::placeholder {
  color: var(--color-text-secondary);
}

.basket-popup {
  width: 100%;
  overflow: hidden;
}

.basket .basket-checkout {
  padding-bottom: var(--content-padding);
}

.basket .basket-item .quantity-field:has(input.quantity[disabled]) {
  display: none;
}

.cs-cmp.cs-cmp-fold,
.cs-cmp.cs-cmp-trim {
  min-width: 100%;
}

.cs-cmp .cs-cmp-text {
  min-width: 0;
  max-width: 100%;
}

.cs-cmp.cs-cmp-fold .cs-cmp-text {
  overflow-wrap: anywhere;
}

.cs-cmp.cs-cmp-trim .cs-cmp-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: help;
}

.cs-redeem {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--content-padding) var(--widget-padding);
}

.cs-redeem-card,
.cs-gcard-card {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  margin: 0;
  padding: 16px 14px;
  width: 100%;
  border-radius: var(--cs-radius);
  border: var(--cs-border-width) solid var(--color-primary);
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--cs-primary-deep) 100%);
  color: #fff;
  line-height: 1.3;
  text-align: left;
}

.cs-redeem-card::before,
.cs-gcard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 90'%3E%3Ccircle cx='34' cy='20' r='17' fill='%23fff' fill-opacity='.09'/%3E%3Ccircle cx='96' cy='70' r='25' fill='%23fff' fill-opacity='.05'/%3E%3Ccircle cx='168' cy='30' r='10' fill='%23fff' fill-opacity='.11'/%3E%3Ccircle cx='232' cy='64' r='32' fill='%23fff' fill-opacity='.04'/%3E%3Ccircle cx='280' cy='22' r='14' fill='%23fff' fill-opacity='.08'/%3E%3Ccircle cx='306' cy='74' r='9' fill='%23fff' fill-opacity='.09'/%3E%3Ccircle cx='132' cy='12' r='7' fill='%23fff' fill-opacity='.08'/%3E%3C/svg%3E") 0 0 / auto 90px repeat;
  animation: cs-cardfloat 7s linear infinite;
  animation-play-state: paused;
}

.cs-redeem-card:hover::before,
.cs-redeem-card:focus-within::before,
.cs-gcard-card:hover::before,
.cs-gcard-card:focus-within::before {
  animation-play-state: running;
}

.cs-redeem-card .cs-nav-icon,
.cs-gcard-card .cs-nav-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
}

.cs-redeem-card .cs-nav-icon svg,
.cs-gcard-card .cs-nav-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.cs-redeem-card .cs-nav-text,
.cs-gcard-card .cs-nav-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.cs-redeem-card .cs-nav-title,
.cs-gcard-card .cs-nav-title {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-redeem-card .cs-nav-subtitle,
.cs-gcard-card .cs-nav-subtitle {
  display: block;
  overflow: hidden;
  font-size: 12px;
  opacity: 0.85;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-redeem-card .cs-nav-sub-hover,
.cs-gcard-card .cs-nav-sub-hover {
  display: none;
}

.cs-redeem-entry,
.cs-gcard-entry {
  display: flex;
  flex: none;
  gap: 8px;
  min-width: 0;
}

.cs-redeem-input,
.cs-gcard-input {
  box-sizing: border-box;
  flex: 0 1 11ch;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 9px 10px;
  border-radius: var(--cs-radius);
  border: var(--cs-border-width) solid rgb(255 255 255 / 0.35);
  background: rgb(0 0 0 / 0.22);
  color: #fff;
  font-size: 14px;
}

.cs-redeem-input::placeholder,
.cs-gcard-input::placeholder {
  color: rgb(255 255 255 / 0.65);
}

.cs-redeem-btn,
.cs-gcard-btn,
.cs-redeem-remove {
  flex: none;
  height: auto;
  min-width: 0;
  padding: 9px 14px;
  border: none;
  border-radius: var(--cs-radius);
  background: #fff;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.cs-redeem-remove {
  background: rgb(0 0 0 / 0.28);
  color: #fff;
}

.cs-redeem-btn:hover,
.cs-gcard-btn:hover,
.cs-redeem-remove:hover {
  filter: brightness(1.07);
}

.cs-redeem-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-redeem-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--cs-radius);
  border: var(--cs-border-width) solid var(--cs-border);
  background: var(--color-brighter-bg);
  font-size: 14px;
}

.cs-redeem-list li::before {
  content: none;
}

.cs-coupon {
  font-size: 14px;
}

.cs-coupon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--color-primary);
  font-weight: 700;
  cursor: pointer;
}

.cs-coupon-entry {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.cs-coupon .cs-redeem-input {
  flex: 1 1 auto;
  border-color: var(--cs-border);
  background: var(--color-bg);
  color: var(--color-text);
}

.cs-coupon .cs-redeem-input::placeholder {
  color: var(--color-text-secondary);
}

.cs-coupon .cs-redeem-btn {
  background: var(--color-primary);
  color: var(--color-primary-text);
}

.cs-gcard {
  border: none;
  background: none;
  border-radius: 0;
}

.cs-gcard-card {
  flex-wrap: wrap;
}

.cs-gcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 100%;
  min-width: 0;
}

.cs-gcard-entry {
  flex: 1 1 100%;
}

.cs-gcard-input {
  flex: 1 1 auto;
}

.cs-gcard-deco {
  position: absolute;
  right: -18px;
  bottom: -22px;
  z-index: -1;
  width: 96px;
  height: 96px;
  object-fit: contain;
  rotate: -18deg;
  opacity: 0.9;
  pointer-events: none;
}

@media (width <= 600px) {
  .cs-redeem-card {
    flex-wrap: wrap;
  }

  .cs-redeem-card .cs-nav-text {
    flex: 1 1 100%;
  }

  .cs-redeem-entry {
    flex: 1 1 100%;
  }

  .cs-redeem-input {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-redeem-card::before,
  .cs-gcard-card::before {
    animation: none;
  }
}
