.cwvvs {
  --cwvvs-border: #d8dfeb;
  --cwvvs-accent: #12245c;
  --cwvvs-accent-soft: #eef3ff;
  --cwvvs-highlight: #f06b2d;
  --cwvvs-text: #12203f;
  --cwvvs-muted: #6d7692;
  --cwvvs-pill: #f4f7ff;
  --cwvvs-disabled: #c7cede;
  color: var(--cwvvs-text);
}

.cwvvs--list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cwvvs--sticky {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

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

.cwvvs__select-wrap {
  width: 100%;
  margin-top: 5px;
}

.cwvvs__list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.cwvvs__list-row--guest {
  grid-template-columns: 1fr;
}

.cwvvs__sticky-prices {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  white-space: nowrap;
}

.cwvvs__sticky-prices--guest {
  display: none;
}

.cwvvs--sticky .cwvvs__price {
  color: #fff;
  font-size: 1.4rem;
}

.cwvvs__sticky-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.cwvvs__select,
.cwvvs__button,
.cwvvs__card {
  min-height: 48px;
}

.cwvvs__select {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid var(--cwvvs-border);
  border-radius: 9px;
  background: #fff;
  color: var(--cwvvs-text);
  font: inherit;
  appearance: auto;
  box-shadow: 0 1px 0 rgba(10, 23, 64, 0.02);
  font-size: 1rem;
}

.cwvvs__prices,
.cwvvs__product-pricebox {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cwvvs__prices {
  min-width: 0;
  gap: 0.15rem 0.45rem;
  line-height: 1.1;
  align-self: center;
}

.cwvvs__regular,
.cwvvs__card-regular {
  color: var(--cwvvs-highlight);
  text-decoration: line-through;
  font-size: 0.98rem;
  font-weight: 800;
  width: 100%;
  letter-spacing: 0;
}

.cwvvs__price,
.cwvvs__card-price {
  font-weight: 800;
  font-size: 1.47rem;
  color: var(--cwvvs-accent);
  letter-spacing: 0;
}

.cwvvs__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: #0A1740;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.cwvvs__button--sticky {
  min-height: 54px;
  background: #ff6a2a;
  color: #fff;
}

.cwvvs__select--sticky {
  min-width: 180px;
  max-width: 260px;
}

.cwvvs__qty-select--sticky {
  width: 72px;
  min-width: 72px;
  max-width: 72px;
}

.cwvvs__button--sticky .cwvvs__button-price {
  color: #fff;
}

.cwvvs__button--sticky .cwvvs__button-regular {
  color: #ffd0bf;
}

.cwvvs__button--sticky .cwvvs__button-icon svg {
  fill: transparent;
}

.cwvvs__button--sticky .cwvvs__button-icon svg path:first-child {
  stroke: #fff36b;
}

.cwvvs__button--sticky .cwvvs__button-icon svg path:last-child {
  fill: #fff36b;
}

.cwvvs__button--sticky:hover:not(:disabled):not(.is-disabled) {
  background: #DDF37C;
  color: #0A1740;
}

.cwvvs__button--sticky:hover:not(:disabled):not(.is-disabled) .cwvvs__button-price {
  color: #0A1740;
}

.cwvvs__button--sticky:hover:not(:disabled):not(.is-disabled) .cwvvs__button-regular {
  color: #ff6a2a;
}

.cwvvs__button.is-disabled,
.cwvvs__button:disabled {
  background: var(--cwvvs-disabled);
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
}

.cwvvs__button--login {
  background: #0A1740;
}

.cwvvs__cart {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
  align-self: end;
}

.cwvvs__cart--simple-oos .cwvvs__button {
  width: 100%;
}

.cwvvs__button [data-cwvvs-button-label] {
  font-size: 0.9rem;
}

.cwvvs__button:hover:not(:disabled):not(.is-disabled) {
  background: #DDF37C;
  color: #0A1740;
}

.cwvvs__button:hover:not(:disabled):not(.is-disabled) .cwvvs__button-icon path:last-child {
  fill: #0A1740;
  transform: scale(1.5) translate(-10px, 0px);
}

.cwvvs__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cwvvs__button-icon svg {
  display: block;
  width: 22px;
  height: auto;
}

.cwvvs__button-icon svg path:last-child {
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.22s ease, fill 0.18s ease;
}

.cwvvs__qty-select {
  min-height: 48px;
  width: 78px;
  min-width: 78px;
  max-width: 78px;
  padding: 10px 10px;
  border: 1px solid var(--cwvvs-border);
  border-radius: 9px;
  background: #fff;
  color: var(--cwvvs-text);
  font: inherit;
  appearance: auto;
  flex: 0 0 auto;
}

.cwvvs__spinner {
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.cwvvs__button.is-loading .cwvvs__spinner {
  opacity: 1;
  transform: scale(1);
}

.cwvvs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.7rem 0.95rem;
  border-radius: 0;
  background: #EDF0F7;
  color: var(--cwvvs-accent);
  text-align: center;
  box-sizing: border-box;
}

.cwvvs-badge__icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.cwvvs-badge__label {
  font-size: 0.96rem;
  letter-spacing: 0;
}

.cwvvs-badge__value {
  font-size: 1rem;
  font-weight: 700;
}

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

.cwvvs__button--full {
  width: 100%;
  margin-top: 0;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  border-radius: 999px;
  padding: 14px 20px;
}

.cwvvs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.cwvvs__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--cwvvs-border);
  border-radius: 0.6rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.cwvvs__card.is-active {
  border-color: var(--cwvvs-highlight);
  background: #fff5ee;
  box-shadow: 0 0 0 1px rgba(240, 107, 45, 0.15);
}

