/** Shopify CDN: Minification failed

Line 29:10 Unexpected "{"
Line 29:19 Expected ":"
Line 30:14 Expected identifier but found whitespace
Line 30:16 Unexpected "{"
Line 30:25 Expected ":"
Line 30:51 Expected ":"
Line 31:17 Expected identifier but found whitespace
Line 31:19 Unexpected "{"
Line 31:28 Expected ":"
Line 31:57 Expected ":"

**/
/* Product Comparison Section - Styled like Vilgain */

.comparison-header h2 {
    max-width: 700px;
}
.comparison-header {
    display: flex;
    justify-content: center;
}
li.comparison-item {
    border-radius: 4px;
}

/* Section Padding */
.section-{{ section.id }}-padding {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
}

/* Main Container */
.product-comparison {
  background: linear-gradient(1turn, #fff 24.5%, #f4f4f4);
}

.product-comparison .page-width {
  max-width: 1006px;
}

/* Grid Layout */
.comparison-grid {
  display: grid;
  grid-template-columns: auto 16px auto;
  grid-template-areas:
    "a a a"
    "b c d"
    "e f g"
    "h f i"
    "j j j"
    "k k k";
}

@media (min-width: 960px) {
  .comparison-grid {
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-areas:
      "a a a a"
      "b c c d"
      "e c c g"
      "h f f i"
      "h f f j"
      "k k k k";
    column-gap: 0;
  }
}

/* Header Section */
.comparison-header {
  grid-area: a;
}

/* Product Images */
.comparison-image--they {
  grid-area: b;
}

.comparison-image--we {
  grid-area: d;
}

/* Product Labels */
.comparison-regular {
  grid-area: e;
}

/* Brand Section */
.comparison-vilgain {
  grid-area: g;
}

/* Ingredients Section */
.comparison-ingredients--they {
  grid-area: h;
}

.comparison-ingredients--we {
  grid-area: i;
}

/* Arrow Divider */
.comparison-arrow {
    grid-area: c;
    position: relative;
    width: 75px;
}

.comparison-arrow svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

/* Button Section */
.comparison-button {
  grid-area: j;
}

/* Footer */
.comparison-footer {
  grid-area: k;
}

.comparison-headline {
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  color: #303233;
  margin-block: 32px 24px;
  font-weight: 800;
  font-family: Inter, sans-serif;
}

@media (min-width: 960px) {
  .comparison-headline {
    font-size: 40px;
    margin-block: 48px 12px;
    line-height: 1.5;
  }
}

.comparison-underline {
  width: 100%;
  background-image: linear-gradient(transparent calc(100% - 16px), rgba(51, 206, 90, 0.5) 16px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size 1s;
  text-decoration: none;
}

/* Product Images */
.comparison-image {
  max-width: 268px;
  width: 100%;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .comparison-image {
    margin-block: 16px 0;
  }
}

.comparison-image picture {
  display: flex;
}

@media (min-width: 960px) {
  .comparison-column--regular .comparison-image picture {
    margin-left: 20px;
  }
}

.comparison-image img {
  width: 100%;
}



.comparison-card {
  position: relative;
  border: 1px solid #d3d7d9;
  padding: 12px;
  border-radius: 8px;
  margin-top: 16px;
}

@media (min-width: 960px) {
  .comparison-card {
    margin-top: 22px;
    padding: 24px;
    border-radius: 12px;
  }
}

.comparison-title {
  font-weight: 600;
  margin-block: 0 12px;
}

@media (min-width: 960px) {
  .comparison-title {
    font-size: 20px;
    margin-block: 0 14px;
  }
}

@media (min-width: 960px) {
  .comparison-column--regular .comparison-title {
    color: red;
  }
}

/* Ingredients List */
.comparison-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.comparison-item {
    display: grid;
    align-items: center;
    grid-template-columns: 10% 65% 18%;
    column-gap: 10px;
}

@media (min-width: 960px) {
  .comparison-item {
    min-height: 32px;
  }
}

.comparison-item:not(:last-child) {
  margin-bottom: 8px;
}

@media (min-width: 960px) {
  .comparison-item:not(:last-child) {
    margin-bottom: 4px;
  }
}

@media (min-width: 960px) {
  .comparison-column--regular .comparison-item {
    align-items: center;
  }
}

/* Ingredient Picture */
.comparison-picture {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-picture img {
  width: 16px;
  height: 16px;
}

@media (min-width: 960px) {
  .comparison-picture img {
    width: 24px;
    height: 24px;
  }
}

/* Ingredient Label (Nova classification badge) */
.comparison-label {
  display: flex;
}

.comparison-label:after {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 9px;
  height: 12px;
  font-weight: 600;
  margin-top: 2px;
  color: #fff;
  border-radius: 2px;
  font-size: 9px;
}

@media (min-width: 960px) {
  .comparison-label:after {
    width: 14px;
    height: 19px;
    font-size: 14px;
    margin-top: 0;
  }
}

.comparison-item--unprocessed .comparison-label:after {
  content: "1";
  background-color: #0A0;
}

.comparison-item--processed .comparison-label:after {
  content: "3";
  background-color: #FC0;
}

.comparison-item--ultra .comparison-label:after {
  content: "4";
  background-color: red;
}

/* Regular Product Label */
.comparison-regular {
  text-align: center;
  font-size: 13px;
  line-height: 1.28;
}

@media (min-width: 960px) {
  .comparison-regular {
    margin-top: 10px;
    padding-left: 20px;
    font-size: 32px;
    line-height: 1.1;
  }
}

/* Premium Brand Section */
.comparison-vilgain {
  text-align: center;
}

@media (min-width: 960px) {
  .comparison-vilgain {
    margin-top: 10px;
    padding-right: 20px;
  }
}

.comparison-logo {
  width: 54px;
  height: auto;
  margin-right: 4px;
}

@media (min-width: 960px) {
  .comparison-logo {
    width: 124px;
  }
}

.comparison-brand-text {
  vertical-align: top;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.comparison-vilgain__nut-spread {
  vertical-align: top;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}


/* Ingredient Name */
.comparison-name {
  line-height: 1.28;
  /* margin-top: 5px; */
}

@media (min-width: 960px) {
  .comparison-name {
    font-size: 16px;
    margin-top: ;
  }
}

@media (min-width: 960px) {
  .comparison-column--premium .comparison-name {
    line-height: 1.35;
  }
}

@media (min-width: 960px) {
  .comparison-item--ultra .comparison-name {
    font-weight: 600;
  }
}

/* Ingredient Values */
.comparison-value {
  font-size: 12px;
  font-weight: 800;
  /* line-height: 1.28;
  margin-top: 2px; */
  white-space: nowrap;
}

@media (min-width: 960px) {
  .comparison-value {
    font-size: 20px;
    /* line-height: 1;
    margin-top: 0; */
  }
}

.comparison-value--biggest {
  font-size: 16px;
  font-weight: 800;
}

@media (min-width: 960px) {
  .comparison-value--biggest {
    font-size: 28px;
  }
}

.comparison-value--big {
  font-size: 14px;
  font-weight: 800;
}

@media (min-width: 960px) {
  .comparison-value--big {
    font-size: 24px;
  }
}

.comparison-value--small {
  font-size: 11px;
}

@media (min-width: 960px) {
  .comparison-value--small {
    font-size: 16px;
  }
}

/* Ultra-processed item styling */
.comparison-item--ultra .comparison-value,
.comparison-item--ultra:not(:first-child) .comparison-name {
  color: red;
}

/* Border Label */
.comparison-border-label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  color: #008750;
}

/* Summary Section */
.comparison-summary {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  list-style: none;
}

@media (min-width: 960px) {
  .comparison-summary {
    margin-top: 20px;
    padding: 20px;
  }
}

.comparison-summary li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}

.comparison-summary li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 16px;
  color: #008750;
}

/* Button Section */
.comparison-button {
  grid-area: j;
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Footer */
.comparison-footer {
  grid-area: k;
  margin-block: 24px 32px;
}

@media (min-width: 960px) {
  .comparison-footer {
    margin-block: 52px 28px;
  }
}

.comparison-footer__badge {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.comparison-classification {
  color: #6f7a81;
  margin-top: 8px;
  text-align: center;
  line-height: 1.5;
  font-size: 13px;
}

@media (min-width: 960px) {
  .comparison-classification {
    max-width: 500px;
    margin-inline: auto;
    font-size: 14px;
  }
}

/* Mobile Responsive */
@media (max-width: 959px) {
  .comparison-grid--mobile-stacked {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "e"
      "h"
      "c"
      "d"
      "g"
      "i"
      "j"
      "k";
  }

  .comparison-grid--mobile-stacked .comparison-arrow {
    transform: rotate(90deg);
    padding: 20px 0;
    width: 100%;
  }
}

/* Hidden Classes */
@media (min-width: 960px) {
  .hidden-desktop-up {
    display: none !important;
  }
}

@media (max-width: 959px) {
  .hidden-desktop-down {
    display: none !important;
  }
}

/* Animations */
@keyframes filterFadeOut {
  0% {
    filter: blur(5px);
  }
  100% {
    filter: blur(0);
  }
}

img.lazyloaded {
  animation: filterFadeOut 0.2s linear 1;
  animation-fill-mode: forwards;
}

/* Utility Classes */
.center {
  text-align: center;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Dawn Theme Overrides */
.product-comparison .page-width {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

@media (min-width: 960px) {
  .product-comparison .page-width {
    padding-inline: 3rem;
  }
}
.product-comparison img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

/* ========================================
   MOBILE RESPONSIVENESS FIXES
   ======================================== */

/* Mobile Grid Fixes */
@media (max-width: 959px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "e"
      "h"
      "c"
      "d"
      "g"
      "i"
      "j"
      "k";
    gap: 0;
  }

  /* Fix premium image grid placement */
  .comparison-image--we {
    grid-area: d;
  }

  /* Arrow positioning fix */
  .comparison-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    margin: 8px 0;
  }

  .comparison-arrow svg {
    /* transform: rotate(0deg); */
  }

  /* Image container fixes */
  .comparison-image {
    max-width: 200px;
    margin: 16px auto;
  }

  .comparison-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Label fixes */
  .comparison-regular {
    padding: 12px 16px;
    font-size: 20px;
    margin: 8px 0;
  }

  /* Brand section fix */
  .comparison-vilgain {
    padding: 12px 16px;
    margin: 8px 0;
  }

  .comparison-logo {
    width: 80px;
    margin: 0 auto 8px;
    display: block;
  }

  /* Card spacing */
  .comparison-card {
    margin: 12px;
    padding-bottom: 40px;
  }

  /* Ingredient items - ensure proper wrapping */
  .comparison-item {
    grid-template-columns: 10% 65% 18%;
    align-items: center;
    min-height: auto;
  }

  .comparison-name {
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
  }

  .comparison-value {
    font-size: 13px;
  }

  .comparison-value--biggest {
    font-size: 18px;
  }

  .comparison-value--big {
    font-size: 16px;
  }

  /* Button spacing */
  .comparison-button {
    margin: 16px 12px;
  }

  .comparison-button .button {
    width: 100%;
    max-width: 100%;
  }

  /* Footer spacing */
  .comparison-footer {
    margin: 16px 12px 24px;
  }

  .comparison-classification {
    font-size: 12px;
    padding: 0 12px;
  }

  /* Fix for page-width padding on mobile */
  /* .product-comparison .page-width {
    padding-right: 0;
    padding-left: 0;
  } */
}

/* Very small screens (< 375px) */
@media (max-width: 374px) {
  .comparison-headline {
    font-size: 20px;
    margin-block: 24px 16px;
  }

  .comparison-image {
    max-width: 160px;
  }

  .comparison-card {
    padding: 10px;
    margin: 8px;
    padding-bottom: 40px;
  }

  .comparison-item {
    column-gap: 6px;
  }

  .comparison-picture img {
    width: 14px;
    height: 14px;
  }

  .comparison-name {
    font-size: 12px;
  }

  .comparison-value {
    font-size: 12px;
  }
}