/* Brand appearance shared by the internal assortment and Sortiment OZ. */
.assortment-brand[data-brand="HELL"] {
  --assortment-selection-accent: #d41515;
  --assortment-selection-text: #b01212;
  --assortment-selection-glow: rgba(212, 21, 21, .2);
}

.assortment-brand[data-brand="HIC"] {
  --assortment-selection-accent: #d19219;
  --assortment-selection-text: #875a0b;
  --assortment-selection-glow: rgba(209, 146, 25, .2);
}

.assortment-brand[data-brand="XIXO"] {
  --assortment-selection-accent: #7dd629;
  --assortment-selection-text: #326d0a;
  --assortment-selection-glow: rgba(125, 214, 41, .2);
}

.assortment-brand .assortment-product-select input[type="checkbox"] {
  accent-color: var(--assortment-selection-accent, #d41515) !important;
}

.assortment-brand .assortment-product.assortment-product-selected .assortment-product-select {
  color: var(--assortment-selection-text, #b01212);
}

.assortment-brand .assortment-product-select:focus-within {
  outline-color: var(--assortment-selection-accent, #d41515) !important;
}

.assortment-brand .assortment-product-select input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px var(--assortment-selection-glow, rgba(212, 21, 21, .2)) !important;
}

.assortment-brand[data-brand="HELL"] .assortment-product {
  border: 2px solid #d41515 !important;
  --assortment-tint-end: 330px;
  background-color: #fff !important;
  background-image: linear-gradient(to bottom, #ffebe5 0px, #fff var(--assortment-tint-end)) !important;
}

.assortment-brand[data-brand="HELL"] .assortment-product-image {
  background-color: transparent !important;
}

@media (max-width: 650px) {
  .assortment-brand[data-brand="HELL"] .assortment-product,
  .assortment-brand[data-brand="HIC"] .assortment-product,
  .assortment-brand[data-brand="XIXO"] .assortment-product {
    --assortment-tint-end: 300px;
  }
}

.assortment-brand[data-brand="HELL"] .assortment-product-ean,
.assortment-brand[data-brand="HIC"] .assortment-product-ean,
.assortment-brand[data-brand="XIXO"] .assortment-product-ean {
  margin-top: 6px;
  padding: 6px;
  border: 1px solid #fff;
  border-radius: 5px;
  background: #fff;
}

.assortment-brand[data-brand="HELL"] .assortment-product-ean > .assortment-product-code,
.assortment-brand[data-brand="HIC"] .assortment-product-ean > .assortment-product-code,
.assortment-brand[data-brand="XIXO"] .assortment-product-ean > .assortment-product-code {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.assortment-brand[data-brand="HELL"] .assortment-product-ean .assortment-product-barcode,
.assortment-brand[data-brand="HIC"] .assortment-product-ean .assortment-product-barcode,
.assortment-brand[data-brand="XIXO"] .assortment-product-ean .assortment-product-barcode {
  margin: 4px auto 0;
}

.assortment-brand[data-brand="HELL"] .assortment-product.assortment-product-selected {
  box-shadow: 0 0 0 2px #d41515;
}

/* Product labels use the same reference gradients for every assortment brand. */
.assortment-product .assortment-product-flag.limited {
  background: linear-gradient(135deg, #8e6716 0%, #fbd982 25%, #dc981a 50%, #f4d385 75%, #8a6322 100%);
  color: #fff;
}

.assortment-product .assortment-product-flag.new {
  background: linear-gradient(90deg, #d4fc79 0%, #96e6a1 100%);
  color: #000;
}

.assortment-product .assortment-product-flag.zero {
  background: linear-gradient(135deg, #090909 0%, #231c37 50%, #030303 100%);
  color: #fff;
}

/* HELL ICE COFFEE product cards. */
.assortment-brand[data-brand="HIC"] .assortment-product {
  border: 2px solid #d19219 !important;
  background-color: #fff !important;
  background-image: linear-gradient(to bottom, #f8e4bf 0px, #fff var(--assortment-tint-end, 330px)) !important;
}

.assortment-brand[data-brand="HIC"] .assortment-product-image {
  background-color: transparent !important;
}

.assortment-brand[data-brand="HIC"] .assortment-product.assortment-product-selected {
  box-shadow: 0 0 0 2px #d19219;
}

/* XIXO background follows the product's assortment category. */
.assortment-brand[data-brand="XIXO"] .assortment-product {
  border: 2px solid #7dd629 !important;
}

.assortment-brand[data-brand="XIXO"] .assortment-product[data-drink-type="icetea"] {
  background-color: #fff !important;
  background-image: linear-gradient(to bottom, #daf4c3 0px, #fff var(--assortment-tint-end, 330px)) !important;
}

.assortment-brand[data-brand="XIXO"] .assortment-product[data-drink-type="csd"] {
  background-color: #fff !important;
  background-image: linear-gradient(to bottom, #c6f0d5 0px, #fff var(--assortment-tint-end, 330px)) !important;
}

.assortment-brand[data-brand="XIXO"] .assortment-product[data-drink-type="icetea"] .assortment-product-image,
.assortment-brand[data-brand="XIXO"] .assortment-product[data-drink-type="csd"] .assortment-product-image {
  background-color: transparent !important;
}

.assortment-brand[data-brand="XIXO"] .assortment-product.assortment-product-selected {
  box-shadow: 0 0 0 2px #7dd629;
}