.cwvvs__card.is-unavailable {
  background: #f8f9fc;
  border-color: #d7dceb;
  cursor: not-allowed;
  opacity: 0.8;
}

.cwvvs__card.is-unavailable .cwvvs__card-title,
.cwvvs__card.is-unavailable .cwvvs__card-unit,
.cwvvs__card.is-unavailable .cwvvs__card-price,
.cwvvs__card.is-unavailable .cwvvs__card-regular {
  opacity: 1;
}

.cwvvs__card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.cwvvs__card-main {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.cwvvs__card-unit,
.cwvvs__unit-inline {
  color: var(--cwvvs-muted);
  font-size: 0.95rem;
}


.cwvvs__card-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
  white-space: nowrap;
}

.cwvvs__product-cta {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cwvvs__product-cta--guest {
  justify-content: flex-start;
}

.cwvvs__product-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.cwvvs__subscription {
  width: 100%;
}

.cwvvs__product-submit-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.cwvvs__product-form .form-wrapper,
.cwvvs__product-form .product_page_recurring_block {
  width: 100%;
}

.cwvvs__button-copy {
  flex: 0 1 auto;
  text-align: left;
  line-height: 1;
}

.cwvvs__button-prices {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  margin-left: auto;
  line-height: 1;
}

.cwvvs__button-regular {
  color: var(--cwvvs-highlight);
  text-decoration: line-through;
  font-size: 0.92rem;
  font-weight: 800;
}

.cwvvs__button-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.cwvvs--product .cwvvs__button-icon svg {
  width: 26px;
  fill: transparent;
}

.cwvvs--product .cwvvs__button-icon svg path:first-child {
  stroke: #DDF37C;
}

.cwvvs__button--full:hover:not(:disabled):not(.is-disabled) .cwvvs__button-price {
  color: #0A1740;
}

.cwvvs__qty-select--product {
  width: 62px;
  min-width: 62px;
  max-width: 62px;
  align-self: center;
  flex: 0 0 auto;
}

.cwvvs-login-open {
  overflow: hidden;
}

.cwvvs-login-modal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
}

.cwvvs-login-modal[hidden] {
  display: none;
}

.cwvvs-login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 23, 64, 0.6);
}

.cwvvs-login-modal__dialog {
  position: relative;
  width: min(92vw, 560px);
  min-height: 0;
  margin: 7vh auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 23, 64, 0.22);
}

.cwvvs-login-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 23, 64, 0.08);
  color: #0A1740;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.cwvvs-login-modal__header {
  padding: 1.5rem 1.5rem 0;
}

.cwvvs-login-modal__title {
  margin: 0;
  color: #0A1740;
  font-size: 1.35rem;
  font-weight: 800;
}

.cwvvs-login-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.cwvvs-login-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cwvvs-login-modal__label {
  color: #0A1740;
  font-size: 0.95rem;
  font-weight: 700;
}

.cwvvs-login-modal__input {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid #cfd7e6;
  border-radius: 10px;
  background: #fff;
  color: var(--cwvvs-text);
  font: inherit;
  outline: 1px solid #cfd7e6;
  box-shadow: none;
}

.cwvvs-login-modal__input:focus {
  outline: 2px solid rgba(10, 23, 64, 0.18);
  border-color: #0A1740;
  box-shadow: 0 0 0 3px rgba(10, 23, 64, 0.08);
}

.cwvvs-login-modal__message {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.cwvvs-login-modal__message.is-error {
  background: #fff2ee;
  color: #c24b1a;
}

.cwvvs-login-modal__message.is-success {
  background: #eef8dd;
  color: #2f5e14;
}

.cwvvs-login-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: #0A1740;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cwvvs-login-modal__submit:disabled {
  opacity: 0.8;
  cursor: wait;
}

