/** Shopify CDN: Minification failed

Line 295:31 Expected identifier but found "2.4rem"
Line 327:0 Expected "}" to go with "{"

**/
.shop-by-concern {
  padding: 2rem 1rem;
  background: #fff;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 80px;
}

.shop-by-concern .heading {
  text-align: center;
  font-size: 3.2rem;
  color: #1c1c1c;
  font-weight: 900;
  margin-bottom: 2rem;
  font-family: 'Sharp Sans Bold', Arial, sans-serif;
}

.concern-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* desktop: allow wrapping */
  height: 100%;
  gap: 0.75rem;
  margin-bottom: 2rem;
  /* No scroll on desktop */
}

.tab-button {
  color: #272D45;
  font-size: 15px;
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: auto; /* desktop width auto */
}

.tab-button:hover {
  transform: scale(1.05);
}

.tab-button.active {
  font-weight: 600;
  transform: scale(1.1);
}

/* Icon container inside tab-button */
.tab-button > div {
  width: 80px !important;   /* desktop icon size */
  height: 80px !important;
  padding: 10px !important;  /* desktop padding */
  margin-bottom: 6px !important;
  border: 2px solid white !important;
  background-color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
}

.tab-button > div img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.tab-button span {
  font-size: 1.3rem;
  line-height: 1.4rem;
  color: #444;
  font-weight: 500;
  white-space: normal;
}

/* Rest of your existing styles unchanged */

.concern-slider-wrapper {
  position: relative;
  overflow: hidden;
  margin: 2rem auto;
  max-width: 1300px;
  padding: 0 1rem;
}

.concern-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  scrollbar-width: none;
  justify-content: center;
  align-items: stretch;
}

.concern-slider::-webkit-scrollbar {
  display: none;
}

.concern-slider > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100%;
  max-width: 268px;
  flex: 1 0 268px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.concern-card:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card-image img {
  max-height: 170px;
  object-fit: contain;
  margin: 0 auto 1.25rem;
  border-radius: 0.5rem;
}

.product-title {
  font-weight: 900;
  color: #0c2e61;
  font-size: 18px;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-family: "Sharp Sans", "Open Sans", sans-serif;
}

.product-reviews {
  font-size: 14px;
  color: #999;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.product-tag {
  background: #fff7d8;
  color: #ecbb00;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
}

.price del {
  color: #999;
  font-weight: 400;
  margin-left: 0.6rem;
  font-size: 16px;
}

.concern-slider select {
  margin-bottom: 1.5rem;
}

/* ⬇️ NEW STYLES for "Size" label + variant select */
.concern-slider label[for^="variant-select-"] {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}

.concern-slider .variant-select {
  font-size: 1.6rem;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  font-family: inherit;
  font-weight: 500;
  background-color: #fff;
  color: #1c1c1c;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Optional: darken select on hover */
.concern-slider .variant-select:hover {
  border-color: #999;
}

.add-to-cart-button {
  background-color: black;
  color: white;
  padding: 12px 24px;
  font-size: 15px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.3s ease;
  width: 100%;
  display: block;
  text-align: center;
  box-sizing: border-box;
  margin-top: auto;
}

.add-to-cart-button:hover {
  background-color: #FFCB00;
  color: black;
}

/* 👇 Mobile-specific styles */
@media (max-width: 767px) {
  .concern-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap !important; /* no wrap on mobile */
    overflow-x: auto;
    gap: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .concern-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    width: 88px !important; /* bigger fixed width on mobile */
    font-size: 1.1rem !important; /* bigger font */
    padding: 6px 14px !important;
  }

  .tab-button > div {
    width: 48px !imp
  }

  @media (max-width: 767px) {
  /* Smaller product cards on mobile */
  .concern-slider > div {
    min-width: 180px !important;
    max-width: 180px !important;
    width: 180px !important;
    height: auto !important; /* let height adjust */
    padding: 1rem !important;
  }

  .concern-slider > div > div.rounded-2xl.relative {
    height: 140px !important; /* smaller image container height */
    width: 180px !important;
  }

  /* Adjust product title font size */
  .concern-slider > div .text-[2.4rem] {
    font-size: 1.8rem !important;
  }

  /* Adjust price font size */
  .concern-slider > div .variant-price,
  .concern-slider > div .variant-compare-price {
    font-size: 1.4rem !important;
  }

  /* Reduce padding/gap as needed */
  .concern-slider {
    gap: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

@media (max-width: 767px) {
  .concern-slider {
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1rem;   /* Ensures first item shows */
    scroll-padding-right: 1rem;  /* Ensures last item is not cut off */
    padding-left: 1rem;          /* Visual space at start */
    padding-right: 1rem;         /* Visual space at end */
    justify-content: flex-start !important;
  }

  .concern-slider > div {
    scroll-snap-align: start;
    flex-shrink: 0;              /* Prevent squishing */
  }
}
