/** Shopify CDN: Minification failed

Line 218:60 Unexpected "*"

**/
/* CSS for centering AVIS product options */

/* Center the main AVIS option container */
.avis-option-values {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}

/* Center each option item */
.avis-option-value-item {
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
  width: auto !important;
  max-width: 300px !important;
  flex: 0 0 auto !important;
}

/* Force the AVIS button label to not take full width */
.avis-option-value-item label.avis-swatch-view-value {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

/* Center the swatch labels */
.avis-swatch-value-label {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

/* Center the swatch image box */
.avis-swatch-value-box-image {
  margin: 0 auto !important;
}

/* Center the swatch info */
.avis-swatch-value-info {
  text-align: center !important;
  width: 100% !important;
}

/* Center title and price */
.avis-swatch-value-title,
.avis-swatch-value-price {
  text-align: center !important;
}

/* Hide radio inputs (they're already hidden by AVIS) */
.avis-option-value-item input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure proper spacing between options */
.avis-option-value-item + .avis-option-value-item {
  margin-top: 0 !important;
  margin-left: 0 !important;
}

/* Responsive adjustments */
@media screen and (max-width: 749px) {
  .avis-option-values {
    flex-direction: row !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important; /* allow wrapping on small screens */
    box-sizing: border-box !important;
  }
  
  .avis-option-value-item {
    margin: 0 !important;
    width: auto !important;
    box-sizing: border-box !important;
    /* two-per-row layout on typical mobile widths */
    flex: 1 1 45% !important;
    max-width: 45% !important;
    min-width: 140px !important; /* avoid items shrinking too small */
  }
  
  .avis-swatch-value-label {
    padding: 0.3rem !important;
    font-size: 0.85rem !important;
  }
  
  .avis-swatch-value-box-image {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .avis-swatch-value-title {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
  }
  
  .avis-swatch-value-price {
    font-size: 0.75rem !important;
    line-height: 1.1 !important;
  }
}

/* Prevent scroll buttons overlapping on mobile: place them in normal flow */
@media screen and (max-width: 749px) {
  .avis-option-values + .scroll-buttons {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
  }

  .scroll-buttons-container {
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  .scroll-buttons-container .scroll-button {
    padding: 0.45rem 0.9rem !important;
  }
}

/* Extra-small screens: single-column options to guarantee no overlap */
@media screen and (max-width: 400px) {
  .avis-option-value-item {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/* Container styling for AVIS options */
.product-form__input:has(.avis-option-values) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

/* Additional centering for any parent containers */
.product-form__buttons:has(.avis-option-values) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

/* Center any AVIS option containers within product forms */
.product-form .avis-option-values {
  margin: 1rem auto !important;
}

/* Tone down hover animations for AVIS elements */
.avis-option-value-item,
.avis-swatch-value-label,
.avis-swatch-value-box-image {
  transition: all 0.15s ease !important;
  transform: none !important;
}

.avis-option-value-item:hover,
.avis-swatch-value-label:hover {
  transform: scale(1.02) !important;
  transition: all 0.15s ease !important;
}

.avis-option-value-item:hover .avis-swatch-value-box-image {
  transform: none !important;
}

/* Prevent any aggressive scaling or transforms */
.avis-option-value-item *,
.avis-swatch-value-label * {
  transform: none !important;
}

.avis-option-value-item:hover *,
.avis-swatch-value-label:hover * {
  transform: none !important;
}

/* Center AVIS option headings/labels including "Velg Pakke" */
.product-form__input:has(.avis-option-values) .form__label,
.product-form__input:has(.avis-swatch-detail-lists-price) .form__label,
.product-form__label-container:has(+ .avis-option-values) .form__label {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto 1rem auto !important;
}

/* Center custom labels for AVIS options */
.product-form__input:has(.avis-option-values) #custom-label-*,
.product-form__input:has(.avis-swatch-detail-lists-price) #custom-label-* {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

/* Center AVIS option legend and label elements */
.avis-option-name {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto 1rem auto !important;
}

.avis-option-label {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Position scroll buttons directly under AVIS options container */
.avis-option-values {
  position: relative !important;
}

/* Target scroll buttons that come after AVIS options */
.avis-option-values + .scroll-buttons {
  position: absolute !important;
  top: calc(100% + 0.5rem) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  z-index: 10 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

/* Position scroll-buttons-container with proper spacing */
.scroll-buttons-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}

/* Individual scroll button styling - make them narrower */
.scroll-buttons-container .scroll-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.25rem !important;
  flex: 0 0 auto !important;
  min-width: auto !important;
}

/* Ensure horizontal layout when using .scroll-buttons without container */
.avis-option-values + .scroll-buttons .scroll-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}

/* Generic scroll-buttons alignment to handle all placements */
.scroll-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.scroll-buttons .scroll-buttons-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.scroll-buttons .scroll-button {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}