.cwvvs-login-modal__spinner {
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cwvvs-login-modal__submit.is-loading .cwvvs-login-modal__spinner {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 991px) {
  .cwvvs-badge {
    gap: 0.4rem;
  }
  .cwvvs-badge .cwvvs-badge__label, .cwvvs-badge .cwvvs-badge__value {
    font-size: 0.8rem;
  }
  .cwvvs__select--sticky,
  .cwvvs__qty-select--sticky,
  .cwvvs__button--sticky {
    width: 100%;
    max-width: none;
  }

  #category .cwvvs__list-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .cwvvs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .cwvvs__cart,
  .cwvvs__button {
    width: 100%;
  }

  .cwvvs__cart {
    justify-self: stretch;
  }

  .cwvvs__qty-select {
    max-width: none;
  }

  .cwvvs__button--full {
    padding: 12px 16px;
  }

  .cwvvs__card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 0.55rem;
    padding: 0.8rem 0.85rem;
    border-radius: 0.8rem;
  }

  .cwvvs__card-title {
    font-size: 1.08rem;
  }

  .cwvvs__card-unit {
    font-size: 0.94rem;
  }

  .cwvvs__card-regular {
    font-size: 0.92rem;
  }

  .cwvvs__card-price {
    font-size: 1.15rem;
  }

  .cwvvs__product-cta {
    margin-top: 0.85rem;
    gap: 0.65rem;
  }

  .cwvvs__product-form {
    gap: 0.65rem;
  }

  .cwvvs__button--full {
    gap: 0.7rem;
    padding: 12px 14px;
  }

  .cwvvs__product-submit-row {
    gap: 0.65rem;
  }

  .cwvvs__button-copy {
    font-size: 0.95rem;
  }

  .cwvvs__button-prices {
    gap: 0.45rem;
  }

  .cwvvs__button-regular {
    font-size: 0.82rem;
  }

  .cwvvs__button-price {
    font-size: 1.1rem;
  }

  .cwvvs__qty-select--product {
    width: 58px;
    min-width: 58px;
    max-width: 58px;
  }

  .cwvvs-login-modal__dialog {
    width: min(94vw, 560px);
    margin: 6vh auto;
  }
}

@media (max-width: 575px) {
  #category .product-miniature-container .cwvvs-badge__icon {
    display: none;
  }
  #category  .product-miniature-container .cwvvs-badge {
    padding: 0.4rem 0.35rem;
  }
  #category .product-miniature-container .cwvvs__prices {
    flex-direction: row;
    justify-content: center;
  }
  #category .product-miniature-container .cwvvs_simple_product .cwvvs__button-icon{
    display: none;
  }
  #category .product-miniature-container .cwvvs_simple_product .cwvvs__qty-select {
    width: 60px;
    min-width: 60px;
  }
  #category .product-miniature-container .cwvvs__regular {
    width: auto;
  }
  .cwvvs--sticky {
    grid-template-columns: auto 67px minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
  }

  .cwvvs__sticky-prices {
    gap: 0.05rem;
  }

  .cwvvs--sticky .cwvvs__regular {
    font-size: 0.82rem;
  }

  .cwvvs--sticky .cwvvs__price {
    font-size: 1.2rem;
    line-height: 1;
  }

  .cwvvs__sticky-controls {
    display: contents;
  }

  .cwvvs__select--sticky,
  .cwvvs__qty-select--sticky {
    width: 67px;
    min-width: 67px;
    max-width: 67px;
    padding: 10px 8px;
    text-align: center;
  }

  .cwvvs__button--sticky {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border-radius: 10px;
    justify-content: center;
    gap: 0.5rem;
  }

  .cwvvs__button--sticky .cwvvs__button-copy {
    flex: 0 1 auto;
    text-align: center;
    font-size: 0.95rem;
  }

  .cwvvs__button--sticky .cwvvs__button-prices {
    display: none;
  }

  .cwvvs__button--sticky .cwvvs__button-icon svg {
    width: 24px;
  }

  .cwvvs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .cwvvs__card {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.75rem 0.8rem;
  }

  .cwvvs__card-title {
    font-size: 1.15rem;
  }

  .cwvvs__card-unit {
    font-size: 1rem;
  }

  .cwvvs__card-regular {
    font-size: 0.98rem;
  }

  .cwvvs__card-price {
    font-size: 1.2rem;
  }

  .cwvvs__button--full {
    gap: 0.65rem;
    padding: 12px 14px;
  }

  .cwvvs__button-copy {
    font-size: 0.92rem;
  }

  .cwvvs__button-icon svg {
    width: 22px;
  }

  .cwvvs__button-regular {
    font-size: 0.78rem;
  }

  .cwvvs__button-price {
    font-size: 1rem;
  }

  .cwvvs__product-cta {
    gap: 0.55rem;
  }

  .cwvvs__product-form {
    gap: 0.55rem;
  }

  .cwvvs__product-submit-row {
    gap: 0.55rem;
  }

  .cwvvs__qty-select--product {
    width: 54px;
    min-width: 54px;
    max-width: 54px;
    padding: 10px 8px;
  }

  .cwvvs-login-modal__dialog {
    width: calc(100vw - 20px);
    margin: 16px auto;
    border-radius: 14px;
  }

  .cwvvs-login-modal__close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .cwvvs-login-modal__header,
  .cwvvs-login-modal__form {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
